Skip to content

Don't do nodejs::install when manage_package_repo is set to false. #69

Don't do nodejs::install when manage_package_repo is set to false.

Don't do nodejs::install when manage_package_repo is set to false. #69

Triggered via pull request September 16, 2023 22:53
Status Failure
Total duration 35m 18s
Artifacts

ci.yml

on: pull_request
Setup Test Matrix
47s
Setup Test Matrix
Matrix: acceptance
Matrix: unit
Test suite
0s
Test suite
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 10 warnings
Puppet 7 - Debian 9
Process completed with exit code 1.
Puppet 7 - Ubuntu 16.04
Process completed with exit code 1.
Puppet 7 - Debian 10: spec/acceptance/class_spec.rb#L126
native Debian packages Package "libnode-dev" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "libnode-dev" to be installed
Puppet 7 - Debian 10: spec/acceptance/class_spec.rb#L129
native Debian packages Package "npm" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "npm" to be installed
Puppet 7 - Debian 10
Process completed with exit code 1.
Puppet 7 - Ubuntu 20.04: spec/acceptance/class_spec.rb#L126
native Debian packages Package "libnode-dev" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "libnode-dev" to be installed
Puppet 7 - Ubuntu 20.04: spec/acceptance/class_spec.rb#L129
native Debian packages Package "npm" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "npm" to be installed
Puppet 7 - Ubuntu 20.04
Process completed with exit code 1.
Puppet 7 - Debian 11: spec/acceptance/class_spec.rb#L126
native Debian packages Package "libnode-dev" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "libnode-dev" to be installed
Puppet 7 - Debian 11: spec/acceptance/class_spec.rb#L129
native Debian packages Package "npm" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "npm" to be installed
Puppet 7 - Debian 11
Process completed with exit code 1.
Puppet 7 - Ubuntu 18.04: spec/acceptance/class_spec.rb#L117
native Debian packages Package "nodejs-dev" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "nodejs-dev" to be installed
Puppet 7 - Ubuntu 18.04: spec/acceptance/class_spec.rb#L121
native Debian packages Package "npm" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "npm" to be installed
Puppet 7 - Ubuntu 18.04
Process completed with exit code 1.
Puppet 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L30
nodejs::npm::global_config_entry on freebsd-11-amd64 with name set to proxy and value set to proxy.domain npm config set proxy proxy.domain should be executed Failure/Error: is_expected.to contain_exec('npm_config present proxy').with('command' => "#{npm_path} config set proxy proxy.domain --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az1241-18.yvhpsg5yuqxe5j1ctmz2qqc0qe.dx.internal.cloudapp.net
Puppet 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L43
nodejs::npm::global_config_entry on freebsd-11-amd64 with name set to https-proxy and value set to proxy.domain npm config set https-proxy proxy.domain should be executed Failure/Error: is_expected.to contain_exec('npm_config present https-proxy').with('command' => "#{npm_path} config set https-proxy proxy.domain --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az1241-18.yvhpsg5yuqxe5j1ctmz2qqc0qe.dx.internal.cloudapp.net
Puppet 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L56
nodejs::npm::global_config_entry on freebsd-11-amd64 with name set to color and ensure set to absent npm config delete color should be executed Failure/Error: is_expected.to contain_exec('npm_config absent color').with('command' => "#{npm_path} config delete color --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az1241-18.yvhpsg5yuqxe5j1ctmz2qqc0qe.dx.internal.cloudapp.net
Puppet 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L70
nodejs::npm::global_config_entry on freebsd-11-amd64 with name set to :_secret and ensure set to present npm config set :_secret should be executed Failure/Error: is_expected.to contain_exec('npm_config present //path.to.registry/:_secret').with('command' => "#{npm_path} config set //path.to.registry/:_secret cGFzc3dvcmQ= --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az1241-18.yvhpsg5yuqxe5j1ctmz2qqc0qe.dx.internal.cloudapp.net
Puppet 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L92
nodejs::npm::global_config_entry on freebsd-11-amd64 with ensure npm package set to present npm config set prefer-online should be executed and require npm package Failure/Error: is_expected.to contain_exec('npm_config present prefer-online').with('command' => "#{npm_path} config set prefer-online true --global").that_requires('Package[npm-package-name]') Puppet::Error: Could not find resource 'Package[npm-package-name]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az1241-18.yvhpsg5yuqxe5j1ctmz2qqc0qe.dx.internal.cloudapp.net
Puppet 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L96
nodejs::npm::global_config_entry on freebsd-11-amd64 with ensure npm package set to present npm config set prefer-online should not require node package Failure/Error: is_expected.not_to contain_exec('npm_config present prefer-online').with('command' => "#{npm_path} config set prefer-online true --global").that_requires('Package[node-package-name]') Puppet::Error: Could not find resource 'Package[npm-package-name]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az1241-18.yvhpsg5yuqxe5j1ctmz2qqc0qe.dx.internal.cloudapp.net
Puppet 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L118
nodejs::npm::global_config_entry on freebsd-11-amd64 with ensure npm package set to absent and repo class set to nodesource npm config set loglevel should be executed and require nodejs package Failure/Error: is_expected.to contain_exec('npm_config present loglevel').with('command' => "#{npm_path} config set loglevel debug --global").that_requires('Package[node-package-name]') Puppet::Error: Could not find resource 'Package[node-package-name]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az1241-18.yvhpsg5yuqxe5j1ctmz2qqc0qe.dx.internal.cloudapp.net
Puppet 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L30
nodejs::npm::global_config_entry on freebsd-12-amd64 with name set to proxy and value set to proxy.domain npm config set proxy proxy.domain should be executed Failure/Error: is_expected.to contain_exec('npm_config present proxy').with('command' => "#{npm_path} config set proxy proxy.domain --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az1241-18.yvhpsg5yuqxe5j1ctmz2qqc0qe.dx.internal.cloudapp.net
Puppet 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L43
nodejs::npm::global_config_entry on freebsd-12-amd64 with name set to https-proxy and value set to proxy.domain npm config set https-proxy proxy.domain should be executed Failure/Error: is_expected.to contain_exec('npm_config present https-proxy').with('command' => "#{npm_path} config set https-proxy proxy.domain --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az1241-18.yvhpsg5yuqxe5j1ctmz2qqc0qe.dx.internal.cloudapp.net
Puppet 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L56
nodejs::npm::global_config_entry on freebsd-12-amd64 with name set to color and ensure set to absent npm config delete color should be executed Failure/Error: is_expected.to contain_exec('npm_config absent color').with('command' => "#{npm_path} config delete color --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az1241-18.yvhpsg5yuqxe5j1ctmz2qqc0qe.dx.internal.cloudapp.net
Puppet 7 - CentOS 7
Process completed with exit code 1.
Setup Test Matrix
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Puppet 7 - Debian 9
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Puppet 7 - Ubuntu 16.04
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Puppet 7 - Debian 10
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Puppet 7 - Ubuntu 20.04
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Puppet 7 - Debian 11
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Puppet 7 - CentOS 8
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Puppet 7 - Ubuntu 18.04
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Puppet 7 (Ruby 2.7)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Puppet 7 - CentOS 7
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/