You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I've problems with two way integrations between serenity and Jira Cloud.
Comment unable to update, and the log error is "ERROR n.s.junit.runners.SerenityRunner - Test event bus error: com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService;"
Log Error
16:14:22.385 [main] INFO n.s.plugins.jira.JiraUpdater - Updating comments for issue QT-1
16:14:22.385 [main] INFO n.s.plugins.jira.JiraUpdater - WIKI Rendering activated: true
16:14:22.875 [main] ERROR n.s.junit.runners.SerenityRunner - Test event bus error: com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService;
java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService;
at org.glassfish.jersey.client.ClientAsyncExecutorsFactory$2.getRespondingExecutor(ClientAsyncExecutorsFactory.java:85) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.process.internal.ExecutorsFactory.getInitialRespondingExecutor(ExecutorsFactory.java:126) ~[jersey-common-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientAsyncExecutorsFactory.(ClientAsyncExecutorsFactory.java:81) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientRuntime.(ClientRuntime.java:101) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientConfig$State.initRuntime(ClientConfig.java:380) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientConfig$State.access$000(ClientConfig.java:85) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientConfig$State$3.get(ClientConfig.java:117) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientConfig$State$3.get(ClientConfig.java:114) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.internal.util.collection.Values$LazyValue.get(Values.java:311) ~[jersey-common-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientConfig.getRuntime(ClientConfig.java:669) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientRequest.getConfiguration(ClientRequest.java:214) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.JerseyInvocation.validateHttpMethodAndEntity(JerseyInvocation.java:124) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.JerseyInvocation.(JerseyInvocation.java:97) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.JerseyInvocation.(JerseyInvocation.java:90) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:387) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:291) ~[jersey-client-2.3.1.jar:na]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.getComments(JerseyJiraClient.java:762) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at net.serenitybdd.plugins.jira.service.JiraIssueTracker.getCommentsFor(JiraIssueTracker.java:89) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at net.serenitybdd.plugins.jira.JiraUpdater.newOrUpdatedCommentFor(JiraUpdater.java:169) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at net.serenitybdd.plugins.jira.JiraUpdater.updateIssue(JiraUpdater.java:129) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at net.serenitybdd.plugins.jira.JiraUpdater.access$200(JiraUpdater.java:37) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at net.serenitybdd.plugins.jira.JiraUpdater$2.run(JiraUpdater.java:90) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:258) ~[guava-25.0-jre.jar:na]
at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1025) ~[guava-25.0-jre.jar:na]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:670) ~[guava-25.0-jre.jar:na]
at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.addListener(AbstractFuture.java:105) ~[guava-25.0-jre.jar:na]
at net.serenitybdd.plugins.jira.JiraUpdater.updateIssueStatus(JiraUpdater.java:86) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at net.serenitybdd.plugins.jira.JiraStepListener.testSuiteFinished(JiraStepListener.java:77) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at net.thucydides.core.steps.StepEventBus.testSuiteFinished(StepEventBus.java:616) ~[serenity-core-2.0.91.jar:2.0.91]
at net.serenitybdd.junit.runners.SerenityRunner.notifyTestSuiteFinished(SerenityRunner.java:277) [serenity-junit-2.0.91.jar:2.0.91]
at net.serenitybdd.junit.runners.SerenityRunner.run(SerenityRunner.java:248) [serenity-junit-2.0.91.jar:2.0.91]
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) [surefire-junit4-2.20.jar:2.20]
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272) [surefire-junit4-2.20.jar:2.20]
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) [surefire-junit4-2.20.jar:2.20]
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) [surefire-junit4-2.20.jar:2.20]
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) [surefire-booter-2.20.jar:2.20]
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) [surefire-booter-2.20.jar:2.20]
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) [surefire-booter-2.20.jar:2.20]
16:14:23.803 [pool-4-thread-1] INFO n.t.c.r.PackageRequirementsTagProvider - Loading requirements from package requirements at: starter
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.444 s - in starter.math.WhenAddingNumbers
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[JENKINS] Recording test results
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:25 min
[INFO] Finished at: 2020-01-31T16:14:40+07:00
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving E:\Automation Project\serenity-junit-starter\pom.xml to net.serenitybdd.starter/serenity-junit-starter/1.0.0-SNAPSHOT/serenity-junit-starter-1.0.0-SNAPSHOT.pom
channel stopped
any help would really appreciate.
regards,
The text was updated successfully, but these errors were encountered:
Hi. I've problems with two way integrations between serenity and Jira Cloud.
Comment unable to update, and the log error is "ERROR n.s.junit.runners.SerenityRunner - Test event bus error: com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService;"
Status Epic failed to update automatically.
Here's my pom.xml
net.serenity-bdd.maven.plugins serenity-maven-plugin 1.2.5-rc.6 ${tags} serenity-reports post-integration-test aggregate net.serenity-bdd serenity-jira-requirements-provider 1.1.3-rc.1net.serenity-bdd
serenity-jira-plugin
1.1.3-rc.1
net.serenity-bdd
serenity-jira-requirements-provider
1.1.3-rc.1
my-workflow.groovy
when 'TO DO', {
'success' should: 'DONE'
}
when 'TO DO', {
'failure' should: 'IN PROGRESS'
}
serenity.properties
jira.url=https://testingapplications.atlassian.net
jira.project=QT
jira.username=xxx
jira.password=xxx
serenity.requirement.types=epic
serenity.jira.always.create.new.comment=true
serenity.public.url=http://localhost:8080/job/JunitTesting/HTML_20Report/
serenity.compress.filenames=false
serenity.jira.workflow.active=true
serenity.jira.workflow=my-workflow.groovy
Log Error
16:14:22.385 [main] INFO n.s.plugins.jira.JiraUpdater - Updating comments for issue QT-1
16:14:22.385 [main] INFO n.s.plugins.jira.JiraUpdater - WIKI Rendering activated: true
16:14:22.875 [main] ERROR n.s.junit.runners.SerenityRunner - Test event bus error: com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService;
java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor()Lcom/google/common/util/concurrent/ListeningExecutorService;
at org.glassfish.jersey.client.ClientAsyncExecutorsFactory$2.getRespondingExecutor(ClientAsyncExecutorsFactory.java:85) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.process.internal.ExecutorsFactory.getInitialRespondingExecutor(ExecutorsFactory.java:126) ~[jersey-common-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientAsyncExecutorsFactory.(ClientAsyncExecutorsFactory.java:81) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientRuntime.(ClientRuntime.java:101) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientConfig$State.initRuntime(ClientConfig.java:380) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientConfig$State.access$000(ClientConfig.java:85) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientConfig$State$3.get(ClientConfig.java:117) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientConfig$State$3.get(ClientConfig.java:114) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.internal.util.collection.Values$LazyValue.get(Values.java:311) ~[jersey-common-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientConfig.getRuntime(ClientConfig.java:669) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.ClientRequest.getConfiguration(ClientRequest.java:214) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.JerseyInvocation.validateHttpMethodAndEntity(JerseyInvocation.java:124) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.JerseyInvocation.(JerseyInvocation.java:97) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.JerseyInvocation.(JerseyInvocation.java:90) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:387) ~[jersey-client-2.3.1.jar:na]
at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:291) ~[jersey-client-2.3.1.jar:na]
at net.serenitybdd.plugins.jira.client.JerseyJiraClient.getComments(JerseyJiraClient.java:762) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at net.serenitybdd.plugins.jira.service.JiraIssueTracker.getCommentsFor(JiraIssueTracker.java:89) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at net.serenitybdd.plugins.jira.JiraUpdater.newOrUpdatedCommentFor(JiraUpdater.java:169) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at net.serenitybdd.plugins.jira.JiraUpdater.updateIssue(JiraUpdater.java:129) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at net.serenitybdd.plugins.jira.JiraUpdater.access$200(JiraUpdater.java:37) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at net.serenitybdd.plugins.jira.JiraUpdater$2.run(JiraUpdater.java:90) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:258) ~[guava-25.0-jre.jar:na]
at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1025) ~[guava-25.0-jre.jar:na]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:670) ~[guava-25.0-jre.jar:na]
at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.addListener(AbstractFuture.java:105) ~[guava-25.0-jre.jar:na]
at net.serenitybdd.plugins.jira.JiraUpdater.updateIssueStatus(JiraUpdater.java:86) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at net.serenitybdd.plugins.jira.JiraStepListener.testSuiteFinished(JiraStepListener.java:77) ~[serenity-jira-plugin-1.1.3-rc.1.jar:na]
at net.thucydides.core.steps.StepEventBus.testSuiteFinished(StepEventBus.java:616) ~[serenity-core-2.0.91.jar:2.0.91]
at net.serenitybdd.junit.runners.SerenityRunner.notifyTestSuiteFinished(SerenityRunner.java:277) [serenity-junit-2.0.91.jar:2.0.91]
at net.serenitybdd.junit.runners.SerenityRunner.run(SerenityRunner.java:248) [serenity-junit-2.0.91.jar:2.0.91]
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) [surefire-junit4-2.20.jar:2.20]
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272) [surefire-junit4-2.20.jar:2.20]
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) [surefire-junit4-2.20.jar:2.20]
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) [surefire-junit4-2.20.jar:2.20]
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) [surefire-booter-2.20.jar:2.20]
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) [surefire-booter-2.20.jar:2.20]
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) [surefire-booter-2.20.jar:2.20]
16:14:23.803 [pool-4-thread-1] INFO n.t.c.r.PackageRequirementsTagProvider - Loading requirements from package requirements at: starter
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.444 s - in starter.math.WhenAddingNumbers
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[JENKINS] Recording test results
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:25 min
[INFO] Finished at: 2020-01-31T16:14:40+07:00
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving E:\Automation Project\serenity-junit-starter\pom.xml to net.serenitybdd.starter/serenity-junit-starter/1.0.0-SNAPSHOT/serenity-junit-starter-1.0.0-SNAPSHOT.pom
channel stopped
any help would really appreciate.
regards,
The text was updated successfully, but these errors were encountered: