voxpupuli / puppet-r10k

Setup and configure r10k for use with git based environments in puppet
https://forge.puppet.com/puppet/r10k
Apache License 2.0
98 stars 168 forks source link

failing beaker tests #310

Closed bastelfreak closed 5 years ago

bastelfreak commented 7 years ago

Hi @rnelson0,

I did the following on the modulesync branch:

bastelfreak@bastelfreak-ws ~/modulesync_config/modules/puppet-r10k $ bundle exec rake beaker:centos-72-x64
/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-rspec-6.0.0/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/specinfra-2.66.0/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
Beaker::Hypervisor, found some vagrant boxes to create
Bringing machine 'centos-72-x64' up with 'virtualbox' provider...
==> centos-72-x64: Importing base box 'puppetlabs/centos-7.2-64-nocm'...
Progress: 10%Progress: 20%Progress: 30%Progress: 50%Progress: 70%Progress: 90%==> centos-72-x64: Matching MAC address for NAT networking...
==> centos-72-x64: Checking if box 'puppetlabs/centos-7.2-64-nocm' is up to date...
==> centos-72-x64: Setting the name of the VM: centos-72-x64yml_centos-72-x64_1480545423948_82773
==> centos-72-x64: Clearing any previously set network interfaces...
==> centos-72-x64: Preparing network interfaces based on configuration...
    centos-72-x64: Adapter 1: nat
    centos-72-x64: Adapter 2: hostonly
==> centos-72-x64: Forwarding ports...
    centos-72-x64: 22 (guest) => 2222 (host) (adapter 1)
==> centos-72-x64: Running 'pre-boot' VM customizations...
==> centos-72-x64: Booting VM...
==> centos-72-x64: Waiting for machine to boot. This may take a few minutes...
    centos-72-x64: SSH address: 127.0.0.1:2222
    centos-72-x64: SSH username: vagrant
    centos-72-x64: SSH auth method: private key
    centos-72-x64: Warning: Remote connection disconnect. Retrying...
==> centos-72-x64: Machine booted and ready!
==> centos-72-x64: Checking for guest additions in VM...
    centos-72-x64: The guest additions on this VM do not match the installed version of
    centos-72-x64: VirtualBox! In most cases this is fine, but in rare cases it can
    centos-72-x64: prevent things such as shared folders from working properly. If you see
    centos-72-x64: shared folder errors, please make sure the guest additions within the
    centos-72-x64: virtual machine match the version of VirtualBox you have installed on
    centos-72-x64: your host and reload your VM.
    centos-72-x64: 
    centos-72-x64: Guest Additions Version: 5.0.16
    centos-72-x64: VirtualBox Version: 5.1
==> centos-72-x64: Setting hostname...
==> centos-72-x64: Configuring and enabling network interfaces...
==> centos-72-x64: Mounting shared folders...
    centos-72-x64: /vagrant => /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vagrant/beaker_vagrant_files/centos-72-x64.yml
Disabling updates.puppetlabs.com by modifying hosts file to resolve updates to 127.0.0.1 on centos-72-x64
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec': Host 'centos-72-x64' exited with 7 running: (Beaker::Host::CommandFailure)
 /usr/bin/curl -d '{ "repository": { "name": "puppetlabs-stdlib" } }' -H "Accept: application/json" "http://localhost:8088/module" -k -q
Last 10 lines of output were:
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed

      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to localhost:8088; Connection refused
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/basic_webhook_spec.rb:32:in `block (2 levels) in <top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:385:in `module_exec'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:385:in `subclass'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:258:in `block in define_example_group_method'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/basic_webhook_spec.rb:4:in `block in <top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:385:in `module_exec'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:385:in `subclass'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:258:in `block in define_example_group_method'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/dsl.rb:43:in `block in expose_example_group_alias'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/dsl.rb:84:in `block (2 levels) in expose_example_group_alias_globally'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/basic_webhook_spec.rb:3:in `<top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `load'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `block in load_spec_files'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `each'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `load_spec_files'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:100:in `setup'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:86:in `run'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec:4:in `<main>'
/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color failed
bastelfreak@bastelfreak-ws ~/modulesync_config/modules/puppet-r10k $ bundle exec rake beaker:debian-82-x64
/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-rspec-6.0.0/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/specinfra-2.66.0/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
Beaker::Hypervisor, found some vagrant boxes to create
Bringing machine 'debian-82-x64' up with 'virtualbox' provider...
==> debian-82-x64: Box 'puppetlabs/debian-8.2-64-nocm' could not be found. Attempting to find and install...
    debian-82-x64: Box Provider: virtualbox
    debian-82-x64: Box Version: >= 0
==> debian-82-x64: Loading metadata for box 'puppetlabs/debian-8.2-64-nocm'
    debian-82-x64: URL: https://atlas.hashicorp.com/puppetlabs/debian-8.2-64-nocm
==> debian-82-x64: Adding box 'puppetlabs/debian-8.2-64-nocm' (v1.0.1) for provider: virtualbox
    debian-82-x64: Downloading: https://atlas.hashicorp.com/puppetlabs/boxes/debian-8.2-64-nocm/versions/1.0.1/providers/virtualbox.box
    debian-82-x64: Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--)    debian-82-x64: Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--)    debian-82-x64: Progress: 0% (Rate: 1305k/s, Estimated time remaining: 0:13:49)    debian-82-x64: Progress: 1% (Rate: 2640k/s, Estimated time remaining: 0:05:00)    debian-82-x64: Progress: 1% (Rate: 2917k/s, Estimated time remaining: 0:03:56)    debian-82-x64: Progress: 2% (Rate: 3059k/s, Estimated time remaining: 0:03:27)    debian-82-x64: Progress: 3% (Rate: 3148k/s, Estimated time remaining: 0:03:11)    debian-82-x64: Progress: 3% (Rate: 3585k/s, Estimated time remaining: 0:03:00)    debian-82-x64: Progress: 4% (Rate: 3526k/s, Estimated time remaining: 0:02:51)    debian-82-x64: Progress: 5% (Rate: 3657k/s, Estimated time remaining: 0:02:41)    debian-82-x64: Progress: 6% (Rate: 4163k/s, Estimated time remaining: 0:02:24)    debian-82-x64: Progress: 7% (Rate: 4512k/s, Estimated time remaining: 0:02:15)    debian-82-x64: Progress: 8% (Rate: 4664k/s, Estimated time remaining: 0:02:11     debian-82-x64: Progress: 9% (Rate: 4822k/s, Estimated time remaining: 0:02:07)    debian-82-x64: Progress: 9% (Rate: 4678k/s, Estimated time remaining: 0:02:07)    debian-82-x64: Progress: 10% (Rate: 4150k/s, Estimated time remaining: 0:02:06)    debian-82-x64: Progress: 11% (Rate: 3802k/s, Estimated time remaining: 0:02:05)    debian-82-x64: Progress: 12% (Rate: 3680k/s, Estimated time remaining: 0:02:04)    debian-82-x64: Progress: 12% (Rate: 3507k/s, Estimated time remaining: 0:02:03)    debian-82-x64: Progress: 13% (Rate: 3596k/s, Estimated time remaining: 0:02:02)    debian-82-x64: Progress: 14% (Rate: 3748k/s, Estimated time remaining: 0:01:59)    debian-82-x64: Progress: 15% (Rate: 3916k/s, Estimated time remaining: 0:01:57)    debian-82-x64: Progress: 16% (Rate: 4089k/s, Estimated time remaining: 0:01:55)    debian-82-x64: Progress: 16% (Rate: 4256k/s, Estimated time remaining: 0:01:52)    debian-82-x64: Progress: 17% (Rate: 4304k/s, Estimated time remaining: 0:01:51)    debian-82-x64: Progress: 18% (Rate: 4359k/s, Estimated time remaining: 0:01:49)    debian-82-x64: Progress: 19% (Rate: 4390k/s, Estimated time remaining: 0:01:47)    debian-82-x64: Progress: 20% (Rate: 4332k/s, Estimated time remaining: 0:01:45)    debian-82-x64: Progress: 21% (Rate: 4438k/s, Estimated time remaining: 0:01:43)    debian-82-x64: Progress: 22% (Rate: 4505k/s, Estimated time remaining: 0:01:41)    debian-82-x64: Progress: 23% (Rate: 4528k/s, Estimated time remaining: 0:01:39)    debian-82-x64: Progress: 24% (Rate: 4521k/s, Estimated time remaining: 0:01:38)    debian-82-x64: Progress: 24% (Rate: 4544k/s, Estimated time remaining: 0:01:36)    debian-82-x64: Progress: 25% (Rate: 4492k/s, Estimated time remaining: 0:01:34)    debian-82-x64: Progress: 26% (Rate: 4515k/s, Estimated time remaining: 0:01:33)    debian-82-x64: Progress: 27% (Rate: 4320k/s, Estimated time remaining: 0:01:32)    debian-82-x64: Progress: 28% (Rate: 4163k/s, Estimated time remaining: 0:01:32)    debian-82-x64: Progress: 28% (Rate: 4055k/s, Estimated time remaining: 0:01:31)    debian-82-x64: Progress: 29% (Rate: 3878k/s, Estimated time remaining: 0:01:30)    debian-82-x64: Progress: 30% (Rate: 3763k/s, Estimated time remaining: 0:01:29)    debian-82-x64: Progress: 31% (Rate: 3936k/s, Estimated time remaining: 0:01:27)    debian-82-x64: Progress: 32% (Rate: 4043k/s, Estimated time remaining: 0:01:26)    debian-82-x64: Progress: 33% (Rate: 4316k/s, Estimated time remaining: 0:01:24)    debian-82-x64: Progress: 34% (Rate: 4486k/s, Estimated time remaining: 0:01:23)    debian-82-x64: Progress: 34% (Rate: 4572k/s, Estimated time remaining: 0:01:21)    debian-82-x64: Progress: 35% (Rate: 4560k/s, Estimated time remaining: 0:01:20)    debian-82-x64: Progress: 36% (Rate: 4649k/s, Estimated time remaining: 0:01:19)    debian-82-x64: Progress: 37% (Rate: 4595k/s, Estimated time remaining: 0:01:17)    debian-82-x64: Progress: 38% (Rate: 4614k/s, Estimated time remaining: 0:01:16)    debian-82-x64: Progress: 39% (Rate: 4899k/s, Estimated time remaining: 0:01:14)    debian-82-x64: Progress: 40% (Rate: 5009k/s, Estimated time remaining: 0:01:12)    debian-82-x64: Progress: 41% (Rate: 5030k/s, Estimated time remaining: 0:01:11)    debian-82-x64: Progress: 42% (Rate: 4979k/s, Estimated time remaining: 0:01:09)    debian-82-x64: Progress: 43% (Rate: 4953k/s, Estimated time remaining: 0:01:08)    debian-82-x64: Progress: 44% (Rate: 4748k/s, Estimated time remaining: 0:01:07)    debian-82-x64: Progress: 45% (Rate: 4565k/s, Estimated time remaining: 0:01:06)    debian-82-x64: Progress: 46% (Rate: 4332k/s, Estimated time remaining: 0:01:05)    debian-82-x64: Progress: 46% (Rate: 4168k/s, Estimated time remaining: 0:01:04)    debian-82-x64: Progress: 47% (Rate: 4019k/s, Estimated time remaining: 0:01:03     debian-82-x64: Progress: 48% (Rate: 3865k/s, Estimated time remaining: 0:01:03)    debian-82-x64: Progress: 49% (Rate: 3856k/s, Estimated time remaining: 0:01:02)    debian-82-x64: Progress: 49% (Rate: 3939k/s, Estimated time remaining: 0:01:01)    debian-82-x64: Progress: 50% (Rate: 4032k/s, Estimated time remaining: 0:01:00)    debian-82-x64: Progress: 52% (Rate: 4464k/s, Estimated time remaining: 0:00:58)    debian-82-x64: Progress: 53% (Rate: 4681k/s, Estimated time remaining: 0:00:56)    debian-82-x64: Progress: 53% (Rate: 4793k/s, Estimated time remaining: 0:00:55)    debian-82-x64: Progress: 54% (Rate: 4854k/s, Estimated time remaining: 0:00:54)    debian-82-x64: Progress: 55% (Rate: 4970k/s, Estimated time remaining: 0:00:53)    debian-82-x64: Progress: 56% (Rate: 4758k/s, Estimated time remaining: 0:00:51)    debian-82-x64: Progress: 57% (Rate: 4623k/s, Estimated time remaining: 0:00:50)    debian-82-x64: Progress: 58% (Rate: 4710k/s, Estimated time remaining: 0:00:49)    debian-82-x64: Progress: 59% (Rate: 4793k/s, Estimated time remaining: 0:00:48)    debian-82-x64: Progress: 60% (Rate: 4806k/s, Estimated time remaining: 0:00:47)    debian-82-x64: Progress: 61% (Rate: 4793k/s, Estimated time remaining: 0:00:45)    debian-82-x64: Progress: 62% (Rate: 4922k/s, Estimated time remaining: 0:00:44)    debian-82-x64: Progress: 63% (Rate: 4867k/s, Estimated time remaining: 0:00:43)    debian-82-x64: Progress: 64% (Rate: 4851k/s, Estimated time remaining: 0:00:42)    debian-82-x64: Progress: 65% (Rate: 4771k/s, Estimated time remaining: 0:00:41)    debian-82-x64: Progress: 66% (Rate: 4732k/s, Estimated time remaining: 0:00:39)    debian-82-x64: Progress: 67% (Rate: 4704k/s, Estimated time remaining: 0:00:38)    debian-82-x64: Progress: 68% (Rate: 4764k/s, Estimated time remaining: 0:00:37)    debian-82-x64: Progress: 69% (Rate: 4800k/s, Estimated time remaining: 0:00:36)    debian-82-x64: Progress: 70% (Rate: 5022k/s, Estimated time remaining: 0:00:34)    debian-82-x64: Progress: 71% (Rate: 5014k/s, Estimated time remaining: 0:00:33)    debian-82-x64: Progress: 72% (Rate: 5129k/s, Estimated time remaining: 0:00:32)    debian-82-x64: Progress: 73% (Rate: 5225k/s, Estimated time remaining: 0:00:31)    debian-82-x64: Progress: 74% (Rate: 5135k/s, Estimated time remaining: 0:00:29)    debian-82-x64: Progress: 75% (Rate: 4922k/s, Estimated time remaining: 0:00:28)    debian-82-x64: Progress: 76% (Rate: 4943k/s, Estimated time remaining: 0:00:27)    debian-82-x64: Progress: 77% (Rate: 4851k/s, Estimated time remaining: 0:00:26)    debian-82-x64: Progress: 78% (Rate: 4761k/s, Estimated time remaining: 0:00:25)    debian-82-x64: Progress: 79% (Rate: 4860k/s, Estimated time remaining: 0:00:24)    debian-82-x64: Progress: 80% (Rate: 4966k/s, Estimated time remaining: 0:00:23)    debian-82-x64: Progress: 81% (Rate: 5005k/s, Estimated time remaining: 0:00:21)    debian-82-x64: Progress: 82% (Rate: 5142k/s, Estimated time remaining: 0:00:20)    debian-82-x64: Progress: 83% (Rate: 5142k/s, Estimated time remaining: 0:00:19)    debian-82-x64: Progress: 84% (Rate: 5251k/s, Estimated time remaining: 0:00:18)    debian-82-x64: Progress: 85% (Rate: 5347k/s, Estimated time remaining: 0:00:16)    debian-82-x64: Progress: 86% (Rate: 5420k/s, Estimated time remaining: 0:00:15)    debian-82-x64: Progress: 87% (Rate: 5425k/s, Estimated time remaining: 0:00:14)    debian-82-x64: Progress: 87% (Rate: 4799k/s, Estimated time remaining: 0:00:13)    debian-82-x64: Progress: 88% (Rate: 4310k/s, Estimated time remaining: 0:00:13)    debian-82-x64: Progress: 89% (Rate: 4089k/s, Estimated time remaining: 0:00:12)    debian-82-x64: Progress: 90% (Rate: 3964k/s, Estimated time remaining: 0:00:11)    debian-82-x64: Progress: 91% (Rate: 3774k/s, Estimated time remaining: 0:00:10)    debian-82-x64: Progress: 92% (Rate: 4351k/s, Estimated time remaining: 0:00:08)    debian-82-x64: Progress: 93% (Rate: 4697k/s, Estimated time remaining: 0:00:07)    debian-82-x64: Progress: 94% (Rate: 4784k/s, Estimated time remaining: 0:00:06)    debian-82-x64: Progress: 95% (Rate: 4960k/s, Estimated time remaining: 0:00:05)    debian-82-x64: Progress: 96% (Rate: 4885k/s, Estimated time remaining: 0:00:04)    debian-82-x64: Progress: 97% (Rate: 4860k/s, Estimated time remaining: 0:00:03)    debian-82-x64: Progress: 97% (Rate: 4812k/s, Estimated time remaining: 0:00:02)    debian-82-x64: Progress: 98% (Rate: 4617k/s, Estimated time remaining: 0:00:01)    debian-82-x64: Progress: 99% (Rate: 4310k/s, Estimated time remaining: --:--:--)==> debian-82-x64: Successfully added box 'puppetlabs/debian-8.2-64-nocm' (v1.0.1) for 'virtualbox'!
==> debian-82-x64: Importing base box 'puppetlabs/debian-8.2-64-nocm'...
Progress: 10%Progress: 20%Progress: 30%Progress: 40%Progress: 50%Progress: 70%Progress: 80%Progress: 90%==> debian-82-x64: Matching MAC address for NAT networking...
==> debian-82-x64: Checking if box 'puppetlabs/debian-8.2-64-nocm' is up to date...
==> debian-82-x64: Setting the name of the VM: debian-82-x64yml_debian-82-x64_1480545666916_95823
==> debian-82-x64: Fixed port collision for 22 => 2222. Now on port 2200.
==> debian-82-x64: Clearing any previously set network interfaces...
==> debian-82-x64: Preparing network interfaces based on configuration...
    debian-82-x64: Adapter 1: nat
    debian-82-x64: Adapter 2: hostonly
==> debian-82-x64: Forwarding ports...
    debian-82-x64: 22 (guest) => 2200 (host) (adapter 1)
==> debian-82-x64: Running 'pre-boot' VM customizations...
==> debian-82-x64: Booting VM...
==> debian-82-x64: Waiting for machine to boot. This may take a few minutes...
    debian-82-x64: SSH address: 127.0.0.1:2200
    debian-82-x64: SSH username: vagrant
    debian-82-x64: SSH auth method: private key
==> debian-82-x64: Machine booted and ready!
==> debian-82-x64: Checking for guest additions in VM...
    debian-82-x64: The guest additions on this VM do not match the installed version of
    debian-82-x64: VirtualBox! In most cases this is fine, but in rare cases it can
    debian-82-x64: prevent things such as shared folders from working properly. If you see
    debian-82-x64: shared folder errors, please make sure the guest additions within the
    debian-82-x64: virtual machine match the version of VirtualBox you have installed on
    debian-82-x64: your host and reload your VM.
    debian-82-x64: 
    debian-82-x64: Guest Additions Version: 5.0.16
    debian-82-x64: VirtualBox Version: 5.1
==> debian-82-x64: Setting hostname...
==> debian-82-x64: Configuring and enabling network interfaces...
==> debian-82-x64: Mounting shared folders...
    debian-82-x64: /vagrant => /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vagrant/beaker_vagrant_files/debian-82-x64.yml
Disabling updates.puppetlabs.com by modifying hosts file to resolve updates to 127.0.0.1 on debian-82-x64
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec': Host 'debian-82-x64' exited with 1 running: (Beaker::Host::CommandFailure)
 puppet agent --configprint hiera_config
Last 10 lines of output were:
        from /usr/lib/ruby/vendor_ruby/puppet/util.rb:14:in `<top (required)>'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/ruby/vendor_ruby/puppet.rb:8:in `<top (required)>'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:12:in `<top (required)>'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/bin/puppet:7:in `<main>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:39:in `[]'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:300:in `block in install_puppet_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:115:in `block in run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:114:in `map'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:114:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:265:in `install_puppet_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:207:in `install_puppet'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/spec_helper_acceptance.rb:11:in `block in <top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/spec_helper_acceptance.rb:6:in `each'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/spec_helper_acceptance.rb:6:in `<top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/basic_webhook_spec.rb:1:in `require'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/basic_webhook_spec.rb:1:in `<top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `load'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `block in load_spec_files'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `each'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `load_spec_files'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:100:in `setup'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:86:in `run'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec:4:in `<main>'
/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color failed
bastelfreak@bastelfreak-ws ~/modulesync_config/modules/puppet-r10k $ bundle exec rake beaker:ubuntu-server-1604-x64
/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-rspec-6.0.0/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/specinfra-2.66.0/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
Beaker::Hypervisor, found some vagrant boxes to create
Bringing machine 'ubuntu-server-1604-x64' up with 'virtualbox' provider...
==> ubuntu-server-1604-x64: Box 'puppetlabs/ubuntu-16.04-64-nocm' could not be found. Attempting to find and install...
    ubuntu-server-1604-x64: Box Provider: virtualbox
    ubuntu-server-1604-x64: Box Version: >= 0
==> ubuntu-server-1604-x64: Loading metadata for box 'puppetlabs/ubuntu-16.04-64-nocm'
    ubuntu-server-1604-x64: URL: https://atlas.hashicorp.com/puppetlabs/ubuntu-16.04-64-nocm
==> ubuntu-server-1604-x64: Adding box 'puppetlabs/ubuntu-16.04-64-nocm' (v1.0.0) for provider: virtualbox
    ubuntu-server-1604-x64: Downloading: https://atlas.hashicorp.com/puppetlabs/boxes/ubuntu-16.04-64-nocm/versions/1.0.0/providers/virtualbox.box
    ubuntu-server-1604-x64: Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--)    ubuntu-server-1604-x64: Progress: 100% (Rate: 294/s, Estimated time remaining: --:--:--)    ubuntu-server-1604-x64: Progress: 0% (Rate: 45661/s, Estimated time remaining: 4:03:24)    ubuntu-server-1604-x64: Progress: 0% (Rate: 3434k/s, Estimated time remaining: 0:07:45)    ubuntu-server-1604-x64: Progress: 1% (Rate: 4040k/s, Estimated time remaining: 0:04:38)    ubuntu-server-1604-x64: Progress: 1% (Rate: 4235k/s, Estimated time remaining: 0:03:46)    ubuntu-server-1604-x64: Progress: 2% (Rate: 4364k/s, Estimated time remaining: 0:03:20)    ubuntu-server-1604-x64: Progress: 3% (Rate: 4445k/s, Estimated time remaining: 0:03:04)    ubuntu-server-1604-x64: Progress: 4% (Rate: 4699k/s, Estimated time remaining: 0:02:54)    ubuntu-server-1604-x64: Progress: 4% (Rate: 4843k/s, Estimated time remaining: 0:02:43)    ubuntu-server-1604-x64: Progress: 5% (Rate: 4880k/s, Estimated time remaining: 0:02:37)    ubuntu-server-1604-x64: Progress: 6% (Rate: 4915k/s, Estimated time remaining: 0:02:32)    ubuntu-server-1604-x64: Progress: 7% (Rate: 4998k/s, Estimated time remaining: 0:02:27)    ubuntu-server-1604-x64: Progress: 8% (Rate: 5045k/s, Estimated time remaining: 0:02:24     ubuntu-server-1604-x64: Progress: 8% (Rate: 5015k/s, Estimated time remaining: 0:02:20)    ubuntu-server-1604-x64: Progress: 9% (Rate: 5054k/s, Estimated time remaining: 0:02:17)    ubuntu-server-1604-x64: Progress: 10% (Rate: 5139k/s, Estimated time remaining: 0:02:14)    ubuntu-server-1604-x64: Progress: 11% (Rate: 5035k/s, Estimated time remaining: 0:02:12)    ubuntu-server-1604-x64: Progress: 11% (Rate: 4788k/s, Estimated time remaining: 0:02:12)    ubuntu-server-1604-x64: Progress: 12% (Rate: 4454k/s, Estimated time remaining: 0:02:13)    ubuntu-server-1604-x64: Progress: 12% (Rate: 4173k/s, Estimated time remaining: 0:02:13)    ubuntu-server-1604-x64: Progress: 13% (Rate: 3820k/s, Estimated time remaining: 0:02:13)    ubuntu-server-1604-x64: Progress: 13% (Rate: 3617k/s, Estimated time remaining: 0:02:13)    ubuntu-server-1604-x64: Progress: 14% (Rate: 3609k/s, Estimated time remaining: 0:02:13)    ubuntu-server-1604-x64: Progress: 15% (Rate: 3840k/s, Estimated time remaining: 0:02:11)    ubuntu-server-1604-x64: Progress: 15% (Rate: 4162k/s, Estimated time remaining: 0:02:09)    ubuntu-server-1604-x64: Progress: 16% (Rate: 4483k/s, Estimated time remaining: 0:02:07)    ubuntu-server-1604-x64: Progress: 17% (Rate: 4793k/s, Estimated time remaining: 0:02:04)    ubuntu-server-1604-x64: Progress: 18% (Rate: 5164k/s, Estimated time remaining: 0:02:02     ubuntu-server-1604-x64: Progress: 19% (Rate: 5206k/s, Estimated time remaining: 0:02:00)    ubuntu-server-1604-x64: Progress: 20% (Rate: 5277k/s, Estimated time remaining: 0:01:58)    ubuntu-server-1604-x64: Progress: 20% (Rate: 5260k/s, Estimated time remaining: 0:01:56)    ubuntu-server-1604-x64: Progress: 21% (Rate: 5260k/s, Estimated time remaining: 0:01:54)    ubuntu-server-1604-x64: Progress: 22% (Rate: 5308k/s, Estimated time remaining: 0:01:52)    ubuntu-server-1604-x64: Progress: 23% (Rate: 5036k/s, Estimated time remaining: 0:01:52)    ubuntu-server-1604-x64: Progress: 23% (Rate: 4756k/s, Estimated time remaining: 0:01:51)    ubuntu-server-1604-x64: Progress: 24% (Rate: 4652k/s, Estimated time remaining: 0:01:50)    ubuntu-server-1604-x64: Progress: 25% (Rate: 4505k/s, Estimated time remaining: 0:01:49)    ubuntu-server-1604-x64: Progress: 25% (Rate: 4080k/s, Estimated time remaining: 0:01:49)    ubuntu-server-1604-x64: Progress: 26% (Rate: 4182k/s, Estimated time remaining: 0:01:48)    ubuntu-server-1604-x64: Progress: 26% (Rate: 4178k/s, Estimated time remaining: 0:01:47)    ubuntu-server-1604-x64: Progress: 27% (Rate: 4086k/s, Estimated time remaining: 0:01:47)    ubuntu-server-1604-x64: Progress: 28% (Rate: 4032k/s, Estimated time remaining: 0:01:46)    ubuntu-server-1604-x64: Progress: 28% (Rate: 4188k/s, Estimated time remaining: 0:01:45)    ubuntu-server-1604-x64: Progress: 29% (Rate: 4435k/s, Estimated time remaining: 0:01:43)    ubuntu-server-1604-x64: Progress: 30% (Rate: 4566k/s, Estimated time remaining: 0:01:42)    ubuntu-server-1604-x64: Progress: 31% (Rate: 4739k/s, Estimated time remaining: 0:01:41)    ubuntu-server-1604-x64: Progress: 32% (Rate: 4992k/s, Estimated time remaining: 0:01:39)    ubuntu-server-1604-x64: Progress: 32% (Rate: 5097k/s, Estimated time remaining: 0:01:38)    ubuntu-server-1604-x64: Progress: 33% (Rate: 5152k/s, Estimated time remaining: 0:01:36)    ubuntu-server-1604-x64: Progress: 34% (Rate: 5187k/s, Estimated time remaining: 0:01:35)    ubuntu-server-1604-x64: Progress: 35% (Rate: 5324k/s, Estimated time remaining: 0:01:33)    ubuntu-server-1604-x64: Progress: 35% (Rate: 5140k/s, Estimated time remaining: 0:01:32)    ubuntu-server-1604-x64: Progress: 36% (Rate: 5177k/s, Estimated time remaining: 0:01:30)    ubuntu-server-1604-x64: Progress: 37% (Rate: 5127k/s, Estimated time remaining: 0:01:29)    ubuntu-server-1604-x64: Progress: 38% (Rate: 5143k/s, Estimated time remaining: 0:01:28)    ubuntu-server-1604-x64: Progress: 39% (Rate: 5104k/s, Estimated time remaining: 0:01:26)    ubuntu-server-1604-x64: Progress: 39% (Rate: 5170k/s, Estimated time remaining: 0:01:25)    ubuntu-server-1604-x64: Progress: 40% (Rate: 4960k/s, Estimated time remaining: 0:01:24)    ubuntu-server-1604-x64: Progress: 41% (Rate: 4586k/s, Estimated time remaining: 0:01:24)    ubuntu-server-1604-x64: Progress: 41% (Rate: 4393k/s, Estimated time remaining: 0:01:23)    ubuntu-server-1604-x64: Progress: 42% (Rate: 4123k/s, Estimated time remaining: 0:01:22)    ubuntu-server-1604-x64: Progress: 42% (Rate: 3976k/s, Estimated time remaining: 0:01:22)    ubuntu-server-1604-x64: Progress: 43% (Rate: 3976k/s, Estimated time remaining: 0:01:21)    ubuntu-server-1604-x64: Progress: 44% (Rate: 4035k/s, Estimated time remaining: 0:01:20)    ubuntu-server-1604-x64: Progress: 44% (Rate: 3990k/s, Estimated time remaining: 0:01:20)    ubuntu-server-1604-x64: Progress: 45% (Rate: 3987k/s, Estimated time remaining: 0:01:19)    ubuntu-server-1604-x64: Progress: 46% (Rate: 3985k/s, Estimated time remaining: 0:01:18)    ubuntu-server-1604-x64: Progress: 46% (Rate: 3998k/s, Estimated time remaining: 0:01:17)    ubuntu-server-1604-x64: Progress: 47% (Rate: 4121k/s, Estimated time remaining: 0:01:16)    ubuntu-server-1604-x64: Progress: 47% (Rate: 4192k/s, Estimated time remaining: 0:01:15)    ubuntu-server-1604-x64: Progress: 48% (Rate: 4364k/s, Estimated time remaining: 0:01:14)    ubuntu-server-1604-x64: Progress: 49% (Rate: 4357k/s, Estimated time remaining: 0:01:13)    ubuntu-server-1604-x64: Progress: 49% (Rate: 4323k/s, Estimated time remaining: 0:01:13)    ubuntu-server-1604-x64: Progress: 50% (Rate: 4264k/s, Estimated time remaining: 0:01:12)    ubuntu-server-1604-x64: Progress: 51% (Rate: 4243k/s, Estimated time remaining: 0:01:11)    ubuntu-server-1604-x64: Progress: 51% (Rate: 4083k/s, Estimated time remaining: 0:01:10)    ubuntu-server-1604-x64: Progress: 52% (Rate: 4080k/s, Estimated time remaining: 0:01:09)    ubuntu-server-1604-x64: Progress: 53% (Rate: 4232k/s, Estimated time remaining: 0:01:08)    ubuntu-server-1604-x64: Progress: 53% (Rate: 4275k/s, Estimated time remaining: 0:01:07)    ubuntu-server-1604-x64: Progress: 54% (Rate: 4162k/s, Estimated time remaining: 0:01:07)    ubuntu-server-1604-x64: Progress: 55% (Rate: 4087k/s, Estimated time remaining: 0:01:06     ubuntu-server-1604-x64: Progress: 55% (Rate: 4032k/s, Estimated time remaining: 0:01:05)    ubuntu-server-1604-x64: Progress: 56% (Rate: 3862k/s, Estimated time remaining: 0:01:04)    ubuntu-server-1604-x64: Progress: 56% (Rate: 3767k/s, Estimated time remaining: 0:01:04)    ubuntu-server-1604-x64: Progress: 57% (Rate: 3909k/s, Estimated time remaining: 0:01:03)    ubuntu-server-1604-x64: Progress: 58% (Rate: 3913k/s, Estimated time remaining: 0:01:02)    ubuntu-server-1604-x64: Progress: 58% (Rate: 4164k/s, Estimated time remaining: 0:01:01)    ubuntu-server-1604-x64: Progress: 59% (Rate: 4300k/s, Estimated time remaining: 0:01:00)    ubuntu-server-1604-x64: Progress: 60% (Rate: 4435k/s, Estimated time remaining: 0:00:59)    ubuntu-server-1604-x64: Progress: 60% (Rate: 4517k/s, Estimated time remaining: 0:00:57)    ubuntu-server-1604-x64: Progress: 61% (Rate: 4680k/s, Estimated time remaining: 0:00:56)    ubuntu-server-1604-x64: Progress: 62% (Rate: 4666k/s, Estimated time remaining: 0:00:55)    ubuntu-server-1604-x64: Progress: 63% (Rate: 4618k/s, Estimated time remaining: 0:00:54)    ubuntu-server-1604-x64: Progress: 63% (Rate: 4607k/s, Estimated time remaining: 0:00:53)    ubuntu-server-1604-x64: Progress: 64% (Rate: 4550k/s, Estimated time remaining: 0:00:52)    ubuntu-server-1604-x64: Progress: 65% (Rate: 4512k/s, Estimated time remaining: 0:00:51)    ubuntu-server-1604-x64: Progress: 65% (Rate: 4399k/s, Estimated time remaining: 0:00:50)    ubuntu-server-1604-x64: Progress: 66% (Rate: 4448k/s, Estimated time remaining: 0:00:49)    ubuntu-server-1604-x64: Progress: 67% (Rate: 4296k/s, Estimated time remaining: 0:00:48)    ubuntu-server-1604-x64: Progress: 67% (Rate: 4083k/s, Estimated time remaining: 0:00:48)    ubuntu-server-1604-x64: Progress: 68% (Rate: 4006k/s, Estimated time remaining: 0:00:47)    ubuntu-server-1604-x64: Progress: 68% (Rate: 3961k/s, Estimated time remaining: 0:00:46)    ubuntu-server-1604-x64: Progress: 69% (Rate: 3894k/s, Estimated time remaining: 0:00:45)    ubuntu-server-1604-x64: Progress: 70% (Rate: 4012k/s, Estimated time remaining: 0:00:44)    ubuntu-server-1604-x64: Progress: 70% (Rate: 4208k/s, Estimated time remaining: 0:00:43)    ubuntu-server-1604-x64: Progress: 71% (Rate: 4464k/s, Estimated time remaining: 0:00:42)    ubuntu-server-1604-x64: Progress: 72% (Rate: 4544k/s, Estimated time remaining: 0:00:41)    ubuntu-server-1604-x64: Progress: 73% (Rate: 4723k/s, Estimated time remaining: 0:00:40)    ubuntu-server-1604-x64: Progress: 73% (Rate: 4864k/s, Estimated time remaining: 0:00:38)    ubuntu-server-1604-x64: Progress: 74% (Rate: 5030k/s, Estimated time remaining: 0:00:37)    ubuntu-server-1604-x64: Progress: 75% (Rate: 4986k/s, Estimated time remaining: 0:00:36)    ubuntu-server-1604-x64: Progress: 76% (Rate: 5081k/s, Estimated time remaining: 0:00:35)    ubuntu-server-1604-x64: Progress: 77% (Rate: 5177k/s, Estimated time remaining: 0:00:34)    ubuntu-server-1604-x64: Progress: 77% (Rate: 4881k/s, Estimated time remaining: 0:00:33)    ubuntu-server-1604-x64: Progress: 78% (Rate: 4669k/s, Estimated time remaining: 0:00:32)    ubuntu-server-1604-x64: Progress: 78% (Rate: 4446k/s, Estimated time remaining: 0:00:31)    ubuntu-server-1604-x64: Progress: 79% (Rate: 4248k/s, Estimated time remaining: 0:00:30)    ubuntu-server-1604-x64: Progress: 80% (Rate: 3942k/s, Estimated time remaining: 0:00:29)    ubuntu-server-1604-x64: Progress: 80% (Rate: 4083k/s, Estimated time remaining: 0:00:28)    ubuntu-server-1604-x64: Progress: 81% (Rate: 4080k/s, Estimated time remaining: 0:00:27)    ubuntu-server-1604-x64: Progress: 81% (Rate: 4073k/s, Estimated time remaining: 0:00:27)    ubuntu-server-1604-x64: Progress: 82% (Rate: 4124k/s, Estimated time remaining: 0:00:26)    ubuntu-server-1604-x64: Progress: 83% (Rate: 4185k/s, Estimated time remaining: 0:00:25)    ubuntu-server-1604-x64: Progress: 83% (Rate: 4227k/s, Estimated time remaining: 0:00:24)    ubuntu-server-1604-x64: Progress: 84% (Rate: 4295k/s, Estimated time remaining: 0:00:23)    ubuntu-server-1604-x64: Progress: 85% (Rate: 4416k/s, Estimated time remaining: 0:00:22)    ubuntu-server-1604-x64: Progress: 86% (Rate: 4516k/s, Estimated time remaining: 0:00:20)    ubuntu-server-1604-x64: Progress: 86% (Rate: 4764k/s, Estimated time remaining: 0:00:19)    ubuntu-server-1604-x64: Progress: 87% (Rate: 4976k/s, Estimated time remaining: 0:00:18)    ubuntu-server-1604-x64: Progress: 88% (Rate: 4934k/s, Estimated time remaining: 0:00:17)    ubuntu-server-1604-x64: Progress: 89% (Rate: 4921k/s, Estimated time remaining: 0:00:16)    ubuntu-server-1604-x64: Progress: 89% (Rate: 4844k/s, Estimated time remaining: 0:00:15)    ubuntu-server-1604-x64: Progress: 90% (Rate: 4627k/s, Estimated time remaining: 0:00:14)    ubuntu-server-1604-x64: Progress: 91% (Rate: 4448k/s, Estimated time remaining: 0:00:13     ubuntu-server-1604-x64: Progress: 91% (Rate: 4585k/s, Estimated time remaining: 0:00:12)    ubuntu-server-1604-x64: Progress: 92% (Rate: 4636k/s, Estimated time remaining: 0:00:11)    ubuntu-server-1604-x64: Progress: 93% (Rate: 4667k/s, Estimated time remaining: 0:00:10)    ubuntu-server-1604-x64: Progress: 94% (Rate: 4677k/s, Estimated time remaining: 0:00:09)    ubuntu-server-1604-x64: Progress: 94% (Rate: 4697k/s, Estimated time remaining: 0:00:08)    ubuntu-server-1604-x64: Progress: 95% (Rate: 4611k/s, Estimated time remaining: 0:00:07)    ubuntu-server-1604-x64: Progress: 96% (Rate: 4425k/s, Estimated time remaining: 0:00:06)    ubuntu-server-1604-x64: Progress: 96% (Rate: 4439k/s, Estimated time remaining: 0:00:05)    ubuntu-server-1604-x64: Progress: 97% (Rate: 4454k/s, Estimated time remaining: 0:00:04)    ubuntu-server-1604-x64: Progress: 98% (Rate: 4464k/s, Estimated time remaining: 0:00:03)    ubuntu-server-1604-x64: Progress: 98% (Rate: 4517k/s, Estimated time remaining: 0:00:02)    ubuntu-server-1604-x64: Progress: 99% (Rate: 4713k/s, Estimated time remaining: --:--:--)==> ubuntu-server-1604-x64: Successfully added box 'puppetlabs/ubuntu-16.04-64-nocm' (v1.0.0) for 'virtualbox'!
==> ubuntu-server-1604-x64: Importing base box 'puppetlabs/ubuntu-16.04-64-nocm'...
Progress: 10%Progress: 20%Progress: 30%Progress: 40%Progress: 50%Progress: 70%Progress: 80%Progress: 90%==> ubuntu-server-1604-x64: Matching MAC address for NAT networking...
==> ubuntu-server-1604-x64: Checking if box 'puppetlabs/ubuntu-16.04-64-nocm' is up to date...
==> ubuntu-server-1604-x64: Setting the name of the VM: ubuntu-server-1604-x64yml_ubuntu-server-1604-x64_1480545995832_83320
==> ubuntu-server-1604-x64: Fixed port collision for 22 => 2222. Now on port 2201.
==> ubuntu-server-1604-x64: Clearing any previously set network interfaces...
==> ubuntu-server-1604-x64: Preparing network interfaces based on configuration...
    ubuntu-server-1604-x64: Adapter 1: nat
    ubuntu-server-1604-x64: Adapter 2: hostonly
==> ubuntu-server-1604-x64: Forwarding ports...
    ubuntu-server-1604-x64: 22 (guest) => 2201 (host) (adapter 1)
==> ubuntu-server-1604-x64: Running 'pre-boot' VM customizations...
==> ubuntu-server-1604-x64: Booting VM...
==> ubuntu-server-1604-x64: Waiting for machine to boot. This may take a few minutes...
    ubuntu-server-1604-x64: SSH address: 127.0.0.1:2201
    ubuntu-server-1604-x64: SSH username: vagrant
    ubuntu-server-1604-x64: SSH auth method: private key
==> ubuntu-server-1604-x64: Machine booted and ready!
==> ubuntu-server-1604-x64: Checking for guest additions in VM...
    ubuntu-server-1604-x64: The guest additions on this VM do not match the installed version of
    ubuntu-server-1604-x64: VirtualBox! In most cases this is fine, but in rare cases it can
    ubuntu-server-1604-x64: prevent things such as shared folders from working properly. If you see
    ubuntu-server-1604-x64: shared folder errors, please make sure the guest additions within the
    ubuntu-server-1604-x64: virtual machine match the version of VirtualBox you have installed on
    ubuntu-server-1604-x64: your host and reload your VM.
    ubuntu-server-1604-x64: 
    ubuntu-server-1604-x64: Guest Additions Version: 5.0.20
    ubuntu-server-1604-x64: VirtualBox Version: 5.1
==> ubuntu-server-1604-x64: Setting hostname...
==> ubuntu-server-1604-x64: Configuring and enabling network interfaces...
==> ubuntu-server-1604-x64: Mounting shared folders...
    ubuntu-server-1604-x64: /vagrant => /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vagrant/beaker_vagrant_files/ubuntu-server-1604-x64.yml
Disabling updates.puppetlabs.com by modifying hosts file to resolve updates to 127.0.0.1 on ubuntu-server-1604-x64
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec': Host 'ubuntu-server-1604-x64' exited with 8 running: (Beaker::Host::CommandFailure)
 wget -O /tmp/puppet.deb http://apt.puppetlabs.com/puppetlabs-release-xenial.deb
Last 10 lines of output were:
    --2016-11-30 14:47:04--  http://apt.puppetlabs.com/puppetlabs-release-xenial.deb
    Resolving apt.puppetlabs.com (apt.puppetlabs.com)... 192.155.89.90, 2600:3c03::f03c:91ff:fedb:6b1d
    Connecting to apt.puppetlabs.com (apt.puppetlabs.com)|192.155.89.90|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2016-11-30 14:47:04 ERROR 404: Not Found.
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:911:in `block in install_puppetlabs_release_repo_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:876:in `install_puppetlabs_release_repo_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:467:in `block in install_puppet_from_deb_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:466:in `install_puppet_from_deb_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:273:in `block in install_puppet_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:115:in `block in run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:114:in `map'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:114:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:265:in `install_puppet_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:207:in `install_puppet'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/spec_helper_acceptance.rb:11:in `block in <top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/spec_helper_acceptance.rb:6:in `each'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/spec_helper_acceptance.rb:6:in `<top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/basic_webhook_spec.rb:1:in `require'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/basic_webhook_spec.rb:1:in `<top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `load'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `block in load_spec_files'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `each'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `load_spec_files'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:100:in `setup'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:86:in `run'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec:4:in `<main>'
/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color failed
bastelfreak@bastelfreak-ws ~/modulesync_config/modules/puppet-r10k $ bundle exec rake beaker:ubuntu-server-1404-x64
/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-rspec-6.0.0/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/specinfra-2.66.0/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
Beaker::Hypervisor, found some vagrant boxes to create
Bringing machine 'ubuntu-server-1404-x64' up with 'virtualbox' provider...
==> ubuntu-server-1404-x64: Importing base box 'puppetlabs/ubuntu-14.04-64-nocm'...
Progress: 10%Progress: 20%Progress: 30%Progress: 40%Progress: 50%Progress: 60%Progress: 80%Progress: 90%==> ubuntu-server-1404-x64: Matching MAC address for NAT networking...
==> ubuntu-server-1404-x64: Checking if box 'puppetlabs/ubuntu-14.04-64-nocm' is up to date...
==> ubuntu-server-1404-x64: Setting the name of the VM: ubuntu-server-1404-x64yml_ubuntu-server-1404-x64_1480546089140_66003
==> ubuntu-server-1404-x64: Fixed port collision for 22 => 2222. Now on port 2202.
==> ubuntu-server-1404-x64: Clearing any previously set network interfaces...
==> ubuntu-server-1404-x64: Preparing network interfaces based on configuration...
    ubuntu-server-1404-x64: Adapter 1: nat
    ubuntu-server-1404-x64: Adapter 2: hostonly
==> ubuntu-server-1404-x64: Forwarding ports...
    ubuntu-server-1404-x64: 22 (guest) => 2202 (host) (adapter 1)
==> ubuntu-server-1404-x64: Running 'pre-boot' VM customizations...
==> ubuntu-server-1404-x64: Booting VM...
==> ubuntu-server-1404-x64: Waiting for machine to boot. This may take a few minutes...
    ubuntu-server-1404-x64: SSH address: 127.0.0.1:2202
    ubuntu-server-1404-x64: SSH username: vagrant
    ubuntu-server-1404-x64: SSH auth method: private key
==> ubuntu-server-1404-x64: Machine booted and ready!
==> ubuntu-server-1404-x64: Checking for guest additions in VM...
    ubuntu-server-1404-x64: The guest additions on this VM do not match the installed version of
    ubuntu-server-1404-x64: VirtualBox! In most cases this is fine, but in rare cases it can
    ubuntu-server-1404-x64: prevent things such as shared folders from working properly. If you see
    ubuntu-server-1404-x64: shared folder errors, please make sure the guest additions within the
    ubuntu-server-1404-x64: virtual machine match the version of VirtualBox you have installed on
    ubuntu-server-1404-x64: your host and reload your VM.
    ubuntu-server-1404-x64: 
    ubuntu-server-1404-x64: Guest Additions Version: 5.0.16
    ubuntu-server-1404-x64: VirtualBox Version: 5.1
==> ubuntu-server-1404-x64: Setting hostname...
==> ubuntu-server-1404-x64: Configuring and enabling network interfaces...
==> ubuntu-server-1404-x64: Mounting shared folders...
    ubuntu-server-1404-x64: /vagrant => /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vagrant/beaker_vagrant_files/ubuntu-server-1404-x64.yml
Disabling updates.puppetlabs.com by modifying hosts file to resolve updates to 127.0.0.1 on ubuntu-server-1404-x64
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec': Host 'ubuntu-server-1404-x64' exited with 7 running: (Beaker::Host::CommandFailure)
 /usr/bin/curl -d '{ "repository": { "name": "puppetlabs-stdlib" } }' -H "Accept: application/json" "http://localhost:8088/module" -k -q
Last 10 lines of output were:
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed

      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8088: Connection refused
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/basic_webhook_spec.rb:32:in `block (2 levels) in <top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:385:in `module_exec'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:385:in `subclass'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:258:in `block in define_example_group_method'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/basic_webhook_spec.rb:4:in `block in <top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:385:in `module_exec'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:385:in `subclass'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:258:in `block in define_example_group_method'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/dsl.rb:43:in `block in expose_example_group_alias'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/dsl.rb:84:in `block (2 levels) in expose_example_group_alias_globally'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/basic_webhook_spec.rb:3:in `<top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `load'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `block in load_spec_files'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `each'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `load_spec_files'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:100:in `setup'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:86:in `run'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec:4:in `<main>'
/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color failed
bastelfreak@bastelfreak-ws ~/modulesync_config/modules/puppet-r10k $
bastelfreak commented 7 years ago

and master:

bastelfreak@bastelfreak-ws ~/modulesync_config/modules/puppet-r10k $ git checkout master 
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
bastelfreak@bastelfreak-ws ~/modulesync_config/modules/puppet-r10k $ bundle exec rake beaker:centos-72-x64 
/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-rspec-6.0.0/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/specinfra-2.66.0/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
Beaker::Hypervisor, found some vagrant boxes to create
==> centos-72-x64: Destroying VM and associated drives...
Bringing machine 'centos-72-x64' up with 'virtualbox' provider...
==> centos-72-x64: Importing base box 'puppetlabs/centos-7.2-64-nocm'...
Progress: 10%Progress: 20%Progress: 30%Progress: 50%Progress: 70%Progress: 90%==> centos-72-x64: Matching MAC address for NAT networking...
==> centos-72-x64: Checking if box 'puppetlabs/centos-7.2-64-nocm' is up to date...
==> centos-72-x64: Setting the name of the VM: centos-72-x64yml_centos-72-x64_1480546469216_33130
==> centos-72-x64: Clearing any previously set network interfaces...
==> centos-72-x64: Preparing network interfaces based on configuration...
    centos-72-x64: Adapter 1: nat
    centos-72-x64: Adapter 2: hostonly
==> centos-72-x64: Forwarding ports...
    centos-72-x64: 22 (guest) => 2222 (host) (adapter 1)
==> centos-72-x64: Running 'pre-boot' VM customizations...
==> centos-72-x64: Booting VM...
==> centos-72-x64: Waiting for machine to boot. This may take a few minutes...
    centos-72-x64: SSH address: 127.0.0.1:2222
    centos-72-x64: SSH username: vagrant
    centos-72-x64: SSH auth method: private key
    centos-72-x64: Warning: Remote connection disconnect. Retrying...
==> centos-72-x64: Machine booted and ready!
==> centos-72-x64: Checking for guest additions in VM...
    centos-72-x64: The guest additions on this VM do not match the installed version of
    centos-72-x64: VirtualBox! In most cases this is fine, but in rare cases it can
    centos-72-x64: prevent things such as shared folders from working properly. If you see
    centos-72-x64: shared folder errors, please make sure the guest additions within the
    centos-72-x64: virtual machine match the version of VirtualBox you have installed on
    centos-72-x64: your host and reload your VM.
    centos-72-x64: 
    centos-72-x64: Guest Additions Version: 5.0.16
    centos-72-x64: VirtualBox Version: 5.1
==> centos-72-x64: Setting hostname...
==> centos-72-x64: Configuring and enabling network interfaces...
==> centos-72-x64: Mounting shared folders...
    centos-72-x64: /vagrant => /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vagrant/beaker_vagrant_files/centos-72-x64.yml
Disabling updates.puppetlabs.com by modifying hosts file to resolve updates to 127.0.0.1 on centos-72-x64
localhost $ scp /home/bastelfreak/modulesync_config/modules/puppet-r10k centos-72-x64:/etc/puppet/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}

System Ruby with No SSL, Not protected, No mcollective
  default parameters
localhost $ scp /tmp/beaker20161130-20110-fukzsq centos-72-x64:/tmp/apply_manifest.pp.r6RSBu {:ignore => }
    applies with no errors
localhost $ scp /tmp/beaker20161130-20110-bvnh23 centos-72-x64:/tmp/apply_manifest.pp.5yMcO8 {:ignore => }
    is idempotent
    supports style Github payloads via module end point
    supports style Bitbucket payloads via module end point
    supports style Github payloads via payload end point (FAILED - 1)
    supports style Gitorious payloads via payload end point (FAILED - 2)
    supports style BitBucket payloads via payload end point (FAILED - 3)
    Service "webhook"
      should be enabled
      should be running

Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective
  default parameters
localhost $ scp /tmp/beaker20161130-20110-pdehmo centos-72-x64:/tmp/apply_manifest.pp.HujIzm {:ignore => }
    applies with no errors
localhost $ scp /tmp/beaker20161130-20110-muvhnl centos-72-x64:/tmp/apply_manifest.pp.nvOE5T {:ignore => }
    is idempotent
    calculates webteam prefix Github payloads via payload end point (FAILED - 4)
    calculates secteam prefix with Github payloads via payload end point (FAILED - 5)
    calculates custom prefix with Github payloads via payload end point (FAILED - 6)
    calculates no prefix Github payloads via payload end point (FAILED - 7)
    Service "webhook"
      should be enabled
      should be running

GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective
  default parameters
localhost $ scp /tmp/beaker20161130-20110-q4k22g centos-72-x64:/tmp/apply_manifest.pp.1dZNQp {:ignore => }
    applies with no errors
localhost $ scp /tmp/beaker20161130-20110-13555i5 centos-72-x64:/tmp/apply_manifest.pp.SjGX2t {:ignore => }
    is idempotent
Digest::Digest is deprecated; use Digest
    supports style Github payloads via module end point with signature in header
Digest::Digest is deprecated; use Digest
/home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/signature_webhook_spec.rb:43: warning: already initialized constant HMAC_DIGEST
/home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/signature_webhook_spec.rb:34: warning: previous definition of HMAC_DIGEST was here
    supports style Github payloads via payload end point with signature in header (FAILED - 8)
    Service "webhook"
      should be enabled
      should be running
Destroying vagrant boxes
==> centos-72-x64: Forcing shutdown of VM...
==> centos-72-x64: Destroying VM and associated drives...

Failures:

  1) System Ruby with No SSL, Not protected, No mcollective default parameters supports style Github payloads via payload end point
     Failure/Error: expect(r.stdout).to match(%r{^.*success.*$})
       expected "{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is de.../httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}" to match /^.*success.*$/
       Diff:
       @@ -1,2 +1,2 @@
       -/^.*success.*$/
       +"{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is deprecated.\\nWARN\\t -> Please move your r10k configuration to /etc/puppetlabs/r10k/r10k.yaml.\\nERROR\\t -> Unable to determine current branches for Git source 'puppet' (/etc/puppet/environments)\\nOriginal exception:\\nPermission denied - /var/cache/r10k\\n\",\"trace\":[\"/usr/local/bin/webhook:189:in `run_command'\",\"/usr/local/bin/webhook:228:in `deploy'\",\"/usr/local/bin/webhook:155:in `block in <class:Server>'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `block in compile!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `[]'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (3 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in `route_eval'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (2 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in `block in process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in `block in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `each'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in `block in dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in `dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `block in call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/nulllogger.rb:9:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/head.rb:13:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb:25:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `block in call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in `synchronize'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/handler/webrick.rb:88:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:138:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}"

     # ./spec/acceptance/basic_webhook_spec.rb:46:in `block (4 levels) in <top (required)>'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:93:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
     # ./spec/acceptance/basic_webhook_spec.rb:45:in `block (3 levels) in <top (required)>'

  2) System Ruby with No SSL, Not protected, No mcollective default parameters supports style Gitorious payloads via payload end point
     Failure/Error: expect(r.stdout).to match(%r{^.*success.*$})
       expected "{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is de.../httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}" to match /^.*success.*$/
       Diff:
       @@ -1,2 +1,2 @@
       -/^.*success.*$/
       +"{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is deprecated.\\nWARN\\t -> Please move your r10k configuration to /etc/puppetlabs/r10k/r10k.yaml.\\nERROR\\t -> Unable to determine current branches for Git source 'puppet' (/etc/puppet/environments)\\nOriginal exception:\\nPermission denied - /var/cache/r10k\\n\",\"trace\":[\"/usr/local/bin/webhook:189:in `run_command'\",\"/usr/local/bin/webhook:228:in `deploy'\",\"/usr/local/bin/webhook:155:in `block in <class:Server>'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `block in compile!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `[]'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (3 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in `route_eval'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (2 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in `block in process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in `block in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `each'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in `block in dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in `dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `block in call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/nulllogger.rb:9:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/head.rb:13:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb:25:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `block in call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in `synchronize'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/handler/webrick.rb:88:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:138:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}"

     # ./spec/acceptance/basic_webhook_spec.rb:52:in `block (4 levels) in <top (required)>'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:93:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
     # ./spec/acceptance/basic_webhook_spec.rb:51:in `block (3 levels) in <top (required)>'

  3) System Ruby with No SSL, Not protected, No mcollective default parameters supports style BitBucket payloads via payload end point
     Failure/Error: expect(r.stdout).to match(%r{^.*success.*$})
       expected "{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is de.../httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}" to match /^.*success.*$/
       Diff:
       @@ -1,2 +1,2 @@
       -/^.*success.*$/
       +"{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is deprecated.\\nWARN\\t -> Please move your r10k configuration to /etc/puppetlabs/r10k/r10k.yaml.\\nERROR\\t -> Unable to determine current branches for Git source 'puppet' (/etc/puppet/environments)\\nOriginal exception:\\nPermission denied - /var/cache/r10k\\n\",\"trace\":[\"/usr/local/bin/webhook:189:in `run_command'\",\"/usr/local/bin/webhook:228:in `deploy'\",\"/usr/local/bin/webhook:155:in `block in <class:Server>'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `block in compile!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `[]'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (3 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in `route_eval'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (2 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in `block in process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in `block in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `each'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in `block in dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in `dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `block in call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/nulllogger.rb:9:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/head.rb:13:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb:25:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `block in call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in `synchronize'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/handler/webrick.rb:88:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:138:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}"

     # ./spec/acceptance/basic_webhook_spec.rb:58:in `block (4 levels) in <top (required)>'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:93:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
     # ./spec/acceptance/basic_webhook_spec.rb:57:in `block (3 levels) in <top (required)>'

  4) Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates webteam prefix Github payloads via payload end point
     Failure/Error: expect(r.stdout).to match(%r{^.*webteam_production.*$})
       expected "{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is de.../httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}" to match /^.*webteam_production.*$/
       Diff:
       @@ -1,2 +1,2 @@
       -/^.*webteam_production.*$/
       +"{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is deprecated.\\nWARN\\t -> Please move your r10k configuration to /etc/puppetlabs/r10k/r10k.yaml.\\nERROR\\t -> Unable to determine current branches for Git source 'customprefix' (${::settings::confdir}/environments)\\nOriginal exception:\\nPermission denied - /var/cache/r10k\\n\",\"trace\":[\"/usr/local/bin/webhook:189:in `run_command'\",\"/usr/local/bin/webhook:228:in `deploy'\",\"/usr/local/bin/webhook:157:in `block in <class:Server>'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `block in compile!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `[]'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (3 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in `route_eval'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (2 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in `block in process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in `block in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `each'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in `block in dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in `dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `block in call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/nulllogger.rb:9:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/head.rb:13:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb:25:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `block in call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in `synchronize'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/handler/webrick.rb:88:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:138:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}"

     # ./spec/acceptance/prefix_webhook_spec.rb:63:in `block (4 levels) in <top (required)>'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:93:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
     # ./spec/acceptance/prefix_webhook_spec.rb:62:in `block (3 levels) in <top (required)>'

  5) Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates secteam prefix with Github payloads via payload end point
     Failure/Error: expect(r.stdout).to match(%r{^.*secteam_production.*$})
       expected "{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is de.../httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}" to match /^.*secteam_production.*$/
       Diff:
       @@ -1,2 +1,2 @@
       -/^.*secteam_production.*$/
       +"{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is deprecated.\\nWARN\\t -> Please move your r10k configuration to /etc/puppetlabs/r10k/r10k.yaml.\\nERROR\\t -> Unable to determine current branches for Git source 'customprefix' (${::settings::confdir}/environments)\\nOriginal exception:\\nPermission denied - /var/cache/r10k\\n\",\"trace\":[\"/usr/local/bin/webhook:189:in `run_command'\",\"/usr/local/bin/webhook:228:in `deploy'\",\"/usr/local/bin/webhook:157:in `block in <class:Server>'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `block in compile!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `[]'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (3 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in `route_eval'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (2 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in `block in process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in `block in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `each'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in `block in dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in `dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `block in call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/nulllogger.rb:9:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/head.rb:13:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb:25:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `block in call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in `synchronize'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/handler/webrick.rb:88:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:138:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}"

     # ./spec/acceptance/prefix_webhook_spec.rb:69:in `block (4 levels) in <top (required)>'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:93:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
     # ./spec/acceptance/prefix_webhook_spec.rb:68:in `block (3 levels) in <top (required)>'

  6) Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates custom prefix with Github payloads via payload end point
     Failure/Error: expect(r.stdout).to match(%r{^.*custom_production.*$})
       expected "{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is de.../httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}" to match /^.*custom_production.*$/
       Diff:
       @@ -1,2 +1,2 @@
       -/^.*custom_production.*$/
       +"{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is deprecated.\\nWARN\\t -> Please move your r10k configuration to /etc/puppetlabs/r10k/r10k.yaml.\\nERROR\\t -> Unable to determine current branches for Git source 'customprefix' (${::settings::confdir}/environments)\\nOriginal exception:\\nPermission denied - /var/cache/r10k\\n\",\"trace\":[\"/usr/local/bin/webhook:189:in `run_command'\",\"/usr/local/bin/webhook:228:in `deploy'\",\"/usr/local/bin/webhook:157:in `block in <class:Server>'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `block in compile!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `[]'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (3 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in `route_eval'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (2 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in `block in process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in `block in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `each'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in `block in dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in `dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `block in call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/nulllogger.rb:9:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/head.rb:13:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb:25:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `block in call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in `synchronize'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/handler/webrick.rb:88:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:138:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}"

     # ./spec/acceptance/prefix_webhook_spec.rb:75:in `block (4 levels) in <top (required)>'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:93:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
     # ./spec/acceptance/prefix_webhook_spec.rb:74:in `block (3 levels) in <top (required)>'

  7) Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates no prefix Github payloads via payload end point
     Failure/Error: expect(r.stdout).to match(%r{^.* production.*$})
       expected "{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is de.../httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}" to match /^.* production.*$/
       Diff:
       @@ -1,2 +1,2 @@
       -/^.* production.*$/
       +"{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is deprecated.\\nWARN\\t -> Please move your r10k configuration to /etc/puppetlabs/r10k/r10k.yaml.\\nERROR\\t -> Unable to determine current branches for Git source 'customprefix' (${::settings::confdir}/environments)\\nOriginal exception:\\nPermission denied - /var/cache/r10k\\n\",\"trace\":[\"/usr/local/bin/webhook:189:in `run_command'\",\"/usr/local/bin/webhook:228:in `deploy'\",\"/usr/local/bin/webhook:155:in `block in <class:Server>'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `block in compile!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `[]'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (3 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in `route_eval'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (2 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in `block in process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in `block in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `each'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in `block in dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in `dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `block in call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/nulllogger.rb:9:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/head.rb:13:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb:25:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `block in call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in `synchronize'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/handler/webrick.rb:88:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:138:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}"

     # ./spec/acceptance/prefix_webhook_spec.rb:82:in `block (4 levels) in <top (required)>'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:93:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
     # ./spec/acceptance/prefix_webhook_spec.rb:81:in `block (3 levels) in <top (required)>'

  8) GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective default parameters supports style Github payloads via payload end point with signature in header
     Failure/Error: expect(r.stdout).to match(%r{^.*success.*$})
       expected "{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is de.../httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}" to match /^.*success.*$/
       Diff:
       @@ -1,2 +1,2 @@
       -/^.*success.*$/
       +"{\"status\":\"fail\",\"message\":\"\\nWARN\\t -> The r10k configuration file at /etc/r10k.yaml is deprecated.\\nWARN\\t -> Please move your r10k configuration to /etc/puppetlabs/r10k/r10k.yaml.\\nERROR\\t -> Unable to determine current branches for Git source 'puppet' (/etc/puppet/environments)\\nOriginal exception:\\nPermission denied - /var/cache/r10k\\n\",\"trace\":[\"/usr/local/bin/webhook:189:in `run_command'\",\"/usr/local/bin/webhook:228:in `deploy'\",\"/usr/local/bin/webhook:155:in `block in <class:Server>'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `block in compile!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `[]'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (3 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in `route_eval'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (2 levels) in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in `block in process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `process_route'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in `block in route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `each'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `route!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in `block in dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in `dispatch!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `block in call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `call!'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\",\"/usr/local/share/gems/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/nulllogger.rb:9:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/head.rb:13:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb:25:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in `call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `block in call'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in `synchronize'\",\"/usr/local/share/gems/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `call'\",\"/usr/local/share/gems/gems/rack-1.6.5/lib/rack/handler/webrick.rb:88:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:138:in `service'\",\"/usr/share/ruby/webrick/httpserver.rb:94:in `run'\",\"/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'\"]}"

     # ./spec/acceptance/signature_webhook_spec.rb:47:in `block (4 levels) in <top (required)>'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:93:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
     # ./spec/acceptance/signature_webhook_spec.rb:46:in `block (3 levels) in <top (required)>'

Finished in 2 minutes 2 seconds (files took 59.31 seconds to load)
23 examples, 8 failures

Failed examples:

rspec ./spec/acceptance/basic_webhook_spec.rb:44 # System Ruby with No SSL, Not protected, No mcollective default parameters supports style Github payloads via payload end point
rspec ./spec/acceptance/basic_webhook_spec.rb:50 # System Ruby with No SSL, Not protected, No mcollective default parameters supports style Gitorious payloads via payload end point
rspec ./spec/acceptance/basic_webhook_spec.rb:56 # System Ruby with No SSL, Not protected, No mcollective default parameters supports style BitBucket payloads via payload end point
rspec ./spec/acceptance/prefix_webhook_spec.rb:61 # Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates webteam prefix Github payloads via payload end point
rspec ./spec/acceptance/prefix_webhook_spec.rb:67 # Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates secteam prefix with Github payloads via payload end point
rspec ./spec/acceptance/prefix_webhook_spec.rb:73 # Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates custom prefix with Github payloads via payload end point
rspec ./spec/acceptance/prefix_webhook_spec.rb:80 # Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates no prefix Github payloads via payload end point
rspec ./spec/acceptance/signature_webhook_spec.rb:42 # GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective default parameters supports style Github payloads via payload end point with signature in header

/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color failed
bastelfreak@bastelfreak-ws ~/modulesync_config/modules/puppet-r10k $ bundle exec rake beaker:debian-82-x64
/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-rspec-6.0.0/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/specinfra-2.66.0/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
Beaker::Hypervisor, found some vagrant boxes to create
==> debian-82-x64: Destroying VM and associated drives...
Bringing machine 'debian-82-x64' up with 'virtualbox' provider...
==> debian-82-x64: Importing base box 'puppetlabs/debian-8.2-64-nocm'...
Progress: 10%Progress: 20%Progress: 30%Progress: 40%Progress: 50%Progress: 70%Progress: 80%Progress: 90%==> debian-82-x64: Matching MAC address for NAT networking...
==> debian-82-x64: Checking if box 'puppetlabs/debian-8.2-64-nocm' is up to date...
==> debian-82-x64: Setting the name of the VM: debian-82-x64yml_debian-82-x64_1480546675058_19025
==> debian-82-x64: Clearing any previously set network interfaces...
==> debian-82-x64: Preparing network interfaces based on configuration...
    debian-82-x64: Adapter 1: nat
    debian-82-x64: Adapter 2: hostonly
==> debian-82-x64: Forwarding ports...
    debian-82-x64: 22 (guest) => 2222 (host) (adapter 1)
==> debian-82-x64: Running 'pre-boot' VM customizations...
==> debian-82-x64: Booting VM...
==> debian-82-x64: Waiting for machine to boot. This may take a few minutes...
    debian-82-x64: SSH address: 127.0.0.1:2222
    debian-82-x64: SSH username: vagrant
    debian-82-x64: SSH auth method: private key
==> debian-82-x64: Machine booted and ready!
==> debian-82-x64: Checking for guest additions in VM...
    debian-82-x64: The guest additions on this VM do not match the installed version of
    debian-82-x64: VirtualBox! In most cases this is fine, but in rare cases it can
    debian-82-x64: prevent things such as shared folders from working properly. If you see
    debian-82-x64: shared folder errors, please make sure the guest additions within the
    debian-82-x64: virtual machine match the version of VirtualBox you have installed on
    debian-82-x64: your host and reload your VM.
    debian-82-x64: 
    debian-82-x64: Guest Additions Version: 5.0.16
    debian-82-x64: VirtualBox Version: 5.1
==> debian-82-x64: Setting hostname...
==> debian-82-x64: Configuring and enabling network interfaces...
==> debian-82-x64: Mounting shared folders...
    debian-82-x64: /vagrant => /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vagrant/beaker_vagrant_files/debian-82-x64.yml
Disabling updates.puppetlabs.com by modifying hosts file to resolve updates to 127.0.0.1 on debian-82-x64
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec': Host 'debian-82-x64' exited with 1 running: (Beaker::Host::CommandFailure)
 puppet agent --configprint hiera_config
Last 10 lines of output were:
        from /usr/lib/ruby/vendor_ruby/puppet/util.rb:14:in `<top (required)>'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/ruby/vendor_ruby/puppet.rb:8:in `<top (required)>'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:12:in `<top (required)>'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/bin/puppet:7:in `<main>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:39:in `[]'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:300:in `block in install_puppet_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:115:in `block in run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:114:in `map'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:114:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:265:in `install_puppet_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:207:in `install_puppet'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/spec_helper_acceptance.rb:11:in `block in <top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/spec_helper_acceptance.rb:6:in `each'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/spec_helper_acceptance.rb:6:in `<top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/basic_webhook_spec.rb:1:in `require'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/basic_webhook_spec.rb:1:in `<top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `load'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `block in load_spec_files'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `each'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `load_spec_files'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:100:in `setup'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:86:in `run'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec:4:in `<main>'
/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color failed
bastelfreak@bastelfreak-ws ~/modulesync_config/modules/puppet-r10k $ bundle exec rake beaker:ubuntu-server-1404-x64
/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-rspec-6.0.0/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/specinfra-2.66.0/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
Beaker::Hypervisor, found some vagrant boxes to create
==> ubuntu-server-1404-x64: Destroying VM and associated drives...
Bringing machine 'ubuntu-server-1404-x64' up with 'virtualbox' provider...
==> ubuntu-server-1404-x64: Importing base box 'puppetlabs/ubuntu-14.04-64-nocm'...
Progress: 10%Progress: 20%Progress: 30%Progress: 40%Progress: 50%Progress: 60%Progress: 70%Progress: 90%==> ubuntu-server-1404-x64: Matching MAC address for NAT networking...
==> ubuntu-server-1404-x64: Checking if box 'puppetlabs/ubuntu-14.04-64-nocm' is up to date...
==> ubuntu-server-1404-x64: Setting the name of the VM: ubuntu-server-1404-x64yml_ubuntu-server-1404-x64_1480546752714_33362
==> ubuntu-server-1404-x64: Fixed port collision for 22 => 2222. Now on port 2200.
==> ubuntu-server-1404-x64: Clearing any previously set network interfaces...
==> ubuntu-server-1404-x64: Preparing network interfaces based on configuration...
    ubuntu-server-1404-x64: Adapter 1: nat
    ubuntu-server-1404-x64: Adapter 2: hostonly
==> ubuntu-server-1404-x64: Forwarding ports...
    ubuntu-server-1404-x64: 22 (guest) => 2200 (host) (adapter 1)
==> ubuntu-server-1404-x64: Running 'pre-boot' VM customizations...
==> ubuntu-server-1404-x64: Booting VM...
==> ubuntu-server-1404-x64: Waiting for machine to boot. This may take a few minutes...
    ubuntu-server-1404-x64: SSH address: 127.0.0.1:2200
    ubuntu-server-1404-x64: SSH username: vagrant
    ubuntu-server-1404-x64: SSH auth method: private key
==> ubuntu-server-1404-x64: Machine booted and ready!
==> ubuntu-server-1404-x64: Checking for guest additions in VM...
    ubuntu-server-1404-x64: The guest additions on this VM do not match the installed version of
    ubuntu-server-1404-x64: VirtualBox! In most cases this is fine, but in rare cases it can
    ubuntu-server-1404-x64: prevent things such as shared folders from working properly. If you see
    ubuntu-server-1404-x64: shared folder errors, please make sure the guest additions within the
    ubuntu-server-1404-x64: virtual machine match the version of VirtualBox you have installed on
    ubuntu-server-1404-x64: your host and reload your VM.
    ubuntu-server-1404-x64: 
    ubuntu-server-1404-x64: Guest Additions Version: 5.0.16
    ubuntu-server-1404-x64: VirtualBox Version: 5.1
==> ubuntu-server-1404-x64: Setting hostname...
==> ubuntu-server-1404-x64: Configuring and enabling network interfaces...
==> ubuntu-server-1404-x64: Mounting shared folders...
    ubuntu-server-1404-x64: /vagrant => /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vagrant/beaker_vagrant_files/ubuntu-server-1404-x64.yml
Disabling updates.puppetlabs.com by modifying hosts file to resolve updates to 127.0.0.1 on ubuntu-server-1404-x64
localhost $ scp /home/bastelfreak/modulesync_config/modules/puppet-r10k ubuntu-server-1404-x64:/etc/puppet/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}

System Ruby with No SSL, Not protected, No mcollective
  default parameters
localhost $ scp /tmp/beaker20161201-24814-eaudyl ubuntu-server-1404-x64:/tmp/apply_manifest.pp.Omhctb {:ignore => }
    applies with no errors (FAILED - 1)
localhost $ scp /tmp/beaker20161201-24814-a9pn29 ubuntu-server-1404-x64:/tmp/apply_manifest.pp.Vpxcc6 {:ignore => }
    is idempotent (FAILED - 2)
    supports style Github payloads via module end point (FAILED - 3)
    supports style Bitbucket payloads via module end point (FAILED - 4)
    supports style Github payloads via payload end point (FAILED - 5)
    supports style Gitorious payloads via payload end point (FAILED - 6)
    supports style BitBucket payloads via payload end point (FAILED - 7)
    Service "webhook"
      should be enabled (FAILED - 8)
      should be running (FAILED - 9)

Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective
  default parameters
localhost $ scp /tmp/beaker20161201-24814-1corb33 ubuntu-server-1404-x64:/tmp/apply_manifest.pp.fCWRYx {:ignore => }
    applies with no errors (FAILED - 10)
localhost $ scp /tmp/beaker20161201-24814-1hxq0jp ubuntu-server-1404-x64:/tmp/apply_manifest.pp.MVLC9O {:ignore => }
    is idempotent (FAILED - 11)
    calculates webteam prefix Github payloads via payload end point (FAILED - 12)
    calculates secteam prefix with Github payloads via payload end point (FAILED - 13)
    calculates custom prefix with Github payloads via payload end point (FAILED - 14)
    calculates no prefix Github payloads via payload end point (FAILED - 15)
    Service "webhook"
      should be enabled (FAILED - 16)
      should be running (FAILED - 17)

GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective
  default parameters
localhost $ scp /tmp/beaker20161201-24814-5zid7k ubuntu-server-1404-x64:/tmp/apply_manifest.pp.0KyfM6 {:ignore => }
    applies with no errors (FAILED - 18)
localhost $ scp /tmp/beaker20161201-24814-1qr7ew5 ubuntu-server-1404-x64:/tmp/apply_manifest.pp.Ade9yo {:ignore => }
    is idempotent (FAILED - 19)
Digest::Digest is deprecated; use Digest
    supports style Github payloads via module end point with signature in header (FAILED - 20)
Digest::Digest is deprecated; use Digest
/home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/signature_webhook_spec.rb:43: warning: already initialized constant HMAC_DIGEST
/home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/signature_webhook_spec.rb:34: warning: previous definition of HMAC_DIGEST was here
    supports style Github payloads via payload end point with signature in header (FAILED - 21)
    Service "webhook"
      should be enabled (FAILED - 22)
      should be running (FAILED - 23)
Destroying vagrant boxes
==> ubuntu-server-1404-x64: Forcing shutdown of VM...
==> ubuntu-server-1404-x64: Destroying VM and associated drives...

Failures:

  1) System Ruby with No SSL, Not protected, No mcollective default parameters applies with no errors
     Failure/Error: apply_manifest(pp, :catch_failures => true) # rubocop:disable Style/HashSyntax
     Beaker::Host::CommandFailure:
       Host 'ubuntu-server-1404-x64' exited with 6 running:
        puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.Omhctb
       Last 10 lines of output were:
        Warning: /Stage[main]/R10k::Webhook/Service[webhook]: Skipping because of failed dependencies
        Notice: /Stage[main]/R10k::Webhook/Service[webhook]: Triggered 'refresh' from 3 events
        Notice: /Stage[main]/Git/Package[git]/ensure: ensure changed 'purged' to 'present'
        Notice: /Stage[main]/Ruby::Dev/Package[pkg-config]/ensure: ensure changed 'purged' to 'present'
        Notice: /Stage[main]/Ruby::Dev/Package[ruby-dev]/ensure: ensure changed 'purged' to 'present'
        Notice: /Stage[main]/Ruby::Dev/Package[ri]/ensure: ensure changed 'purged' to 'present'
        Notice: /Stage[main]/Ruby::Dev/Package[bundler]/ensure: created
        Notice: /Stage[main]/Ruby::Dev/Package[rake]/ensure: ensure changed 'purged' to 'present'
        Info: Creating state file /var/lib/puppet/state/state.yaml
        Notice: Finished catalog run in 62.64 seconds

     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:487:in `block in apply_manifest_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:416:in `apply_manifest_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:494:in `apply_manifest'
     # ./spec/acceptance/basic_webhook_spec.rb:23:in `block (3 levels) in <top (required)>'

  2) System Ruby with No SSL, Not protected, No mcollective default parameters is idempotent
     Failure/Error: apply_manifest(pp, :catch_changes => true) # rubocop:disable Style/HashSyntax
     Beaker::Host::CommandFailure:
       Host 'ubuntu-server-1404-x64' exited with 4 running:
        puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.Vpxcc6
       Last 10 lines of output were:
        Info: Loading facts
        Notice: Compiled catalog for ubuntu-server-1404-x64.fritz.box in environment production in 0.42 seconds
        Info: Applying configuration version '1480546939'
        Error: Execution of '/usr/bin/gem install --no-rdoc --no-ri json' returned 1: ERROR:  Error installing json:
            json requires Ruby version ~> 2.0.
        Error: /Stage[main]/R10k::Webhook::Package/Package[json]/ensure: change from absent to present failed: Execution of '/usr/bin/gem install --no-rdoc --no-ri json' returned 1: ERROR:  Error installing json:
            json requires Ruby version ~> 2.0.
        Notice: /Stage[main]/R10k::Webhook/Service[webhook]: Dependency Package[json] has failures: true
        Warning: /Stage[main]/R10k::Webhook/Service[webhook]: Skipping because of failed dependencies
        Notice: Finished catalog run in 1.31 seconds

     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:487:in `block in apply_manifest_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:416:in `apply_manifest_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:494:in `apply_manifest'
     # ./spec/acceptance/basic_webhook_spec.rb:26:in `block (3 levels) in <top (required)>'

  3) System Ruby with No SSL, Not protected, No mcollective default parameters supports style Github payloads via module end point
     Failure/Error:
       shell('/usr/bin/curl -d \'{ "repository": { "name": "puppetlabs-stdlib" } }\' -H "Accept: application/json" "http://localhost:8088/module" -k -q') do |r|
         expect(r.stdout).to match(%r{^.*success.*$})
         expect(r.exit_code).to eq(0)
       end
     Beaker::Host::CommandFailure:
       Host 'ubuntu-server-1404-x64' exited with 7 running:
        /usr/bin/curl -d '{ "repository": { "name": "puppetlabs-stdlib" } }' -H "Accept: application/json" "http://localhost:8088/module" -k -q
       Last 10 lines of output were:
          % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                         Dload  Upload   Total   Spent    Left  Speed

          0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8088: Connection refused

     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
     # ./spec/acceptance/basic_webhook_spec.rb:33:in `block (3 levels) in <top (required)>'

  4) System Ruby with No SSL, Not protected, No mcollective default parameters supports style Bitbucket payloads via module end point
     Failure/Error:
       shell('/usr/bin/curl -X POST -d \'{ "repository": { "full_name": "puppetlabs/puppetlabs-stdlib", "name": "PuppetLabs : StdLib" } }\' "http://localhost:8088/module" -k -q') do |r|
         expect(r.stdout).to match(%r{^.*success.*$})
         expect(r.exit_code).to eq(0)
       end
     Beaker::Host::CommandFailure:
       Host 'ubuntu-server-1404-x64' exited with 7 running:
        /usr/bin/curl -X POST -d '{ "repository": { "full_name": "puppetlabs/puppetlabs-stdlib", "name": "PuppetLabs : StdLib" } }' "http://localhost:8088/module" -k -q
       Last 10 lines of output were:
          % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                         Dload  Upload   Total   Spent    Left  Speed

          0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8088: Connection refused

     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
     # ./spec/acceptance/basic_webhook_spec.rb:39:in `block (3 levels) in <top (required)>'

  5) System Ruby with No SSL, Not protected, No mcollective default parameters supports style Github payloads via payload end point
     Failure/Error:
       shell('/usr/bin/curl -d \'{ "ref": "refs/heads/production" }\' -H "Accept: application/json" "http://localhost:8088/payload" -k -q') do |r|
         expect(r.stdout).to match(%r{^.*success.*$})
         expect(r.exit_code).to eq(0)
       end
     Beaker::Host::CommandFailure:
       Host 'ubuntu-server-1404-x64' exited with 7 running:
        /usr/bin/curl -d '{ "ref": "refs/heads/production" }' -H "Accept: application/json" "http://localhost:8088/payload" -k -q
       Last 10 lines of output were:
          % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                         Dload  Upload   Total   Spent    Left  Speed

          0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8088: Connection refused

     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
     # ./spec/acceptance/basic_webhook_spec.rb:45:in `block (3 levels) in <top (required)>'

  6) System Ruby with No SSL, Not protected, No mcollective default parameters supports style Gitorious payloads via payload end point
     Failure/Error:
       shell('/usr/bin/curl -X POST -d \'%7b%22ref%22%3a%22master%22%7d\' "http://localhost:8088/payload" -q') do |r|
         expect(r.stdout).to match(%r{^.*success.*$})
         expect(r.exit_code).to eq(0)
       end
     Beaker::Host::CommandFailure:
       Host 'ubuntu-server-1404-x64' exited with 7 running:
        /usr/bin/curl -X POST -d '%7b%22ref%22%3a%22master%22%7d' "http://localhost:8088/payload" -q
       Last 10 lines of output were:
          % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                         Dload  Upload   Total   Spent    Left  Speed

          0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8088: Connection refused

     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
     # ./spec/acceptance/basic_webhook_spec.rb:51:in `block (3 levels) in <top (required)>'

  7) System Ruby with No SSL, Not protected, No mcollective default parameters supports style BitBucket payloads via payload end point
     Failure/Error:
       shell('/usr/bin/curl -X POST -d \'{ "push": { "changes": [ { "new": { "name": "production" } } ] } }\' "http://localhost:8088/payload" -q') do |r|
         expect(r.stdout).to match(%r{^.*success.*$})
         expect(r.exit_code).to eq(0)
       end
     Beaker::Host::CommandFailure:
       Host 'ubuntu-server-1404-x64' exited with 7 running:
        /usr/bin/curl -X POST -d '{ "push": { "changes": [ { "new": { "name": "production" } } ] } }' "http://localhost:8088/payload" -q
       Last 10 lines of output were:
          % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                         Dload  Upload   Total   Spent    Left  Speed

          0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8088: Connection refused

     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
     # ./spec/acceptance/basic_webhook_spec.rb:57:in `block (3 levels) in <top (required)>'

  8) System Ruby with No SSL, Not protected, No mcollective default parameters Service "webhook" should be enabled
     Failure/Error: it { is_expected.to be_enabled }
       expected Service "webhook" to be enabled

     # ./spec/acceptance/basic_webhook_spec.rb:29:in `block (4 levels) in <top (required)>'

  9) System Ruby with No SSL, Not protected, No mcollective default parameters Service "webhook" should be running
     Failure/Error: it { is_expected.to be_running }
       expected Service "webhook" to be running

     # ./spec/acceptance/basic_webhook_spec.rb:30:in `block (4 levels) in <top (required)>'

  10) Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters applies with no errors
      Failure/Error: apply_manifest(pp, :catch_failures => true) # rubocop:disable Style/HashSyntax
      Beaker::Host::CommandFailure:
        Host 'ubuntu-server-1404-x64' exited with 6 running:
         puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.fCWRYx
        Last 10 lines of output were:
                json requires Ruby version ~> 2.0.
            Info: Computing checksum on file /etc/webhook.yaml
            Info: /Stage[main]/R10k::Webhook::Config/File[webhook.yaml]: Filebucketed /etc/webhook.yaml to puppet with sum dac6fe2458b8e81634ffb722895e7a78
            Notice: /Stage[main]/R10k::Webhook::Config/File[webhook.yaml]/content: content changed '{md5}dac6fe2458b8e81634ffb722895e7a78' to '{md5}d99a90558d87495230bb0f1d669acc14'
            Info: /Stage[main]/R10k::Webhook::Config/File[webhook.yaml]: Scheduling refresh of Service[webhook]
            Info: Class[R10k::Webhook::Config]: Scheduling refresh of Service[webhook]
            Notice: /Stage[main]/R10k::Webhook/Service[webhook]: Dependency Package[json] has failures: true
            Warning: /Stage[main]/R10k::Webhook/Service[webhook]: Skipping because of failed dependencies
            Notice: /Stage[main]/R10k::Webhook/Service[webhook]: Triggered 'refresh' from 2 events
            Notice: Finished catalog run in 0.53 seconds

      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:487:in `block in apply_manifest_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:416:in `apply_manifest_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:494:in `apply_manifest'
      # ./spec/acceptance/prefix_webhook_spec.rb:52:in `block (3 levels) in <top (required)>'

  11) Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters is idempotent
      Failure/Error: apply_manifest(pp, :catch_changes => true) # rubocop:disable Style/HashSyntax
      Beaker::Host::CommandFailure:
        Host 'ubuntu-server-1404-x64' exited with 4 running:
         puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.MVLC9O
        Last 10 lines of output were:
            Info: Loading facts
            Notice: Compiled catalog for ubuntu-server-1404-x64.fritz.box in environment production in 0.40 seconds
            Info: Applying configuration version '1480546949'
            Error: Execution of '/usr/bin/gem install --no-rdoc --no-ri json' returned 1: ERROR:  Error installing json:
                json requires Ruby version ~> 2.0.
            Error: /Stage[main]/R10k::Webhook::Package/Package[json]/ensure: change from absent to present failed: Execution of '/usr/bin/gem install --no-rdoc --no-ri json' returned 1: ERROR:  Error installing json:
                json requires Ruby version ~> 2.0.
            Notice: /Stage[main]/R10k::Webhook/Service[webhook]: Dependency Package[json] has failures: true
            Warning: /Stage[main]/R10k::Webhook/Service[webhook]: Skipping because of failed dependencies
            Notice: Finished catalog run in 0.50 seconds

      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:487:in `block in apply_manifest_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:416:in `apply_manifest_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:494:in `apply_manifest'
      # ./spec/acceptance/prefix_webhook_spec.rb:55:in `block (3 levels) in <top (required)>'

  12) Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates webteam prefix Github payloads via payload end point
      Failure/Error:
        shell('/usr/bin/curl -d \'{ "ref": "refs/heads/production", "repository": { "name": "puppet-control" , "url": "https://github.com/webteam/somerepo.git"} }\' -H "Accept: application/json" "http://localhost:8088/payload" -k -q') do |r|
          expect(r.stdout).to match(%r{^.*webteam_production.*$})
          expect(r.exit_code).to eq(0)
        end
      Beaker::Host::CommandFailure:
        Host 'ubuntu-server-1404-x64' exited with 7 running:
         /usr/bin/curl -d '{ "ref": "refs/heads/production", "repository": { "name": "puppet-control" , "url": "https://github.com/webteam/somerepo.git"} }' -H "Accept: application/json" "http://localhost:8088/payload" -k -q
        Last 10 lines of output were:
              % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                             Dload  Upload   Total   Spent    Left  Speed

              0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8088: Connection refused

      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
      # ./spec/acceptance/prefix_webhook_spec.rb:62:in `block (3 levels) in <top (required)>'

  13) Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates secteam prefix with Github payloads via payload end point
      Failure/Error:
        shell('/usr/bin/curl -d \'{ "ref": "refs/heads/production", "repository": { "name": "puppet-control" , "url": "https://github.com/secteam/someotherrepo.git"} }\' -H "Accept: application/json" "http://localhost:8088/payload" -k -q') do |r|
          expect(r.stdout).to match(%r{^.*secteam_production.*$})
          expect(r.exit_code).to eq(0)
        end
      Beaker::Host::CommandFailure:
        Host 'ubuntu-server-1404-x64' exited with 7 running:
         /usr/bin/curl -d '{ "ref": "refs/heads/production", "repository": { "name": "puppet-control" , "url": "https://github.com/secteam/someotherrepo.git"} }' -H "Accept: application/json" "http://localhost:8088/payload" -k -q
        Last 10 lines of output were:
              % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                             Dload  Upload   Total   Spent    Left  Speed

              0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8088: Connection refused

      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
      # ./spec/acceptance/prefix_webhook_spec.rb:68:in `block (3 levels) in <top (required)>'

  14) Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates custom prefix with Github payloads via payload end point
      Failure/Error:
        shell('/usr/bin/curl -d \'{ "ref": "refs/heads/production", "repository": { "name": "puppet-control" , "url": "https://github.com/customprefix/repo.git"} }\' -H "Accept: application/json" "http://localhost:8088/payload" -k -q') do |r|
          expect(r.stdout).to match(%r{^.*custom_production.*$})
          expect(r.exit_code).to eq(0)
        end
      Beaker::Host::CommandFailure:
        Host 'ubuntu-server-1404-x64' exited with 7 running:
         /usr/bin/curl -d '{ "ref": "refs/heads/production", "repository": { "name": "puppet-control" , "url": "https://github.com/customprefix/repo.git"} }' -H "Accept: application/json" "http://localhost:8088/payload" -k -q
        Last 10 lines of output were:
              % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                             Dload  Upload   Total   Spent    Left  Speed

              0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8088: Connection refused

      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
      # ./spec/acceptance/prefix_webhook_spec.rb:74:in `block (3 levels) in <top (required)>'

  15) Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates no prefix Github payloads via payload end point
      Failure/Error:
        shell('/usr/bin/curl -d \'{ "ref": "refs/heads/production", "repository": { "name": "puppet-control" , "url": "https://github.com/noprefix/repo.git"} }\' -H "Accept: application/json" "http://localhost:8088/payload" -k -q') do |r|
          expect(r.stdout).to match(%r{^.* production.*$})
          expect(r.exit_code).to eq(0)
        end
      Beaker::Host::CommandFailure:
        Host 'ubuntu-server-1404-x64' exited with 7 running:
         /usr/bin/curl -d '{ "ref": "refs/heads/production", "repository": { "name": "puppet-control" , "url": "https://github.com/noprefix/repo.git"} }' -H "Accept: application/json" "http://localhost:8088/payload" -k -q
        Last 10 lines of output were:
              % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                             Dload  Upload   Total   Spent    Left  Speed

              0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8088: Connection refused

      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
      # ./spec/acceptance/prefix_webhook_spec.rb:81:in `block (3 levels) in <top (required)>'

  16) Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters Service "webhook" should be enabled
      Failure/Error: it { is_expected.to be_enabled }
        expected Service "webhook" to be enabled

      # ./spec/acceptance/prefix_webhook_spec.rb:58:in `block (4 levels) in <top (required)>'

  17) Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters Service "webhook" should be running
      Failure/Error: it { is_expected.to be_running }
        expected Service "webhook" to be running

      # ./spec/acceptance/prefix_webhook_spec.rb:59:in `block (4 levels) in <top (required)>'

  18) GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective default parameters applies with no errors
      Failure/Error: apply_manifest(pp, catch_failures: true)
      Beaker::Host::CommandFailure:
        Host 'ubuntu-server-1404-x64' exited with 6 running:
         puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.0KyfM6
        Last 10 lines of output were:
            Error: Execution of '/usr/bin/gem install --no-rdoc --no-ri json' returned 1: ERROR:  Error installing json:
                json requires Ruby version ~> 2.0.
            Error: /Stage[main]/R10k::Webhook::Package/Package[json]/ensure: change from absent to present failed: Execution of '/usr/bin/gem install --no-rdoc --no-ri json' returned 1: ERROR:  Error installing json:
                json requires Ruby version ~> 2.0.
            Notice: /Stage[main]/R10k::Webhook::Config/File[webhook.yaml]/content: content changed '{md5}d99a90558d87495230bb0f1d669acc14' to '{md5}c3c003b7056ad717dae1293487d53957'
            Info: /Stage[main]/R10k::Webhook::Config/File[webhook.yaml]: Scheduling refresh of Service[webhook]
            Notice: /Stage[main]/R10k::Webhook/Service[webhook]: Dependency Package[json] has failures: true
            Warning: /Stage[main]/R10k::Webhook/Service[webhook]: Skipping because of failed dependencies
            Notice: /Stage[main]/R10k::Webhook/Service[webhook]: Triggered 'refresh' from 1 events
            Notice: Finished catalog run in 0.51 seconds

      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:487:in `block in apply_manifest_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:416:in `apply_manifest_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:494:in `apply_manifest'
      # ./spec/acceptance/signature_webhook_spec.rb:24:in `block (3 levels) in <top (required)>'

  19) GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective default parameters is idempotent
      Failure/Error: apply_manifest(pp, catch_changes: true)
      Beaker::Host::CommandFailure:
        Host 'ubuntu-server-1404-x64' exited with 4 running:
         puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.Ade9yo
        Last 10 lines of output were:
            Info: Loading facts
            Notice: Compiled catalog for ubuntu-server-1404-x64.fritz.box in environment production in 0.40 seconds
            Info: Applying configuration version '1480546956'
            Error: Execution of '/usr/bin/gem install --no-rdoc --no-ri json' returned 1: ERROR:  Error installing json:
                json requires Ruby version ~> 2.0.
            Error: /Stage[main]/R10k::Webhook::Package/Package[json]/ensure: change from absent to present failed: Execution of '/usr/bin/gem install --no-rdoc --no-ri json' returned 1: ERROR:  Error installing json:
                json requires Ruby version ~> 2.0.
            Notice: /Stage[main]/R10k::Webhook/Service[webhook]: Dependency Package[json] has failures: true
            Warning: /Stage[main]/R10k::Webhook/Service[webhook]: Skipping because of failed dependencies
            Notice: Finished catalog run in 0.49 seconds

      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:487:in `block in apply_manifest_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:416:in `apply_manifest_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/puppet_helpers.rb:494:in `apply_manifest'
      # ./spec/acceptance/signature_webhook_spec.rb:27:in `block (3 levels) in <top (required)>'

  20) GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective default parameters supports style Github payloads via module end point with signature in header
      Failure/Error:
        shell("/usr/bin/curl -d '{ \"repository\": { \"name\": \"puppetlabs-stdlib\" } }' -H \"Accept: application/json\" \"http://localhost:8088/module\" -H \"X-Hub-Signature: #{signature}\" -k -q") do |r|
          expect(r.stdout).to match(%r{^.*success.*$})
          expect(r.exit_code).to eq(0)
        end
      Beaker::Host::CommandFailure:
        Host 'ubuntu-server-1404-x64' exited with 7 running:
         /usr/bin/curl -d '{ "repository": { "name": "puppetlabs-stdlib" } }' -H "Accept: application/json" "http://localhost:8088/module" -H "X-Hub-Signature: sha1=8ffba77dd6168f73757bcceecf6c8a486fbd9d77" -k -q
        Last 10 lines of output were:
              % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                             Dload  Upload   Total   Spent    Left  Speed

              0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8088: Connection refused

      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
      # ./spec/acceptance/signature_webhook_spec.rb:37:in `block (3 levels) in <top (required)>'

  21) GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective default parameters supports style Github payloads via payload end point with signature in header
      Failure/Error:
        shell("/usr/bin/curl -d '{ \"ref\": \"refs/heads/production\" }' -H \"Accept: application/json\" -H \"X-Hub-Signature: #{signature}\" \"http://localhost:8088/payload\" -k -q") do |r|
          expect(r.stdout).to match(%r{^.*success.*$})
          expect(r.exit_code).to eq(0)
        end
      Beaker::Host::CommandFailure:
        Host 'ubuntu-server-1404-x64' exited with 7 running:
         /usr/bin/curl -d '{ "ref": "refs/heads/production" }' -H "Accept: application/json" -H "X-Hub-Signature: sha1=9f84f886200620e7a036658b40e64fbc765f82a3" "http://localhost:8088/payload" -k -q
        Last 10 lines of output were:
              % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                             Dload  Upload   Total   Spent    Left  Speed

              0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8088: Connection refused

      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
      # ./.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:125:in `shell'
      # ./spec/acceptance/signature_webhook_spec.rb:46:in `block (3 levels) in <top (required)>'

  22) GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective default parameters Service "webhook" should be enabled
      Failure/Error: it { is_expected.to be_enabled }
        expected Service "webhook" to be enabled

      # ./spec/acceptance/signature_webhook_spec.rb:30:in `block (4 levels) in <top (required)>'

  23) GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective default parameters Service "webhook" should be running
      Failure/Error: it { is_expected.to be_running }
        expected Service "webhook" to be running

      # ./spec/acceptance/signature_webhook_spec.rb:31:in `block (4 levels) in <top (required)>'

Finished in 2 minutes 31.8 seconds (files took 1 minute 12.76 seconds to load)
23 examples, 23 failures

Failed examples:

rspec ./spec/acceptance/basic_webhook_spec.rb:22 # System Ruby with No SSL, Not protected, No mcollective default parameters applies with no errors
rspec ./spec/acceptance/basic_webhook_spec.rb:25 # System Ruby with No SSL, Not protected, No mcollective default parameters is idempotent
rspec ./spec/acceptance/basic_webhook_spec.rb:32 # System Ruby with No SSL, Not protected, No mcollective default parameters supports style Github payloads via module end point
rspec ./spec/acceptance/basic_webhook_spec.rb:38 # System Ruby with No SSL, Not protected, No mcollective default parameters supports style Bitbucket payloads via module end point
rspec ./spec/acceptance/basic_webhook_spec.rb:44 # System Ruby with No SSL, Not protected, No mcollective default parameters supports style Github payloads via payload end point
rspec ./spec/acceptance/basic_webhook_spec.rb:50 # System Ruby with No SSL, Not protected, No mcollective default parameters supports style Gitorious payloads via payload end point
rspec ./spec/acceptance/basic_webhook_spec.rb:56 # System Ruby with No SSL, Not protected, No mcollective default parameters supports style BitBucket payloads via payload end point
rspec ./spec/acceptance/basic_webhook_spec.rb:29 # System Ruby with No SSL, Not protected, No mcollective default parameters Service "webhook" should be enabled
rspec ./spec/acceptance/basic_webhook_spec.rb:30 # System Ruby with No SSL, Not protected, No mcollective default parameters Service "webhook" should be running
rspec ./spec/acceptance/prefix_webhook_spec.rb:51 # Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters applies with no errors
rspec ./spec/acceptance/prefix_webhook_spec.rb:54 # Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters is idempotent
rspec ./spec/acceptance/prefix_webhook_spec.rb:61 # Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates webteam prefix Github payloads via payload end point
rspec ./spec/acceptance/prefix_webhook_spec.rb:67 # Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates secteam prefix with Github payloads via payload end point
rspec ./spec/acceptance/prefix_webhook_spec.rb:73 # Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates custom prefix with Github payloads via payload end point
rspec ./spec/acceptance/prefix_webhook_spec.rb:80 # Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters calculates no prefix Github payloads via payload end point
rspec ./spec/acceptance/prefix_webhook_spec.rb:58 # Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters Service "webhook" should be enabled
rspec ./spec/acceptance/prefix_webhook_spec.rb:59 # Prefix Enabled,System Ruby with No SSL, Not protected, No mcollective default parameters Service "webhook" should be running
rspec ./spec/acceptance/signature_webhook_spec.rb:23 # GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective default parameters applies with no errors
rspec ./spec/acceptance/signature_webhook_spec.rb:26 # GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective default parameters is idempotent
rspec ./spec/acceptance/signature_webhook_spec.rb:33 # GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective default parameters supports style Github payloads via module end point with signature in header
rspec ./spec/acceptance/signature_webhook_spec.rb:42 # GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective default parameters supports style Github payloads via payload end point with signature in header
rspec ./spec/acceptance/signature_webhook_spec.rb:30 # GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective default parameters Service "webhook" should be enabled
rspec ./spec/acceptance/signature_webhook_spec.rb:31 # GitHub Secret Enabled, System Ruby with No SSL, Not protected, No mcollective default parameters Service "webhook" should be running

/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color failed
bastelfreak@bastelfreak-ws ~/modulesync_config/modules/puppet-r10k $ bundle exec rake beaker:ubuntu-server-1604-x64
/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-rspec-6.0.0/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/specinfra-2.66.0/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
Beaker::Hypervisor, found some vagrant boxes to create
==> ubuntu-server-1604-x64: Destroying VM and associated drives...
Bringing machine 'ubuntu-server-1604-x64' up with 'virtualbox' provider...
==> ubuntu-server-1604-x64: Importing base box 'puppetlabs/ubuntu-16.04-64-nocm'...
Progress: 10%Progress: 20%Progress: 30%Progress: 40%Progress: 50%Progress: 70%Progress: 80%Progress: 90%==> ubuntu-server-1604-x64: Matching MAC address for NAT networking...
==> ubuntu-server-1604-x64: Checking if box 'puppetlabs/ubuntu-16.04-64-nocm' is up to date...
==> ubuntu-server-1604-x64: Setting the name of the VM: ubuntu-server-1604-x64yml_ubuntu-server-1604-x64_1480547007229_59171
==> ubuntu-server-1604-x64: Clearing any previously set network interfaces...
==> ubuntu-server-1604-x64: Preparing network interfaces based on configuration...
    ubuntu-server-1604-x64: Adapter 1: nat
    ubuntu-server-1604-x64: Adapter 2: hostonly
==> ubuntu-server-1604-x64: Forwarding ports...
    ubuntu-server-1604-x64: 22 (guest) => 2222 (host) (adapter 1)
==> ubuntu-server-1604-x64: Running 'pre-boot' VM customizations...
==> ubuntu-server-1604-x64: Booting VM...
==> ubuntu-server-1604-x64: Waiting for machine to boot. This may take a few minutes...
    ubuntu-server-1604-x64: SSH address: 127.0.0.1:2222
    ubuntu-server-1604-x64: SSH username: vagrant
    ubuntu-server-1604-x64: SSH auth method: private key
==> ubuntu-server-1604-x64: Machine booted and ready!
==> ubuntu-server-1604-x64: Checking for guest additions in VM...
    ubuntu-server-1604-x64: The guest additions on this VM do not match the installed version of
    ubuntu-server-1604-x64: VirtualBox! In most cases this is fine, but in rare cases it can
    ubuntu-server-1604-x64: prevent things such as shared folders from working properly. If you see
    ubuntu-server-1604-x64: shared folder errors, please make sure the guest additions within the
    ubuntu-server-1604-x64: virtual machine match the version of VirtualBox you have installed on
    ubuntu-server-1604-x64: your host and reload your VM.
    ubuntu-server-1604-x64: 
    ubuntu-server-1604-x64: Guest Additions Version: 5.0.20
    ubuntu-server-1604-x64: VirtualBox Version: 5.1
==> ubuntu-server-1604-x64: Setting hostname...
==> ubuntu-server-1604-x64: Configuring and enabling network interfaces...
==> ubuntu-server-1604-x64: Mounting shared folders...
    ubuntu-server-1604-x64: /vagrant => /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vagrant/beaker_vagrant_files/ubuntu-server-1604-x64.yml
Disabling updates.puppetlabs.com by modifying hosts file to resolve updates to 127.0.0.1 on ubuntu-server-1604-x64
/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/host.rb:366:in `exec': Host 'ubuntu-server-1604-x64' exited with 8 running: (Beaker::Host::CommandFailure)
 wget -O /tmp/puppet.deb http://apt.puppetlabs.com/puppetlabs-release-xenial.deb
Last 10 lines of output were:
    --2016-11-30 15:03:57--  http://apt.puppetlabs.com/puppetlabs-release-xenial.deb
    Resolving apt.puppetlabs.com (apt.puppetlabs.com)... 192.155.89.90, 2600:3c03::f03c:91ff:fedb:6b1d
    Connecting to apt.puppetlabs.com (apt.puppetlabs.com)|192.155.89.90|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2016-11-30 15:03:57 ERROR 404: Not Found.
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:911:in `block in install_puppetlabs_release_repo_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:876:in `install_puppetlabs_release_repo_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:467:in `block in install_puppet_from_deb_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:466:in `install_puppet_from_deb_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:273:in `block in install_puppet_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:115:in `block in run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:114:in `map'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/shared/host_manager.rb:114:in `run_block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:265:in `install_puppet_on'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/beaker-3.5.0/lib/beaker/dsl/install_utils/foss_utils.rb:207:in `install_puppet'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/spec_helper_acceptance.rb:11:in `block in <top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/spec_helper_acceptance.rb:6:in `each'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/spec_helper_acceptance.rb:6:in `<top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/basic_webhook_spec.rb:1:in `require'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/spec/acceptance/basic_webhook_spec.rb:1:in `<top (required)>'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `load'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `block in load_spec_files'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `each'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `load_spec_files'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:100:in `setup'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:86:in `run'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
    from /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec:4:in `<main>'
/usr/bin/ruby -I/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/lib:/home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/bastelfreak/modulesync_config/modules/puppet-r10k/.vendor/ruby/2.3.0/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color failed
bastelfreak@bastelfreak-ws ~/modulesync_config/modules/puppet-r10k $
rnelson0 commented 7 years ago

I would like to revisit this when removing Puppet 3 support; the acceptance tests are out of date but don't think there is a lot of value in rewriting for things that will be removed soon.

petems commented 7 years ago

See also #346

dhoppe commented 5 years ago

I think this issue can be closed, since we dropped Puppet 3 and the acceptance test do not fail anymore.