sous-chefs / packagecloud

Development repository for the packagecloud cookbook
https://supermarket.chef.io/cookbooks/packagecloud
Apache License 2.0
17 stars 48 forks source link

repomd.xml signature could not be verified #50

Closed HarryWeppner closed 1 year ago

HarryWeppner commented 7 years ago

Problem

When trying to converge the run list with recipe[runit::default] on an Amazon Linux ec2 instance, I am encountering an issue related to verifying the repo signature (with repo_gpgcheck = 1).

[2016-12-21T16:45:43+00:00] DEBUG: Mixlib::ShellOut::ShellCommandFailed: packagecloud_repo[imeyer/runit] (runit::default line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[yum-makecache-imeyer_runit] (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 124) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
       ---- Begin output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       STDOUT: 
       STDERR: Importing GPG key 0xD59097AB:
        Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
        Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
        From       : https://packagecloud.io/imeyer/runit/gpgkey
       https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
       Trying other mirror.

Investigation

This error gets output when one of the paths in yum.misc.valid_detached_sig results in False:

def valid_detached_sig(sig_file, signed_file, gpghome=None):
    """takes signature , file that was signed and an optional gpghomedir"""

    if gpgme is None:
        return False

    if gpghome:
        if not os.path.exists(gpghome):
            return False
        os.environ['GNUPGHOME'] = gpghome

    if hasattr(sig_file, 'read'):
        sig = sig_file
    else:
        sig = open(sig_file, 'r')
    if hasattr(signed_file, 'read'):
        signed_text = signed_file
    else:
        signed_text = open(signed_file, 'r')
    plaintext = None
    ctx = gpgme.Context()

    try:
        sigs = ctx.verify(sig, signed_text, plaintext)
    except gpgme.GpgmeError, e:
        return False
    else:
        if not sigs:
            return False
        # is there ever a case where we care about a sig beyond the first one?
        thissig = sigs[0]
        if not thissig:
            return False

        if thissig.validity in (gpgme.VALIDITY_FULL, gpgme.VALIDITY_MARGINAL,
                                gpgme.VALIDITY_ULTIMATE):
            return True

    return False

When attempting to minimize the problem, the function appears to succeed, i.e. the script below yields True.

#!/usr/bin/env python
from yum.misc import valid_detached_sig

valid_detached_sig('/var/cache/yum/x86_64/latest/imeyer_runit/repomd.xml.asc','/var/cache/yum/x86_64/latest/imeyer_runit/repomd.xml','/var/lib/yum/repos/x86_64/latest/imeyer_runit/gpgdir')

Environment

$ sudo cat /etc/os-release 
NAME="Amazon Linux AMI"
VERSION="2016.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2016.09"
PRETTY_NAME="Amazon Linux AMI 2016.09"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2016.09:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"

Chef Debug Log

       [2016-12-21T16:45:40+00:00] DEBUG: pygpgme: Unable to match package 'pygpgme' but matched 1 package, selected 'python26-pygpgme' version '0.3-9.12.amzn1'
       [2016-12-21T16:45:40+00:00] DEBUG: yum_package[pygpgme] checking yum info for python26-pygpgme
       [2016-12-21T16:45:40+00:00] DEBUG: yum_package[pygpgme] installed version: [nil] candidate version: 0.3-9.12.amzn1
       [2016-12-21T16:45:40+00:00] DEBUG: yum_package[pygpgme] python26-pygpgme not installed, installing 0.3-9.12.amzn1
       [2016-12-21T16:45:40+00:00] INFO: yum_package[pygpgme] installing python26-pygpgme-0.3-9.12.amzn1 from amzn-main repository
       [2016-12-21T16:45:40+00:00] DEBUG: yum_package[pygpgme]: yum command: "yum -d0 -e0 -y install python26-pygpgme-0.3-9.12.amzn1"
       [2016-12-21T16:45:42+00:00] INFO: yum_package[pygpgme] installed python26-pygpgme at 0.3-9.12.amzn1

             - install version 0.3-9.12.amzn1 of package python26-pygpgme
           * log[pygpgme_warning] action write[2016-12-21T16:45:42+00:00] INFO: Processing log[pygpgme_warning] action write (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 88)
        (skipped due to not_if)
       [2016-12-21T16:45:42+00:00] DEBUG: Skipping log[pygpgme_warning] due to not_if command `rpm -qa | grep -qw pygpgme`
           * ruby_block[disable repo_gpgcheck if no pygpgme] action run[2016-12-21T16:45:42+00:00] INFO: Processing ruby_block[disable repo_gpgcheck if no pygpgme] action run (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 97)
        (skipped due to not_if)
       [2016-12-21T16:45:43+00:00] DEBUG: Skipping ruby_block[disable repo_gpgcheck if no pygpgme] due to not_if command `rpm -qa | grep -qw pygpgme`
           * template[/etc/yum.repos.d/imeyer_runit.repo] action create[2016-12-21T16:45:43+00:00] INFO: Processing template[/etc/yum.repos.d/imeyer_runit.repo] action create (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 107)
       [2016-12-21T16:45:43+00:00] DEBUG: Providers for generic template resource enabled on node include: [Chef::Provider::Template]
       [2016-12-21T16:45:43+00:00] DEBUG: Provider for action create on resource template[/etc/yum.repos.d/imeyer_runit.repo] is Chef::Provider::Template
       [2016-12-21T16:45:43+00:00] DEBUG: Not fetching cookbooks/packagecloud/templates/default/yum.erb, as the cache is up to date.
       [2016-12-21T16:45:43+00:00] DEBUG: Current checksum: 1efbb26f25cdd4ed47a35e7091b4c351; manifest checksum: 1efbb26f25cdd4ed47a35e7091b4c351)
       [2016-12-21T16:45:43+00:00] DEBUG: Touching /etc/yum.repos.d/imeyer_runit.repo to create it
       [2016-12-21T16:45:43+00:00] INFO: template[/etc/yum.repos.d/imeyer_runit.repo] created file /etc/yum.repos.d/imeyer_runit.repo

             - create new file /etc/yum.repos.d/imeyer_runit.repo[2016-12-21T16:45:43+00:00] DEBUG: calculating checksum of /etc/yum.repos.d/.chef-imeyer_runit20161221-2830-1v0eql6.repo to compare with 
       [2016-12-21T16:45:43+00:00] DEBUG: Running: diff -u /etc/yum.repos.d/imeyer_runit.repo /etc/yum.repos.d/.chef-imeyer_runit20161221-2830-1v0eql6.repo
       [2016-12-21T16:45:43+00:00] DEBUG: Reading modes from /etc/yum.repos.d/imeyer_runit.repo file
       [2016-12-21T16:45:43+00:00] DEBUG: Applying mode = 644, uid = 0, gid = 0 to /etc/yum.repos.d/.chef-imeyer_runit20161221-2830-1v0eql6.repo
       [2016-12-21T16:45:43+00:00] DEBUG: Moving temporary file /etc/yum.repos.d/.chef-imeyer_runit20161221-2830-1v0eql6.repo into place at /etc/yum.repos.d/imeyer_runit.repo
       [2016-12-21T16:45:43+00:00] INFO: template[/etc/yum.repos.d/imeyer_runit.repo] updated file contents /etc/yum.repos.d/imeyer_runit.repo

             - update content in file /etc/yum.repos.d/imeyer_runit.repo from none to c89480
             --- /etc/yum.repos.d/imeyer_runit.repo 2016-12-21 16:45:43.013823000 +0000
             +++ /etc/yum.repos.d/.chef-imeyer_runit20161221-2830-1v0eql6.repo  2016-12-21 16:45:43.009823000 +0000
             @@ -1 +1,11 @@
             +[imeyer_runit]
             +name=imeyer_runit
             +baseurl=https://packagecloud.io/imeyer/runit/el/6/$basearch
             +repo_gpgcheck=1
             +gpgcheck=0
             +enabled=1
             +gpgkey=https://packagecloud.io/imeyer/runit/gpgkey
             +sslverify=1
             +sslcacert=/etc/pki/tls/certs/ca-bundle.crt
             +metadata_expire=300[2016-12-21T16:45:43+00:00] DEBUG: Found current_mode == nil, so we are creating a new file, updating mode
       [2016-12-21T16:45:43+00:00] DEBUG: Found current_mode == nil, so we are creating a new file, updating mode
       [2016-12-21T16:45:43+00:00] DEBUG: Found target_uid == nil, so no owner was specified on resource, not managing owner
       [2016-12-21T16:45:43+00:00] DEBUG: Found target_gid == nil, so no group was specified on resource, not managing group
       [2016-12-21T16:45:43+00:00] DEBUG: Found target_uid == nil, so no owner was specified on resource, not managing owner
       [2016-12-21T16:45:43+00:00] DEBUG: Found target_gid == nil, so no group was specified on resource, not managing group
       [2016-12-21T16:45:43+00:00] DEBUG: Found current_mode == nil, so we are creating a new file, updating mode
       [2016-12-21T16:45:43+00:00] INFO: template[/etc/yum.repos.d/imeyer_runit.repo] mode changed to 644

             - change mode from '' to '0644'[2016-12-21T16:45:43+00:00] DEBUG: selinux utilities can not be found. Skipping selinux permission fixup.

       [2016-12-21T16:45:43+00:00] INFO: template[/etc/yum.repos.d/imeyer_runit.repo] sending run action to execute[yum-makecache-imeyer_runit] (immediate)
           * execute[yum-makecache-imeyer_runit] action run[2016-12-21T16:45:43+00:00] INFO: Processing execute[yum-makecache-imeyer_runit] action run (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 124)
       [2016-12-21T16:45:43+00:00] DEBUG: Providers for generic execute resource enabled on node include: [Chef::Provider::Execute]
       [2016-12-21T16:45:43+00:00] DEBUG: Provider for action run on resource execute[yum-makecache-imeyer_runit] is Chef::Provider::Execute

             [execute] Importing GPG key 0xD59097AB:
                 Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
                 Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
                 From       : https://packagecloud.io/imeyer/runit/gpgkey
                https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
                Trying other mirror.

                 One of the configured repositories failed (imeyer_runit),
                 and yum doesn't have enough cached data to continue. At this point the only
                 safe thing yum can do is fail. There are a few ways to work "fix" this:

                     1. Contact the upstream for the repository and get them to fix the problem.

                     2. Reconfigure the baseurl/etc. for the repository, to point to a working
                        upstream. This is most often useful if you are using a newer
                        distribution release than is supported by the repository (and the
                        packages for the previous distribution release still work).

                     3. Disable the repository, so yum won't use it by default. Yum will then
                        just ignore the repository until you permanently enable it again or use
                        --enablerepo for temporary usage:

                            yum-config-manager --disable imeyer_runit

                     4. Configure the failing repository to be skipped, if it is unavailable.
                        Note that yum will try to contact the repo. when it runs most commands,
                        so will have to try and fail each time (and thus. yum will be be much
                        slower). If it is a very temporary problem though, this is often a nice
                        compromise:

                            yum-config-manager --save --setopt=imeyer_runit.skip_if_unavailable=true

                failure: repodata/repomd.xml from imeyer_runit: [Errno 256] No more mirrors to try.

             ================================================================================
             Error executing action `run` on resource 'execute[yum-makecache-imeyer_runit]'
             ================================================================================

             Mixlib::ShellOut::ShellCommandFailed
             ------------------------------------
             Expected process to exit with [0], but received '1'
             ---- Begin output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
             STDOUT: 
             STDERR: Importing GPG key 0xD59097AB:
       Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
       Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
       From       : https://packagecloud.io/imeyer/runit/gpgkey
             https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
             Trying other mirror.

       One of the configured repositories failed (imeyer_runit),
       and yum doesn't have enough cached data to continue. At this point the only
       safe thing yum can do is fail. There are a few ways to work "fix" this:

           1. Contact the upstream for the repository and get them to fix the problem.

           2. Reconfigure the baseurl/etc. for the repository, to point to a working
              upstream. This is most often useful if you are using a newer
              distribution release than is supported by the repository (and the
              packages for the previous distribution release still work).

           3. Disable the repository, so yum won't use it by default. Yum will then
              just ignore the repository until you permanently enable it again or use
              --enablerepo for temporary usage:

                  yum-config-manager --disable imeyer_runit

           4. Configure the failing repository to be skipped, if it is unavailable.
              Note that yum will try to contact the repo. when it runs most commands,
              so will have to try and fail each time (and thus. yum will be be much
              slower). If it is a very temporary problem though, this is often a nice
              compromise:

                  yum-config-manager --save --setopt=imeyer_runit.skip_if_unavailable=true

             failure: repodata/repomd.xml from imeyer_runit: [Errno 256] No more mirrors to try.
             ---- End output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
             Ran yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit returned 1

             Resource Declaration:
             ---------------------
             # In /tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb

             124:   execute "yum-makecache-#{filename}" do
             125:     command "yum -q makecache -y --disablerepo=* --enablerepo=#{filename}"
             126:     action :nothing
             127:   end
             128: 

             Compiled Resource:
             ------------------
             # Declared in /tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb:124:in `install_rpm'

             execute("yum-makecache-imeyer_runit") do
        action [:nothing]
        retries 0
        retry_delay 2
        default_guard_interpreter :execute
        command "yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit"
        backup 5
        returns 0
        declared_type :execute
        cookbook_name "runit"
             end

             Platform:
             ---------
             x86_64-linux

       [2016-12-21T16:45:43+00:00] INFO: Running queued delayed notifications before re-raising exception

           ================================================================================
           Error executing action `add` on resource 'packagecloud_repo[imeyer/runit]'
           ================================================================================

           Mixlib::ShellOut::ShellCommandFailed
           ------------------------------------
           execute[yum-makecache-imeyer_runit] (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 124) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
           ---- Begin output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
           STDOUT: 
           STDERR: Importing GPG key 0xD59097AB:
            Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
            Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
            From       : https://packagecloud.io/imeyer/runit/gpgkey
           https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
           Trying other mirror.

            One of the configured repositories failed (imeyer_runit),
            and yum doesn't have enough cached data to continue. At this point the only
            safe thing yum can do is fail. There are a few ways to work "fix" this:

         1. Contact the upstream for the repository and get them to fix the problem.

         2. Reconfigure the baseurl/etc. for the repository, to point to a working
            upstream. This is most often useful if you are using a newer
            distribution release than is supported by the repository (and the
            packages for the previous distribution release still work).

         3. Disable the repository, so yum won't use it by default. Yum will then
            just ignore the repository until you permanently enable it again or use
            --enablerepo for temporary usage:

                yum-config-manager --disable imeyer_runit

         4. Configure the failing repository to be skipped, if it is unavailable.
            Note that yum will try to contact the repo. when it runs most commands,
            so will have to try and fail each time (and thus. yum will be be much
            slower). If it is a very temporary problem though, this is often a nice
            compromise:

                yum-config-manager --save --setopt=imeyer_runit.skip_if_unavailable=true

           failure: repodata/repomd.xml from imeyer_runit: [Errno 256] No more mirrors to try.
           ---- End output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
           Ran yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit returned 1

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/runit/recipes/default.rb

            36:     packagecloud_repo 'imeyer/runit' do
            37:       force_os 'rhel' if node['platform'].eql?('oracle')
            38:     end
            39:   end

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/runit/recipes/default.rb:36:in `from_file'

           packagecloud_repo("imeyer/runit") do
             action [:add]
             updated true
             updated_by_last_action true
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             declared_type :packagecloud_repo
             cookbook_name "runit"
             recipe_name "default"
             type "rpm"
             base_url "https://packagecloud.io"
             repository "imeyer/runit"
             metadata_expire "300"
           end

           Platform:
           ---------
           x86_64-linux

       [2016-12-21T16:45:43+00:00] INFO: Running queued delayed notifications before re-raising exception
       [2016-12-21T16:45:43+00:00] DEBUG: Re-raising exception: Mixlib::ShellOut::ShellCommandFailed - packagecloud_repo[imeyer/runit] (runit::default line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[yum-makecache-imeyer_runit] (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 124) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
       ---- Begin output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       STDOUT: 
       STDERR: Importing GPG key 0xD59097AB:
        Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
        Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
        From       : https://packagecloud.io/imeyer/runit/gpgkey
       https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
       Trying other mirror.

        One of the configured repositories failed (imeyer_runit),
        and yum doesn't have enough cached data to continue. At this point the only
        safe thing yum can do is fail. There are a few ways to work "fix" this:

            1. Contact the upstream for the repository and get them to fix the problem.

            2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

            3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:

            yum-config-manager --disable imeyer_runit

            4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=imeyer_runit.skip_if_unavailable=true

       failure: repodata/repomd.xml from imeyer_runit: [Errno 256] No more mirrors to try.
       ---- End output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       Ran yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit returned 1
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:289:in `invalid!'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:276:in `error!'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/mixin/shell_out.rb:45:in `shell_out!'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider/execute.rb:62:in `block in action_run'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/mixin/why_run.rb:52:in `add_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:176:in `converge_by'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider/execute.rb:60:in `action_run'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:77:in `block in run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:75:in `each'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:75:in `run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:362:in `compile_and_converge_action'
         (eval):2:in `action_add'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:670:in `block in converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `catch'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:704:in `converge_and_save'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:284:in `run'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:294:in `block in fork_chef_client'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork_chef_client'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:247:in `block in run_chef_client'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/local_mode.rb:44:in `with_server_connectivity'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:235:in `run_chef_client'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:464:in `sleep_then_run_chef_client'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:451:in `block in interval_run_chef_client'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `loop'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `interval_run_chef_client'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:434:in `run_application'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:59:in `run'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/solo.rb:226:in `run'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/bin/chef-solo:25:in `<top (required)>'
         /opt/chef/bin/chef-solo:57:in `load'
         /opt/chef/bin/chef-solo:57:in `<main>'

       Running handlers:
       [2016-12-21T16:45:43+00:00] ERROR: Running exception handlers
       Running handlers complete
       [2016-12-21T16:45:43+00:00] ERROR: Exception handlers complete
       Chef Client failed. 2 resources updated in 10 seconds
       [2016-12-21T16:45:43+00:00] DEBUG: Server doesn't support resource history, skipping resource report.
       [2016-12-21T16:45:43+00:00] DEBUG: Audit Reports are disabled. Skipping sending reports.
       [2016-12-21T16:45:43+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       [2016-12-21T16:45:43+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
       [2016-12-21T16:45:43+00:00] DEBUG: Mixlib::ShellOut::ShellCommandFailed: packagecloud_repo[imeyer/runit] (runit::default line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[yum-makecache-imeyer_runit] (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 124) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
       ---- Begin output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       STDOUT: 
       STDERR: Importing GPG key 0xD59097AB:
        Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
        Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
        From       : https://packagecloud.io/imeyer/runit/gpgkey
       https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
       Trying other mirror.

        One of the configured repositories failed (imeyer_runit),
        and yum doesn't have enough cached data to continue. At this point the only
        safe thing yum can do is fail. There are a few ways to work "fix" this:

            1. Contact the upstream for the repository and get them to fix the problem.

            2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

            3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:

            yum-config-manager --disable imeyer_runit

            4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=imeyer_runit.skip_if_unavailable=true

       failure: repodata/repomd.xml from imeyer_runit: [Errno 256] No more mirrors to try.
       ---- End output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       Ran yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit returned 1
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:289:in `invalid!'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:276:in `error!'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/mixin/shell_out.rb:45:in `shell_out!'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider/execute.rb:62:in `block in action_run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/mixin/why_run.rb:52:in `add_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:176:in `converge_by'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider/execute.rb:60:in `action_run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:77:in `block in run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:75:in `each'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:75:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:362:in `compile_and_converge_action'
       (eval):2:in `action_add'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:670:in `block in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `catch'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:704:in `converge_and_save'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:284:in `run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:294:in `block in fork_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:247:in `block in run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/local_mode.rb:44:in `with_server_connectivity'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:235:in `run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:464:in `sleep_then_run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:451:in `block in interval_run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `loop'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `interval_run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:434:in `run_application'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:59:in `run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/solo.rb:226:in `run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/bin/chef-solo:25:in `<top (required)>'
       /opt/chef/bin/chef-solo:57:in `load'
       /opt/chef/bin/chef-solo:57:in `<main>'

       >>>> Caused by Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
       ---- Begin output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       STDOUT: 
       STDERR: Importing GPG key 0xD59097AB:
        Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
        Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
        From       : https://packagecloud.io/imeyer/runit/gpgkey
       https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
       Trying other mirror.

        One of the configured repositories failed (imeyer_runit),
        and yum doesn't have enough cached data to continue. At this point the only
        safe thing yum can do is fail. There are a few ways to work "fix" this:

            1. Contact the upstream for the repository and get them to fix the problem.

            2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

            3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:

            yum-config-manager --disable imeyer_runit

            4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=imeyer_runit.skip_if_unavailable=true

       failure: repodata/repomd.xml from imeyer_runit: [Errno 256] No more mirrors to try.
       ---- End output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       Ran yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit returned 1
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:289:in `invalid!'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:276:in `error!'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/mixin/shell_out.rb:45:in `shell_out!'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider/execute.rb:62:in `block in action_run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/mixin/why_run.rb:52:in `add_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:176:in `converge_by'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider/execute.rb:60:in `action_run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:77:in `block in run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:75:in `each'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:75:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:362:in `compile_and_converge_action'
       (eval):2:in `action_add'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:670:in `block in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `catch'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:704:in `converge_and_save'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:284:in `run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:294:in `block in fork_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:247:in `block in run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/local_mode.rb:44:in `with_server_connectivity'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:235:in `run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:464:in `sleep_then_run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:451:in `block in interval_run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `loop'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `interval_run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:434:in `run_application'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:59:in `run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/solo.rb:226:in `run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/bin/chef-solo:25:in `<top (required)>'
       /opt/chef/bin/chef-solo:57:in `load'
       /opt/chef/bin/chef-solo:57:in `<main>'
       [2016-12-21T16:45:43+00:00] ERROR: packagecloud_repo[imeyer/runit] (runit::default line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[yum-makecache-imeyer_runit] (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 124) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
       ---- Begin output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       STDOUT: 
       STDERR: Importing GPG key 0xD59097AB:
        Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
        Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
        From       : https://packagecloud.io/imeyer/runit/gpgkey
       https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
       Trying other mirror.

        One of the configured repositories failed (imeyer_runit),
        and yum doesn't have enough cached data to continue. At this point the only
        safe thing yum can do is fail. There are a few ways to work "fix" this:

            1. Contact the upstream for the repository and get them to fix the problem.

            2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

            3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:

            yum-config-manager --disable imeyer_runit

            4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=imeyer_runit.skip_if_unavailable=true

       failure: repodata/repomd.xml from imeyer_runit: [Errno 256] No more mirrors to try.
       ---- End output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       Ran yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit returned 1
       [2016-12-21T16:45:43+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>>     Converge failed on instance <default-amazon>.  Please see .kitchen/logs/default-amazon.log for more details
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
       [2016-12-21T16:45:40+00:00] DEBUG: pygpgme: Unable to match package 'pygpgme' but matched 1 package, selected 'python26-pygpgme' version '0.3-9.12.amzn1'
       [2016-12-21T16:45:40+00:00] DEBUG: yum_package[pygpgme] checking yum info for python26-pygpgme
       [2016-12-21T16:45:40+00:00] DEBUG: yum_package[pygpgme] installed version: [nil] candidate version: 0.3-9.12.amzn1
       [2016-12-21T16:45:40+00:00] DEBUG: yum_package[pygpgme] python26-pygpgme not installed, installing 0.3-9.12.amzn1
       [2016-12-21T16:45:40+00:00] INFO: yum_package[pygpgme] installing python26-pygpgme-0.3-9.12.amzn1 from amzn-main repository
       [2016-12-21T16:45:40+00:00] DEBUG: yum_package[pygpgme]: yum command: "yum -d0 -e0 -y install python26-pygpgme-0.3-9.12.amzn1"
       [2016-12-21T16:45:42+00:00] INFO: yum_package[pygpgme] installed python26-pygpgme at 0.3-9.12.amzn1

             - install version 0.3-9.12.amzn1 of package python26-pygpgme
           * log[pygpgme_warning] action write[2016-12-21T16:45:42+00:00] INFO: Processing log[pygpgme_warning] action write (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 88)
        (skipped due to not_if)
       [2016-12-21T16:45:42+00:00] DEBUG: Skipping log[pygpgme_warning] due to not_if command `rpm -qa | grep -qw pygpgme`
           * ruby_block[disable repo_gpgcheck if no pygpgme] action run[2016-12-21T16:45:42+00:00] INFO: Processing ruby_block[disable repo_gpgcheck if no pygpgme] action run (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 97)
        (skipped due to not_if)
       [2016-12-21T16:45:43+00:00] DEBUG: Skipping ruby_block[disable repo_gpgcheck if no pygpgme] due to not_if command `rpm -qa | grep -qw pygpgme`
           * template[/etc/yum.repos.d/imeyer_runit.repo] action create[2016-12-21T16:45:43+00:00] INFO: Processing template[/etc/yum.repos.d/imeyer_runit.repo] action create (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 107)
       [2016-12-21T16:45:43+00:00] DEBUG: Providers for generic template resource enabled on node include: [Chef::Provider::Template]
       [2016-12-21T16:45:43+00:00] DEBUG: Provider for action create on resource template[/etc/yum.repos.d/imeyer_runit.repo] is Chef::Provider::Template
       [2016-12-21T16:45:43+00:00] DEBUG: Not fetching cookbooks/packagecloud/templates/default/yum.erb, as the cache is up to date.
       [2016-12-21T16:45:43+00:00] DEBUG: Current checksum: 1efbb26f25cdd4ed47a35e7091b4c351; manifest checksum: 1efbb26f25cdd4ed47a35e7091b4c351)
       [2016-12-21T16:45:43+00:00] DEBUG: Touching /etc/yum.repos.d/imeyer_runit.repo to create it
       [2016-12-21T16:45:43+00:00] INFO: template[/etc/yum.repos.d/imeyer_runit.repo] created file /etc/yum.repos.d/imeyer_runit.repo

             - create new file /etc/yum.repos.d/imeyer_runit.repo[2016-12-21T16:45:43+00:00] DEBUG: calculating checksum of /etc/yum.repos.d/.chef-imeyer_runit20161221-2830-1v0eql6.repo to compare with 
       [2016-12-21T16:45:43+00:00] DEBUG: Running: diff -u /etc/yum.repos.d/imeyer_runit.repo /etc/yum.repos.d/.chef-imeyer_runit20161221-2830-1v0eql6.repo
       [2016-12-21T16:45:43+00:00] DEBUG: Reading modes from /etc/yum.repos.d/imeyer_runit.repo file
       [2016-12-21T16:45:43+00:00] DEBUG: Applying mode = 644, uid = 0, gid = 0 to /etc/yum.repos.d/.chef-imeyer_runit20161221-2830-1v0eql6.repo
       [2016-12-21T16:45:43+00:00] DEBUG: Moving temporary file /etc/yum.repos.d/.chef-imeyer_runit20161221-2830-1v0eql6.repo into place at /etc/yum.repos.d/imeyer_runit.repo
       [2016-12-21T16:45:43+00:00] INFO: template[/etc/yum.repos.d/imeyer_runit.repo] updated file contents /etc/yum.repos.d/imeyer_runit.repo

             - update content in file /etc/yum.repos.d/imeyer_runit.repo from none to c89480
             --- /etc/yum.repos.d/imeyer_runit.repo 2016-12-21 16:45:43.013823000 +0000
             +++ /etc/yum.repos.d/.chef-imeyer_runit20161221-2830-1v0eql6.repo  2016-12-21 16:45:43.009823000 +0000
             @@ -1 +1,11 @@
             +[imeyer_runit]
             +name=imeyer_runit
             +baseurl=https://packagecloud.io/imeyer/runit/el/6/$basearch
             +repo_gpgcheck=1
             +gpgcheck=0
             +enabled=1
             +gpgkey=https://packagecloud.io/imeyer/runit/gpgkey
             +sslverify=1
             +sslcacert=/etc/pki/tls/certs/ca-bundle.crt
             +metadata_expire=300[2016-12-21T16:45:43+00:00] DEBUG: Found current_mode == nil, so we are creating a new file, updating mode
       [2016-12-21T16:45:43+00:00] DEBUG: Found current_mode == nil, so we are creating a new file, updating mode
       [2016-12-21T16:45:43+00:00] DEBUG: Found target_uid == nil, so no owner was specified on resource, not managing owner
       [2016-12-21T16:45:43+00:00] DEBUG: Found target_gid == nil, so no group was specified on resource, not managing group
       [2016-12-21T16:45:43+00:00] DEBUG: Found target_uid == nil, so no owner was specified on resource, not managing owner
       [2016-12-21T16:45:43+00:00] DEBUG: Found target_gid == nil, so no group was specified on resource, not managing group
       [2016-12-21T16:45:43+00:00] DEBUG: Found current_mode == nil, so we are creating a new file, updating mode
       [2016-12-21T16:45:43+00:00] INFO: template[/etc/yum.repos.d/imeyer_runit.repo] mode changed to 644

             - change mode from '' to '0644'[2016-12-21T16:45:43+00:00] DEBUG: selinux utilities can not be found. Skipping selinux permission fixup.

       [2016-12-21T16:45:43+00:00] INFO: template[/etc/yum.repos.d/imeyer_runit.repo] sending run action to execute[yum-makecache-imeyer_runit] (immediate)
           * execute[yum-makecache-imeyer_runit] action run[2016-12-21T16:45:43+00:00] INFO: Processing execute[yum-makecache-imeyer_runit] action run (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 124)
       [2016-12-21T16:45:43+00:00] DEBUG: Providers for generic execute resource enabled on node include: [Chef::Provider::Execute]
       [2016-12-21T16:45:43+00:00] DEBUG: Provider for action run on resource execute[yum-makecache-imeyer_runit] is Chef::Provider::Execute

             [execute] Importing GPG key 0xD59097AB:
                 Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
                 Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
                 From       : https://packagecloud.io/imeyer/runit/gpgkey
                https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
                Trying other mirror.

                 One of the configured repositories failed (imeyer_runit),
                 and yum doesn't have enough cached data to continue. At this point the only
                 safe thing yum can do is fail. There are a few ways to work "fix" this:

                     1. Contact the upstream for the repository and get them to fix the problem.

                     2. Reconfigure the baseurl/etc. for the repository, to point to a working
                        upstream. This is most often useful if you are using a newer
                        distribution release than is supported by the repository (and the
                        packages for the previous distribution release still work).

                     3. Disable the repository, so yum won't use it by default. Yum will then
                        just ignore the repository until you permanently enable it again or use
                        --enablerepo for temporary usage:

                            yum-config-manager --disable imeyer_runit

                     4. Configure the failing repository to be skipped, if it is unavailable.
                        Note that yum will try to contact the repo. when it runs most commands,
                        so will have to try and fail each time (and thus. yum will be be much
                        slower). If it is a very temporary problem though, this is often a nice
                        compromise:

                            yum-config-manager --save --setopt=imeyer_runit.skip_if_unavailable=true

                failure: repodata/repomd.xml from imeyer_runit: [Errno 256] No more mirrors to try.

             ================================================================================
             Error executing action `run` on resource 'execute[yum-makecache-imeyer_runit]'
             ================================================================================

             Mixlib::ShellOut::ShellCommandFailed
             ------------------------------------
             Expected process to exit with [0], but received '1'
             ---- Begin output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
             STDOUT: 
             STDERR: Importing GPG key 0xD59097AB:
       Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
       Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
       From       : https://packagecloud.io/imeyer/runit/gpgkey
             https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
             Trying other mirror.

       One of the configured repositories failed (imeyer_runit),
       and yum doesn't have enough cached data to continue. At this point the only
       safe thing yum can do is fail. There are a few ways to work "fix" this:

           1. Contact the upstream for the repository and get them to fix the problem.

           2. Reconfigure the baseurl/etc. for the repository, to point to a working
              upstream. This is most often useful if you are using a newer
              distribution release than is supported by the repository (and the
              packages for the previous distribution release still work).

           3. Disable the repository, so yum won't use it by default. Yum will then
              just ignore the repository until you permanently enable it again or use
              --enablerepo for temporary usage:

                  yum-config-manager --disable imeyer_runit

           4. Configure the failing repository to be skipped, if it is unavailable.
              Note that yum will try to contact the repo. when it runs most commands,
              so will have to try and fail each time (and thus. yum will be be much
              slower). If it is a very temporary problem though, this is often a nice
              compromise:

                  yum-config-manager --save --setopt=imeyer_runit.skip_if_unavailable=true

             failure: repodata/repomd.xml from imeyer_runit: [Errno 256] No more mirrors to try.
             ---- End output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
             Ran yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit returned 1

             Resource Declaration:
             ---------------------
             # In /tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb

             124:   execute "yum-makecache-#{filename}" do
             125:     command "yum -q makecache -y --disablerepo=* --enablerepo=#{filename}"
             126:     action :nothing
             127:   end
             128: 

             Compiled Resource:
             ------------------
             # Declared in /tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb:124:in `install_rpm'

             execute("yum-makecache-imeyer_runit") do
        action [:nothing]
        retries 0
        retry_delay 2
        default_guard_interpreter :execute
        command "yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit"
        backup 5
        returns 0
        declared_type :execute
        cookbook_name "runit"
             end

             Platform:
             ---------
             x86_64-linux

       [2016-12-21T16:45:43+00:00] INFO: Running queued delayed notifications before re-raising exception

           ================================================================================
           Error executing action `add` on resource 'packagecloud_repo[imeyer/runit]'
           ================================================================================

           Mixlib::ShellOut::ShellCommandFailed
           ------------------------------------
           execute[yum-makecache-imeyer_runit] (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 124) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
           ---- Begin output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
           STDOUT: 
           STDERR: Importing GPG key 0xD59097AB:
            Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
            Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
            From       : https://packagecloud.io/imeyer/runit/gpgkey
           https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
           Trying other mirror.

            One of the configured repositories failed (imeyer_runit),
            and yum doesn't have enough cached data to continue. At this point the only
            safe thing yum can do is fail. There are a few ways to work "fix" this:

         1. Contact the upstream for the repository and get them to fix the problem.

         2. Reconfigure the baseurl/etc. for the repository, to point to a working
            upstream. This is most often useful if you are using a newer
            distribution release than is supported by the repository (and the
            packages for the previous distribution release still work).

         3. Disable the repository, so yum won't use it by default. Yum will then
            just ignore the repository until you permanently enable it again or use
            --enablerepo for temporary usage:

                yum-config-manager --disable imeyer_runit

         4. Configure the failing repository to be skipped, if it is unavailable.
            Note that yum will try to contact the repo. when it runs most commands,
            so will have to try and fail each time (and thus. yum will be be much
            slower). If it is a very temporary problem though, this is often a nice
            compromise:

                yum-config-manager --save --setopt=imeyer_runit.skip_if_unavailable=true

           failure: repodata/repomd.xml from imeyer_runit: [Errno 256] No more mirrors to try.
           ---- End output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
           Ran yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit returned 1

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/runit/recipes/default.rb

            36:     packagecloud_repo 'imeyer/runit' do
            37:       force_os 'rhel' if node['platform'].eql?('oracle')
            38:     end
            39:   end

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/runit/recipes/default.rb:36:in `from_file'

           packagecloud_repo("imeyer/runit") do
             action [:add]
             updated true
             updated_by_last_action true
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             declared_type :packagecloud_repo
             cookbook_name "runit"
             recipe_name "default"
             type "rpm"
             base_url "https://packagecloud.io"
             repository "imeyer/runit"
             metadata_expire "300"
           end

           Platform:
           ---------
           x86_64-linux

       [2016-12-21T16:45:43+00:00] INFO: Running queued delayed notifications before re-raising exception
       [2016-12-21T16:45:43+00:00] DEBUG: Re-raising exception: Mixlib::ShellOut::ShellCommandFailed - packagecloud_repo[imeyer/runit] (runit::default line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[yum-makecache-imeyer_runit] (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 124) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
       ---- Begin output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       STDOUT: 
       STDERR: Importing GPG key 0xD59097AB:
        Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
        Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
        From       : https://packagecloud.io/imeyer/runit/gpgkey
       https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
       Trying other mirror.

        One of the configured repositories failed (imeyer_runit),
        and yum doesn't have enough cached data to continue. At this point the only
        safe thing yum can do is fail. There are a few ways to work "fix" this:

            1. Contact the upstream for the repository and get them to fix the problem.

            2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

            3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:

            yum-config-manager --disable imeyer_runit

            4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=imeyer_runit.skip_if_unavailable=true

       failure: repodata/repomd.xml from imeyer_runit: [Errno 256] No more mirrors to try.
       ---- End output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       Ran yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit returned 1
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:289:in `invalid!'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:276:in `error!'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/mixin/shell_out.rb:45:in `shell_out!'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider/execute.rb:62:in `block in action_run'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/mixin/why_run.rb:52:in `add_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:176:in `converge_by'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider/execute.rb:60:in `action_run'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:77:in `block in run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:75:in `each'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:75:in `run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:362:in `compile_and_converge_action'
         (eval):2:in `action_add'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:670:in `block in converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `catch'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `converge'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:704:in `converge_and_save'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:284:in `run'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:294:in `block in fork_chef_client'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork_chef_client'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:247:in `block in run_chef_client'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/local_mode.rb:44:in `with_server_connectivity'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:235:in `run_chef_client'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:464:in `sleep_then_run_chef_client'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:451:in `block in interval_run_chef_client'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `loop'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `interval_run_chef_client'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:434:in `run_application'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:59:in `run'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/solo.rb:226:in `run'
         /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/bin/chef-solo:25:in `<top (required)>'
         /opt/chef/bin/chef-solo:57:in `load'
         /opt/chef/bin/chef-solo:57:in `<main>'

       Running handlers:
       [2016-12-21T16:45:43+00:00] ERROR: Running exception handlers
       Running handlers complete
       [2016-12-21T16:45:43+00:00] ERROR: Exception handlers complete
       Chef Client failed. 2 resources updated in 10 seconds
       [2016-12-21T16:45:43+00:00] DEBUG: Server doesn't support resource history, skipping resource report.
       [2016-12-21T16:45:43+00:00] DEBUG: Audit Reports are disabled. Skipping sending reports.
       [2016-12-21T16:45:43+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       [2016-12-21T16:45:43+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
       [2016-12-21T16:45:43+00:00] DEBUG: Mixlib::ShellOut::ShellCommandFailed: packagecloud_repo[imeyer/runit] (runit::default line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[yum-makecache-imeyer_runit] (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 124) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
       ---- Begin output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       STDOUT: 
       STDERR: Importing GPG key 0xD59097AB:
        Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
        Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
        From       : https://packagecloud.io/imeyer/runit/gpgkey
       https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
       Trying other mirror.

        One of the configured repositories failed (imeyer_runit),
        and yum doesn't have enough cached data to continue. At this point the only
        safe thing yum can do is fail. There are a few ways to work "fix" this:

            1. Contact the upstream for the repository and get them to fix the problem.

            2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

            3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:

            yum-config-manager --disable imeyer_runit

            4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=imeyer_runit.skip_if_unavailable=true

       failure: repodata/repomd.xml from imeyer_runit: [Errno 256] No more mirrors to try.
       ---- End output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       Ran yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit returned 1
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:289:in `invalid!'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:276:in `error!'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/mixin/shell_out.rb:45:in `shell_out!'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider/execute.rb:62:in `block in action_run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/mixin/why_run.rb:52:in `add_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:176:in `converge_by'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider/execute.rb:60:in `action_run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:77:in `block in run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:75:in `each'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:75:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:362:in `compile_and_converge_action'
       (eval):2:in `action_add'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:670:in `block in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `catch'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:704:in `converge_and_save'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:284:in `run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:294:in `block in fork_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:247:in `block in run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/local_mode.rb:44:in `with_server_connectivity'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:235:in `run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:464:in `sleep_then_run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:451:in `block in interval_run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `loop'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `interval_run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:434:in `run_application'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:59:in `run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/solo.rb:226:in `run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/bin/chef-solo:25:in `<top (required)>'
       /opt/chef/bin/chef-solo:57:in `load'
       /opt/chef/bin/chef-solo:57:in `<main>'

       >>>> Caused by Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
       ---- Begin output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       STDOUT: 
       STDERR: Importing GPG key 0xD59097AB:
        Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
        Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
        From       : https://packagecloud.io/imeyer/runit/gpgkey
       https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
       Trying other mirror.

        One of the configured repositories failed (imeyer_runit),
        and yum doesn't have enough cached data to continue. At this point the only
        safe thing yum can do is fail. There are a few ways to work "fix" this:

            1. Contact the upstream for the repository and get them to fix the problem.

            2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

            3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:

            yum-config-manager --disable imeyer_runit

            4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=imeyer_runit.skip_if_unavailable=true

       failure: repodata/repomd.xml from imeyer_runit: [Errno 256] No more mirrors to try.
       ---- End output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       Ran yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit returned 1
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:289:in `invalid!'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:276:in `error!'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/mixin/shell_out.rb:45:in `shell_out!'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider/execute.rb:62:in `block in action_run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/mixin/why_run.rb:52:in `add_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:176:in `converge_by'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider/execute.rb:60:in `action_run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:77:in `block in run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:75:in `each'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:75:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:362:in `compile_and_converge_action'
       (eval):2:in `action_add'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:670:in `block in converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `catch'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `converge'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:704:in `converge_and_save'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/client.rb:284:in `run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:294:in `block in fork_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:282:in `fork_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:247:in `block in run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/local_mode.rb:44:in `with_server_connectivity'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:235:in `run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:464:in `sleep_then_run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:451:in `block in interval_run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `loop'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:450:in `interval_run_chef_client'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/client.rb:434:in `run_application'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application.rb:59:in `run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/lib/chef/application/solo.rb:226:in `run'
       /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44/bin/chef-solo:25:in `<top (required)>'
       /opt/chef/bin/chef-solo:57:in `load'
       /opt/chef/bin/chef-solo:57:in `<main>'
       [2016-12-21T16:45:43+00:00] ERROR: packagecloud_repo[imeyer/runit] (runit::default line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[yum-makecache-imeyer_runit] (/tmp/kitchen/cache/cookbooks/packagecloud/providers/repo.rb line 124) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
       ---- Begin output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       STDOUT: 
       STDERR: Importing GPG key 0xD59097AB:
        Userid     : "packagecloud ops (production key) <ops@packagecloud.io>"
        Fingerprint: 418a 7f2f b0e1 e6e7 eabf 6fe8 c2e7 3424 d590 97ab
        From       : https://packagecloud.io/imeyer/runit/gpgkey
       https://packagecloud.io/imeyer/runit/el/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for imeyer_runit
       Trying other mirror.

        One of the configured repositories failed (imeyer_runit),
        and yum doesn't have enough cached data to continue. At this point the only
        safe thing yum can do is fail. There are a few ways to work "fix" this:

            1. Contact the upstream for the repository and get them to fix the problem.

            2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

            3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:

            yum-config-manager --disable imeyer_runit

            4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=imeyer_runit.skip_if_unavailable=true

       failure: repodata/repomd.xml from imeyer_runit: [Errno 256] No more mirrors to try.
       ---- End output of yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit ----
       Ran yum -q makecache -y --disablerepo=* --enablerepo=imeyer_runit returned 1
       [2016-12-21T16:45:43+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>>     Converge failed on instance <default-amazon>.  Please see .kitchen/logs/default-amazon.log for more details
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
tiago-cruz-movile commented 7 years ago

Same here