test different NodeJS versions using beaker_facter #167
Annotations
7 errors and 1 warning
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.3.0/lib/voxpupuli/acceptance/examples.rb#L4
nodejs explicitly using version 18 from nodesource 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 'rocky9-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_103241081.pp.YdH0kX
Last 10 lines of output were:
Info: Loading facts
Error: Could not parse for environment production: Syntax error at 'repo_pin' (file: /tmp/apply_manifest_103241081.pp.YdH0kX, line: 3, column: 11) on node rocky9-64-puppet7.example.com
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:45
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.3.0/lib/voxpupuli/acceptance/examples.rb#L8
nodejs explicitly using version 18 from nodesource 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 'rocky9-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_103243544.pp.HWQzrV
Last 10 lines of output were:
Info: Loading facts
Error: Could not parse for environment production: Syntax error at 'repo_pin' (file: /tmp/apply_manifest_103243544.pp.HWQzrV, line: 3, column: 11) on node rocky9-64-puppet7.example.com
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:45
|
Run tests:
spec/acceptance/class_spec.rb#L57
nodejs explicitly using version 18 from nodesource Package "nodejs" is expected to be installed
Failure/Error: it { is_expected.to be_installed }
expected Package "nodejs" to be installed
|
Run tests:
spec/acceptance/class_spec.rb#L59
nodejs explicitly using version 18 from nodesource Package "nodejs" comes from the expected source
Failure/Error: pkg_output = shell(pkg_cmd)
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 1 running:
yum info nodejs | grep "^From repo"
Last 10 lines of output were:
|
Run tests:
spec/acceptance/class_spec.rb#L66
nodejs explicitly using version 18 from nodesource Command "node --version" exit_status is expected to eq 0
Failure/Error: its(:exit_status) { is_expected.to eq 0 }
expected: 0
got: 127
(compared using ==)
|
Run tests:
spec/acceptance/class_spec.rb#L67
nodejs explicitly using version 18 from nodesource Command "node --version" stdout is expected to match /^v18/
Failure/Error: its(:stdout) { is_expected.to match(%r{^v#{nodejs_version}}) }
expected "" to match /^v18/
Diff:
@@ -1 +1 @@
-/^v18/
+""
|
Run tests
Process completed with exit code 1.
|
Run tests:
spec/acceptance/class_spec.rb#L101
nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed
Failure/Error: is_expected.to be_installed
expected Package "nodejs-devel" to be installed
|
The logs for this run have expired and are no longer available.
Loading