Created
October 5, 2017 17:24
-
-
Save atheiman/2cb415b99b0d01a22c8c14790077eee2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby_build $ KITCHEN_LOCAL_YAML=.kitchen.dokken.yml bundle exec kitchen test default-centos-6 | |
-----> Starting Kitchen (v1.17.0) | |
-----> Cleaning up any prior instances of <default-centos-6> | |
-----> Destroying <default-centos-6>... | |
Deleting kitchen sandbox at /Users/austinheiman/.dokken/kitchen_sandbox/8db929f748-default-centos-6 | |
Deleting verifier sandbox at /Users/austinheiman/.dokken/verifier_sandbox/8db929f748-default-centos-6 | |
Finished destroying <default-centos-6> (0m0.03s). | |
-----> Testing <default-centos-6> | |
-----> Creating <default-centos-6>... | |
Creating kitchen sandbox at /Users/austinheiman/.dokken/kitchen_sandbox/8db929f748-default-centos-6 | |
Creating verifier sandbox at /Users/austinheiman/.dokken/verifier_sandbox/8db929f748-default-centos-6 | |
Building work image.. | |
Creating container 8db929f748-default-centos-6 | |
Finished creating <default-centos-6> (0m15.02s). | |
-----> Converging <default-centos-6>... | |
Creating kitchen sandbox in /Users/austinheiman/.dokken/kitchen_sandbox/8db929f748-default-centos-6 | |
Preparing dna.json | |
Resolving cookbook dependencies with Berkshelf 6.3.1... | |
Removing non-cookbook files before transfer | |
Preparing validation.pem | |
Preparing client.rb | |
Starting Chef Client, version 13.4.30 | |
Creating a new client identity for default-centos-6 using the validator key. | |
resolving cookbooks for run list: ["test"] | |
Synchronizing Cookbooks: | |
- test (1.0.0) | |
- java (1.50.0) | |
- ruby_build (1.1.0) | |
- apt (6.1.4) | |
- windows (3.1.3) | |
- homebrew (4.2.0) | |
- yum-epel (2.1.2) | |
- git (8.0.0) | |
- ohai (5.2.0) | |
- compat_resource (12.19.0) | |
- build-essential (8.0.3) | |
- seven_zip (2.0.2) | |
- mingw (2.0.1) | |
Installing Cookbook Gems: | |
Compiling Cookbooks... | |
Converging 15 resources | |
Recipe: test::default | |
* apt_update[update] action periodic (up to date) | |
Recipe: java::notify | |
* log[jdk-version-changed] action nothing (skipped due to action :nothing) | |
Recipe: java::openjdk | |
* yum_package[java-1.7.0-openjdk] action install | |
- install version 1.7.0.151-2.6.11.0.el6_9 of package java-1.7.0-openjdk | |
Recipe: java::notify | |
* log[jdk-version-changed] action write | |
Recipe: java::openjdk | |
* yum_package[java-1.7.0-openjdk-devel] action install | |
- install version 1.7.0.151-2.6.11.0.el6_9 of package java-1.7.0-openjdk-devel | |
Recipe: java::notify | |
* log[jdk-version-changed] action write | |
Recipe: java::openjdk | |
* java_alternatives[set-java-alternatives] action set | |
- Add alternative for appletviewer | |
- Add alternative for apt | |
- Add alternative for extcheck | |
- Add alternative for idlj | |
- Add alternative for jar | |
- Add alternative for jarsigner | |
- Add alternative for java | |
- Add alternative for javac | |
- Add alternative for javadoc | |
- Add alternative for javah | |
- Add alternative for javap | |
- Add alternative for jcmd | |
- Add alternative for jconsole | |
- Add alternative for jdb | |
- Add alternative for jhat | |
- Add alternative for jinfo | |
- Add alternative for jmap | |
- Add alternative for jps | |
- Add alternative for jrunscript | |
- Add alternative for jsadebugd | |
- Add alternative for jstack | |
- Add alternative for jstat | |
- Add alternative for jstatd | |
- Add alternative for keytool | |
- Add alternative for native2ascii | |
- Add alternative for orbd | |
- Add alternative for pack200 | |
- Add alternative for policytool | |
- Add alternative for rmic | |
- Add alternative for rmid | |
- Add alternative for rmiregistry | |
- Add alternative for schemagen | |
- Add alternative for serialver | |
- Add alternative for servertool | |
- Add alternative for tnameserv | |
- Add alternative for unpack200 | |
- Add alternative for wsgen | |
- Add alternative for wsimport | |
- Add alternative for xjc | |
Recipe: java::set_java_home | |
* directory[/etc/profile.d] action create (up to date) | |
* template[/etc/profile.d/jdk.sh] action create | |
- create new file /etc/profile.d/jdk.sh | |
- update content in file /etc/profile.d/jdk.sh from none to 84a6f9 | |
--- /etc/profile.d/jdk.sh 2017-10-05 17:12:37.556682221 +0000 | |
+++ /etc/profile.d/.chef-jdk20171005-530-3se69p.sh 2017-10-05 17:12:37.556682221 +0000 | |
@@ -1 +1,2 @@ | |
+export JAVA_HOME=/usr/lib/jvm/java-1.7.0 | |
- change mode from '' to '0755' | |
Recipe: yum-epel::default | |
* yum_repository[epel] action create | |
* template[/etc/yum.repos.d/epel.repo] action create | |
- create new file /etc/yum.repos.d/epel.repo | |
- update content in file /etc/yum.repos.d/epel.repo from none to 6f0d2a | |
--- /etc/yum.repos.d/epel.repo 2017-10-05 17:12:37.586646708 +0000 | |
+++ /etc/yum.repos.d/.chef-epel20171005-530-desi14.repo 2017-10-05 17:12:37.586646708 +0000 | |
@@ -1 +1,12 @@ | |
+# This file was generated by Chef | |
+# Do NOT modify this file by hand. | |
+ | |
+[epel] | |
+name=Extra Packages for 6 - $basearch | |
+enabled=1 | |
+failovermethod=priority | |
+fastestmirror_enabled=0 | |
+gpgcheck=1 | |
+gpgkey=https://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6 | |
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch | |
- change mode from '' to '0644' | |
* execute[yum clean metadata epel] action run | |
- execute yum clean metadata --disablerepo=* --enablerepo=epel | |
* execute[yum-makecache-epel] action run | |
- execute yum -q -y makecache --disablerepo=* --enablerepo=epel | |
* ruby_block[yum-cache-reload-epel] action create | |
- execute the ruby block yum-cache-reload-epel | |
* execute[yum clean metadata epel] action nothing (skipped due to action :nothing) | |
* execute[yum-makecache-epel] action nothing (skipped due to action :nothing) | |
* ruby_block[yum-cache-reload-epel] action nothing (skipped due to action :nothing) | |
Recipe: git::package | |
* git_client[default] action install | |
* yum_package[default :create git] action install | |
- install version 1.7.1-9.el6_9 of package git | |
Recipe: ruby_build::default | |
* yum_package[tar, bash, curl] action install (up to date) | |
* execute[Install ruby-build] action nothing (skipped due to action :nothing) | |
* directory[/opt/kitchen/cache] action create (up to date) | |
* git[/opt/kitchen/cache/ruby-build] action checkout | |
- clone from https://github.com/rbenv/ruby-build.git into /opt/kitchen/cache/ruby-build | |
- checkout ref e40cd1f73b8859a4c7b3111641d0a16eb9f63436 branch master | |
* execute[Install ruby-build] action run | |
- execute ./install.sh | |
Recipe: test::default | |
* ruby_build_ruby[2.4.2] action install | |
* yum_package[gcc-c++, patch, readline-devel, zlib-devel, libffi-devel, openssl-devel, libyaml-devel, make, bzip2, autoconf, automake, libtool, bison, libxml2, libxml2-devel, libxslt, libxslt-devel, gdbm-devel] action install | |
- install version 4.4.7-18.el6 of package gcc-c++ | |
- install version 2.6-6.el6 of package patch | |
- install version 6.0-4.el6 of package readline-devel | |
- install version 1.2.3-29.el6 of package zlib-devel | |
- install version 3.0.5-3.2.el6 of package libffi-devel | |
- install version 1.0.1e-57.el6 of package openssl-devel | |
- install version 0.1.3-4.el6_6 of package libyaml-devel | |
- install version 2.63-5.1.el6 of package autoconf | |
- install version 1.11.1-4.el6 of package automake | |
- install version 2.2.6-15.5.el6 of package libtool | |
- install version 2.4.1-5.el6 of package bison | |
- install version 2.7.6-21.el6_8.1 of package libxml2-devel | |
- install version 1.1.26-2.el6_3.1 of package libxslt | |
- install version 1.1.26-2.el6_3.1 of package libxslt-devel | |
- install version 1.8.0-39.el6 of package gdbm-devel | |
* execute[ruby-build[2.4.2]] action run | |
- execute /usr/local/bin/ruby-build "2.4.2" "/usr/local/ruby/2.4.2" | |
* yum_package[gcc-c++, patch, readline-devel, zlib-devel, libffi-devel, openssl-devel, libyaml-devel, make, bzip2, autoconf, automake, libtool, bison, libxml2, libxml2-devel, libxslt, libxslt-devel, gdbm-devel] action nothing (skipped due to action :nothing) | |
* execute[ruby-build[2.4.2]] action nothing (skipped due to action :nothing) | |
* ruby_build_ruby[jruby-9.1.13.0] action install | |
* yum_package[] action install (up to date) | |
* execute[ruby-build[jruby-9.1.13.0]] action run | |
- execute /usr/local/bin/ruby-build "jruby-9.1.13.0" "/usr/local/ruby/jruby-9.1.13.0" | |
* yum_package[] action nothing (skipped due to action :nothing) | |
* execute[ruby-build[jruby-9.1.13.0]] action nothing (skipped due to action :nothing) | |
Running handlers: | |
Running handlers complete | |
Chef Client finished, 20/34 resources updated in 05 minutes 01 seconds | |
Finished converging <default-centos-6> (5m7.74s). | |
-----> Setting up <default-centos-6>... | |
Finished setting up <default-centos-6> (0m0.00s). | |
-----> Verifying <default-centos-6>... | |
Detected alternative framework tests for `inspec` | |
Loaded tests from {:path=>"/Users/austinheiman/code/github.com/atheiman/ruby_build/test/integration/default/inspec"} | |
Profile: tests from {:path=>"/Users/austinheiman/code/github.com/atheiman/ruby_build/test/integration/default/inspec"} | |
Version: (not specified) | |
Target: docker://6b00052b1035f73b390a925fc8856a0e0638290ec08f974bca7382ece288dc34 | |
Directory /usr/local/ruby/2.4.2 | |
✔ should be directory | |
Command /usr/local/ruby/2.4.2/bin/gem | |
✔ install ffi --no-document exit_status should eq 0 | |
Command /usr/local/ruby/2.4.2/bin/ruby | |
✔ -r net/http -e 'Net::HTTP.get(URI("https://letsencrypt.org"))' exit_status should eq 0 | |
Directory /usr/local/ruby/jruby-9.1.13.0 | |
✔ should be directory | |
Command /usr/local/ruby/jruby-9.1.13.0/bin/gem | |
✔ install ffi --no-document exit_status should eq 0 | |
Command /usr/local/ruby/jruby-9.1.13.0/bin/ruby | |
✔ -r net/http -e 'Net::HTTP.get(URI("https://letsencrypt.org"))' exit_status should eq 0 | |
File /usr/local/bin/ruby-build | |
✔ should be file | |
✔ should be executable | |
Command /usr/local/bin/ruby-build | |
✔ --definitions exit_status should eq 0 | |
Test Summary: 9 successful, 0 failures, 0 skipped | |
Finished verifying <default-centos-6> (0m24.19s). | |
-----> Destroying <default-centos-6>... | |
Deleting kitchen sandbox at /Users/austinheiman/.dokken/kitchen_sandbox/8db929f748-default-centos-6 | |
Deleting verifier sandbox at /Users/austinheiman/.dokken/verifier_sandbox/8db929f748-default-centos-6 | |
Finished destroying <default-centos-6> (0m11.25s). | |
Finished testing <default-centos-6> (5m58.27s). | |
-----> Kitchen is finished. (6m0.18s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment