-
Notifications
You must be signed in to change notification settings - Fork 61
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
Add oe-selftest for aktualizr ptest run on qemu #508
Conversation
Annoyingly, a test using |
Softlink it manually in the oe-selftest code before calling ptest? |
Looks fine, but in my case I see a few more errors:
The first you already know:
The second:
|
Signed-off-by: Laurent Bonnans <[email protected]>
lshw is installed in `/usr/sbin` which does not appear when a command is launched outside a non-login shell. Signed-off-by: Laurent Bonnans <[email protected]>
Signed-off-by: Laurent Bonnans <[email protected]>
Signed-off-by: Laurent Bonnans <[email protected]>
2f69ed3
to
f501bb9
Compare
I think your second problem comes from not being able to run lshw as well. I've pushed a fix. I now have:
|
Oh and the problem with fetcher is more than a memory leak I think:
|
The trick to add it in do_compile from cmake.bbclass does not work with do_compile_ptest_base Signed-off-by: Laurent Bonnans <[email protected]>
Fixes in advancedtelematic/aktualizr#1173 and advancedtelematic/aktualizr#1174. The valgrind leak however remains, I'd suggest that we'd still merge this soon if possible. |
I don't want to merge if it still breaks, but I'd also like to get it in soon. Can we skip that test for now or do something quick and dirty until we fix it for real? |
I thought about merging it now since it doesn't run with the other oe-selftests, as it is in its own .py file. Quick solution would be to run with |
Ok I think the leak was introduced here: ostreedev/ostree@21ebc7d, which adds a new |
Oh my bad that's a completely different leak, only in master! It looks like the one mentioned earlier has been fixed there actually. |
At this point everything looks fine except for fetcher_test:
Is that what you see as well? |
Yes it's a very frustrating one, as I get it on yocto and my Debian system but not on the docker CI, even when trying the same ostree versions. |
On ostree master (89c00e7eb72ddc5aaee3469f281fb5560ff7bd5d), with debug symbols:
It could come from some version of glib... |
This should help: advancedtelematic/aktualizr#1179 |
Indeed. It passes when I build with that branch. If only that branch succeeded on Travis... |
Travis finally passed :) |
Great! If you bump aktualizr's version here, I'll approve and we can merge this. Finally! |
Signed-off-by: Laurent Bonnans <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passes oe-selftest except for test_secondary_listening
, which seems unrelated and is going to change anyway.
Still has some failures at the moment, also the full output is often cropped for some unknown reason (the summary of which tests are passing and which aren't still appears in full)