[DRE-maint] Bug#867654: ruby-omniauth-crowd: FTBFS: ERROR: Test "ruby2.3" failed: Failure/Error: http.request(req)

Lucas Nussbaum lucas at debian.org
Sat Jul 8 06:28:00 UTC 2017


Source: ruby-omniauth-crowd
Version: 2.2.3-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170707 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>      Failure/Error: http.request(req)
> 
>      WebMock::NetConnectNotAllowedError:
>        Real HTTP connections are disabled. Unregistered request: POST https://crowd.example.org/rest/usermanagement/latest/authentication?username=foo with body '<password>
>          <value>ba</value>
>        </password>' with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Authorization'=>'Basic Ym9ndXNfYXBwOmJvZ3VzX2FwcF9wYXNzd29yZA==', 'Content-Type'=>'application/xml', 'User-Agent'=>'Ruby'}
> 
>        You can stub this request with the following snippet:
> 
>        stub_request(:post, "https://crowd.example.org/rest/usermanagement/latest/authentication?username=foo").
>          with(body: "<password>\n  <value>ba</value>\n</password>",
>               headers: {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Authorization'=>'Basic Ym9ndXNfYXBwOmJvZ3VzX2FwcF9wYXNzd29yZA==', 'Content-Type'=>'application/xml', 'User-Agent'=>'Ruby'}).
>          to_return(status: 200, body: "", headers: {})
> 
>        registered request stubs:
> 
>        stub_request(:post, "https://bogus_app:bogus_app_password@crowd.example.org/rest/usermanagement/latest/authentication?username=foo")
> 
>        ============================================================
>      # ./lib/omniauth/strategies/crowd/crowd_validator.rb:90:in `block in make_request'
>      # ./lib/omniauth/strategies/crowd/crowd_validator.rb:83:in `make_request'
>      # ./lib/omniauth/strategies/crowd/crowd_validator.rb:99:in `make_authorization_request'
>      # ./lib/omniauth/strategies/crowd/crowd_validator.rb:61:in `retrieve_user_info!'
>      # ./lib/omniauth/strategies/crowd/crowd_validator.rb:24:in `user_info'
>      # ./lib/omniauth/strategies/crowd.rb:41:in `callback_phase'
>      # ./spec/omniauth/strategies/crowd_spec.rb:154:in `block (3 levels) in <top (required)>'
> 
> Finished in 0.09906 seconds (files took 0.71987 seconds to load)
> 14 examples, 7 failures
> 
> Failed examples:
> 
> rspec ./spec/omniauth/strategies/crowd_spec.rb:99 # OmniAuth::Strategies::Crowd GET /auth/crowd/callback with credentials can be successful when using authentication endpoint should call through to the master app
> rspec ./spec/omniauth/strategies/crowd_spec.rb:102 # OmniAuth::Strategies::Crowd GET /auth/crowd/callback with credentials can be successful when using authentication endpoint should have an auth hash
> rspec ./spec/omniauth/strategies/crowd_spec.rb:106 # OmniAuth::Strategies::Crowd GET /auth/crowd/callback with credentials can be successful when using authentication endpoint should have good data
> rspec ./spec/omniauth/strategies/crowd_spec.rb:128 # OmniAuth::Strategies::Crowd GET /auth/crowd/callback with credentials can be successful when using session endpoint should call through to the master app
> rspec ./spec/omniauth/strategies/crowd_spec.rb:133 # OmniAuth::Strategies::Crowd GET /auth/crowd/callback with credentials can be successful when using session endpoint should have an auth hash
> rspec ./spec/omniauth/strategies/crowd_spec.rb:138 # OmniAuth::Strategies::Crowd GET /auth/crowd/callback with credentials can be successful when using session endpoint should have good data
> rspec ./spec/omniauth/strategies/crowd_spec.rb:156 # OmniAuth::Strategies::Crowd GET /auth/crowd/callback with credentials will fail should fail
> 
> /usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby2.3" failed: 

The full build log is available from:
   http://aws-logs.debian.net/2017/07/07/ruby-omniauth-crowd_2.2.3-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-ruby-extras-maintainers mailing list