Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fix Mono errors during Travis CI build? #51

Closed
mbernier opened this issue Oct 28, 2017 · 5 comments · Fixed by #53
Closed

How to fix Mono errors during Travis CI build? #51

mbernier opened this issue Oct 28, 2017 · 5 comments · Fixed by #53

Comments

@mbernier
Copy link

Issue Summary

We are seeing

The command "mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe UnitTest/bin/Release/UnitTest.dll -domain:None" exited with 3.

On every build. Can you help with this?

@phongphan
Copy link

It's likely a bug in corefx #59302

@mbernier
Copy link
Author

mbernier commented Oct 31, 2017

@phongphan I noticed that the same error happened after a huge stack trace, after #56 #57 failures. I am wondering if there is something wrong with the way that the unittests are asserting issues and reporting them out to the log? or is mono failing totally normal when a unittest doesn't pass?

Here's where I saw those issues: https://travis-ci.org/sendgrid/csharp-http-client/builds/294260033?utm_source=github_status&utm_medium=notification

@mbernier
Copy link
Author

@adlan are the csharp unittest errors always so verbose / disorganized? I noticed the same error and stacktracing was happening here (the build from #53)

@phongphan
Copy link

phongphan commented Oct 31, 2017

Even if I commented out the test in #53. Both of them are still failing under mono. Not sure what exactly triggered the failure though.

@adlan
Copy link

adlan commented Oct 31, 2017

@mbernier, uncaught exceptions will be displayed verbosely. In this case those exceptions are not what the unittest runner expected.

For the remaining exceptions, I can only guess (based on the commit log) that the cause of failing has todo with the test environment and is likely as what @phongphan mentioned earlier. I've yet to dig those errors deeply though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants