Skip to content
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

nixos: labels part 2 #34795

Merged
merged 6 commits into from Feb 19, 2018
Merged

nixos: labels part 2 #34795

merged 6 commits into from Feb 19, 2018

Conversation

oxij
Copy link
Member

@oxij oxij commented Feb 10, 2018

Motivation for this change

Continuation of #10996 on steroids and some OCD-related changes.
Now you can do, e.g.

{
  system.nixos.tags = [ "with-xen" ];
  virtualisation.xen.enable = true;
}

and it will influence the label. This is useful for farming clusters of computers with different configurations as for a in <machine-list>; do echo -n "$a "; ssh $a -- "basename $(readlink -f /run/current-system) | cut -d- -f2-"; done then can show everything you want to know.

681fe402c0b6570d6ae767853bd56e195b1f49c9 introduces what 2a05368 removed because that feature is useful no matter how much of 47950b5 and 0b9d9ed you add.

Things done

@7c6f434c
Copy link
Member

@GrahamcOfBorg test installer

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

@7c6f434c
Copy link
Member

@GrahamcOfBorg test installer.simple

1 similar comment
@7c6f434c
Copy link
Member

@GrahamcOfBorg test installer.simple

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

cannot build derivation '/nix/store/d1j6cbrqdf9z32y8hpkdgwfgx4s74l0m-system-units.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/689az3frd9hpv6sdd3zifc2myfk9fafz-user-units.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ny3sm5x9kx3dibn5bgkfikzp6l63i680-etc.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/zp4pm3zhy2gm7911bdnw6m6h7miinpsd-nixos-system-machine--18.03.git.a2eb959.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/1ylnx0fjb3rgf2hvzlyi42slcxfcszsk-closure-info.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/d1n3spnpwxad5r3mm7qn7hy5qr04z5yv-run-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/g4c5v6mfy9g13m2329z7jiv5nmxa4lv0-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/yrs40q9jg9pmg81yjrkrqyddjdijcj78-nixos-test-driver-installer-simple.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/m45byx5va2dnbdb8rx8zxvzwi6kj3ms1-vm-test-run-installer-simple.drv': 1 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/m45byx5va2dnbdb8rx8zxvzwi6kj3ms1-vm-test-run-installer-simple.drv' failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

cannot build derivation '/nix/store/lgh8d9vgijr49gmmf7j1mxcbjjz5brm4-system-units.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/k73qsj7f0jd13ss7fmjcmlp4ldazii0y-user-units.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/aabyyvfx4n57xglhcll1iz512zn3l6nv-etc.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/nx8db9v8dvq6x3gmnkzwkf6g8yiav7p7-nixos-system-machine--18.03.git.225a5a9.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/nx0zyk2bxpgbpckzhn17ygbmihns1230-closure-info.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/3g3lmgkvxkdkvllp4n7w6pg6wzidnvvn-run-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/f2mxq78glmv15h27y1ciadv9q40abqs4-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/x2kngbr5kmfwwcxx54jgpa0924diy7hq-nixos-test-driver-installer-simple.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/c0gbpwlsax5gj5i45lv9igv65j9vzx8z-vm-test-run-installer-simple.drv': 1 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/c0gbpwlsax5gj5i45lv9igv65j9vzx8z-vm-test-run-installer-simple.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

machine# [    3.702126] systemd-shutdown[1]: All loop devices detached.
machine# [    3.702526] systemd-shutdown[1]: Detaching DM devices.
machine# [    3.704226] ACPI: Preparing to enter system sleep state S5
machine# [    3.704718] reboot: Power down
collecting coverage data
syncing
test script finished in 659.18s
vde_switch: EOF on stdin, cleaning up and exiting
cleaning up
/nix/store/nd2c6cawgmffffqwk6yawmrlicdfn5lk-vm-test-run-installer-simple

@7c6f434c 7c6f434c merged commit 1e23a5a into NixOS:master Feb 19, 2018
@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

machine# [    3.835701] systemd-shutdown[1]: All loop devices detached.
machine# [    3.837057] systemd-shutdown[1]: Detaching DM devices.
machine# [    3.839572] ACPI: Preparing to enter system sleep state S5
machine# [    3.840294] reboot: Power down
collecting coverage data
syncing
test script finished in 1196.96s
cleaning up
vde_switch: EOF on stdin, cleaning up and exiting
/nix/store/klnpqifp3ms4m8wavv6vn4yysv45vcnp-vm-test-run-installer-simple

@Mic92
Copy link
Member

Mic92 commented Feb 25, 2018

This pull request breaks nixops: NixOS/nixops#871 (comment)

@oxij oxij deleted the os/nixosLabel-pt2 branch September 8, 2018 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants