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

Pass subprocess test runners a suitable location for xunit output #1316

Merged
merged 1 commit into from Jan 25, 2012

Conversation

takluyver
Copy link
Member

Producing xunit reports the easy way. We just need to pass the individual test runners a suitable location to put the output file.

This is what the output looks like: https://jenkins.shiningpanda.com/ipython/job/ipython-xunit-test/3/testReport/

I don't know whether the failing tests in parallel are a new failure, a stochastic thing, or somehow caused by this change (I can't see how it would affect parallel).

@minrk
Copy link
Member

minrk commented Jan 24, 2012

Parallel failures are timeouts on engine connection, which is probably just caused by the Jenkins VM being unusually slow to spin up processes. We can relax the timeouts if failure is frequent.

@fperez
Copy link
Member

fperez commented Jan 24, 2012

Beautiful! This is much, much cleaner and simpler, I'm glad there was a way to do it like this.

@minrk, what's the easiest way to change those settings just for the test suite? Should we have a profile in the jenkins recipe with different timeouts?

@takluyver
Copy link
Member Author

I've just run it again, and they passed, so I wouldn't worry too much about it unless they start failing regularly.

@minrk
Copy link
Member

minrk commented Jan 25, 2012

The engine connection timeout is just in the tests, so we can just change it to whatever we want. The default is 5s, which is generally plenty, but we can up it to 10-15s to be extra conservative.

@fperez
Copy link
Member

fperez commented Jan 25, 2012

OK, I'm going to merge this then, given both of your inputs above. We can easily adjust it up if we start seeing these failures frequently.

fperez added a commit that referenced this pull request Jan 25, 2012
Pass subprocess test runners a suitable location for xunit output.  This enables our Jenkins instance at Shining Panda to display a proper summary instead of just a raw console log.
@fperez fperez merged commit 3c8b94a into master Jan 25, 2012
@@ -284,6 +284,11 @@ def __init__(self, runner='iptest', params=None):

# Assemble call
self.call_args = self.runner+self.params

print self.call_args
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I missed this print statement during review. Will delete it now, it makes the test suite too verbose.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in d073dfc

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Pass subprocess test runners a suitable location for xunit output.  This enables our Jenkins instance at Shining Panda to display a proper summary instead of just a raw console log.
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
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 this pull request may close these issues.

None yet

3 participants