You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
While running the bamboo plan fails to execute the robot tests as below:
command 26-Apr-2023 05:22:39 Beginning to execute external process for build 'Platform - Validation - Initial Job #63 (P-V-JOB1-63)'\n ... running command line: \n/home/root/bamboo-agent-home/temp/P-V-JOB1-63-ScriptBuildTask-1082238127479262881.sh\n ... in: /home/root/bamboo-agent-home/xml-data/build-dir/P-V-JOB1\n build 26-Apr-2023 05:22:39 Hello! build 26-Apr-2023 05:22:39 Entered into scripts folder error 26-Apr-2023 05:22:39 Traceback (most recent call last): error 26-Apr-2023 05:22:39 File "/usr/bin/robot", line 5, in <module> error 26-Apr-2023 05:22:39 from robot.run import run_cli error 26-Apr-2023 05:22:39 ModuleNotFoundError: No module named 'robot'
In the same machine I have installed robot framework and able to execute tests from different folder but failing in bamboo-agent
Hello @Pavankumar
That's a Python environment configuration issue.
Please review if all the required modules in your code are installed on the Build agent and if they are accessible by the user that is running the Agent (in your case root)
The Robot Framework can be installed on the Agent by running:
To reproduce the issue and test for alternatives, you can log to your Agent server as the same user that runs the Bamboo Agent application, cwd to the /home/root/bamboo-agent-home/xml-data/build-dir/P-V-JOB1 directory and run the build commands manually.
Kind regards,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.