Return-Path: X-Original-To: apmail-batchee-dev-archive@minotaur.apache.org Delivered-To: apmail-batchee-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE92118C8E for ; Mon, 23 Nov 2015 21:02:14 +0000 (UTC) Received: (qmail 28105 invoked by uid 500); 23 Nov 2015 21:02:14 -0000 Delivered-To: apmail-batchee-dev-archive@batchee.apache.org Received: (qmail 28076 invoked by uid 500); 23 Nov 2015 21:02:14 -0000 Mailing-List: contact dev-help@batchee.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@batchee.incubator.apache.org Delivered-To: mailing list dev@batchee.incubator.apache.org Received: (qmail 28065 invoked by uid 99); 23 Nov 2015 21:02:14 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2015 21:02:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3BDCF1A0BBA for ; Mon, 23 Nov 2015 21:02:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.226 X-Spam-Level: * X-Spam-Status: No, score=1.226 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.554] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id OaUsk79kJfvf for ; Mon, 23 Nov 2015 21:02:13 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 101A320EBA for ; Mon, 23 Nov 2015 21:02:11 +0000 (UTC) Received: (qmail 26404 invoked by uid 99); 23 Nov 2015 21:02:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2015 21:02:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 123AE2C1F57 for ; Mon, 23 Nov 2015 21:02:11 +0000 (UTC) Date: Mon, 23 Nov 2015 21:02:11 +0000 (UTC) From: "Romain Manni-Bucau (JIRA)" To: dev@batchee.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BATCHEE-73) stochastic tck test-failure in JobOperatorTests.testJobOperatorAbandonJobDuringARestart MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BATCHEE-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15023059#comment-15023059 ] Romain Manni-Bucau commented on BATCHEE-73: ------------------------------------------- well it is more vicious - once again I agree the fix is valid code but I consider as a workaround. It actually affects all fields which shouldnt be the case. So either as you said we fix all usages (not only status) or we fix the persistence services. These last one being used by admin tools and for eviction of old data I think the persistence service is a better place than just our usages - ie let users use our persistence service while spec miss few methods. > stochastic tck test-failure in JobOperatorTests.testJobOperatorAbandonJobDuringARestart > --------------------------------------------------------------------------------------- > > Key: BATCHEE-73 > URL: https://issues.apache.org/jira/browse/BATCHEE-73 > Project: BatchEE > Issue Type: Bug > Components: jbatch-core > Affects Versions: 0.3-incubating > Reporter: Reinhard Sandtner > Fix For: 0.3-incubating > > Attachments: BATCHEE-73.patch > > > {{JobOperatorTests.testJobOperatorAbandonJobDuringARestart}} fails stochastically > {noformat} > java.lang.AssertionError: Did not see expected JobExecutionIsRunningException for abandon attempt during restart > at com.ibm.jbatch.tck.utils.AssertionUtils.assertWithMessage(AssertionUtils.java:52) > at com.ibm.jbatch.tck.tests.jslxml.JobOperatorTests.testJobOperatorAbandonJobDuringARestart(JobOperatorTests.java:345) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) > at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) > at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) > at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) > at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) > at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) > at org.testng.TestRunner.privateRun(TestRunner.java:767) > at org.testng.TestRunner.run(TestRunner.java:617) > at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) > at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) > at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) > at org.testng.SuiteRunner.run(SuiteRunner.java:240) > at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) > at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) > at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) > at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) > at org.testng.TestNG.run(TestNG.java:1057) > at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:282) > at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:83) > at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:114) > at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286) > at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240) > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)