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

Test failure: IPython.parallel.tests.test_client.test_resubmit_header #2821

Closed
takluyver opened this issue Jan 20, 2013 · 5 comments
Closed
Assignees
Milestone

Comments

@takluyver
Copy link
Member

This has now failed two days in a row, so I'm assuming it's not just a timing issue.

======================================================================
ERROR: resubmit shouldn't clobber the whole header
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/slave/jenkins/shiningpanda/f786c3c0/virtualenvs/ff035a1d/lib/python2.7/site-packages/IPython/parallel/tests/test_client.py", line 373, in test_resubmit_header
    self._wait_for_idle()
  File "/home/slave/jenkins/shiningpanda/f786c3c0/virtualenvs/ff035a1d/lib/python2.7/site-packages/IPython/parallel/tests/test_client.py", line 310, in _wait_for_idle
    hub_hist = rc.hub_history()
  File "<string>", line 2, in hub_history
  File "/home/slave/jenkins/shiningpanda/f786c3c0/virtualenvs/ff035a1d/lib/python2.7/site-packages/IPython/parallel/client/client.py", line 70, in spin_first
    return f(self, *args, **kwargs)
  File "/home/slave/jenkins/shiningpanda/f786c3c0/virtualenvs/ff035a1d/lib/python2.7/site-packages/IPython/parallel/client/client.py", line 1775, in hub_history
    raise self._unwrap_exception(content)
RemoteError: TypeError(can't compare datetime.datetime to NoneType)

https://jenkins.shiningpanda-ci.com/ipython/job/ipython-multi/PLATFORM=debian6,PYTHON=CPython-2.7/344/testReport/IPython.parallel.tests.test_client/TestClient/test_resubmit_header/

@minrk
Copy link
Member

minrk commented Jan 20, 2013

It is and it isn't. Timing is the reason there is a None value to compare, but there genuinely is something to be fixed here.

@ghost ghost assigned minrk Jan 20, 2013
@takluyver
Copy link
Member Author

OK - I leave it up to you when to close this bug.

@takluyver
Copy link
Member Author

Just to add, I've seen this error again today - this time, three tests failed with the same TypeError.

https://jenkins.shiningpanda-ci.com/ipython/job/ipython-multi/PLATFORM=debian6,PYTHON=CPython-2.7/346/testReport/?

minrk added a commit to minrk/ipython that referenced this issue Jan 22, 2013
in rare situations, display data can arrive at the Hub before the execution request, in which case `submitted` is undefined.

should address ipython#2821, but I need to see Jenkins succeed,
since that is the only place this comes up.
@minrk
Copy link
Member

minrk commented Jan 22, 2013

#2829 ought to fix it, but I wouldn't close until jenkins gets a clean build.

minrk added a commit that referenced this issue Jan 23, 2013
avoid comparison error in dictdb hub history

in rare situations, display data can arrive at the Hub before the execution
request, in which case `submitted` is undefined.

should address #2821, but I need to see Jenkins succeed, since that is the
only place this comes up.
minrk added a commit to minrk/ipython that referenced this issue Jan 26, 2013
in rare situations, display data can arrive at the Hub before the execution request, in which case `submitted` is undefined.

should address ipython#2821, but I need to see Jenkins succeed,
since that is the only place this comes up.
@minrk
Copy link
Member

minrk commented Jul 4, 2013

closed by #2829

@minrk minrk closed this as completed Jul 4, 2013
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
in rare situations, display data can arrive at the Hub before the execution request, in which case `submitted` is undefined.

should address ipython#2821, but I need to see Jenkins succeed,
since that is the only place this comes up.
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
avoid comparison error in dictdb hub history

in rare situations, display data can arrive at the Hub before the execution
request, in which case `submitted` is undefined.

should address ipython#2821, but I need to see Jenkins succeed, since that is the
only place this comes up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants