Description
Make sure final over non-final option is checked.
Create test execution te_a and add test_a
Create test execution te_b and add test_a
Execute te_a to FAIL
Execute te_b to PASS
Re-execute te_b to EXECUTING
JQL | Expected result | Actual result |
---|---|---|
issuekey = test_a and testrunstatus = "FAIL" | test_a | no issues |
Â
Jira logs
2019-02-05 14:11:27,996 JIRA-EventThread-37 ERROR admin 849x71618x1 27yhio 127.0.0.1 /rest/raven/1.0/configuration/settings [c.x.r.c.service.impl.GroupMergerImpl] Error while merging status results2019-02-05 14:11:27,996 JIRA-EventThread-37 ERROR admin 849x71618x1 27yhio 127.0.0.1 /rest/raven/1.0/configuration/settings [c.x.r.c.service.impl.GroupMergerImpl] Error while merging status resultsjava.lang.IllegalStateException: Incorrect usage of JIRA/lucene search API. You can only create/use: ManagedIndexSearcher inside a context (request or Jira-Thread-Local). Check: JiraThreadLocalUtils for details. at com.atlassian.jira.index.ManagedIndexSearcherFactory.createFrom(ManagedIndexSearcherFactory.java:15) at com.atlassian.jira.issue.index.ThreadLocalSearcherCache$Cache.retrieveEntitySearcher(ThreadLocalSearcherCache.java:80) at com.atlassian.jira.issue.index.ThreadLocalSearcherCache.getSearcher(ThreadLocalSearcherCache.java:33) at com.atlassian.jira.issue.index.DefaultIndexManager.getEntitySearcher(DefaultIndexManager.java:885) at com.atlassian.jira.issue.index.DefaultIndexManager.getIssueSearcher(DefaultIndexManager.java:862) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:498) at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(SwitchingInvocationHandler.java:38) at com.sun.proxy.$Proxy12.getIssueSearcher(Unknown Source) at com.atlassian.jira.issue.search.SearchProviderFactoryImpl.getSearcher(SearchProviderFactoryImpl.java:17) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.getIssueSearcher(LuceneSearchProvider.java:129) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.searchDocuments(LuceneSearchProvider.java:457) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.searchDocuments(LuceneSearchProvider.java:464) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.runSearch(LuceneSearchProvider.java:453) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.getHits(LuceneSearchProvider.java:219) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:374) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:134) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:498) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at com.sun.proxy.$Proxy265.search(Unknown Source) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:498) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:131) at com.sun.proxy.$Proxy265.search(Unknown Source) at com.xpandit.wrapper.IssueSearcherImpl.searchIds(IssueSearcherImpl.java:186) at com.xpandit.wrapper.IssueSearcherImpl.searchIssueIdsOverrideSecurity(IssueSearcherImpl.java:170) at com.xpandit.raven.customfield.service.impl.GroupMergerImpl$GroupMergerHelper.getScopedTestExecutions(GroupMergerImpl.java:288) at com.xpandit.raven.customfield.service.impl.GroupMergerImpl$GroupMergerHelper.getScopedVersionTestRuns(GroupMergerImpl.java:244) at com.xpandit.raven.customfield.service.impl.GroupMergerImpl$GroupMergerHelper.getScopedTestRuns(GroupMergerImpl.java:240) at com.xpandit.raven.customfield.service.impl.GroupMergerImpl$GroupMergerHelper.createScopeValue(GroupMergerImpl.java:229) at com.xpandit.raven.customfield.service.impl.GroupMergerImpl$GroupMergerHelper.reCalculate(GroupMergerImpl.java:221) at com.xpandit.raven.customfield.service.impl.GroupMergerImpl$GroupMergerHelper.lambda$resetResults$1(GroupMergerImpl.java:214) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312) at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743) at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at com.xpandit.raven.customfield.service.impl.GroupMergerImpl$GroupMergerHelper.mergeEnvironmentResults(GroupMergerImpl.java:191) at com.xpandit.raven.customfield.service.impl.GroupMergerImpl$GroupMergerHelper.mergeGroups(GroupMergerImpl.java:155) at com.xpandit.raven.customfield.service.impl.GroupMergerImpl.mergeGroup(GroupMergerImpl.java:130) at com.xpandit.raven.customfield.service.impl.GroupMergerImpl.lambda$mergeExistingGroup$1(GroupMergerImpl.java:113) at java.util.Optional.map(Optional.java:215) at com.xpandit.raven.customfield.service.impl.GroupMergerImpl.mergeExistingGroup(GroupMergerImpl.java:113) at com.xpandit.raven.customfield.service.impl.DefaultTestRunStatusCustomFieldService.lambda$mergeStatusResults$7(DefaultTestRunStatusCustomFieldService.java:335) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at com.xpandit.raven.customfield.service.impl.DefaultTestRunStatusCustomFieldService.mergeStatusResults(DefaultTestRunStatusCustomFieldService.java:336) at com.xpandit.raven.customfield.service.impl.DefaultTestRunStatusCustomFieldService.updateCFValue(DefaultTestRunStatusCustomFieldService.java:253) at com.xpandit.raven.customfield.service.impl.DefaultTestRunStatusCustomFieldService.lambda$updateCustomFieldValues$4(DefaultTestRunStatusCustomFieldService.java:286) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1699) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at com.xpandit.raven.customfield.service.impl.DefaultTestRunStatusCustomFieldService.updateCustomFieldValues(DefaultTestRunStatusCustomFieldService.java:286) at com.xpandit.raven.customfield.listener.TestRunListener.updateAffectedCustomFieldsForUpdatedTestRuns(TestRunListener.java:161) at com.xpandit.raven.customfield.listener.TestRunListener.onTestRunStatusUpdatedEvent(TestRunListener.java:119) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:498) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:40) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.lambda$null$0(AsynchronousAbleEventDispatcher.java:37) 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)