-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
run tests against Ubuntu development version? #4611
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
Conversation
Well, nobody knows how to reproduce these tests manually. |
|
The amd64 failure (logind test) is/was due to issue #4602 , fix pushed and test retried. The i386 failure reproduces issue #4575. The s390x failure is a bit surprising, it seems timedated/hostnamed etc. don't start up; I'll look at that in more detail. @evverx : Indeed, that's a bit of a problem. They are fairly easy to reproduce on a Debian/Ubuntu system, but essentially impossible on a Fedora/RPM based one. So for the time being, realistically it's only @mbiebl, @fsateler, or me who can debug them, and if neither of us is around we could ignore regressions on that (or disable them entirely again). At least we'd still have some historical data which helps to investigate when an issue started to happen. |
|
Now zesty/amd64 only fails on the newly introduced CLI test and spots PR #4609 (i. e. this branch just needs rebasing). So amd64 is good now. |
|
On s390x, it's the new So this is very similar to issue #4575 except that s390x is big-endian 64 bit (but nevertheless it involves seccomp). |
Sorry, it landed in 232, we just reverted it in the Debian package because it breaks too much. That's why our downstream CI tests are still green. |
|
Tests all pass now that the downstream package has a workaround for issue #4575. |
I |
I think the burden is entirely worth it. A lot of development happens on Fedora machines, testing on newest Ubuntu will be quite beneficial. And more testing is better, we certainly don't have nearly enough different testbeds. What do we need to enable those new tests? Merge this? |
We test a very limited subset of the But I'm not against tests of course :-) |
|
@keszybz : No, this merge was just a place to do test runs without creating noise on a "real" PR. We need to add more webhooks with @evverx tested on yakkety (Ubuntu 16.10), which might actually be a better compromise/next step: It has more up-to-date components (kernel 4.8 instead of 4.4, util-linux 2.28.2 instead of 2.27.1, newer libseccomp etc.) but it's stable, unlike the development release which gets constant jitter. So let me do infra runs against that release and see how it goes. As for this PR itself, this can be merged if we care about the consistent spelling of "behaviour", but certainly not a biggie. @evverx: Yes, we certainly lack tests for the plethora of But of course I fully agree that adding tests to the other features that we have is entirely worthwhile. :-) |
👍 Unrelated to this PR @martinpitt , I'm not sure about Github notifications. I prepared a patch: https://gist.github.com/evverx/6805f228a00f5cd362d3f0cd9d30f5c6 . Please, take a look. |
|
@evverx : nice one, thanks! Applied. |
|
getting CI hooked up against the current ubuntu devel version would be particularly useful to fix the seccomp issue properly... So I am all for it! |
|
So yakkety failed, in But indeed we can just try the devel series for a while, and if it gets too annoying we'll just revert it (data beats speculation). And we of course always have the option to ignore failures, but that's annoying and error prone over extended time periods. |
I didn't mention that. I'm not sure. Maybe, we should diff --git a/test/test-functions b/test/test-functions
index c0128b8..bf48e03 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -342,6 +342,7 @@ EOF
local _label="-L systemd"
# mkfs.reiserfs doesn't know -L. so, use --label instead
[[ "$FSTYPE" == "reiserfs" ]] && _label="--label systemd"
+ udevadm settle
if ! mkfs -t "${FSTYPE}" ${_label} "${LOOPDEV}p1" -q; then
dfatal "Failed to mkfs -t ${FSTYPE}"
exit 1 |
|
Hm, I'm reading 9d06297
And this looks like #4611 (comment) |
We use "behaviour" (BE) in the majority of cases, so change the "behavior"s (AE) too.
|
I retriggered the tests to see how far the new "test-seccomp" holds up. This is tracked in issue #5215. |
|
So what's the status here — OK to close this? |
|
Yes, it's just clutter and not precious. If that comes up again, I can reopen or open a new PR. That said, I consider running a test against the latest stable ubuntu too, to test against more recent plumbing/kernel versions. |
We use "behaviour" (BE) in the majority of cases, so change the "behavior"s (AE) too.
Please don't merge this yet!
I would like to use this as a "dummy" PR to see how the tests run against the current Ubuntu development version, and possibly fix them. Issue #4575 was a bit embarrassing, and while it's a bug in libseccomp, it's still a complete showstopper for users. So let's discuss the balance between the added burden of test failures due to other upstream project changes (like the kernel, util-linux, or said libseccomp) and catching such issues early. With all the work that's going on with cgroups v2, testing on more current kernels probably also couldn't hurt.