Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Job fails with error (Failure reading from Agent Connection - java.io.IOException: EOF), when running on z/OS build forge agent

270002C5CF gravatar image
Question by Pritesh Patel  (1186) | Nov 02, 2016 at 02:08 PM zosbuild-forgebuildforgerational-build-forgebfagent

Using Build Forge 8.0.0.4 server/management console. Agent version is also 8.0.0.4 and agent is running on zOS. We have a job that basically runs a script, on the zOS agent, to unzip a file e.g.:

unzip -o release.zip

When you run the job, it starts and then after some random period, it fails with the following error:

 1254    10/20/16 2:08 PM                ERROR   java.io.IOException: EOF
 1255    10/20/16 2:08 PM                ERROR           at com.ibm.jas.agent.AgentConnection.readLine(AgentConnection.java:393)
 1256    10/20/16 2:08 PM                ERROR           at com.ibm.jas.agent.AgentConnection.readMessage(AgentConnection.java:331)
 1257    10/20/16 2:08 PM                ERROR           at com.ibm.jas.agent.AgentConnection.readMessage(AgentConnection.java:324)
 1258    10/20/16 2:08 PM                ERROR           at com.ibm.jas.agent.action.ReadAgentConnection.action(ReadAgentConnection.java:79)
 1259    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202)
 1260    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.action.flow.Block.action(Block.java:100)
 1261    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202)
 1262    10/20/16 2:08 PM                ERROR           at com.ibm.jas.mjc.server.impl.AgentServerProvider.finishExecute(AgentServerProvider.java:354)
 1263    10/20/16 2:08 PM                ERROR           at com.ibm.jas.mjc.server.impl.AgentServerProvider.execute(AgentServerProvider.java:320)
 1264    10/20/16 2:08 PM                ERROR           at com.ibm.jas.mjc.step.impl.MJCStepProvider.executeCommand(MJCStepProvider.java:142)
 1265    10/20/16 2:08 PM                ERROR           at com.ibm.jas.mjc.step.impl.MJCStepProvider.execute(MJCStepProvider.java:82)
 1266    10/20/16 2:08 PM                ERROR           at com.ibm.jas.mjc.step.SimpleStepProviderFiberAction.executeStepProvider(SimpleStepProviderFiberAction.java:185)
 1267    10/20/16 2:08 PM                ERROR           at com.ibm.jas.mjc.step.SimpleStepProviderFiberAction.action(SimpleStepProviderFiberAction.java:140)
 1268    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202)
 1269    10/20/16 2:08 PM                ERROR           at com.ibm.jas.mjc.step.SelectingStepProviderFiberAction.action(SelectingStepProviderFiberAction.java:156)
 1270    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202)
 1271    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.action.flow.Block.action(Block.java:123)
 1272    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.action.flow.Block.callInlinedBlock(Block.java:153)
 1273    10/20/16 2:08 PM                ERROR           at com.ibm.jas.mjc.step.InliningStepProviderFiberAction.action(InliningStepProviderFiberAction.java:111)
 1274    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202)
 1275    10/20/16 2:08 PM                ERROR           at com.ibm.jas.mjc.step.SelectingStepProviderFiberAction.action(SelectingStepProviderFiberAction.java:156)
 1276    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202)
 1277    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.action.flow.Block.action(Block.java:123)
 1278    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.action.flow.Block.callInlinedBlock(Block.java:153)
 1279    10/20/16 2:08 PM                ERROR           at com.ibm.jas.mjc.step.InliningStepProviderFiberAction.action(InliningStepProviderFiberAction.java:111)
 1280    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202)
 1281    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.action.flow.Block.action(Block.java:100)
 1282    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202)
 1283    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.Fiber.runFiber(Fiber.java:786)
 1284    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.FiberThread.runFibers(FiberThread.java:263)
 1285    10/20/16 2:08 PM                ERROR           at com.ibm.jas.fiber.FiberThread.run(FiberThread.java:250)
 1286    10/20/16 2:08 PM                ERROR           at com.ibm.jas.mjc.ProcessThread.run(ProcessThread.java:93)
 1287    10/20/16 2:08 PM                ERROR   Unexpected exception during execute operation

What could be causing such an error?

People who like this

  0   Show 2
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270002C5CF gravatar image Pritesh Patel (1186)   Oct 28, 2016 at 05:13 PM 0
Share

The issue was caused by a lack of resources on the zOS machine. They had run out of memory and had to allocate additional memory.

In z/OS, added a “region” parameter to the JCL that starts the agent and both the unzip command and the script now execute fine.

270002C5CF gravatar image Pritesh Patel (1186)   Oct 28, 2016 at 05:24 PM 0
Share

Other issue that was seen when the zOS ran out of resources was scripts failing on the bfagent machine. In the build log you would see RESULT 137.

In the associated jas-0.log, the following stack trace would be seen:

Oct 26, 2016 9:29:32 AM com.ibm.jas.mjc.ProcessThread$ProcessThreadExceptionHandler uncaughtException SEVERE: Exception during Job (f0c47d890c7a1000d82ebbfda3b9927a) execution, marking Job as failure... com.ibm.jas.fiber.FiberDeath at com.ibm.jas.fiber.FiberThread.cancelFibers(FiberThread.java:108) at com.ibm.jas.mjc.ProcessThread.signalJobFailed(ProcessThread.java:344) at com.ibm.jas.mjc.model.ServerStepProviderContext.propagateResult(ServerStepProviderContext.java:470) at com.ibm.jas.mjc.model.ServerStepProviderContext.propagateResult(ServerStepProviderContext.java:417) at com.ibm.jas.mjc.step.AbstractStepProviderFiberAction.ensureTerminalResultState(AbstractStepProviderFiberAction.java:311) at com.ibm.jas.mjc.step.SelectingStepProviderFiberAction.cleanup(SelectingStepProviderFiberAction.java:186) at com.ibm.jas.mjc.step.SelectingStepProviderFiberAction.action(SelectingStepProviderFiberAction.java:173) at com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202) at com.ibm.jas.fiber.action.flow.Block.action(Block.java:100) at com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202) at com.ibm.jas.fiber.Fiber.runFiber(Fiber.java:786) at com.ibm.jas.fiber.FiberThread.runFibers(FiberThread.java:263) at com.ibm.jas.fiber.FiberThread.run(FiberThread.java:250) at com.ibm.jas.mjc.ProcessThread.run(ProcessThread.java:93)

Oct 26, 2016 9:29:32 AM com.ibm.jas.mjc.model.JobImpl onJobFailed INFO: onJobFailed JobUuid:f0c47d890c7a1000d82ebbfda3b9927a,Target:d86809670c7a1000ea54bbfd87c14591 Oct 26, 2016 9:29:32 AM com.ibm.jas.mjc.ProcessThread recordJobState INFO: Set Job:[f0c47d890c7a1000d82ebbfda3b9927a] Stage Oct 26, 2016 9:29:32 AM com.ibm.jas.mjc.ProcessThread run INFO: Finished Job 'BUILD_9' (f0c47d890c7a1000d82ebbfda3b9927a) : FAILED

2 answers

  • Sort: 
270002C5CF gravatar image
Accepted answer

Answer by Pritesh Patel (1186) | Nov 18, 2016 at 11:22 AM

The issue was caused by a lack of resources on the zOS machine. They had run out of memory and had to allocate additional memory.

In z/OS, added a “region” parameter to the JCL that starts the agent and both the unzip command and the script now execute fine

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270002C5CF gravatar image

Answer by Pritesh Patel (1186) | Nov 19, 2016 at 04:50 PM

The issue was caused by a lack of resources on the zOS machine. They had run out of memory and had to allocate additional memory.

In z/OS, added a “region” parameter to the JCL that starts the agent and both the unzip command and the script now execute fine.

Other issue that was seen when the zOS ran out of resources was scripts failing on the bfagent machine. In the build log you would see RESULT 137.

In the associated jas-0.log, the following stack trace would be seen:

Oct 26, 2016 9:29:32 AM com.ibm.jas.mjc.ProcessThread$ProcessThreadExceptionHandler uncaughtException SEVERE: Exception during Job (f0c47d890c7a1000d82ebbfda3b9927a) execution, marking Job as failure... com.ibm.jas.fiber.FiberDeath at com.ibm.jas.fiber.FiberThread.cancelFibers(FiberThread.java:108) at com.ibm.jas.mjc.ProcessThread.signalJobFailed(ProcessThread.java:344) at com.ibm.jas.mjc.model.ServerStepProviderContext.propagateResult(ServerStepProviderContext.java:470) at com.ibm.jas.mjc.model.ServerStepProviderContext.propagateResult(ServerStepProviderContext.java:417) at com.ibm.jas.mjc.step.AbstractStepProviderFiberAction.ensureTerminalResultState(AbstractStepProviderFiberAction.java:311) at com.ibm.jas.mjc.step.SelectingStepProviderFiberAction.cleanup(SelectingStepProviderFiberAction.java:186) at com.ibm.jas.mjc.step.SelectingStepProviderFiberAction.action(SelectingStepProviderFiberAction.java:173) at com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202) at com.ibm.jas.fiber.action.flow.Block.action(Block.java:100) at com.ibm.jas.fiber.FiberAction.call(FiberAction.java:202) at com.ibm.jas.fiber.Fiber.runFiber(Fiber.java:786) at com.ibm.jas.fiber.FiberThread.runFibers(FiberThread.java:263) at com.ibm.jas.fiber.FiberThread.run(FiberThread.java:250) at com.ibm.jas.mjc.ProcessThread.run(ProcessThread.java:93)

Oct 26, 2016 9:29:32 AM com.ibm.jas.mjc.model.JobImpl onJobFailed INFO: onJobFailed JobUuid:f0c47d890c7a1000d82ebbfda3b9927a,Target:d86809670c7a1000ea54bbfd87c14591 Oct 26, 2016 9:29:32 AM com.ibm.jas.mjc.ProcessThread recordJobState INFO: Set Job:[f0c47d890c7a1000d82ebbfda3b9927a] Stage Oct 26, 2016 9:29:32 AM com.ibm.jas.mjc.ProcessThread run INFO: Finished Job 'BUILD_9' (f0c47d890c7a1000d82ebbfda3b9927a) : FAILED

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

91 people are following this question.

Answers

Answers & comments

Related questions

Compiling Build Forge Agent on zOS gives error: ERROR CCN3275 ./platform.c:939 Unexpected text 'int' encountered 1 Answer

How to perform a Build Forge agent silent install on Windows 1 Answer

Can you still use 7.1.x agents with BF 8.0.0.4 server? 1 Answer

In BF8, the condition ('isempty($[BF_CALLER_STEPNAME]) is returning false but in 7.1.3.5 it returns true. Why? 1 Answer

In Build Forge, why are adaptor emails not sent out by "System Alert Source" setting in Administration -> System 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges