Trouble running NUnit Parser in Bamboo

For QA, we run some website interface tests (Telerik), which are run through NUnit. Up until now, we have been running them manually through VS/Console and just waiting for it to run, but I have been looking to automate it. I saw that Bamboo had an NUnit test runner/parser task, so I set it up with the tests we run, defined the tests, and defined a results file. The set up is below.

However, when running the test, it gets to a point in the logs where it initializes the test, acknowledges the test list and everything, but then just hangs indefinitely with no logs after after. I have kept it running for around 25 minutes sometimes before having to manually cancelling it. I am not sure where it is getting hung since there is no log files or anything after the test initializes, so I imagine it is running into an error even just opening a browsers. I can log into the account it uses and run the tests manually through console, but when trying to automate it, it just doesn't want to run, with no log of what is wrong.

QATest.PNGQALog.PNG

1 answer

0 vote

Hi Paul,

I found an old case where Telerik addressed this issue. Their advice was to make sure that the CI agent service is not running as a LOCAL SYSTEM service and to make sure it's running as a local user per the Running Bamboo as a Windows service as the local user knowledge base article.

Before making those changes, one thing you can do is to try running this from the Command line to see if that provides the results you want.

Cheers,

Branden

I have seen such an article, and it isnt running at local system, it is set up to run as a certain user. When I manually log into the server and run the same script through command line, it works just fine. When I try to automate it though, it just hangs indefinitely, as stated above

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,681 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you