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

simp_le: use python3Packages #44476

Merged
merged 1 commit into from Aug 4, 2018
Merged

Conversation

dotlambda
Copy link
Member

@dotlambda dotlambda commented Aug 4, 2018

Motivation for this change

#18185

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@dotlambda
Copy link
Member Author

@GrahamcOfBorg build simp_le
@GrahamcOfBorg test acme

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: simp_le

Partial log (click to expand)

patching script interpreter paths in /nix/store/9xz109rz4k8bvjsvnkak4dx99vv24l17-simp_le-client-0.9.0
checking for references to /build in /nix/store/9xz109rz4k8bvjsvnkak4dx99vv24l17-simp_le-client-0.9.0...
wrapping `/nix/store/9xz109rz4k8bvjsvnkak4dx99vv24l17-simp_le-client-0.9.0/bin/simp_le'...
running install tests
...................................
----------------------------------------------------------------------
Ran 35 tests in 0.177s

OK
/nix/store/9xz109rz4k8bvjsvnkak4dx99vv24l17-simp_le-client-0.9.0

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: tests.acme

Partial log (click to expand)

error: command `curl https://example.com/ | grep -qF "hello world"' did not succeed (exit code 1)
command `curl https://example.com/ | grep -qF "hello world"' did not succeed (exit code 1)
cleaning up
killing webserver (pid 618)
killing letsencrypt (pid 600)
killing client (pid 634)
vde_switch: EOF on stdin, cleaning up and exiting
vde_switch: Could not remove ctl dir '/build/vde1.ctl': Directory not empty
builder for '/nix/store/wn0ng97v44rnzzgva57r28q211allx3m-vm-test-run-acme.drv' failed with exit code 255
error: build of '/nix/store/wn0ng97v44rnzzgva57r28q211allx3m-vm-test-run-acme.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: simp_le

Partial log (click to expand)

patching script interpreter paths in /nix/store/sshjk4zfap7acnja2xjbypnbczlxj8py-simp_le-client-0.9.0
checking for references to /build in /nix/store/sshjk4zfap7acnja2xjbypnbczlxj8py-simp_le-client-0.9.0...
wrapping `/nix/store/sshjk4zfap7acnja2xjbypnbczlxj8py-simp_le-client-0.9.0/bin/simp_le'...
running install tests
...................................
----------------------------------------------------------------------
Ran 35 tests in 2.636s

OK
/nix/store/sshjk4zfap7acnja2xjbypnbczlxj8py-simp_le-client-0.9.0

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: tests.acme

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@dotlambda
Copy link
Member Author

@GrahamcOfBorg test acme

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: tests.acme

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

No attempt on x86_64-linux (full log)

The following builds were skipped because they don't evaluate on x86_64-linux: tests.acme

Partial log (click to expand)

while evaluating ‘hydraJob’ at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/customisation.nix:157:14, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/nixos/release.nix:23:16:
while evaluating the attribute ‘drvPath’ at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/customisation.nix:174:13:
while evaluating the attribute ‘drvPath’ at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/customisation.nix:141:13:
while evaluating the attribute ‘buildCommand’ of the derivation ‘vm-test-run-acme’ at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/stdenv/generic/make-derivation.nix:175:11:
while evaluating the attribute ‘buildCommand’ of the derivation ‘nixos-test-driver-acme’ at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/stdenv/generic/make-derivation.nix:175:11:
while evaluating the attribute ‘buildCommand’ of the derivation ‘nixos-vm’ at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/stdenv/generic/make-derivation.nix:175:11:
while evaluating the attribute ‘text’ of the derivation ‘run-nixos-vm’ at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/stdenv/generic/make-derivation.nix:175:11:
while evaluating anonymous function at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/build-support/closure-info.nix:9:1, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/nixos/modules/virtualisation/qemu-vm.nix:121:13:
assertion failed at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/build-support/closure-info.nix:11:1

@dotlambda
Copy link
Member Author

@grahamc Seems like one of the builders is outdated:

assertion failed at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/pkgs/build-support/closure-info.nix:11:1

This line contains

assert builtins.langVersion >= 5;

@GrahamcOfBorg test acme

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: tests.acme

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: simp_le

Partial log (click to expand)

patching script interpreter paths in /nix/store/9xz109rz4k8bvjsvnkak4dx99vv24l17-simp_le-client-0.9.0
checking for references to /build in /nix/store/9xz109rz4k8bvjsvnkak4dx99vv24l17-simp_le-client-0.9.0...
wrapping `/nix/store/9xz109rz4k8bvjsvnkak4dx99vv24l17-simp_le-client-0.9.0/bin/simp_le'...
running install tests
...................................
----------------------------------------------------------------------
Ran 35 tests in 0.197s

OK
/nix/store/9xz109rz4k8bvjsvnkak4dx99vv24l17-simp_le-client-0.9.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: simp_le

Partial log (click to expand)

/nix/store/sshjk4zfap7acnja2xjbypnbczlxj8py-simp_le-client-0.9.0

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: tests.acme

Partial log (click to expand)

cannot build derivation '/nix/store/l5nmpgldxl5ppbjszqb2h7y0y4af9ksj-closure-info.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/84alxldbsh1qd5cbsykgj73vn75prinp-run-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/a63ki6g21827synbnl3mf0r0j952h18m-run-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/d91qnzrisa7vfwwrjl409xhykhhrbn88-run-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/gi9gpw7j94a71s4nq52wfgjwkam31fa1-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/i8x2r954mzdqnh2jkg9mr286hwddzcsq-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/x57ca9zax2vww0nisvhyx2bjg7s6y235-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/pfgd5w7vxjbwja21jzj2vxln3n4j03i2-nixos-test-driver-acme.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/8jiv54gczr431bgb1dhixsw38pl03xjq-vm-test-run-acme.drv': 1 dependencies couldn't be built
error: build of '/nix/store/8jiv54gczr431bgb1dhixsw38pl03xjq-vm-test-run-acme.drv' failed

@dotlambda dotlambda merged commit 2215834 into NixOS:master Aug 4, 2018
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

2 participants