Atlassian Bamboo CI use with RF?

2,624 views
Skip to first unread message

David

unread,
Jul 22, 2011, 1:39:37 AM7/22/11
to robotframework-users
Just wondering if anyone has used RF with Bamboo CI server? If yes,
would like input on how that worked out.

We have Bamboo at work, used with PHPUnit, and was considering how
much work it would be to run RF from Bamboo. I haven't touched Bamboo
myself yet though to know the details.

Bulkan

unread,
Jul 28, 2011, 3:24:48 AM7/28/11
to mang...@gmail.com, robotframework-users
Hi David,

We have been using RF for 2 years at work with Bamboo now. Basically, there is a Bamboo plan that will checkout from SVN the testcases (and RF with other library code) and will execute a Python runner script. The script which will first download latest successful builds of the required product from Bamboo plans. Most of these products are use Install Shield. These then get silent installed [1]. Once installation is complete the runner script will call robot.run with some default arguments and the name or directory containing testcase files. All log output that RF creates is written into a logs directory (set from the command line). This directory is exposed as an artifact on the plan. Also we use the xunit output of RF that Bamboo can parse to provide a PASS/FAIL status. 

If you have any other questions im happy to answer them. 

Cheers

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To post to this group, send email to robotframe...@googlegroups.com.
To unsubscribe from this group, send email to robotframework-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/robotframework-users?hl=en.


David

unread,
Aug 1, 2011, 2:02:12 PM8/1/11
to robotframework-users
Thanks for the info Bulkan. One follow up question, do you instrument
any "rerun failed tests" functionality in your RF Bamboo jobs? So that
failed tests don't necessarily have to be manually rerun.

Bulkan

unread,
Aug 1, 2011, 8:00:56 PM8/1/11
to mang...@gmail.com, robotframework-users
Hi David,

We don't use that feature of RF as there are too many failure points leading up to actually running the tests. 

Cheers

http://bulkan-evcimen.com

Vimal Raj

unread,
Sep 16, 2014, 5:04:05 AM9/16/14
to robotframe...@googlegroups.com, mang...@gmail.com
Hi Bulkan,

I'm also trying to setup the Bamboo with Robot Framework test execution. I've successfully created the plan to trigger the RF test execution.

Could you please explain me how the xunit is built and configured in Bamboo to showcase the test execution result?

Thanks
Vimal
To unsubscribe from this group, send email to robotframework-users+unsub...@googlegroups.com.

slelle.in...@gmail.com

unread,
Jul 30, 2015, 6:40:50 PM7/30/15
to robotframework-users, mang...@gmail.com
I'm in the same boat as Vimal. I have the JUnit Parser set to read the xunit files, but have had no success in getting the summary to actually display my results in Bamboo. Am I do

Michel Lawaty

unread,
Jul 31, 2015, 6:24:05 AM7/31/15
to robotframework-users, mang...@gmail.com, slelle.in...@gmail.com
We are starting pybot like that:
--xunit xunitlog --outputdir ${bamboo.build.working.directory}
in oder to get xunit output.

Then we are using the Junit PArser module scanning the folder for:
*.xml

Sean Kesho

unread,
Sep 12, 2016, 8:53:35 AM9/12/16
to robotframework-users, mang...@gmail.com, slelle.in...@gmail.com
Hi All,

I'm not sure if this is still active, but I was able to get some ideas for my project. At the moment Bamboo can initiate my test via Robot. My only issue is the feedback to Bamboo, I'm also using the JUnit Parser to scan the folder for .xml files but Bamboo cannot pick them up. 

Any help will be greatly appreciated.

Regards,
Sean

Michel Lawaty

unread,
Sep 13, 2016, 4:18:37 AM9/13/16
to robotframework-users, mang...@gmail.com, slelle.in...@gmail.com
Hi Sean,
we managed to pick up the xml without problems, by using the junit plugin (with Jenkins and Bamboo likewise):
  • Make sure you are in the right folder when specifying the output mask..
  • and have a look if there are really xml output available from robot framework run.
  • Also make sure that the filter is correct (e.g. **/archive/robot_tests/*.xml)

cheers
Michel

MD5 Unlock Automation

unread,
Oct 27, 2017, 1:48:26 AM10/27/17
to robotframework-users
Can you pls let me know how did you configure bamboo agents. And  steps to invoke RF tests via bamboo.

Thanks,
Milind

Keith Brown

unread,
Dec 12, 2017, 6:42:54 PM12/12/17
to robotframework-users
how did you invoke RF? Currently I am using 

java -jar robotframework-3.0.jar mytests.robot

This will create an output.xml but Bamboo isn't picking up my xml file. Using https://confluence.atlassian.com/bamboo/junit-parser-289277056.html

Does it work?

Maksood Khan

unread,
May 11, 2018, 3:18:04 AM5/11/18
to robotframework-users
Hi,

I am facing issue with same as below,

In my flow bamboo is pickup the script and executing it, but the task is getting failed due to error even the script/test is passed.
sharing below some Error Line of code in the log for the reference.

11-May-2018 03:09:15 Error occurred while running Task 'RoboTestTask(2)' of type Skyve.Bamboo.RobotTest:RobotTest.
error 11-May-2018 03:09:15 java.lang.NoSuchMethodError: com.atlassian.bamboo.results.tests.TestResults.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;)V
error 11-May-2018 03:09:15 at Skyve.Bamboo.RobotTestTask.RobotTestReportProvider.getTestCollectionResult(RobotTestReportProvider.java:112)
error 11-May-2018 03:09:15 at com.atlassian.bamboo.build.test.TestCollationServiceImpl.collateTestResults(TestCollationServiceImpl.java:46)
error 11-May-2018 03:09:15 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Please help me on this, As my CI integration is on hold because of above issue.

R N

unread,
Oct 28, 2021, 1:57:33 AM10/28/21
to robotframework-users

Hello- What TASK TYPE Plugins can we utilize to get Robot Framework working on Bamboo? 
Reply all
Reply to author
Forward
0 new messages