projectStarted org.bitrepository.reference:bitrepository-audit-trail-service:1.2-SNAPSHOT
[INFO] [INFO] Deleting /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-audit-trail-service/target
[INFO] ------------------------------------------------------------------------
[INFO] Building Bitrepository Audit Trail Service 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-audit-trail-service ---
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 7 resources
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bitrepository-audit-trail-service ---
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-audit-trail-service ---
mojoSucceeded org.apache.maven.plugins:maven-compiler-plugin:3.1(default-compile)[INFO] Changes detected - recompiling the module!
[INFO] Compiling 23 source files to /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-audit-trail-service/target/classes
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
mojoStarted org.apache.maven.plugins:maven-resources-plugin:2.6(default-testResources)
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bitrepository-audit-trail-service ---
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-audit-trail-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-audit-trail-service/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-audit-trail-service/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
[INFO]
[INFO] --- maven-surefire-plugin:2.14.1:test (default-test) @ bitrepository-audit-trail-service ---
Running TestSuite
Configuring TestNG with: TestNG652Configurator
Starting test project Core module test
Suite: Command line suite
Starting testcase AuditCollectorTest
Test starting: auditCollectorIntervalTest
Description: Test that the collector calls the AuditClient at the correct intervals.
Test success: auditCollectorIntervalTest
Starting testcase AuditDatabaseTest
Test starting: AuditDatabaseCreateActorNameTest
Description: Test the conditional insert of actorName into the database
Step: Sets up the test context
Step: check that database contains no actor names
Step: insert an actorName
Step: insert the actorName a second time
Test success: AuditDatabaseCreateActorNameTest
Test starting: AuditDatabaseCreateCollectionIDTest
Description: Test the conditional insert of collectionID into the database
Step: Sets up the test context
Step: check that database contains no collection ids
Step: insert a collectionID
Step: insert the collectionID a second time
Test success: AuditDatabaseCreateCollectionIDTest
Test starting: AuditDatabaseCreateContributorIDTest
Description: Test the conditional insert of contributorID into the database
Step: Sets up the test context
Step: check that database contains no contributor ids
Step: insert a contributorID
Step: insert the contributorID a second time
Test success: AuditDatabaseCreateContributorIDTest
Test starting: AuditDatabaseCreateFileIDTest
Description: Test the conditional insert of fileID into the database
Step: Sets up the test context
Step: Insert a collectionID
Step: Ensure that the database contains no fileIDs
Step: Insert the fileID for the first time
Step: insert the collectionID a second time
Test success: AuditDatabaseCreateFileIDTest
Test starting: AuditDatabaseExtractionTest
Description: Testing the connection to the audit trail service database especially with regards to extracting the data from it.
Step: Setup the variables and constants.
Step: Adds the variables to the settings and instantaites the database cache
Step: Validate that the database is empty and then populate it.
Step: Extract the audit trails
Step: Test the extraction of FileID
Step: Test the extraction of CollectionID
Step: Perform extraction based on the component id.
Step: Perform extraction based on the sequence number restriction
Step: Perform extraction based on actor id restriction.
Step: Perform extraction based on operation restriction.
Step: Perform extraction based on date restriction.
Step: Perform extraction based on fingerprint restriction.
Step: Perform extraction based on operationID restriction.
Test success: AuditDatabaseExtractionTest
Test starting: AuditDatabaseGoodIngestTest
Description: Testing good case ingest of audittrails into the database
Step: Adds the variables to the settings and instantaites the database cache
Step: Build test data
Test success: AuditDatabaseGoodIngestTest
Test starting: AuditDatabaseIngest2Test
Description: Testing ingest of audittrails into the database
Step: Adds the variables to the settings and instantaites the database cache
Step: Test ingesting with all data
Step: Test ingesting with no timestamp
Step: Test ingesting with no file action
Step: Test ingesting with no actor
Step: Test ingesting with no audit info
Step: Test ingesting with no file id
Step: Test ingesting with no info
Step: Test ingesting with no component id
Step: Test ingesting with no sequence number
Step: Test ingest with very long auditInfo (255+)
Step: Test ingest with very long info (255+)
Test success: AuditDatabaseIngest2Test
Test starting: AuditDatabaseIngestTest
Description: Testing ingest of audittrails into the database
Step: Adds the variables to the settings and instantaites the database cache
Step: Test ingesting with all data
Step: Test ingesting with no timestamp
Step: Test ingesting with no file action
Step: Test ingesting with no actor
Step: Test ingesting with no audit info
Step: Test ingesting with no file id
Step: Test ingesting with no info
Step: Test ingesting with no component id
Step: Test ingesting with no sequence number
Step: Test ingest with very long auditInfo (255+)
Step: Test ingest with very long info (255+)
Test success: AuditDatabaseIngestTest
Test starting: AuditDatabasePreservationTest
Description: Tests the functions related to the preservation of the database.
Step: Adds the variables to the settings and instantaites the database cache
Step: Validate the preservation sequence number
Step: Validate the insertion of the preservation sequence number
Test success: AuditDatabasePreservationTest
Starting testcase AuditPreservationEventHandlerTest
Test starting: auditPreservationEventHandlerTest
Description: Test the handling of the audit trail event handler.
Step: Setup
Step: Test the handling of another complete event.
Test success: auditPreservationEventHandlerTest
Starting testcase AuditServiceDatabaseMigrationTest
Test starting: testMigratingAuditServiceDatabase
Description: Tests that the database can be migrated to latest version with the provided scripts.
Step: Validate setup
Step: Perform migration
Test success: testMigratingAuditServiceDatabase
Starting testcase IncrementalCollectorTest
Test starting: collectionIdFailureTest
Description: Tests what happens when a wrong collection id is received.
Step:
Step: Start a collection with two contributors
Step: Send an auditTrail result from contributor 1 with a wrong collection id.
Test success: collectionIdFailureTest
Test starting: contributorFailureTest
Description: Tests that the collector is able to collect from the remaining contributors if a contributor fails.
Step:
Step: Start a collection with two contributors
Step: Send a audit trail result from contributor 1 with the PartialResults boolean set to true and a failed event from contributor 2
Step: Send another audit trail result from contributor 1 with PartialResults set to false
Test success: contributorFailureTest
Test starting: multipleIncrementTest
Description: Verifies the behaviour in the case where the adit trails needs to be reteived in multiple requests because of MaxNumberOfResults limits.
Step: Start a collection with two contributors
Step: Send a audit trail result from contributor 1 and 2 with the PartialResults boolean set to true
Step: Send another audit trail result from the contributors, now with PartialResults set to false
Test success: multipleIncrementTest
Test starting: singleIncrementTest
Description: Verifies the behaviour in the simplest case with just one result set
Step: Start a collection with two contributors
Step: Send a audit trail result from contributor 1
Step: Send a audit trail result from contributor 2
Test success: singleIncrementTest
Starting testcase LocalAuditPreservationTest
Test starting: auditPreservationIngestTest
Description: Tests the ingest of the audit trail preservation.
Step: Setup variables and settings for the test
Step: Create the preserver and populate the store
Step: Call the preservation of audit trails now.
Test success: auditPreservationIngestTest
Finished testcase
Finished suite
Finished project
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.302 sec
Results :
Tests run: 17, 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-war-plugin:2.3(default-war)
[INFO]
[INFO] --- maven-war-plugin:2.3:war (default-war) @ bitrepository-audit-trail-service ---
[INFO] Packaging webapp
[INFO] Assembling webapp [bitrepository-audit-trail-service] in [/home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-audit-trail-service/target/bitrepository-audit-trail-service-1.2-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-audit-trail-service/src/main/webapp]
[INFO] Webapp assembled in [52 msecs]
[INFO] Building war: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-audit-trail-service/target/bitrepository-audit-trail-service-1.2-SNAPSHOT.war
mojoSucceeded org.apache.maven.plugins:maven-war-plugin:2.3(default-war)
mojoStarted org.apache.maven.plugins:maven-jar-plugin:2.4(default)
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ bitrepository-audit-trail-service ---
[INFO] Building jar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-audit-trail-service/target/bitrepository-audit-trail-service-1.2-SNAPSHOT-tests.jar
mojoSucceeded org.apache.maven.plugins:maven-jar-plugin:2.4(default)
mojoStarted org.apache.maven.plugins:maven-assembly-plugin:2.4(distribution)[INFO] Reading assembly descriptor: src/main/assembly/assembly.xml
[INFO]
[INFO] --- maven-assembly-plugin:2.4:single (distribution) @ bitrepository-audit-trail-service ---
[INFO] Building tar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-audit-trail-service/target/bitrepository-audit-trail-service-1.2-SNAPSHOT-distribution.tar.gz
mojoSucceeded org.apache.maven.plugins:maven-assembly-plugin:2.4(distribution)
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-audit-trail-service ---
[INFO] Building jar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-audit-trail-service/target/bitrepository-audit-trail-service-1.2-SNAPSHOT-sources.jar
mojoSucceeded org.apache.maven.plugins:maven-source-plugin:2.2.1(attach-sources)
mojoStarted org.apache.maven.plugins:maven-install-plugin:2.4(default-install)
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ bitrepository-audit-trail-service ---
mojoSucceeded org.apache.maven.plugins:maven-install-plugin:2.4(default-install)[INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-audit-trail-service/target/bitrepository-audit-trail-service-1.2-SNAPSHOT.war to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-SNAPSHOT.war
[INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-audit-trail-service/pom.xml to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-SNAPSHOT.pom
[INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-audit-trail-service/target/bitrepository-audit-trail-service-1.2-SNAPSHOT-tests.jar to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-SNAPSHOT-tests.jar
[INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-audit-trail-service/target/bitrepository-audit-trail-service-1.2-SNAPSHOT-distribution.tar.gz to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-SNAPSHOT-distribution.tar.gz
[INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-audit-trail-service/target/bitrepository-audit-trail-service-1.2-SNAPSHOT-sources.jar to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-SNAPSHOT-sources.jar
mojoStarted org.apache.maven.plugins:maven-deploy-plugin:2.7(default-deploy)
[INFO]
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ bitrepository-audit-trail-service ---
Downloading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/maven-metadata.xml
Downloaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/maven-metadata.xml (2 KB at 54.5 KB/sec)
Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-20140225.104419-51.war
Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-20140225.104419-51.war (16057 KB at 13572.3 KB/sec)
Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-20140225.104419-51.pom
Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-20140225.104419-51.pom (4 KB at 80.1 KB/sec)
Downloading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/maven-metadata.xml
Downloaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/maven-metadata.xml (416 B at 3.1 KB/sec)
Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/maven-metadata.xml
Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/maven-metadata.xml (2 KB at 61.7 KB/sec)
Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/maven-metadata.xml
Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/maven-metadata.xml (416 B at 9.2 KB/sec)
Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-20140225.104419-51-tests.jar
Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-20140225.104419-51-tests.jar (267 KB at 7830.0 KB/sec)
Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/maven-metadata.xml
Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/maven-metadata.xml (2 KB at 50.6 KB/sec)
Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-20140225.104419-51-distribution.tar.gz
Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-20140225.104419-51-distribution.tar.gz (14354 KB at 29054.9 KB/sec)
Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/maven-metadata.xml
Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/maven-metadata.xml (2 KB at 23.6 KB/sec)
Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-20140225.104419-51-sources.jar
Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/bitrepository-audit-trail-service-1.2-20140225.104419-51-sources.jar (53 KB at 1634.9 KB/sec)
Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/maven-metadata.xml
Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-audit-trail-service/1.2-SNAPSHOT/maven-metadata.xml (2 KB at 26.8 KB/sec)
mojoSucceeded org.apache.maven.plugins:maven-deploy-plugin:2.7(default-deploy)
projectSucceeded org.bitrepository.reference:bitrepository-audit-trail-service:1.2-SNAPSHOT