BuildForge Agent Functional Failure 999
![]()
Hi,
i was having some issue with BuildForge Agent connectivity check recently where the agent return Functional Failure - RESULT 999. I have tried whatever debug technique possible with no luck on identifying the possible cause. There were no changes on the agent host recently except network. When reading the bfagent.log, the only culprit i could possibly see is ping.c (38): ping failed , but everything else seem to worked fine; login/auth/etc ... Not sure does anyone has any clue on the agent connectivity ping method - how it determine PingOK (or PingFail). i am not a C/C++ programmer so i couldn't understand the bfagent src code ... |
4 answers
![]() Hi, Hi, I usually suggest trying ping from the command line to see what those messages look like. To do that from the command line, you can enter these commands:
If it's successful the last few messages will look similar to this from my Windows agent. If not, there may be some lines in there that may help in debugging.
Brent Ulbricht RTC Build Lead |
![]()
Hi,
Yup, tried. and the return code is 999. it seem like 999 were hard-coded in the source code when it say Ping Failed. What i would really like to know is how the agent determine "Ping OK" or "Ping Failed". The agent host is working fine (e.g. application, ssh, login, etc ...). it is possible is due to poor network but it would be best if i can simulate manually how the agent determine what is PingOK or PingFail - so that i can prove to network people. |
![]() Hi, From a quick look at the code, it looks like the ping command tries to spawn a process that does an 'exit 0' with a timeout of 10. If the timeout is exceeded, the 999 return code gets propagated. Brent Ulbricht RTC Build Lead |
![]()
Thank you so much, the culprit is on network. I am now able to provide some evidence to the system/network guys.
Here is what i did,
when test with timeout 10, PingFailed. when test with timeout >10, PingOK. Poor Network |
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.