projectStarted org.bitrepository.reference:bitrepository-client:1.2-SNAPSHOT [INFO] Deleting /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/target [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Bitrepository Client 1.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ mojoStarted org.apache.maven.plugins:maven-clean-plugin:2.5(default-clean) [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bitrepository-client --- mojoSucceeded org.apache.maven.plugins:maven-clean-plugin:2.5(default-clean) mojoStarted org.apache.maven.plugins:maven-resources-plugin:2.6(default-resources)[INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 8 resources [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bitrepository-client --- mojoSucceeded org.apache.maven.plugins:maven-resources-plugin:2.6(default-resources) mojoStarted org.apache.maven.plugins:maven-compiler-plugin:3.1(default-compile) [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ bitrepository-client --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 124 source files to /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/target/classes mojoSucceeded org.apache.maven.plugins:maven-compiler-plugin:3.1(default-compile) mojoStarted org.apache.maven.plugins:maven-resources-plugin:2.6(default-testResources) [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bitrepository-client --- mojoSucceeded org.apache.maven.plugins:maven-resources-plugin:2.6(default-testResources) mojoStarted org.apache.maven.plugins:maven-compiler-plugin:3.1(default-testCompile) [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ bitrepository-client --- [WARNING] /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/src/main/java/org/bitrepository/client/conversation/PerformingOperationState.java: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/src/main/java/org/bitrepository/client/conversation/PerformingOperationState.java uses unchecked or unsafe operations. [WARNING] /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/src/main/java/org/bitrepository/client/conversation/PerformingOperationState.java: Recompile with -Xlint:unchecked for details. [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/src/test/resources [INFO] Changes detected - recompiling the module! [INFO] Compiling 34 source files to /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/target/test-classes mojoSucceeded org.apache.maven.plugins:maven-compiler-plugin:3.1(default-testCompile) mojoStarted org.apache.maven.plugins:maven-surefire-plugin:2.14.1(default-test)[INFO] Surefire report directory: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- [INFO] [INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ bitrepository-client --- Running TestSuite Configuring TestNG with: TestNG652Configurator Starting test project Core module test Suite: Command line suite 11:38:44.648 ERROR o.a.activemq.broker.BrokerService - Memory Usage for the Broker (1024 mb) is more than the maximum available for the JVM: 487 mb - resetting to 70% of maximum available: 341 mb 11:38:44.649 ERROR o.a.activemq.broker.BrokerService - Temporary Store limit is 51200 mb, whilst the temporary data directory: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/target/activemq-data/localhost/tmp_storage only has 18404 mb of usable space - resetting to maximum available 18404 mb. Starting testcase AuditTrailClientComponentTest Test starting: getAllAuditTrailsTest Description: Tests the simplest case of getting all audit trail event for all contributers. Step: Create a AuditTrailClient. Step: Retrieve all audit trails from the collection by calling with a null componentQueries array Stimuli: Calling getAuditTrails(null, default-test-file.txt, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@52a1fc46[correlationID=3d4ee349-21b8-4777-8f9e-1378ede3eeb3, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=getAllAuditTrailsTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received event: 3d4ee349: GET_AUDIT_TRAILS for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying contributers for audit trails Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@1d72e46d[correlationID=3d4ee349-21b8-4777-8f9e-1378ede3eeb3, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=getAllAuditTrailsTest, to=, version=26, minVersion=24, auditTrailInformation=] Step: Send a identifyResponse from each pillar Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@7e762d0[correlationID=3d4ee349-21b8-4777-8f9e-1378ede3eeb3, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@680849bd[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: 3d4ee349: GET_AUDIT_TRAILS for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@65cc2c78[correlationID=3d4ee349-21b8-4777-8f9e-1378ede3eeb3, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3f7bae7e[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: 3d4ee349: GET_AUDIT_TRAILS for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: 3d4ee349: GET_AUDIT_TRAILS for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1, Pillar2] Result: Received event: 3d4ee349: GET_AUDIT_TRAILS for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar2, Pillar1], Sending request for audit trails Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@3e7ef695[correlationID=3d4ee349-21b8-4777-8f9e-1378ede3eeb3, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=getAllAuditTrailsTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=default-test-file.txt, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@7c162f77[correlationID=3d4ee349-21b8-4777-8f9e-1378ede3eeb3, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=getAllAuditTrailsTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=default-test-file.txt, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@4688bbdd[correlationID=3d4ee349-21b8-4777-8f9e-1378ede3eeb3, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=getAllAuditTrailsTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=default-test-file.txt, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@55aea543[correlationID=3d4ee349-21b8-4777-8f9e-1378ede3eeb3, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=getAllAuditTrailsTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=default-test-file.txt, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Send a final response from pillar 1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsFinalResponse@638692ed[correlationID=3d4ee349-21b8-4777-8f9e-1378ede3eeb3, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@181838a7[responseCode=OPERATION_COMPLETED, responseText=], contributor=Pillar1, resultingAuditTrails=org.bitrepository.bitrepositoryelements.ResultingAuditTrails@5e2f684c[resultAddress=, auditTrailEvents=org.bitrepository.bitrepositoryelements.AuditTrailEvents@7a6885e2[auditTrailEvent={org.bitrepository.bitrepositoryelements.AuditTrailEvent@642df736[sequenceNumber=1, fileID=File1, reportingComponent=Pillar1, actorOnFile=Pillar1, actionOnFile=PUT_FILE, actionDateTime=2014-02-25T11:38:47.969+01:00, info=Test audit trail 1, operationID=, certificateID=, auditTrailInformation=Example audit trail information],org.bitrepository.bitrepositoryelements.AuditTrailEvent@4a419d65[sequenceNumber=2, fileID=File1, reportingComponent=Pillar1, actorOnFile=Pillar1, actionOnFile=CHECKSUM_CALCULATED, actionDateTime=2014-02-25T11:38:47.971+01:00, info=Test audit trail 2, operationID=, certificateID=, auditTrailInformation=Example audit trail information]}]], partialResult=] Result: Received event: 3d4ee349: GET_AUDIT_TRAILS for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1, NumberOfAuditTrailEvents=2, PartialResult=false Step: Send a final response from pillar 2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsFinalResponse@39862775[correlationID=3d4ee349-21b8-4777-8f9e-1378ede3eeb3, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@16888fd4[responseCode=OPERATION_COMPLETED, responseText=], contributor=Pillar2, resultingAuditTrails=org.bitrepository.bitrepositoryelements.ResultingAuditTrails@5f9ab2da[resultAddress=, auditTrailEvents=org.bitrepository.bitrepositoryelements.AuditTrailEvents@2554373f[auditTrailEvent={org.bitrepository.bitrepositoryelements.AuditTrailEvent@3bf71c3e[sequenceNumber=1, fileID=File1, reportingComponent=Pillar2, actorOnFile=Pillar2, actionOnFile=PUT_FILE, actionDateTime=2014-02-25T11:38:48.332+01:00, info=Test audit trail 1, operationID=, certificateID=, auditTrailInformation=Example audit trail information],org.bitrepository.bitrepositoryelements.AuditTrailEvent@5c5f4933[sequenceNumber=2, fileID=File1, reportingComponent=Pillar2, actorOnFile=Pillar2, actionOnFile=CHECKSUM_CALCULATED, actionDateTime=2014-02-25T11:38:48.333+01:00, info=Test audit trail 2, operationID=, certificateID=, auditTrailInformation=Example audit trail information]}]], partialResult=] Result: Received event: 3d4ee349: GET_AUDIT_TRAILS for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar2, NumberOfAuditTrailEvents=2, PartialResult=false Result: Received event: 3d4ee349: GET_AUDIT_TRAILS for file default-test-file.txt: COMPLETE: Test success: getAllAuditTrailsTest Test starting: getSomeAuditTrailsTest Description: Tests the client maps a AuditTrail query correctly to a GetAuditTrail request. Step: Request audit trails from pillar 1 with both min and max sequence number set. Stimuli: Calling getAuditTrails([AuditTrailQuery{componentID='Pillar1, minTimestamp=null, maxTimestamp=null, maxNumberOfResults=10000}minSequenceNumber=1, maxSequenceNumber=3}], null, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@3eee9d26[correlationID=c9b839b2-01e7-4b09-b6b0-a8713b99bef4, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=getSomeAuditTrailsTest, to=Pillar1, version=26, minVersion=24, auditTrailInformation=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@22d7521f[correlationID=c9b839b2-01e7-4b09-b6b0-a8713b99bef4, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=getSomeAuditTrailsTest, to=Pillar1, version=26, minVersion=24, auditTrailInformation=] Result: Received event: c9b839b2: GET_AUDIT_TRAILS: IDENTIFY_REQUEST_SENT: , Identifying contributers for audit trails Step: Send a identifyResponse from pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@2fce8f7b[correlationID=c9b839b2-01e7-4b09-b6b0-a8713b99bef4, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@222decc2[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: c9b839b2: GET_AUDIT_TRAILS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: c9b839b2: GET_AUDIT_TRAILS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: c9b839b2: GET_AUDIT_TRAILS: REQUEST_SENT: ContributorID [Pillar1], Sending request for audit trails Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@416d3ac6[correlationID=c9b839b2-01e7-4b09-b6b0-a8713b99bef4, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=getSomeAuditTrailsTest, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=1, maxSequenceNumber=3, minTimestamp=, maxTimestamp=, maxNumberOfResults=10000, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@9943753[correlationID=c9b839b2-01e7-4b09-b6b0-a8713b99bef4, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=getSomeAuditTrailsTest, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=1, maxSequenceNumber=3, minTimestamp=, maxTimestamp=, maxNumberOfResults=10000, resultAddress=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@61bc2f0e[correlationID=c9b839b2-01e7-4b09-b6b0-a8713b99bef4, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@9b57243[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Step: Verify no request is sent to pillar2 Step: Send a final response from pillar 1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsFinalResponse@63f2a147[correlationID=c9b839b2-01e7-4b09-b6b0-a8713b99bef4, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@4e3a6f94[responseCode=OPERATION_COMPLETED, responseText=], contributor=Pillar1, resultingAuditTrails=org.bitrepository.bitrepositoryelements.ResultingAuditTrails@5e7385ab[resultAddress=, auditTrailEvents=org.bitrepository.bitrepositoryelements.AuditTrailEvents@724ccdfe[auditTrailEvent={org.bitrepository.bitrepositoryelements.AuditTrailEvent@10681952[sequenceNumber=1, fileID=File1, reportingComponent=Pillar1, actorOnFile=Pillar1, actionOnFile=PUT_FILE, actionDateTime=2014-02-25T11:38:51.711+01:00, info=Test audit trail 1, operationID=, certificateID=, auditTrailInformation=Example audit trail information],org.bitrepository.bitrepositoryelements.AuditTrailEvent@22565ee8[sequenceNumber=2, fileID=File1, reportingComponent=Pillar1, actorOnFile=Pillar1, actionOnFile=CHECKSUM_CALCULATED, actionDateTime=2014-02-25T11:38:51.711+01:00, info=Test audit trail 2, operationID=, certificateID=, auditTrailInformation=Example audit trail information]}]], partialResult=] Result: Received event: c9b839b2: GET_AUDIT_TRAILS: COMPONENT_COMPLETE: ContributorID Pillar1, NumberOfAuditTrailEvents=2, PartialResult=false Result: Received event: c9b839b2: GET_AUDIT_TRAILS: COMPLETE: Test success: getSomeAuditTrailsTest Test starting: incompleteSetOfFinalResponsesTest Description: Verify that the GetAuditTrail client works correct without receiving responses from all contributers. Step: Configure 3 second timeout for the operation itself. The default 2 contributers collection is used Stimuli: Calling getAuditTrails(null, null, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@41a6492c[correlationID=f6730d0b-c97a-4d21-8d68-cf9f3822a655, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=incompleteSetOfFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@62a75ec[correlationID=f6730d0b-c97a-4d21-8d68-cf9f3822a655, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=incompleteSetOfFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received event: f6730d0b: GET_AUDIT_TRAILS: IDENTIFY_REQUEST_SENT: , Identifying contributers for audit trails Step: Send a identifyResponse from each of the two pillars Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@40c81bbd[correlationID=f6730d0b-c97a-4d21-8d68-cf9f3822a655, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@11953685[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: f6730d0b: GET_AUDIT_TRAILS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@3c7b6e6b[correlationID=f6730d0b-c97a-4d21-8d68-cf9f3822a655, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@4b8e51d2[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: f6730d0b: GET_AUDIT_TRAILS: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: f6730d0b: GET_AUDIT_TRAILS: IDENTIFICATION_COMPLETE: Contributors: [Pillar2, Pillar1] Result: Received event: f6730d0b: GET_AUDIT_TRAILS: REQUEST_SENT: ContributorID [Pillar2, Pillar1], Sending request for audit trails Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@7dbeb500[correlationID=f6730d0b-c97a-4d21-8d68-cf9f3822a655, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=incompleteSetOfFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@26ef9cf5[correlationID=f6730d0b-c97a-4d21-8d68-cf9f3822a655, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=incompleteSetOfFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@25e0467a[correlationID=f6730d0b-c97a-4d21-8d68-cf9f3822a655, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=incompleteSetOfFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@27330703[correlationID=f6730d0b-c97a-4d21-8d68-cf9f3822a655, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=incompleteSetOfFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Test success: incompleteSetOfFinalResponsesTest Result: The following messages haven't been handled by the testcase: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@27330703[correlationID=f6730d0b-c97a-4d21-8d68-cf9f3822a655, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=incompleteSetOfFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Test starting: negativeGetAuditTrailsResponseTest Description: Verify that the GetAuditTrail client works correct when receiving a negative GetAuditTrails response from one contributers. Step: Create a AuditTrailClient. Step: Retrieve all audit trails from the collection by calling with a null componentQueries array Stimuli: Calling getAuditTrails(null, null, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@757d95c[correlationID=a4b85cb1-7205-4425-b30e-ecdb88d17ca8, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=negativeGetAuditTrailsResponseTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@36dcb66e[correlationID=a4b85cb1-7205-4425-b30e-ecdb88d17ca8, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=negativeGetAuditTrailsResponseTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received event: a4b85cb1: GET_AUDIT_TRAILS: IDENTIFY_REQUEST_SENT: , Identifying contributers for audit trails Step: Send a identifyResponse from each of the two pillars Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@e4812a0[correlationID=a4b85cb1-7205-4425-b30e-ecdb88d17ca8, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@1dbecdb3[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: a4b85cb1: GET_AUDIT_TRAILS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@71960caa[correlationID=a4b85cb1-7205-4425-b30e-ecdb88d17ca8, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3219a728[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: a4b85cb1: GET_AUDIT_TRAILS: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: a4b85cb1: GET_AUDIT_TRAILS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1, Pillar2] Result: Received event: a4b85cb1: GET_AUDIT_TRAILS: REQUEST_SENT: ContributorID [Pillar2, Pillar1], Sending request for audit trails Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@7f7d4aeb[correlationID=a4b85cb1-7205-4425-b30e-ecdb88d17ca8, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=negativeGetAuditTrailsResponseTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@3f5ced72[correlationID=a4b85cb1-7205-4425-b30e-ecdb88d17ca8, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=negativeGetAuditTrailsResponseTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@333889a6[correlationID=a4b85cb1-7205-4425-b30e-ecdb88d17ca8, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=negativeGetAuditTrailsResponseTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@66036e58[correlationID=a4b85cb1-7205-4425-b30e-ecdb88d17ca8, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=negativeGetAuditTrailsResponseTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Send a failed response from pillar 1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsFinalResponse@75089e03[correlationID=a4b85cb1-7205-4425-b30e-ecdb88d17ca8, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@8be12fc[responseCode=FAILURE, responseText=GetAuditTrails failed], contributor=Pillar1, resultingAuditTrails=org.bitrepository.bitrepositoryelements.ResultingAuditTrails@76d062df[resultAddress=, auditTrailEvents=org.bitrepository.bitrepositoryelements.AuditTrailEvents@6b0b5b69[auditTrailEvent={org.bitrepository.bitrepositoryelements.AuditTrailEvent@369e8166[sequenceNumber=1, fileID=File1, reportingComponent=Pillar1, actorOnFile=Pillar1, actionOnFile=PUT_FILE, actionDateTime=2014-02-25T11:38:54.778+01:00, info=Test audit trail 1, operationID=, certificateID=, auditTrailInformation=Example audit trail information],org.bitrepository.bitrepositoryelements.AuditTrailEvent@60416b8d[sequenceNumber=2, fileID=File1, reportingComponent=Pillar1, actorOnFile=Pillar1, actionOnFile=CHECKSUM_CALCULATED, actionDateTime=2014-02-25T11:38:54.778+01:00, info=Test audit trail 2, operationID=, certificateID=, auditTrailInformation=Example audit trail information]}]], partialResult=] Result: Received event: a4b85cb1: GET_AUDIT_TRAILS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE, GetAuditTrails failed Step: Send a final response from pillar 2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsFinalResponse@fb9614d[correlationID=a4b85cb1-7205-4425-b30e-ecdb88d17ca8, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@53a30e4b[responseCode=OPERATION_COMPLETED, responseText=], contributor=Pillar2, resultingAuditTrails=org.bitrepository.bitrepositoryelements.ResultingAuditTrails@75ff88d2[resultAddress=, auditTrailEvents=org.bitrepository.bitrepositoryelements.AuditTrailEvents@5b6fcf83[auditTrailEvent={org.bitrepository.bitrepositoryelements.AuditTrailEvent@9a0d05b[sequenceNumber=1, fileID=File1, reportingComponent=Pillar2, actorOnFile=Pillar2, actionOnFile=PUT_FILE, actionDateTime=2014-02-25T11:38:54.945+01:00, info=Test audit trail 1, operationID=, certificateID=, auditTrailInformation=Example audit trail information],org.bitrepository.bitrepositoryelements.AuditTrailEvent@1ccf0b4d[sequenceNumber=2, fileID=File1, reportingComponent=Pillar2, actorOnFile=Pillar2, actionOnFile=CHECKSUM_CALCULATED, actionDateTime=2014-02-25T11:38:54.946+01:00, info=Test audit trail 2, operationID=, certificateID=, auditTrailInformation=Example audit trail information]}]], partialResult=] Result: Received event: a4b85cb1: GET_AUDIT_TRAILS: COMPONENT_COMPLETE: ContributorID Pillar2, NumberOfAuditTrailEvents=2, PartialResult=false Result: Received event: a4b85cb1: GET_AUDIT_TRAILS: FAILED: , Failed operation. Cause(s): [a4b85cb1: GET_AUDIT_TRAILS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE, GetAuditTrails failed] Test success: negativeGetAuditTrailsResponseTest Test starting: noFinalResponsesTest Description: Tests the the AuditTrailClient handles lack of Final Responses gracefully Step: Set a 1 second timeout for the operation. Step: Make the client ask for all audit trails. Stimuli: Calling getAuditTrails(null, null, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@4eb768a9[correlationID=96762aac-5e75-4b4f-be92-46af5b3a578b, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=noFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@21eb79af[correlationID=96762aac-5e75-4b4f-be92-46af5b3a578b, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=noFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received event: 96762aac: GET_AUDIT_TRAILS: IDENTIFY_REQUEST_SENT: , Identifying contributers for audit trails Step: Send a identifyResponse from each of the two pillars Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@74ff6842[correlationID=96762aac-5e75-4b4f-be92-46af5b3a578b, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@2c160110[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: 96762aac: GET_AUDIT_TRAILS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@3e56fc95[correlationID=96762aac-5e75-4b4f-be92-46af5b3a578b, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@40e0ba2c[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: 96762aac: GET_AUDIT_TRAILS: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: 96762aac: GET_AUDIT_TRAILS: IDENTIFICATION_COMPLETE: Contributors: [Pillar2, Pillar1] Result: Received event: 96762aac: GET_AUDIT_TRAILS: REQUEST_SENT: ContributorID [Pillar2, Pillar1], Sending request for audit trails Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@10e88aac[correlationID=96762aac-5e75-4b4f-be92-46af5b3a578b, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=noFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@6d7e7fc[correlationID=96762aac-5e75-4b4f-be92-46af5b3a578b, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=noFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@2e38468a[correlationID=96762aac-5e75-4b4f-be92-46af5b3a578b, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=noFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@5f641e47[correlationID=96762aac-5e75-4b4f-be92-46af5b3a578b, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=noFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Wait for 2 seconds Result: Received event: f6730d0b: GET_AUDIT_TRAILS: FAILED: , Failed to receive responses from all contributors before timeout(3000ms). Missing contributors [Pillar2, Pillar1] Result: Received event: 96762aac: GET_AUDIT_TRAILS: FAILED: , Failed to receive responses from all contributors before timeout(1000ms). Missing contributors [Pillar2, Pillar1] Test success: noFinalResponsesTest Result: The following messages haven't been handled by the testcase: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@5f641e47[correlationID=96762aac-5e75-4b4f-be92-46af5b3a578b, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=noFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: The following messages haven't been handled by the testcase: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@2e38468a[correlationID=96762aac-5e75-4b4f-be92-46af5b3a578b, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=noFinalResponsesTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Test starting: progressEventsTest Description: Tests that progress events are handled correctly. Step: Create a AuditTrailClient. Step: Retrieve all audit trails from the collection by calling with a null componentQueries array Stimuli: Calling getAuditTrails(null, null, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@5d9125a3[correlationID=b37eb1c5-9940-446e-9288-c1aef3b6368e, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=progressEventsTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@321ec9ed[correlationID=b37eb1c5-9940-446e-9288-c1aef3b6368e, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=progressEventsTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received event: b37eb1c5: GET_AUDIT_TRAILS: IDENTIFY_REQUEST_SENT: , Identifying contributers for audit trails Step: Send a identifyResponse from each of the two pillars Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@4b7185e8[correlationID=b37eb1c5-9940-446e-9288-c1aef3b6368e, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@a0e690a[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: b37eb1c5: GET_AUDIT_TRAILS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@34d61753[correlationID=b37eb1c5-9940-446e-9288-c1aef3b6368e, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@5395653e[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: b37eb1c5: GET_AUDIT_TRAILS: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: b37eb1c5: GET_AUDIT_TRAILS: IDENTIFICATION_COMPLETE: Contributors: [Pillar2, Pillar1] Result: Received event: b37eb1c5: GET_AUDIT_TRAILS: REQUEST_SENT: ContributorID [Pillar2, Pillar1], Sending request for audit trails Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@33bf290[correlationID=b37eb1c5-9940-446e-9288-c1aef3b6368e, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=progressEventsTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@5405d1f6[correlationID=b37eb1c5-9940-446e-9288-c1aef3b6368e, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=progressEventsTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@50273703[correlationID=b37eb1c5-9940-446e-9288-c1aef3b6368e, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=progressEventsTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@6f6b747e[correlationID=b37eb1c5-9940-446e-9288-c1aef3b6368e, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=progressEventsTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Send a progress accepted response from pillar 1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsProgressResponse@7e9ce042[correlationID=b37eb1c5-9940-446e-9288-c1aef3b6368e, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@6d474dfe[responseCode=OPERATION_ACCEPTED_PROGRESS, responseText=GetAuditTrails request accepted], contributor=, resultAddress=] Result: Received event: b37eb1c5: GET_AUDIT_TRAILS: PROGRESS: ContributorID Pillar1, GetAuditTrails request accepted Step: Send a general progress response from pillar 2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsProgressResponse@378095fb[correlationID=b37eb1c5-9940-446e-9288-c1aef3b6368e, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@5af6ae34[responseCode=OPERATION_PROGRESS, responseText=Still progressing], contributor=, resultAddress=] Result: Received event: b37eb1c5: GET_AUDIT_TRAILS: PROGRESS: ContributorID Pillar2, Still progressing Test success: progressEventsTest Test starting: verifyAuditTrailClientFromFactory Test success: verifyAuditTrailClientFromFactory Test starting: collectionIDIncludedInEventsTest Description: Tests the the client provides collectionID in events. Step: Set a 3 second operation timeout. Step: Start the operation Stimuli: Calling getAuditTrails(null, null, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@7e6256a6[correlationID=39dc01f6-08b1-4a8b-8a52-eb259db8e3a5, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=collectionIDIncludedInEventsTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@7702e91d[correlationID=39dc01f6-08b1-4a8b-8a52-eb259db8e3a5, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=collectionIDIncludedInEventsTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received event: 39dc01f6: GET_AUDIT_TRAILS: IDENTIFY_REQUEST_SENT: , Identifying contributers for audit trails Step: Send positive responses from the pillar1 and a negative response from pillar2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@7073931b[correlationID=39dc01f6-08b1-4a8b-8a52-eb259db8e3a5, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@33bf0b4a[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: 39dc01f6: GET_AUDIT_TRAILS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@111fefdf[correlationID=39dc01f6-08b1-4a8b-8a52-eb259db8e3a5, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@47bd2241[responseCode=IDENTIFICATION_NEGATIVE, responseText=]] Result: Received event: 39dc01f6: GET_AUDIT_TRAILS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: IDENTIFICATION_NEGATIVE Result: Received event: 39dc01f6: GET_AUDIT_TRAILS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 39dc01f6: GET_AUDIT_TRAILS: REQUEST_SENT: ContributorID [Pillar1], Sending request for audit trails Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@67c0496a[correlationID=39dc01f6-08b1-4a8b-8a52-eb259db8e3a5, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=collectionIDIncludedInEventsTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@1fcab2eb[correlationID=39dc01f6-08b1-4a8b-8a52-eb259db8e3a5, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=collectionIDIncludedInEventsTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Wait for 5 seconds Result: Received event: 39dc01f6: GET_AUDIT_TRAILS: FAILED: , Failed to receive responses from all contributors before timeout(3000ms). Missing contributors [Pillar1] Test success: collectionIDIncludedInEventsTest Test starting: conversationTimeoutTest Description: Tests the the client handles lack of IdentifyPillarResponses gracefully Step: Set a 3 second ConversationTimeout. Step: Start the operation Stimuli: Calling getAuditTrails(null, null, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@2d0153ef[correlationID=6152661f-8da9-40c5-833c-8b4b3c5f8222, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=conversationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@352187a8[correlationID=6152661f-8da9-40c5-833c-8b4b3c5f8222, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=conversationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received event: 6152661f: GET_AUDIT_TRAILS: IDENTIFY_REQUEST_SENT: , Identifying contributers for audit trails Result: Received event: 6152661f: GET_AUDIT_TRAILS: FAILED: , Failing timed out conversation 6152661f-8da9-40c5-833c-8b4b3c5f8222 Test success: conversationTimeoutTest Test starting: identificationFailureTest Description: Verify that the client works correctly when a contributor sends a failure response. Step: Start the operation. Stimuli: Calling getAuditTrails(null, null, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@33184d8e[correlationID=9756de74-a38c-4dbf-832c-0247ee6fe5b7, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=identificationFailureTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@57cf796c[correlationID=9756de74-a38c-4dbf-832c-0247ee6fe5b7, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=identificationFailureTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received event: 9756de74: GET_AUDIT_TRAILS: IDENTIFY_REQUEST_SENT: , Identifying contributers for audit trails Step: Send a identification response from contributor1 with a FAILURE response code. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@77a8ad27[correlationID=9756de74-a38c-4dbf-832c-0247ee6fe5b7, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@630018d0[responseCode=FAILURE, responseText=]] Result: Received event: 9756de74: GET_AUDIT_TRAILS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE Step: Send a identification response from contributor2 with a IDENTIFICATION_POSITIVE response code . Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@70dd86a3[correlationID=9756de74-a38c-4dbf-832c-0247ee6fe5b7, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@5fb27138[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: 9756de74: GET_AUDIT_TRAILS: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: 9756de74: GET_AUDIT_TRAILS: IDENTIFICATION_COMPLETE: Contributors: [Pillar2] Result: Received event: 9756de74: GET_AUDIT_TRAILS: REQUEST_SENT: ContributorID [Pillar2], Sending request for audit trails Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@1d735691[correlationID=9756de74-a38c-4dbf-832c-0247ee6fe5b7, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=identificationFailureTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@22cf08dc[correlationID=9756de74-a38c-4dbf-832c-0247ee6fe5b7, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=identificationFailureTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Verify that the client continues to the performing phase. Step: Send a final response message from contributor2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsFinalResponse@b038c21[correlationID=9756de74-a38c-4dbf-832c-0247ee6fe5b7, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@15e4d02d[responseCode=OPERATION_COMPLETED, responseText=], contributor=Pillar2, resultingAuditTrails=, partialResult=] Result: Received event: 9756de74: GET_AUDIT_TRAILS: COMPONENT_COMPLETE: ContributorID Pillar2, PartialResult=false Result: Received event: 9756de74: GET_AUDIT_TRAILS: FAILED: , Failed operation. Cause(s): [9756de74: GET_AUDIT_TRAILS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE] Test success: identificationFailureTest Test starting: identificationNegativeTest Description: Verify that the client works correctly when a contributor sends a negative response. Step: Start the operation. Stimuli: Calling getAuditTrails(null, null, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@836465[correlationID=e5600f97-feb6-40f7-8c13-91cdb4a7b5e8, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=identificationNegativeTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@53323815[correlationID=e5600f97-feb6-40f7-8c13-91cdb4a7b5e8, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=identificationNegativeTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received event: e5600f97: GET_AUDIT_TRAILS: IDENTIFY_REQUEST_SENT: , Identifying contributers for audit trails Step: Send a identification response from contributor1 with a IDENTIFICATION_NEGATIVE response code . Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@6f7b130c[correlationID=e5600f97-feb6-40f7-8c13-91cdb4a7b5e8, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@791fb201[responseCode=IDENTIFICATION_NEGATIVE, responseText=]] Result: Received event: e5600f97: GET_AUDIT_TRAILS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: IDENTIFICATION_NEGATIVE Step: Send a identification response from contributor2 with a IDENTIFICATION_POSITIVE response code . Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@77515c0f[correlationID=e5600f97-feb6-40f7-8c13-91cdb4a7b5e8, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@7e7319fb[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: e5600f97: GET_AUDIT_TRAILS: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: e5600f97: GET_AUDIT_TRAILS: IDENTIFICATION_COMPLETE: Contributors: [Pillar2] Result: Received event: e5600f97: GET_AUDIT_TRAILS: REQUEST_SENT: ContributorID [Pillar2], Sending request for audit trails Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@69c781a8[correlationID=e5600f97-feb6-40f7-8c13-91cdb4a7b5e8, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=identificationNegativeTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@13ec41eb[correlationID=e5600f97-feb6-40f7-8c13-91cdb4a7b5e8, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=identificationNegativeTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Verify that the client continues to the performing phase. Step: Send a final response message from contributor2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsFinalResponse@156a2ca3[correlationID=e5600f97-feb6-40f7-8c13-91cdb4a7b5e8, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@6d988c50[responseCode=OPERATION_COMPLETED, responseText=], contributor=Pillar2, resultingAuditTrails=, partialResult=] Result: Received event: e5600f97: GET_AUDIT_TRAILS: COMPONENT_COMPLETE: ContributorID Pillar2, PartialResult=false Result: Received event: e5600f97: GET_AUDIT_TRAILS: FAILED: , Failed operation. Cause(s): [e5600f97: GET_AUDIT_TRAILS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: IDENTIFICATION_NEGATIVE] Test success: identificationNegativeTest Test starting: noContributorsRespondingTest Description: Tests the the client handles lack of a IdentifyResponse gracefully. More concrete this means that the occurrence of a identification timeout should be handled correctly Step: Set a 1 second timeout for identifying contributors. Step: Start the operation. Stimuli: Calling getAuditTrails(null, null, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@2f4ea129[correlationID=e805a378-e36d-476d-8228-b8c5f2a34738, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=noContributorsRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@4ff60390[correlationID=e805a378-e36d-476d-8228-b8c5f2a34738, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=noContributorsRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received event: e805a378: GET_AUDIT_TRAILS: IDENTIFY_REQUEST_SENT: , Identifying contributers for audit trails Step: Wait for 3 seconds Result: Received event: e805a378: GET_AUDIT_TRAILS: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2, Pillar1] Result: Received event: e805a378: GET_AUDIT_TRAILS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: e805a378: GET_AUDIT_TRAILS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: null, Timeout for identifying contributor Result: Received event: e805a378: GET_AUDIT_TRAILS: FAILED: , Unable to continue operation, contributors unavailable. Test success: noContributorsRespondingTest Result: The following messages haven't been handled by the testcase: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@4ff60390[correlationID=e805a378-e36d-476d-8228-b8c5f2a34738, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=noContributorsRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=] Test starting: oneContributorNotRespondingTest Description: Verify that the client works correct without receiving identification responses from all contributors. Added fixture: Set the a identification timeout to 3 second. Step: Start the operation. Stimuli: Calling getAuditTrails(null, null, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@218ef476[correlationID=12eb5dc8-1e66-45b7-bcfb-95d018a7b39e, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=oneContributorNotRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@19d16782[correlationID=12eb5dc8-1e66-45b7-bcfb-95d018a7b39e, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=oneContributorNotRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received event: 12eb5dc8: GET_AUDIT_TRAILS: IDENTIFY_REQUEST_SENT: , Identifying contributers for audit trails Step: Send a identification response from contributor1. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@69a7484e[correlationID=12eb5dc8-1e66-45b7-bcfb-95d018a7b39e, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3bf67acb[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: 12eb5dc8: GET_AUDIT_TRAILS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Step: Wait 5 seconds. Result: Received event: 12eb5dc8: GET_AUDIT_TRAILS: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2] Result: Received event: 12eb5dc8: GET_AUDIT_TRAILS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: 12eb5dc8: GET_AUDIT_TRAILS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 12eb5dc8: GET_AUDIT_TRAILS: REQUEST_SENT: ContributorID [Pillar1], Sending request for audit trails Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@67913375[correlationID=12eb5dc8-1e66-45b7-bcfb-95d018a7b39e, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=oneContributorNotRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@74648f3f[correlationID=12eb5dc8-1e66-45b7-bcfb-95d018a7b39e, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=oneContributorNotRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Verify that the client continues to the performing phase. Step: Send a final response upload message Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsFinalResponse@19187fef[correlationID=12eb5dc8-1e66-45b7-bcfb-95d018a7b39e, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@177730c8[responseCode=OPERATION_COMPLETED, responseText=], contributor=Pillar1, resultingAuditTrails=, partialResult=] Result: Received event: 12eb5dc8: GET_AUDIT_TRAILS: COMPONENT_COMPLETE: ContributorID Pillar1, PartialResult=false Result: Received event: 12eb5dc8: GET_AUDIT_TRAILS: FAILED: , Failed operation. Cause(s): [12eb5dc8: GET_AUDIT_TRAILS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor] Test success: oneContributorNotRespondingTest Test starting: operationTimeoutTest Description: Tests the the client handles lack of final responses gracefully. Step: Set a 3 second operation timeout. Step: Start the operation Stimuli: Calling getAuditTrails(null, null, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@5359427e[correlationID=d5529325-bf60-4b53-b6fe-15b3767723d0, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=operationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsRequest@4a2667e0[correlationID=d5529325-bf60-4b53-b6fe-15b3767723d0, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=operationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received event: d5529325: GET_AUDIT_TRAILS: IDENTIFY_REQUEST_SENT: , Identifying contributers for audit trails Step: Send positive responses from the pillar1 and a negative response from pillar2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@60b17136[correlationID=d5529325-bf60-4b53-b6fe-15b3767723d0, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@217fc1d2[responseCode=IDENTIFICATION_POSITIVE, responseText=]] Result: Received event: d5529325: GET_AUDIT_TRAILS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetAuditTrailsResponse@68885f09[correlationID=d5529325-bf60-4b53-b6fe-15b3767723d0, collectionID=, destination=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@51177d7c[responseCode=IDENTIFICATION_NEGATIVE, responseText=]] Result: Received event: d5529325: GET_AUDIT_TRAILS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: IDENTIFICATION_NEGATIVE Result: Received event: d5529325: GET_AUDIT_TRAILS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: d5529325: GET_AUDIT_TRAILS: REQUEST_SENT: ContributorID [Pillar1], Sending request for audit trails Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@4745c8d2[correlationID=d5529325-bf60-4b53-b6fe-15b3767723d0, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=operationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetAuditTrailsRequest@7391dee6[correlationID=d5529325-bf60-4b53-b6fe-15b3767723d0, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-AuditTrailClientUnderTest-cibuild01, from=operationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1, fileID=, minSequenceNumber=, maxSequenceNumber=, minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Wait for 5 seconds Result: Received event: d5529325: GET_AUDIT_TRAILS: FAILED: , Failed to receive responses from all contributors before timeout(3000ms). Missing contributors [Pillar1] Test success: operationTimeoutTest Starting testcase AuditTrailQueryTest Test starting: testBothSequenceNumberFailure Description: Test the creation of a AuditTrailQuery with both SequenceNumber, where max is smalle than min. Test success: testBothSequenceNumberFailure Test starting: testBothSequenceNumberSuccess Description: Test the creation of a AuditTrailQuery with both SequenceNumber, where max is larger than min. Test success: testBothSequenceNumberSuccess Test starting: testNoSequenceNumbers Description: Test that a AuditTrailQuery can be created without any sequence numbers. Test success: testNoSequenceNumbers Test starting: testOnlyMinSequenceNumber Description: Test the creation of a AuditTrailQuery with only the minSequenceNumber Test success: testOnlyMinSequenceNumber Starting testcase GetChecksumsClientComponentTest Test starting: collectionIDIncludedInEventsTest Description: Tests the the client provides collectionID in events. Step: Set a 3 second operation timeout. Step: Start the operation Stimuli: Calling getChecksums(null, null, null, null, org.bitrepository.client.TestEventHandler@16e3559d, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@48ea7a0[correlationID=ae7b8193-f672-4e36-a373-7b02cc1e5942, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=collectionIDIncludedInEventsTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@319efbb6[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@58bcd401[correlationID=ae7b8193-f672-4e36-a373-7b02cc1e5942, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=collectionIDIncludedInEventsTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@5502bb2a[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received event: ae7b8193: GET_CHECKSUMS: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetChecksums Step: Send positive responses from the pillar1 and a negative response from pillar2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@464455a5[correlationID=ae7b8193-f672-4e36-a373-7b02cc1e5942, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3052e7ad[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@5502bb2a[fileID=, allFileIDs=true], checksumRequestForExistingFile=, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: ae7b8193: GET_CHECKSUMS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@108177[correlationID=ae7b8193-f672-4e36-a373-7b02cc1e5942, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3ba3aba9[responseCode=IDENTIFICATION_NEGATIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@5502bb2a[fileID=, allFileIDs=true], checksumRequestForExistingFile=, pillarID=Pillar2, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: ae7b8193: GET_CHECKSUMS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: IDENTIFICATION_NEGATIVE Result: Received event: ae7b8193: GET_CHECKSUMS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: ae7b8193: GET_CHECKSUMS: REQUEST_SENT: ContributorID [Pillar1], Sending GetFileIDsRequest's Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsRequest@45278ab0[correlationID=ae7b8193-f672-4e36-a373-7b02cc1e5942, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=collectionIDIncludedInEventsTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@27024c48[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetChecksumsRequest@e3933f5[correlationID=ae7b8193-f672-4e36-a373-7b02cc1e5942, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=collectionIDIncludedInEventsTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@4d82211e[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=] Step: Wait for 5 seconds Result: Received event: ae7b8193: GET_CHECKSUMS: FAILED: , Failed to receive responses from all contributors before timeout(3000ms). Missing contributors [Pillar1] Test success: collectionIDIncludedInEventsTest Test starting: conversationTimeoutTest Description: Tests the the client handles lack of IdentifyPillarResponses gracefully Step: Set a 3 second ConversationTimeout. Step: Start the operation Stimuli: Calling getChecksums(null, null, null, null, org.bitrepository.client.TestEventHandler@16e3559d, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@44e2c53a[correlationID=7dac817a-2f87-4e09-b26a-be17821e88ca, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=conversationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@402862b[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@21f215a7[correlationID=7dac817a-2f87-4e09-b26a-be17821e88ca, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=conversationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@1c6b985a[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received event: 7dac817a: GET_CHECKSUMS: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetChecksums Result: Received event: 7dac817a: GET_CHECKSUMS: FAILED: , Failing timed out conversation 7dac817a-2f87-4e09-b26a-be17821e88ca Test success: conversationTimeoutTest Test starting: identificationFailureTest Description: Verify that the client works correctly when a contributor sends a failure response. Step: Start the operation. Stimuli: Calling getChecksums(null, null, null, null, org.bitrepository.client.TestEventHandler@16e3559d, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@190d601e[correlationID=5c90f4c1-4e24-45e0-8823-79bc251af8e7, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=identificationFailureTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3d215e6b[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@55cbe5d2[correlationID=5c90f4c1-4e24-45e0-8823-79bc251af8e7, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=identificationFailureTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3d5d69ff[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received event: 5c90f4c1: GET_CHECKSUMS: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetChecksums Step: Send a identification response from contributor1 with a FAILURE response code. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@230f0be[correlationID=5c90f4c1-4e24-45e0-8823-79bc251af8e7, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@5b0d4b11[responseCode=FAILURE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3d5d69ff[fileID=, allFileIDs=true], checksumRequestForExistingFile=, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 5c90f4c1: GET_CHECKSUMS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE Step: Send a identification response from contributor2 with a IDENTIFICATION_POSITIVE response code . Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@77dc0f26[correlationID=5c90f4c1-4e24-45e0-8823-79bc251af8e7, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@1066c544[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3d5d69ff[fileID=, allFileIDs=true], checksumRequestForExistingFile=, pillarID=Pillar2, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 5c90f4c1: GET_CHECKSUMS: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: 5c90f4c1: GET_CHECKSUMS: IDENTIFICATION_COMPLETE: Contributors: [Pillar2] Result: Received event: 5c90f4c1: GET_CHECKSUMS: REQUEST_SENT: ContributorID [Pillar2], Sending GetFileIDsRequest's Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsRequest@3c2d6104[correlationID=5c90f4c1-4e24-45e0-8823-79bc251af8e7, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=identificationFailureTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@473c6c79[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetChecksumsRequest@64814d58[correlationID=5c90f4c1-4e24-45e0-8823-79bc251af8e7, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=identificationFailureTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@64fcfff4[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=] Step: Verify that the client continues to the performing phase. Step: Send a final response message from contributor2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsFinalResponse@276ae22f[correlationID=5c90f4c1-4e24-45e0-8823-79bc251af8e7, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@5a278fe0[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar2, checksumRequestForExistingFile=, resultingChecksums=, partialResult=] Result: Received event: 5c90f4c1: GET_CHECKSUMS: COMPONENT_COMPLETE: ContributorID Pillar2, PartialResult=false Result: Received event: 5c90f4c1: GET_CHECKSUMS: FAILED: , Failed operation. Cause(s): [5c90f4c1: GET_CHECKSUMS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE] Test success: identificationFailureTest Test starting: identificationNegativeTest Description: Verify that the client works correctly when a contributor sends a negative response. Step: Start the operation. Stimuli: Calling getChecksums(null, null, null, null, org.bitrepository.client.TestEventHandler@16e3559d, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@61808ee3[correlationID=29743d7b-cd78-4d80-bb85-416c56152f6a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=identificationNegativeTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3f250b17[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@aa8572a[correlationID=29743d7b-cd78-4d80-bb85-416c56152f6a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=identificationNegativeTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@31f28bdd[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received event: 29743d7b: GET_CHECKSUMS: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetChecksums Step: Send a identification response from contributor1 with a IDENTIFICATION_NEGATIVE response code . Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@3a55a70a[correlationID=29743d7b-cd78-4d80-bb85-416c56152f6a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@4d499f71[responseCode=IDENTIFICATION_NEGATIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@31f28bdd[fileID=, allFileIDs=true], checksumRequestForExistingFile=, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 29743d7b: GET_CHECKSUMS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: IDENTIFICATION_NEGATIVE Step: Send a identification response from contributor2 with a IDENTIFICATION_POSITIVE response code . Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@3a6c4596[correlationID=29743d7b-cd78-4d80-bb85-416c56152f6a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@1a4c98d1[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@31f28bdd[fileID=, allFileIDs=true], checksumRequestForExistingFile=, pillarID=Pillar2, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 29743d7b: GET_CHECKSUMS: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: 29743d7b: GET_CHECKSUMS: IDENTIFICATION_COMPLETE: Contributors: [Pillar2] Result: Received event: 29743d7b: GET_CHECKSUMS: REQUEST_SENT: ContributorID [Pillar2], Sending GetFileIDsRequest's Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsRequest@7548a99a[correlationID=29743d7b-cd78-4d80-bb85-416c56152f6a, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=identificationNegativeTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@7576f99d[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetChecksumsRequest@4744fd29[correlationID=29743d7b-cd78-4d80-bb85-416c56152f6a, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=identificationNegativeTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@248b34d[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=] Step: Verify that the client continues to the performing phase. Step: Send a final response message from contributor2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsFinalResponse@55dc85c4[correlationID=29743d7b-cd78-4d80-bb85-416c56152f6a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@d232e6[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar2, checksumRequestForExistingFile=, resultingChecksums=, partialResult=] Result: Received event: 29743d7b: GET_CHECKSUMS: COMPONENT_COMPLETE: ContributorID Pillar2, PartialResult=false Result: Received event: 29743d7b: GET_CHECKSUMS: FAILED: , Failed operation. Cause(s): [29743d7b: GET_CHECKSUMS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: IDENTIFICATION_NEGATIVE] Test success: identificationNegativeTest Test starting: noContributorsRespondingTest Description: Tests the the client handles lack of a IdentifyResponse gracefully. More concrete this means that the occurrence of a identification timeout should be handled correctly Step: Set a 1 second timeout for identifying contributors. Step: Start the operation. Stimuli: Calling getChecksums(null, null, null, null, org.bitrepository.client.TestEventHandler@16e3559d, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@dc1b918[correlationID=74b37f3a-2c8b-4aab-b54b-41e95d28ffec, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=noContributorsRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@295eddb6[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@370e99[correlationID=74b37f3a-2c8b-4aab-b54b-41e95d28ffec, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=noContributorsRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@1e9f5eeb[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received event: 74b37f3a: GET_CHECKSUMS: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetChecksums Step: Wait for 3 seconds Result: Received event: 74b37f3a: GET_CHECKSUMS: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2, Pillar1] Result: Received event: 74b37f3a: GET_CHECKSUMS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: 74b37f3a: GET_CHECKSUMS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: null, Timeout for identifying contributor Result: Received event: 74b37f3a: GET_CHECKSUMS: FAILED: , Unable to continue operation, contributors unavailable. Test success: noContributorsRespondingTest Result: The following messages haven't been handled by the testcase: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@370e99[correlationID=74b37f3a-2c8b-4aab-b54b-41e95d28ffec, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=noContributorsRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@1e9f5eeb[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Test starting: oneContributorNotRespondingTest Description: Verify that the client works correct without receiving identification responses from all contributors. Added fixture: Set the a identification timeout to 3 second. Step: Start the operation. Stimuli: Calling getChecksums(null, null, null, null, org.bitrepository.client.TestEventHandler@16e3559d, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@773a5ae8[correlationID=fb1bcefe-3937-4bda-b5bb-15f750b28beb, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=oneContributorNotRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@1826727f[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@763d9034[correlationID=fb1bcefe-3937-4bda-b5bb-15f750b28beb, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=oneContributorNotRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@43c68291[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received event: fb1bcefe: GET_CHECKSUMS: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetChecksums Step: Send a identification response from contributor1. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@59603eb[correlationID=fb1bcefe-3937-4bda-b5bb-15f750b28beb, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3bdb3c2a[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@43c68291[fileID=, allFileIDs=true], checksumRequestForExistingFile=, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: fb1bcefe: GET_CHECKSUMS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Step: Wait 5 seconds. Result: Received event: fb1bcefe: GET_CHECKSUMS: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2] Result: Received event: fb1bcefe: GET_CHECKSUMS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: fb1bcefe: GET_CHECKSUMS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: fb1bcefe: GET_CHECKSUMS: REQUEST_SENT: ContributorID [Pillar1], Sending GetFileIDsRequest's Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsRequest@832f7cb[correlationID=fb1bcefe-3937-4bda-b5bb-15f750b28beb, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=oneContributorNotRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@4a2a34a1[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetChecksumsRequest@608062c7[correlationID=fb1bcefe-3937-4bda-b5bb-15f750b28beb, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=oneContributorNotRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@cd52850[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=] Step: Verify that the client continues to the performing phase. Step: Send a final response upload message Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsFinalResponse@145d32a2[correlationID=fb1bcefe-3937-4bda-b5bb-15f750b28beb, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@72a7341f[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar1, checksumRequestForExistingFile=, resultingChecksums=, partialResult=] Result: Received event: fb1bcefe: GET_CHECKSUMS: COMPONENT_COMPLETE: ContributorID Pillar1, PartialResult=false Result: Received event: fb1bcefe: GET_CHECKSUMS: FAILED: , Failed operation. Cause(s): [fb1bcefe: GET_CHECKSUMS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor] Test success: oneContributorNotRespondingTest Test starting: operationTimeoutTest Description: Tests the the client handles lack of final responses gracefully. Step: Set a 3 second operation timeout. Step: Start the operation Stimuli: Calling getChecksums(null, null, null, null, org.bitrepository.client.TestEventHandler@16e3559d, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@180b686e[correlationID=b9141f62-bfc1-488f-9a53-9de1978541f2, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=operationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@14f51a17[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@4298b7b7[correlationID=b9141f62-bfc1-488f-9a53-9de1978541f2, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=operationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@38457189[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received event: b9141f62: GET_CHECKSUMS: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetChecksums Step: Send positive responses from the pillar1 and a negative response from pillar2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@3505c82d[correlationID=b9141f62-bfc1-488f-9a53-9de1978541f2, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@e991d8d[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@38457189[fileID=, allFileIDs=true], checksumRequestForExistingFile=, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: b9141f62: GET_CHECKSUMS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@5711cd2c[correlationID=b9141f62-bfc1-488f-9a53-9de1978541f2, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@51b5305c[responseCode=IDENTIFICATION_NEGATIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@38457189[fileID=, allFileIDs=true], checksumRequestForExistingFile=, pillarID=Pillar2, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: b9141f62: GET_CHECKSUMS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: IDENTIFICATION_NEGATIVE Result: Received event: b9141f62: GET_CHECKSUMS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: b9141f62: GET_CHECKSUMS: REQUEST_SENT: ContributorID [Pillar1], Sending GetFileIDsRequest's Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsRequest@75537eda[correlationID=b9141f62-bfc1-488f-9a53-9de1978541f2, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=operationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3cad5663[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetChecksumsRequest@6efeba16[correlationID=b9141f62-bfc1-488f-9a53-9de1978541f2, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=operationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@156b3348[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=] Step: Wait for 5 seconds Result: Received event: b9141f62: GET_CHECKSUMS: FAILED: , Failed to receive responses from all contributors before timeout(3000ms). Missing contributors [Pillar1] Test success: operationTimeoutTest Test starting: getChecksumsDeliveredAtUrl Description: Tests the delivery of checksums from all pillars at a given URL. Step: Ensure the delivery file isn't already present on the http server Step: Request the delivery of the checksum of a file from all pillars. Stimuli: Calling getChecksums(null, default-test-file.txt, null, http://sandkasse-01.kb.dk:80/dav/TEST-CHECKSUM-DELIVERY.xml, org.bitrepository.client.TestEventHandler@1b7e8eff, TEST-AUDIT) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@11de1573[correlationID=b42fb773-0176-4c5d-b2df-8d9305b1ccc9, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsDeliveredAtUrl, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@b523a2f[fileID=default-test-file.txt, allFileIDs=], checksumRequestForExistingFile=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@1371e566[correlationID=b42fb773-0176-4c5d-b2df-8d9305b1ccc9, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsDeliveredAtUrl, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@1a8b9583[fileID=default-test-file.txt, allFileIDs=], checksumRequestForExistingFile=] Result: Received event: b42fb773: GET_CHECKSUMS for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetChecksums Step: The pillar sends a response to the identify message. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@4c474e9a[correlationID=b42fb773-0176-4c5d-b2df-8d9305b1ccc9, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@5d798795[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@1a8b9583[fileID=default-test-file.txt, allFileIDs=], checksumRequestForExistingFile=, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: b42fb773: GET_CHECKSUMS for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@71eea6ae[correlationID=b42fb773-0176-4c5d-b2df-8d9305b1ccc9, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@6b0123f1[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@1a8b9583[fileID=default-test-file.txt, allFileIDs=], checksumRequestForExistingFile=, pillarID=Pillar2, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: b42fb773: GET_CHECKSUMS for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: b42fb773: GET_CHECKSUMS for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar2, Pillar1] Result: Received event: b42fb773: GET_CHECKSUMS for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar2, Pillar1], Sending GetFileIDsRequest's Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsRequest@698d6aab[correlationID=b42fb773-0176-4c5d-b2df-8d9305b1ccc9, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsDeliveredAtUrl, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@435636b0[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=http://sandkasse-01.kb.dk:80/dav/TEST-CHECKSUM-DELIVERY.xml-Pillar1] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsRequest@7693376d[correlationID=b42fb773-0176-4c5d-b2df-8d9305b1ccc9, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsDeliveredAtUrl, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3b1c11ec[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=http://sandkasse-01.kb.dk:80/dav/TEST-CHECKSUM-DELIVERY.xml-Pillar2] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetChecksumsRequest@314d1fa3[correlationID=b42fb773-0176-4c5d-b2df-8d9305b1ccc9, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsDeliveredAtUrl, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3e581f9e[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=http://sandkasse-01.kb.dk:80/dav/TEST-CHECKSUM-DELIVERY.xml-Pillar1] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetChecksumsRequest@2165038d[correlationID=b42fb773-0176-4c5d-b2df-8d9305b1ccc9, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsDeliveredAtUrl, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@6ecc2f1b[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=http://sandkasse-01.kb.dk:80/dav/TEST-CHECKSUM-DELIVERY.xml-Pillar2] Step: Sends a final response from each pillar Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsFinalResponse@30096cb2[correlationID=b42fb773-0176-4c5d-b2df-8d9305b1ccc9, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3abf32c1[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar1, checksumRequestForExistingFile=, resultingChecksums=org.bitrepository.bitrepositoryelements.ResultingChecksums@5e9d3b08[resultAddress=http://sandkasse-01.kb.dk:80/dav/TEST-CHECKSUM-DELIVERY.xml-Pillar1, checksumDataItems=], partialResult=] Result: Received event: b42fb773: GET_CHECKSUMS for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1, NumberOfChecksums=0, PartialResult=false Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsFinalResponse@462d2297[correlationID=b42fb773-0176-4c5d-b2df-8d9305b1ccc9, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3d3a0b7f[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar2, checksumRequestForExistingFile=, resultingChecksums=org.bitrepository.bitrepositoryelements.ResultingChecksums@5e9d3b08[resultAddress=http://sandkasse-01.kb.dk:80/dav/TEST-CHECKSUM-DELIVERY.xml-Pillar1, checksumDataItems=], partialResult=] Result: Received event: b42fb773: GET_CHECKSUMS for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar2, NumberOfChecksums=0, PartialResult=false Result: Received event: b42fb773: GET_CHECKSUMS for file default-test-file.txt: COMPLETE: Test success: getChecksumsDeliveredAtUrl Result: The following messages haven't been handled by the testcase: org.bitrepository.bitrepositorymessages.GetChecksumsRequest@2165038d[correlationID=b42fb773-0176-4c5d-b2df-8d9305b1ccc9, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsDeliveredAtUrl, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@6ecc2f1b[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=http://sandkasse-01.kb.dk:80/dav/TEST-CHECKSUM-DELIVERY.xml-Pillar2] Test starting: getChecksumsFromOtherCollection Description: Tests the getChecksums client will correctly try to get from a second collection if required Added fixture: Configure collection1 to contain both pillars and collection 2 to only contain pillar2 Step: Request the putting of a file through the PutClient for collection2 Stimuli: Calling getChecksums(null, null, null, null, org.bitrepository.client.TestEventHandler@71066a17, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@92b0daf[correlationID=beed4faa-5821-4e8d-8f65-0077c3ab8c9b, collectionID=SinglePillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsFromOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@698f60dc[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@6a2a6e8f[correlationID=beed4faa-5821-4e8d-8f65-0077c3ab8c9b, collectionID=SinglePillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsFromOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@7c0a4bd[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received event: beed4faa: GET_CHECKSUMS: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetChecksums Step: Send an identification response from pillar2. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@78b0f629[correlationID=beed4faa-5821-4e8d-8f65-0077c3ab8c9b, collectionID=SinglePillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@29f13ba6[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@7c0a4bd[fileID=, allFileIDs=true], checksumRequestForExistingFile=, pillarID=Pillar2, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: beed4faa: GET_CHECKSUMS: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: beed4faa: GET_CHECKSUMS: IDENTIFICATION_COMPLETE: Contributors: [Pillar2] Result: Received event: beed4faa: GET_CHECKSUMS: REQUEST_SENT: ContributorID [Pillar2], Sending GetFileIDsRequest's Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsRequest@3f1ea2e9[correlationID=beed4faa-5821-4e8d-8f65-0077c3ab8c9b, collectionID=SinglePillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsFromOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@74598f5e[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetChecksumsRequest@69b27b17[correlationID=beed4faa-5821-4e8d-8f65-0077c3ab8c9b, collectionID=SinglePillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsFromOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@44af5937[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=] Step: Send a complete event from the pillar Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsFinalResponse@704c52b7[correlationID=beed4faa-5821-4e8d-8f65-0077c3ab8c9b, collectionID=SinglePillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@22caa5fa[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar2, checksumRequestForExistingFile=, resultingChecksums=, partialResult=] Result: Received event: beed4faa: GET_CHECKSUMS: COMPONENT_COMPLETE: ContributorID Pillar2, PartialResult=false Result: Received event: beed4faa: GET_CHECKSUMS: COMPLETE: Test success: getChecksumsFromOtherCollection Test starting: getChecksumsFromSinglePillar Description: Tests that the client can retrieve checksums from a single pillar. Step: Request the delivery of the checksum of a file from pillar1. Stimuli: Calling getChecksums([ContributorQuery{componentID='Pillar1, minTimestamp=null, maxTimestamp=null, maxNumberOfResults=null}], default-test-file.txt, org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@cf24c1a[checksumType=MD5, checksumSalt=, otherChecksumType=], null, org.bitrepository.client.TestEventHandler@77624599, TEST-AUDIT) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@74e24701[correlationID=6d96f725-7f53-49e0-a9bb-47f65b5508b6, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsFromSinglePillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@33a3ce9a[fileID=default-test-file.txt, allFileIDs=], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@cf24c1a[checksumType=MD5, checksumSalt=, otherChecksumType=]] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@2ffec96[correlationID=6d96f725-7f53-49e0-a9bb-47f65b5508b6, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsFromSinglePillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@70056d63[fileID=default-test-file.txt, allFileIDs=], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@7450b809[checksumType=MD5, checksumSalt=, otherChecksumType=]] Result: Received event: 6d96f725: GET_CHECKSUMS for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetChecksums Step: Sends a response from pillar2. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@40820dfd[correlationID=6d96f725-7f53-49e0-a9bb-47f65b5508b6, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@1a647e21[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@70056d63[fileID=default-test-file.txt, allFileIDs=], checksumRequestForExistingFile=, pillarID=Pillar2, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Step: Sends a response from pillar1. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@5e4494ef[correlationID=6d96f725-7f53-49e0-a9bb-47f65b5508b6, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@688e0742[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@70056d63[fileID=default-test-file.txt, allFileIDs=], checksumRequestForExistingFile=, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 6d96f725: GET_CHECKSUMS for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 6d96f725: GET_CHECKSUMS for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 6d96f725: GET_CHECKSUMS for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending GetFileIDsRequest's Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsRequest@ae95cee[correlationID=6d96f725-7f53-49e0-a9bb-47f65b5508b6, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsFromSinglePillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@5ed412da[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@cf24c1a[checksumType=MD5, checksumSalt=, otherChecksumType=], resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetChecksumsRequest@422475fc[correlationID=6d96f725-7f53-49e0-a9bb-47f65b5508b6, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=getChecksumsFromSinglePillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@67be1550[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@2c8aa43c[checksumType=MD5, checksumSalt=, otherChecksumType=], resultAddress=] Step: Send a GetChecksumsFinalResponse to the client from pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsFinalResponse@194b948b[correlationID=6d96f725-7f53-49e0-a9bb-47f65b5508b6, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@31053ea6[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar1, checksumRequestForExistingFile=, resultingChecksums=org.bitrepository.bitrepositoryelements.ResultingChecksums@4f541d6e[resultAddress=, checksumDataItems=], partialResult=] Result: Received event: 6d96f725: GET_CHECKSUMS for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1, NumberOfChecksums=0, PartialResult=false Result: Received event: 6d96f725: GET_CHECKSUMS for file default-test-file.txt: COMPLETE: Test success: getChecksumsFromSinglePillar Test starting: testNoSuchFile Description: Testing how a request for a non-existing file is handled. Step: Setting up variables and such. Step: Request the delivery of the checksum of a file from the pillar(s). A callback listener should be supplied. Stimuli: Calling getChecksums(null, default-test-file.txt, null, null, org.bitrepository.client.TestEventHandler@43fd22cb, TEST-AUDIT) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@29d32df9[correlationID=aea3f544-34bd-4e6a-8555-6104c30f3a6c, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=testNoSuchFile, to=Pillar1, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@676f4be2[fileID=default-test-file.txt, allFileIDs=], checksumRequestForExistingFile=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@1000e0cb[correlationID=aea3f544-34bd-4e6a-8555-6104c30f3a6c, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=testNoSuchFile, to=Pillar1, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@29a637a2[fileID=default-test-file.txt, allFileIDs=], checksumRequestForExistingFile=] Result: Received event: aea3f544: GET_CHECKSUMS for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetChecksums Step: The pillar sends a response to the identify message. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@4fb8f89[correlationID=aea3f544-34bd-4e6a-8555-6104c30f3a6c, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@1f8c6ded[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@29a637a2[fileID=default-test-file.txt, allFileIDs=], checksumRequestForExistingFile=, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: aea3f544: GET_CHECKSUMS for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: aea3f544: GET_CHECKSUMS for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: aea3f544: GET_CHECKSUMS for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending GetFileIDsRequest's Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsRequest@1865122[correlationID=aea3f544-34bd-4e6a-8555-6104c30f3a6c, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=testNoSuchFile, to=Pillar1, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@19388ff6[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetChecksumsRequest@741b6750[correlationID=aea3f544-34bd-4e6a-8555-6104c30f3a6c, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=testNoSuchFile, to=Pillar1, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@331bf0bd[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, checksumRequestForExistingFile=, resultAddress=] Step: Send a error that the file cannot be found. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsFinalResponse@68f7c44[correlationID=aea3f544-34bd-4e6a-8555-6104c30f3a6c, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@362757b9[responseCode=FILE_NOT_FOUND_FAILURE, responseText=No such file.], pillarID=Pillar1, checksumRequestForExistingFile=, resultingChecksums=, partialResult=] Result: Received event: aea3f544: GET_CHECKSUMS for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FILE_NOT_FOUND_FAILURE, No such file. Result: Received event: aea3f544: GET_CHECKSUMS for file default-test-file.txt: FAILED: , Failed operation. Cause(s): [aea3f544: GET_CHECKSUMS for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FILE_NOT_FOUND_FAILURE, No such file.] Test success: testNoSuchFile Test starting: testPaging Description: Tests the GetChecksums client correctly handles functionality for limiting results, either by timestamp or result count. Step: Request checksums from with MinTimestamp, MaxTimestamp, MaxNumberOfResults set for both pillars . Stimuli: Calling getChecksums([ContributorQuery{componentID='Pillar1, minTimestamp=Tue Feb 25 11:39:41 CET 2014, maxTimestamp=Tue Feb 25 11:39:42 CET 2014, maxNumberOfResults=1}, ContributorQuery{componentID='Pillar2, minTimestamp=Tue Feb 25 11:39:42 CET 2014, maxTimestamp=Tue Feb 25 11:39:42 CET 2014, maxNumberOfResults=2}], null, null, null, org.bitrepository.client.TestEventHandler@16e3559d, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@6eb1010f[correlationID=bd0ca39f-da54-4756-a39f-271396615be6, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=testPaging, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@26bcb88f[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsRequest@6425dca7[correlationID=bd0ca39f-da54-4756-a39f-271396615be6, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=testPaging, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@71b98b4e[fileID=, allFileIDs=true], checksumRequestForExistingFile=] Result: Received event: bd0ca39f: GET_CHECKSUMS: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetChecksums Step: Send a IdentifyPillarsForGetChecksumsResponse from both pillars. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@7b65586a[correlationID=bd0ca39f-da54-4756-a39f-271396615be6, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3a8fd670[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@71b98b4e[fileID=, allFileIDs=true], checksumRequestForExistingFile=, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: bd0ca39f: GET_CHECKSUMS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetChecksumsResponse@1b78ee01[correlationID=bd0ca39f-da54-4756-a39f-271396615be6, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@205191be[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@71b98b4e[fileID=, allFileIDs=true], checksumRequestForExistingFile=, pillarID=Pillar2, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: bd0ca39f: GET_CHECKSUMS: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: bd0ca39f: GET_CHECKSUMS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1, Pillar2] Result: Received event: bd0ca39f: GET_CHECKSUMS: REQUEST_SENT: ContributorID [Pillar2, Pillar1], Sending GetFileIDsRequest's Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsRequest@45d1126d[correlationID=bd0ca39f-da54-4756-a39f-271396615be6, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=testPaging, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@2110d5ea[fileID=, allFileIDs=true], minTimestamp=2014-02-25T11:39:41.629+01:00, maxTimestamp=2014-02-25T11:39:42.529+01:00, maxNumberOfResults=1, checksumRequestForExistingFile=, resultAddress=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetChecksumsRequest@5d852771[correlationID=bd0ca39f-da54-4756-a39f-271396615be6, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=testPaging, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@50e09bae[fileID=, allFileIDs=true], minTimestamp=2014-02-25T11:39:42.529+01:00, maxTimestamp=2014-02-25T11:39:42.629+01:00, maxNumberOfResults=2, checksumRequestForExistingFile=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetChecksumsRequest@58a1a612[correlationID=bd0ca39f-da54-4756-a39f-271396615be6, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=testPaging, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@5c9e1533[fileID=, allFileIDs=true], minTimestamp=2014-02-25T11:39:41.629+01:00, maxTimestamp=2014-02-25T11:39:42.529+01:00, maxNumberOfResults=1, checksumRequestForExistingFile=, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetChecksumsRequest@2f45de16[correlationID=bd0ca39f-da54-4756-a39f-271396615be6, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetChecksumsClientComponentTest-cibuild01, from=testPaging, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@13f78e99[fileID=, allFileIDs=true], minTimestamp=2014-02-25T11:39:42.529+01:00, maxTimestamp=2014-02-25T11:39:42.629+01:00, maxNumberOfResults=2, checksumRequestForExistingFile=, resultAddress=] Test success: testPaging Test starting: verifyGetChecksumsClientFromFactory Test success: verifyGetChecksumsClientFromFactory Starting testcase GetFileIDsClientComponentTest Test starting: collectionIDIncludedInEventsTest Description: Tests the the client provides collectionID in events. Step: Set a 3 second operation timeout. Step: Start the operation Stimuli: Calling getFileIDs(null, null, null, org.bitrepository.client.TestEventHandler@559a0dbc) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@5e4cced0[correlationID=901cca00-f212-4382-b654-3e0bc06ad243, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=collectionIDIncludedInEventsTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@49dea0e[fileID=, allFileIDs=true]] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@658e75cc[correlationID=901cca00-f212-4382-b654-3e0bc06ad243, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=collectionIDIncludedInEventsTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@6bd7d82a[fileID=, allFileIDs=true]] Result: Received event: 901cca00: GET_FILE_IDS: IDENTIFY_REQUEST_SENT: , Identifying contributers for get fileIDs Step: Send positive responses from the pillar1 and a negative response from pillar2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@4e777d15[correlationID=901cca00-f212-4382-b654-3e0bc06ad243, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@6b515f2[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@6bd7d82a[fileID=, allFileIDs=true], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 901cca00: GET_FILE_IDS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@73e7e045[correlationID=901cca00-f212-4382-b654-3e0bc06ad243, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@7c350d75[responseCode=IDENTIFICATION_NEGATIVE, responseText=], pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@6bd7d82a[fileID=, allFileIDs=true], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 901cca00: GET_FILE_IDS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: IDENTIFICATION_NEGATIVE Result: Received event: 901cca00: GET_FILE_IDS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 901cca00: GET_FILE_IDS: REQUEST_SENT: ContributorID [Pillar1], Sending request for get fileIDs Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsRequest@2195fec3[correlationID=901cca00-f212-4382-b654-3e0bc06ad243, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=collectionIDIncludedInEventsTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@7e88c56e[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileIDsRequest@1c3684b9[correlationID=901cca00-f212-4382-b654-3e0bc06ad243, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=collectionIDIncludedInEventsTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3f439c27[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Wait for 5 seconds Result: Received event: 901cca00: GET_FILE_IDS: FAILED: , Failed to receive responses from all contributors before timeout(3000ms). Missing contributors [Pillar1] Test success: collectionIDIncludedInEventsTest Test starting: conversationTimeoutTest Description: Tests the the client handles lack of IdentifyPillarResponses gracefully Step: Set a 3 second ConversationTimeout. Step: Start the operation Stimuli: Calling getFileIDs(null, null, null, org.bitrepository.client.TestEventHandler@559a0dbc) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@63cc0e4a[correlationID=24b03301-011f-45f4-8571-d5f8fc3a4f2f, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=conversationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@69be4f75[fileID=, allFileIDs=true]] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@5a9e4353[correlationID=24b03301-011f-45f4-8571-d5f8fc3a4f2f, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=conversationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@4c562c9f[fileID=, allFileIDs=true]] Result: Received event: 24b03301: GET_FILE_IDS: IDENTIFY_REQUEST_SENT: , Identifying contributers for get fileIDs Result: Received event: 24b03301: GET_FILE_IDS: FAILED: , Failing timed out conversation 24b03301-011f-45f4-8571-d5f8fc3a4f2f Test success: conversationTimeoutTest Test starting: identificationFailureTest Description: Verify that the client works correctly when a contributor sends a failure response. Step: Start the operation. Stimuli: Calling getFileIDs(null, null, null, org.bitrepository.client.TestEventHandler@559a0dbc) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@5ee2e76a[correlationID=6abdcebf-3115-4591-8796-3b9c9945e200, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=identificationFailureTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@2c710d1[fileID=, allFileIDs=true]] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@1acfa65f[correlationID=6abdcebf-3115-4591-8796-3b9c9945e200, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=identificationFailureTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@36b3b4b9[fileID=, allFileIDs=true]] Result: Received event: 6abdcebf: GET_FILE_IDS: IDENTIFY_REQUEST_SENT: , Identifying contributers for get fileIDs Step: Send a identification response from contributor1 with a FAILURE response code. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@5ff71062[correlationID=6abdcebf-3115-4591-8796-3b9c9945e200, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@5554c326[responseCode=FAILURE, responseText=], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@36b3b4b9[fileID=, allFileIDs=true], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 6abdcebf: GET_FILE_IDS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE Step: Send a identification response from contributor2 with a IDENTIFICATION_POSITIVE response code . Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@2b50e6e[correlationID=6abdcebf-3115-4591-8796-3b9c9945e200, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3cc65925[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@36b3b4b9[fileID=, allFileIDs=true], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 6abdcebf: GET_FILE_IDS: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: 6abdcebf: GET_FILE_IDS: IDENTIFICATION_COMPLETE: Contributors: [Pillar2] Result: Received event: 6abdcebf: GET_FILE_IDS: REQUEST_SENT: ContributorID [Pillar2], Sending request for get fileIDs Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsRequest@7cdd0aee[correlationID=6abdcebf-3115-4591-8796-3b9c9945e200, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=identificationFailureTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@13f8cf4d[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileIDsRequest@2424112[correlationID=6abdcebf-3115-4591-8796-3b9c9945e200, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=identificationFailureTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@4bbe05e6[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Verify that the client continues to the performing phase. Step: Send a final response message from contributor2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsFinalResponse@33742ed5[correlationID=6abdcebf-3115-4591-8796-3b9c9945e200, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@10aebc57[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@4bbe05e6[fileID=, allFileIDs=true], resultingFileIDs=, partialResult=] Result: Received event: 6abdcebf: GET_FILE_IDS: COMPONENT_COMPLETE: ContributorID Pillar2, PartialResult=false Result: Received event: 6abdcebf: GET_FILE_IDS: FAILED: , Failed operation. Cause(s): [6abdcebf: GET_FILE_IDS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE] Test success: identificationFailureTest Test starting: identificationNegativeTest Description: Verify that the client works correctly when a contributor sends a negative response. Step: Start the operation. Stimuli: Calling getFileIDs(null, null, null, org.bitrepository.client.TestEventHandler@559a0dbc) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@1013f59b[correlationID=ee0d6447-172f-4843-adfe-c0ab36a92fca, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=identificationNegativeTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@e619b5c[fileID=, allFileIDs=true]] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@607d0b9[correlationID=ee0d6447-172f-4843-adfe-c0ab36a92fca, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=identificationNegativeTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@6b1824c6[fileID=, allFileIDs=true]] Result: Received event: ee0d6447: GET_FILE_IDS: IDENTIFY_REQUEST_SENT: , Identifying contributers for get fileIDs Step: Send a identification response from contributor1 with a IDENTIFICATION_NEGATIVE response code . Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@75a9bcac[correlationID=ee0d6447-172f-4843-adfe-c0ab36a92fca, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@5aa1fc8d[responseCode=IDENTIFICATION_NEGATIVE, responseText=], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@6b1824c6[fileID=, allFileIDs=true], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: ee0d6447: GET_FILE_IDS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: IDENTIFICATION_NEGATIVE Step: Send a identification response from contributor2 with a IDENTIFICATION_POSITIVE response code . Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@76bd8a1b[correlationID=ee0d6447-172f-4843-adfe-c0ab36a92fca, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@15b62f84[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@6b1824c6[fileID=, allFileIDs=true], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: ee0d6447: GET_FILE_IDS: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: ee0d6447: GET_FILE_IDS: IDENTIFICATION_COMPLETE: Contributors: [Pillar2] Result: Received event: ee0d6447: GET_FILE_IDS: REQUEST_SENT: ContributorID [Pillar2], Sending request for get fileIDs Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsRequest@583d3c51[correlationID=ee0d6447-172f-4843-adfe-c0ab36a92fca, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=identificationNegativeTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@1c431719[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileIDsRequest@6d61a8cd[correlationID=ee0d6447-172f-4843-adfe-c0ab36a92fca, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=identificationNegativeTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@269162d5[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Verify that the client continues to the performing phase. Step: Send a final response message from contributor2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsFinalResponse@326305b3[correlationID=ee0d6447-172f-4843-adfe-c0ab36a92fca, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@30b449d[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@269162d5[fileID=, allFileIDs=true], resultingFileIDs=, partialResult=] Result: Received event: ee0d6447: GET_FILE_IDS: COMPONENT_COMPLETE: ContributorID Pillar2, PartialResult=false Result: Received event: ee0d6447: GET_FILE_IDS: FAILED: , Failed operation. Cause(s): [ee0d6447: GET_FILE_IDS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: IDENTIFICATION_NEGATIVE] Test success: identificationNegativeTest Test starting: noContributorsRespondingTest Description: Tests the the client handles lack of a IdentifyResponse gracefully. More concrete this means that the occurrence of a identification timeout should be handled correctly Step: Set a 1 second timeout for identifying contributors. Step: Start the operation. Stimuli: Calling getFileIDs(null, null, null, org.bitrepository.client.TestEventHandler@559a0dbc) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@25c266b0[correlationID=463c080d-62a6-43d4-bc74-78ebea5dd68e, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=noContributorsRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@7de3c02d[fileID=, allFileIDs=true]] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@ec53530[correlationID=463c080d-62a6-43d4-bc74-78ebea5dd68e, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=noContributorsRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3526e9e3[fileID=, allFileIDs=true]] Result: Received event: 463c080d: GET_FILE_IDS: IDENTIFY_REQUEST_SENT: , Identifying contributers for get fileIDs Step: Wait for 3 seconds Result: Received event: 463c080d: GET_FILE_IDS: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2, Pillar1] Result: Received event: 463c080d: GET_FILE_IDS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: 463c080d: GET_FILE_IDS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: null, Timeout for identifying contributor Result: Received event: 463c080d: GET_FILE_IDS: FAILED: , Unable to continue operation, contributors unavailable. Test success: noContributorsRespondingTest Result: The following messages haven't been handled by the testcase: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@ec53530[correlationID=463c080d-62a6-43d4-bc74-78ebea5dd68e, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=noContributorsRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3526e9e3[fileID=, allFileIDs=true]] Test starting: oneContributorNotRespondingTest Description: Verify that the client works correct without receiving identification responses from all contributors. Added fixture: Set the a identification timeout to 3 second. Step: Start the operation. Stimuli: Calling getFileIDs(null, null, null, org.bitrepository.client.TestEventHandler@559a0dbc) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@5f608422[correlationID=794c61bd-a346-4e66-9eb4-8b14d72ec512, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=oneContributorNotRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@39830519[fileID=, allFileIDs=true]] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@40bdee51[correlationID=794c61bd-a346-4e66-9eb4-8b14d72ec512, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=oneContributorNotRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@7569290b[fileID=, allFileIDs=true]] Result: Received event: 794c61bd: GET_FILE_IDS: IDENTIFY_REQUEST_SENT: , Identifying contributers for get fileIDs Step: Send a identification response from contributor1. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@69efc85d[correlationID=794c61bd-a346-4e66-9eb4-8b14d72ec512, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@7d4b8800[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@7569290b[fileID=, allFileIDs=true], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 794c61bd: GET_FILE_IDS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Step: Wait 5 seconds. Result: Received event: b37eb1c5: GET_AUDIT_TRAILS: FAILED: , Failed to receive responses from all contributors before timeout(60000ms). Missing contributors [Pillar2, Pillar1] Result: Received event: 794c61bd: GET_FILE_IDS: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2] Result: Received event: 794c61bd: GET_FILE_IDS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: 794c61bd: GET_FILE_IDS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 794c61bd: GET_FILE_IDS: REQUEST_SENT: ContributorID [Pillar1], Sending request for get fileIDs Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsRequest@52fd3360[correlationID=794c61bd-a346-4e66-9eb4-8b14d72ec512, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=oneContributorNotRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@6d380e30[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileIDsRequest@66e0f8e4[correlationID=794c61bd-a346-4e66-9eb4-8b14d72ec512, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=oneContributorNotRespondingTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3bf47580[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Verify that the client continues to the performing phase. Step: Send a final response upload message Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsFinalResponse@14a48480[correlationID=794c61bd-a346-4e66-9eb4-8b14d72ec512, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3cf6fa16[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3bf47580[fileID=, allFileIDs=true], resultingFileIDs=, partialResult=] Result: Received event: 794c61bd: GET_FILE_IDS: COMPONENT_COMPLETE: ContributorID Pillar1, PartialResult=false Result: Received event: 794c61bd: GET_FILE_IDS: FAILED: , Failed operation. Cause(s): [794c61bd: GET_FILE_IDS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor] Test success: oneContributorNotRespondingTest Test starting: operationTimeoutTest Description: Tests the the client handles lack of final responses gracefully. Step: Set a 3 second operation timeout. Step: Start the operation Stimuli: Calling getFileIDs(null, null, null, org.bitrepository.client.TestEventHandler@559a0dbc) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@52ddc6f7[correlationID=4603e8f7-356d-4eeb-9083-a87a94c6e428, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=operationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@5e31aca1[fileID=, allFileIDs=true]] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@1da4100[correlationID=4603e8f7-356d-4eeb-9083-a87a94c6e428, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=operationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@1fe167f3[fileID=, allFileIDs=true]] Result: Received event: 4603e8f7: GET_FILE_IDS: IDENTIFY_REQUEST_SENT: , Identifying contributers for get fileIDs Step: Send positive responses from the pillar1 and a negative response from pillar2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@2e137249[correlationID=4603e8f7-356d-4eeb-9083-a87a94c6e428, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@7eb42e40[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@1fe167f3[fileID=, allFileIDs=true], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 4603e8f7: GET_FILE_IDS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@3cc6dcb3[correlationID=4603e8f7-356d-4eeb-9083-a87a94c6e428, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@23c38af1[responseCode=IDENTIFICATION_NEGATIVE, responseText=], pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@1fe167f3[fileID=, allFileIDs=true], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 4603e8f7: GET_FILE_IDS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: IDENTIFICATION_NEGATIVE Result: Received event: 4603e8f7: GET_FILE_IDS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 4603e8f7: GET_FILE_IDS: REQUEST_SENT: ContributorID [Pillar1], Sending request for get fileIDs Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsRequest@21dbd3ba[correlationID=4603e8f7-356d-4eeb-9083-a87a94c6e428, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=operationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@672969b3[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileIDsRequest@5ac27794[correlationID=4603e8f7-356d-4eeb-9083-a87a94c6e428, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=operationTimeoutTest, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@1538c419[fileID=, allFileIDs=true], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Wait for 5 seconds Result: Received event: 6152661f: GET_AUDIT_TRAILS: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2, Pillar1] Result: Received event: 6152661f: GET_AUDIT_TRAILS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: 6152661f: GET_AUDIT_TRAILS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: null, Timeout for identifying contributor Result: Received event: 6152661f: GET_AUDIT_TRAILS: FAILED: , Unable to continue operation, contributors unavailable. Result: Received event: 4603e8f7: GET_FILE_IDS: FAILED: , Failed to receive responses from all contributors before timeout(3000ms). Missing contributors [Pillar1] Test success: operationTimeoutTest Test starting: getFileIDsDeliveredAtUrl Description: Tests the delivery of fileIDs from a pillar at a given URL. Step: Initialise the variables for this test. Step: Request the delivery of the file ids of a file from the pillar(s). A callback listener should be supplied. Stimuli: Calling getFileIDs(null, default-test-file.txt, http://sandkasse-01.kb.dk:80/dav/TEST-FILE-IDS-DELIVERY.xml, org.bitrepository.client.TestEventHandler@559a0dbc) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@12daacbb[correlationID=4e1d453c-d1cf-4477-8c9a-5483d7a6d0d5, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=getFileIDsDeliveredAtUrl, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@528232a8[fileID=default-test-file.txt, allFileIDs=]] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@2fed3ff9[correlationID=4e1d453c-d1cf-4477-8c9a-5483d7a6d0d5, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=getFileIDsDeliveredAtUrl, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@1030d04[fileID=default-test-file.txt, allFileIDs=]] Result: Received event: 4e1d453c: GET_FILE_IDS for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying contributers for get fileIDs Step: The pillar sends a response to the identify message. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@464c3bf5[correlationID=4e1d453c-d1cf-4477-8c9a-5483d7a6d0d5, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@36f475e1[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@1030d04[fileID=default-test-file.txt, allFileIDs=], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 4e1d453c: GET_FILE_IDS for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 4e1d453c: GET_FILE_IDS for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 4e1d453c: GET_FILE_IDS for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for get fileIDs Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsRequest@6a740737[correlationID=4e1d453c-d1cf-4477-8c9a-5483d7a6d0d5, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=getFileIDsDeliveredAtUrl, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@6785e27a[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=http://sandkasse-01.kb.dk:80/dav/TEST-FILE-IDS-DELIVERY.xml-Pillar1] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileIDsRequest@54fafd93[correlationID=4e1d453c-d1cf-4477-8c9a-5483d7a6d0d5, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=getFileIDsDeliveredAtUrl, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@2a1de97b[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=http://sandkasse-01.kb.dk:80/dav/TEST-FILE-IDS-DELIVERY.xml-Pillar1] Step: The pillar sends a getFileIDsProgressResponse to the GetFileIDsClient. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsProgressResponse@4f6ae561[correlationID=4e1d453c-d1cf-4477-8c9a-5483d7a6d0d5, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@72f96c02[responseCode=OPERATION_ACCEPTED_PROGRESS, responseText=First test progress response message], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@2a1de97b[fileID=default-test-file.txt, allFileIDs=], resultAddress=http://sandkasse-01.kb.dk:80/dav/TEST-FILE-IDS-DELIVERY.xml-Pillar1] Result: Received event: 4e1d453c: GET_FILE_IDS for file default-test-file.txt: PROGRESS: ContributorID Pillar1, First test progress response message Step: The resulting file is uploaded to the indicated url and the pillar sends a final response upload message Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsFinalResponse@1fab755d[correlationID=4e1d453c-d1cf-4477-8c9a-5483d7a6d0d5, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@31a63ce9[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@2a1de97b[fileID=default-test-file.txt, allFileIDs=], resultingFileIDs=org.bitrepository.bitrepositoryelements.ResultingFileIDs@18e8fe76[resultAddress=http://sandkasse-01.kb.dk:80/dav/TEST-FILE-IDS-DELIVERY.xml-Pillar1, fileIDsData=], partialResult=] Result: Received event: 4e1d453c: GET_FILE_IDS for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1, PartialResult=false Result: Received event: 4e1d453c: GET_FILE_IDS for file default-test-file.txt: COMPLETE: Step: Receive and validate event results for the pillar. Test success: getFileIDsDeliveredAtUrl Test starting: getFileIDsDeliveredThroughMessage Description: Tests the delivery of fileIDs from a pillar at a given URL. Step: Initialise the variables for this test. Step: Ensure the delivery file isn't already present on the http server Step: Request the delivery of the file ids of a file from the pillar(s). A callback listener should be supplied. Stimuli: Calling getFileIDs(null, default-test-file.txt, null, org.bitrepository.client.TestEventHandler@559a0dbc) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@2e5176a[correlationID=db0ea780-2808-4440-b039-e9cf4d73a0ba, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=getFileIDsDeliveredThroughMessage, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@e6431a2[fileID=default-test-file.txt, allFileIDs=]] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@6c201f8c[correlationID=db0ea780-2808-4440-b039-e9cf4d73a0ba, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=getFileIDsDeliveredThroughMessage, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@30f757c9[fileID=default-test-file.txt, allFileIDs=]] Result: Received event: db0ea780: GET_FILE_IDS for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying contributers for get fileIDs Step: The pillar sends a response to the identify message. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@1b340d45[correlationID=db0ea780-2808-4440-b039-e9cf4d73a0ba, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@76533af6[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@30f757c9[fileID=default-test-file.txt, allFileIDs=], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: db0ea780: GET_FILE_IDS for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: db0ea780: GET_FILE_IDS for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: db0ea780: GET_FILE_IDS for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for get fileIDs Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsRequest@3bc3c38e[correlationID=db0ea780-2808-4440-b039-e9cf4d73a0ba, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=getFileIDsDeliveredThroughMessage, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@315bbe49[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileIDsRequest@6b9bc2fb[correlationID=db0ea780-2808-4440-b039-e9cf4d73a0ba, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=getFileIDsDeliveredThroughMessage, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3f1e23ee[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: The pillar sends a getFileIDsProgressResponse to the GetFileIDsClient. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsProgressResponse@30c52700[correlationID=db0ea780-2808-4440-b039-e9cf4d73a0ba, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@72f96c02[responseCode=OPERATION_ACCEPTED_PROGRESS, responseText=First test progress response message], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3f1e23ee[fileID=default-test-file.txt, allFileIDs=], resultAddress=] Result: Received event: db0ea780: GET_FILE_IDS for file default-test-file.txt: PROGRESS: ContributorID Pillar1, First test progress response message Step: The resulting file is uploaded to the indicated url and the pillar sends a final response upload message Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsFinalResponse@4e4dfc1d[correlationID=db0ea780-2808-4440-b039-e9cf4d73a0ba, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@61e2fc14[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3f1e23ee[fileID=default-test-file.txt, allFileIDs=], resultingFileIDs=org.bitrepository.bitrepositoryelements.ResultingFileIDs@7d13b740[resultAddress=, fileIDsData=org.bitrepository.bitrepositoryelements.FileIDsData@19640ae7[fileIDsDataItems=org.bitrepository.bitrepositoryelements.FileIDsData$FileIDsDataItems@7707d0b6[fileIDsDataItem={org.bitrepository.bitrepositoryelements.FileIDsDataItem@221799c7[fileID=default-test-file.txt, lastModificationTime=2014-02-25T11:40:04.765+01:00, fileSize=]}]]], partialResult=] Result: Received event: db0ea780: GET_FILE_IDS for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1, NumberOfFileIDs=1, PartialResult=false Result: Received event: db0ea780: GET_FILE_IDS for file default-test-file.txt: COMPLETE: Step: Receive and validate event results for the pillar. Test success: getFileIDsDeliveredThroughMessage Test starting: getFileIDsFromOtherCollection Description: Tests the getFileIDs client will correctly try to get from a second collection if required Added fixture: Configure collection1 to contain both pillars and collection 2 to only contain pillar2 Step: Request the putting of a file through the PutClient for collection2 Stimuli: Calling getFileIDs(null, default-test-file.txt, null, org.bitrepository.client.TestEventHandler@8799987) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@674e7269[correlationID=14f6788e-1e17-487d-bd55-cd754d5ea672, collectionID=SinglePillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=getFileIDsFromOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@4f39807b[fileID=default-test-file.txt, allFileIDs=]] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@415fe1d7[correlationID=14f6788e-1e17-487d-bd55-cd754d5ea672, collectionID=SinglePillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=getFileIDsFromOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@7de40bc8[fileID=default-test-file.txt, allFileIDs=]] Result: Received event: 14f6788e: GET_FILE_IDS for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying contributers for get fileIDs Step: Send an identification response from pillar2. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@18199bfd[correlationID=14f6788e-1e17-487d-bd55-cd754d5ea672, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@39500b67[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@7de40bc8[fileID=default-test-file.txt, allFileIDs=], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 14f6788e: GET_FILE_IDS for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: 14f6788e: GET_FILE_IDS for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar2] Result: Received event: 14f6788e: GET_FILE_IDS for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar2], Sending request for get fileIDs Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsRequest@76d0a164[correlationID=14f6788e-1e17-487d-bd55-cd754d5ea672, collectionID=SinglePillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=getFileIDsFromOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@7b13e92c[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileIDsRequest@785b6850[correlationID=14f6788e-1e17-487d-bd55-cd754d5ea672, collectionID=SinglePillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=getFileIDsFromOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@391d99eb[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=] Step: Send a complete event from the pillar Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsFinalResponse@5bb26f42[correlationID=14f6788e-1e17-487d-bd55-cd754d5ea672, collectionID=SinglePillarCollection, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@1fa68516[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@391d99eb[fileID=default-test-file.txt, allFileIDs=], resultingFileIDs=, partialResult=] Result: Received event: 14f6788e: GET_FILE_IDS for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar2, PartialResult=false Result: Received event: 14f6788e: GET_FILE_IDS for file default-test-file.txt: COMPLETE: Test success: getFileIDsFromOtherCollection Test starting: testNoSuchFile Description: Testing how a request for a non-existing file is handled. Step: Setting up variables and such. Step: Request the delivery of the file id of a file from the pillar(s). A callback listener should be supplied. Stimuli: Calling getFileIDs(null, default-test-file.txt, http://sandkasse-01.kb.dk:80/dav/TEST-FILE-IDS-DELIVERY.xml, org.bitrepository.client.TestEventHandler@559a0dbc) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@5ac5a696[correlationID=e56a706a-cd97-4eec-8e43-036459731f1a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=testNoSuchFile, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@663bf068[fileID=default-test-file.txt, allFileIDs=]] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@2ccbdae2[correlationID=e56a706a-cd97-4eec-8e43-036459731f1a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=testNoSuchFile, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@7b8f4267[fileID=default-test-file.txt, allFileIDs=]] Result: Received event: e56a706a: GET_FILE_IDS for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying contributers for get fileIDs Step: The pillar sends a response to the identify message. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@49438dac[correlationID=e56a706a-cd97-4eec-8e43-036459731f1a, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@720a3cc7[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@7b8f4267[fileID=default-test-file.txt, allFileIDs=], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: e56a706a: GET_FILE_IDS for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: e56a706a: GET_FILE_IDS for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: e56a706a: GET_FILE_IDS for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for get fileIDs Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsRequest@4834467e[correlationID=e56a706a-cd97-4eec-8e43-036459731f1a, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=testNoSuchFile, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@60001f3a[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=http://sandkasse-01.kb.dk:80/dav/TEST-FILE-IDS-DELIVERY.xml-Pillar1] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileIDsRequest@672e20df[correlationID=e56a706a-cd97-4eec-8e43-036459731f1a, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=testNoSuchFile, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@5704565[fileID=default-test-file.txt, allFileIDs=], minTimestamp=, maxTimestamp=, maxNumberOfResults=, resultAddress=http://sandkasse-01.kb.dk:80/dav/TEST-FILE-IDS-DELIVERY.xml-Pillar1] Step: Send a error that the file cannot be found. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsFinalResponse@618f58f6[correlationID=e56a706a-cd97-4eec-8e43-036459731f1a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@a19b084[responseCode=FILE_NOT_FOUND_FAILURE, responseText=No such file.], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@5704565[fileID=default-test-file.txt, allFileIDs=], resultingFileIDs=, partialResult=] Result: Received event: e56a706a: GET_FILE_IDS for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FILE_NOT_FOUND_FAILURE, No such file. Result: Received event: e56a706a: GET_FILE_IDS for file default-test-file.txt: FAILED: , Failed operation. Cause(s): [e56a706a: GET_FILE_IDS for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FILE_NOT_FOUND_FAILURE, No such file.] Test success: testNoSuchFile Test starting: testPaging Description: Tests the GetFileIDs client correctly handles functionality for limiting results, either by timestamp or result count. Step: Request fileIDs from with MinTimestamp, MaxTimestamp, MaxNumberOfResults set for both pillars . Stimuli: Calling getFileIDs([ContributorQuery{componentID='Pillar1, minTimestamp=Tue Feb 25 11:40:05 CET 2014, maxTimestamp=Tue Feb 25 11:40:05 CET 2014, maxNumberOfResults=1}, ContributorQuery{componentID='Pillar2, minTimestamp=Tue Feb 25 11:40:05 CET 2014, maxTimestamp=Tue Feb 25 11:40:06 CET 2014, maxNumberOfResults=2}], null, null, org.bitrepository.client.TestEventHandler@559a0dbc) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@2bc7f150[correlationID=203b5812-2902-48a8-8e3f-f7c8ad05b4ad, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=testPaging, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@53b3d1a4[fileID=, allFileIDs=true]] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsRequest@4d6b9f6f[correlationID=203b5812-2902-48a8-8e3f-f7c8ad05b4ad, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=testPaging, to=, version=26, minVersion=24, auditTrailInformation=, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@54b0581e[fileID=, allFileIDs=true]] Result: Received event: 203b5812: GET_FILE_IDS: IDENTIFY_REQUEST_SENT: , Identifying contributers for get fileIDs Step: Send a IdentifyPillarsForGetFileIDsResponse from both pillars. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@5694502[correlationID=203b5812-2902-48a8-8e3f-f7c8ad05b4ad, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@42318914[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@54b0581e[fileID=, allFileIDs=true], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 203b5812: GET_FILE_IDS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@2476c3bf[correlationID=203b5812-2902-48a8-8e3f-f7c8ad05b4ad, collectionID=, destination=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@712d434c[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@54b0581e[fileID=, allFileIDs=true], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 203b5812: GET_FILE_IDS: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: 203b5812: GET_FILE_IDS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1, Pillar2] Result: Received event: 203b5812: GET_FILE_IDS: REQUEST_SENT: ContributorID [Pillar2, Pillar1], Sending request for get fileIDs Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsRequest@3ad71226[correlationID=203b5812-2902-48a8-8e3f-f7c8ad05b4ad, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=testPaging, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@7de89af7[fileID=, allFileIDs=true], minTimestamp=2014-02-25T11:40:05.056+01:00, maxTimestamp=2014-02-25T11:40:05.956+01:00, maxNumberOfResults=1, resultAddress=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileIDsRequest@6c649357[correlationID=203b5812-2902-48a8-8e3f-f7c8ad05b4ad, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=testPaging, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@3f056c59[fileID=, allFileIDs=true], minTimestamp=2014-02-25T11:40:05.956+01:00, maxTimestamp=2014-02-25T11:40:06.056+01:00, maxNumberOfResults=2, resultAddress=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileIDsRequest@1429c13c[correlationID=203b5812-2902-48a8-8e3f-f7c8ad05b4ad, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=testPaging, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@414d547b[fileID=, allFileIDs=true], minTimestamp=2014-02-25T11:40:05.056+01:00, maxTimestamp=2014-02-25T11:40:05.956+01:00, maxNumberOfResults=1, resultAddress=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileIDsRequest@34ad1845[correlationID=203b5812-2902-48a8-8e3f-f7c8ad05b4ad, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileIDsClientComponentTest-cibuild01, from=testPaging, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@50147507[fileID=, allFileIDs=true], minTimestamp=2014-02-25T11:40:05.956+01:00, maxTimestamp=2014-02-25T11:40:06.056+01:00, maxNumberOfResults=2, resultAddress=] Test success: testPaging Test starting: verifyGetFileIDsClientFromFactory Test success: verifyGetFileIDsClientFromFactory Starting testcase DeleteFileClientComponentTest Test starting: deleteClientIdentificationTimeout Description: Tests the handling of a failed identification for the DeleteClient Step: Initialise the number of pillars and the DeleteClient. Sets the identification timeout to 1 sec. Step: Request a file to be deleted on the default pillar. Stimuli: Calling deleteFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@4c8fde32[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@7944cbe2[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@13a5a0a1[checksumType=SHA1, checksumSalt=, otherChecksumType=], eventHandler, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@31d489fe[correlationID=d8befecf-bf41-4bcb-89b0-e011de0a93c0, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientIdentificationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@4ccd639f[correlationID=d8befecf-bf41-4bcb-89b0-e011de0a93c0, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientIdentificationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: d8befecf: DELETE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for delete file Step: Do not respond. Just await the timeout. Result: Received event: d8befecf: DELETE_FILE for file default-test-file.txt: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar1] Result: Received event: d8befecf: DELETE_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: null, Timeout for identifying contributor Result: Received event: d8befecf: DELETE_FILE for file default-test-file.txt: FAILED: , Unable to continue operation, contributors unavailable. Test success: deleteClientIdentificationTimeout Test starting: deleteClientOperationTimeout Description: Tests the handling of a failed operation for the DeleteClient Step: Initialise the number of pillars and the DeleteClient. Sets the operation timeout to 1 sec. Step: Request a file to be deleted on the default pillar. Stimuli: Calling deleteFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@28c9019a[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@24883a61[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@6bb0c903[checksumType=SHA1, checksumSalt=, otherChecksumType=], eventHandler, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@235d1b31[correlationID=431e96ac-1518-40dc-a9a2-f747af2eb5f2, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientOperationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@59f6cb45[correlationID=431e96ac-1518-40dc-a9a2-f747af2eb5f2, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientOperationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: 431e96ac: DELETE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for delete file Step: Make response for the pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileResponse@599b4d27[correlationID=431e96ac-1518-40dc-a9a2-f747af2eb5f2, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@62e66966[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 431e96ac: DELETE_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 431e96ac: DELETE_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 431e96ac: DELETE_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for deleting file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.DeleteFileRequest@636698d7[correlationID=431e96ac-1518-40dc-a9a2-f747af2eb5f2, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientOperationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@28c9019a[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@24883a61[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@6bb0c903[checksumType=SHA1, checksumSalt=, otherChecksumType=]] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.DeleteFileRequest@1ef0d76f[correlationID=431e96ac-1518-40dc-a9a2-f747af2eb5f2, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientOperationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@5c41406e[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@3fed2513[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@6a1d232e[checksumType=SHA1, checksumSalt=, otherChecksumType=]] Step: Validate the steps of the DeleteClient by going through the events. Step: Do not respond. Just await the timeout. Result: Received event: 431e96ac: DELETE_FILE for file default-test-file.txt: FAILED: , Failed to receive responses from all contributors before timeout(1000ms). Missing contributors [Pillar1] Test success: deleteClientOperationTimeout Test starting: deleteClientOtherPillarFailedDuringIdentification Description: Tests the handling of a identification failure for a pillar for the DeleteClient. Step: Request a file to be deleted on the pillar1. Stimuli: Calling deleteFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@d237481[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@12b5c7e4[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:09.495+01:00], null, eventHandler, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@2778df28[correlationID=c621284f-af3a-4f6b-aaf0-446b62f64aa2, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientOtherPillarFailedDuringIdentification, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@5d58df57[correlationID=c621284f-af3a-4f6b-aaf0-446b62f64aa2, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientOtherPillarFailedDuringIdentification, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: c621284f: DELETE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for delete file Step: Send a failed response from pillar2. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileResponse@75aef8a1[correlationID=c621284f-af3a-4f6b-aaf0-446b62f64aa2, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@32454e63[responseCode=IDENTIFICATION_NEGATIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar2, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Step: Send a ok response from pillar1. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileResponse@2dc52075[correlationID=c621284f-af3a-4f6b-aaf0-446b62f64aa2, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@68d5f8cc[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: c621284f: DELETE_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: c621284f: DELETE_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: c621284f: DELETE_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for deleting file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.DeleteFileRequest@128f24f2[correlationID=c621284f-af3a-4f6b-aaf0-446b62f64aa2, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientOtherPillarFailedDuringIdentification, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@d237481[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@12b5c7e4[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:09.495+01:00], checksumRequestForExistingFile=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.DeleteFileRequest@5b0e8622[correlationID=c621284f-af3a-4f6b-aaf0-446b62f64aa2, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientOtherPillarFailedDuringIdentification, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@51c50684[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@5e2eee0c[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:09.495+01:00], checksumRequestForExistingFile=] Step: Send a final response message from pillar 1 to the DeleteClient. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.DeleteFileFinalResponse@168850e2[correlationID=c621284f-af3a-4f6b-aaf0-446b62f64aa2, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@4f7630fc[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=] Result: Received event: c621284f: DELETE_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1, DeleteFileResult=null Result: Received event: c621284f: DELETE_FILE for file default-test-file.txt: COMPLETE: Test success: deleteClientOtherPillarFailedDuringIdentification Test starting: deleteClientPillarFailedDuringPerform Description: Tests the handling of a operation failure for the DeleteClient. Step: Initialise the number of pillars to one Step: Request a file to be deleted on the default pillar. Stimuli: Calling deleteFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@118ed22f[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@378914aa[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@8abc162[checksumType=SHA1, checksumSalt=, otherChecksumType=], eventHandler, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@44250d60[correlationID=35a0093d-e1ae-41f6-b560-cad07f542471, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientPillarFailedDuringPerform, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@74fbfa26[correlationID=35a0093d-e1ae-41f6-b560-cad07f542471, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientPillarFailedDuringPerform, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: 35a0093d: DELETE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for delete file Step: Make response for the pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileResponse@4ae410ca[correlationID=35a0093d-e1ae-41f6-b560-cad07f542471, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@430a642f[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 35a0093d: DELETE_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 35a0093d: DELETE_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 35a0093d: DELETE_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for deleting file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.DeleteFileRequest@fd7ae3a[correlationID=35a0093d-e1ae-41f6-b560-cad07f542471, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientPillarFailedDuringPerform, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@118ed22f[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@378914aa[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@8abc162[checksumType=SHA1, checksumSalt=, otherChecksumType=]] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.DeleteFileRequest@6ea4b019[correlationID=35a0093d-e1ae-41f6-b560-cad07f542471, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientPillarFailedDuringPerform, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@28357862[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@4e727e8d[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@3ed28337[checksumType=SHA1, checksumSalt=, otherChecksumType=]] Step: Validate the steps of the DeleteClient by going through the events. Step: Send a failed response message to the DeleteClient. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.DeleteFileFinalResponse@7e25720e[correlationID=35a0093d-e1ae-41f6-b560-cad07f542471, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@4c6335d5[responseCode=FAILURE, responseText=Verifying that a failure can be understood!], pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=] Result: Received event: 35a0093d: DELETE_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE, Verifying that a failure can be understood! Result: Received event: 35a0093d: DELETE_FILE for file default-test-file.txt: FAILED: , Failed operation. Cause(s): [35a0093d: DELETE_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE, Verifying that a failure can be understood!] Test success: deleteClientPillarFailedDuringPerform Test starting: deleteClientSpecifiedPillarFailedDuringIdentification Description: Tests the handling of a identification failure for a pillar for the DeleteClient. Step: Request a file to be deleted on the pillar1. Stimuli: Calling deleteFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@1b9d06a5[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@621f48cc[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:11.749+01:00], null, eventHandler, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@1d61e2a2[correlationID=546dfee8-e4cc-470c-a24a-da0c37e306d7, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientSpecifiedPillarFailedDuringIdentification, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@5255333[correlationID=546dfee8-e4cc-470c-a24a-da0c37e306d7, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientSpecifiedPillarFailedDuringIdentification, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: 546dfee8: DELETE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for delete file Step: Send a failed response from pillar1. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileResponse@55793be8[correlationID=546dfee8-e4cc-470c-a24a-da0c37e306d7, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@a4c282f[responseCode=IDENTIFICATION_NEGATIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 546dfee8: DELETE_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: IDENTIFICATION_NEGATIVE Result: Received event: 546dfee8: DELETE_FILE for file default-test-file.txt: FAILED: , Can not continue with delete operation, as Pillar1 is unable to perform the deletion. Test success: deleteClientSpecifiedPillarFailedDuringIdentification Test starting: deleteClientTester Description: Tests the DeleteClient. Makes a whole conversation for the delete client for a 'good' scenario. Step: Initialise the number of pillars to one Step: Request a file to be deleted on all pillars (which means only the default pillar). Stimuli: Calling deleteFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@6764ddfa[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@f297d1e[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@6cd54458[checksumType=SHA1, checksumSalt=, otherChecksumType=], eventHandler, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@257a253a[correlationID=76611115-9b9d-427d-80e8-e02ec8b16e95, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientTester, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@496a9cb1[correlationID=76611115-9b9d-427d-80e8-e02ec8b16e95, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientTester, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: 76611115: DELETE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for delete file Step: Make response for the pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileResponse@5a7bd043[correlationID=76611115-9b9d-427d-80e8-e02ec8b16e95, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@76a60d1d[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 76611115: DELETE_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 76611115: DELETE_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 76611115: DELETE_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for deleting file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.DeleteFileRequest@694c0e7b[correlationID=76611115-9b9d-427d-80e8-e02ec8b16e95, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientTester, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@6764ddfa[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@f297d1e[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@6cd54458[checksumType=SHA1, checksumSalt=, otherChecksumType=]] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.DeleteFileRequest@3a70ec46[correlationID=76611115-9b9d-427d-80e8-e02ec8b16e95, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteClientTester, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@44c938b0[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@76a8ce17[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@447284dd[checksumType=SHA1, checksumSalt=, otherChecksumType=]] Step: Validate the steps of the DeleteClient by going through the events. Step: The pillar sends a progress response to the DeleteClient. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.DeleteFileProgressResponse@4ba805a3[correlationID=76611115-9b9d-427d-80e8-e02ec8b16e95, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@72f96c02[responseCode=OPERATION_ACCEPTED_PROGRESS, responseText=First test progress response message], pillarID=Pillar1, fileID=default-test-file.txt] Result: Received event: 76611115: DELETE_FILE for file default-test-file.txt: PROGRESS: ContributorID Pillar1, First test progress response message Step: Send a final response message to the DeleteClient. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.DeleteFileFinalResponse@34808b17[correlationID=76611115-9b9d-427d-80e8-e02ec8b16e95, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@632badee[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=] Result: Received event: 76611115: DELETE_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1, DeleteFileResult=null Result: Received event: 76611115: DELETE_FILE for file default-test-file.txt: COMPLETE: Test success: deleteClientTester Test starting: deleteOnChecksumPillar Description: Verify that the DeleteClient works correctly when a checksum pillar is present. Step: Request a file to be deleted on the pillar1. Stimuli: Calling deleteFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@af72877[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@6881a240[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:13.347+01:00], null, eventHandler, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@700b5b62[correlationID=5432dc72-b37d-4689-9c32-c7b3306198a6, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteOnChecksumPillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@4fe2323c[correlationID=5432dc72-b37d-4689-9c32-c7b3306198a6, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteOnChecksumPillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: 5432dc72: DELETE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for delete file Step: Send an identification response from pillar2. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileResponse@b502a1d[correlationID=5432dc72-b37d-4689-9c32-c7b3306198a6, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3bfcdbb8[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar2, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Step: Send a response from pillar1 with PillarChecksumSpec element set, indicating that this is a checksum pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileResponse@625ec464[correlationID=5432dc72-b37d-4689-9c32-c7b3306198a6, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3bafb3b0[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, pillarChecksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@c3e066d[checksumType=MD5, checksumSalt=, otherChecksumType=], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 5432dc72: DELETE_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 5432dc72: DELETE_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 5432dc72: DELETE_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for deleting file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.DeleteFileRequest@374359b[correlationID=5432dc72-b37d-4689-9c32-c7b3306198a6, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteOnChecksumPillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@af72877[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@6881a240[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:13.347+01:00], checksumRequestForExistingFile=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.DeleteFileRequest@4de9357[correlationID=5432dc72-b37d-4689-9c32-c7b3306198a6, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteOnChecksumPillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@6a42514f[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@27e85009[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:13.347+01:00], checksumRequestForExistingFile=] Test success: deleteOnChecksumPillar Test starting: deleteOnChecksumPillarWithDefaultReturnChecksumType Description: Verify that the DeleteClient works correctly when a return checksum of the default typeis requested. Step: Request a file to be deleted on the pillar1. The call should include a request for a check sum of the default type Stimuli: Calling deleteFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@72c87c70[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@4861d7ef[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:16.029+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@fa7b109[checksumType=MD5, checksumSalt=, otherChecksumType=], eventHandler, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@4a8edd2b[correlationID=87b7fc0b-d0d4-4b60-83d1-ea8209eefdfa, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteOnChecksumPillarWithDefaultReturnChecksumType, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@3d5480d[correlationID=87b7fc0b-d0d4-4b60-83d1-ea8209eefdfa, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteOnChecksumPillarWithDefaultReturnChecksumType, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: 87b7fc0b: DELETE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for delete file Step: Send a response from pillar1 with PillarChecksumSpec element set, indicating that this is a checksum pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileResponse@276d4f72[correlationID=87b7fc0b-d0d4-4b60-83d1-ea8209eefdfa, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@797ad996[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, pillarChecksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@70634528[checksumType=MD5, checksumSalt=, otherChecksumType=], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 87b7fc0b: DELETE_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 87b7fc0b: DELETE_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 87b7fc0b: DELETE_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for deleting file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.DeleteFileRequest@6363ba6[correlationID=87b7fc0b-d0d4-4b60-83d1-ea8209eefdfa, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteOnChecksumPillarWithDefaultReturnChecksumType, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@72c87c70[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@4861d7ef[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:16.029+01:00], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@fa7b109[checksumType=MD5, checksumSalt=, otherChecksumType=]] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.DeleteFileRequest@3c943220[correlationID=87b7fc0b-d0d4-4b60-83d1-ea8209eefdfa, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteOnChecksumPillarWithDefaultReturnChecksumType, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@71d1507e[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@64fbba92[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:16.029+01:00], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@4a95fb09[checksumType=MD5, checksumSalt=, otherChecksumType=]] Test success: deleteOnChecksumPillarWithDefaultReturnChecksumType Test starting: deleteOnChecksumPillarWithSaltedReturnChecksumType Description: Verify that the DeleteClient works correctly when a return checksum with a salt is requested. Step: Request a file to be deleted on the pillar1. The call should include a request for a salted check sum Stimuli: Calling deleteFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@6c1d24f7[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@6d660b94[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:16.460+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@468259a8[checksumType=MD5, checksumSalt={-86}, otherChecksumType=], eventHandler, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@64bcc4c2[correlationID=e0958805-d5db-4b95-b922-3f39bb7042e0, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteOnChecksumPillarWithSaltedReturnChecksumType, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@1ed6b018[correlationID=e0958805-d5db-4b95-b922-3f39bb7042e0, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteOnChecksumPillarWithSaltedReturnChecksumType, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: e0958805: DELETE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for delete file Step: Send a response from pillar1 with PillarChecksumSpec element set, indicating that this is a checksum pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileResponse@20c30779[correlationID=e0958805-d5db-4b95-b922-3f39bb7042e0, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@641fa9bc[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, pillarChecksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@5ac0a8fe[checksumType=MD5, checksumSalt=, otherChecksumType=], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: e0958805: DELETE_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: e0958805: DELETE_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: e0958805: DELETE_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for deleting file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.DeleteFileRequest@51393365[correlationID=e0958805-d5db-4b95-b922-3f39bb7042e0, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteOnChecksumPillarWithSaltedReturnChecksumType, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@6c1d24f7[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@6d660b94[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:16.460+01:00], checksumRequestForExistingFile=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.DeleteFileRequest@35e8de37[correlationID=e0958805-d5db-4b95-b922-3f39bb7042e0, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=deleteOnChecksumPillarWithSaltedReturnChecksumType, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@32ae68ec[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@586a77f2[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:16.460+01:00], checksumRequestForExistingFile=] Test success: deleteOnChecksumPillarWithSaltedReturnChecksumType Test starting: fileAlreadyDeletedFromPillar Description: Test that a delete on a pillar completes successfully when the file is missing (has already been deleted). This is a test of the Idempotent behaviour of the delete client Step: Request a file to be deleted on pillar1. Stimuli: Calling deleteFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@e98ba0b[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@4cde2fa9[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:16.872+01:00], null, eventHandler, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@f0b27ac[correlationID=dd2be15a-7079-4676-bc49-1bfe4df174eb, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=fileAlreadyDeletedFromPillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileRequest@6f111d5[correlationID=dd2be15a-7079-4676-bc49-1bfe4df174eb, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, from=fileAlreadyDeletedFromPillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: dd2be15a: DELETE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for delete file Step: Send a identify response from Pillar1 with a missing file response. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForDeleteFileResponse@3cc9ba82[correlationID=dd2be15a-7079-4676-bc49-1bfe4df174eb, collectionID=, destination=TEST-TOPIC-DeleteFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@5ff3cbfb[responseCode=FILE_NOT_FOUND_FAILURE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: dd2be15a: DELETE_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: dd2be15a: DELETE_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1, DeleteFileResult=null Result: Received event: dd2be15a: DELETE_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [] Result: Received event: dd2be15a: DELETE_FILE for file default-test-file.txt: COMPLETE: Step: The client should then continue to the performing phase and finish immediately as the pillar has already had the file removed apparently . Step: Send a identify response from Pillar2 Test success: fileAlreadyDeletedFromPillar Test starting: verifyDeleteClientFromFactory Description: Testing the initialization through the ModifyComponentFactory. Step: Use the ModifyComponentFactory to instantiate a PutFileClient. Test success: verifyDeleteClientFromFactory Starting testcase GetFileClientComponentTest Test starting: chooseFastestPillarGetFileClient Description: Set the GetClient to retrieve a file as fast as possible, where it has to choose between to pillars with different times. The messages should be delivered at the same time. Step: Create a GetFileClient configured to use a fast and a slow pillar. Step: Defining the variables for the GetFileClient and defining them in the configuration Step: Make the GetClient ask for fastest pillar. Stimuli: Calling getFileFromFastestPillar(default-test-file.txt, http://sandkasse-01.kb.dk:80/dav/default-test-file.txt) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@1ef256e4[correlationID=114b4b41-811e-45b9-9241-cba0ef34326f, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=chooseFastestPillarGetFileClient, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@715a4572[correlationID=114b4b41-811e-45b9-9241-cba0ef34326f, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=chooseFastestPillarGetFileClient, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: 114b4b41: GET_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetFile Step: Three pillars send responses. First an average timeToDeliver, then a fast timeToDeliver and last a slow timeToDeliver. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@5d857981[correlationID=114b4b41-811e-45b9-9241-cba0ef34326f, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=THE-AVERAGE-PILLAR, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@65ec341e[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=THE-AVERAGE-PILLAR, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@7651d1d8[timeMeasureUnit=MILLISECONDS, timeMeasureValue=100]] Result: Received event: 114b4b41: GET_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID THE-AVERAGE-PILLAR Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@5a0d11f[correlationID=114b4b41-811e-45b9-9241-cba0ef34326f, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=THE-FAST-PILLAR, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@1014d1c[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=THE-FAST-PILLAR, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@7c6d69c7[timeMeasureUnit=MILLISECONDS, timeMeasureValue=10]] Result: Received event: 114b4b41: GET_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID THE-FAST-PILLAR Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@552808fd[correlationID=114b4b41-811e-45b9-9241-cba0ef34326f, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=THE-SLOW-PILLAR, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@376645b8[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=THE-SLOW-PILLAR, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@1b6b4f72[timeMeasureUnit=HOURS, timeMeasureValue=1]] Result: Received event: 114b4b41: GET_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID THE-SLOW-PILLAR Result: Received event: 114b4b41: GET_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [THE-FAST-PILLAR] Result: Received event: 114b4b41: GET_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID SelectedComponentInfo: componentID=THE-FAST-PILLAR, componentTopic=Pillar1_topic-cibuild01, Sending GetFileRequest to Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileRequest@8b9ea09[correlationID=114b4b41-811e-45b9-9241-cba0ef34326f, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=chooseFastestPillarGetFileClient, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=THE-FAST-PILLAR, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileRequest@2f46c0f7[correlationID=114b4b41-811e-45b9-9241-cba0ef34326f, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=chooseFastestPillarGetFileClient, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=THE-FAST-PILLAR, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Test success: chooseFastestPillarGetFileClient Test starting: conversationTimeout Description: Tests the the GetFileClient handles lack of IdentifyPillarResponses gracefully Step: Set the number of pillars to 1 and a 3 second timeout for the conversation. Step: Request the delivery of a file from a specific pillar. A callback listener should be supplied. Stimuli: Calling getFileFromSpecificPillar(default-test-file.txt, http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, Pillar1) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@4afa343e[correlationID=eb0d835f-1f33-44ac-955b-5f37e38a32f2, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=conversationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@159b70a1[correlationID=eb0d835f-1f33-44ac-955b-5f37e38a32f2, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=conversationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: eb0d835f: GET_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetFile Step: The pillar sends a response to the identify message. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@fff651c[correlationID=eb0d835f-1f33-44ac-955b-5f37e38a32f2, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@48471978[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: eb0d835f: GET_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: eb0d835f: GET_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: eb0d835f: GET_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID SelectedComponentInfo: componentID=Pillar1, componentTopic=Pillar1_topic-cibuild01, Sending GetFileRequest to Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileRequest@52613337[correlationID=eb0d835f-1f33-44ac-955b-5f37e38a32f2, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=conversationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileRequest@d3da0c4[correlationID=eb0d835f-1f33-44ac-955b-5f37e38a32f2, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=conversationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Step: Wait for 5 seconds Result: Received event: eb0d835f: GET_FILE for file default-test-file.txt: FAILED: , Failing timed out conversation eb0d835f-1f33-44ac-955b-5f37e38a32f2 Test success: conversationTimeout Test starting: failureDuringPerform Description: Verify that the GetFile reports a failed operation, in case of a component failing during the performing phase. Step: Request a getFile from the fastest pillar. Stimuli: Calling getFileFromFastestPillar(default-test-file.txt, http://sandkasse-01.kb.dk:80/dav/default-test-file.txt) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@2c4e1567[correlationID=e7e38517-5bd4-4641-a2bd-39efb364216a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=failureDuringPerform, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: e7e38517: GET_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetFile Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@6c873dcb[correlationID=e7e38517-5bd4-4641-a2bd-39efb364216a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=failureDuringPerform, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Step: Send a identification response from pillar1 and pillar2 with pillar1 the fastest. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@22ea1217[correlationID=e7e38517-5bd4-4641-a2bd-39efb364216a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3549b5e9[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@4e9c56dd[correlationID=e7e38517-5bd4-4641-a2bd-39efb364216a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@7a0aef7c[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar2, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@63f0f47c[timeMeasureUnit=HOURS, timeMeasureValue=10]] Result: Received event: e7e38517: GET_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: e7e38517: GET_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: e7e38517: GET_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: e7e38517: GET_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID SelectedComponentInfo: componentID=Pillar1, componentTopic=Pillar1_topic-cibuild01, Sending GetFileRequest to Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileRequest@72a6788d[correlationID=e7e38517-5bd4-4641-a2bd-39efb364216a, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=failureDuringPerform, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileRequest@5aac613e[correlationID=e7e38517-5bd4-4641-a2bd-39efb364216a, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=failureDuringPerform, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Step: Send a failure response from pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileFinalResponse@6b245bf3[correlationID=e7e38517-5bd4-4641-a2bd-39efb364216a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@2010e579[responseCode=FAILURE, responseText=], pillarID=Pillar1, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received event: e7e38517: GET_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE Result: Received event: e7e38517: GET_FILE for file default-test-file.txt: FAILED: , Failed to get file from Pillar1, org.bitrepository.bitrepositoryelements.ResponseInfo@7882be6[responseCode=FAILURE, responseText=] Test success: failureDuringPerform Test starting: getFileClientWithChecksumPillarInvolved Description: Verify that the GetFile works correctly when a checksum pillar respond. Step: Call getFile form fastest pillar. Stimuli: Calling getFileFromFastestPillar(default-test-file.txt, http://sandkasse-01.kb.dk:80/dav/default-test-file.txt) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@1d305ff1[correlationID=03577bbf-6806-45d1-95d8-7ad6083a3a87, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileClientWithChecksumPillarInvolved, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: 03577bbf: GET_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetFile Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@1e7d1ae0[correlationID=03577bbf-6806-45d1-95d8-7ad6083a3a87, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileClientWithChecksumPillarInvolved, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Step: Send a identification response from pillar1 with a REQUEST_NOT_SUPPORTED response code. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@276f77c3[correlationID=03577bbf-6806-45d1-95d8-7ad6083a3a87, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@71fb76f[responseCode=REQUEST_NOT_SUPPORTED, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Step: Send a identification response from pillar2 with a IDENTIFICATION_POSITIVE response code . Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@3c195e7e[correlationID=03577bbf-6806-45d1-95d8-7ad6083a3a87, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@258ac105[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar2, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 03577bbf: GET_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: 03577bbf: GET_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar2] Result: Received event: 03577bbf: GET_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID SelectedComponentInfo: componentID=Pillar2, componentTopic=Pillar2_topic-cibuild01, Sending GetFileRequest to Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileRequest@26db9a0a[correlationID=03577bbf-6806-45d1-95d8-7ad6083a3a87, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileClientWithChecksumPillarInvolved, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Step: Verify that the client continues to the performing phase. Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileRequest@4856e4f8[correlationID=03577bbf-6806-45d1-95d8-7ad6083a3a87, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileClientWithChecksumPillarInvolved, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Step: Send a final response upload message Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileFinalResponse@40d27ae2[correlationID=03577bbf-6806-45d1-95d8-7ad6083a3a87, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3a81acad[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar2, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received event: 03577bbf: GET_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar2 Result: Received event: 03577bbf: GET_FILE for file default-test-file.txt: COMPLETE: Test success: getFileClientWithChecksumPillarInvolved Test starting: getFileClientWithIdentifyTimeout Description: Verify that the GetFile works correct without receiving responses from all pillars. Added fixture: Set the identification timeout to 3 seconds Step: Call getFile form fastest pillar. Stimuli: Calling getFileFromFastestPillar(default-test-file.txt, http://sandkasse-01.kb.dk:80/dav/default-test-file.txt) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@4c745d72[correlationID=a56ec394-6a21-4f87-9bd4-a032b228f917, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileClientWithIdentifyTimeout, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: a56ec394: GET_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetFile Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@549ce877[correlationID=a56ec394-6a21-4f87-9bd4-a032b228f917, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileClientWithIdentifyTimeout, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Step: Send a identification response from pillar1. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@9620807[correlationID=a56ec394-6a21-4f87-9bd4-a032b228f917, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@2fd0861[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 7dac817a: GET_CHECKSUMS: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2, Pillar1] Result: Received event: 7dac817a: GET_CHECKSUMS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: 7dac817a: GET_CHECKSUMS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: null, Timeout for identifying contributor Result: Received event: 7dac817a: GET_CHECKSUMS: FAILED: , Unable to continue operation, contributors unavailable. Result: Received event: a56ec394: GET_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Step: Wait 3 seconds. Result: Received event: a56ec394: GET_FILE for file default-test-file.txt: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2] Result: Received event: a56ec394: GET_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: a56ec394: GET_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: a56ec394: GET_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID SelectedComponentInfo: componentID=Pillar1, componentTopic=Pillar1_topic-cibuild01, Sending GetFileRequest to Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileRequest@7bd8c207[correlationID=a56ec394-6a21-4f87-9bd4-a032b228f917, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileClientWithIdentifyTimeout, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Step: Verify that the client continues to the performing phase. Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileRequest@3c2c4a49[correlationID=a56ec394-6a21-4f87-9bd4-a032b228f917, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileClientWithIdentifyTimeout, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Step: Send a final response upload message Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileFinalResponse@7fc11d7b[correlationID=a56ec394-6a21-4f87-9bd4-a032b228f917, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@5f76b7c3[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar1, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received event: a56ec394: GET_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1 Result: Received event: a56ec394: GET_FILE for file default-test-file.txt: COMPLETE: Test success: getFileClientWithIdentifyTimeout Test starting: getFileFromOtherCollection Description: Tests the getFiles client will correctly try to get from a second collection if required Added fixture: Configure collection1 to contain both pillars and collection 2 to only contain pillar2 Step: Request the getting of a file through the client for collection2 Stimuli: Calling getFileFromFastestPillar(default-test-file.txt, http://sandkasse-01.kb.dk:80/dav/default-test-file.txt) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@31dfd759[correlationID=c640df9a-f67f-4a92-a70c-725fd5c7b09a, collectionID=SinglePillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileFromOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: c640df9a: GET_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetFile Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@8db5b6d[correlationID=c640df9a-f67f-4a92-a70c-725fd5c7b09a, collectionID=SinglePillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileFromOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Step: Send an identification response from pillar2. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@794f55a5[correlationID=c640df9a-f67f-4a92-a70c-725fd5c7b09a, collectionID=SinglePillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@478001db[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar2, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: c640df9a: GET_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: c640df9a: GET_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar2] Result: Received event: c640df9a: GET_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID SelectedComponentInfo: componentID=Pillar2, componentTopic=Pillar2_topic-cibuild01, Sending GetFileRequest to Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileRequest@1edab280[correlationID=c640df9a-f67f-4a92-a70c-725fd5c7b09a, collectionID=SinglePillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileFromOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileRequest@1d685ac4[correlationID=c640df9a-f67f-4a92-a70c-725fd5c7b09a, collectionID=SinglePillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileFromOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Step: Send a complete event from the pillar Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileFinalResponse@2e1f08f1[correlationID=c640df9a-f67f-4a92-a70c-725fd5c7b09a, collectionID=SinglePillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@77841dde[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar2, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received event: c640df9a: GET_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar2 Result: Received event: c640df9a: GET_FILE for file default-test-file.txt: COMPLETE: Test success: getFileFromOtherCollection Test starting: getFileFromSpecificPillar Description: Tests that the GetClient client works correctly when requesting a file from a specific pillar Step: Request the delivery of a file from pillar2. Stimuli: Calling getFileFromSpecificPillar(default-test-file.txt, http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, Pillar2) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@71b6b12[correlationID=f0a4cb4c-db83-4209-8bb9-dcabfd791349, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileFromSpecificPillar, to=Pillar2, version=26, minVersion=24, auditTrailInformation=AuditTrailInfo for getFileFromSpecificPillarTest, fileID=default-test-file.txt] Result: Received event: f0a4cb4c: GET_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetFile Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@23393da9[correlationID=f0a4cb4c-db83-4209-8bb9-dcabfd791349, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileFromSpecificPillar, to=Pillar2, version=26, minVersion=24, auditTrailInformation=AuditTrailInfo for getFileFromSpecificPillarTest, fileID=default-test-file.txt] Step: Send a response from pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@2ff3450[correlationID=f0a4cb4c-db83-4209-8bb9-dcabfd791349, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@40c371b9[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Step: Send a response from pillar2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@1407b298[correlationID=f0a4cb4c-db83-4209-8bb9-dcabfd791349, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@55e236e[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar2, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: f0a4cb4c: GET_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: f0a4cb4c: GET_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar2] Result: Received event: f0a4cb4c: GET_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID SelectedComponentInfo: componentID=Pillar2, componentTopic=Pillar2_topic-cibuild01, Sending GetFileRequest to Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileRequest@16c9989d[correlationID=f0a4cb4c-db83-4209-8bb9-dcabfd791349, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileFromSpecificPillar, to=Pillar2, version=26, minVersion=24, auditTrailInformation=AuditTrailInfo for getFileFromSpecificPillarTest, pillarID=Pillar2, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileRequest@2814c214[correlationID=f0a4cb4c-db83-4209-8bb9-dcabfd791349, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileFromSpecificPillar, to=Pillar2, version=26, minVersion=24, auditTrailInformation=AuditTrailInfo for getFileFromSpecificPillarTest, pillarID=Pillar2, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Step: Send a GetFileProgressResponse. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileProgressResponse@6ad1c39a[correlationID=f0a4cb4c-db83-4209-8bb9-dcabfd791349, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@72f96c02[responseCode=OPERATION_ACCEPTED_PROGRESS, responseText=First test progress response message], pillarID=Pillar2, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=, checksumDataForExistingFile=] Result: Received event: f0a4cb4c: GET_FILE for file default-test-file.txt: PROGRESS: ContributorID Pillar2, First test progress response message Step: Send a GetFileFinalResponse. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileFinalResponse@2859fddb[correlationID=f0a4cb4c-db83-4209-8bb9-dcabfd791349, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@2c29498f[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar2, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received event: f0a4cb4c: GET_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar2 Result: Received event: f0a4cb4c: GET_FILE for file default-test-file.txt: COMPLETE: Test success: getFileFromSpecificPillar Test starting: getFileFromSpecificPillarWithFilePart Description: Tests that the GetClient client works for a single pillar participates. Also validate, that the 'FilePart' can be used. Step: Set the number of pillars to 1 Step: Request the delivery of a file from a specific pillar. A callback listener should be supplied. Stimuli: Calling getFileFromSpecificPillar(default-test-file.txt, http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, Pillar1) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@b2986c5[correlationID=f7beabae-78e7-4e75-969e-b9c18d30a8dc, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileFromSpecificPillarWithFilePart, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: f7beabae: GET_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetFile Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@90e13bb[correlationID=f7beabae-78e7-4e75-969e-b9c18d30a8dc, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileFromSpecificPillarWithFilePart, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Step: The pillar sends a response to the identify message. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@7b315ea1[correlationID=f7beabae-78e7-4e75-969e-b9c18d30a8dc, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@663bdb36[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: f7beabae: GET_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: f7beabae: GET_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: f7beabae: GET_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID SelectedComponentInfo: componentID=Pillar1, componentTopic=Pillar1_topic-cibuild01, Sending GetFileRequest to Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileRequest@66a76a5a[correlationID=f7beabae-78e7-4e75-969e-b9c18d30a8dc, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileFromSpecificPillarWithFilePart, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, filePart=org.bitrepository.bitrepositoryelements.FilePart@79376f5c[partOffSet=1, partLength=10], fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileRequest@715a1fd1[correlationID=f7beabae-78e7-4e75-969e-b9c18d30a8dc, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=getFileFromSpecificPillarWithFilePart, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, filePart=org.bitrepository.bitrepositoryelements.FilePart@46686b43[partOffSet=1, partLength=10], fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Step: The pillar sends a getFile response to the GetClient. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileProgressResponse@53df0c7a[correlationID=f7beabae-78e7-4e75-969e-b9c18d30a8dc, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@72f96c02[responseCode=OPERATION_ACCEPTED_PROGRESS, responseText=First test progress response message], pillarID=Pillar1, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=, checksumDataForExistingFile=] Result: Received event: f7beabae: GET_FILE for file default-test-file.txt: PROGRESS: ContributorID Pillar1, First test progress response message Step: The file is uploaded to the indicated url and the pillar sends a final response upload message Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileFinalResponse@7a29457c[correlationID=f7beabae-78e7-4e75-969e-b9c18d30a8dc, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@2b910e8c[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar1, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received event: f7beabae: GET_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1 Result: Received event: f7beabae: GET_FILE for file default-test-file.txt: COMPLETE: Test success: getFileFromSpecificPillarWithFilePart Test starting: noIdentifyResponse Description: Tests the the GetFileClient handles lack of IdentifyPillarResponses gracefully Step: Set a 3 second timeout for identifying pillar. Step: Make the GetClient ask for fastest pillar. Stimuli: Calling getFileFromFastestPillar(default-test-file.txt, http://sandkasse-01.kb.dk:80/dav/default-test-file.txt) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@684193ff[correlationID=b6624c3c-b117-42a5-ae1c-a161f6c6c4ca, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=noIdentifyResponse, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@725d61a4[correlationID=b6624c3c-b117-42a5-ae1c-a161f6c6c4ca, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=noIdentifyResponse, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: b6624c3c: GET_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetFile Step: Wait for 5 seconds Result: Received event: b6624c3c: GET_FILE for file default-test-file.txt: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2, Pillar1] Result: Received event: b6624c3c: GET_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: b6624c3c: GET_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: null, Timeout for identifying contributor Result: Received event: b6624c3c: GET_FILE for file default-test-file.txt: FAILED: , Unable to continue operation, contributors unavailable. Test success: noIdentifyResponse Test starting: singleComponentFailureDuringIdentify Description: Verify that the GetFile reports a complete (not failed), in case of a component failing during the identify phase. Step: Call getFile from the fastest pillar. Stimuli: Calling getFileFromFastestPillar(default-test-file.txt, http://sandkasse-01.kb.dk:80/dav/default-test-file.txt) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@1628de0e[correlationID=9b777176-8343-40e8-8fdd-ed3dbbbfde08, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=singleComponentFailureDuringIdentify, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@6b71c392[correlationID=9b777176-8343-40e8-8fdd-ed3dbbbfde08, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=singleComponentFailureDuringIdentify, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt] Result: Received event: 9b777176: GET_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetFile Step: Send a identification response from pillar1 with a IDENTIFICATION_NEGATIVE response code . Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@79dedd59[correlationID=9b777176-8343-40e8-8fdd-ed3dbbbfde08, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@16963c91[responseCode=IDENTIFICATION_NEGATIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 9b777176: GET_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: IDENTIFICATION_NEGATIVE Step: Send a identification response from pillar2 with a IDENTIFICATION_POSITIVE response code . Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@3d73b323[correlationID=9b777176-8343-40e8-8fdd-ed3dbbbfde08, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@76f5de59[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar2, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 9b777176: GET_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: 9b777176: GET_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar2] Result: Received event: 9b777176: GET_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID SelectedComponentInfo: componentID=Pillar2, componentTopic=Pillar2_topic-cibuild01, Sending GetFileRequest to Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileRequest@4fe8368d[correlationID=9b777176-8343-40e8-8fdd-ed3dbbbfde08, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=singleComponentFailureDuringIdentify, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Step: Verify that the client continues to the performing phase. Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetFileRequest@df76df2[correlationID=9b777176-8343-40e8-8fdd-ed3dbbbfde08, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=singleComponentFailureDuringIdentify, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Step: Send a final response upload message Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetFileFinalResponse@6f533207[correlationID=9b777176-8343-40e8-8fdd-ed3dbbbfde08, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3ef9a2aa[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar2, fileID=default-test-file.txt, filePart=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received event: 9b777176: GET_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar2 Result: Received event: 9b777176: GET_FILE for file default-test-file.txt: COMPLETE: Test success: singleComponentFailureDuringIdentify Test starting: testNoSuchFileMultiplePillars Description: Testing how a request for a non-existing file is handled when all pillars miss the file. Step: Use the default 2 pillars. Step: Call getFileFromFastestPillar. Stimuli: Calling getFileFromFastestPillar(ERROR-NO-SUCH-FILE-ERROR, http://sandkasse-01.kb.dk:80/dav/default-test-file.txt) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@51ffa090[correlationID=ca0118dd-8bf9-4d30-97bc-887b090da7fe, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=testNoSuchFileMultiplePillars, to=, version=26, minVersion=24, auditTrailInformation=, fileID=ERROR-NO-SUCH-FILE-ERROR] Result: Received event: ca0118dd: GET_FILE for file ERROR-NO-SUCH-FILE-ERROR: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetFile Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@ec7afca[correlationID=ca0118dd-8bf9-4d30-97bc-887b090da7fe, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=testNoSuchFileMultiplePillars, to=, version=26, minVersion=24, auditTrailInformation=, fileID=ERROR-NO-SUCH-FILE-ERROR] Step: Both pillars sends a FILE_NOT_FOUND response Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@57e5fe5a[correlationID=ca0118dd-8bf9-4d30-97bc-887b090da7fe, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3c9df3cb[responseCode=FILE_NOT_FOUND_FAILURE, responseText=File ERROR-NO-SUCH-FILE-ERROR not present on this pillar ], fileID=ERROR-NO-SUCH-FILE-ERROR, pillarID=Pillar1, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@c611c28[correlationID=ca0118dd-8bf9-4d30-97bc-887b090da7fe, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3b7f8c71[responseCode=FILE_NOT_FOUND_FAILURE, responseText=File ERROR-NO-SUCH-FILE-ERRORnot present on this pillar ], fileID=ERROR-NO-SUCH-FILE-ERROR, pillarID=Pillar2, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: ca0118dd: GET_FILE for file ERROR-NO-SUCH-FILE-ERROR: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FILE_NOT_FOUND_FAILURE, File ERROR-NO-SUCH-FILE-ERROR not present on this pillar Result: Received event: ca0118dd: GET_FILE for file ERROR-NO-SUCH-FILE-ERROR: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: FILE_NOT_FOUND_FAILURE, File ERROR-NO-SUCH-FILE-ERRORnot present on this pillar Result: Received event: ca0118dd: GET_FILE for file ERROR-NO-SUCH-FILE-ERROR: FAILED: , Unable to continue operation, contributors unavailable. Test success: testNoSuchFileMultiplePillars Test starting: testNoSuchFileSpecificPillar Description: Testing how a request for a non-existing file is handled on a specific pillar request. Step: Define 1 pillar. Step: Call getFileFromSpecificPillar. Stimuli: Calling getFileFromSpecificPillar(ERROR-NO-SUCH-FILE-ERROR, http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, Pillar1) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@493b4a75[correlationID=bc97e0d0-362b-4ee6-a2d8-a4fccd7f6445, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=testNoSuchFileSpecificPillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=ERROR-NO-SUCH-FILE-ERROR] Result: Received event: bc97e0d0: GET_FILE for file ERROR-NO-SUCH-FILE-ERROR: IDENTIFY_REQUEST_SENT: , Identifying pillars for GetFile Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileRequest@3c0a2ed9[correlationID=bc97e0d0-362b-4ee6-a2d8-a4fccd7f6445, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetFileClientComponentTest-cibuild01, from=testNoSuchFileSpecificPillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=ERROR-NO-SUCH-FILE-ERROR] Step: The specified pillars sends a FILE_NOT_FOUND response Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileResponse@4089c75a[correlationID=bc97e0d0-362b-4ee6-a2d8-a4fccd7f6445, collectionID=TwoPillarCollection, destination=TEST-TOPIC-GetFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@157f06d0[responseCode=FILE_NOT_FOUND_FAILURE, responseText=File ERROR-NO-SUCH-FILE-ERROR not present on this pillar Pillar1], fileID=ERROR-NO-SUCH-FILE-ERROR, pillarID=Pillar1, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: bc97e0d0: GET_FILE for file ERROR-NO-SUCH-FILE-ERROR: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FILE_NOT_FOUND_FAILURE, File ERROR-NO-SUCH-FILE-ERROR not present on this pillar Pillar1 Result: Received event: bc97e0d0: GET_FILE for file ERROR-NO-SUCH-FILE-ERROR: FAILED: , Unable to continue operation, contributors unavailable. Test success: testNoSuchFileSpecificPillar Test starting: verifyGetFileClientFromFactory Test success: verifyGetFileClientFromFactory Starting testcase GetStatusClientComponentTest Test starting: getAllStatuses Description: Tests the simplest case of getting status for all contributers. Step: Create a GetStatusClient. Step: Retrieve from all contributors in the collection Stimuli: Calling getAuditTrails() Result: Received event: fca9308d: GET_STATUS: IDENTIFY_REQUEST_SENT: , Identifying contributors for getting status Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetStatusRequest@45a361ec[correlationID=fca9308d-a16f-4cfc-88f7-6aca58a43cf6, collectionID=, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, from=getAllStatuses, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetStatusRequest@510c5ebd[correlationID=fca9308d-a16f-4cfc-88f7-6aca58a43cf6, collectionID=, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, from=getAllStatuses, to=, version=26, minVersion=24, auditTrailInformation=] Step: Send a identifyResponse from each pillar Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetStatusResponse@31ff3dd[correlationID=fca9308d-a16f-4cfc-88f7-6aca58a43cf6, collectionID=, destination=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@26c333c5[responseCode=IDENTIFICATION_POSITIVE, responseText=], contributor=Pillar1, timeToDeliver=] Result: Received event: fca9308d: GET_STATUS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetStatusResponse@39ab1ba0[correlationID=fca9308d-a16f-4cfc-88f7-6aca58a43cf6, collectionID=, destination=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@10a2c2f4[responseCode=IDENTIFICATION_POSITIVE, responseText=], contributor=Pillar2, timeToDeliver=] Result: Received event: fca9308d: GET_STATUS: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: fca9308d: GET_STATUS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1, Pillar2] Result: Received event: fca9308d: GET_STATUS: REQUEST_SENT: ContributorID [Pillar2, Pillar1], Sending GetStatusRequest Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetStatusRequest@6dab0109[correlationID=fca9308d-a16f-4cfc-88f7-6aca58a43cf6, collectionID=, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, from=getAllStatuses, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetStatusRequest@78e9591c[correlationID=fca9308d-a16f-4cfc-88f7-6aca58a43cf6, collectionID=, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, from=getAllStatuses, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar2] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetStatusRequest@6dab0109[correlationID=fca9308d-a16f-4cfc-88f7-6aca58a43cf6, collectionID=, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, from=getAllStatuses, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetStatusRequest@7f23ea9f[correlationID=fca9308d-a16f-4cfc-88f7-6aca58a43cf6, collectionID=, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, from=getAllStatuses, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1] Step: Send a final response from pillar 1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetStatusFinalResponse@f00adef[correlationID=fca9308d-a16f-4cfc-88f7-6aca58a43cf6, collectionID=, destination=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@759b2d9a[responseCode=OPERATION_COMPLETED, responseText=], contributor=Pillar1, resultingStatus=org.bitrepository.bitrepositoryelements.ResultingStatus@1ecf15c8[statusInfo=org.bitrepository.bitrepositoryelements.StatusInfo@2d9f0d45[statusCode=OK, statusText=Everythings fine..], statusTimestamp=2014-02-25T11:40:32.702+01:00]] Result: Received event: fca9308d: GET_STATUS: COMPONENT_COMPLETE: ContributorID Pillar1, resulting status: org.bitrepository.bitrepositoryelements.ResultingStatus@c8eb2a6[statusInfo=org.bitrepository.bitrepositoryelements.StatusInfo@6c72b6ba[statusCode=OK, statusText=Everythings fine..], statusTimestamp=2014-02-25T11:40:32.702+01:00] Step: Send a final response from pillar 2 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetStatusFinalResponse@5f3aa4f5[correlationID=fca9308d-a16f-4cfc-88f7-6aca58a43cf6, collectionID=, destination=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@32401ab[responseCode=OPERATION_COMPLETED, responseText=], contributor=Pillar2, resultingStatus=org.bitrepository.bitrepositoryelements.ResultingStatus@30e98329[statusInfo=org.bitrepository.bitrepositoryelements.StatusInfo@32a211d5[statusCode=OK, statusText=Everythings fine..], statusTimestamp=2014-02-25T11:40:32.799+01:00]] Result: Received event: fca9308d: GET_STATUS: COMPONENT_COMPLETE: ContributorID Pillar2, resulting status: org.bitrepository.bitrepositoryelements.ResultingStatus@41c3cce3[statusInfo=org.bitrepository.bitrepositoryelements.StatusInfo@1dc06cd0[statusCode=OK, statusText=Everythings fine..], statusTimestamp=2014-02-25T11:40:32.799+01:00] Result: Received event: fca9308d: GET_STATUS: COMPLETE: Test success: getAllStatuses Test starting: incompleteSetOfIdendifyResponses Description: Verify that the GetStatus client works correct without receiving responses from all contributers. Step: Configure 5 second timeout for identifying contributers. The default 2 contributers collection is used Stimuli: Calling getAuditTrails() Result: Received event: 8777b114: GET_STATUS: IDENTIFY_REQUEST_SENT: , Identifying contributors for getting status Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetStatusRequest@2ddf9935[correlationID=8777b114-dbcb-422a-ac4b-6bae3aced10d, collectionID=, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, from=incompleteSetOfIdendifyResponses, to=, version=26, minVersion=24, auditTrailInformation=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetStatusRequest@36bef22e[correlationID=8777b114-dbcb-422a-ac4b-6bae3aced10d, collectionID=, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, from=incompleteSetOfIdendifyResponses, to=, version=26, minVersion=24, auditTrailInformation=] Step: Send a identifyResponse from pillar 1 Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyContributorsForGetStatusResponse@320dc616[correlationID=8777b114-dbcb-422a-ac4b-6bae3aced10d, collectionID=, destination=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@2647e806[responseCode=IDENTIFICATION_POSITIVE, responseText=], contributor=Pillar1, timeToDeliver=] Result: Received event: 8777b114: GET_STATUS: COMPONENT_IDENTIFIED: ContributorID Pillar1 Step: Wait for timeout event Result: Received event: 8777b114: GET_STATUS: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2] Result: Received event: 8777b114: GET_STATUS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: 8777b114: GET_STATUS: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 8777b114: GET_STATUS: REQUEST_SENT: ContributorID [Pillar1], Sending GetStatusRequest Stimuli: Sending message: org.bitrepository.bitrepositorymessages.GetStatusRequest@15b9a88c[correlationID=8777b114-dbcb-422a-ac4b-6bae3aced10d, collectionID=, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, from=incompleteSetOfIdendifyResponses, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.GetStatusRequest@56444482[correlationID=8777b114-dbcb-422a-ac4b-6bae3aced10d, collectionID=, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-GetStatusClientComponentTest-cibuild01, from=incompleteSetOfIdendifyResponses, to=, version=26, minVersion=24, auditTrailInformation=, contributor=Pillar1] Test success: incompleteSetOfIdendifyResponses Test starting: verifyGetStatusClientFromFactory Test success: verifyGetStatusClientFromFactory Starting testcase NegativeResponseExceptionTest Test starting: testNegativeResponse Description: Test the instantiation of the exception Step: Setup Step: Try to throw such an exception with the response code Test success: testNegativeResponse Starting testcase PutFileClientComponentTest Test starting: defaultReturnChecksumsWithChecksumPillar Description: Tests that PutClient handles the presence of a ChecksumPillar correctly, when a return checksum of default type is requested (which a checksum pillar can provide). Step: Call putFile while requesting a salted checksum to be returned. Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, null, org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@334a5a1c[checksumType=MD5, checksumSalt=, otherChecksumType=], org.bitrepository.client.TestEventHandler@5661fe92, TEST-AUDIT-TRAIL) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@418ac1fe[correlationID=9b608d85-d6d6-4d90-8c36-213e2ddcd8a2, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=defaultReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@6a1ce5a6[correlationID=9b608d85-d6d6-4d90-8c36-213e2ddcd8a2, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=defaultReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Result: Received event: 9b608d85: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Step: Send an identification response with a PillarChecksumSpec element set, indicating that this is a checksum pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@f292bb7[correlationID=9b608d85-d6d6-4d90-8c36-213e2ddcd8a2, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@57f50327[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileID=, pillarChecksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@16a2228e[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 9b608d85: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Step: Send an normal identification response from pillar2. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@76934284[correlationID=9b608d85-d6d6-4d90-8c36-213e2ddcd8a2, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3df424ed[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar2, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 9b608d85: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: 9b608d85: PUT_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar2, Pillar1] Result: Received event: 9b608d85: PUT_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar2, Pillar1], Sending request for put file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@4ca137a5[correlationID=9b608d85-d6d6-4d90-8c36-213e2ddcd8a2, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=defaultReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar2, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@334a5a1c[checksumType=MD5, checksumSalt=, otherChecksumType=]] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@2e0e02bc[correlationID=9b608d85-d6d6-4d90-8c36-213e2ddcd8a2, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=defaultReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar2, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@3afcd90d[checksumType=MD5, checksumSalt=, otherChecksumType=]] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@19d59c43[correlationID=9b608d85-d6d6-4d90-8c36-213e2ddcd8a2, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=defaultReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@334a5a1c[checksumType=MD5, checksumSalt=, otherChecksumType=]] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@324361c6[correlationID=9b608d85-d6d6-4d90-8c36-213e2ddcd8a2, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=defaultReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@311a3f91[checksumType=MD5, checksumSalt=, otherChecksumType=]] Test success: defaultReturnChecksumsWithChecksumPillar Test starting: fileExistsOnPillarChecksumFromPillarNoClientChecksum Description: Tests that PutClient handles the presence of a file correctly, when the pillar returns a checksum but the putFile was called without a checksum. Step: Call putFile. Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, null, null, org.bitrepository.client.TestEventHandler@58c3612e, TEST-AUDIT-TRAIL) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@7c13e3f9[correlationID=d125332e-0422-4b74-9c84-20ba858a8fef, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=fileExistsOnPillarChecksumFromPillarNoClientChecksum, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Result: Received event: d125332e: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@3aa7563[correlationID=d125332e-0422-4b74-9c84-20ba858a8fef, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=fileExistsOnPillarChecksumFromPillarNoClientChecksum, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Step: Send a DUPLICATE_FILE_FAILURE response with a random checksum. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@2ee61f9c[correlationID=d125332e-0422-4b74-9c84-20ba858a8fef, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@62552d2[responseCode=DUPLICATE_FILE_FAILURE, responseText=Testing the handling of 'DUPLICATE FILE' identification.], pillarID=Pillar1, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@7c605c24[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@1a417f47[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-86}, calculationTimestamp=2014-02-25T11:40:39.024+01:00], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: d125332e: PUT_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: DUPLICATE_FILE_FAILURE, Received negative response from component Pillar1: org.bitrepository.bitrepositoryelements.ResponseInfo@2a5d05f6[responseCode=DUPLICATE_FILE_FAILURE, responseText=Testing the handling of 'DUPLICATE FILE' identification.] (existing file checksum does not match) Result: Received event: d125332e: PUT_FILE for file default-test-file.txt: FAILED: , Can not put file default-test-file.txt, as an different file already exists on pillar Pillar1 Test success: fileExistsOnPillarChecksumFromPillarNoClientChecksum Test starting: fileExistsOnPillarDifferentChecksumFromPillar Description: Tests that PutClient handles the presence of a file correctly, when the pillar returns a checksum different from the file being put. Step: Call putFile. Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@6ab45b36[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@66d06cf4[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-70}, calculationTimestamp=2014-02-25T11:40:39.212+01:00], null, org.bitrepository.client.TestEventHandler@7da13be7, TEST-AUDIT-TRAIL) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@6463fb20[correlationID=d7933102-f642-4bd2-9b2a-adec5e8e5191, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=fileExistsOnPillarDifferentChecksumFromPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Result: Received event: d7933102: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@6e6810a3[correlationID=d7933102-f642-4bd2-9b2a-adec5e8e5191, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=fileExistsOnPillarDifferentChecksumFromPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Step: Send a DUPLICATE_FILE_FAILURE response with a random checksum. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@59551884[correlationID=d7933102-f642-4bd2-9b2a-adec5e8e5191, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@61bcafed[responseCode=DUPLICATE_FILE_FAILURE, responseText=Testing the handling of 'DUPLICATE FILE' identification.], pillarID=Pillar1, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@2ac222bc[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@2f767a92[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-86}, calculationTimestamp=2014-02-25T11:40:39.308+01:00], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: d7933102: PUT_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: DUPLICATE_FILE_FAILURE, Received negative response from component Pillar1: org.bitrepository.bitrepositoryelements.ResponseInfo@2ccc40be[responseCode=DUPLICATE_FILE_FAILURE, responseText=Testing the handling of 'DUPLICATE FILE' identification.] (existing file checksum does not match) Result: Received event: d7933102: PUT_FILE for file default-test-file.txt: FAILED: , Can not put file default-test-file.txt, as an different file already exists on pillar Pillar1 Test success: fileExistsOnPillarDifferentChecksumFromPillar Test starting: fileExistsOnPillarNoChecksumFromPillar Description: Tests that PutClient handles the presence of a file correctly, when the pillar doesn't return a checksum in the identification response. Step: Call putFile. Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, null, null, org.bitrepository.client.TestEventHandler@540ac8de, TEST-AUDIT-TRAIL) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@644b66d4[correlationID=e0e9107c-827e-4981-a845-3fd41cee450a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=fileExistsOnPillarNoChecksumFromPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Result: Received event: e0e9107c: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@1b516fca[correlationID=e0e9107c-827e-4981-a845-3fd41cee450a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=fileExistsOnPillarNoChecksumFromPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Step: Send a DUPLICATE_FILE_FAILURE response without a checksum. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@7f8244c8[correlationID=e0e9107c-827e-4981-a845-3fd41cee450a, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@4171e7de[responseCode=DUPLICATE_FILE_FAILURE, responseText=Testing the handling of 'DUPLICATE FILE' identification.], pillarID=Pillar1, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: e0e9107c: PUT_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: DUPLICATE_FILE_FAILURE, Received negative response from component Pillar1: org.bitrepository.bitrepositoryelements.ResponseInfo@3954dfe5[responseCode=DUPLICATE_FILE_FAILURE, responseText=Testing the handling of 'DUPLICATE FILE' identification.] Result: Received event: e0e9107c: PUT_FILE for file default-test-file.txt: FAILED: , Can not put file default-test-file.txt, as an file already exists on pillar Pillar1 Test success: fileExistsOnPillarNoChecksumFromPillar Test starting: noPillarsResponding Description: Tests the handling of missing identification responses from all pillar Added fixture: Sets the identification timeout to 1 sec. Step: Request the putting of a file through the PutClient Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, null, null, org.bitrepository.client.TestEventHandler@131dff0d, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@1653b849[correlationID=017e25ab-3a9b-4048-a182-a356f4b9f2e0, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=noPillarsResponding, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Result: Received event: 017e25ab: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@4fa35165[correlationID=017e25ab-3a9b-4048-a182-a356f4b9f2e0, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=noPillarsResponding, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Step: Do not respond. Just await the timeout. Result: Received event: 017e25ab: PUT_FILE for file default-test-file.txt: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2, Pillar1] Result: Received event: 017e25ab: PUT_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: 017e25ab: PUT_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: null, Timeout for identifying contributor Result: Received event: 017e25ab: PUT_FILE for file default-test-file.txt: FAILED: , Unable to continue operation, contributors unavailable. Test success: noPillarsResponding Test starting: noReturnChecksumsWithChecksumPillar Description: Tests that PutClient handles the presence of a ChecksumPillar correctly, when no return checksum is requested. Step: Call putFile while requesting a salted checksum to be returned. Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, null, null, org.bitrepository.client.TestEventHandler@36c65d5a, TEST-AUDIT-TRAIL) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@191adbce[correlationID=1da86a2a-207c-45fc-94b9-b83971554d90, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=noReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Result: Received event: 1da86a2a: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@3eff561[correlationID=1da86a2a-207c-45fc-94b9-b83971554d90, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=noReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Step: Send an identification response with a PillarChecksumSpec element set, indicating that this is a checksum pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@7ed6b54b[correlationID=1da86a2a-207c-45fc-94b9-b83971554d90, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@42188ffb[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileID=, pillarChecksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@5a94c9a3[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 1da86a2a: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Step: Send an normal identification response from pillar2. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@468d60e9[correlationID=1da86a2a-207c-45fc-94b9-b83971554d90, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@6bd5852e[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar2, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 1da86a2a: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: 1da86a2a: PUT_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1, Pillar2] Result: Received event: 1da86a2a: PUT_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar2, Pillar1], Sending request for put file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@1d9aac2c[correlationID=1da86a2a-207c-45fc-94b9-b83971554d90, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=noReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar2, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@6ee4d50e[correlationID=1da86a2a-207c-45fc-94b9-b83971554d90, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=noReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@475d5cfd[correlationID=1da86a2a-207c-45fc-94b9-b83971554d90, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=noReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar2, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@1e753e35[correlationID=1da86a2a-207c-45fc-94b9-b83971554d90, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=noReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Test success: noReturnChecksumsWithChecksumPillar Test starting: normalPutFile Description: Tests the PutClient. Makes a whole conversation for the put client for a 'good' scenario. Added fixture: Initialise the number of pillars to one Step: Ensure that the test-file is placed on the HTTP server. Step: Request the delivery of a file from a specific pillar. A callback listener should be supplied. Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, null, null, org.bitrepository.client.TestEventHandler@a1e1bc8, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@3eb1eca8[correlationID=8707f787-57cc-4095-9f16-8c71c5656d26, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=normalPutFile, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Result: Received event: 8707f787: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@198cd88e[correlationID=8707f787-57cc-4095-9f16-8c71c5656d26, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=normalPutFile, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Step: Make response for the pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@6ddd5fbc[correlationID=8707f787-57cc-4095-9f16-8c71c5656d26, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@60b867fd[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 8707f787: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 8707f787: PUT_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 8707f787: PUT_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for put file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@187881ec[correlationID=8707f787-57cc-4095-9f16-8c71c5656d26, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=normalPutFile, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@b1b8255[correlationID=8707f787-57cc-4095-9f16-8c71c5656d26, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=normalPutFile, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Step: Validate the steps of the PutClient by going through the events. Step: The pillar sends a progress response to the PutClient. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileProgressResponse@3b09a025[correlationID=8707f787-57cc-4095-9f16-8c71c5656d26, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@72f96c02[responseCode=OPERATION_ACCEPTED_PROGRESS, responseText=First test progress response message], pillarID=Pillar1, pillarChecksumSpec=, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received event: 8707f787: PUT_FILE for file default-test-file.txt: PROGRESS: ContributorID Pillar1, First test progress response message Step: Send a final response message to the PutClient. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileFinalResponse@44cef8eb[correlationID=8707f787-57cc-4095-9f16-8c71c5656d26, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@70382f97[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar1, pillarChecksumSpec=, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, checksumDataForNewFile=, checksumDataForExistingFile=] Result: Received event: 8707f787: PUT_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1, requestedChecksumResult=null Result: Received event: 8707f787: PUT_FILE for file default-test-file.txt: COMPLETE: Test success: normalPutFile Test starting: onePillarPutRetryFailure Reference: BITMAG-810 Reference client should be able to retry failed file transfers Description: Tests that a putfile attempt failing due to FILE_TRANSFER_FAILURE is only attempted the maximum allowed attempts Added fixture: Sets the identification timeout to 3 sec, allow two retries and only register one pillar. Step: Request the putting of a file through the PutClient Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, null, null, org.bitrepository.client.TestEventHandler@7c902656, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@5bc517fd[correlationID=76abb1de-134f-40c3-b66f-25ff76d7d344, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarPutRetryFailure, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@21778953[correlationID=76abb1de-134f-40c3-b66f-25ff76d7d344, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarPutRetryFailure, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Result: Received event: 76abb1de: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Step: Send an identification response from the one pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@2ed8b94f[correlationID=76abb1de-134f-40c3-b66f-25ff76d7d344, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@166e0990[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 76abb1de: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 76abb1de: PUT_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 76abb1de: PUT_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for put file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@a795c8e[correlationID=76abb1de-134f-40c3-b66f-25ff76d7d344, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarPutRetryFailure, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Step: The client should proceed to send a putFileOperation request to the responding pillar. Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@739f6eb6[correlationID=76abb1de-134f-40c3-b66f-25ff76d7d344, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarPutRetryFailure, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Step: Send a PutFileFinalResponse indicating a FILE_TRANSFER_FAILURE Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileFinalResponse@681daa07[correlationID=76abb1de-134f-40c3-b66f-25ff76d7d344, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@7385e6f7[responseCode=FILE_TRANSFER_FAILURE, responseText=], pillarID=Pillar1, pillarChecksumSpec=, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, checksumDataForNewFile=, checksumDataForExistingFile=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@2c9ce74d[correlationID=76abb1de-134f-40c3-b66f-25ff76d7d344, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarPutRetryFailure, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Result: Received event: 76abb1de: PUT_FILE for file default-test-file.txt: WARNING: ContributorID Pillar1, Retrying putfile (attempt number 2) Step: Send a PutFileFinalResponse indicating a FILE_TRANSFER_FAILURE for the second put attempt Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@5944836d[correlationID=76abb1de-134f-40c3-b66f-25ff76d7d344, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarPutRetryFailure, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileFinalResponse@211096e4[correlationID=76abb1de-134f-40c3-b66f-25ff76d7d344, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@482263b1[responseCode=FILE_TRANSFER_FAILURE, responseText=], pillarID=Pillar1, pillarChecksumSpec=, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, checksumDataForNewFile=, checksumDataForExistingFile=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@4975baa5[correlationID=76abb1de-134f-40c3-b66f-25ff76d7d344, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarPutRetryFailure, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Result: Received event: 76abb1de: PUT_FILE for file default-test-file.txt: WARNING: ContributorID Pillar1, Retrying putfile (attempt number 3) Step: Send a PutFileFinalResponse indicating a FILE_TRANSFER_FAILURE for the third put attempt Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@1886105c[correlationID=76abb1de-134f-40c3-b66f-25ff76d7d344, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarPutRetryFailure, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileFinalResponse@99c1498[correlationID=76abb1de-134f-40c3-b66f-25ff76d7d344, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@660c0c15[responseCode=FILE_TRANSFER_FAILURE, responseText=], pillarID=Pillar1, pillarChecksumSpec=, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, checksumDataForNewFile=, checksumDataForExistingFile=] Result: Received event: 76abb1de: PUT_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FILE_TRANSFER_FAILURE Result: Received event: 76abb1de: PUT_FILE for file default-test-file.txt: FAILED: , Failed operation. Cause(s): [76abb1de: PUT_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FILE_TRANSFER_FAILURE] Test success: onePillarPutRetryFailure Result: Received event: bd0ca39f: GET_CHECKSUMS: FAILED: , Failed to receive responses from all contributors before timeout(60000ms). Missing contributors [Pillar2, Pillar1] Test starting: onePillarPutRetrySuccess Reference: BITMAG-810 Reference client should be able to retry failed file transfers Description: Tests the handling of a failed transmission when retry is allowed Added fixture: Sets the identification timeout to 3 sec, allow two retries and only register one pillar. Step: Request the putting of a file through the PutClient Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, null, null, org.bitrepository.client.TestEventHandler@487aa089, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@6ac1a78b[correlationID=636da93d-ebd7-4c25-8561-1293b1637db1, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarPutRetrySuccess, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@7b9fce53[correlationID=636da93d-ebd7-4c25-8561-1293b1637db1, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarPutRetrySuccess, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Result: Received event: 636da93d: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Step: Send an identification response from the one pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@38a2ea8d[correlationID=636da93d-ebd7-4c25-8561-1293b1637db1, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@4fd4ec07[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 636da93d: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 636da93d: PUT_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 636da93d: PUT_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for put file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@29b73f85[correlationID=636da93d-ebd7-4c25-8561-1293b1637db1, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarPutRetrySuccess, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Step: The client should proceed to send a putFileOperation request to the responding pillar. Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@65de5534[correlationID=636da93d-ebd7-4c25-8561-1293b1637db1, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarPutRetrySuccess, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Step: Send a PutFileFinalResponse indicating a FILE_TRANSFER_FAILURE Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileFinalResponse@67abfd2b[correlationID=636da93d-ebd7-4c25-8561-1293b1637db1, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@4c7a4739[responseCode=FILE_TRANSFER_FAILURE, responseText=], pillarID=Pillar1, pillarChecksumSpec=, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, checksumDataForNewFile=, checksumDataForExistingFile=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@44868cf[correlationID=636da93d-ebd7-4c25-8561-1293b1637db1, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarPutRetrySuccess, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Result: Received event: 636da93d: PUT_FILE for file default-test-file.txt: WARNING: ContributorID Pillar1, Retrying putfile (attempt number 2) Step: A new PutFileRequest is send, pillar responds with success Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@7be3f9d9[correlationID=636da93d-ebd7-4c25-8561-1293b1637db1, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarPutRetrySuccess, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileFinalResponse@3428551a[correlationID=636da93d-ebd7-4c25-8561-1293b1637db1, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@43eb38b6[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar1, pillarChecksumSpec=, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, checksumDataForNewFile=, checksumDataForExistingFile=] Result: Received event: 636da93d: PUT_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1, requestedChecksumResult=null Result: Received event: 636da93d: PUT_FILE for file default-test-file.txt: COMPLETE: Test success: onePillarPutRetrySuccess Test starting: onePillarRespondingWithPartialPutAllowed Reference: BITMAG-598 It should be possible to putFiles, even though only a subset of the pillars are available Description: Tests the handling of missing identification responses from one pillar, when partial put are allowed Added fixture: Sets the identification timeout to 3 sec and allow partial puts. Step: Request the putting of a file through the PutClient Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, null, null, org.bitrepository.client.TestEventHandler@40b605f1, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@6e403267[correlationID=7f32796b-084b-4266-99d9-3cec767562be, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarRespondingWithPartialPutAllowed, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@f414d58[correlationID=7f32796b-084b-4266-99d9-3cec767562be, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarRespondingWithPartialPutAllowed, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Result: Received event: 7f32796b: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Step: Only send an identification response from one pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@83cd43b[correlationID=7f32796b-084b-4266-99d9-3cec767562be, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@519171b6[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 7f32796b: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Step: Await the timeout. Result: Received event: 7f32796b: PUT_FILE for file default-test-file.txt: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2] Result: Received event: 7f32796b: PUT_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: 7f32796b: PUT_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 7f32796b: PUT_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for put file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@4d996091[correlationID=7f32796b-084b-4266-99d9-3cec767562be, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarRespondingWithPartialPutAllowed, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Step: The client should proceed to send a putFileOperation request to the responding pillar. Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@4a58ea59[correlationID=7f32796b-084b-4266-99d9-3cec767562be, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarRespondingWithPartialPutAllowed, to=, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Step: Send a pillar complete event Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileFinalResponse@13819f31[correlationID=7f32796b-084b-4266-99d9-3cec767562be, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@22fa53f8[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar1, pillarChecksumSpec=, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, checksumDataForNewFile=, checksumDataForExistingFile=] Result: Received event: 7f32796b: PUT_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1, requestedChecksumResult=null Result: Received event: 7f32796b: PUT_FILE for file default-test-file.txt: FAILED: , Failed operation. Cause(s): [7f32796b: PUT_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor] Test success: onePillarRespondingWithPartialPutAllowed Result: Received event: 24b03301: GET_FILE_IDS: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2, Pillar1] Result: Received event: 24b03301: GET_FILE_IDS: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: 24b03301: GET_FILE_IDS: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: null, Timeout for identifying contributor Result: Received event: 24b03301: GET_FILE_IDS: FAILED: , Unable to continue operation, contributors unavailable. Test starting: onePillarRespondingWithPartialPutDisallowed Description: Tests the handling of missing identification responses from one pillar, when partial put are allowed Added fixture: Sets the identification timeout to 3 sec and disallow partial puts. Step: Request the putting of a file through the PutClient Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, null, null, org.bitrepository.client.TestEventHandler@2ac6b7cb, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@5c4c865d[correlationID=cf72bca1-9f56-4b44-8685-76178300139a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarRespondingWithPartialPutDisallowed, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@7db7797e[correlationID=cf72bca1-9f56-4b44-8685-76178300139a, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=onePillarRespondingWithPartialPutDisallowed, to=, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Result: Received event: cf72bca1: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Step: Only send an identification response from one pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@18897fad[correlationID=cf72bca1-9f56-4b44-8685-76178300139a, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@6b1d4370[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: cf72bca1: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Step: Await the timeout. Result: Received event: cf72bca1: PUT_FILE for file default-test-file.txt: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar2] Result: Received event: cf72bca1: PUT_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar2 ResponseCode: null, Timeout for identifying contributor Result: Received event: cf72bca1: PUT_FILE for file default-test-file.txt: FAILED: , Unable to continue operation, contributors unavailable. Test success: onePillarRespondingWithPartialPutDisallowed Test starting: putClientOperationTimeout Description: Tests the handling of a failed operation for the PutClient Step: Initialise the number of pillars and the PutClient. Sets the operation timeout to 1 sec. Step: Request the putting of a file through the PutClient Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, null, null, org.bitrepository.client.TestEventHandler@1db9d5a2, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@13788ded[correlationID=2d0e7d02-b975-491e-9a11-e635e43b1b80, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=putClientOperationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Result: Received event: 2d0e7d02: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@48811e8b[correlationID=2d0e7d02-b975-491e-9a11-e635e43b1b80, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=putClientOperationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Step: Make response for the pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@14fc5cdd[correlationID=2d0e7d02-b975-491e-9a11-e635e43b1b80, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@4434bbee[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 2d0e7d02: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 2d0e7d02: PUT_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 2d0e7d02: PUT_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for put file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@2f547594[correlationID=2d0e7d02-b975-491e-9a11-e635e43b1b80, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=putClientOperationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@6248b446[correlationID=2d0e7d02-b975-491e-9a11-e635e43b1b80, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=putClientOperationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Step: Validate the steps of the PutClient by going through the events. Step: Do not respond. Just await the timeout. Result: Received event: 2d0e7d02: PUT_FILE for file default-test-file.txt: FAILED: , Failed to receive responses from all contributors before timeout(1000ms). Missing contributors [Pillar1] Test success: putClientOperationTimeout Test starting: putClientPillarOperationFailed Description: Tests the handling of a operation failure for the PutClient. Step: Initialise the number of pillars to one Step: Ensure that the test-file is placed on the HTTP server. Step: Request the delivery of a file from a specific pillar. A callback listener should be supplied. Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, null, null, org.bitrepository.client.TestEventHandler@2ab0e886, TEST-AUDIT-TRAIL) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@4471cb4f[correlationID=e713821a-92e0-4425-a66b-a66370982b75, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=putClientPillarOperationFailed, to=Pillar1, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Result: Received event: e713821a: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@5bc8caf4[correlationID=e713821a-92e0-4425-a66b-a66370982b75, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=putClientPillarOperationFailed, to=Pillar1, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Step: Send pillar response. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@5b84883f[correlationID=e713821a-92e0-4425-a66b-a66370982b75, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@5a0d0f09[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: e713821a: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: e713821a: PUT_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: e713821a: PUT_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for put file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@ea547e1[correlationID=e713821a-92e0-4425-a66b-a66370982b75, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=putClientPillarOperationFailed, to=Pillar1, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@68263d45[correlationID=e713821a-92e0-4425-a66b-a66370982b75, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=putClientPillarOperationFailed, to=Pillar1, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Step: Validate the steps of the PutClient by going through the events. Step: Send a failed response message to the PutClient. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileFinalResponse@2680b26e[correlationID=e713821a-92e0-4425-a66b-a66370982b75, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@4b426781[responseCode=FAILURE, responseText=Verifying that a failure can be understood!], pillarID=Pillar1, pillarChecksumSpec=, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, checksumDataForNewFile=, checksumDataForExistingFile=] Result: Received event: e713821a: PUT_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE, Verifying that a failure can be understood! Result: Received event: e713821a: PUT_FILE for file default-test-file.txt: FAILED: , Failed operation. Cause(s): [e713821a: PUT_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE, Verifying that a failure can be understood!] Test success: putClientPillarOperationFailed Test starting: putToOtherCollection Reference: BITMAG-925 Client will always try to put to the pillars defined in the first collection Description: Tests the putFIle client will correctly try to put to a second collection if required Added fixture: Sets the identification timeout to 3 sec, allow two retries and only register one pillar. Added fixture: Configure collection1 to contain both pillars and collection 2 to only contain pillar2 Step: Request the putting of a file through the PutClient for collection2 Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, null, null, org.bitrepository.client.TestEventHandler@5b39dfa8, null) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@348abd62[correlationID=1e3d13f3-2625-4329-b2d6-85200b8feb6c, collectionID=SinglePillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=putToOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@5aff27b[correlationID=1e3d13f3-2625-4329-b2d6-85200b8feb6c, collectionID=SinglePillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=putToOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=0] Result: Received event: 1e3d13f3: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Step: Send an identification response from pillar2. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@62586c27[correlationID=1e3d13f3-2625-4329-b2d6-85200b8feb6c, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@1b24a6e2[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar2, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 1e3d13f3: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: 1e3d13f3: PUT_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar2] Result: Received event: 1e3d13f3: PUT_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar2], Sending request for put file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@c9394cf[correlationID=1e3d13f3-2625-4329-b2d6-85200b8feb6c, collectionID=SinglePillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=putToOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@1dd4fe5a[correlationID=1e3d13f3-2625-4329-b2d6-85200b8feb6c, collectionID=SinglePillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=putToOtherCollection, to=Pillar2, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar2, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Step: Send a put complete event from the pillar Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileFinalResponse@a86d603[correlationID=1e3d13f3-2625-4329-b2d6-85200b8feb6c, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@1a4c645b[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar2, pillarChecksumSpec=, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, checksumDataForNewFile=, checksumDataForExistingFile=] Result: Received event: 1e3d13f3: PUT_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar2, requestedChecksumResult=null Result: Received event: 1e3d13f3: PUT_FILE for file default-test-file.txt: COMPLETE: Test success: putToOtherCollection Test starting: saltedReturnChecksumsWithChecksumPillar Description: Tests that PutClient handles the presence of a ChecksumPillar correctly, when a salted return checksum (which a checksum pillar can't provide) is requested. Reference: BITMAG-677put, replace and delete clients fails if return checksums are requested and a checksumpillar is involved Step: Call putFile while requesting a salted checksum to be returned. Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, null, org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@5916cf7a[checksumType=HMAC_MD5, checksumSalt={-86}, otherChecksumType=], org.bitrepository.client.TestEventHandler@688f8047, TEST-AUDIT-TRAIL) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@252eeaf2[correlationID=bd811821-da24-4830-8bd7-870a9539a8da, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=saltedReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Result: Received event: bd811821: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@1e38f08b[correlationID=bd811821-da24-4830-8bd7-870a9539a8da, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=saltedReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Step: Send an identification response with a PillarChecksumSpec element set, indicating that this is a checksum pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@2c38452d[correlationID=bd811821-da24-4830-8bd7-870a9539a8da, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@2245a409[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar1, fileID=, pillarChecksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@a145c73[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: bd811821: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Step: Send an normal identification response from pillar2. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@2747e1c0[correlationID=bd811821-da24-4830-8bd7-870a9539a8da, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@60361865[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar2, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: bd811821: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: bd811821: PUT_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar2, Pillar1] Result: Received event: bd811821: PUT_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar2, Pillar1], Sending request for put file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@4485fb6a[correlationID=bd811821-da24-4830-8bd7-870a9539a8da, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=saltedReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar2, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@5916cf7a[checksumType=HMAC_MD5, checksumSalt={-86}, otherChecksumType=]] Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@a363391[correlationID=bd811821-da24-4830-8bd7-870a9539a8da, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=saltedReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@5e4cc069[correlationID=bd811821-da24-4830-8bd7-870a9539a8da, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=saltedReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar2, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@1ad42701[checksumType=HMAC_MD5, checksumSalt={-86}, otherChecksumType=]] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@503402d6[correlationID=bd811821-da24-4830-8bd7-870a9539a8da, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=saltedReturnChecksumsWithChecksumPillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar1, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=, checksumRequestForNewFile=] Test success: saltedReturnChecksumsWithChecksumPillar Test starting: sameFileExistsOnOnePillar Description: Tests that PutClient handles the presence of a file correctly, when the pillar returns a checksum equal the file being put (idempotent). Step: Call putFile. Stimuli: Calling PutFileWithId(http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, default-test-file.txt, 0, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@66741dd5[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@5152bf7f[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:53.501+01:00], null, org.bitrepository.client.TestEventHandler@f9a548f, TEST-AUDIT-TRAIL) Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@5d258049[correlationID=1a5c89c5-b2a3-4d4b-b48c-7d7865be1c6e, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=sameFileExistsOnOnePillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileRequest@2cd56d8[correlationID=1a5c89c5-b2a3-4d4b-b48c-7d7865be1c6e, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=sameFileExistsOnOnePillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, fileID=default-test-file.txt, fileSize=0] Result: Received event: 1a5c89c5: PUT_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for put file Step: Send a DUPLICATE_FILE_FAILURE response with a checksum equal to the one supplied to the client. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@6cedc394[correlationID=1a5c89c5-b2a3-4d4b-b48c-7d7865be1c6e, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@6dc3616a[responseCode=DUPLICATE_FILE_FAILURE, responseText=Testing the handling of 'DUPLICATE FILE' identification.], pillarID=Pillar1, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@3630ae72[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@360cda29[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:53.595+01:00], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 1a5c89c5: PUT_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1, requestedChecksumResult=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@54ac61ca[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@1484034[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:53.595+01:00], File already existed on Pillar1 Step: Send an identification response from the second pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForPutFileResponse@7f33665c[correlationID=1a5c89c5-b2a3-4d4b-b48c-7d7865be1c6e, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar2_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@7856342[responseCode=IDENTIFICATION_POSITIVE, responseText=], pillarID=Pillar2, fileID=, pillarChecksumSpec=, checksumDataForExistingFile=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 1a5c89c5: PUT_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar2 Result: Received event: 1a5c89c5: PUT_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar2] Result: Received event: 1a5c89c5: PUT_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar2], Sending request for put file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileRequest@37c02df6[correlationID=1a5c89c5-b2a3-4d4b-b48c-7d7865be1c6e, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=sameFileExistsOnOnePillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar2, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@66741dd5[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@5152bf7f[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:53.501+01:00], checksumRequestForNewFile=] Step: The client should proceed to send a putFileOperation request to the second pillar. Result: Received message on Pillar2_topic-cibuild01 : org.bitrepository.bitrepositorymessages.PutFileRequest@70467829[correlationID=1a5c89c5-b2a3-4d4b-b48c-7d7865be1c6e, collectionID=TwoPillarCollection, destination=Pillar2_topic-cibuild01, replyTo=TEST-TOPIC-PutFileClientComponentTest-cibuild01, from=sameFileExistsOnOnePillar, to=, version=26, minVersion=24, auditTrailInformation=TEST-AUDIT-TRAIL, pillarID=Pillar2, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@3974202a[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@76ebc2dd[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={-108,10,81,-78,80,-25,-86,-126,-40,-24,-22,49,33,127,-14,103}, calculationTimestamp=2014-02-25T11:40:53.501+01:00], checksumRequestForNewFile=] Step: Send a pillar complete event Stimuli: Sending message: org.bitrepository.bitrepositorymessages.PutFileFinalResponse@227b0555[correlationID=1a5c89c5-b2a3-4d4b-b48c-7d7865be1c6e, collectionID=, destination=TEST-TOPIC-PutFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar2, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@3a9b2122[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar2, pillarChecksumSpec=, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, checksumDataForNewFile=, checksumDataForExistingFile=] Result: Received event: 1a5c89c5: PUT_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar2, requestedChecksumResult=null Result: Received event: 1a5c89c5: PUT_FILE for file default-test-file.txt: COMPLETE: Test success: sameFileExistsOnOnePillar Test starting: verifyPutClientFromFactory Description: Testing the initialization through the ModifyComponentFactory. Step: Use the ModifyComponentFactory to instantiate a PutFileClient. Test success: verifyPutClientFromFactory Starting testcase ReplaceFileClientComponentTest Test starting: replaceClientIdentificationTimeout Description: Tests the handling of a failed identification for the ReplaceClient Step: Initialise the number of pillars and the DeleteClient. Sets the identification timeout to 1 sec. Step: Request a file to be replaced on the default pillar. Stimuli: replaceFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@467095e1[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@9800ae8[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@354c0a37[checksumType=SHA1, checksumSalt=, otherChecksumType=], http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, 10, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@1332bc37[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@9800ae8[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@354c0a37[checksumType=SHA1, checksumSalt=, otherChecksumType=], org.bitrepository.client.TestEventHandler@67e2c8b9, null Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForReplaceFileRequest@39301e4b[correlationID=3817903a-f5d0-480b-8df1-14e2d3a46440, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=replaceClientIdentificationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=] Result: Received event: 3817903a: REPLACE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for replace file Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForReplaceFileRequest@6fa12170[correlationID=3817903a-f5d0-480b-8df1-14e2d3a46440, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=replaceClientIdentificationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=] Step: Do not respond. Just await the timeout. Result: Received event: 3817903a: REPLACE_FILE for file default-test-file.txt: IDENTIFY_TIMEOUT: , Time has run out for looking up contributors The following contributors didn't respond: [Pillar1] Result: Received event: 3817903a: REPLACE_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: null, Timeout for identifying contributor Result: Received event: 3817903a: REPLACE_FILE for file default-test-file.txt: FAILED: , Unable to continue operation, contributors unavailable. Test success: replaceClientIdentificationTimeout Test starting: replaceClientOperationTimeout Description: Tests the handling of a failed operation for the ReplaceClient Step: Initialise the number of pillars and the DeleteClient. Sets the operation timeout to 1 sec. Step: Request a file to be replaced on the default pillar. Stimuli: replaceFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@71af8ca6[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@3c3b2099[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@4dd93bb3[checksumType=SHA1, checksumSalt=, otherChecksumType=], http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, 10, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@70de8cb2[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@3c3b2099[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@4dd93bb3[checksumType=SHA1, checksumSalt=, otherChecksumType=], org.bitrepository.client.TestEventHandler@22e73402, null Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForReplaceFileRequest@79078134[correlationID=8eff5078-adf6-4937-a072-77d0b09ea7c9, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=replaceClientOperationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=] Result: Received event: 8eff5078: REPLACE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for replace file Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForReplaceFileRequest@d230ed7[correlationID=8eff5078-adf6-4937-a072-77d0b09ea7c9, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=replaceClientOperationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=] Step: Make response for the pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForReplaceFileResponse@78a34bfd[correlationID=8eff5078-adf6-4937-a072-77d0b09ea7c9, collectionID=, destination=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@28d20ceb[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 8eff5078: REPLACE_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 8eff5078: REPLACE_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 8eff5078: REPLACE_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for replace file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.ReplaceFileRequest@a905824[correlationID=8eff5078-adf6-4937-a072-77d0b09ea7c9, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=replaceClientOperationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@71af8ca6[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@3c3b2099[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@4dd93bb3[checksumType=SHA1, checksumSalt=, otherChecksumType=], fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=10, checksumDataForNewFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@70de8cb2[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@3c3b2099[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForNewFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@4dd93bb3[checksumType=SHA1, checksumSalt=, otherChecksumType=]] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.ReplaceFileRequest@2ece51ad[correlationID=8eff5078-adf6-4937-a072-77d0b09ea7c9, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=replaceClientOperationTimeout, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@6b544cdc[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@6b823690[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@31cc5f14[checksumType=SHA1, checksumSalt=, otherChecksumType=], fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=10, checksumDataForNewFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@60763396[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@7034ee53[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForNewFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@230ac4b2[checksumType=SHA1, checksumSalt=, otherChecksumType=]] Step: Validate the steps of the ReplaceClient by going through the events. Step: Do not respond. Just await the timeout. Result: Received event: 8eff5078: REPLACE_FILE for file default-test-file.txt: FAILED: , Failed to receive responses from all contributors before timeout(1000ms). Missing contributors [Pillar1] Test success: replaceClientOperationTimeout Test starting: replaceClientPillarFailed Description: Tests the handling of a operation failure for the ReplaceClient. Step: Initialise the number of pillars to one Step: Request a file to be replaced on the default pillar. Stimuli: replaceFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@768a487[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@67099edd[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@289cf404[checksumType=SHA1, checksumSalt=, otherChecksumType=], http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, 0, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@58584770[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@67099edd[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@289cf404[checksumType=SHA1, checksumSalt=, otherChecksumType=], org.bitrepository.client.TestEventHandler@bba3760, null Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForReplaceFileRequest@6e8985a3[correlationID=8793c712-3032-4a61-8cda-634eaa0dde9b, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=replaceClientPillarFailed, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForReplaceFileRequest@2d96600e[correlationID=8793c712-3032-4a61-8cda-634eaa0dde9b, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=replaceClientPillarFailed, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=] Result: Received event: 8793c712: REPLACE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for replace file Step: Make response for the pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForReplaceFileResponse@6b7c4e83[correlationID=8793c712-3032-4a61-8cda-634eaa0dde9b, collectionID=, destination=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@2e06b196[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 8793c712: REPLACE_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 8793c712: REPLACE_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 8793c712: REPLACE_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for replace file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.ReplaceFileRequest@c37f53e[correlationID=8793c712-3032-4a61-8cda-634eaa0dde9b, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=replaceClientPillarFailed, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@768a487[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@67099edd[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@289cf404[checksumType=SHA1, checksumSalt=, otherChecksumType=], fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@58584770[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@67099edd[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForNewFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@289cf404[checksumType=SHA1, checksumSalt=, otherChecksumType=]] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.ReplaceFileRequest@40571c11[correlationID=8793c712-3032-4a61-8cda-634eaa0dde9b, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=replaceClientPillarFailed, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@16f3c117[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@5d09d8c6[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@3176dee2[checksumType=SHA1, checksumSalt=, otherChecksumType=], fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@7322e0cc[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@76d4ac21[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForNewFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@470e77a[checksumType=SHA1, checksumSalt=, otherChecksumType=]] Step: Validate the steps of the ReplaceClient by going through the events. Step: Send a failed response message to the ReplaceClient. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.ReplaceFileFinalResponse@106cfcdd[correlationID=8793c712-3032-4a61-8cda-634eaa0dde9b, collectionID=, destination=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@634d1997[responseCode=FAILURE, responseText=Verifying that a failure can be understood!], pillarID=Pillar1, pillarChecksumSpec=, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, checksumDataForExistingFile=, checksumDataForNewFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@58584770[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@67099edd[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00]] Result: Received event: 8793c712: REPLACE_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE, Verifying that a failure can be understood! Result: Received event: 8793c712: REPLACE_FILE for file default-test-file.txt: FAILED: , Failed operation. Cause(s): [8793c712: REPLACE_FILE for file default-test-file.txt: COMPONENT_FAILED: ContributorID Pillar1 ResponseCode: FAILURE, Verifying that a failure can be understood!] Test success: replaceClientPillarFailed Test starting: replaceClientTester Description: Tests the ReplaceFileClient. Makes a whole conversation for the replace client for a 'good' scenario. Step: Initialise the number of pillars to one Step: Request a file to be replaced on all pillars (which means only the default pillar). Stimuli: replaceFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@2b183968[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@4360f0f2[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@116ac26d[checksumType=SHA1, checksumSalt=, otherChecksumType=], http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, 10, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@78028b09[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@4360f0f2[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@116ac26d[checksumType=SHA1, checksumSalt=, otherChecksumType=], org.bitrepository.client.TestEventHandler@6ef6396c, null Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForReplaceFileRequest@67341a5d[correlationID=4edd81dc-7611-4156-9243-6aa830842348, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=replaceClientTester, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=] Result: Received event: 4edd81dc: REPLACE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for replace file Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForReplaceFileRequest@2c518cb[correlationID=4edd81dc-7611-4156-9243-6aa830842348, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=replaceClientTester, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=] Step: Make response for the pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForReplaceFileResponse@59deb8d8[correlationID=4edd81dc-7611-4156-9243-6aa830842348, collectionID=, destination=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@2d399b00[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, pillarChecksumSpec=, timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 4edd81dc: REPLACE_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 4edd81dc: REPLACE_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 4edd81dc: REPLACE_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for replace file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.ReplaceFileRequest@4942dbd9[correlationID=4edd81dc-7611-4156-9243-6aa830842348, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=replaceClientTester, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@2b183968[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@4360f0f2[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@116ac26d[checksumType=SHA1, checksumSalt=, otherChecksumType=], fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=10, checksumDataForNewFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@78028b09[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@4360f0f2[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForNewFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@116ac26d[checksumType=SHA1, checksumSalt=, otherChecksumType=]] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.ReplaceFileRequest@1e30d735[correlationID=4edd81dc-7611-4156-9243-6aa830842348, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=replaceClientTester, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@1880e80f[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@37033d5a[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@35b0fbed[checksumType=SHA1, checksumSalt=, otherChecksumType=], fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=10, checksumDataForNewFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@766ba024[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@13ded839[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForNewFile=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@b459060[checksumType=SHA1, checksumSalt=, otherChecksumType=]] Step: Validate the steps of the ReplaceClient by going through the events. Step: The pillar sends a progress response to the ReplaceClient. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.ReplaceFileProgressResponse@4099468[correlationID=4edd81dc-7611-4156-9243-6aa830842348, collectionID=, destination=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@72f96c02[responseCode=OPERATION_ACCEPTED_PROGRESS, responseText=First test progress response message], pillarID=Pillar1, pillarChecksumSpec=, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt] Result: Received event: 4edd81dc: REPLACE_FILE for file default-test-file.txt: PROGRESS: ContributorID Pillar1, First test progress response message Step: Send a final response message to the ReplaceClient. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.ReplaceFileFinalResponse@7fdd0f53[correlationID=4edd81dc-7611-4156-9243-6aa830842348, collectionID=, destination=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@a1953ba[responseCode=OPERATION_COMPLETED, responseText=], pillarID=Pillar1, pillarChecksumSpec=, fileID=default-test-file.txt, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, checksumDataForExistingFile=, checksumDataForNewFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@78028b09[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@4360f0f2[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00]] Result: Received event: 4edd81dc: REPLACE_FILE for file default-test-file.txt: COMPONENT_COMPLETE: ContributorID Pillar1, checksum for new file: 'org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@758b8ef8[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@1d577812[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00]',checksum for replaced file: 'null' Result: Received event: 4edd81dc: REPLACE_FILE for file default-test-file.txt: COMPLETE: Test success: replaceClientTester Test starting: saltedReturnChecksumsForNewFileWithChecksumPillar Description: Tests that the ReplaceClient handles the presence of a ChecksumPillar correctly, when a salted return checksum (which a checksum pillar can't provide) is requested for the new file. Step: Call replaceFile while requesting a salted checksum to be returned. Stimuli: replaceFile(default-test-file.txt, Pillar1, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@5e325b2[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@3bfcc23[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], null, http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, 0, org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@24f30fc1[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@3bfcc23[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@518f5ada[checksumType=MD5, checksumSalt={-86}, otherChecksumType=], org.bitrepository.client.TestEventHandler@1a95c80b, null Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForReplaceFileRequest@5f8057cf[correlationID=28d99755-f3af-40a9-84bb-52f183517cd3, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=saltedReturnChecksumsForNewFileWithChecksumPillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=] Result: Received message on TEST-TOPIC-cibuild01 : org.bitrepository.bitrepositorymessages.IdentifyPillarsForReplaceFileRequest@b9113e5[correlationID=28d99755-f3af-40a9-84bb-52f183517cd3, collectionID=TwoPillarCollection, destination=TEST-TOPIC-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=saltedReturnChecksumsForNewFileWithChecksumPillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, fileID=default-test-file.txt, fileSize=] Result: Received event: 28d99755: REPLACE_FILE for file default-test-file.txt: IDENTIFY_REQUEST_SENT: , Identifying pillars for replace file Step: Send an identification response with a PillarChecksumSpec element set, indicating that this is a checksum pillar. Stimuli: Sending message: org.bitrepository.bitrepositorymessages.IdentifyPillarsForReplaceFileResponse@61b12551[correlationID=28d99755-f3af-40a9-84bb-52f183517cd3, collectionID=, destination=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, replyTo=Pillar1_topic-cibuild01, from=Pillar1, to=, version=26, minVersion=24, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@35091af2[responseCode=IDENTIFICATION_POSITIVE, responseText=], fileID=default-test-file.txt, pillarID=Pillar1, pillarChecksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@68c82111[checksumType=MD5, checksumSalt=, otherChecksumType=], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@12e827a4[timeMeasureUnit=MILLISECONDS, timeMeasureValue=1000]] Result: Received event: 28d99755: REPLACE_FILE for file default-test-file.txt: COMPONENT_IDENTIFIED: ContributorID Pillar1 Result: Received event: 28d99755: REPLACE_FILE for file default-test-file.txt: IDENTIFICATION_COMPLETE: Contributors: [Pillar1] Result: Received event: 28d99755: REPLACE_FILE for file default-test-file.txt: REQUEST_SENT: ContributorID [Pillar1], Sending request for replace file Stimuli: Sending message: org.bitrepository.bitrepositorymessages.ReplaceFileRequest@52839c2b[correlationID=28d99755-f3af-40a9-84bb-52f183517cd3, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=saltedReturnChecksumsForNewFileWithChecksumPillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@5e325b2[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@3bfcc23[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForExistingFile=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@24f30fc1[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@3bfcc23[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForNewFile=] Result: Received message on Pillar1_topic-cibuild01 : org.bitrepository.bitrepositorymessages.ReplaceFileRequest@167e4180[correlationID=28d99755-f3af-40a9-84bb-52f183517cd3, collectionID=TwoPillarCollection, destination=Pillar1_topic-cibuild01, replyTo=TEST-TOPIC-ReplaceFileClientComponentTest-cibuild01, from=saltedReturnChecksumsForNewFileWithChecksumPillar, to=Pillar1, version=26, minVersion=24, auditTrailInformation=, pillarID=Pillar1, fileID=default-test-file.txt, checksumDataForExistingFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@3afe4609[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@ba81721[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForExistingFile=, fileAddress=http://sandkasse-01.kb.dk:80/dav/default-test-file.txt, fileSize=0, checksumDataForNewFile=org.bitrepository.bitrepositoryelements.ChecksumDataForFileTYPE@48867d81[checksumSpec=org.bitrepository.bitrepositoryelements.ChecksumSpecTYPE@7599c559[checksumType=MD5, checksumSalt=, otherChecksumType=], checksumValue={49,50,51,99,104,101,99,107,115,117,109,51,50,49}, calculationTimestamp=1970-01-01T01:00:00.000+01:00], checksumRequestForNewFile=] Test success: saltedReturnChecksumsForNewFileWithChecksumPillar Test starting: verifyReplaceFileClientFromFactory Description: Testing the initialization through the ModifyComponentFactory. Step: Use the ModifyComponentFactory to instantiate a ReplaceFileClient. Test success: verifyReplaceFileClientFromFactory Starting testcase UnexpectedResponseExceptionTest Test starting: testUnexpectedResponse Description: Test the instantiation of the exception Step: Setup Step: Try to throw such an exception Step: Throw the exception with an embedded exception Test success: testUnexpectedResponse Finished testcase Finished suite Finished project Tests run: 96, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 139.396 sec Results : Tests run: 96, Failures: 0, Errors: 0, Skipped: 0 mojoSucceeded org.apache.maven.plugins:maven-surefire-plugin:2.14.1(default-test) [JENKINS] Recording test results mojoStarted org.apache.maven.plugins:maven-jar-plugin:2.4(default-jar) [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ bitrepository-client --- mojoSucceeded org.apache.maven.plugins:maven-jar-plugin:2.4(default-jar)[INFO] Building jar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/target/bitrepository-client-1.2-SNAPSHOT.jar mojoStarted org.apache.maven.plugins:maven-jar-plugin:2.4(default) [INFO] [INFO] Building jar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/target/bitrepository-client-1.2-SNAPSHOT-tests.jar [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ bitrepository-client --- mojoSucceeded org.apache.maven.plugins:maven-jar-plugin:2.4(default) mojoStarted org.apache.maven.plugins:maven-assembly-plugin:2.4(make-assembly) [INFO] [INFO] --- maven-assembly-plugin:2.4:single (make-assembly) @ bitrepository-client --- [INFO] Reading assembly descriptor: src/main/assembly/assembly.xml [INFO] Building tar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/target/bitrepository-client-1.2-SNAPSHOT-distribution.tar.gz mojoSucceeded org.apache.maven.plugins:maven-assembly-plugin:2.4(make-assembly) mojoStarted org.apache.maven.plugins:maven-source-plugin:2.2.1(attach-sources) [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ bitrepository-client --- mojoSucceeded org.apache.maven.plugins:maven-source-plugin:2.2.1(attach-sources)[INFO] Building jar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/target/bitrepository-client-1.2-SNAPSHOT-sources.jar mojoStarted org.apache.maven.plugins:maven-install-plugin:2.4(default-install)[INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/target/bitrepository-client-1.2-SNAPSHOT.jar to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-SNAPSHOT.jar [INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/pom.xml to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-SNAPSHOT.pom [INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/target/bitrepository-client-1.2-SNAPSHOT-tests.jar to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-SNAPSHOT-tests.jar [INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/target/bitrepository-client-1.2-SNAPSHOT-distribution.tar.gz to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-SNAPSHOT-distribution.tar.gz [INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-client/target/bitrepository-client-1.2-SNAPSHOT-sources.jar to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ bitrepository-client --- mojoSucceeded org.apache.maven.plugins:maven-install-plugin:2.4(default-install) Downloading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/maven-metadata.xml mojoStarted org.apache.maven.plugins:maven-deploy-plugin:2.7(default-deploy) [INFO] [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ bitrepository-client --- Downloaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/maven-metadata.xml (2 KB at 12.7 KB/sec) Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-20140225.104104-54.jar Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-20140225.104104-54.jar (188 KB at 455.9 KB/sec) Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-20140225.104104-54.pom Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-20140225.104104-54.pom (2 KB at 78.4 KB/sec) Downloading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/maven-metadata.xml Downloaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/maven-metadata.xml (403 B at 11.6 KB/sec) Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/maven-metadata.xml Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/maven-metadata.xml (2 KB at 42.6 KB/sec) Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/maven-metadata.xml Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/maven-metadata.xml (403 B at 10.1 KB/sec) Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-20140225.104104-54-tests.jar Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-20140225.104104-54-tests.jar (101 KB at 3128.5 KB/sec) Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/maven-metadata.xml Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/maven-metadata.xml (2 KB at 52.0 KB/sec) Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-20140225.104104-54-distribution.tar.gz Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-20140225.104104-54-distribution.tar.gz (6744 KB at 16985.6 KB/sec) Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/maven-metadata.xml Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/maven-metadata.xml (2 KB at 56.2 KB/sec) Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-20140225.104104-54-sources.jar Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/bitrepository-client-1.2-20140225.104104-54-sources.jar (187 KB at 3722.1 KB/sec) Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/maven-metadata.xml Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-client/1.2-SNAPSHOT/maven-metadata.xml (2 KB at 58.6 KB/sec) mojoSucceeded org.apache.maven.plugins:maven-deploy-plugin:2.7(default-deploy) projectSucceeded org.bitrepository.reference:bitrepository-client:1.2-SNAPSHOT