I can successfully execute my tests using cucumber + TestNG and see the result in ReportPortal but not in parallel. If I do it in parallel, I see the errors below.
agent-java-cucumber4 - 4.1.0 (if I use 5.0.0-BETA-1, I don't see my run in ReportPortal at all)
cucumber-java - 4.8.0
cucumber-testng - 4.8.0
io.reactivex.exceptions.OnErrorNotImplementedException: Report Portal returned error
Status code: 406
Status message: Not Acceptable
Error Message: Finish test item is not allowed. Test item '5de63c26b297bb00012679df' has descendants with 'IN_PROGRESS' status. All descendants '[Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Before hooks, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Given Common: login "CSA" with user "keithc.admin" and password "mydemo", And Common: take screenshot of current page and save file with name "CountryList.png", Then Common: compare files between before folder and after folder and save differences to diff folder, After hooks, After hooks]'
Error Type: FINISH_ITEM_NOT_ALLOWED
at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:704)
at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:701)
at io.reactivex.internal.operators.maybe.MaybeCallbackObserver.onError(MaybeCallbackObserver.java:83)
at io.reactivex.internal.operators.maybe.MaybeSubscribeOn$SubscribeOnMaybeObserver.onError(MaybeSubscribeOn.java:96)
at io.reactivex.internal.operators.maybe.MaybeCache.onError(MaybeCache.java:103)
at io.reactivex.internal.operators.maybe.MaybeFromCallable.subscribeActual(MaybeFromCallable.java:50)
at io.reactivex.Maybe.subscribe(Maybe.java:3727)
at io.reactivex.internal.operators.maybe.MaybeCache.subscribeActual(MaybeCache.java:77)
at io.reactivex.Maybe.subscribe(Maybe.java:3727)
at io.reactivex.internal.operators.maybe.MaybeSubscribeOn$SubscribeTask.run(MaybeSubscribeOn.java:54)
at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:452)
at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:61)
at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:52)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.epam.reportportal.exception.ReportPortalException: Report Portal returned error
Status code: 406
Status message: Not Acceptable
Error Message: Finish test item is not allowed. Test item '5de63c26b297bb00012679df' has descendants with 'IN_PROGRESS' status. All descendants '[Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Before hooks, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Given Common: login "CSA" with user "keithc.admin" and password "mydemo", And Common: take screenshot of current page and save file with name "CountryList.png", Then Common: compare files between before folder and after folder and save differences to diff folder, After hooks, After hooks]'
Error Type: FINISH_ITEM_NOT_ALLOWED
at com.epam.reportportal.service.ReportPortalErrorHandler.handleError(ReportPortalErrorHandler.java:57)
at com.epam.reportportal.restendpoint.http.DefaultErrorHandler.handle(DefaultErrorHandler.java:56)
at com.epam.reportportal.restendpoint.http.HttpClientRestEndpoint$1.call(HttpClientRestEndpoint.java:486)
at com.epam.reportportal.restendpoint.http.HttpClientRestEndpoint$1.call(HttpClientRestEndpoint.java:455)
at io.reactivex.internal.operators.maybe.MaybeFromCallable.subscribeActual(MaybeFromCallable.java:46)
... 13 more
Exception in thread "RxCachedThreadScheduler-5" io.reactivex.exceptions.OnErrorNotImplementedException: Report Portal returned error
Status code: 406
Status message: Not Acceptable
Error Message: Finish test item is not allowed. Test item '5de63c26b297bb00012679df' has descendants with 'IN_PROGRESS' status. All descendants '[Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Before hooks, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Given Common: login "CSA" with user "keithc.admin" and password "mydemo", And Common: take screenshot of current page and save file with name "CountryList.png", Then Common: compare files between before folder and after folder and save differences to diff folder, After hooks, After hooks]'
Error Type: FINISH_ITEM_NOT_ALLOWED
at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:704)
at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:701)
at io.reactivex.internal.operators.maybe.MaybeCallbackObserver.onError(MaybeCallbackObserver.java:83)
at io.reactivex.internal.operators.maybe.MaybeSubscribeOn$SubscribeOnMaybeObserver.onError(MaybeSubscribeOn.java:96)
at io.reactivex.internal.operators.maybe.MaybeCache.onError(MaybeCache.java:103)
at io.reactivex.internal.operators.maybe.MaybeFromCallable.subscribeActual(MaybeFromCallable.java:50)
at io.reactivex.Maybe.subscribe(Maybe.java:3727)
at io.reactivex.internal.operators.maybe.MaybeCache.subscribeActual(MaybeCache.java:77)
at io.reactivex.Maybe.subscribe(Maybe.java:3727)
at io.reactivex.internal.operators.maybe.MaybeSubscribeOn$SubscribeTask.run(MaybeSubscribeOn.java:54)
at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:452)
at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:61)
at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:52)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.epam.reportportal.exception.ReportPortalException: Report Portal returned error
Status code: 406
Status message: Not Acceptable
Error Message: Finish test item is not allowed. Test item '5de63c26b297bb00012679df' has descendants with 'IN_PROGRESS' status. All descendants '[Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Before hooks, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Given Common: login "CSA" with user "keithc.admin" and password "mydemo", And Common: take screenshot of current page and save file with name "CountryList.png", Then Common: compare files between before folder and after folder and save differences to diff folder, After hooks, After hooks]'
Error Type: FINISH_ITEM_NOT_ALLOWED
at com.epam.reportportal.service.ReportPortalErrorHandler.handleError(ReportPortalErrorHandler.java:57)
at com.epam.reportportal.restendpoint.http.DefaultErrorHandler.handle(DefaultErrorHandler.java:56)
at com.epam.reportportal.restendpoint.http.HttpClientRestEndpoint$1.call(HttpClientRestEndpoint.java:486)
at com.epam.reportportal.restendpoint.http.HttpClientRestEndpoint$1.call(HttpClientRestEndpoint.java:455)
at io.reactivex.internal.operators.maybe.MaybeFromCallable.subscribeActual(MaybeFromCallable.java:46)
... 13 more
io.reactivex.exceptions.OnErrorNotImplementedException: Report Portal returned error
Status code: 406
Status message: Not Acceptable
Error Message: Finish test item is not allowed. Test item '5de63c26b297bb00012679df' has descendants with 'IN_PROGRESS' status. All descendants '[Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Before hooks, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Given Common: login "CSA" with user "keithc.admin" and password "mydemo", And Common: take screenshot of current page and save file with name "CountryList.png", Then Common: compare files between before folder and after folder and save differences to diff folder, After hooks, After hooks]'
Error Type: FINISH_ITEM_NOT_ALLOWED
at io.reactivex.internal.observers.EmptyCompletableObserver.onError(EmptyCompletableObserver.java:51)
at io.reactivex.internal.operators.completable.CompletableSubscribeOn$SubscribeOnObserver.onError(CompletableSubscribeOn.java:74)
at io.reactivex.internal.operators.completable.CompletableCache.onError(CompletableCache.java:81)
at io.reactivex.internal.operators.maybe.MaybeIgnoreElementCompletable$IgnoreMaybeObserver.onError(MaybeIgnoreElementCompletable.java:73)
at io.reactivex.internal.operators.maybe.MaybeDoAfterSuccess$DoAfterObserver.onError(MaybeDoAfterSuccess.java:81)
at io.reactivex.internal.operators.maybe.MaybeDelayWithCompletable$DelayWithMainObserver.onError(MaybeDelayWithCompletable.java:107)
at io.reactivex.internal.operators.maybe.MaybeFlatten$FlatMapMaybeObserver$InnerObserver.onError(MaybeFlatten.java:125)
at io.reactivex.internal.operators.maybe.MaybePeek$MaybePeekObserver.onErrorInner(MaybePeek.java:147)
at io.reactivex.internal.operators.maybe.MaybePeek$MaybePeekObserver.onError(MaybePeek.java:134)
at io.reactivex.internal.operators.maybe.MaybePeek$MaybePeekObserver.onErrorInner(MaybePeek.java:147)
at io.reactivex.internal.operators.maybe.MaybePeek$MaybePeekObserver.onError(MaybePeek.java:134)
at io.reactivex.internal.operators.flowable.FlowableSingleMaybe$SingleElementSubscriber.onError(FlowableSingleMaybe.java:89)
at io.reactivex.internal.operators.flowable.FlowableRetryPredicate$RepeatSubscriber.onError(FlowableRetryPredicate.java:92)
at io.reactivex.internal.operators.maybe.MaybeToFlowable$MaybeToFlowableSubscriber.onError(MaybeToFlowable.java:75)
at io.reactivex.internal.operators.maybe.MaybeFlatten$FlatMapMaybeObserver.onError(MaybeFlatten.java:103)
at io.reactivex.internal.operators.maybe.MaybeSubscribeOn$SubscribeOnMaybeObserver.onError(MaybeSubscribeOn.java:96)
at io.reactivex.internal.operators.maybe.MaybeCache.subscribeActual(MaybeCache.java:62)
at io.reactivex.Maybe.subscribe(Maybe.java:3727)
at io.reactivex.internal.operators.maybe.MaybeSubscribeOn$SubscribeTask.run(MaybeSubscribeOn.java:54)
at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:452)
at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:61)
at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:52)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.epam.reportportal.exception.ReportPortalException: Report Portal returned error
Status code: 406
Status message: Not Acceptable
Error Message: Finish test item is not allowed. Test item '5de63c26b297bb00012679df' has descendants with 'IN_PROGRESS' status. All descendants '[Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Before hooks, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Given Common: login "CSA" with user "keithc.admin" and password "mydemo", And Common: take screenshot of current page and save file with name "CountryList.png", Then Common: compare files between before folder and after folder and save differences to diff folder, After hooks, After hooks]'
Error Type: FINISH_ITEM_NOT_ALLOWED
at com.epam.reportportal.service.ReportPortalErrorHandler.handleError(ReportPortalErrorHandler.java:57)
at com.epam.reportportal.restendpoint.http.DefaultErrorHandler.handle(DefaultErrorHandler.java:56)
at com.epam.reportportal.restendpoint.http.HttpClientRestEndpoint$1.call(HttpClientRestEndpoint.java:486)
at com.epam.reportportal.restendpoint.http.HttpClientRestEndpoint$1.call(HttpClientRestEndpoint.java:455)
at io.reactivex.internal.operators.maybe.MaybeFromCallable.subscribeActual(MaybeFromCallable.java:46)
at io.reactivex.Maybe.subscribe(Maybe.java:3727)
at io.reactivex.internal.operators.maybe.MaybeCache.subscribeActual(MaybeCache.java:77)
... 11 more
Exception in thread "RxCachedThreadScheduler-6" io.reactivex.exceptions.OnErrorNotImplementedException: Report Portal returned error
Status code: 406
Status message: Not Acceptable
Error Message: Finish test item is not allowed. Test item '5de63c26b297bb00012679df' has descendants with 'IN_PROGRESS' status. All descendants '[Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Before hooks, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Given Common: login "CSA" with user "keithc.admin" and password "mydemo", And Common: take screenshot of current page and save file with name "CountryList.png", Then Common: compare files between before folder and after folder and save differences to diff folder, After hooks, After hooks]'
Error Type: FINISH_ITEM_NOT_ALLOWED
at io.reactivex.internal.observers.EmptyCompletableObserver.onError(EmptyCompletableObserver.java:51)
at io.reactivex.internal.operators.completable.CompletableSubscribeOn$SubscribeOnObserver.onError(CompletableSubscribeOn.java:74)
at io.reactivex.internal.operators.completable.CompletableCache.onError(CompletableCache.java:81)
at io.reactivex.internal.operators.maybe.MaybeIgnoreElementCompletable$IgnoreMaybeObserver.onError(MaybeIgnoreElementCompletable.java:73)
at io.reactivex.internal.operators.maybe.MaybeDoAfterSuccess$DoAfterObserver.onError(MaybeDoAfterSuccess.java:81)
at io.reactivex.internal.operators.maybe.MaybeDelayWithCompletable$DelayWithMainObserver.onError(MaybeDelayWithCompletable.java:107)
at io.reactivex.internal.operators.maybe.MaybeFlatten$FlatMapMaybeObserver$InnerObserver.onError(MaybeFlatten.java:125)
at io.reactivex.internal.operators.maybe.MaybePeek$MaybePeekObserver.onErrorInner(MaybePeek.java:147)
at io.reactivex.internal.operators.maybe.MaybePeek$MaybePeekObserver.onError(MaybePeek.java:134)
at io.reactivex.internal.operators.maybe.MaybePeek$MaybePeekObserver.onErrorInner(MaybePeek.java:147)
at io.reactivex.internal.operators.maybe.MaybePeek$MaybePeekObserver.onError(MaybePeek.java:134)
at io.reactivex.internal.operators.flowable.FlowableSingleMaybe$SingleElementSubscriber.onError(FlowableSingleMaybe.java:89)
at io.reactivex.internal.operators.flowable.FlowableRetryPredicate$RepeatSubscriber.onError(FlowableRetryPredicate.java:92)
at io.reactivex.internal.operators.maybe.MaybeToFlowable$MaybeToFlowableSubscriber.onError(MaybeToFlowable.java:75)
at io.reactivex.internal.operators.maybe.MaybeFlatten$FlatMapMaybeObserver.onError(MaybeFlatten.java:103)
at io.reactivex.internal.operators.maybe.MaybeSubscribeOn$SubscribeOnMaybeObserver.onError(MaybeSubscribeOn.java:96)
at io.reactivex.internal.operators.maybe.MaybeCache.subscribeActual(MaybeCache.java:62)
at io.reactivex.Maybe.subscribe(Maybe.java:3727)
at io.reactivex.internal.operators.maybe.MaybeSubscribeOn$SubscribeTask.run(MaybeSubscribeOn.java:54)
at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:452)
at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:61)
at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:52)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.epam.reportportal.exception.ReportPortalException: Report Portal returned error
Status code: 406
Status message: Not Acceptable
Error Message: Finish test item is not allowed. Test item '5de63c26b297bb00012679df' has descendants with 'IN_PROGRESS' status. All descendants '[Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Before hooks, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Scenario: C10106 - Migration.CSA.ROOT.ScreenshotsComparison.Countrylist, Given Common: login "CSA" with user "keithc.admin" and password "mydemo", And Common: take screenshot of current page and save file with name "CountryList.png", Then Common: compare files between before folder and after folder and save differences to diff folder, After hooks, After hooks]'
Error Type: FINISH_ITEM_NOT_ALLOWED
at com.epam.reportportal.service.ReportPortalErrorHandler.handleError(ReportPortalErrorHandler.java:57)
at com.epam.reportportal.restendpoint.http.DefaultErrorHandler.handle(DefaultErrorHandler.java:56)
at com.epam.reportportal.restendpoint.http.HttpClientRestEndpoint$1.call(HttpClientRestEndpoint.java:486)
at com.epam.reportportal.restendpoint.http.HttpClientRestEndpoint$1.call(HttpClientRestEndpoint.java:455)
at io.reactivex.internal.operators.maybe.MaybeFromCallable.subscribeActual(MaybeFromCallable.java:46)
at io.reactivex.Maybe.subscribe(Maybe.java:3727)
at io.reactivex.internal.operators.maybe.MaybeCache.subscribeActual(MaybeCache.java:77)
... 11 more`