-
Notifications
You must be signed in to change notification settings - Fork 895
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
Tests: Python tests/test_lightningd.py #1126
Comments
All the "waiting for " tests are known to be somewhat flaky (i.e. they randomly fail due to timing problems; usually it happens if the event you are waiting for has already occurred by the time the waiting Python code executes); you can try rerunning the test again. If a few tries it still fails, we can take a look at it again. |
Thanks for info. I will retry and update.
…On Feb 28, 2018 6:57 AM, "ZmnSCPxj, ZmnSCPxj jxPCSmnZ" < ***@***.***> wrote:
All the "waiting for " tests are known to be somewhat flaky (i.e. they
randomly fail due to timing problems; usually it happens if the event you
are waiting for has already occurred); you can try rerunning the test
again. If a few tries it still fails, we can take a look at it again.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1126 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAO7VakP9gkbglS7yRgshg1LbqcVBkqQks5tZOq-gaJpZM4SVdiY>
.
|
It is reproducibly failing here for me. Testing on glibc-based Arch Linux. Current HEAD, i.e. dbb7ea1.
|
By the way I am running the tests with |
That should not be an issue, the test is failing on an assert. Can you run with |
I managed to successfully run Python tests locally on
|
@cdecker First I installed all pip3 modules according to the current
|
That seems to be just PYTHONPATH issue. I have installed global package (ran `pip3 install pylightning) and this is what I get now:
|
Just a note about running the separated test without global
Important thing is to have the Python3 modules listed in
|
Closing this issue. Everything works now. Both on Arch Linux (glibc-based) and Alpine Linux (musl-based, only without valgrind). |
Thanks @jsarenik for persevering through the issues, glad you got it to work. We could probably add |
Just for reference, as this is not yet in documentation: #1538 |
Issue and Steps to Reproduce
On Arch Linux when I run
make check
on f4447ff (where I fixed other check-related error) I get following:The text was updated successfully, but these errors were encountered: