[root@ibm-p9z-27-lp13 camel]# mvn test -pl components/camel-pubnub [INFO] Scanning for projects... [INFO] [INFO] -------------------< org.apache.camel:camel-pubnub >-------------------- [INFO] Building Camel :: PubNub 2.23.2.fuse-7_13_0-00013-redhat-00001 [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/camel-st/fuse-qe/bash/camel/components/camel-pubnub && git rev-parse --verify HEAD [INFO] Working directory: /root/camel-st/fuse-qe/bash/camel/components/camel-pubnub [INFO] Executing: /bin/sh -c cd /root/camel-st/fuse-qe/bash/camel/components/camel-pubnub && git whatchanged --date=iso HEAD^..028844b5cb00e512e3319689dd05e1e22e9693e2 -- /root/camel-st/fuse-qe/bash/camel/components/camel-pubnub [INFO] Working directory: /root/camel-st/fuse-qe/bash/camel/components/camel-pubnub [INFO] Writing properties '/root/camel-st/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/camel-st/fuse-qe/bash/camel/components/camel-pubnub && git rev-parse --verify HEAD [INFO] Working directory: /root/camel-st/fuse-qe/bash/camel/components/camel-pubnub [INFO] Storing buildNumber: 028844b5cb00e512e3319689dd05e1e22e9693e2 at timestamp: 1716164597493 [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/camel-st/fuse-qe/bash/camel/components/camel-pubnub && git rev-parse --verify HEAD [INFO] Working directory: /root/camel-st/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_13_0-00013-redhat-00001: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/camel-st/fuse-qe/bash/camel/components/camel-pubnub/target/generated/camel/dataformats [INFO] skip non existing resourceDirectory /root/camel-st/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: 3.873 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.159 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.92 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.472 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.351 s - in org.apache.camel.component.pubnub.PubNubPublishTest [INFO] Running org.apache.camel.component.pubnub.PubNubSubscriberTest [ERROR] Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.659 s <<< FAILURE! - in org.apache.camel.component.pubnub.PubNubSubscriberTest [ERROR] testPubSubMessageSubscribe(org.apache.camel.component.pubnub.PubNubSubscriberTest) Time elapsed: 0.24 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.002&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.002&uuid=myUUID > [ERROR] testPubSubMessageSubscribe(org.apache.camel.component.pubnub.PubNubSubscriberTest) Time elapsed: 0.19 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.003&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.003&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.002&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.002&uuid=myUUID > [ERROR] Run 2: 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.003&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.003&uuid=myUUID > [INFO] Run 3: PASS [INFO] [INFO] [WARNING] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Flakes: 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 43.890 s [INFO] Finished at: 2024-05-19T20:23:35-04:00 [INFO] ------------------------------------------------------------------------ [root@ibm-p9z-27-lp13 camel]#