Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-412

ParallelExecutionTests failed due to collector not invoked in partitioned batchlet

    Details

      Description

      [javatest.batch] FAILED........com/ibm/jbatch/tck/tests/jslxml/ParallelExecutionTests.java#testPartitionedMapperOverrideFalseOnRestart_from_ejb
      [javatest.batch] FAILED........com/ibm/jbatch/tck/tests/jslxml/ParallelExecutionTests.java#testPartitionedMapperOverrideFalseOnRestart_from_web
      [javatest.batch] FAILED........com/ibm/jbatch/tck/tests/jslxml/ParallelExecutionTests.java#testPartitionedMapperOverrideTrueDiffPartitionNumOnRestart_from_ejb
      [javatest.batch] FAILED........com/ibm/jbatch/tck/tests/jslxml/ParallelExecutionTests.java#testPartitionedMapperOverrideTrueDiffPartitionNumOnRestart_from_web
      [javatest.batch] FAILED........com/ibm/jbatch/tck/tests/jslxml/ParallelExecutionTests.java#testPartitionedMapperOverrideTrueSamePartitionNumOnRestart_from_ejb
      [javatest.batch] FAILED........com/ibm/jbatch/tck/tests/jslxml/ParallelExecutionTests.java#testPartitionedMapperOverrideTrueSamePartitionNumOnRestart_from_web
      [javatest.batch] FAILED........com/ibm/jbatch/tck/tests/jslxml/ParallelExecutionTests.java#testZeroBasedPartitionedPlanCollectorAnalyzerReducerRollback_from_ejb
      [javatest.batch] FAILED........com/ibm/jbatch/tck/tests/jslxml/ParallelExecutionTests.java#testZeroBasedPartitionedPlanCollectorAnalyzerReducerRollback_from_web

      I ran one of the tests alone to get the failure and here's what we get.

      [javatest.batch] ************************************************************
      [javatest.batch] * props file set to "/tmp/jperkins-cts-props.txt"
      [javatest.batch] ************************************************************
      [javatest.batch] 05-09-2018 12:00:26: Opened connection to http://localhost:8080/jslxml_web_vehicle_web/servlet_vehicle
      [javatest.batch] 05-09-2018 12:00:26: SVR: Loaded JobExecutionWaiterFactory with className = com.ibm.jbatch.tck.polling.TCKPollingExecutionWaiterFactory<p>
      [javatest.batch] 05-09-2018 12:00:26: SVR: Begin test method: testPartitionedMapperOverrideFalse
      [javatest.batch] 05-09-2018 12:00:26: SVR: Locate job XML file: job_partitioned_artifacts.xml
      [javatest.batch] 05-09-2018 12:00:26: SVR: Create Job parameters for Execution #1
      [javatest.batch] 05-09-2018 12:00:26: SVR: numPartitionsProp=3
      [javatest.batch] 05-09-2018 12:00:26: SVR: failThisPartition=0
      [javatest.batch] 05-09-2018 12:00:26: SVR: Invoke startJobAndWaitForResult
      [javatest.batch] 05-09-2018 12:00:26: SVR: Execution exit status = nullBeginCACARollbackAfter
      [javatest.batch] 05-09-2018 12:00:26: SVR-ERROR: Test case throws exception: Expected value: nullBeginCACACARollbackAfter, but found value: nullBeginCACARollbackAfter
      [javatest.batch] 05-09-2018 12:00:26: SVR-ERROR: Exception at:
      [javatest.batch] 05-09-2018 12:00:26: SVR-ERROR: java.lang.AssertionError: Expected value: nullBeginCACACARollbackAfter, but found value: nullBeginCACARollbackAfter
      [javatest.batch] at com.ibm.jbatch.tck.utils.AssertionUtils.assertWithMessage(AssertionUtils.java:43)
      [javatest.batch] at com.ibm.jbatch.tck.utils.AssertionUtils.assertObjEquals(AssertionUtils.java:26)
      [javatest.batch] at com.ibm.jbatch.tck.tests.jslxml.ParallelExecutionTests.testPartitionedMapperOverrideFalseOnRestart(ParallelExecutionTests.java:497)
      [javatest.batch] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [javatest.batch] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [javatest.batch] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [javatest.batch] at java.lang.reflect.Method.invoke(Method.java:498)
      [javatest.batch] at com.sun.ts.lib.harness.EETest.run(EETest.java:550)
      [javatest.batch] at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:113)
      [javatest.batch] at com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.runTest(ServletVehicle.java:115)
      [javatest.batch] at com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doGet(ServletVehicle.java:83)
      [javatest.batch] at com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doPost(ServletVehicle.java:105)
      [javatest.batch] at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      [javatest.batch] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      [javatest.batch] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
      [javatest.batch] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
      [javatest.batch] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:67)
      [javatest.batch] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
      [javatest.batch] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
      [javatest.batch] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      [javatest.batch] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
      [javatest.batch] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
      [javatest.batch] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      [javatest.batch] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
      [javatest.batch] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
      [javatest.batch] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
      [javatest.batch] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
      [javatest.batch] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
      [javatest.batch] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
      [javatest.batch] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      [javatest.batch] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
      [javatest.batch] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      [javatest.batch] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      [javatest.batch] at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
      [javatest.batch] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
      [javatest.batch] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
      [javatest.batch] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
      [javatest.batch] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
      [javatest.batch] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
      [javatest.batch] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      [javatest.batch] at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
      [javatest.batch] at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
      [javatest.batch] at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
      [javatest.batch] at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
      [javatest.batch] at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
      [javatest.batch] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
      [javatest.batch] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
      [javatest.batch] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
      [javatest.batch] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:360)
      [javatest.batch] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
      [javatest.batch] at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      [javatest.batch] at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
      [javatest.batch] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      [javatest.batch] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1349)
      [javatest.batch] at java.lang.Thread.run(Thread.java:748)
      [javatest.batch]
      [javatest.batch] 05-09-2018 12:00:26: SVR: Test running in servlet vehicle failed
      [javatest.batch] 05-09-2018 12:00:26: Test status from a servlet: 1:Test case throws exception: Expected value: nullBeginCACACARollbackAfter, but found value: nullBeginCACARollbackAfter
      [javatest.batch] 05-09-2018 12:00:26: Opened connection to http://localhost:8080/jslxml_web_vehicle_web/jsp_vehicle.jsp
      [javatest.batch] 05-09-2018 12:00:27: SVR: Loaded JobExecutionWaiterFactory with className = com.ibm.jbatch.tck.polling.TCKPollingExecutionWaiterFactory<p>
      [javatest.batch] 05-09-2018 12:00:27: SVR: Begin test method: testPartitionedMapperOverrideFalse
      [javatest.batch] 05-09-2018 12:00:27: SVR: Locate job XML file: job_partitioned_artifacts.xml
      [javatest.batch] 05-09-2018 12:00:27: SVR: Create Job parameters for Execution #1
      [javatest.batch] 05-09-2018 12:00:27: SVR: numPartitionsProp=3
      [javatest.batch] 05-09-2018 12:00:27: SVR: failThisPartition=0
      [javatest.batch] 05-09-2018 12:00:27: SVR: Invoke startJobAndWaitForResult
      [javatest.batch] 05-09-2018 12:00:27: SVR: Execution exit status = nullBeginCARollbackAfter
      [javatest.batch] 05-09-2018 12:00:27: SVR-ERROR: Test case throws exception: Expected value: nullBeginCACACARollbackAfter, but found value: nullBeginCARollbackAfter
      [javatest.batch] 05-09-2018 12:00:27: SVR-ERROR: Exception at:
      [javatest.batch] 05-09-2018 12:00:27: SVR-ERROR: java.lang.AssertionError: Expected value: nullBeginCACACARollbackAfter, but found value: nullBeginCARollbackAfter
      [javatest.batch] at com.ibm.jbatch.tck.utils.AssertionUtils.assertWithMessage(AssertionUtils.java:43)
      [javatest.batch] at com.ibm.jbatch.tck.utils.AssertionUtils.assertObjEquals(AssertionUtils.java:26)
      [javatest.batch] at com.ibm.jbatch.tck.tests.jslxml.ParallelExecutionTests.testPartitionedMapperOverrideFalseOnRestart(ParallelExecutionTests.java:497)
      [javatest.batch] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [javatest.batch] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [javatest.batch] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [javatest.batch] at java.lang.reflect.Method.invoke(Method.java:498)
      [javatest.batch] at com.sun.ts.lib.harness.EETest.run(EETest.java:550)
      [javatest.batch] at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:113)
      [javatest.batch] at org.apache.jsp.jsp_005fvehicle_jsp.runTest(jsp_005fvehicle_jsp.java:40)
      [javatest.batch] at org.apache.jsp.jsp_005fvehicle_jsp._jspService(jsp_005fvehicle_jsp.java:195)
      [javatest.batch] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      [javatest.batch] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      [javatest.batch] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
      [javatest.batch] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
      [javatest.batch] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
      [javatest.batch] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      [javatest.batch] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
      [javatest.batch] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
      [javatest.batch] at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)
      [javatest.batch] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:67)
      [javatest.batch] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
      [javatest.batch] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
      [javatest.batch] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      [javatest.batch] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
      [javatest.batch] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
      [javatest.batch] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      [javatest.batch] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
      [javatest.batch] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
      [javatest.batch] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
      [javatest.batch] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
      [javatest.batch] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
      [javatest.batch] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
      [javatest.batch] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      [javatest.batch] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
      [javatest.batch] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      [javatest.batch] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      [javatest.batch] at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
      [javatest.batch] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
      [javatest.batch] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
      [javatest.batch] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
      [javatest.batch] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
      [javatest.batch] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
      [javatest.batch] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      [javatest.batch] at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
      [javatest.batch] at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
      [javatest.batch] at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
      [javatest.batch] at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
      [javatest.batch] at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1514)
      [javatest.batch] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
      [javatest.batch] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
      [javatest.batch] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
      [javatest.batch] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:360)
      [javatest.batch] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
      [javatest.batch] at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      [javatest.batch] at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
      [javatest.batch] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      [javatest.batch] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
      [javatest.batch] at java.lang.Thread.run(Thread.java:748)
      [javatest.batch]
      [javatest.batch] 05-09-2018 12:00:27: SVR: Test running in jsp vehicle failed
      [javatest.batch] 05-09-2018 12:00:27: Test status from a jsp: 1:Test case throws exception: Expected value: nullBeginCACACARollbackAfter, but found value: nullBeginCARollbackAfter
      [javatest.batch] 05-09-2018 12:00:27: Test: returning from running in web vehicles
      [javatest.batch] STATUS:Failed.Test failed in a servlet and in a jsp
      [javatest.batch] Failed. Test failed in a servlet and in a jsp
      [javatest.batch] ********************************************************************************
      [javatest.batch] Finished Test: FAILED........com/ibm/jbatch/tck/tests/jslxml/ParallelExecutionTests.java#testPartitionedMapperOverrideFalseOnRestart_from_web
      [javatest.batch] ********************************************************************************

      From the WildFly log:
      12:00:26,475 INFO [stdout] (default task-1) ************************************************************
      12:00:26,475 INFO [stdout] (default task-1) * props file set to "/tmp/jperkins-cts-props.txt"
      12:00:26,475 INFO [stdout] (default task-1) ************************************************************
      12:00:26,476 INFO [stdout] (default task-1) In doPost!
      12:00:26,483 INFO [stdout] (default task-1) ServletVehicle - got InputStream
      12:00:26,485 INFO [stdout] (default task-1) read properties!!!
      12:00:26,498 INFO [stdout] (default task-1) got outputstream
      12:00:26,578 WARN [org.jberet] (Batch Thread - 2) JBERET000001: Failed to run batchlet org.jberet.job.model.RefArtifact@2784150c: java.lang.Exception: Fail this partition on purpose in MyPartitionedBatchlet.process()
      at com.ibm.jbatch.tck.artifacts.specialized.MyPartitionedBatchletImpl.process(MyPartitionedBatchletImpl.java:56) [classes:]
      at org.jberet.runtime.runner.BatchletRunner.run(BatchletRunner.java:76) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at org.wildfly.extension.batch.jberet.deployment.BatchEnvironmentService$WildFlyBatchEnvironment$1.run(BatchEnvironmentService.java:184)
      at org.jberet.spi.JobExecutor$1.run(JobExecutor.java:99) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_171]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_171]
      at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]
      at org.jboss.threads.JBossThread.run(JBossThread.java:485)

      12:00:26,585 ERROR [org.jberet] (Batch Thread - 1) JBERET000007: Failed to run job job_partitioned_artifacts, step1, org.jberet.job.model.Step@7ba3548: java.lang.Exception: analyzeStatus was called at an unexpected time. Expected String to have at least=CACACA ActualData=CACA
      at com.ibm.jbatch.tck.artifacts.specialized.MyPartitionAnalyzer.analyzeStatus(MyPartitionAnalyzer.java:67) [classes:]
      at org.jberet.runtime.runner.StepExecutionRunner.beginPartition(StepExecutionRunner.java:387) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at org.jberet.runtime.runner.StepExecutionRunner.runBatchletOrChunk(StepExecutionRunner.java:222) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at org.jberet.runtime.runner.StepExecutionRunner.run(StepExecutionRunner.java:144) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at org.jberet.runtime.runner.CompositeExecutionRunner.runStep(CompositeExecutionRunner.java:164) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at org.jberet.runtime.runner.CompositeExecutionRunner.runFromHeadOrRestartPoint(CompositeExecutionRunner.java:88) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at org.jberet.runtime.runner.JobExecutionRunner.run(JobExecutionRunner.java:60) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at org.wildfly.extension.batch.jberet.deployment.BatchEnvironmentService$WildFlyBatchEnvironment$1.run(BatchEnvironmentService.java:184)
      at org.jberet.spi.JobExecutor$1.run(JobExecutor.java:99) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_171]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_171]
      at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]
      at org.jboss.threads.JBossThread.run(JBossThread.java:485)

      12:00:26,654 INFO [stdout] (default task-1) ran test
      12:00:27,149 WARN [org.jberet] (Batch Thread - 6) JBERET000001: Failed to run batchlet org.jberet.job.model.RefArtifact@3c0614d: java.lang.Exception: Fail this partition on purpose in MyPartitionedBatchlet.process()
      at com.ibm.jbatch.tck.artifacts.specialized.MyPartitionedBatchletImpl.process(MyPartitionedBatchletImpl.java:56) [classes:]
      at org.jberet.runtime.runner.BatchletRunner.run(BatchletRunner.java:76) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at org.wildfly.extension.batch.jberet.deployment.BatchEnvironmentService$WildFlyBatchEnvironment$1.run(BatchEnvironmentService.java:184)
      at org.jberet.spi.JobExecutor$1.run(JobExecutor.java:99) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_171]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_171]
      at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]
      at org.jboss.threads.JBossThread.run(JBossThread.java:485)

      12:00:27,152 ERROR [org.jberet] (Batch Thread - 5) JBERET000007: Failed to run job job_partitioned_artifacts, step1, org.jberet.job.model.Step@e7f331c: java.lang.Exception: analyzeStatus was called at an unexpected time. Expected String to have at least=CACA ActualData=CA
      at com.ibm.jbatch.tck.artifacts.specialized.MyPartitionAnalyzer.analyzeStatus(MyPartitionAnalyzer.java:67) [classes:]
      at org.jberet.runtime.runner.StepExecutionRunner.beginPartition(StepExecutionRunner.java:387) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at org.jberet.runtime.runner.StepExecutionRunner.runBatchletOrChunk(StepExecutionRunner.java:222) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at org.jberet.runtime.runner.StepExecutionRunner.run(StepExecutionRunner.java:144) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at org.jberet.runtime.runner.CompositeExecutionRunner.runStep(CompositeExecutionRunner.java:164) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at org.jberet.runtime.runner.CompositeExecutionRunner.runFromHeadOrRestartPoint(CompositeExecutionRunner.java:88) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at org.jberet.runtime.runner.JobExecutionRunner.run(JobExecutionRunner.java:60) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at org.wildfly.extension.batch.jberet.deployment.BatchEnvironmentService$WildFlyBatchEnvironment$1.run(BatchEnvironmentService.java:184)
      at org.jberet.spi.JobExecutor$1.run(JobExecutor.java:99) [jberet-core-1.3.0.Final-SNAPSHOT.jar:1.3.0.Final-SNAPSHOT]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_171]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_171]
      at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]
      at org.jboss.threads.JBossThread.run(JBossThread.java:485)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  cfang Cheng Fang
                  Reporter:
                  cfang Cheng Fang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: