-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
networking.networkd.privacy test broken by systemd 247 upgrade #106858
Comments
This could be fixed with #106834? (Currently can't test it) |
Looks like the test is failing on this section: Interestingly the test its running is the only one with a '!' negation. Removing the negation causes the test to not hang, however I think that also changes the semantics of the test. |
The archlinux folks have cherry-picked some commits, maybe that helps? https://github.com/archlinux/svntogit-packages/commits/packages/systemd/trunk To be honest I'm kind of glad that this means systemd 247 hasn't made it to the nixos-unstable channel yet, because that contained some other really annoying breakages (which are fixed in 247.1), oh my... |
I wrote the privacy test so let me clarify: this subtest is checking whether the default address for outbound connections is temporary (RFC 4941) on the client On the other client, Since the scripted test is passing, it looks like networkd made a breaking change or introduced a bug regarding temporary addresses. A breaking change in |
I spent the day doing a systemd bisection and found systemd/systemd@5e0534f (systemd/systemd#17240) to be the first bad commit. |
Offtopic but are there any docs about bisecting a specific package in nix (not nixpkgs itself) or how did you do it? |
@mohe2015 I did it by checking out nixpkgs at the parent commit of ef050bc, and manually making changes like this: --- a/pkgs/os-specific/linux/systemd/default.nix
+++ b/pkgs/os-specific/linux/systemd/default.nix
@@ -110,7 +110,7 @@ assert withCryptsetup ->
let
wantCurl = withRemote || withImportd;
- version = "246.6";
+ version = "246-1196-g5e0534f1c1";
in
stdenv.mkDerivation {
inherit version pname;
@@ -121,7 +121,7 @@ stdenv.mkDerivation {
owner = "systemd";
repo = "systemd-stable";
rev = "v${version}";
- sha256 = "1yhj2jlighqqpw1xk9q52f3pncjn47ipi224k35d6syb94q2b988";
+ sha256 = "1wpqw9cwn54q12ivxkq3caw19pdh71c9db4sgkhzkq54s9vyyp8d";
};
# If these need to be regenerated, `git am path/to/00*.patch` them into a while running (The reason it took a day is that changing systemd forces hundreds of packages used in the test’s closure to be rebuilt in each iteration, including spidermonkey(?!!).) |
@andersk Thanks for doing the bisect, much appreciated! Did you file an upstream issue about this, linking to here? |
I swear we had an issue tracking removing |
There's no |
Friday evening I intend to revert the systemd upgrade unless there is a tested fix before then. |
Fix in #107061 |
The "Fix" does work it around, by setting This is still an upstream issue, I opened systemd/systemd#18003 there. |
networkd seems to be buggy with IPv6PrivacyExtensions=kernel being set, and the addresses don't appear anymore. In fact, the corresponding sysctl seems to be set to -1 again. Fixes NixOS#106858. Upstream Issue: systemd/systemd#18003
I sent a fix for |
Uhm.. I'd prefer for it to be reverted once fixed: it's a small addition but it's easier to overlook in case |
Describe the bug
The channel-blocking networking.networkd.privacy test is failing. The test hangs for 15 minutes and times out. I bisected this failure to commit ef050bc “systemd: 246.6 -> 247-rc2” (#102355), then bisected systemd and found systemd/systemd@5e0534f (systemd/systemd#17240) to be the first bad commit.
To Reproduce
nix build -Lf ~/nixpkgs nixosTests.networking.networkd.privacy
Notify maintainers
@Mic92 @andir @edolstra @flokli @kloenk
Metadata
"x86_64-linux"
Linux 5.4.81, NixOS, 21.03.git.b7c48f3ea5c (Okapi)
yes
yes
nix-env (Nix) 2.3.9
"nixos-21.03pre257780.e9158eca70a"
/nix/var/nix/profiles/per-user/root/channels/nixos
Maintainer information:
The text was updated successfully, but these errors were encountered: