Occasionally we are seeing the DUPLICATE_TRANSACTION failure during nightly regression. The error messages are below. This needs to be fixed from test-client's transaction generation logic.
2020-05-12 06:42:54.121 INFO 102 ProviderRun - Finished initializion for provider run...
2020-05-12 06:43:04.328 INFO 125 ProviderRun - 17 minutes left in test - 220 ops submitted so far (11 pending).
java.lang.AssertionError: Wrong precheck status! expected:<OK> but was:<DUPLICATE_TRANSACTION>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at com.hedera.services.bdd.spec.transactions.HapiTxnOp.submitOp(HapiTxnOp.java:176)
at com.hedera.services.bdd.spec.HapiSpecOperation.execFor(HapiSpecOperation.java:165)
at com.hedera.services.bdd.spec.utilops.grouping.ParallelSpecOps.lambda$submitOp$1(ParallelSpecOps.java:51)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1799)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
2020-05-12 06:43:50.153 WARN 181 HapiSpecOperation - 'UmbrellaRedux' - ParallelSpecOps{numSubOps=1} failed!
java.lang.AssertionError: Problem(s) with sub-operation(s): HapiMessageSubmit{sigs=7, node=0.0.3, topic=RandomTopicCreation-topic10, message=Optional[Hello Hedera]} :: Wrong precheck status! expected:<OK> but was:<DUPLICATE_TRANSACTION>
at org.junit.Assert.fail(Assert.java:88) ~[junit-4.12.jar:4.12]
at com.hedera.services.bdd.spec.utilops.grouping.ParallelSpecOps.submitOp(ParallelSpecOps.java:64) ~[classes/:?]
at com.hedera.services.bdd.spec.HapiSpecOperation.execFor(HapiSpecOperation.java:165) ~[classes/:?]
at com.hedera.services.bdd.spec.utilops.CustomSpecAssert.allRunFor(CustomSpecAssert.java:38) ~[classes/:?]
at com.hedera.services.bdd.spec.utilops.CustomSpecAssert.allRunFor(CustomSpecAssert.java:47) ~[classes/:?]
at com.hedera.services.bdd.spec.utilops.ProviderRun.submitOp(ProviderRun.java:144) ~[classes/:?]
at com.hedera.services.bdd.spec.HapiSpecOperation.execFor(HapiSpecOperation.java:165) ~[classes/:?]
at com.hedera.services.bdd.spec.HapiApiSpec.exec(HapiApiSpec.java:189) ~[classes/:?]
at com.hedera.services.bdd.spec.HapiApiSpec.run(HapiApiSpec.java:149) ~[classes/:?]
at java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:720) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) ~[?:?]
at com.hedera.services.bdd.suites.HapiApiSuite.runSync(HapiApiSuite.java:231) ~[classes/:?]
at com.hedera.services.bdd.suites.HapiApiSuite.runSuite(HapiApiSuite.java:123) ~[classes/:?]
at com.hedera.services.bdd.suites.HapiApiSuite.runSuiteSync(HapiApiSuite.java:116) ~[classes/:?]
at com.hedera.services.bdd.suites.SuiteRunner.lambda$runSuitesSync$10(SuiteRunner.java:265) ~[classes/:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:176) ~[?:?]
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
at com.hedera.services.bdd.suites.SuiteRunner.runSuitesSync(SuiteRunner.java:266) ~[classes/:?]
at com.hedera.services.bdd.suites.SuiteRunner.lambda$runTargetCategories$6(SuiteRunner.java:240) ~[classes/:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) [?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654) [?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) [?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) [?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) [?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) [?:?]
at com.hedera.services.bdd.suites.SuiteRunner.runTargetCategories(SuiteRunner.java:240) [classes/:?]
at com.hedera.services.bdd.suites.SuiteRunner.runCategories(SuiteRunner.java:209) [classes/:?]
at com.hedera.services.bdd.suites.SuiteRunner.main(SuiteRunner.java:182) [classes/:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282) [exec-maven-plugin-1.6.0.jar:?]
at java.lang.Thread.run(Thread.java:835) [?:?]
2020-05-12 06:43:50.159 WARN 181 HapiSpecOperation - 'UmbrellaRedux' - ProviderRun{} failed!
java.lang.AssertionError: Operation 'ParallelSpecOps{numSubOps=1}' :: Problem(s) with sub-operation(s): HapiMessageSubmit{sigs=7, node=0.0.3, topic=RandomTopicCreation-topic10, message=Optional[Hello Hedera]} :: Wrong precheck status! expected:<OK> but was:<DUPLICATE_TRANSACTION>
at org.junit.Assert.fail(Assert.java:88) ~[junit-4.12.jar:4.12]
at com.hedera.services.bdd.spec.utilops.CustomSpecAssert.allRunFor(CustomSpecAssert.java:40) ~[classes/:?]
at com.hedera.services.bdd.spec.utilops.CustomSpecAssert.allRunFor(CustomSpecAssert.java:47) ~[classes/:?]
at com.hedera.services.bdd.spec.utilops.ProviderRun.submitOp(ProviderRun.java:144) ~[classes/:?]
at com.hedera.services.bdd.spec.HapiSpecOperation.execFor(HapiSpecOperation.java:165) ~[classes/:?]
at com.hedera.services.bdd.spec.HapiApiSpec.exec(HapiApiSpec.java:189) ~[classes/:?]
at com.hedera.services.bdd.spec.HapiApiSpec.run(HapiApiSpec.java:149) ~[classes/:?]
at java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:720) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) ~[?:?]
at com.hedera.services.bdd.suites.HapiApiSuite.runSync(HapiApiSuite.java:231) ~[classes/:?]
at com.hedera.services.bdd.suites.HapiApiSuite.runSuite(HapiApiSuite.java:123) ~[classes/:?]
at com.hedera.services.bdd.suites.HapiApiSuite.runSuiteSync(HapiApiSuite.java:116) ~[classes/:?]
at com.hedera.services.bdd.suites.SuiteRunner.lambda$runSuitesSync$10(SuiteRunner.java:265) ~[classes/:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:176) ~[?:?]
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
at com.hedera.services.bdd.suites.SuiteRunner.runSuitesSync(SuiteRunner.java:266) ~[classes/:?]
at com.hedera.services.bdd.suites.SuiteRunner.lambda$runTargetCategories$6(SuiteRunner.java:240) ~[classes/:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) [?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654) [?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) [?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) [?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) [?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) [?:?]
at com.hedera.services.bdd.suites.SuiteRunner.runTargetCategories(SuiteRunner.java:240) [classes/:?]
at com.hedera.services.bdd.suites.SuiteRunner.runCategories(SuiteRunner.java:209) [classes/:?]
at com.hedera.services.bdd.suites.SuiteRunner.main(SuiteRunner.java:182) [classes/:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282) [exec-maven-plugin-1.6.0.jar:?]
at java.lang.Thread.run(Thread.java:835) [?:?]
2020-05-12 06:43:50.163 INFO 214 HapiApiSpec - 'UmbrellaRedux' - final status: FAILED!
2020-05-12 06:43:50.163 INFO 150 UmbrellaRedux - -------------- RESULTS OF UmbrellaRedux SUITE --------------
2020-05-12 06:43:50.164 INFO 152 UmbrellaRedux - Spec{name=UmbrellaRedux, status=FAILED}
2020-05-12 06:43:50.171 INFO 214 SuiteRunner - ============== sync run results ==============
2020-05-12 06:43:50.171 INFO 217 SuiteRunner - UmbrellaRedux :: 0/1 suites ran OK
2020-05-12 06:43:50.172 INFO 223 SuiteRunner - --> Problems in suite 'UmbrellaRedux' :: Spec{name=UmbrellaRedux, status=FAILED}
Ubuntu 18.04.2 LTS