Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

BuildForge agent Status: Functional failure

One of my agent lost the connection with the following error. Following the instruction in this post, I got this result. Any idea what's wrong?

 Host: ccsourcelp01:5556

Agent Version: 7.1.1.3-0-0034
Authentication: bldforge
Platform: linux 2.6.18-371.3.1.el5 #1 SMP Mon Nov 11 03:23:58 EST 2013
Status: Functional failure
Duration: 3

 

https://jazz.net/forum/questions/57110/buildforge-agent-functional-failure-999

 

320 AUTH AuthOk["bldforge"]
                           320 SET EnvSet["BF_AGENT_VERSION","7.1.1.3-0-0034"]
                                                                              320 SET EnvSet["BF_AGENT_PLATFORM","linux
2.6.18-371.3.1.el5 #1 SMP Mon Nov 11 03:23:58 EST 2013"]
                                                        320 EXEC Locale["C"]
                                                                            320 PTY Pty[*PtyPipe]
                                                                                                 320 EXEC Locale["C"]
                                                                                                                     320
 EXEC ExecScriptFail[+13,"/tmp/bf4zqhtO"]
                                         310 PLAT linux 2.6.18-371.3.1.el5 #1 SMP Mon Nov 11 03:23:58 EST 2013
                                                                                                              251 RESULT
 13
   260 EOR

0 votes



2 answers

Permanent link
 So what the agent does is store the commands to run in a tmp file, then execute the shell script and capture the output.  What you're seeing is that script "/tmp/bf4zqhtO" is failing to execute (returning error code 13).  That error code is permission denied.  So you may have extended ACLs in use on the tmp filesystem that are preventing execution, the shell may be incorrect for your system, or there may be something else that is preventing the script from executing.

Edit the bfagent.conf, turn on the leave tmp files option, and check the shell option.  The next time you try the above, it will leave behind the tmp file it tried to execute.  Try executing it by hand as the user listed in the server_auth.  This should get you more information.

0 votes


Permanent link
I have found same issue.

##############################################################3
320 AUTH AuthOk["unity"]
320 SET EnvSet["BF_AGENT_VERSION","7.1.3.6-0-0006"]
320 SET EnvSet["BF_AGENT_PLATFORM","linux 3.10.0-221.ael7b.ppc64le #1 SMP Wed Jan 7 09:27:09 EST 2015"]
320 EXEC Locale["C"]
320 PTY Pty[*PtyPipe]
320 EXEC Locale["C"]
320 EXEC ExecShellPath["/bin/bash"]
300 HEARTBEAT 1
310 * EXEC: /bin/bash: 13
310 PLAT linux 3.10.0-221.ael7b.ppc64le #1 SMP Wed Jan 7 09:27:09 EST 2015
251 RESULT 13
260 EOR
quit
#####################################################
After doing even setting to store file in tmp/bf4zyyzO. The script could be sucessfully run by the users.
What can be done next to debug issue further.
-----------------------------------------------------------
One difference is it is powerpc lle :
Linux c277-pkvm-vm8 3.10.0-221.ael7b.ppc64le #1 SMP Wed Jan 7 09:27:09 EST 2015 ppc64le ppc64le ppc64le GNU/Linux
Red Hat Enterprise Linux Server release 7.1 Beta (Maipo)
---------------------------------------------------------------------------

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 04 '14, 10:29 a.m.

Question was seen: 5,817 times

Last updated: Nov 12 '15, 10:18 a.m.

Confirmation Cancel Confirm