test different NodeJS versions using beaker_facter #163
Annotations
7 errors and 1 warning
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.3.0/lib/voxpupuli/acceptance/examples.rb#L4
nodejs explicitly using version 20 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 'oracle7-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_091837522.pp.8AlaGo
Last 10 lines of output were:
�[mNotice: /Stage[main]/Nodejs::Repo::Nodesource::Yum/Yumrepo[nodesource]/ensure: created
Info: Yumrepo[nodesource](provider=inifile): changing mode of /etc/yum.repos.d/nodesource.repo from 600 to 644
�[mNotice: /Stage[main]/Nodejs::Repo::Nodesource::Yum/Yumrepo[nodesource-source]/ensure: created
Info: Yumrepo[nodesource-source](provider=inifile): changing mode of /etc/yum.repos.d/nodesource-source.repo from 600 to 644
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install nodejs' returned 1: Error downloading packages:
2:nodejs-16.20.2-1nodesource.x86_64: [Errno 256] No more mirrors to try.
Error: /Stage[main]/Nodejs::Install/Package[nodejs]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install nodejs' returned 1: Error downloading packages:
2:nodejs-16.20.2-1nodesource.x86_64: [Errno 256] No more mirrors to try.
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 1.56 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:38
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.3.0/lib/voxpupuli/acceptance/examples.rb#L8
nodejs explicitly using version 20 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 'oracle7-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_091843477.pp.TOU7X3
Last 10 lines of output were:
Error downloading packages:
2:nodejs-16.20.2-1nodesource.x86_64: [Errno 256] No more mirrors to try.
Error: /Stage[main]/Nodejs::Install/Package[nodejs]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install nodejs' returned 1: Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
Error downloading packages:
2:nodejs-16.20.2-1nodesource.x86_64: [Errno 256] No more mirrors to try.
�[mNotice: Applied catalog in 1.41 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:38
|
spec/acceptance/class_spec.rb#L49
nodejs explicitly using version 20 from nodesource Package "nodejs" is expected to be installed
Failure/Error: it { is_expected.to be_installed }
expected Package "nodejs" to be installed
|
spec/acceptance/class_spec.rb#L51
nodejs explicitly using version 20 from nodesource Package "nodejs" comes from the expected source
Failure/Error: pkg_output = shell(pkg_cmd)
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet8.example.com' exited with 1 running:
yum info nodejs | grep "^From repo"
Last 10 lines of output were:
|
spec/acceptance/class_spec.rb#L58
nodejs explicitly using version 20 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 ==)
|
spec/acceptance/class_spec.rb#L59
nodejs explicitly using version 20 from nodesource Command "node --version" stdout is expected to match /^v20/
Failure/Error: its(:stdout) { is_expected.to match(%r{^v#{nodejs_version}}) }
expected "" to match /^v20/
Diff:
@@ -1 +1 @@
-/^v20/
+""
|
|
spec/acceptance/class_spec.rb#L34
nodejs explicitly using version 20 from nodesource
Skipped: No reason given
|
The logs for this run have expired and are no longer available.
Loading