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 votes

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
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

441 views 2 5
View question

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