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_socketblocker.py seem to block in Debian CI tests #4193

Closed
olebole opened this issue Sep 28, 2015 · 11 comments
Closed

test_socketblocker.py seem to block in Debian CI tests #4193

olebole opened this issue Sep 28, 2015 · 11 comments

Comments

@olebole
Copy link
Member

olebole commented Sep 28, 2015

The latest Debian CI tests fail with

../../usr/lib/python3/dist-packages/astropy/tests/tests/test_socketblocker.py ...E: Caught signal ‘Terminated’: terminating immediately

Session terminated, terminating shell...bash: line 1: 22455 Terminated              /tmp/adt-run.pWQpB0/build.nGt/python-astropy-1.0.4/debian/tests/python3-astropy 2> >(tee -a /tmp/adt-run.pWQpB0/python3-astropy-stderr >&2) > >(tee -a /tmp/adt-run.pWQpB0/python3-astropy-stdout)
 ...terminated.
adt-run [01:22:58]: ERROR: testbed failed: timed out on command "[...]"

during the testing with python-3.4.
This is, however, only during the CI tests. The same test passes during the package build.

@embray embray added testing Affects-dev PRs and issues that do not impact an existing Astropy release labels Sep 28, 2015
@embray
Copy link
Member

embray commented Sep 28, 2015

Is it just that test? That is, do the tests otherwise run if that test is disabled?

@embray
Copy link
Member

embray commented Sep 28, 2015

Also is there any way you can run the tests with --verbose-results so we can see specifically which test it is, rather than just which test module? This test, for example, should already be skipped it seems.

@embray
Copy link
Member

embray commented Sep 28, 2015

Oh, I misread, it seems the forkserver test is skipped except on Python 3.4. That might implicate it in this issue then...

@olebole
Copy link
Member Author

olebole commented Sep 28, 2015

It seems to be just this one test -- 2.7 succeeds completely, and 3.4 runs until this one (I didn't disable it). Since the test in fact has nothing to do with astropy (but is a test of a python functionality), I would not put too much effort here yet -- I am discussing it on the Debian mailing list as well. It may be well a problem of our CI environment (and/or of Python 3.4).

@embray
Copy link
Member

embray commented Sep 28, 2015

Curious. In the meantime it's fine if you just disable it.

@bsipocz
Copy link
Member

bsipocz commented Feb 9, 2017

@olebole - There are a few releases out since you've run into this. Do you think it's still an issue?

@bsipocz bsipocz removed the Affects-dev PRs and issues that do not impact an existing Astropy release label Feb 9, 2017
@olebole
Copy link
Member Author

olebole commented Feb 10, 2017

For the moment, I can't test it, since our CI test platform runs only on unstable, and we are in a freeze so that I don't want to upload unrelated changes. Once Stretch is out (later in spring?) I will check, and close the issue if it disappeared.

@bsipocz
Copy link
Member

bsipocz commented Jun 27, 2017

@olebole - Would you be able to test this again?

@olebole
Copy link
Member Author

olebole commented Jul 12, 2017

OK, took some time: This is unfortunately not fixed with version 2.0. Here is the actual CI test that times out.

The test succeeds at build time.

@bsipocz
Copy link
Member

bsipocz commented Mar 19, 2019

The remote-data plugin has been moved out of core, so this issue should be either closed or moved to https://github.com/astropy/pytest-remotedata/.
@astrofrog or @eteq - could you please move it?

@bsipocz bsipocz added the Close? label Mar 19, 2019
@olebole
Copy link
Member Author

olebole commented Mar 19, 2019

I'd propose to just close it. The tests work fine now; if it really re-appears (I doubt that), then I could make a new issue in pytest-remotedata.
@bsipocz It is great that you go through the issues! Thanks! Obviously, I sometimes lose track on the issues I opened, sorry for that.

@olebole olebole closed this as completed Mar 19, 2019
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

3 participants