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

jenkins: 2.121.2 -> 2.138.1 #46642

Merged
merged 1 commit into from Sep 15, 2018
Merged

jenkins: 2.121.2 -> 2.138.1 #46642

merged 1 commit into from Sep 15, 2018

Conversation

bchallenor
Copy link
Contributor

Motivation for this change

Multiple security vulnerabilities in Jenkins 2.137 and earlier, and LTS 2.121.2 and earlier

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.

@bchallenor
Copy link
Contributor Author

@fpletz
Copy link
Member

fpletz commented Sep 14, 2018

@GrahamcOfBorg build jenkins
@GrahamcOfBorg test jenkins

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: jenkins

Partial log (click to expand)

copying path '/nix/store/sp9y40cncwvs6zip70wij05lin95c931-curl-7.61.0-dev' from 'https://nix-cache.s3.amazonaws.com'...
building '/nix/store/s1vmd50a2h5b814vsgpjxxk98rajir6p-jenkins.war.drv'...

trying http://mirrors.jenkins.io/war-stable/2.138.1/jenkins.war
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   249  100   249    0     0    459      0 --:--:-- --:--:-- --:--:--   459
100 72.2M  100 72.2M    0     0  22.2M      0  0:00:03  0:00:03 --:--:-- 27.9M
building '/nix/store/c7lqirb7dpkspakwn2sdcfinqm00p1ak-jenkins-2.138.1.drv'...
/nix/store/rf4d72yznn3ifgnhvi00f69cqmhdr7jp-jenkins-2.138.1

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: jenkins

Partial log (click to expand)

copying path '/nix/store/33lrz8ysqmj40x48gd2yj10xra9jxh6i-curl-7.61.0-dev' from 'https://cache.nixos.org'...
building '/nix/store/xxn08yywyl23ix8ql505kh3zncva45iq-jenkins.war.drv'...

trying http://mirrors.jenkins.io/war-stable/2.138.1/jenkins.war
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   252  100   252    0     0    686      0 --:--:-- --:--:-- --:--:--   684
100 72.2M  100 72.2M    0     0  14.4M      0  0:00:04  0:00:04 --:--:-- 19.5M
building '/nix/store/yyfs8q1ji816yra8janxrq3ywsq8810a-jenkins-2.138.1.drv'...
/nix/store/09mdvabqhn0xpapbxfrsl0p7zic0iwn8-jenkins-2.138.1

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

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

Partial log (click to expand)


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

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


@GrahamcOfBorg
Copy link

Unexpected error: command failed with exit code 1 on aarch64-linux (full log)

Attempted: jenkins

Partial log (click to expand)

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0Warning: Transient problem: timeout Will retry in 1 seconds. 3 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: timeout Will retry in 4 seconds. 1 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: mirrors.jenkins.io
error: cannot download jenkins.war from any mirror
builder for '/nix/store/2ychv185rm52kizajypdm1xyzvyhqfrd-jenkins.war.drv' failed with exit code 1
cannot build derivation '/nix/store/mfp93g2jsn9sxmf1a3fkd525cpzcj18k-jenkins-2.138.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/mfp93g2jsn9sxmf1a3fkd525cpzcj18k-jenkins-2.138.1.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: tests.jenkins

Partial log (click to expand)

slave: exit status 0
test script finished in 32.01s
cleaning up
killing master (pid 597)
killing slave (pid 609)
0jenkins users
0jenkins users
vde_switch: EOF on stdin, cleaning up and exiting
vde_switch: Could not remove ctl dir '/build/vde1.ctl': Directory not empty
/nix/store/j37x3357jw1kmds1rg4dggnph5610n6f-vm-test-run-jenkins

@fpletz fpletz merged commit 16ce28e into NixOS:master Sep 15, 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

3 participants