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 'ubuntu2004-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_103417661.pp.HvLIwZ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Error: Could not parse for environment production: Syntax error at 'repo_pin' (file: /tmp/apply_manifest_103417661.pp.HvLIwZ, line: 3, column: 11) on node ubuntu2004-64-puppet8.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 'ubuntu2004-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_103425763.pp.PvWM2K
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Error: Could not parse for environment production: Syntax error at 'repo_pin' (file: /tmp/apply_manifest_103425763.pp.PvWM2K, line: 3, column: 11) on node ubuntu2004-64-puppet8.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 'ubuntu2004-64-puppet8.example.com' exited with 1 running:
dpkg -s nodejs | grep "^Maintainer"
Last 10 lines of output were:
dpkg-query: package 'nodejs' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
|
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