autopkgtest failure because of firewall rules

Bug #1869265 reported by Lucas Kanashiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

puppet/5.5.10-4ubuntu2 autopkgtest is failing and blocking its migration:

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/amd64/p/puppet/20200325_235430_9bba2@/log.gz

As you can see in the logs curls is returning 56 exit code which make me think that this might be a firewall issue, not allowing tests to access the puppet master server using the name 'puppet'.

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

The attached patch fixes the mentioned issue adding 'puppet' to $no_proxy variable. It also fixes other issues which will let puppet migrate to the release pocket.

Here it is a bileto run with the proposed changes (the changes are split in different uploads but the final content is the same):

https://bileto.ubuntu.com/excuses/3977/focal.html

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

+1, but please file a bug with puppet about this warning:

/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Uploaded

Changed in puppet (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package puppet - 5.5.10-4ubuntu3

---------------
puppet (5.5.10-4ubuntu3) focal; urgency=medium

  * d/p/fix-ruby27-warning.patch: Add patch to fix a warning when executed
    with Ruby 2.7. It fixes an autopkgtest regression in ruby-puppet-syntax.
  * d/t/control: Add allow-stderr restriction to puppet master and puppet
    master passenger tests.
  * d/t/control: add 'puppet' to $no_proxy variable in puppet-master-passenger
    test to let tests make requests to puppet master running locally
    (LP: #1869265).

 -- Lucas Kanashiro <email address hidden> Thu, 26 Mar 2020 18:27:14 -0300

Changed in puppet (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

FTR I filed a bug upstream as requested by Andreas: https://tickets.puppetlabs.com/browse/PUP-10391

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.