I’m very confused as to what rspec is trying to do here with the simple default spec in place indicating that things should just converge successfully. If I use strace, I see rspec trying to talk to our enterprise http_proxy for something.
% chef exec rspec
F
Failures:
1) our-certs::default When all attributes are default, on an unspecified platform converges successfully
Failure/Error: expect { chef_run }.to_not raise_error
expected no Exception, got #<Net::HTTPFatalError: 504 "Gateway Timeout"> with backtrace:
# ./spec/unit/recipes/default_spec.rb:7:in `block (3 levels) in <top (required)>'
# ./spec/unit/recipes/default_spec.rb:11:in `block (4 levels) in <top (required)>'
# ./spec/unit/recipes/default_spec.rb:11:in `block (3 levels) in <top (required)>'
# ./spec/unit/recipes/default_spec.rb:11:in `block (3 levels) in <top (required)>'
Finished in 0.45415 seconds (files took 7.19 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/unit/recipes/default_spec.rb:10 # our-certs::default When all attributes are default, on an unspecified platform converges successfully