sous-chefs / apache2

Development repository for the apache2 cookbook
https://supermarket.chef.io/cookbooks/apache2
Apache License 2.0
284 stars 548 forks source link

kitchen tests failing on fastCGI #380

Closed nkk1 closed 8 years ago

nkk1 commented 9 years ago

Kitchen tests are failing as mod_fastcgi has been removed from run_list but test/integration/default/serverspec/localhost/mod_fastcgi_spec.rb still exists

# not supported by apache 2.4 without source compile with non-maintainer patches
#  - recipe[apache2_test::mod_fastcgi]

$ kitchen test default-centos-65

.....
            # /tmp/verifier/suites/serverspec/localhost/mod_fastcgi_spec.rb:36:in `block (2 levels) in <top (required)>'

       Finished in 1.31 seconds (files took 0.34594 seconds to load)
       82 examples, 3 failures, 2 pending

       Failed examples:

       rspec /tmp/verifier/suites/serverspec/localhost/mod_fastcgi_spec.rb:22 # apache2::mod_fastcgi mods-available/fastcgi.load is accurate
       rspec /tmp/verifier/suites/serverspec/localhost/mod_fastcgi_spec.rb:29 # apache2::mod_fastcgi mods-enabled/fastcgi.load is a symlink to mods-available/fastcgi.load
       rspec /tmp/verifier/suites/serverspec/localhost/mod_fastcgi_spec.rb:34 # apache2::mod_fastcgi fastcgi is loaded

       /opt/chef/embedded/bin/ruby -I/tmp/verifier/suites/serverspec -I/tmp/verifier/gems/gems/rspec-support-3.3.0/lib:/tmp/verifier/gems/gems/rspec-core-3.3.2/lib /opt/chef/embedded/bin/rspec --pattern /tmp/verifier/suites/serverspec/\*\*/\*_spec.rb --color --format documentation --default-path /tmp/verifier/suites/serverspec failed
       !!!!!! Ruby Script [/tmp/verifier/gems/gems/busser-serverspec-0.5.7/lib/busser/runner_plugin/../serverspec/runner.rb /tmp/verifier/suites/serverspec] exit code was 1
>>>>>> Verify failed on instance <default-centos-65>.
>>>>>> Please see .kitchen/logs/default-centos-65.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sh -c '

BUSSER_ROOT="/tmp/verifier"; export BUSSER_ROOT
GEM_HOME="/tmp/verifier/gems"; export GEM_HOME
GEM_PATH="/tmp/verifier/gems"; export GEM_PATH
GEM_CACHE="/tmp/verifier/gems/cache"; export GEM_CACHE

sudo -E /tmp/verifier/bin/busser test
']
>>>>>> ----------------------
zlib(finalizer): the stream was freed prematurely.
svanzoest commented 8 years ago

Thanks! I have xit those specs for now. We will likely remove mod_fastcgi anyways as per #415 .

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.