katello-nightly-rpm-pipeline 798 failed


#1

Katello nightly pipeline failed:

https://ci.theforeman.org/job/katello-nightly-rpm-pipeline/798/


Katello-nightly-rpm-pipeline 804 failed
#2

Looks like upgrade tests are still failing with some issue with katello-ssl-tool, any idea @infra/@katello ?

[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]  Execution of '/bin/katello-ssl-tool --gen-server --set-hostname pipeline-upgrade-centos7.n21.example.com --server-cert java-client.crt --server-cert-req java-client.crt.req --server-key java-client.key --server-rpm java-client -p file:/etc/pki/katello/private/katello-default-ca.pwd --set-hostname pipeline-upgrade-centos7.n21.example.com --set-common-name pipeline-upgrade-centos7.n21.example.com --ca-cert /etc/pki/katello-certs-tools/certs/katello-default-ca.crt --ca-key /etc/pki/katello-certs-tools/private/katello-default-ca.key --set-country US --set-state North Carolina --set-city Raleigh --set-org candlepin --set-org-unit SomeOrgUnit --set-email  --cert-expiration 7300' returned 1: ...working...
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]  unhandled exception occurred:
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] Generating the web server's SSL private key: ./ssl-build/pipeline-upgrade-centos7.n21.example.com/java-client.key
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] Rotated: java-client.key --> java-client.key.1
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] Rotated: katello-server-openssl.cnf --> katello-server-openssl.cnf.1
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] Generating web server's SSL certificate request: ./ssl-build/pipeline-upgrade-centos7.n21.example.com/java-client.crt.req
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] Using distinguished names:
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]     --set-country      = "US"
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]     --set-state        = "North Carolina"
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]     --set-city         = "Raleigh"
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]     --set-org          = "candlepin"
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]     --set-org-unit     = "SomeOrgUnit"
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]     --set-hostname     = "pipeline-upgrade-centos7.n21.example.com"
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]     --set-email        = ""
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] Rotated: java-client.crt.req --> java-client.crt.req.1
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] Generating/signing web server's SSL certificate: java-client.crt
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] Rotated: java-client.crt --> java-client.crt.1
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] Traceback (most recent call last):
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]   File "/bin/katello-ssl-tool", line 51, in <module>
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]     sys.exit(mod.main() or 0)
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]   File "/usr/lib/python2.7/site-packages/katello_certs_tools/katello_ssl_tool.py", line 1102, in main
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]     ret = _main() or 0
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]   File "/usr/lib/python2.7/site-packages/katello_certs_tools/katello_ssl_tool.py", line 1070, in _main
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]     genServerRpm(DEFS, options.verbose)
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]   File "/usr/lib/python2.7/site-packages/katello_certs_tools/katello_ssl_tool.py", line 893, in genServerRpm
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]     comp = hdrLabelCompare(h, hdr)
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]   File "/usr/lib/python2.7/site-packages/katello_certs_tools/rhn_rpm.py", line 292, in hdrLabelCompare
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m]     if hdr1['name'] == hdr2['name']:
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] TypeError: 'NoneType' object has no attribute '__getitem__'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/execution.rb:294:in `execute'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/command.rb:23:in `execute'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider.rb:223:in `block in has_command'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider.rb:434:in `block in create_class_and_instance_method'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /usr/share/foreman-installer/modules/certs/lib/puppet/provider/katello_ssl_tool.rb:40:in `block in katello_ssl_tool'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /usr/share/foreman-installer/modules/certs/lib/puppet/provider/katello_ssl_tool.rb:39:in `chdir'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /usr/share/foreman-installer/modules/certs/lib/puppet/provider/katello_ssl_tool.rb:39:in `katello_ssl_tool'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /usr/share/foreman-installer/modules/certs/lib/puppet/provider/cert/katello_ssl_tool.rb:42:in `generate!'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /usr/share/foreman-installer/modules/certs/lib/puppet/provider/katello_ssl_tool.rb:17:in `create'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property/ensure.rb:16:in `block in defaultvalues'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property.rb:491:in `set'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property.rb:568:in `sync'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:238:in `sync'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:134:in `sync_if_needed'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:80:in `perform_changes'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:21:in `evaluate'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:259:in `apply'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:279:in `eval_resource'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:183:in `call'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:183:in `block (2 levels) in evaluate'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:519:in `block in thinmark'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:518:in `thinmark'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:183:in `block in evaluate'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:121:in `traverse'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:173:in `evaluate'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:239:in `block (2 levels) in apply'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:519:in `block in thinmark'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:518:in `thinmark'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:238:in `block in apply'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/log.rb:156:in `with_destination'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/report.rb:146:in `as_logging_destination'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:237:in `apply'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:186:in `block (2 levels) in apply_catalog'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:519:in `block in thinmark'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:518:in `thinmark'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:185:in `block in apply_catalog'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:232:in `block in benchmark'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:231:in `benchmark'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:184:in `apply_catalog'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:369:in `run_internal'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:237:in `block in run'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:211:in `run'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:355:in `apply_catalog'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in `block (2 levels) in main'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in `block in main'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:233:in `main'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:174:in `run_command'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `block in run'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:667:in `exit_on_fail'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `run'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:135:in `run'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:73:in `execute'
[[31mERROR[0m [34m2019-03-04T05:05:32[0m [36mverbose[0m] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'

#3

looking into this


#4

this should be fixed by https://github.com/Katello/katello-certs-tools/pull/11


closed #5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.