Refs #37130 - Set the mode on the generated bootstrap RPM #1284
Annotations
10 errors
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
bootstrap_rpm with default params behaves like an idempotent resource applies with no errors
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_132109551.pp.h44sxL
Last 10 lines of output were:
�[mNotice: /Stage[main]/Apache/File[/etc/httpd/conf.modules.d/01-cgi.conf]/ensure: removed
�[mNotice: /Stage[main]/Apache/File[/etc/httpd/conf.modules.d/10-h2.conf]/ensure: removed
�[mNotice: /Stage[main]/Apache/File[/etc/httpd/conf.modules.d/10-proxy_h2.conf]/ensure: removed
�[mNotice: /Stage[main]/Apache/File[/etc/httpd/conf.modules.d/README]/ensure: removed
Info: /etc/httpd/conf.modules.d: Scheduling refresh of Class[Apache::Service]
Info: Class[Apache::Service]: Scheduling refresh of Service[httpd]
�[mNotice: /Stage[main]/Apache::Service/Service[httpd]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Apache::Service/Service[httpd]: Unscheduling refresh on Service[httpd]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 11.70 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/bootstrap_rpm_spec.rb:10
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
bootstrap_rpm with default params behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_132123765.pp.7eUAR4
Last 10 lines of output were:
Info: Loading facts
Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
(file: /etc/puppetlabs/puppet/hiera.yaml)
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.49 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710336085'
Error: /Stage[main]/Foreman_proxy_content::Bootstrap_rpm/Bootstrap_rpm[katello-ca-consumer-centos8-64-puppet8.example.com]: Could not evaluate: No such file or directory @ rb_sysopen - /var/www/html/pub/katello-ca-consumer-centos8-64-puppet8.example.com-1.0-1.src.rpm
�[mNotice: /Stage[main]/Main/Package[katello-ca-consumer-centos8-64-puppet8.example.com]: Dependency Bootstrap_rpm[katello-ca-consumer-centos8-64-puppet8.example.com] has failures: true
Warning: /Stage[main]/Main/Package[katello-ca-consumer-centos8-64-puppet8.example.com]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.22 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/bootstrap_rpm_spec.rb:10
|
Run tests:
spec/acceptance/bootstrap_rpm_spec.rb#L39
bootstrap_rpm with default params File "/var/www/html/pub/katello-ca-consumer-centos8-64-puppet8.example.com-1.0-1.src.rpm" is expected to be file
Failure/Error: it { should be_file }
expected `File "/var/www/html/pub/katello-ca-consumer-centos8-64-puppet8.example.com-1.0-1.src.rpm".file?` to be truthy, got false
|
Run tests:
spec/acceptance/bootstrap_rpm_spec.rb#L40
bootstrap_rpm with default params File "/var/www/html/pub/katello-ca-consumer-centos8-64-puppet8.example.com-1.0-1.src.rpm" is expected to be mode 644
Failure/Error: it { should be_mode 644 }
expected `File "/var/www/html/pub/katello-ca-consumer-centos8-64-puppet8.example.com-1.0-1.src.rpm".mode?(644)` to be truthy, got false
|
Run tests:
spec/acceptance/bootstrap_rpm_spec.rb#L41
bootstrap_rpm with default params File "/var/www/html/pub/katello-ca-consumer-centos8-64-puppet8.example.com-1.0-1.src.rpm" is expected to be owned by "root"
Failure/Error: it { should be_owned_by 'root' }
expected `File "/var/www/html/pub/katello-ca-consumer-centos8-64-puppet8.example.com-1.0-1.src.rpm".owned_by?("root")` to be truthy, got false
|
Run tests:
spec/acceptance/bootstrap_rpm_spec.rb#L42
bootstrap_rpm with default params File "/var/www/html/pub/katello-ca-consumer-centos8-64-puppet8.example.com-1.0-1.src.rpm" is expected to be grouped into "root"
Failure/Error: it { should be_grouped_into 'root' }
expected `File "/var/www/html/pub/katello-ca-consumer-centos8-64-puppet8.example.com-1.0-1.src.rpm".grouped_into?("root")` to be truthy, got false
|
Run tests:
spec/acceptance/bootstrap_rpm_spec.rb#L50
bootstrap_rpm with default params File "/var/www/html/pub/katello-ca-consumer-latest.noarch.rpm" is expected to be symlink
Failure/Error: it { should be_symlink }
expected `File "/var/www/html/pub/katello-ca-consumer-latest.noarch.rpm".symlink?` to be truthy, got false
|
Run tests:
spec/acceptance/bootstrap_rpm_spec.rb#L51
bootstrap_rpm with default params File "/var/www/html/pub/katello-ca-consumer-latest.noarch.rpm" is expected to be linked to "/var/www/html/pub/katello-ca-consumer-centos8-64-puppet8.example.com-1.0-1.noarch.rpm"
Failure/Error: it { should be_linked_to "/var/www/html/pub/katello-ca-consumer-#{host_inventory['fqdn']}-1.0-1.noarch.rpm" }
expected `File "/var/www/html/pub/katello-ca-consumer-latest.noarch.rpm".linked_to?("/var/www/html/pub/katello-ca-consumer-centos8-64-puppet8.example.com-1.0-1.noarch.rpm")` to be truthy, got false
|
Run tests:
spec/acceptance/bootstrap_rpm_spec.rb#L62
bootstrap_rpm with default params Command "rpm -qp /var/www/html/pub/katello-ca-consumer-latest.noarch.rpm --requires" stdout is expected to match /^subscription-manager/
Failure/Error: its(:stdout) { should match(/^subscription-manager/) }
expected "" to match /^subscription-manager/
Diff:
@@ -1 +1 @@
-/^subscription-manager/
+""
|
Run tests:
spec/acceptance/bootstrap_rpm_spec.rb#L66
bootstrap_rpm with default params Command "rpm -qp /var/www/html/pub/katello-ca-consumer-latest.noarch.rpm --list" stdout is expected to match /^\/usr\/bin\/katello-rhsm-consumer/
Failure/Error: its(:stdout) { should match(/^\/usr\/bin\/katello-rhsm-consumer/) }
expected "" to match /^\/usr\/bin\/katello-rhsm-consumer/
Diff:
@@ -1 +1 @@
-/^\/usr\/bin\/katello-rhsm-consumer/
+""
|
Loading