[INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Bitrepository Service 1.10-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derby/10.14.2.0/derby-10.14.2.0.pom [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derby/10.14.2.0/derby-10.14.2.0.pom (3 KB at 130.1 KB/sec) [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derby-project/10.14.2.0/derby-project-10.14.2.0.pom [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derby-project/10.14.2.0/derby-project-10.14.2.0.pom (6 KB at 446.7 KB/sec) [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derbyclient/10.14.2.0/derbyclient-10.14.2.0.pom [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derbyclient/10.14.2.0/derbyclient-10.14.2.0.pom (3 KB at 157.0 KB/sec) [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derbynet/10.14.2.0/derbynet-10.14.2.0.pom [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derbynet/10.14.2.0/derbynet-10.14.2.0.pom (3 KB at 2.7 KB/sec) [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derbytools/10.14.2.0/derbytools-10.14.2.0.pom [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derbytools/10.14.2.0/derbytools-10.14.2.0.pom (3 KB at 2.3 KB/sec) [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/org/postgresql/postgresql/42.2.14/postgresql-42.2.14.pom [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/org/postgresql/postgresql/42.2.14/postgresql-42.2.14.pom (3 KB at 15.2 KB/sec) [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/com/mchange/c3p0/0.9.5.5/c3p0-0.9.5.5.pom [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/com/mchange/c3p0/0.9.5.5/c3p0-0.9.5.5.pom (2 KB at 5.2 KB/sec) [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/com/mchange/mchange-commons-java/0.2.19/mchange-commons-java-0.2.19.pom [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/com/mchange/mchange-commons-java/0.2.19/mchange-commons-java-0.2.19.pom (4 KB at 20.9 KB/sec) [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/javax/servlet/javax.servlet-api/4.0.1/javax.servlet-api-4.0.1.pom [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/javax/servlet/javax.servlet-api/4.0.1/javax.servlet-api-4.0.1.pom (16 KB at 630.8 KB/sec) [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derby/10.14.2.0/derby-10.14.2.0.jar [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derbyclient/10.14.2.0/derbyclient-10.14.2.0.jar [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derbynet/10.14.2.0/derbynet-10.14.2.0.jar [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derbytools/10.14.2.0/derbytools-10.14.2.0.jar [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/org/postgresql/postgresql/42.2.14/postgresql-42.2.14.jar [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derbyclient/10.14.2.0/derbyclient-10.14.2.0.jar (575 KB at 8840.1 KB/sec) [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/com/mchange/c3p0/0.9.5.5/c3p0-0.9.5.5.jar [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/org/postgresql/postgresql/42.2.14/postgresql-42.2.14.jar (911 KB at 3748.7 KB/sec) [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/com/mchange/mchange-commons-java/0.2.19/mchange-commons-java-0.2.19.jar [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derby/10.14.2.0/derby-10.14.2.0.jar (3158 KB at 12003.8 KB/sec) [INFO] Downloading: https://sbforge.org/nexus/content/groups/public/javax/servlet/javax.servlet-api/4.0.1/javax.servlet-api-4.0.1.jar [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/javax/servlet/javax.servlet-api/4.0.1/javax.servlet-api-4.0.1.jar (94 KB at 346.7 KB/sec) [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/com/mchange/mchange-commons-java/0.2.19/mchange-commons-java-0.2.19.jar (617 KB at 1436.3 KB/sec) [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/com/mchange/c3p0/0.9.5.5/c3p0-0.9.5.5.jar (490 KB at 817.5 KB/sec) [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derbynet/10.14.2.0/derbynet-10.14.2.0.jar (267 KB at 196.8 KB/sec) [INFO] Downloaded: https://sbforge.org/nexus/content/groups/public/org/apache/derby/derbytools/10.14.2.0/derbytools-10.14.2.0.jar (226 KB at 147.6 KB/sec) [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ bitrepository-service --- [INFO] Deleting /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/target [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ bitrepository-service --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ bitrepository-service --- [INFO] argLine set to -javaagent:/home/cibuild01/.m2/repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/target/jacoco.exec [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ bitrepository-service --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 9 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ bitrepository-service --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 53 source files to /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/target/classes [WARNING] /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/src/main/java/org/bitrepository/service/exception/StepFailedException.java:[27,8] serializable class org.bitrepository.service.exception.StepFailedException has no definition of serialVersionUID [WARNING] /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/src/main/java/org/bitrepository/service/exception/WorkflowAbortedException.java:[27,8] serializable class org.bitrepository.service.exception.WorkflowAbortedException has no definition of serialVersionUID [WARNING] /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/src/main/java/org/bitrepository/service/audit/AuditTrailContributerDAO.java:[258,25] explicit call to close() on an auto-closeable resource [INFO] [INFO] --- forbiddenapis:2.7:check (default) @ bitrepository-service --- [INFO] Scanning for classes to check... [INFO] Reading bundled API signatures: jdk-unsafe-1.8 [INFO] Reading bundled API signatures: jdk-deprecated-1.8 [INFO] Reading bundled API signatures: jdk-non-portable [INFO] Reading bundled API signatures: jdk-reflection [INFO] Loading classes to check... [INFO] Scanning classes for violations... [INFO] Scanned 58 class file(s) for forbidden API invocations (in 0.15s), 0 error(s). [INFO] [INFO] --- forbiddenapis:2.7:testCheck (default) @ bitrepository-service --- [INFO] Scanning for classes to check... [WARNING] Classes directory does not exist, forbiddenapis check skipped: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/target/test-classes [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ bitrepository-service --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ bitrepository-service --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 9 source files to /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ bitrepository-service --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running TestSuite Starting test project Core module test Suite: Surefire suite Starting testcase IdentifyContributorExceptionTest Test starting: testIdentifyContributor 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: testIdentifyContributor Starting testcase IllegalOperationExceptionTest Test starting: testIdentifyContributor 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: testIdentifyContributor Starting testcase AuditTrailContributorDatabaseTest Test starting: testAuditTrailDatabaseExtraction Description: Testing the basic functions of the audit trail database interface. Step: Setup varibles and the database connection. Step: Populate the database. Step: Test extracting all the events Step: Test extracting the events for fileID1 Step: Test extracting the events for fileID2 Step: Test extracting the events with the sequence number at least equal to the largest sequence number. Step: Test extracting the events for fileID1 with sequence number 2 or more Step: Test extracting the events for fileID1 with at most sequence number 2 Step: Test extracting at most 3 events Step: Test extracting at most 1000 events Step: Test extracting from another collection Test success: testAuditTrailDatabaseExtraction Test starting: testAuditTrailDatabaseExtractionOrder Description: Test the order of extraction Step: Setup variables and database connection Step: Populate the database. Step: Extract 3 audit-trails Step: Extract 3 audit-trails, with larger seq-number than the first Test success: testAuditTrailDatabaseExtractionOrder Test starting: testAuditTrailDatabaseIngest Description: Testing the ingest of data. Step: Setup varibles and the database connection. Step: Test with all data. Step: Test with no collection Step: Test with with no file id. Step: Test with with no actor. Step: Test with with no info. Step: Test with with no audittrail. Step: Test with with no operationID. Step: Test with with no certificateID. Step: Test with with no action. Step: Test with with very large file id. Step: Test with with very large actor name. Step: Test with with very large info. Step: Test with with very large audittrail. Test success: testAuditTrailDatabaseIngest Starting testcase InvalidMessageExceptionTest Test starting: testIdentifyContributor Description: Test the instantiation of the exception Step: Setup Step: Try to throw such an exception Step: Throw the exception with an embedded exception Step: Throw the exception with a ResponseInfo Test success: testIdentifyContributor Starting testcase AuditTrailContributorDatabaseMigrationTest Test starting: testMigratingAuditContributorDatabase Description: Tests that the database can be migrated to latest version with the provided scripts. Step: Validate setup Step: Ingest a entry to the database without the collection id Step: Perform migration 13:27:01.436 WARN o.b.service.database.DatabaseUtils - Migrating AuditContributorDB from version 1 to 2. 13:27:01.541 WARN o.b.service.database.DatabaseUtils - Migrating AuditContributorDB from version 2 to 3. 13:27:01.787 WARN o.b.service.database.DatabaseUtils - Migrating AuditContributorDB from version 3 to 4. 13:27:01.819 WARN o.b.service.database.DatabaseUtils - Migrating AuditContributorDB from version 4 to 5. Test success: testMigratingAuditContributorDatabase Test starting: componentIDTest Test success: componentIDTest Finished testcase Finished suite Finished project [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.319 s - in TestSuite [INFO] [INFO] Results: [INFO] [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:report (report) @ bitrepository-service --- [INFO] Loading execution data file /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/target/jacoco.exec [INFO] Analyzed bundle 'Bitrepository Service' with 46 classes [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ bitrepository-service --- [INFO] Building jar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/target/bitrepository-service-1.10-SNAPSHOT.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ bitrepository-service --- [INFO] Building jar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/target/bitrepository-service-1.10-SNAPSHOT-tests.jar [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources-no-fork) @ bitrepository-service --- [INFO] Building jar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/target/bitrepository-service-1.10-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ bitrepository-service --- [INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/target/bitrepository-service-1.10-SNAPSHOT.jar to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/bitrepository-service-1.10-SNAPSHOT.jar [INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/pom.xml to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/bitrepository-service-1.10-SNAPSHOT.pom [INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/target/bitrepository-service-1.10-SNAPSHOT-tests.jar to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/bitrepository-service-1.10-SNAPSHOT-tests.jar [INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-service/target/bitrepository-service-1.10-SNAPSHOT-sources.jar to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/bitrepository-service-1.10-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) @ bitrepository-service --- [INFO] Downloading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/maven-metadata.xml [INFO] Downloaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/maven-metadata.xml (2 KB at 108.7 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/bitrepository-service-1.10-20200626.112704-39.jar [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/bitrepository-service-1.10-20200626.112704-39.jar (93 KB at 4636.0 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/bitrepository-service-1.10-20200626.112704-39.pom [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/bitrepository-service-1.10-20200626.112704-39.pom (3 KB at 185.1 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/bitrepository-service-1.10-20200626.112704-39-tests.jar [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/bitrepository-service-1.10-20200626.112704-39-tests.jar (255 KB at 12729.2 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/bitrepository-service-1.10-20200626.112704-39-sources.jar [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/bitrepository-service-1.10-20200626.112704-39-sources.jar (91 KB at 5015.7 KB/sec) [INFO] Downloading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/maven-metadata.xml [INFO] Downloaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/maven-metadata.xml (485 B at 67.7 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/1.10-SNAPSHOT/maven-metadata.xml (2 KB at 108.7 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/maven-metadata.xml [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-service/maven-metadata.xml (485 B at 43.1 KB/sec) [JENKINS] Archiving disabled