I have an error that I am battling to get further info from, on Go 2.1 agent (Centos 5.4 x86_64).
The error in the job's console is:
Error happend while attempting to execute '/bin/bash /usr/local/bin/my-script.sh param1 param2.
Please make sure [/bin/bash] can be executed on this agent.
The config is a simple exec with parameters. The job works regularly, but this error first occurred 2 weeks ago. I resolved it after numerous reruns of the stage by stopping and starting the agent.Now, even after restarting the agent, the job fails with the above error.
The script is a database updating script, that runs another bash script, php CLI and mysql client in sequence. Go agent is configured with default startup parameters. The environment is virtualized (Xen paravirtualization), 512MB memory on the host. I can run the script without error if I manually run the exact same script as the same user (go) from the bash interactive shell.
Any way to futher troubleshooting this issue? I have no idea as to whether its a heap or maxperm JVM issue, or the virtualization running out of memory (assuming it is memory related, which is not necessarily the case).