[root@ibm-p9z-27-lp22 components]# mvn test -pl camel-pubnub/ NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens java.base/jdk.internal.misc=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.security.action=ALL-UNNAMED --add-opens java.base/sun.net=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens java.base/sun.net.spi=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.util.regex=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.security.sasl/com.sun.security.sasl.digest=ALL-UNNAMED [INFO] Scanning for projects... [INFO] [INFO] -------------------< org.apache.camel:camel-pubnub >-------------------- [INFO] Building Camel :: PubNub 2.23.2.fuse-7_12_1-00007-redhat-00003 [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- buildmetadata-maven-plugin:1.7.0:provide-buildmetadata (build-metadata) @ camel-pubnub --- [INFO] Executing: /bin/sh -c cd /root/standalone-camel/fuse-qe/bash/camel/components/camel-pubnub && git rev-parse --verify HEAD [INFO] Working directory: /root/standalone-camel/fuse-qe/bash/camel/components/camel-pubnub [INFO] Executing: /bin/sh -c cd /root/standalone-camel/fuse-qe/bash/camel/components/camel-pubnub && git whatchanged --date=iso HEAD^..df9cae30e9eb4a0422449271e3f5d5c483b773be -- /root/standalone-camel/fuse-qe/bash/camel/components/camel-pubnub [INFO] Working directory: /root/standalone-camel/fuse-qe/bash/camel/components/camel-pubnub [INFO] Writing properties '/root/standalone-camel/fuse-qe/bash/camel/components/camel-pubnub/target/classes/META-INF/build.metadata'... [INFO] [INFO] --- maven-bundle-plugin:3.5.1:cleanVersions (versions) @ camel-pubnub --- [INFO] [INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @ camel-pubnub --- [INFO] Executing: /bin/sh -c cd /root/standalone-camel/fuse-qe/bash/camel/components/camel-pubnub && git rev-parse --verify HEAD [INFO] Working directory: /root/standalone-camel/fuse-qe/bash/camel/components/camel-pubnub [INFO] Storing buildNumber: df9cae30e9eb4a0422449271e3f5d5c483b773be at timestamp: 1698825628219 [WARNING] Cannot get the branch information from the git repository: Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref [INFO] Executing: /bin/sh -c cd /root/standalone-camel/fuse-qe/bash/camel/components/camel-pubnub && git rev-parse --verify HEAD [INFO] Working directory: /root/standalone-camel/fuse-qe/bash/camel/components/camel-pubnub [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- project-sources-maven-plugin:0.3:archive (project-sources-archive) @ camel-pubnub --- [INFO] Skipping the assembly in this project because it's not the Execution Root [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ camel-pubnub --- [INFO] [INFO] --- camel-package-maven-plugin:2.23.2.fuse-7_12_1-00007-redhat-00003:prepare-components (prepare) @ camel-pubnub --- [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ camel-pubnub --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] Copying 1 resource [INFO] skip non existing resourceDirectory /root/standalone-camel/fuse-qe/bash/camel/components/camel-pubnub/target/generated/camel/dataformats [INFO] skip non existing resourceDirectory /root/standalone-camel/fuse-qe/bash/camel/components/camel-pubnub/target/generated/camel/languages [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ camel-pubnub --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ camel-pubnub --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ camel-pubnub --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ camel-pubnub --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.camel.component.pubnub.PubNubConfigurationTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.896 s - in org.apache.camel.component.pubnub.PubNubConfigurationTest [INFO] Running org.apache.camel.component.pubnub.PubNubFireTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.01 s - in org.apache.camel.component.pubnub.PubNubFireTest [INFO] Running org.apache.camel.component.pubnub.PubNubOperationsTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.851 s - in org.apache.camel.component.pubnub.PubNubOperationsTest [INFO] Running org.apache.camel.component.pubnub.PubNubPresenceTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.483 s - in org.apache.camel.component.pubnub.PubNubPresenceTest [INFO] Running org.apache.camel.component.pubnub.PubNubPublishTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.371 s - in org.apache.camel.component.pubnub.PubNubPublishTest [INFO] Running org.apache.camel.component.pubnub.PubNubSubscriberTest [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.432 s <<< FAILURE! - in org.apache.camel.component.pubnub.PubNubSubscriberTest [ERROR] testPubSubMessageSubscribe(org.apache.camel.component.pubnub.PubNubSubscriberTest) Time elapsed: 0.233 s <<< FAILURE! com.github.tomakehurst.wiremock.client.VerificationException: 2 requests were unmatched by any stub mapping. Shown with closest stub mappings: expected:< GET [path] /v2/presence/sub-key/mySubscribeKey/channel/mychannel/heartbeat > but was:< GET /v2/presence/sub-key/mySubscribeKey/channel/mychannel/leave?pnsdk=PubNub-Java-Unified%2FsuchJava&requestid=PubNubRequestId&l_pres=0.008&uuid=myUUID > expected:< GET [path] /v2/subscribe/mySubscribeKey/mychannel/0 > but was:< GET /v2/presence/sub-key/mySubscribeKey/channel/mychannel/leave?pnsdk=PubNub-Java-Unified%2FsuchJava&requestid=PubNubRequestId&l_pres=0.008&uuid=myUUID > [INFO] [INFO] Results: [INFO] [WARNING] Flakes: [WARNING] org.apache.camel.component.pubnub.PubNubSubscriberTest.testPubSubMessageSubscribe(org.apache.camel.component.pubnub.PubNubSubscriberTest) [ERROR] Run 1: PubNubSubscriberTest.testPubSubMessageSubscribe 2 requests were unmatched by any stub mapping. Shown with closest stub mappings: expected:< GET [path] /v2/presence/sub-key/mySubscribeKey/channel/mychannel/heartbeat > but was:< GET /v2/presence/sub-key/mySubscribeKey/channel/mychannel/leave?pnsdk=PubNub-Java-Unified%2FsuchJava&requestid=PubNubRequestId&l_pres=0.008&uuid=myUUID > expected:< GET [path] /v2/subscribe/mySubscribeKey/mychannel/0 > but was:< GET /v2/presence/sub-key/mySubscribeKey/channel/mychannel/leave?pnsdk=PubNub-Java-Unified%2FsuchJava&requestid=PubNubRequestId&l_pres=0.008&uuid=myUUID > [INFO] Run 2: PASS [INFO] [INFO] [WARNING] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Flakes: 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 28.199 s [INFO] Finished at: 2023-11-01T04:00:42-04:00 [INFO] ------------------------------------------------------------------------ [root@ibm-p9z-27-lp22 components]#