summary refs log tree commit diff
path: root/nixos/tests/os-prober.nix
Commit message (Collapse)AuthorAge
* nixosTests.os-prober: add bintools to the VMAlyssa Ross2023-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | machine # warning: error: unable to download 'https://ftpmirror.gnu.org/bash/bash-5.2.tar.gz': Couldn't resolve host name (6); retrying in 329 ms machine # warning: error: unable to download 'https://ftpmirror.gnu.org/bash/bash-5.2.tar.gz': Couldn't resolve host name (6); retrying in 530 ms machine # warning: error: unable to download 'https://ftpmirror.gnu.org/bash/bash-5.2.tar.gz': Couldn't resolve host name (6); retrying in 1066 ms machine # warning: error: unable to download 'https://ftpmirror.gnu.org/bash/bash-5.2.tar.gz': Couldn't resolve host name (6); retrying in 2544 ms machine # [ 1283.199545] GUEST-test1[1465]: [ 414.478221] stage-1-init: [Wed Aug 23 13:26:29 UTC 2023] + loadkmap machine # error: machine # … writing file '/nix/store/v28dv6l0qk3j382kp40bksa1v6h7dx9p-bash-5.2.tar.gz' machine # machine # error: unable to download 'https://ftpmirror.gnu.org/bash/bash-5.2.tar.gz': Couldn't resolve host name (6) machine # error: builder for '/nix/store/5jrd75v747s76s16zxk59384xfcjqn58-bash-5.2.tar.gz.drv' failed with exit code 1 machine # error: 1 dependencies of derivation '/nix/store/0cgj4m2h51hjhmz5h4440pd73kv5lm5v-bash-5.2-p15.drv' failed to build machine # error: 1 dependencies of derivation '/nix/store/d2x66i0dfv9w81gl1w3nbkn0nz7mawaz-bash-5.2-p15.drv' failed to build machine # error: 1 dependencies of derivation '/nix/store/lcz1v3h1nsbyz2fp7xkp113jvyjqq0sx-bash-5.2-p15.drv' failed to build machine # building '/nix/store/20d5pi1a5i9jj041i0gvr9zcs7bjbw46-binutils-2.40.tar.bz2.drv'... machine # error: 1 dependencies of derivation '/nix/store/zb0ykvcllgc8l9ki38fdv9n8xp3rnphb-gcc-12.3.0.drv' failed to build machine # error: 1 dependencies of derivation '/nix/store/7kxjnzmc79sickp7hiyp8v169idyw8f2-gettext-0.21.1.drv' failed to build machine # error: 1 dependencies of derivation '/nix/store/wp7hpglhgwljl3fsfyx8caaakh4a1r72-xgcc-12.3.0.drv' failed to build machine # error: 1 dependencies of derivation '/nix/store/f7glbcn7n59k22b911bx1vyy13g4bdxh-binutils-2.40.drv' failed to build machine # error: 1 dependencies of derivation '/nix/store/q7yvprjmnqprx743ikkcz4kqx2mjdas4-binutils-wrapper-2.40.drv' failed to build machine # building '/nix/store/vks3aqqal1rjvrsbj61nl1yh7r5shhdh-builder.pl.drv'... machine # error: 1 dependencies of derivation '/nix/store/qmdff14r0l31mzx8al7h1kp9h5pck5wr-extra-utils.drv' failed to build machine # error: 1 dependencies of derivation '/nix/store/rdlk4188b2jp4ac38w94qazdaxk6sga9-stage-1-init.sh.drv' failed to build machine # error: 1 dependencies of derivation '/nix/store/rq15acvd6hcr52a5dlmk1p7mlyzjack0-initrd-linux-6.1.46.drv' failed to build machine # error: 1 dependencies of derivation '/nix/store/h1rch2zqjacijnn0szq2hgwmd6v1r1ld-nixos-system-nixos-23.11pre-git.drv' failed to build
* nixosTests.os-prober: add missing kbd extra depAlyssa Ross2023-06-20
|
* nixosTests.os-prober: fix filesystem for DebianAlyssa Ross2023-06-11
| | | | | | Debian's e2fsprogs does not understand the metadata_csum_seed ext4 feature, which our e2fsprogs enables by default, so we have to disable it.
* vmTools: update current maintained debian versionsNikolay Korotkiy2022-11-26
|
* nixos/tests/os-prober: fixGuillaume Girol2022-05-21
| | | | synchronize the list of extraDependencies with the installer test
* treewide: machine -> nodes.machineRobert Hensing2022-03-28
|
* nixos/nix-daemon: use structural settingspolykernel2022-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `nix.*` options, apart from options for setting up the daemon itself, currently provide a lot of setting mappings for the Nix daemon configuration. The scope of the mapping yields convience, but the line where an option is considered essential is blurry. For instance, the `extra-sandbox-paths` mapping is provided without its primary consumer, and the corresponding `sandbox-paths` option is also not mapped. The current system increases the maintenance burden as maintainers have to closely follow upstream changes. In this case, there are two state versions of Nix which have to be maintained collectively, with different options avaliable. This commit aims to following the standard outlined in RFC 42[1] to implement a structural setting pattern. The Nix configuration is encoded at its core as key-value pairs which maps nicely to attribute sets, making it feasible to express in the Nix language itself. Some existing options are kept such as `buildMachines` and `registry` which present a simplified interface to managing the respective settings. The interface is exposed as `nix.settings`. Legacy configurations are mapped to their corresponding options under `nix.settings` for backwards compatibility. Various options settings in other nixos modules and relevant tests have been updated to use structural setting for consistency. The generation and validation of the configration file has been modified to use `writeTextFile` instead of `runCommand` for clarity. Note that validation is now mandatory as strict checking of options has been pushed down to the derivation level due to freeformType consuming unmatched options. Furthermore, validation can not occur when cross-compiling due to current limitations. A new option `publicHostKey` was added to the `buildMachines` submodule corresponding to the base64 encoded public host key settings exposed in the builder syntax. The build machine generation was subsequently rewritten to use `concatStringsSep` for better performance by grouping concatenations. [1] - https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md
* nixosTests.os-prober: fix infinite recursionGuillaume Girol2021-12-09
|
* treewide: switch ``builtins.fromJSON(builtins.readFile ./file.json)`` to ↵Sandro Jäckel2021-11-03
| | | | lib.importJSON ./file.json
* nixos/tests: Replace QEMU_OPTS usages with virtualisation.qemu.optionsMichael Weiss2021-05-01
| | | | | | | | | | | See [0]: "QEMU_OPTS is something that should be set by people running VM tests interactively, to do port forwardings etc. We really should not poke with it from the test script - that's what virtualisation.qemu.options is for." [0]: https://github.com/NixOS/nixpkgs/pull/119615#discussion_r624145020 Co-authored-by: Florian Klink <flokli@flokli.de>
* utillinux: rename to util-linuxGraham Christensen2020-11-24
|
* nixos/tests/os-prober.nix: port to pythonSymphorien Gibol2020-08-24
|
* nixos/tests/os-prober.nix: fix out of memorySymphorien Gibol2020-03-29
|
* Revert "installer: Disable udisks"Franz Pletz2019-10-16
| | | | | | | | This reverts commit 571fb74f449aa173e231166515b41feb778524b8. The dependency on gtk2 was removed. Co-authored-by: Florian Klink <flokli@flokli.de>
* os-prober.tests: make the test stricterSymphorien Gibol2019-07-21
| | | | os-prober should be able to probe unmounted filesystems
* nixos/tests/os-prober.nix: fix typosymphorien2019-06-09
| | | Co-Authored-By: Léo Gaspard <github@leo.gaspard.ninja>
* nixos/tests/os-prober.nix: apply review suggestionsSymphorien Gibol2019-06-09
|
* nixos/tests/os-prober.nix: apply review suggestionssymphorien2019-06-09
| | | Co-Authored-By: Léo Gaspard <github@leo.gaspard.ninja>
* nixos/tests/os-prober.nix: apply review suggestionssymphorien2019-06-09
| | | Co-Authored-By: Léo Gaspard <github@leo.gaspard.ninja>
* mention the os-prober test in pkgs.os-prober.passthru.testsSymphorien Gibol2019-06-09
|
* nixos/tests: add a test for os-proberSymphorien Gibol2019-06-09