How to test Apache module on Arch Linux?

asked 2015-10-30 06:36:51 -0500

l0b0 gravatar image

Relevant test output:

$ bundle exec rspec spec/acceptance
/home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/beaker-rspec-5.3.0/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
/home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/specinfra-2.44.1/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
Hypervisor for centos-66-x64 is vagrant
[...]
centos-66-x64 10:35:48$ sed -i -e "s/^PATH=/PATH=PATH:/" ~/.ssh/environment

centos-66-x64 executed in 0.04 seconds
will not mirror environment to /etc/profile.d on non-sles/debian platform host
Warning: ssh connection to centos-66-x64 has been terminated
[...]
centos-66-x64 10:36:39$ facter osfamily
  RedHat

centos-66-x64 executed in 0.12 seconds
Warning: ssh connection to centos-66-x64 has been terminated
removing temporory ssh-config files per-vagrant box
Destroying vagrant boxes
==> centos-66-x64: Forcing shutdown of VM...
==> centos-66-x64: Destroying VM and associated drives...

Finished in 5.39 seconds (files took 2 minutes 0.7 seconds to load)
0 examples, 0 failures
/home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/beaker-2.27.0/lib/beaker/dsl/helpers/host_helpers.rb:73:in `block in on': can't modify frozen NilClass (RuntimeError)
        from /home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/beaker-2.27.0/lib/beaker/shared/host_manager.rb:112:in `run_block_on'
        from /home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/beaker-2.27.0/lib/beaker/dsl/patterns.rb:35:in `block_on'
        from /home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/beaker-2.27.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
        from /home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/beaker-2.27.0/lib/beaker/dsl/helpers/facter_helpers.rb:40:in `fact_on'
        from /home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/beaker-2.27.0/lib/beaker/dsl/helpers/facter_helpers.rb:51:in `fact'
        from /home/user/dev/puppetlabs-apache/spec/spec_helper_acceptance.rb:19:in `block (2 levels) in <top (required)>'
        from /home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.1.7/lib/rspec/core/example.rb:322:in `instance_exec'
        from /home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.1.7/lib/rspec/core/example.rb:322:in `instance_exec'
        from /home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.1.7/lib/rspec/core/hooks.rb:350:in `run'
        from /home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.1.7/lib/rspec/core/hooks.rb:427:in `block in run'
        from /home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.1.7/lib/rspec/core/hooks.rb:427:in `each'
        from /home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.1.7/lib/rspec/core/hooks.rb:427:in `run'
        from /home/user/dev/puppetlabs-apache/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.1.7/lib/rspec/core/hooks.rb:500:in `run'
        from /home/user/dev/puppetlabs-apache/vendor/bundle/ruby ...
(more)
edit retag flag offensive close merge delete