-
Notifications
You must be signed in to change notification settings - Fork 902
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
Python dev test in non-dev mode failure: test_closing_while_disconnected #1548
Comments
Full log from Alpine Linux at https://gist.github.com/jsarenik/36611568a1645b3ce1dea98aadf3797b (updated on 2018-06-11) |
Have you tried rerunning it? Some of these tests are rather flaky. |
Yes, tried at least 3 times and it's always the same. Here's what I am doing:
And here's the full log (after running above with |
And the same happens also on Ubuntu 18.04. (log updated on 2016-06-11) |
On ubuntu do you have
And on alpine you seem to be executing with
That can be fixed by running |
Sorry for that. It seems I have pasted wrong logs. See this one for Ubuntu: https://gist.github.com/jsarenik/557f9b2240461369579e76ad4ac91ce8 Now I am running the tests on 4773176, but also before I have used the branch with |
This is what I run currently to produce the log:
|
Yes, it's there: https://gist.github.com/jsarenik/557f9b2240461369579e76ad4ac91ce8#file-ubuntu-full-log-txt-L3234 and AFAIU it means that in non-developer mode a test is run which requires developer mode. |
I am adding |
Here is latest Alpine Linux log (still without Errs on missing |
Rusty, BTW it seems to me that the diff --git a/Makefile b/Makefile
index 63113a17..eaada7d7 100644
--- a/Makefile
+++ b/Makefile
@@ -215,7 +215,7 @@ ifndef PYTEST
exit 1
else
# Explicitly hand DEVELOPER and VALGRIND so you can override on make cmd line.
- PYTHONPATH=contrib/pylightning:$$PYTHONPATH TEST_DEBUG=1 DEVELOPER=$(DEVELOPER) VALGRIND=$(VALGRIND) $(PYTEST) tests/ $(PYTEST_OPTS)
+ PYTHONPATH=contrib/pylightning:$$PYTHONPATH TEST_DEBUG=1 DEVELOPER=$(DEVELOPER) VALGRIND=$(VALGRIND) TIMEOUT=$(TIMEOUT) $(PYTEST) tests/ $(PYTEST_OPTS)
endif
# Keep includes in alpha order. |
Nevermind, using `make check` should propagate the config.vars `DEVELOPER` to `pytest`. |
Yes, that's the point of this issue actually. |
This should have been addressed by #1572 can you check please? The issue was that the tests that were split out were still relying on the environment variable, not the |
Sure. Checking now. Thank you for comment! |
I am rerunning with |
Closing. The |
No problem :-) |
Issue and Steps to Reproduce
EDIT: Testing on latest
master
- i.e. 56046d4 as of today (2018-06-11)When I configure without parameters and then
make check
there is a test error which is trying to run a developer test in a (default) non-developer mode. See the full log.getinfo
outputNot relevant.
The text was updated successfully, but these errors were encountered: