[PA-795] Solaris 11 fails 000-delete-puppet-when-none.rb with pkg 404 error Created: 2016/12/30  Updated: 2017/01/04  Resolved: 2017/01/03

Status: Resolved
Project: Puppet Agent
Component/s: Build Automation
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Kurt Wall Assignee: Stan Duffy
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance Criteria:
  • Pre-suite step doesn't explode
QA Risk Assessment: Needs Assessment

 Description   

During the pre-suite, Solaris 11 SPARC fails setup/common/pre-suite/000-delete-puppet-when-none.rb because it can't find pkg data about the pkg it wants to install, which appears to be puppet-1.3.2:

06:54:05 sol11.delivery.puppetlabs.net (solaris-11-sparc) 06:54:05$ pkg  uninstall puppet-agent
06:54:19   Planning: Solver setup ...   Done
06:54:40   Planning: Running solver ...   Done
06:54:41   Planning: Finding local manifests ...   Done
06:54:41   Planning: Fetching manifests: 0/1  0% complete
06:54:41   Planning: Fetching manifests: 0/1  0% complete
06:54:42   
06:54:42 
  Errors were encountered while attempting to retrieve package or file data for
06:54:42   the requested operation.
06:54:42   Details follow:
06:54:42   
06:54:42 
  http protocol error: code: 404 reason: Not Found
06:54:42   URL: 'http://repo-ips1-prod.ops.puppetlabs.net:9001/puppetlabs.com/manifest/0/puppet-agent@1.3.2%2C5.11-1%3A20151202T195721Z' (happened 4 times)
06:54:42 
06:54:42 sol11.delivery.puppetlabs.net (solaris-11-sparc) executed in 36.54 seconds
06:54:42 Exited: 1
06:54:42 Beaker::Host::CommandFailure: Host 'sol11.delivery.puppetlabs.net' exited with 1 running:
06:54:42  pkg  uninstall puppet-agent
06:54:42 Last 10 lines of output were:
06:54:42 	Planning: Finding local manifests ... Done
06:54:42 	Planning: Fetching manifests: 0/1  0% complete
06:54:42 	Planning: Fetching manifests: 0/1  0% complete
06:54:42 	
06:54:42 	Errors were encountered while attempting to retrieve package or file data for
06:54:42 	the requested operation.
06:54:42 	Details follow:
06:54:42 	
06:54:42 	http protocol error: code: 404 reason: Not Found
06:54:42 	URL: 'http://repo-ips1-prod.ops.puppetlabs.net:9001/puppetlabs.com/manifest/0/puppet-agent@1.3.2%2C5.11-1%3A20151202T195721Z' (happened 4 times)

See https://jenkins.puppetlabs.com/user/kurt.wall/my-views/view/puppet-agent%20stable%20Manual%20Pipeline/job/platform_puppet-agent_intn-van-sys_suite-manual-hiera-stable/129/SLAVE_LABEL=beaker,TEST_TARGET=solaris-11-sparc/



 Comments   
Comment by Kurt Wall [ 2016/12/30 ]

Stan Duffy has been working on this. Putting in ticket to track the work and for reference.

Comment by Stan Duffy [ 2017/01/03 ]

Needed to properly uninstall puppet-agent in order to get the LDOM clean.
I did this:

curl -O http://builds.puppetlabs.lan/puppet-agent/1.3.2/repos/solaris/11/PC1/puppet-agent@1.3.2,5.11-1.sparc.p5p
pkg set-publisher -g file:///root/puppet-agent\@1.3.2\,5.11-1.sparc.p5p  puppetlabs.com
pkg uninstall --no-index puppet-agent
pkg unset-publisher puppetlabs.com

I then recreated the snapshot. Everything should be fine now.

Comment by Kurt Wall [ 2017/01/04 ]

Thanks. Maybe pull this information out into a confluence doc somewhere?

Comment by Stan Duffy [ 2017/01/04 ]

Sure. Where?

Generated at Wed Apr 01 13:14:52 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.