test different NodeJS versions using beaker_facter #167
Annotations
8 errors
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.3.0/lib/voxpupuli/acceptance/examples.rb#L4
nodejs explicitly using version 16 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 'centos7-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_103324257.pp.gJdDwG
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_103324257.pp.gJdDwG, line: 3, column: 11) on node centos7-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 16 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 'centos7-64-puppet7.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_103326441.pp.IoNRTx
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_103326441.pp.IoNRTx, line: 3, column: 11) on node centos7-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 16 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 16 from nodesource Package "nodejs" comes from the expected source
Failure/Error: pkg_output = shell(pkg_cmd)
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet7.example.com' exited with 1 running:
yum info nodejs | grep "^From repo"
Last 10 lines of output were:
Failed to set locale, defaulting to C
Error: No matching Packages to list
|
Run tests:
spec/acceptance/class_spec.rb#L66
nodejs explicitly using version 16 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 16 from nodesource Command "node --version" stdout is expected to match /^v16/
Failure/Error: its(:stdout) { is_expected.to match(%r{^v#{nodejs_version}}) }
expected "" to match /^v16/
Diff:
@@ -1 +1 @@
-/^v16/
+""
|
Run tests
The operation was canceled.
|
The logs for this run have expired and are no longer available.
Loading