SuccessConsole Output

[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Bitrepository Integrity Service 1.10-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ bitrepository-integrity-service ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ bitrepository-integrity-service ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ bitrepository-integrity-service ---
[INFO] argLine set to -javaagent:/home/cibuild01/.m2/repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/target/jacoco.exec
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ bitrepository-integrity-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 15 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ bitrepository-integrity-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 72 source files to /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/target/classes
[INFO] 
[INFO] --- forbiddenapis:2.7:check (default) @ bitrepository-integrity-service ---
[INFO] Scanning for classes to check...
[INFO] Reading bundled API signatures: jdk-unsafe-1.8
[INFO] Reading bundled API signatures: jdk-deprecated-1.8
[INFO] Reading bundled API signatures: jdk-non-portable
[INFO] Reading bundled API signatures: jdk-reflection
[INFO] Loading classes to check...
[INFO] Scanning classes for violations...
[INFO] Scanned 85 class file(s) for forbidden API invocations (in 0.18s), 0 error(s).
[INFO] 
[INFO] --- forbiddenapis:2.7:testCheck (default) @ bitrepository-integrity-service ---
[INFO] Scanning for classes to check...
[WARNING] Classes directory does not exist, forbiddenapis check skipped: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/target/test-classes
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ bitrepository-integrity-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ bitrepository-integrity-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/target/test-classes
[WARNING] /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/src/test/java/org/bitrepository/integrityservice/workflow/SaltedChecksumWorkflowTest.java:[113,9] verifyZeroInteractions(java.lang.Object...) in org.mockito.Mockito has been deprecated
[WARNING] /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/src/test/java/org/bitrepository/integrityservice/workflow/SaltedChecksumWorkflowTest.java:[114,9] verifyZeroInteractions(java.lang.Object...) in org.mockito.Mockito has been deprecated
[WARNING] /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/src/test/java/org/bitrepository/integrityservice/workflow/SaltedChecksumWorkflowTest.java:[145,9] verifyZeroInteractions(java.lang.Object...) in org.mockito.Mockito has been deprecated
[WARNING] /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/src/test/java/org/bitrepository/integrityservice/workflow/step/GetChecksumForFileStepTest.java:[84,22] found raw type: org.mockito.stubbing.Answer
  missing type arguments for generic class org.mockito.stubbing.Answer<T>
[WARNING] /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/src/test/java/org/bitrepository/integrityservice/workflow/step/GetChecksumForFileStepTest.java:[111,22] found raw type: org.mockito.stubbing.Answer
  missing type arguments for generic class org.mockito.stubbing.Answer<T>
[WARNING] /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/src/test/java/org/bitrepository/integrityservice/workflow/step/GetChecksumForFileStepTest.java:[148,22] found raw type: org.mockito.stubbing.Answer
  missing type arguments for generic class org.mockito.stubbing.Answer<T>
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ bitrepository-integrity-service ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
Starting test project Integration Service Test
  Suite: Surefire suite
    Starting testcase BasicIntegrityReporterTest
      Test starting: checksumIssuesTest
        Description: Verifies that missing files are reported correctly
        Step: Report a checksum issue
        Step: Report another checksum issue on the same pillar
        Step: Report a checksum issue on another pillar
      Test success: checksumIssuesTest
      Test starting: deletedFilesTest
        Description: Verifies that the hasIntegrityIssues() reports deleted files correctly
        Step: Report a delete file for a new Reporter
      Test success: deletedFilesTest
      Test starting: missingChecksumTest
        Description: Verifies that missing checksums are reported correctly
        Step: Report a missing checksum
        Step: Report another missing checksum on the same pillar
        Step: Report a missing checksum on another pillar
      Test success: missingChecksumTest
      Test starting: missingFilesTest
        Description: Verifies that missing files are reported correctly
        Step: Report a missing file
        Step: Report another missing file on the same pillar
        Step: Report a missing file on another pillar
      Test success: missingFilesTest
      Test starting: noIntegrityIssuesTest
        Description: Verifies that missing files are reported correctly
        Step: Create a clean reporter
      Test success: noIntegrityIssuesTest
      Test starting: obsoleteChecksumTest
        Description: Verifies that obsolete checksums are reported correctly
        Step: Report a obsolete checksum
        Step: Report another obsolete checksum on the same pillar
        Step: Report a obsolete checksum on another pillar
      Test success: obsoleteChecksumTest
    Starting testcase GetFileStepTest
      Test starting: testNegativeReply
        Description: Test the step for getting the file can handle FAILURE operation event.
      Test success: testNegativeReply
      Test starting: testPositiveReply
        Description: Test the step for getting the file can handle COMPLETE operation event.
      Test success: testPositiveReply
    Starting testcase IntegrityAlerterTest
      Test starting: testIntegrityFailed
        Description: Test the IntegrityFailed method for the IntegrityAlerter
        Step: Call the function for integrity failure.
13:45:40.044 WARN  o.b.i.a.IntegrityAlarmDispatcher - Sending alarm: org.bitrepository.bitrepositoryelements.Alarm@5d8edf2[origDateTime=2022-02-15T13:45:40.030+01:00, alarmCode=INTEGRITY_ISSUE, alarmRaiser=IntegrityAlerterTest, alarmText=Testaintegrity alarm, fileID=<null>(default), collectionID=TwoPillarCollection]
          Result: Received message on TEST-ALARM-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.AlarmMessage@e9fa0ea[correlationID=083a070c-6bbd-4ee1-85b3-0aeaf7d9965f, collectionID=TwoPillarCollection, destination=TEST-ALARM-TOPIC-cibuild01, replyTo=TEST-TOPIC-IntegrityAlerterTest-cibuild01-contributor, from=IntegrityAlerterTest, to=<null>(default), version=31, minVersion=24, alarm=org.bitrepository.bitrepositoryelements.Alarm@5d8edf2[origDateTime=2022-02-15T13:45:40.030+01:00, alarmCode=INTEGRITY_ISSUE, alarmRaiser=IntegrityAlerterTest, alarmText=Testaintegrity alarm, fileID=<null>(default), collectionID=TwoPillarCollection]]
      Test success: testIntegrityFailed
      Test starting: testOperationFailed
        Description: Test the OperationFailed method for the IntegrityAlerter
        Step: Call the function for integrity failure.
13:45:40.269 WARN  o.b.i.a.IntegrityAlarmDispatcher - Sending alarm: org.bitrepository.bitrepositoryelements.Alarm@1703e50d[origDateTime=2022-02-15T13:45:40.267+01:00, alarmCode=FAILED_OPERATION, alarmRaiser=IntegrityAlerterTest, alarmText=Testing the ability to fail., fileID=<null>(default), collectionID=TwoPillarCollection]
          Result: Received message on TEST-ALARM-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.AlarmMessage@4f1150f5[correlationID=90ce5910-2810-4f5b-adbb-dff036c10a3b, collectionID=TwoPillarCollection, destination=TEST-ALARM-TOPIC-cibuild01, replyTo=TEST-TOPIC-IntegrityAlerterTest-cibuild01-contributor, from=IntegrityAlerterTest, to=<null>(default), version=31, minVersion=24, alarm=org.bitrepository.bitrepositoryelements.Alarm@1703e50d[origDateTime=2022-02-15T13:45:40.267+01:00, alarmCode=FAILED_OPERATION, alarmRaiser=IntegrityAlerterTest, alarmText=Testing the ability to fail., fileID=<null>(default), collectionID=TwoPillarCollection]]
      Test success: testOperationFailed
    Starting testcase IntegrityInformationCollectorTest
      Test starting: testCollectorGetChecksums
        Description: Tests that the collector calls the GetChecksumsClient
        Step: Define variables
        Step: Setup a GetChecksumsClient for test purpose.
        Step: Call the getChecksumsClient on the collector.
        Step: Call the getChecksumsClient on the collector four times more.
      Test success: testCollectorGetChecksums
      Test starting: testCollectorGetFile
        Description: Tests that the collector calls the GetFileClient
        Step: Define variables
        Step: Setup a GetFileClient for test purpose.
        Step: Call the GetFileClient on the collector.
        Step: Call the GetFileClient on the collector four times more.
      Test success: testCollectorGetFile
      Test starting: testCollectorGetFileIDs
        Description: Tests that the collector calls the GetFileClient
        Step: Define variables
        Step: Setup a GetFileIDsClient for test purpose.
        Step: Call the getFileIDs on the collector.
        Step: Call the getFileIDs on the collector four times more.
      Test success: testCollectorGetFileIDs
      Test starting: testCollectorHandleChecksumClientFailures
        Description: Test that the IntegrityInformationCollector works as a fault-barrier.
        Step: Setup variables for the test
        Step: Setup a failing GetChecksumClient for test purpose.
        Step: Verify that the collector does not fail, just because the GetChecksumClient does so
      Test success: testCollectorHandleChecksumClientFailures
      Test starting: testCollectorHandleGetFileClientFailures
        Description: Test that the IntegrityInformationCollector works as a fault-barrier.
        Step: Define variables
        Step: Setup a GetFileClient for test purpose, and ensure that it throws an error when called.
        Step: Verify that the collector does not fail, just because the GetFileClient does so
      Test success: testCollectorHandleGetFileClientFailures
      Test starting: testCollectorHandleGetFileIDsClientFailures
        Description: Test that the IntegrityInformationCollector works as a fault-barrier.
        Step: Setup variables for the test
        Step: Setup a DyingGetFileIDsClient for test purpose.
        Step: Verify that the collector does not fail, just because the GetChecksumClient does so
      Test success: testCollectorHandleGetFileIDsClientFailures
      Test starting: testCollectorHandlePutFileClientFailures
        Description: Test that the IntegrityInformationCollector works as a fault-barrier.
        Step: Define variables
        Step: Setup a PutFileClient for test purpose, and ensure that it throws an error when called.
        Step: Verify that the collector does not fail, just because the PutFileClient does so
      Test success: testCollectorHandlePutFileClientFailures
      Test starting: testCollectorPutFile
        Description: Tests that the collector calls the PutFileClient
        Step: Define variables
        Step: Setup a PutFileClient for test purpose.
        Step: Call the PutFileClient on the collector.
        Step: Call the PutFileClient on the collector four times more.
      Test success: testCollectorPutFile
    Starting testcase RepairMissingFilesWorkflowTest
      Test starting: testFailedGetFile
        Description: Test that the workflow does not try to put a file, if it fails to get it.
        Step: Prepare for calls to mocks to fail when performing get-file
        Step: Run missing checksum step.
13:45:40.625 ERROR o.b.i.w.RepairMissingFilesWorkflow - Failure in step: 'Performing GetFile for 'test-file-1'.'.
java.lang.IllegalStateException: Aborting workflow due to failure getting the file 'test-file-1'. Cause: null: null: FAILED: , failure
	at org.bitrepository.integrityservice.workflow.step.GetFileStep.performStep(GetFileStep.java:74)
	at org.bitrepository.service.workflow.Workflow.performStep(Workflow.java:63)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.getFileStep(RepairMissingFilesWorkflow.java:174)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.repairMissingFiles(RepairMissingFilesWorkflow.java:114)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.start(RepairMissingFilesWorkflow.java:88)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflowTest.testFailedGetFile(RepairMissingFilesWorkflowTest.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:134)
	at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:597)
	at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
	at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
	at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:816)
	at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.testng.TestRunner.privateRun(TestRunner.java:766)
	at org.testng.TestRunner.run(TestRunner.java:587)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
	at org.testng.SuiteRunner.run(SuiteRunner.java:286)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1109)
	at org.testng.TestNG.runSuites(TestNG.java:1039)
	at org.testng.TestNG.run(TestNG.java:1007)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451)
13:45:40.638 WARN  o.b.i.w.RepairMissingFilesWorkflow - Error occured during repair of missing file, 'test-file-1'. Tries to continue.
java.lang.RuntimeException: Failed to run step Performing GetFile for 'test-file-1'.
	at org.bitrepository.service.workflow.Workflow.performStep(Workflow.java:69)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.getFileStep(RepairMissingFilesWorkflow.java:174)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.repairMissingFiles(RepairMissingFilesWorkflow.java:114)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.start(RepairMissingFilesWorkflow.java:88)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflowTest.testFailedGetFile(RepairMissingFilesWorkflowTest.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:134)
	at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:597)
	at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
	at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
	at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:816)
	at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.testng.TestRunner.privateRun(TestRunner.java:766)
	at org.testng.TestRunner.run(TestRunner.java:587)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
	at org.testng.SuiteRunner.run(SuiteRunner.java:286)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1109)
	at org.testng.TestNG.runSuites(TestNG.java:1039)
	at org.testng.TestNG.run(TestNG.java:1007)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451)
Caused by: java.lang.IllegalStateException: Aborting workflow due to failure getting the file 'test-file-1'. Cause: null: null: FAILED: , failure
	at org.bitrepository.integrityservice.workflow.step.GetFileStep.performStep(GetFileStep.java:74)
	at org.bitrepository.service.workflow.Workflow.performStep(Workflow.java:63)
	... 37 common frames omitted
      Test success: testFailedGetFile
      Test starting: testFailedPutFile
        Description: Test that the workflow makes calls to the collector for get and put file, even when put file fails.
        Step: Prepare for calls to mocks
        Step: Run workflow to repair missing files.
13:45:40.747 ERROR o.b.i.w.RepairMissingFilesWorkflow - Failure in step: 'Performing PutFile for 'test-file-1'.'.
java.lang.IllegalStateException: Aborting workflow due to failure putting the file 'test-file-1'. Cause: null: null: FAILED: , failure
	at org.bitrepository.integrityservice.workflow.step.PutFileStep.performStep(PutFileStep.java:88)
	at org.bitrepository.service.workflow.Workflow.performStep(Workflow.java:63)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.putFileStep(RepairMissingFilesWorkflow.java:189)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.repairMissingFiles(RepairMissingFilesWorkflow.java:115)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.start(RepairMissingFilesWorkflow.java:88)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflowTest.testFailedPutFile(RepairMissingFilesWorkflowTest.java:249)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:134)
	at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:597)
	at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
	at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
	at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:816)
	at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.testng.TestRunner.privateRun(TestRunner.java:766)
	at org.testng.TestRunner.run(TestRunner.java:587)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
	at org.testng.SuiteRunner.run(SuiteRunner.java:286)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1109)
	at org.testng.TestNG.runSuites(TestNG.java:1039)
	at org.testng.TestNG.run(TestNG.java:1007)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451)
13:45:40.752 WARN  o.b.i.w.RepairMissingFilesWorkflow - Error occured during repair of missing file, 'test-file-1'. Tries to continue.
java.lang.RuntimeException: Failed to run step Performing PutFile for 'test-file-1'.
	at org.bitrepository.service.workflow.Workflow.performStep(Workflow.java:69)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.putFileStep(RepairMissingFilesWorkflow.java:189)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.repairMissingFiles(RepairMissingFilesWorkflow.java:115)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.start(RepairMissingFilesWorkflow.java:88)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflowTest.testFailedPutFile(RepairMissingFilesWorkflowTest.java:249)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:134)
	at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:597)
	at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
	at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
	at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:816)
	at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.testng.TestRunner.privateRun(TestRunner.java:766)
	at org.testng.TestRunner.run(TestRunner.java:587)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
	at org.testng.SuiteRunner.run(SuiteRunner.java:286)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1109)
	at org.testng.TestNG.runSuites(TestNG.java:1039)
	at org.testng.TestNG.run(TestNG.java:1007)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451)
Caused by: java.lang.IllegalStateException: Aborting workflow due to failure putting the file 'test-file-1'. Cause: null: null: FAILED: , failure
	at org.bitrepository.integrityservice.workflow.step.PutFileStep.performStep(PutFileStep.java:88)
	at org.bitrepository.service.workflow.Workflow.performStep(Workflow.java:63)
	... 37 common frames omitted
      Test success: testFailedPutFile
      Test starting: testNoMissingFiles
        Description: Test that the workflow does nothing, when it has no missing files.
        Step: Prepare for calls to mocks
        Step: Run workflow for repairing missing files.
      Test success: testNoMissingFiles
      Test starting: testSuccesRepair
        Description: Test that the workflow makes calls to the collector, when a file is missing
        Step: Prepare for calls to mocks to handle a repair
        Step: Run workflow for repairing missing files.
13:45:41.534 WARN  o.b.i.w.RepairMissingFilesWorkflow - Issue deleting file from FileExchange
org.apache.http.conn.HttpHostConnectException: Connect to localhost:80 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused)
	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156)
	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
	at org.bitrepository.protocol.http.HttpFileExchange.deleteFile(HttpFileExchange.java:261)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.deleteUrl(RepairMissingFilesWorkflow.java:204)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.repairMissingFiles(RepairMissingFilesWorkflow.java:116)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflow.start(RepairMissingFilesWorkflow.java:88)
	at org.bitrepository.integrityservice.workflow.RepairMissingFilesWorkflowTest.testSuccesRepair(RepairMissingFilesWorkflowTest.java:160)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:134)
	at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:597)
	at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
	at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
	at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:816)
	at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
	at java.util.ArrayList.forEach(ArrayList.java:1249)
	at org.testng.TestRunner.privateRun(TestRunner.java:766)
	at org.testng.TestRunner.run(TestRunner.java:587)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
	at org.testng.SuiteRunner.run(SuiteRunner.java:286)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1109)
	at org.testng.TestNG.runSuites(TestNG.java:1039)
	at org.testng.TestNG.run(TestNG.java:1007)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:589)
	at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75)
	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
	... 47 common frames omitted
      Test success: testSuccesRepair
    Starting testcase UpdateFileIDsStepTest
      Test starting: testAbortWorkflowWhenNegativeReply
        Description: Test the step for updating the file ids will throw an WorkflowAbortedExceptionwhen AbortOnFailedContributor is set to true and a FAILED event is received.
13:45:41.624 WARN  o.b.i.c.IntegrityCollectorEventHandler - Component failure for 'test-pillar-1'.
13:45:41.625 WARN  o.b.i.c.IntegrityCollectorEventHandler - Failure: null: null: FAILED: , Operation failed
      Test success: testAbortWorkflowWhenNegativeReply
      Test starting: testContinueWorkflowWhenNegativeReply
        Description: Test the step for updating the file ids will continue when getting an FAILED operation event when AbortOnFailedContributor is set to false
13:45:41.698 WARN  o.b.i.c.IntegrityCollectorEventHandler - Component failure for 'test-pillar-1'.
13:45:41.704 WARN  o.b.i.c.IntegrityCollectorEventHandler - Failure: null: null: FAILED: , Operation failed
      Test success: testContinueWorkflowWhenNegativeReply
      Test starting: testIngestOfResults
        Description: Test the step for updating the file ids can ingest the data correctly into the store.
      Test success: testIngestOfResults
      Test starting: testPartialResults
        Description: Test that the number of partial is used for generating more than one request.
        Step: Setup the collector mock to generate a isPartialResult=true event the first time and a isPartialResult=false the second time
      Test success: testPartialResults
      Test starting: testPositiveReply
        Description: Test the step for updating the file ids can handle COMPLETE operation event.
      Test success: testPositiveReply
      Test starting: testRetryCollectionWhenNegativeReply
        Description: Test the step for updating the file ids will retry on a FAILED event
13:45:42.030 WARN  o.b.i.c.IntegrityCollectorEventHandler - Component failure for 'test-pillar-1'.
13:45:42.031 WARN  o.b.i.c.IntegrityCollectorEventHandler - Failure: null: null: FAILED: , Operation failed
      Test success: testRetryCollectionWhenNegativeReply
    Starting testcase FileInfoTest
      Test starting: testFileInfo
        Description: Tests the FileInfo element. Adds all data and extracts it again.
        Step: Setup the file info.
        Step: Change the checksum
        Step: Change the date for last file id check
        Step: Change the date for last checksum check
      Test success: testFileInfo
    Starting testcase HandleChecksumValidationStepTest
      Test starting: testAuditTrailsForChecksumErrors
        Description: Test audit trails for checksum errors. Verify that a pillar with a single checksum will be pointed out as the possible cause.
        Step: Test step on data without checksum error
        Step: Test step on data where only two pillars have the file and they disagree about the checksum.
number of files in the collection2
number of fileinfos: 3
        Step: remove the last auditinfo
        Step: Test step on data where two pillars have one checksum and the last pillar has a different one
      Test success: testAuditTrailsForChecksumErrors
      Test starting: testChecksumMajority
        Description: Test the checksum integrity validator when two pillars have one checksum and the last pillar has another checksum.
        Step: Add data to the cache
        Step: Perform the checksum validation step
        Step: Validate the file ids
      Test success: testChecksumMajority
      Test starting: testMissingAtOnePillar
        Description: Test the checksum integrity validator when one pillar is missing the data.
        Step: Update the cache with identitical data for both pillars.
        Step: Perform the step
        Step: Validate the file ids
      Test success: testMissingAtOnePillar
      Test starting: testNoData
        Description: Test the checksum integrity validator without any data in the cache.
        Step: Validate the file ids
      Test success: testNoData
      Test starting: testSimilarData
        Description: Test the checksum integrity validator when all pillars have similar data.
        Step: Add data to the cache
        Step: Perform the step
        Step: Validate the file ids
      Test success: testSimilarData
      Test starting: testThreeDisagreeingChecksums
        Description: Test the checksum integrity validator when all pillars have different checksums.
        Step: Add data to the cache
        Step: Perform the step
        Step: Validate the file ids
      Test success: testThreeDisagreeingChecksums
      Test starting: testTwoDisagreeingChecksums
        Description: Test the checksum integrity validator when only two pillar has data, but it it different.
        Step: Add data to the cache
        Step: Perform the step
        Step: Validate the file ids
      Test success: testTwoDisagreeingChecksums
    Starting testcase IntegrityDBToolsTest
      Test starting: testAddCollectionSuccess
        Description: Tests that a new collection can be added to the integrity database
        Step: Extract initial list of collections
        Step: Add the new collection
      Test success: testAddCollectionSuccess
      Test starting: testAddExistingCollection
        Description: Tests that an existing collectionID cannot be added to the integrity database.
        Step: Extract initial list of collections.
        Step: Attempt to add the new collection.
      Test success: testAddExistingCollection
      Test starting: testRemoveNonExistingCollection
        Description: Tests that a non existing collection can't be removed from the integrity database.
        Step: Extract initial list of collections.
        Step: Attempt to remove the non-existing collection.
      Test success: testRemoveNonExistingCollection
    Starting testcase UpdateChecksumsStepTest
      Test starting: testAbortWorkflowWhenNegativeReply
        Description: Test the step for updating the checksums will abort the workflow in case of FAILURE operation event and AbortOnFailedContributor = true .
13:46:00.964 WARN  o.b.i.c.IntegrityCollectorEventHandler - Component failure for 'test-pillar-1'.
13:46:00.965 WARN  o.b.i.c.IntegrityCollectorEventHandler - Failure: null: null: FAILED: , Problem encountered
      Test success: testAbortWorkflowWhenNegativeReply
      Test starting: testCallForChangingChecksumStates
        Description: Test the step for updating the checksums delivers the results to the integrity model.
      Test success: testCallForChangingChecksumStates
      Test starting: testContinueWorkflowNegativeReply
        Description: Test the step for updating the checksums will continue the workflow in case of FAILURE operation event and AbortOnFailedContributor = false .
13:46:01.099 WARN  o.b.i.c.IntegrityCollectorEventHandler - Component failure for 'test-pillar-1'.
13:46:01.100 WARN  o.b.i.c.IntegrityCollectorEventHandler - Failure: null: null: FAILED: , Problem encountered
      Test success: testContinueWorkflowNegativeReply
      Test starting: testFullChecksumCollection
        Description: Test that the full list of checksums is requested.
      Test success: testFullChecksumCollection
      Test starting: testIncrementalChecksumCollection
        Description: Test that only the list of new checksums is requested.
      Test success: testIncrementalChecksumCollection
      Test starting: testIngestOfResults
        Description: Test the step for updating the checksums delivers the results to the integrity model.
      Test success: testIngestOfResults
      Test starting: testPartialResults
        Description: Test that the number of partial is used for generating more than one request.
        Step: Setup the collector mock to generate a isPartialResult=true event the first time and a isPartialResult=false the second time
      Test success: testPartialResults
      Test starting: testPositiveReply
        Description: Test the step for updating the checksums can handle COMPLETE operation event.
      Test success: testPositiveReply
      Test starting: testRetryCollectionWhenNegativeReply
        Description: Test the step for updating the file ids will retry on a FAILED event
13:46:01.428 WARN  o.b.i.c.IntegrityCollectorEventHandler - Component failure for 'test-pillar-1'.
13:46:01.429 WARN  o.b.i.c.IntegrityCollectorEventHandler - Failure: null: null: FAILED: , Problem encountered
      Test success: testRetryCollectionWhenNegativeReply
    Starting testcase IntegrityWorkflowManagerTest
      Test starting: collectionSpecificWorkflows
        Description: Verifies that the IntegrityWorkflowManager loads correctly for workflows configured for specific collection.
        Step: Create a IntegrityWorkflowManager based on a workflow with different schedules for collection 1 and 2 (daily and hourly)
      Test success: collectionSpecificWorkflows
      Test starting: noWorkflowPackage
        Description: Verifies that the IntegrityWorkflowManager loads correctly for at workflow configuration with a workflow class name without a package scope (located in the deafult workflow package).
        Step: Create a IntegrityWorkflowManager based on a single Testworkflow with a daily schedule in a to collection system, where the className is just the simplename
      Test success: noWorkflowPackage
      Test starting: noWorkflowSettings
        Description: Verifies that the IntegrityWorkflowManager loads correctly for missing reference settings a workflow settings element.
        Step: Create a IntegrityWorkflowManager based on a workflowsettingsless configuration
      Test success: noWorkflowSettings
      Test starting: normalWorkflowSettings
        Description: Verifies that the IntegrityWorkflowManager loads correctly for at normally defined workflow.
        Step: Create a IntegrityWorkflowManager based on a single Testworkflow with a daily schedule in a to collection system
      Test success: normalWorkflowSettings
      Test starting: startWorkflow
        Description: Verifies that the that it is possible to manually start a workflow.
        Step: Call the startWorkflow with a workflow defined in the configuration
      Test success: startWorkflow
      Test starting: unscheduledWorkflow
        Description: Verifies that the IntegrityWorkflowManager loads workflow correctly for workflows without a defined schedule meaning they are never run automatically.
        Step: Create a IntegrityWorkflowManager based on a single Testworkflow without a schedule
      Test success: unscheduledWorkflow
    Starting testcase MaxChecksumAgeProviderTest
      Test starting: testNoPillarSpecificSetting
        Description: Test the MaxChecksumAge when no settings are defined for the specific pillar
        Step: Create a MaxChecksumAgeProvider with settings containing a default MaxAge of 10 and no pillar specific settings
      Test success: testNoPillarSpecificSetting
      Test starting: testNoSettings
        Description: Test the MaxChecksumAge when no settings are defined
        Step: Create a MaxChecksumAgeProvider with null settings and a default MaxAge of 100
      Test success: testNoSettings
      Test starting: testPillarSpecificSetting
        Description: Test the MaxChecksumAge when a value has been defined for specific pillars
        Step: Create a MaxChecksumAgeProvider with settings containing a default MaxAge of 10, pillar1MaxChecksumAge of 1001 and pillar2 MaxChecksumAge of 1002
      Test success: testPillarSpecificSetting
    Starting testcase SaltedChecksumWorkflowTest
      Test starting: testInconsistentChecksums
        Description: Test that the workflow discovers and handles inconsistent checksums
        Step: Prepare for calls to mocks
        Step: Run workflow for checking salted checksum.
13:46:01.905 WARN  o.b.i.w.SaltedChecksumWorkflow - Failure in checksum salted checksum: Inconsistent salted checksum found for file 'test-file-1' with checksumspec 'HMAC_MD5' and salt '24430245f06f0f4661f9c59f472bbf7f6a7a'. The pillars had the checksums: {pillar2=efefcefc, pillar1=bfecefef}
      Test success: testInconsistentChecksums
      Test starting: testNoFilesInCollection
        Description: Test that the workflow does nothing, when it has no files in the collection.
        Step: Prepare for calls to mocks
        Step: Run workflow for checking salted checksum.
      Test success: testNoFilesInCollection
      Test starting: testNoReceivedChecksums
        Description: Test that the workflow handles the case, when no checksums are received
        Step: Prepare for calls to mocks
        Step: Run workflow for checking salted checksum.
13:46:02.011 WARN  o.b.i.c.SimpleChecksumEventHandler - Failure: null: null: FAILED: , 
13:46:02.012 WARN  o.b.i.w.SaltedChecksumWorkflow - Failure in checksum salted checksum: No checksums with checksumSpec 'org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@418ceffa[checksumType=HMAC_MD5, checksumSalt={100,-94,-95,59,-4,-28,47,79,-112,-8,-76,63,-64,-46,-51,-102,83,9}, otherChecksumType=<null>(default)]' received for file 'test-file-1'.
      Test success: testNoReceivedChecksums
      Test starting: testOneComponentFailureAndTwoOtherAgreeOnChecksum
        Description: Test that the workflow works when both pillars deliver the same checksum.
        Step: Prepare for calls to mocks
        Step: Run workflow for checking salted checksum.
13:46:02.065 WARN  o.b.i.c.SimpleChecksumEventHandler - Component failure for 'pillar3'.
13:46:02.065 WARN  o.b.i.c.SimpleChecksumEventHandler - Failure: null: null: FAILED: , COMPONENT FAILED
      Test success: testOneComponentFailureAndTwoOtherAgreeOnChecksum
      Test starting: testOneComponentFailureAndTwoOtherDisagreeOnChecksum
        Description: Test that the workflow works when both pillars deliver the same checksum.
        Step: Prepare for calls to mocks
        Step: Run workflow for checking salted checksum.
13:46:02.127 WARN  o.b.i.c.SimpleChecksumEventHandler - Component failure for 'pillar3'.
13:46:02.128 WARN  o.b.i.c.SimpleChecksumEventHandler - Failure: null: null: FAILED: , COMPONENT FAILED
13:46:02.128 WARN  o.b.i.w.SaltedChecksumWorkflow - Failure in checksum salted checksum: Inconsistent salted checksum found for file 'test-file-1' with checksumspec 'HMAC_MD5' and salt 'a025ce47f3578f41acfb40afa6f486d5828d'. The pillars had the checksums: {pillar2=efefcefc, pillar1=bfecefef}
      Test success: testOneComponentFailureAndTwoOtherDisagreeOnChecksum
      Test starting: testSuccess
        Description: Test that the workflow works when both pillars deliver the same checksum.
        Step: Prepare for calls to mocks
        Step: Run workflow for checking salted checksum.
      Test success: testSuccess
      Test starting: testConstructor
      Test success: testConstructor
      Test starting: testFailContributor
      Test success: testFailContributor
      Test starting: testFinishContributor
      Test success: testFinishContributor
      Test starting: testReloadContributors
      Test success: testReloadContributors
      Test starting: testRetry
      Test success: testRetry
      Test starting: testSucceed
      Test success: testSucceed
    Starting testcase IntegrityDAOTest
      Test starting: initialStateExtractionTest
        Description: Tests the initial state of the IntegrityModel. Should not contain any data.
      Test success: initialStateExtractionTest
      Test starting: instantiationTest
        Description: Testing the connection to the integrity database.
      Test success: instantiationTest
      Test starting: reinitialiseDatabaseTest
        Description: Testing the connection to the integrity database.
        Step: Setup manually.
        Step: Close the connection and create another one.
      Test success: reinitialiseDatabaseTest
      Test starting: testCorrectDateHandling
        Description: Testing the correct ingest and extraction of file and checksum dates
      Test success: testCorrectDateHandling
      Test starting: testDeletingEntry
        Description: Tests the deletion of an FileID entry from a collection. Checks that it does not effect another collection with a fileID equal to the deleted
        Step: Create data
        Step: Ensure that the data is present
        Step: Delete the entry for the first pillar
        Step: Delete the entry for the second pillar
        Step: Check that the data in the extra collection is still present
      Test success: testDeletingEntry
      Test starting: testDeletingNonExistingEntry
        Description: Tests the deletion of an nonexisting FileID entry.
        Step: Create data
        Step: Delete a nonexisting entry
      Test success: testDeletingNonExistingEntry
      Test starting: testExtractCollectionFileSize
        Description: Tests that the accumulated size of the collection can be extracted
        Step: Insert test data into database
        Step: Check the reported size of the first pillar in the collection
        Step: Check the reported size of the second pillar in the collection
        Step: Check the reported size of the whole collection
      Test success: testExtractCollectionFileSize
      Test starting: testExtractingAllKnownFilesForPillars
        Description: Tests that known files can be extracted for specific pillars.
        Step: Insert two files into database for a pillar
        Step: Insert a file to the extra collection for the common pillar
        Step: Extract all the existing file ids for the pillar for collection 'TwoPillarCollection'
        Step: Extract the single fileID for the extra collection
        Step: Extract all the existing file ids for another pillar
      Test success: testExtractingAllKnownFilesForPillars
      Test starting: testExtractingAllKnownFilesForPillarsLimits
        Description: Tests the limits for extracting files for specific pillars.
        Step: Insert two files into database for a pillar
        Step: Extract with a maximum of 1
        Step: Extract with a minimum of 1 and maximum of infinite
      Test success: testExtractingAllKnownFilesForPillarsLimits
      Test starting: testExtractingAllMissingFiles
        Description: Tests that missing files can be extracted.
        Step: Insert two files into database for a pillar and mark them as missing
        Step: Check the number of files in collection and on pillars
        Step: Extract missing files
      Test success: testExtractingAllMissingFiles
      Test starting: testExtractingAllMissingFilesForPillarsLimits
        Description: Tests the limits for extracting missing files for specific pillars.
        Step: Insert two files into database for a pillar and set them to missing
        Step: Extract with a maximum of 1
        Step: Extract with a minimum of 1 and maximum of infinite
      Test success: testExtractingAllMissingFilesForPillarsLimits
      Test starting: testFindInconsistentChecksum
        Description: Testing the localization of inconsistent checksums
        Step: Update the database with 2 inconsistent files and one consistent file.
        Step: Find the files with inconsistent checksums
      Test success: testFindInconsistentChecksum
      Test starting: testFindOrphanFiles
        Description: Tests the ability to find orphan files.
        Step: Create data
      Test success: testFindOrphanFiles
      Test starting: testGetFileIDAtIndex
        Description: Tests that a fileID at a given index can be extracted.
        Step: Extract a fileID from the empty database
        Step: Insert test data into database
        Step: Extract the first fileID
        Step: Extract a fileID at an incomprehendable index from the database
      Test success: testGetFileIDAtIndex
      Test starting: testGetLatestChecksumDateEntryForCollection
        Description: Tests that checksum date entries can be retrieved and manipulated.
        Step: Create data
      Test success: testGetLatestChecksumDateEntryForCollection
      Test starting: testGetLatestFileDateEntryForCollection
        Description: Tests that checksum date entries can be retrieved and manipulated.
        Step: Create data
      Test success: testGetLatestFileDateEntryForCollection
      Test starting: testIngestOfChecksumsData
        Description: Tests the ingesting of checksums data
        Step: Create data
        Step: Extract the data
        Step: Check that the extra collection is untouched by the ingest
      Test success: testIngestOfChecksumsData
      Test starting: testIngestOfFileIDsData
        Description: Tests the ingesting of file ids data
        Step: Create data
        Step: Extract the data
        Step: Check that the extra collection is untouched by the ingest
      Test success: testIngestOfFileIDsData
      Test starting: testMissingChecksums
        Description: Testing the checksum validation, when only one pillar has a checksum for a file.
        Step: Update the database with 1 file, missing its checksum on one pillar.
        Step: Finding the files with inconsistent checksums
      Test success: testMissingChecksums
      Test starting: testMissingChecksumsChecksumNotUpdated
        Description: Testing the checksum validation, when only one pillar has a checksum for a file.
        Step: Update the database with 1 file, no missing checksums.
        Step: Finding the files with inconsistent checksums
        Step: Updating the checksum for one pillar, and checking that the other pillars checksum is now missing
        Step: Finding the files with inconsistent checksums
      Test success: testMissingChecksumsChecksumNotUpdated
      Test starting: testNoChecksums
        Description: Testing the checksum validation, when no checksums exists.
        Step: Update the database with 2 inconsistent files and one consistent file.
        Step: Finding the files with inconsistent checksums
      Test success: testNoChecksums
      Test starting: testOutdatedChecksums
        Description: Testing the checksum validation, when only one pillar has a checksum for a file.
        Step: Update the database with one file, one pillar having an outdated checksum.
        Step: Finding the files with inconsistent checksums
      Test success: testOutdatedChecksums
    Starting testcase MissingChecksumTests
      Test starting: testMissingChecksumAndStep
        Description: Test that files initially are set to checksum-state unknown, and to missing in the missing checksum step.
        Step: Ingest file to database
        Step: Run missing checksum step.
      Test success: testMissingChecksumAndStep
      Test starting: testMissingChecksumDuringSecondIngest
        Description: Test that checksums are set to missing, when not found during GetChecksum, even though they have been found before.
        Step: Ingest file to database
        Step: Add checksum results for both pillar.
        Step: Check whether checksum is missing
        Step: Add checksum results for only the second pillar.
        Step: Check whether checksum is missing
      Test success: testMissingChecksumDuringSecondIngest
      Test starting: testMissingChecksumForFirstGetChecksums
        Description: Test that checksums are set to missing, when not found during GetChecksum.
        Step: Ingest file to database
        Step: Add checksum results for only one pillar.
        Step: Check whether checksum is missing
      Test success: testMissingChecksumForFirstGetChecksums
    Starting testcase PutFileStepTest
      Test starting: testNegativeReply
        Description: Test the step for getting the file can handle FAILURE operation event.
      Test success: testNegativeReply
      Test starting: testPositiveReply
        Description: Test the step for getting the file can handle COMPLETE operation event.
      Test success: testPositiveReply
    Starting testcase IntegrityDatabaseTest
      Test starting: initialStateExtractionTest
        Description: Tests the initial state of the IntegrityModel. Should not contain any data.
        Step: Test the 'findChecksumsOlderThan'
        Step: Test the 'findMissingChecksums'
        Step: Test the 'findMissingFiles'
        Step: Test the 'getAllFileIDs'
        Step: Test the 'getFileInfos'
        Step: Test the 'getPillarCollectionMetrics'
      Test success: initialStateExtractionTest
      Test starting: instantiationTest
        Description: Tests that the connection can be instantaited.
      Test success: instantiationTest
      Test starting: testDeletingEntry
        Description: Tests the deletion of an FileID entry.
        Step: Create data
        Step: Delete the entry
      Test success: testDeletingEntry
      Test starting: testIngestOfChecksumsData
        Description: Tests the ingesting of checksums data
        Step: Create data
        Step: Extract the data
      Test success: testIngestOfChecksumsData
      Test starting: testIngestOfFileIDsData
        Description: Tests the ingesting of file ids data
        Step: Create data
        Step: Extract the data
      Test success: testIngestOfFileIDsData
    Starting testcase GetChecksumForFileStepTest
      Test starting: testComponentFailure
        Description: Test step for retrieving the checksum of a single file, when one pillar fails.
        Step: Setup mock answers
        Step: Validate the file ids
13:46:45.466 WARN  o.b.i.c.SimpleChecksumEventHandler - Component failure for 'test-pillar-3'.
13:46:45.467 WARN  o.b.i.c.SimpleChecksumEventHandler - Failure: null: null: FAILED: , COMPONENT FAILED
      Test success: testComponentFailure
      Test starting: testFullData
        Description: Test step for retrieving the checksum of a single file, when all three pillars deliver results.
        Step: Setup mock answers
        Step: Validate the checksum results
      Test success: testFullData
      Test starting: testNoResults
        Description: Test step for retrieving the checksum of a single file, when no results are delivered.
        Step: Setup mock answers
        Step: Validate the checksum results
      Test success: testNoResults
      Finished testcase
  Finished suite
Finished project
[INFO] Tests run: 104, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.835 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 104, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[JENKINS] Recording test results
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.5:report (report) @ bitrepository-integrity-service ---
[INFO] Loading execution data file /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/target/jacoco.exec
[INFO] Analyzed bundle 'Bitrepository Integrity Service' with 79 classes
[INFO] 
[INFO] --- maven-war-plugin:3.3.0:war (default-war) @ bitrepository-integrity-service ---
[INFO] Packaging webapp
[INFO] Assembling webapp [bitrepository-integrity-service] in [/home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/target/bitrepository-integrity-service-1.10-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/src/main/webapp]
[INFO] Building war: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/target/bitrepository-integrity-service-1.10-SNAPSHOT.war
[INFO] 
[INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ bitrepository-integrity-service ---
[INFO] Building jar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/target/bitrepository-integrity-service-1.10-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources-no-fork) @ bitrepository-integrity-service ---
[INFO] Building jar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/target/bitrepository-integrity-service-1.10-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-assembly-plugin:3.3.0:single (distribution) @ bitrepository-integrity-service ---
[INFO] Reading assembly descriptor: src/main/assembly/assembly.xml
[INFO] Building tar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/target/bitrepository-integrity-service-1.10-SNAPSHOT-distribution.tar.gz
[INFO] 
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ bitrepository-integrity-service ---
[INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/target/bitrepository-integrity-service-1.10-SNAPSHOT.war to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-SNAPSHOT.war
[INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/pom.xml to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-SNAPSHOT.pom
[INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/target/bitrepository-integrity-service-1.10-SNAPSHOT-tests.jar to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-SNAPSHOT-tests.jar
[INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/target/bitrepository-integrity-service-1.10-SNAPSHOT-sources.jar to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-SNAPSHOT-sources.jar
[INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-integrity-service/target/bitrepository-integrity-service-1.10-SNAPSHOT-distribution.tar.gz to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-SNAPSHOT-distribution.tar.gz
[INFO] 
[INFO] --- maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) @ bitrepository-integrity-service ---
[INFO] Downloading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/maven-metadata.xml (2 KB at 67.7 KB/sec)
[INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-20220215.124650-63.war
[INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-20220215.124650-63.war (21538 KB at 30900.2 KB/sec)
[INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-20220215.124650-63.pom
[INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-20220215.124650-63.pom (6 KB at 174.9 KB/sec)
[INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-20220215.124650-63-tests.jar
[INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-20220215.124650-63-tests.jar (186 KB at 5446.6 KB/sec)
[INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-20220215.124650-63-sources.jar
[INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-20220215.124650-63-sources.jar (144 KB at 4942.2 KB/sec)
[INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-20220215.124650-63-distribution.tar.gz
[INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/bitrepository-integrity-service-1.10-20220215.124650-63-distribution.tar.gz (21530 KB at 29819.2 KB/sec)
[INFO] Downloading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/maven-metadata.xml
[INFO] Downloaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/maven-metadata.xml (495 B at 43.9 KB/sec)
[INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/maven-metadata.xml
[INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/1.10-SNAPSHOT/maven-metadata.xml (2 KB at 94.8 KB/sec)
[INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/maven-metadata.xml
[INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-integrity-service/maven-metadata.xml (495 B at 21.0 KB/sec)
[JENKINS] Archiving disabled