[INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Bitrepository Alarm Service 1.10-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bitrepository-alarm-service --- [INFO] Deleting /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/target [INFO] [INFO] --- jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (default) @ bitrepository-alarm-service --- [INFO] argLine set to -javaagent:/home/cibuild01/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/target/jacoco.exec [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bitrepository-alarm-service --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 8 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ bitrepository-alarm-service --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 26 source files to /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bitrepository-alarm-service --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ bitrepository-alarm-service --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 6 source files to /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ bitrepository-alarm-service --- [INFO] Surefire report directory: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running TestSuite Configuring TestNG with: TestNG652Configurator Starting test project Alarm Service Test Suite: Surefire suite Starting testcase AlarmDatabaseExtractionModelTest Test starting: alarmExceptionTest Description: Test the AlarmDatabaseExtractionModel class Step: Define constants etc. Step: Create an empty model Step: Test the AlarmCode Step: Test the ascending Step: Test the ComponentID Step: Test the EndDate Step: Test the FileID Step: Test the MaxCount Step: Test the StartDate Step: Test the CollectionID Test success: alarmExceptionTest Starting testcase AlarmDatabaseTest Test starting: AlarmDatabaseExtractionTest Description: Testing the connection to the alarm 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: Populate the database with two alarms. Step: Try to extract all the data from the database. Step: Try to extract the alarms for component 1. Step: Try to extract the alarms for component 2. Step: Try to extract the alarms for the alarm code 'COMPONENT_FAILURE'. Step: Try to extract the alarms for the alarm code 'CHECKSUM_ALARM'. Step: Try to extract the new alarm. Step: Try to extract the old alarm. Step: Try to extract the alarms for the file id. Step: Try to extract the alarms for the collection id. Step: Try to extract the oldest alarm from the database. Step: Try to extract the newest alarm from the database. Test success: AlarmDatabaseExtractionTest Test starting: AlarmDatabaseLargeIngestionTest Description: Testing the ingestion of a large texts into the database Step: Setup and create alarm Step: Insert the data into the database Test success: AlarmDatabaseLargeIngestionTest Test starting: alarmDatabaseCorrectTimestampTest Description: Testing the correct ingest and extraction of alarm dates Step: Prepare, check and ingest alarms Step: Extract and check alarms Test success: alarmDatabaseCorrectTimestampTest Step: Cleanup after test. Starting testcase AlarmExceptionTest Test starting: alarmExceptionTest Description: Tests that AlarmExceptions can be thrown. Test success: alarmExceptionTest Starting testcase AlarmHandlerTest Test starting: alarmMediatorTest Description: Test the mediator handling of alarm messages. Step: Setup mediator and create alarm handler. Step: Try giving it a non-alarm message 14:16:45.974 WARN o.b.alarm.handling.AlarmMediator - Recieved unexpected message: 'org.bitrepository.bitrepositorymessages.Message@70a416c[correlationID=(default), collectionID=(default), destination=(default), replyTo=(default), from=(default), to=(default), version=(default), minVersion=(default)]' Step: Giv the mediator an AlarmMessage Step: Close the mediator. Test success: alarmMediatorTest Finished testcase Finished suite Finished project Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.363 sec - in TestSuite Results : Tests run: 6, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [INFO] --- jacoco-maven-plugin:0.7.5.201505241946:report (report) @ bitrepository-alarm-service --- [INFO] Analyzed bundle 'Bitrepository Alarm Service' with 23 classes [INFO] [INFO] --- maven-war-plugin:2.4:war (default-war) @ bitrepository-alarm-service --- [INFO] Packaging webapp [INFO] Assembling webapp [bitrepository-alarm-service] in [/home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/target/bitrepository-alarm-service-1.10-SNAPSHOT] [INFO] Processing war project [INFO] Copying webapp resources [/home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/src/main/webapp] [INFO] Webapp assembled in [102 msecs] [INFO] Building war: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/target/bitrepository-alarm-service-1.10-SNAPSHOT.war [INFO] [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ bitrepository-alarm-service --- [INFO] Building jar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/target/bitrepository-alarm-service-1.10-SNAPSHOT-tests.jar [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources-no-fork) @ bitrepository-alarm-service --- [INFO] Building jar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/target/bitrepository-alarm-service-1.10-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-assembly-plugin:2.4:single (distribution) @ bitrepository-alarm-service --- [INFO] Reading assembly descriptor: src/main/assembly/assembly.xml [INFO] Building tar: /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/target/bitrepository-alarm-service-1.10-SNAPSHOT-distribution.tar.gz [INFO] [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ bitrepository-alarm-service --- [INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/target/bitrepository-alarm-service-1.10-SNAPSHOT.war to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-SNAPSHOT.war [INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/pom.xml to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-SNAPSHOT.pom [INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/target/bitrepository-alarm-service-1.10-SNAPSHOT-tests.jar to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-SNAPSHOT-tests.jar [INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/target/bitrepository-alarm-service-1.10-SNAPSHOT-sources.jar to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-SNAPSHOT-sources.jar [INFO] Installing /home/cibuild01/workspace/Bitrepository-reference-test/bitrepository-alarm-service/target/bitrepository-alarm-service-1.10-SNAPSHOT-distribution.tar.gz to /home/cibuild01/.m2/repository/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-SNAPSHOT-distribution.tar.gz [INFO] [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ bitrepository-alarm-service --- [INFO] Downloading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/maven-metadata.xml [INFO] Downloaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/maven-metadata.xml (2 KB at 101.3 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-20200609.121649-37.war [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-20200609.121649-37.war (18424 KB at 30503.3 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-20200609.121649-37.pom [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-20200609.121649-37.pom (4 KB at 149.4 KB/sec) [INFO] Downloading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/maven-metadata.xml [INFO] Downloaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/maven-metadata.xml (491 B at 20.0 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/maven-metadata.xml (2 KB at 83.4 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/maven-metadata.xml [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/maven-metadata.xml (491 B at 32.0 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-20200609.121649-37-tests.jar [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-20200609.121649-37-tests.jar (77 KB at 3478.9 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/maven-metadata.xml (2 KB at 74.6 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-20200609.121649-37-sources.jar [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-20200609.121649-37-sources.jar (44 KB at 2091.1 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/maven-metadata.xml (2 KB at 67.5 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-20200609.121649-37-distribution.tar.gz [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/bitrepository-alarm-service-1.10-20200609.121649-37-distribution.tar.gz (18423 KB at 37750.8 KB/sec) [INFO] Uploading: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: https://sbforge.org/nexus/content/repositories/snapshots/org/bitrepository/reference/bitrepository-alarm-service/1.10-SNAPSHOT/maven-metadata.xml (2 KB at 109.1 KB/sec) [JENKINS] Archiving disabled