Skip to content
Unstable

Console Output

[INFO] 
[INFO] --< org.eclipse.sensinact.gateway.distribution.features:timescale-history-provider-feature >--
[INFO] Building Eclipse sensiNact Timescale DB History Provider  Feature 0.0.2-SNAPSHOT [64/66]
[INFO]   from distribution/features/timescale-history-provider-feature/pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ timescale-history-provider-feature ---
[INFO] 
[INFO] --- compiler:3.10.1:testCompile (default) @ timescale-history-provider-feature ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/test-classes
[INFO] 
[INFO] --- dependency:3.3.0:copy-dependencies (create-feature-repo) @ timescale-history-provider-feature ---
[INFO] Installing /home/jenkins/agent/workspace/Sensinact Future/prototype/southbound/history/history-api/target/history-api-0.0.2-SNAPSHOT.jar to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/repository/org/eclipse/sensinact/gateway/southbound/history/history-api/0.0.2-SNAPSHOT/history-api-0.0.2-SNAPSHOT.jar
[INFO] Installing /home/jenkins/agent/workspace/Sensinact Future/prototype/southbound/history/timescale-provider/target/timescale-provider-0.0.2-SNAPSHOT.jar to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/repository/org/eclipse/sensinact/gateway/southbound/history/timescale-provider/0.0.2-SNAPSHOT/timescale-provider-0.0.2-SNAPSHOT.jar
[INFO] Installing /home/jenkins/.m2/repository/org/osgi/org.osgi.service.jdbc/1.0.0/org.osgi.service.jdbc-1.0.0.jar to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/repository/org/osgi/org.osgi.service.jdbc/1.0.0/org.osgi.service.jdbc-1.0.0.jar
[INFO] Installing /home/jenkins/.m2/repository/org/postgresql/postgresql/42.5.1/postgresql-42.5.1.jar to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/repository/org/postgresql/postgresql/42.5.1/postgresql-42.5.1.jar
[INFO] Installing /home/jenkins/.m2/repository/org/apache/aries/tx-control/tx-control-service-local/1.0.1/tx-control-service-local-1.0.1.jar to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/repository/org/apache/aries/tx-control/tx-control-service-local/1.0.1/tx-control-service-local-1.0.1.jar
[INFO] Installing /home/jenkins/.m2/repository/org/apache/aries/tx-control/tx-control-provider-jdbc-local/1.0.1/tx-control-provider-jdbc-local-1.0.1.jar to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/repository/org/apache/aries/tx-control/tx-control-provider-jdbc-local/1.0.1/tx-control-provider-jdbc-local-1.0.1.jar
[INFO] 
[INFO] --- antrun:3.1.0:run (create-repository-zip) @ timescale-history-provider-feature ---
[INFO] Executing tasks
[INFO]       [zip] Building zip: /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/repository.zip
[INFO] Executed tasks
[INFO] 
[INFO] --- build-helper:3.3.0:attach-artifact (attach-artifacts) @ timescale-history-provider-feature ---
[INFO] 
[INFO] --- dependency:3.3.0:copy (copy-test-launcher) @ timescale-history-provider-feature ---
[INFO] Configured Artifact: org.eclipse.sensinact.gateway.distribution:launcher:export:0.0.2-SNAPSHOT:jar
[INFO] Copying export.jar to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/it/launcher.jar
[INFO] 
[INFO] --- dependency:3.3.0:copy (gather-test-features) @ timescale-history-provider-feature ---
[INFO] Configured Artifact: org.eclipse.sensinact.gateway.distribution.features:core-feature:osgifeature:0.0.2-SNAPSHOT:json
[INFO] Configured Artifact: org.eclipse.sensinact.gateway.distribution.features:jakarta-servlet-whiteboard-feature:osgifeature:0.0.2-SNAPSHOT:json
[INFO] Configured Artifact: org.eclipse.sensinact.gateway.distribution.features:jakarta-rest-whiteboard-feature:osgifeature:0.0.2-SNAPSHOT:json
[INFO] Configured Artifact: org.eclipse.sensinact.gateway.distribution.features:northbound-rest-feature:osgifeature:0.0.2-SNAPSHOT:json
[INFO] Configured Artifact: org.eclipse.sensinact.gateway.distribution.features:virtual-temperature-sensor-feature:osgifeature:0.0.2-SNAPSHOT:json
[INFO] Copying core-feature.json to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/it/features/core-feature.json
[INFO] Copying jakarta-servlet-whiteboard-feature.json to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/it/features/jakarta-servlet-whiteboard-feature.json
[INFO] Copying jakarta-rest-whiteboard-feature.json to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/it/features/jakarta-rest-whiteboard-feature.json
[INFO] Copying northbound-rest-feature.json to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/it/features/northbound-rest-feature.json
[INFO] Copying virtual-temperature-sensor-feature.json to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/it/features/virtual-temperature-sensor-feature.json
[INFO] 
[INFO] --- dependency:3.3.0:unpack (create-test-repo) @ timescale-history-provider-feature ---
[INFO] Configured Artifact: org.eclipse.sensinact.gateway.distribution.features:core-feature:osgifeaturerepo:0.0.2-SNAPSHOT:zip
[INFO] Configured Artifact: org.eclipse.sensinact.gateway.distribution.features:jakarta-servlet-whiteboard-feature:osgifeaturerepo:0.0.2-SNAPSHOT:zip
[INFO] Configured Artifact: org.eclipse.sensinact.gateway.distribution.features:jakarta-rest-whiteboard-feature:osgifeaturerepo:0.0.2-SNAPSHOT:zip
[INFO] Configured Artifact: org.eclipse.sensinact.gateway.distribution.features:northbound-rest-feature:osgifeaturerepo:0.0.2-SNAPSHOT:zip
[INFO] Configured Artifact: org.eclipse.sensinact.gateway.distribution.features:virtual-temperature-sensor-feature:osgifeaturerepo:0.0.2-SNAPSHOT:zip
[INFO] Unpacking /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/core-feature/target/repository.zip to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/it/repository with includes "" and excludes ""
[INFO] Unpacking /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/jakarta-servlet-whiteboard-feature/target/repository.zip to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/it/repository with includes "" and excludes ""
[INFO] Unpacking /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/jakarta-rest-whiteboard-feature/target/repository.zip to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/it/repository with includes "" and excludes ""
[INFO] Unpacking /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/northbound-rest-feature/target/repository.zip to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/it/repository with includes "" and excludes ""
[INFO] Unpacking /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/virtual-temperature-sensor-feature/target/repository.zip to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/it/repository with includes "" and excludes ""
[INFO] 
[INFO] --- antrun:3.1.0:run (copy-artifact-for-testing) @ timescale-history-provider-feature ---
[INFO] Executing tasks
[INFO]     [unzip] Expanding: /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/repository.zip into /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/it/repository
[INFO]      [copy] Copying 1 file to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/it/features
[INFO] Executed tasks
[INFO] 
[INFO] --- surefire:2.22.2:test (integration-test) @ timescale-history-provider-feature ---
[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.eclipse.sensinact.gateway.feature.integration.history.timescale.TimescaleHistoryFeatureIntegrationTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.107 s <<< FAILURE! - in org.eclipse.sensinact.gateway.feature.integration.history.timescale.TimescaleHistoryFeatureIntegrationTest
[ERROR] org.eclipse.sensinact.gateway.feature.integration.history.timescale.TimescaleHistoryFeatureIntegrationTest  Time elapsed: 0.107 s  <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.testcontainers.containers.JdbcDatabaseContainer.stop()" because "org.eclipse.sensinact.gateway.feature.integration.history.timescale.TimescaleHistoryFeatureIntegrationTest.container" is null
	at org.eclipse.sensinact.gateway.feature.integration.history.timescale.TimescaleHistoryFeatureIntegrationTest.stop(TimescaleHistoryFeatureIntegrationTest.java:115)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   TimescaleHistoryFeatureIntegrationTest.stop:115 NullPointer Cannot invoke "org...
[INFO] 
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO] 
[ERROR] There are test failures.

Please refer to /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[JENKINS] Recording test results
[INFO] 
[INFO] --- install:3.1.0:install (default-install) @ timescale-history-provider-feature ---
[INFO] Installing /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/pom.xml to /home/jenkins/.m2/repository/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/0.0.2-SNAPSHOT/timescale-history-provider-feature-0.0.2-SNAPSHOT.pom
[INFO] Installing /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/target/repository.zip to /home/jenkins/.m2/repository/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/0.0.2-SNAPSHOT/timescale-history-provider-feature-0.0.2-SNAPSHOT-osgifeaturerepo.zip
[INFO] Installing /home/jenkins/agent/workspace/Sensinact Future/prototype/distribution/features/timescale-history-provider-feature/src/main/resources/timescale-history-provider-feature.json to /home/jenkins/.m2/repository/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/0.0.2-SNAPSHOT/timescale-history-provider-feature-0.0.2-SNAPSHOT-osgifeature.json
[INFO] 
[INFO] --- deploy:3.0.0:deploy (default-deploy) @ timescale-history-provider-feature ---
[INFO] Using alternate deployment repository repo.eclipse.org::https://repo.eclipse.org/content/repositories/sensinact-snapshots
[INFO] Downloading from repo.eclipse.org: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/0.0.2-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from repo.eclipse.org: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/0.0.2-SNAPSHOT/maven-metadata.xml (1.1 kB at 44 kB/s)
[INFO] Uploading to repo.eclipse.org: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/0.0.2-SNAPSHOT/timescale-history-provider-feature-0.0.2-20230607.111411-9.pom
[INFO] Uploaded to repo.eclipse.org: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/0.0.2-SNAPSHOT/timescale-history-provider-feature-0.0.2-20230607.111411-9.pom (8.2 kB at 104 kB/s)
[INFO] Uploading to repo.eclipse.org: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/0.0.2-SNAPSHOT/timescale-history-provider-feature-0.0.2-20230607.111411-9-osgifeaturerepo.zip
[INFO] Uploading to repo.eclipse.org: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/0.0.2-SNAPSHOT/timescale-history-provider-feature-0.0.2-20230607.111411-9-osgifeature.json
[INFO] Uploaded to repo.eclipse.org: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/0.0.2-SNAPSHOT/timescale-history-provider-feature-0.0.2-20230607.111411-9-osgifeature.json (877 B at 11 kB/s)
[INFO] Uploaded to repo.eclipse.org: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/0.0.2-SNAPSHOT/timescale-history-provider-feature-0.0.2-20230607.111411-9-osgifeaturerepo.zip (1.2 MB at 5.8 MB/s)
[INFO] Downloading from repo.eclipse.org: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/maven-metadata.xml
[INFO] Downloaded from repo.eclipse.org: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/maven-metadata.xml (445 B at 12 kB/s)
[INFO] Uploading to repo.eclipse.org: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/0.0.2-SNAPSHOT/maven-metadata.xml
[INFO] Uploaded to repo.eclipse.org: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/0.0.2-SNAPSHOT/maven-metadata.xml (1.1 kB at 5.9 kB/s)
[INFO] Uploading to repo.eclipse.org: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/maven-metadata.xml
[INFO] Uploaded to repo.eclipse.org: https://repo.eclipse.org/content/repositories/sensinact-snapshots/org/eclipse/sensinact/gateway/distribution/features/timescale-history-provider-feature/maven-metadata.xml (445 B at 2.6 kB/s)