scala / scala-jenkins-infra

A Chef cookbook that manages Scala's CI infrastructure.
https://scala-ci.typesafe.com
Apache License 2.0
14 stars 17 forks source link

Use JDK 8 for 2.12.x+ #63

Closed retronym closed 9 years ago

retronym commented 9 years ago

review by @lrytz or @adriaanm

not locally tested

adriaanm commented 9 years ago

LGTM:

➜  scala-jenkins-infra git:(master) hub co https://github.com/scala/scala-jenkins-infra/pull/63
Updating retronym
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 9 (delta 1), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (9/9), done.
From git://github.com/retronym/scala-jenkins-infra
 * [new branch]            topic/jdk8 -> retronym/topic/jdk8
Branch retronym-topic/jdk8 set up to track remote branch topic/jdk8 from retronym.
Switched to a new branch 'retronym-topic/jdk8'
➜  scala-jenkins-infra git:(retronym-topic/jdk8) cd .chef
➜  .chef git:(retronym-topic/jdk8) vagrant up default
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Available bridged network interfaces:
1) en1: Wi-Fi (AirPort)
2) en0: Ethernet
3) en2: Thunderbolt 1
4) en3: Thunderbolt 2
5) p2p0
6) bridge0
==> default: When choosing an interface, it is usually the one that is
==> default: being used to connect to the internet.
    default: Which interface should the network bridge to? 1
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: bridged
==> default: Forwarding ports...
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /vagrant => /Users/adriaan/git/cookbooks/scala-jenkins-infra/.chef
    default: /tmp/vagrant-chef-2/chef-solo-1/cookbooks => /Users/adriaan/git/cookbooks
    default: /tmp/vagrant-chef-2/chef-solo-2/data_bags => /Users/adriaan/git/cookbooks/scala-jenkins-infra/.chef/data_bags
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: to force provisioning. Provisioners marked to run always will still run.
➜  .chef git:(retronym-topic/jdk8) vagrant provision default       
==> default: Running provisioner: chef_zero...
==> default: Detected Chef (latest) is already installed
Generating chef JSON and uploading...
==> default: Running chef-solo...
==> default: stdin: is not a tty
==> default: [2015-05-26T17:04:42+00:00] INFO: Started chef-zero at http://localhost:8889 with repository at /tmp/vagrant-chef-2/chef-solo-1
==> default:   One version per cookbook
==> default:   data_bags at /tmp/vagrant-chef-2/chef-solo-2/data_bags
==> default: [2015-05-26T17:04:42+00:00] INFO: Forking chef instance to converge...
==> default: [2015-05-26T17:04:42+00:00] INFO: *** Chef 12.2.1 ***
==> default: [2015-05-26T17:04:42+00:00] INFO: Chef-client pid: 2288
==> default: [2015-05-26T17:04:48+00:00] INFO: Setting the run_list to ["recipe[scala-jenkins-infra::master-init]", "recipe[scala-jenkins-infra::master-config]", "recipe[scala-jenkins-infra::master-jenkins]"] from CLI options
==> default: [2015-05-26T17:04:48+00:00] INFO: Run List is [recipe[scala-jenkins-infra::master-init], recipe[scala-jenkins-infra::master-config], recipe[scala-jenkins-infra::master-jenkins]]
==> default: [2015-05-26T17:04:48+00:00] INFO: Run List expands to [scala-jenkins-infra::master-init, scala-jenkins-infra::master-config, scala-jenkins-infra::master-jenkins]
==> default: [2015-05-26T17:04:48+00:00] INFO: Starting Chef Run for jenkins-master
==> default: [2015-05-26T17:04:48+00:00] INFO: Running start handlers
==> default: [2015-05-26T17:04:48+00:00] INFO: Start handlers complete.
==> default: [2015-05-26T17:04:50+00:00] WARN: The on_platforms option to node_map has been deprecated
==> default: [2015-05-26T17:04:51+00:00] WARN: Here we go with the runit service
==> default: [2015-05-26T17:04:51+00:00] WARN: Cloning resource attributes for ruby_block[set private key] from prior resource (CHEF-3694)
==> default: [2015-05-26T17:04:51+00:00] WARN: Previous ruby_block[set private key]: /tmp/vagrant-chef-2/chef-solo-1/cookbooks/scala-jenkins-infra/recipes/_master-config-jenkins.rb:11:in `from_file'
==> default: [2015-05-26T17:04:51+00:00] WARN: Current  ruby_block[set private key]: /tmp/vagrant-chef-2/chef-solo-1/cookbooks/scala-jenkins-infra/recipes/_master-jenkins-jobs.rb:11:in `from_file'
==> default: [2015-05-26T17:04:51+00:00] WARN: Cloning resource attributes for ruby_block[set private key] from prior resource (CHEF-3694)
==> default: [2015-05-26T17:04:51+00:00] WARN: Previous ruby_block[set private key]: /tmp/vagrant-chef-2/chef-solo-1/cookbooks/scala-jenkins-infra/recipes/_master-jenkins-jobs.rb:11:in `from_file'
==> default: [2015-05-26T17:04:51+00:00] WARN: Current  ruby_block[set private key]: /tmp/vagrant-chef-2/chef-solo-1/cookbooks/scala-jenkins-infra/recipes/_master-jenkins-workers.rb:11:in `from_file'
==> default: [2015-05-26T17:04:53+00:00] INFO: runit_service[jenkins] configured
==> default: [2015-05-26T17:04:54+00:00] INFO: runit_service[artifactory] configured
==> default: [2015-05-26T17:04:54+00:00] INFO: ruby_block[set private key] called
==> default: [2015-05-26T17:04:56+00:00] INFO: remote_file[/var/chef/cache/ansicolor-latest.plugin] created file /var/chef/cache/ansicolor-latest.plugin
==> default: [2015-05-26T17:04:56+00:00] INFO: remote_file[/var/chef/cache/ansicolor-latest.plugin] updated file contents /var/chef/cache/ansicolor-latest.plugin
==> default: [2015-05-26T17:05:16+00:00] INFO: git[/home/scabot/scabot] updated to revision f638b2577aefb9709b56de3efab9c0be8260377e
==> default: [2015-05-26T17:05:16+00:00] INFO: template[/home/scabot/scabot.conf] backed up to /var/chef/backup/home/scabot/scabot.conf.chef-20150526170516.314737
==> default: [2015-05-26T17:05:16+00:00] INFO: template[/home/scabot/scabot.conf] updated file contents /home/scabot/scabot.conf
==> default: [2015-05-26T17:06:34+00:00] INFO: bash[build scabot] ran successfully
==> default: [2015-05-26T17:06:34+00:00] INFO: runit_service[scabot] configured
==> default: [2015-05-26T17:06:35+00:00] INFO: ruby_block[set private key] called
==> default: [2015-05-26T17:06:35+00:00] INFO: template[/var/chef/cache/scala-2.11.x-integrate-bootstrap.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.11.x-integrate-bootstrap.xml.chef-20150526170635.739465
==> default: [2015-05-26T17:06:35+00:00] INFO: template[/var/chef/cache/scala-2.11.x-integrate-bootstrap.xml] updated file contents /var/chef/cache/scala-2.11.x-integrate-bootstrap.xml
==> default: [2015-05-26T17:06:38+00:00] INFO: template[/var/chef/cache/scala-2.11.x-integrate-ide.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.11.x-integrate-ide.xml.chef-20150526170638.452272
==> default: [2015-05-26T17:06:38+00:00] INFO: template[/var/chef/cache/scala-2.11.x-integrate-ide.xml] updated file contents /var/chef/cache/scala-2.11.x-integrate-ide.xml
==> default: [2015-05-26T17:06:43+00:00] INFO: template[/var/chef/cache/scala-2.11.x-release-package-unix.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.11.x-release-package-unix.xml.chef-20150526170643.691307
==> default: [2015-05-26T17:06:43+00:00] INFO: template[/var/chef/cache/scala-2.11.x-release-package-unix.xml] updated file contents /var/chef/cache/scala-2.11.x-release-package-unix.xml
==> default: [2015-05-26T17:06:46+00:00] INFO: template[/var/chef/cache/scala-2.11.x-release-package-windows.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.11.x-release-package-windows.xml.chef-20150526170646.476493
==> default: [2015-05-26T17:06:46+00:00] INFO: template[/var/chef/cache/scala-2.11.x-release-package-windows.xml] updated file contents /var/chef/cache/scala-2.11.x-release-package-windows.xml
==> default: [2015-05-26T17:06:48+00:00] INFO: template[/var/chef/cache/scala-2.11.x-release-smoketest.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.11.x-release-smoketest.xml.chef-20150526170648.820992
==> default: [2015-05-26T17:06:48+00:00] INFO: template[/var/chef/cache/scala-2.11.x-release-smoketest.xml] updated file contents /var/chef/cache/scala-2.11.x-release-smoketest.xml
==> default: [2015-05-26T17:06:51+00:00] INFO: template[/var/chef/cache/scala-2.11.x-release-website-archives.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.11.x-release-website-archives.xml.chef-20150526170651.118396
==> default: [2015-05-26T17:06:51+00:00] INFO: template[/var/chef/cache/scala-2.11.x-release-website-archives.xml] updated file contents /var/chef/cache/scala-2.11.x-release-website-archives.xml
==> default: [2015-05-26T17:06:53+00:00] INFO: template[/var/chef/cache/scala-2.11.x-release-website-update-api.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.11.x-release-website-update-api.xml.chef-20150526170653.621142
==> default: [2015-05-26T17:06:53+00:00] INFO: template[/var/chef/cache/scala-2.11.x-release-website-update-api.xml] updated file contents /var/chef/cache/scala-2.11.x-release-website-update-api.xml
==> default: [2015-05-26T17:06:57+00:00] INFO: template[/var/chef/cache/scala-2.11.x-validate-publish-core.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.11.x-validate-publish-core.xml.chef-20150526170657.518723
==> default: [2015-05-26T17:06:57+00:00] INFO: template[/var/chef/cache/scala-2.11.x-validate-publish-core.xml] updated file contents /var/chef/cache/scala-2.11.x-validate-publish-core.xml
==> default: [2015-05-26T17:06:59+00:00] INFO: template[/var/chef/cache/scala-2.11.x-validate-test.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.11.x-validate-test.xml.chef-20150526170659.671403
==> default: [2015-05-26T17:06:59+00:00] INFO: template[/var/chef/cache/scala-2.11.x-validate-test.xml] updated file contents /var/chef/cache/scala-2.11.x-validate-test.xml
==> default: [2015-05-26T17:07:02+00:00] INFO: template[/var/chef/cache/scala-2.12.x-integrate-bootstrap.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.12.x-integrate-bootstrap.xml.chef-20150526170702.367810
==> default: [2015-05-26T17:07:02+00:00] INFO: template[/var/chef/cache/scala-2.12.x-integrate-bootstrap.xml] updated file contents /var/chef/cache/scala-2.12.x-integrate-bootstrap.xml
==> default: [2015-05-26T17:07:04+00:00] INFO: template[/var/chef/cache/scala-2.12.x-integrate-ide.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.12.x-integrate-ide.xml.chef-20150526170704.915933
==> default: [2015-05-26T17:07:04+00:00] INFO: template[/var/chef/cache/scala-2.12.x-integrate-ide.xml] updated file contents /var/chef/cache/scala-2.12.x-integrate-ide.xml
==> default: [2015-05-26T17:07:09+00:00] INFO: template[/var/chef/cache/scala-2.12.x-release-package-unix.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.12.x-release-package-unix.xml.chef-20150526170709.846523
==> default: [2015-05-26T17:07:09+00:00] INFO: template[/var/chef/cache/scala-2.12.x-release-package-unix.xml] updated file contents /var/chef/cache/scala-2.12.x-release-package-unix.xml
==> default: [2015-05-26T17:07:12+00:00] INFO: template[/var/chef/cache/scala-2.12.x-release-package-windows.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.12.x-release-package-windows.xml.chef-20150526170712.156885
==> default: [2015-05-26T17:07:12+00:00] INFO: template[/var/chef/cache/scala-2.12.x-release-package-windows.xml] updated file contents /var/chef/cache/scala-2.12.x-release-package-windows.xml
==> default: [2015-05-26T17:07:14+00:00] INFO: template[/var/chef/cache/scala-2.12.x-release-smoketest.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.12.x-release-smoketest.xml.chef-20150526170714.404042
==> default: [2015-05-26T17:07:14+00:00] INFO: template[/var/chef/cache/scala-2.12.x-release-smoketest.xml] updated file contents /var/chef/cache/scala-2.12.x-release-smoketest.xml
==> default: [2015-05-26T17:07:16+00:00] INFO: template[/var/chef/cache/scala-2.12.x-release-website-archives.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.12.x-release-website-archives.xml.chef-20150526170716.704988
==> default: [2015-05-26T17:07:16+00:00] INFO: template[/var/chef/cache/scala-2.12.x-release-website-archives.xml] updated file contents /var/chef/cache/scala-2.12.x-release-website-archives.xml
==> default: [2015-05-26T17:07:18+00:00] INFO: template[/var/chef/cache/scala-2.12.x-release-website-update-api.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.12.x-release-website-update-api.xml.chef-20150526170718.808822
==> default: [2015-05-26T17:07:18+00:00] INFO: template[/var/chef/cache/scala-2.12.x-release-website-update-api.xml] updated file contents /var/chef/cache/scala-2.12.x-release-website-update-api.xml
==> default: [2015-05-26T17:07:22+00:00] INFO: template[/var/chef/cache/scala-2.12.x-validate-publish-core.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.12.x-validate-publish-core.xml.chef-20150526170722.482999
==> default: [2015-05-26T17:07:22+00:00] INFO: template[/var/chef/cache/scala-2.12.x-validate-publish-core.xml] updated file contents /var/chef/cache/scala-2.12.x-validate-publish-core.xml
==> default: [2015-05-26T17:07:24+00:00] INFO: template[/var/chef/cache/scala-2.12.x-validate-test.xml] backed up to /var/chef/backup/var/chef/cache/scala-2.12.x-validate-test.xml.chef-20150526170724.739337
==> default: [2015-05-26T17:07:24+00:00] INFO: template[/var/chef/cache/scala-2.12.x-validate-test.xml] updated file contents /var/chef/cache/scala-2.12.x-validate-test.xml
==> default: [2015-05-26T17:07:27+00:00] INFO: template[/var/chef/cache/dotty-master-validate-junit.xml] created file /var/chef/cache/dotty-master-validate-junit.xml
==> default: [2015-05-26T17:07:27+00:00] INFO: template[/var/chef/cache/dotty-master-validate-junit.xml] updated file contents /var/chef/cache/dotty-master-validate-junit.xml
==> default: [2015-05-26T17:07:30+00:00] INFO: template[/var/chef/cache/dotty-master-validate-main.xml] created file /var/chef/cache/dotty-master-validate-main.xml
==> default: [2015-05-26T17:07:30+00:00] INFO: template[/var/chef/cache/dotty-master-validate-main.xml] updated file contents /var/chef/cache/dotty-master-validate-main.xml
==> default: [2015-05-26T17:07:34+00:00] INFO: template[/var/chef/cache/dotty-master-validate-partest.xml] created file /var/chef/cache/dotty-master-validate-partest.xml
==> default: [2015-05-26T17:07:34+00:00] INFO: template[/var/chef/cache/dotty-master-validate-partest.xml] updated file contents /var/chef/cache/dotty-master-validate-partest.xml
==> default: [2015-05-26T17:07:38+00:00] INFO: template[/var/chef/cache/dotty-master-validate-scalastyle.xml] created file /var/chef/cache/dotty-master-validate-scalastyle.xml
==> default: [2015-05-26T17:07:38+00:00] INFO: template[/var/chef/cache/dotty-master-validate-scalastyle.xml] updated file contents /var/chef/cache/dotty-master-validate-scalastyle.xml
==> default: [2015-05-26T17:07:41+00:00] INFO: ruby_block[set private key] called
==> default: [2015-05-26T17:07:43+00:00] INFO: Chef Run complete in 174.530197106 seconds
==> default: [2015-05-26T17:07:43+00:00] INFO: Skipping removal of unused files from the cache
==> default: [2015-05-26T17:07:43+00:00] INFO: Running report handlers
==> default: [2015-05-26T17:07:43+00:00] INFO: Report handlers complete
➜  .chef git:(retronym-topic/jdk8) vagrant ssh default
Welcome to Ubuntu 14.10 (GNU/Linux 3.16.0-34-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Tue May 26 17:57:19 UTC 2015

  System load:  0.0               Processes:           102
  Usage of /:   5.9% of 39.34GB   Users logged in:     0
  Memory usage: 32%               IP address for eth0: 10.0.2.15
  Swap usage:   0%                IP address for eth1: 10.127.20.249

  Graph this data and manage this system at:
    https://landscape.canonical.com/

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

32 packages can be updated.
20 updates are security updates.

New release '15.04' available.
Run 'do-release-upgrade' to upgrade to it.

Last login: Thu May 14 22:46:17 2015 from 10.0.2.2
vagrant@vagrant-ubuntu-utopic-64:~$ diff -u /var/chef/backup/var/chef/cache/scala-2.12.x-validate-publish-core.xml.chef-20150526170722.482999 /var/chef/cache/scala-2.12.x-validate-publish-core.xml
--- /var/chef/backup/var/chef/cache/scala-2.12.x-validate-publish-core.xml.chef-20150526170722.482999   2015-05-14 22:47:40.859008676 +0000
+++ /var/chef/cache/scala-2.12.x-validate-publish-core.xml  2015-05-26 17:07:22.479802631 +0000
@@ -59,7 +59,7 @@
 <hudson.model.StringParameterDefinition>
   <name>jvmVersion</name>
   <description>Java version to use (6/7/8).</description>
-  <defaultValue>6</defaultValue>
+  <defaultValue>8</defaultValue>
 </hudson.model.StringParameterDefinition>
           </parameterDefinitions>
         </hudson.model.ParametersDefinitionProperty>
@@ -117,6 +117,9 @@
              </strategy>
              <operationList/>
           </hudson.plugins.build__timeout.BuildTimeoutWrapper>
+          <hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.4.1">
+            <colorMapName>xterm</colorMapName>
+          </hudson.plugins.ansicolor.AnsiColorBuildWrapper>
         </buildWrappers>

   <publishers>
vagrant@vagrant-ubuntu-utopic-64:~$ diff -u /var/chef/backup/var/chef/cache/scala-2.11.x-validate-publish-core.xml.chef-20150526170657.518723 /var/chef/cache/scala-2.11.x-validate-publish-core.xml
--- /var/chef/backup/var/chef/cache/scala-2.11.x-validate-publish-core.xml.chef-20150526170657.518723   2015-04-28 21:51:05.192113815 +0000
+++ /var/chef/cache/scala-2.11.x-validate-publish-core.xml  2015-05-26 17:06:57.515327042 +0000
@@ -117,6 +117,9 @@
              </strategy>
              <operationList/>
           </hudson.plugins.build__timeout.BuildTimeoutWrapper>
+          <hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.4.1">
+            <colorMapName>xterm</colorMapName>
+          </hudson.plugins.ansicolor.AnsiColorBuildWrapper>
         </buildWrappers>

   <publishers>
vagrant@vagrant-ubuntu-utopic-64:~$ 
adriaanm commented 9 years ago

And here's the log from deploying to prod:

➜  .chef git:(master) g pull scala master
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 5 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (5/5), done.
From git://github.com/scala/scala-jenkins-infra
 * branch                  master     -> FETCH_HEAD
   da888805ec..9acd5ca060  master     -> scala/master
Updating 048ebd0f75..9acd5ca060
Fast-forward
 attributes/default.rb                                      |  6 ++++--
 templates/default/jobs/scala/validate/publish-core.xml.erb |  2 +-
 templates/default/jobs/scala/validate/test.xml.erb         |  2 +-
 templates/default/m2-settings-public-jobs.xml.erb          | 15 +++++++++++----
 templates/default/m2-settings.xml.erb                      | 15 +++++++++++----
 5 files changed, 28 insertions(+), 12 deletions(-)
➜  .chef git:(master) cd ..
➜  scala-jenkins-infra git:(master) knife cookbook upload scala-jenkins-infra
Uploading scala-jenkins-infra [0.2.0]
Uploaded 1 cookbook.
➜  scala-jenkins-infra git:(master) ssh jenkins-master
Last login: Tue May 19 23:56:15 2015 from 12.251.10.62

       __|  __|_  )
       _|  (     /   Amazon Linux AMI
      ___|\___|___|

https://aws.amazon.com/amazon-linux-ami/2015.03-release-notes/
5 package(s) needed for security, out of 10 available
Run "sudo yum update" to apply all updates.
[ec2-user@ip-172-31-3-245 ~]$ sudo su --login
Last login: Tue May 19 23:56:19 UTC 2015 on pts/2
[root@ip-172-31-3-245 ~]# chef-client
Starting Chef Client, version 11.18.6
resolving cookbooks for run list: ["chef-vault", "scala-jenkins-infra::master-init", "scala-jenkins-infra::master-config", "scala-jenkins-infra::master-jenkins"]
Synchronizing Cookbooks:
  - apt
  - chef_handler
  - runit
  - yum-epel
  - build-essential
  - git
  - windows
  - yum
  - java
  - dmg
  - magic_shell
  - chef-sbt
  - user
  - logrotate
  - git_user
  - partial_search
  - ssh_known_hosts
  - sbt-extras
  - chef-client
  - cron
  - ebs
  - delayed_evaluator
  - 7-zip
  - ark
  - artifactory
  - packagecloud
  - jenkins
  - chef-vault
  - aws
  - scala-jenkins-infra
Compiling Cookbooks...
Recipe: chef-vault::default
  * chef_gem[chef-vault] action install (up to date)
Recipe: aws::default
  * chef_gem[aws-sdk] action install (up to date)
[2015-05-26T18:01:40+00:00] WARN: Cloning resource attributes for execute[mkfs] from prior resource (CHEF-3694)
[2015-05-26T18:01:40+00:00] WARN: Previous execute[mkfs]: /var/chef/cache/cookbooks/scala-jenkins-infra/recipes/_config-ebs.rb:43:in `block in from_file'
[2015-05-26T18:01:40+00:00] WARN: Current  execute[mkfs]: /var/chef/cache/cookbooks/scala-jenkins-infra/recipes/_config-ebs.rb:43:in `block in from_file'
[2015-05-26T18:01:40+00:00] WARN: Cloning resource attributes for directory[/var/lib/jenkins] from prior resource (CHEF-3694)
[2015-05-26T18:01:40+00:00] WARN: Previous directory[/var/lib/jenkins]: /var/chef/cache/cookbooks/scala-jenkins-infra/recipes/_config-ebs.rb:51:in `block in from_file'
[2015-05-26T18:01:40+00:00] WARN: Current  directory[/var/lib/jenkins]: /var/chef/cache/cookbooks/jenkins/recipes/_master_war.rb:40:in `from_file'
[2015-05-26T18:01:40+00:00] WARN: Here we go with the runit service
[2015-05-26T18:01:40+00:00] WARN: Cloning resource attributes for directory[/var/lib/artifactory] from prior resource (CHEF-3694)
[2015-05-26T18:01:40+00:00] WARN: Previous directory[/var/lib/artifactory]: /var/chef/cache/cookbooks/scala-jenkins-infra/recipes/_config-ebs.rb:51:in `block in from_file'
[2015-05-26T18:01:40+00:00] WARN: Current  directory[/var/lib/artifactory]: /var/chef/cache/cookbooks/artifactory/recipes/default.rb:19:in `from_file'
[2015-05-26T18:02:22+00:00] WARN: Cloning resource attributes for ruby_block[set private key] from prior resource (CHEF-3694)
[2015-05-26T18:02:22+00:00] WARN: Previous ruby_block[set private key]: /var/chef/cache/cookbooks/scala-jenkins-infra/recipes/_master-config-jenkins.rb:11:in `from_file'
[2015-05-26T18:02:22+00:00] WARN: Current  ruby_block[set private key]: /var/chef/cache/cookbooks/scala-jenkins-infra/recipes/_master-jenkins-jobs.rb:11:in `from_file'
[2015-05-26T18:02:22+00:00] WARN: Cloning resource attributes for ruby_block[set private key] from prior resource (CHEF-3694)
[2015-05-26T18:02:22+00:00] WARN: Previous ruby_block[set private key]: /var/chef/cache/cookbooks/scala-jenkins-infra/recipes/_master-jenkins-jobs.rb:11:in `from_file'
[2015-05-26T18:02:22+00:00] WARN: Current  ruby_block[set private key]: /var/chef/cache/cookbooks/scala-jenkins-infra/recipes/_master-jenkins-workers.rb:11:in `from_file'
Env for jenkins-worker-behemoth-2:
masterEnvLambda:   lambda{| node | Chef::Node::ImmutableMash.new({
    "JAVA_HOME"          => node['java']['java_home'], # we get the jre if we don't do this
    "JAVA_OPTS"          => node['jenkinsEnv']['JAVA_OPTS'],
    "ANT_OPTS"           => node['jenkinsEnv']['ANT_OPTS'],
    "MAVEN_OPTS"         => node['jenkinsEnv']['MAVEN_OPTS'],
    "prRepoUrl"          => node['repos']['private']['pr-snap'],
    "releaseTempRepoUrl" => node['repos']['private']['release-temp']
  })}
workerEnvLambda:   lambda{| node | Chef::Node::ImmutableMash.new({
    "sshCharaArgs" => '("scalatest@chara.epfl.ch" "-i" "/home/jenkins/.ssh/for_chara")',
    "sbtLauncher"  => File.join(node['sbt']['launcher_path'], "sbt-launch.jar"), # from chef-sbt cookbook
    "sbtCmd"       => File.join(node['sbt-extras']['setup_dir'], node['sbt-extras']['script_name']) # sbt-extras
  })}
masterEnv: {"JAVA_HOME"=>"/usr/lib/jvm/java-1.6.0-oracle.x86_64", "JAVA_OPTS"=>"-Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -Dpartest.threads=4", "ANT_OPTS"=>"-Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -Dpartest.threads=4", "MAVEN_OPTS"=>"-Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -Dpartest.threads=4", "prRepoUrl"=>"https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots/", "releaseTempRepoUrl"=>"https://scala-ci.typesafe.com/artifactory/scala-release-temp/"}
workerEnv: {"sshCharaArgs"=>"(\"scalatest@chara.epfl.ch\" \"-i\" \"/home/jenkins/.ssh/for_chara\")", "sbtLauncher"=>"/usr/local/lib/share/sbt-launch.jar", "sbtCmd"=>"/usr/local/bin/sbt"}
Env for jenkins-worker-behemoth-1:
masterEnvLambda:   lambda{| node | Chef::Node::ImmutableMash.new({
    "JAVA_HOME"          => node['java']['java_home'], # we get the jre if we don't do this
    "JAVA_OPTS"          => node['jenkinsEnv']['JAVA_OPTS'],
    "ANT_OPTS"           => node['jenkinsEnv']['ANT_OPTS'],
    "MAVEN_OPTS"         => node['jenkinsEnv']['MAVEN_OPTS'],
    "prRepoUrl"          => node['repos']['private']['pr-snap'],
    "releaseTempRepoUrl" => node['repos']['private']['release-temp']
  })}
workerEnvLambda:   lambda{| node | Chef::Node::ImmutableMash.new({
    "sshCharaArgs" => '("scalatest@chara.epfl.ch" "-i" "/home/jenkins/.ssh/for_chara")',
    "sbtLauncher"  => File.join(node['sbt']['launcher_path'], "sbt-launch.jar"), # from chef-sbt cookbook
    "sbtCmd"       => File.join(node['sbt-extras']['setup_dir'], node['sbt-extras']['script_name']) # sbt-extras
  })}
masterEnv: {"JAVA_HOME"=>"/usr/lib/jvm/java-1.6.0-oracle.x86_64", "JAVA_OPTS"=>"-Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -Dpartest.threads=4", "ANT_OPTS"=>"-Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -Dpartest.threads=4", "MAVEN_OPTS"=>"-Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -Dpartest.threads=4", "prRepoUrl"=>"https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots/", "releaseTempRepoUrl"=>"https://scala-ci.typesafe.com/artifactory/scala-release-temp/"}
workerEnv: {"sshCharaArgs"=>"(\"scalatest@chara.epfl.ch\" \"-i\" \"/home/jenkins/.ssh/for_chara\")", "sbtLauncher"=>"/usr/local/lib/share/sbt-launch.jar", "sbtCmd"=>"/usr/local/bin/sbt"}
Env for jenkins-worker-windows-publish:
masterEnvLambda:   lambda{| node | Chef::Node::ImmutableMash.new({
    "JAVA_HOME"          => node['java']['java_home'], # we get the jre if we don't do this
    "JAVA_OPTS"          => node['jenkinsEnv']['JAVA_OPTS'],
    "ANT_OPTS"           => node['jenkinsEnv']['ANT_OPTS'],
    "MAVEN_OPTS"         => node['jenkinsEnv']['MAVEN_OPTS'],
    "prRepoUrl"          => node['repos']['private']['pr-snap'],
    "releaseTempRepoUrl" => node['repos']['private']['release-temp']
  })}
workerEnvLambda:   lambda{| node | Chef::Node::ImmutableMash.new({
    "PATH"          => "/bin:/usr/bin:/cygdrive/c/java/jdk-1.6/bin:/cygdrive/c/Program Files (x86)/Git/Cmd", # TODO express in terms of attributes
    "sbtLauncher"   => "#{node['sbt']['launcher_path']}\\sbt-launch.jar", # from chef-sbt cookbook
    "WIX"           => node['wix']['home'],
    "TMP"           => "#{node['_jenkinsTmp']}",
    "_JAVA_OPTIONS" => "-Duser.home=#{node['_jenkinsHome']}", # no other way to do this... sbt boot will fail pretty weirdly if it can't write to $HOME/.sbt and $TMP/...
    "SHELLOPTS"     => "igncr" # ignore line-ending issues in shell scripts
  })}
masterEnv: {"JAVA_HOME"=>"C:\\java\\jdk-1.6", "JAVA_OPTS"=>"-Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -Dpartest.threads=4", "ANT_OPTS"=>"-Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -Dpartest.threads=4", "MAVEN_OPTS"=>"-Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -Dpartest.threads=4", "prRepoUrl"=>"https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots/", "releaseTempRepoUrl"=>"https://scala-ci.typesafe.com/artifactory/scala-release-temp/"}
workerEnv: {"PATH"=>"/bin:/usr/bin:/cygdrive/c/java/jdk-1.6/bin:/cygdrive/c/Program Files (x86)/Git/Cmd", "sbtLauncher"=>"C:\\sbt\\sbt-launch.jar", "WIX"=>"C:\\Program Files (x86)\\WiX Toolset v3.9", "TMP"=>"y:\\tmp", "_JAVA_OPTIONS"=>"-Duser.home=y:\\jenkins", "SHELLOPTS"=>"igncr"}
Env for jenkins-worker-ubuntu-publish:
masterEnvLambda:   lambda{| node | Chef::Node::ImmutableMash.new({
    "JAVA_HOME"          => node['java']['java_home'], # we get the jre if we don't do this
    "JAVA_OPTS"          => node['jenkinsEnv']['JAVA_OPTS'],
    "ANT_OPTS"           => node['jenkinsEnv']['ANT_OPTS'],
    "MAVEN_OPTS"         => node['jenkinsEnv']['MAVEN_OPTS'],
    "prRepoUrl"          => node['repos']['private']['pr-snap'],
    "releaseTempRepoUrl" => node['repos']['private']['release-temp']
  })}
workerEnvLambda:   lambda{| node | Chef::Node::ImmutableMash.new({
    "sshCharaArgs" => '("scalatest@chara.epfl.ch" "-i" "/home/jenkins/.ssh/for_chara")',
    "sbtLauncher"  => File.join(node['sbt']['launcher_path'], "sbt-launch.jar"), # from chef-sbt cookbook
    "sbtCmd"       => File.join(node['sbt-extras']['setup_dir'], node['sbt-extras']['script_name']) # sbt-extras
  })}
masterEnv: {"JAVA_HOME"=>"/usr/lib/jvm/java-6-oracle-amd64", "JAVA_OPTS"=>"-Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -Dpartest.threads=4", "ANT_OPTS"=>"-Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -Dpartest.threads=4", "MAVEN_OPTS"=>"-Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -Dpartest.threads=4", "prRepoUrl"=>"https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots/", "releaseTempRepoUrl"=>"https://scala-ci.typesafe.com/artifactory/scala-release-temp/"}
workerEnv: {"sshCharaArgs"=>"(\"scalatest@chara.epfl.ch\" \"-i\" \"/home/jenkins/.ssh/for_chara\")", "sbtLauncher"=>"/usr/local/lib/share/sbt-launch.jar", "sbtCmd"=>"/usr/local/bin/sbt"}
  Converging 167 resources
Recipe: chef-vault::default
  * chef_gem[chef-vault] action install (up to date)
Recipe: scala-jenkins-infra::_init-chef-client
  * magic_shell_environment[SSL_CERT_FILE] action add
  Recipe: <Dynamically Defined Resource>
    * file[/etc/profile.d/SSL_CERT_FILE.sh] action create (up to date)
     (up to date)
Recipe: chef-client::init_service
  * directory[/var/run/chef] action create (up to date)
  * directory[/var/cache/chef] action create (up to date)
  * directory[/var/lib/chef] action create (up to date)
  * directory[/var/log/chef] action create (up to date)
  * directory[/etc/chef] action create (up to date)
  * template[/etc/init.d/chef-client] action create (up to date)
  * template[/etc/sysconfig/chef-client] action create (up to date)
  * service[chef-client] action enable (up to date)
  * service[chef-client] action start (up to date)
Recipe: java::openjdk
  * package[java-1.7.0-openjdk] action install (up to date)
  * package[java-1.7.0-openjdk-devel] action install (up to date)
  * java_alternatives[set-java-alternatives] action set (up to date)
Recipe: java::set_java_home
  * ruby_block[set-env-java-home] action run (skipped due to not_if)
  * directory[/etc/profile.d] action create (up to date)
  * file[/etc/profile.d/jdk.sh] action create (up to date)
Recipe: aws::default
  * chef_gem[aws-sdk] action install (up to date)
Recipe: scala-jenkins-infra::_config-ebs
  * aws_ebs_volume[/dev/sdj] action create (up to date)
  * aws_ebs_volume[/dev/sdj] action attach (up to date)
  * execute[mkfs] action runext4
 (skipped due to not_if)
  * directory[/var/lib/jenkins] action create (up to date)
  * mount[/var/lib/jenkins] action mount (up to date)
  * mount[/var/lib/jenkins] action enable (up to date)
  * aws_ebs_volume[/dev/sdk] action create (up to date)
  * aws_ebs_volume[/dev/sdk] action attach (up to date)
  * execute[mkfs] action runext4
 (skipped due to not_if)
  * directory[/var/lib/artifactory] action create (up to date)
  * mount[/var/lib/artifactory] action mount (up to date)
  * mount[/var/lib/artifactory] action enable (up to date)
Recipe: jenkins::_master_war
  * user[jenkins] action create (up to date)
  * group[jenkins] action create (up to date)
  * directory[/var/lib/jenkins] action create (up to date)
  * directory[/var/log/jenkins] action create (up to date)
Recipe: runit::default
  * service[runit] action nothing (skipped due to action :nothing)
  * execute[start-runsvdir] action nothing (skipped due to action :nothing)
  * execute[runit-hup-init] action nothing (skipped due to action :nothing)
  * packagecloud_repo[imeyer/runit] action add
    * package[pygpgme] action install (up to date)
    * log[pygpgme_warning] action write (skipped due to not_if)
    * ruby_block[disable repo_gpgcheck if no pygpgme] action run (skipped due to not_if)
    * remote_file[/etc/pki/rpm-gpg/RPM-GPG-KEY-packagecloud_io] action create (up to date)
    * template[/etc/yum.repos.d/imeyer_runit_.repo] action create (up to date)
    * execute[yum-makecache-imeyer_runit_] action nothing (skipped due to action :nothing)
    * ruby_block[yum-cache-reload-imeyer_runit_] action nothing (skipped due to action :nothing)
     (up to date)
  * package[runit] action install (up to date)
Recipe: jenkins::_master_war
  * remote_file[/var/lib/jenkins/jenkins.war] action create (up to date)
Recipe: <Dynamically Defined Resource>
  * service[jenkins] action nothing (skipped due to action :nothing)
Recipe: jenkins::_master_war
  * runit_service[jenkins] action enable
  Recipe: <Dynamically Defined Resource>
    * directory[/etc/sv/jenkins] action create (up to date)
    * template[/etc/sv/jenkins/run] action create
      - update content in file /etc/sv/jenkins/run from 21a861 to c26d61
      --- /etc/sv/jenkins/run   2015-05-20 00:37:35.831742754 +0000
      +++ /tmp/chef-rendered-template20150526-18377-193wzkt 2015-05-26 18:02:51.642485750 +0000
      @@ -12,7 +12,7 @@
       exec chpst -u jenkins -U jenkins \
         env HOME=/var/lib/jenkins \
         JENKINS_HOME=/var/lib/jenkins \
      -  java -server -Xmx4G -XX:MaxPermSize=512M -XX:+HeapDumpOnOutOfMemoryError -Dhudson.model.User.allowNonExistentUserToLogin=true -Dorg.eclipse.jetty.server.Request.maxFormContentSize=1000000 -jar jenkins.war \
      +  /usr/lib/jvm/java-1.7.0/bin/java -server -Xmx4G -XX:MaxPermSize=512M -XX:+HeapDumpOnOutOfMemoryError -Dhudson.model.User.allowNonExistentUserToLogin=true -Dorg.eclipse.jetty.server.Request.maxFormContentSize=1000000 -jar jenkins.war \
         --httpPort=8080 \
         --httpListenAddress=127.0.0.1 \

    * directory[/etc/sv/jenkins/log] action create (up to date)
    * directory[/etc/sv/jenkins/log/main] action create (up to date)
    * template[/etc/sv/jenkins/log/run] action create (up to date)
    * template[/etc/sv/jenkins/log/config] action create (up to date)
    * link[/etc/init.d/jenkins] action create (up to date)

Recipe: scala-jenkins-infra::_master-init-jenkins
  * directory[/var/lib/jenkins/users] action create (up to date)
  * directory[/var/lib/jenkins/users/chef/] action create (up to date)
  * template[/var/lib/jenkins/jenkins.model.JenkinsLocationConfiguration.xml] action create (up to date)
  * cookbook_file[jenkins.model.DownloadSettings.xml] action create (up to date)
Recipe: artifactory::default
  * package[unzip] action install (up to date)
  * user[artifactory] action create (up to date)
  * directory[/var/lib/artifactory] action create (up to date)
  * directory[/var/lib/artifactory/tomcat] action create (up to date)
  * directory[/var/lib/artifactory/tomcat/work] action create (up to date)
  * directory[/var/lib/artifactory/tomcat/temp] action create (up to date)
  * directory[/var/lib/artifactory/logs] action create (up to date)
  * ark[artifactory] action install
    * directory[/usr/local/artifactory-1] action create (up to date)
    * remote_file[/var/chef/cache/artifactory-1.zip] action create (up to date)
    * execute[unpack /var/chef/cache/artifactory-1.zip] action nothing (skipped due to action :nothing)
    * execute[set owner on /usr/local/artifactory-1] action nothing (skipped due to action :nothing)
    * link[/usr/local/artifactory] action create (up to date)
    * template[/etc/profile.d/artifactory.sh] action create (skipped due to only_if)
    * ruby_block[adding '/usr/local/artifactory-1/bin' to chef-client ENV['PATH']] action run (skipped due to only_if)
     (up to date)
  * link[/var/lib/artifactory/webapps] action create (up to date)
  * link[/var/lib/artifactory/tomcat/logs] action create (up to date)
  * link[/var/lib/artifactory/tomcat/conf] action create (up to date)
  * template[/usr/local/artifactory/tomcat/conf/server.xml] action create (up to date)
Recipe: <Dynamically Defined Resource>
  * service[artifactory] action nothing (skipped due to action :nothing)
Recipe: artifactory::default
  * runit_service[artifactory] action enable
  Recipe: <Dynamically Defined Resource>
    * directory[/etc/sv/artifactory] action create (up to date)
    * template[/etc/sv/artifactory/run] action create (up to date)
    * directory[/etc/sv/artifactory/log] action create (up to date)
    * directory[/etc/sv/artifactory/log/main] action create (up to date)
    * template[/etc/sv/artifactory/log/run] action create (up to date)
    * template[/etc/sv/artifactory/log/config] action create (up to date)
    * link[/etc/init.d/artifactory] action create (up to date)
     (up to date)
Recipe: scala-jenkins-infra::master-init
  * execute[turn off scatter-gatter] action run
    - execute ethtool -K eth0 sg off
Recipe: scala-jenkins-infra::_master-config-proxy
  * package[nginx] action install (up to date)
  * user[nginx] action create (up to date)
  * template[/etc/nginx/nginx.conf] action create (up to date)
  * template[/etc/nginx/conf.d/jenkins.conf] action create (up to date)
  * directory[/etc/nginx/ssl] action create (up to date)
  * cookbook_file[scala-ci.crt] action create (up to date)
  * cookbook_file[dhparam.pem] action create (up to date)
  * file[/etc/nginx/ssl/scala-ci.key] action create (up to date)
  * service[nginx] action start (up to date)
Recipe: scala-jenkins-infra::_master-config-jenkins
  * ruby_block[set private key] action run
    - execute the ruby block set private key
  * template[/var/lib/jenkins/users/chef/config.xml] action create (up to date)
  * jenkins_plugin[notification] action install (up to date)
  * jenkins_plugin[ssh-credentials] action install (up to date)
  * jenkins_plugin[groovy] action install (up to date)
  * jenkins_plugin[cygpath] action install (up to date)
  * jenkins_plugin[job-dsl] action install (up to date)
  * jenkins_plugin[build-flow-plugin] action install (up to date)
  * jenkins_plugin[rebuild] action install (up to date)
  * jenkins_plugin[greenballs] action install (up to date)
  * jenkins_plugin[build-timeout] action install (up to date)
  * jenkins_plugin[copyartifact] action install (up to date)
  * jenkins_plugin[email-ext] action install (up to date)
  * jenkins_plugin[slack] action install (up to date)
  * jenkins_plugin[throttle-concurrents] action install (up to date)
  * jenkins_plugin[dashboard-view] action install (up to date)
  * jenkins_plugin[parameterized-trigger] action install (up to date)
  * jenkins_plugin[ansicolor] action install (up to date)
  * jenkins_plugin[ec2-start-stop] action install (up to date)
  * jenkins_plugin[github-oauth] action install (up to date)
Recipe: git::default
  * git_client[default] action install
    * package[default :create git] action install (up to date)
     (up to date)
Recipe: sbt-extras::default
  * remote_file[/usr/local/bin/sbt] action create (up to date)
  * directory[/etc/sbt] action create (up to date)
  * template[/etc/sbt/jvmopts] action create (up to date)
  * template[/etc/sbt/sbtopts] action create (up to date)
  * template[/etc/profile.d/sbt.sh] action create (skipped due to only_if)
Recipe: scala-jenkins-infra::_master-config-scabot
  * user[scabot] action create (up to date)
  * directory[/home/scabot] action create (up to date)
  * directory[/home/scabot/scabot] action create (up to date)
  * directory[/home/scabot/logs] action create (up to date)
  * directory[/home/scabot/.ssh] action create (up to date)
  * file[/home/scabot/.ssh/authorized_keys] action create (up to date)
  * git_user[scabot] action create (up to date)
  * template[/home/scabot/.gitconfig] action create (up to date)
  * git[/home/scabot/scabot] action sync (up to date)
  * template[/home/scabot/scabot.conf] action create (up to date)
  * bash[build scabot] action run
    - execute "bash"  "/tmp/chef-script20150526-18377-18qyhob"
Recipe: <Dynamically Defined Resource>
  * service[scabot] action nothing (skipped due to action :nothing)
Recipe: scala-jenkins-infra::_master-config-scabot
  * runit_service[scabot] action enable
  Recipe: <Dynamically Defined Resource>
    * directory[/etc/sv/scabot] action create (up to date)
    * template[/etc/sv/scabot/run] action create (up to date)
    * directory[/etc/sv/scabot/log] action create (up to date)
    * directory[/etc/sv/scabot/log/main] action create (up to date)
    * template[/etc/sv/scabot/log/run] action create (up to date)
    * template[/etc/sv/scabot/log/config] action create (up to date)
    * link[/etc/init.d/scabot] action create (up to date)
     (up to date)
Recipe: scala-jenkins-infra::_master-jenkins-auth-github
  * jenkins_script[add_gh_authentication] action execute
  Recipe: <Dynamically Defined Resource>
    * remote_file[/var/chef/cache/jenkins-cli.jar] action create (up to date)
    * remote_file[/var/chef/cache/update-center.json] action create_if_missing (up to date)
    * file[/var/chef/cache/extracted-update-center.json] action create (up to date)
    * file[/var/chef/cache/jenkins-key] action create (up to date)
    - Execute script jenkins_script[add_gh_authentication]
Recipe: scala-jenkins-infra::_master-jenkins-jobs
  * ruby_block[set private key] action run
    - execute the ruby block set private key
  * template[/var/chef/cache/scala-2.11.x-integrate-bootstrap.xml] action create (up to date)
  * jenkins_job[scala-2.11.x-integrate-bootstrap] action create
    - Update jenkins_job[scala-2.11.x-integrate-bootstrap] config
  * template[/var/chef/cache/scala-2.11.x-integrate-ide.xml] action create (up to date)
  * jenkins_job[scala-2.11.x-integrate-ide] action create
    - Update jenkins_job[scala-2.11.x-integrate-ide] config
  * template[/var/chef/cache/scala-2.11.x-integrate-main.xml] action create (up to date)
  * jenkins_job[scala-2.11.x-integrate-main] action create
    - Update jenkins_job[scala-2.11.x-integrate-main] config
  * template[/var/chef/cache/scala-2.11.x-release-main.xml] action create (up to date)
  * jenkins_job[scala-2.11.x-release-main] action create
    - Update jenkins_job[scala-2.11.x-release-main] config
  * template[/var/chef/cache/scala-2.11.x-release-package-unix.xml] action create (up to date)
  * jenkins_job[scala-2.11.x-release-package-unix] action create
    - Update jenkins_job[scala-2.11.x-release-package-unix] config
  * template[/var/chef/cache/scala-2.11.x-release-package-windows.xml] action create (up to date)
  * jenkins_job[scala-2.11.x-release-package-windows] action create
    - Update jenkins_job[scala-2.11.x-release-package-windows] config
  * template[/var/chef/cache/scala-2.11.x-release-smoketest.xml] action create (up to date)
  * jenkins_job[scala-2.11.x-release-smoketest] action create
    - Update jenkins_job[scala-2.11.x-release-smoketest] config
  * template[/var/chef/cache/scala-2.11.x-release-website-archives.xml] action create (up to date)
  * jenkins_job[scala-2.11.x-release-website-archives] action create
    - Update jenkins_job[scala-2.11.x-release-website-archives] config
  * template[/var/chef/cache/scala-2.11.x-release-website-update-api.xml] action create (up to date)
  * jenkins_job[scala-2.11.x-release-website-update-api] action create
    - Update jenkins_job[scala-2.11.x-release-website-update-api] config
  * template[/var/chef/cache/scala-2.11.x-validate-main.xml] action create (up to date)
  * jenkins_job[scala-2.11.x-validate-main] action create
    - Update jenkins_job[scala-2.11.x-validate-main] config
  * template[/var/chef/cache/scala-2.11.x-validate-publish-core.xml] action create (up to date)
  * jenkins_job[scala-2.11.x-validate-publish-core] action create
    - Update jenkins_job[scala-2.11.x-validate-publish-core] config
  * template[/var/chef/cache/scala-2.11.x-validate-test.xml] action create (up to date)
  * jenkins_job[scala-2.11.x-validate-test] action create
    - Update jenkins_job[scala-2.11.x-validate-test] config
  * template[/var/chef/cache/scala-2.12.x-integrate-bootstrap.xml] action create (up to date)
  * jenkins_job[scala-2.12.x-integrate-bootstrap] action create
    - Update jenkins_job[scala-2.12.x-integrate-bootstrap] config
  * template[/var/chef/cache/scala-2.12.x-integrate-ide.xml] action create (up to date)
  * jenkins_job[scala-2.12.x-integrate-ide] action create
    - Update jenkins_job[scala-2.12.x-integrate-ide] config
  * template[/var/chef/cache/scala-2.12.x-integrate-main.xml] action create (up to date)
  * jenkins_job[scala-2.12.x-integrate-main] action create (up to date)
  * template[/var/chef/cache/scala-2.12.x-release-main.xml] action create (up to date)
  * jenkins_job[scala-2.12.x-release-main] action create (up to date)
  * template[/var/chef/cache/scala-2.12.x-release-package-unix.xml] action create (up to date)
  * jenkins_job[scala-2.12.x-release-package-unix] action create
    - Update jenkins_job[scala-2.12.x-release-package-unix] config
  * template[/var/chef/cache/scala-2.12.x-release-package-windows.xml] action create (up to date)
  * jenkins_job[scala-2.12.x-release-package-windows] action create
    - Update jenkins_job[scala-2.12.x-release-package-windows] config
  * template[/var/chef/cache/scala-2.12.x-release-smoketest.xml] action create (up to date)
  * jenkins_job[scala-2.12.x-release-smoketest] action create
    - Update jenkins_job[scala-2.12.x-release-smoketest] config
  * template[/var/chef/cache/scala-2.12.x-release-website-archives.xml] action create (up to date)
  * jenkins_job[scala-2.12.x-release-website-archives] action create
    - Update jenkins_job[scala-2.12.x-release-website-archives] config
  * template[/var/chef/cache/scala-2.12.x-release-website-update-api.xml] action create (up to date)
  * jenkins_job[scala-2.12.x-release-website-update-api] action create
    - Update jenkins_job[scala-2.12.x-release-website-update-api] config
  * template[/var/chef/cache/scala-2.12.x-validate-main.xml] action create (up to date)
  * jenkins_job[scala-2.12.x-validate-main] action create (up to date)
  * template[/var/chef/cache/scala-2.12.x-validate-publish-core.xml] action create
    - update content in file /var/chef/cache/scala-2.12.x-validate-publish-core.xml from 0dd953 to 2787b8
--- /var/chef/cache/scala-2.12.x-validate-publish-core.xml  2015-05-21 22:57:36.892294247 +0000
+++ /tmp/chef-rendered-template20150526-18377-15ub3h    2015-05-26 18:04:44.128328382 +0000
@@ -59,7 +59,7 @@
 <hudson.model.StringParameterDefinition>
   <name>jvmVersion</name>
   <description>Java version to use (6/7/8).</description>
-  <defaultValue>6</defaultValue>
+  <defaultValue>8</defaultValue>
 </hudson.model.StringParameterDefinition>
           </parameterDefinitions>
         </hudson.model.ParametersDefinitionProperty>
  * jenkins_job[scala-2.12.x-validate-publish-core] action create
    - Update jenkins_job[scala-2.12.x-validate-publish-core] config
  * template[/var/chef/cache/scala-2.12.x-validate-test.xml] action create
    - update content in file /var/chef/cache/scala-2.12.x-validate-test.xml from 7163c7 to 1efd23
--- /var/chef/cache/scala-2.12.x-validate-test.xml  2015-05-21 22:57:41.272208724 +0000
+++ /tmp/chef-rendered-template20150526-18377-dpb48d    2015-05-26 18:04:46.956274144 +0000
@@ -65,7 +65,7 @@
 <hudson.model.StringParameterDefinition>
   <name>jvmVersion</name>
   <description>Java version to use (6/7/8).</description>
-  <defaultValue>6</defaultValue>
+  <defaultValue>8</defaultValue>
 </hudson.model.StringParameterDefinition>
           </parameterDefinitions>
         </hudson.model.ParametersDefinitionProperty>
  * jenkins_job[scala-2.12.x-validate-test] action create
    - Update jenkins_job[scala-2.12.x-validate-test] config
  * template[/var/chef/cache/dotty-master-validate-junit.xml] action create (up to date)
  * jenkins_job[dotty-master-validate-junit] action create
    - Update jenkins_job[dotty-master-validate-junit] config
  * template[/var/chef/cache/dotty-master-validate-main.xml] action create (up to date)
  * jenkins_job[dotty-master-validate-main] action create
    - Update jenkins_job[dotty-master-validate-main] config
  * template[/var/chef/cache/dotty-master-validate-partest.xml] action create (up to date)
  * jenkins_job[dotty-master-validate-partest] action create
    - Update jenkins_job[dotty-master-validate-partest] config
  * template[/var/chef/cache/dotty-master-validate-scalastyle.xml] action create (up to date)
  * jenkins_job[dotty-master-validate-scalastyle] action create
    - Update jenkins_job[dotty-master-validate-scalastyle] config
Recipe: scala-jenkins-infra::_master-jenkins-workers
  * ruby_block[set private key] action run
    - execute the ruby block set private key
  * jenkins_private_key_credentials[jenkins] action create (up to date)
  * jenkins_ssh_slave[jenkins-worker-behemoth-2] action create
    - Create jenkins_ssh_slave[jenkins-worker-behemoth-2]
  * jenkins_ssh_slave[jenkins-worker-behemoth-1] action create
    - Create jenkins_ssh_slave[jenkins-worker-behemoth-1]
  * jenkins_ssh_slave[jenkins-worker-windows-publish] action create
    - Create jenkins_ssh_slave[jenkins-worker-windows-publish]
  * jenkins_ssh_slave[jenkins-worker-ubuntu-publish] action create
    - Create jenkins_ssh_slave[jenkins-worker-ubuntu-publish]

Running handlers:
Running handlers complete
Chef Client finished, 39/198 resources updated in 239.466038497 seconds
[root@ip-172-31-3-245 ~]# 
adriaanm commented 9 years ago

To manually retry publish-core on a worker:

$ ssh jenkins-worker-behemoth-1
$ sudo su jenkins
$ cd ~/workspace/scala-2.12.x-validate-publish-core
$ . /usr/local/share/jvm/jvm-select 
$ jvmSelect openjdk 8
$ export WORKSPACE=$(pwd)
$ ant -v '-Dmaven.version.suffix="-b6f91df-SNAPSHOT"' -Dremote.snapshot.repository=https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots/ -Drepository.credentials.id=pr-scala -Dremote.release.repository=noyoudont init