Skip to content

Switch from mocha to rspec mocks #193

Switch from mocha to rspec mocks

Switch from mocha to rspec mocks #193

Triggered via pull request June 20, 2024 21:35
Status Failure
Total duration 32m 29s
Artifacts

pr_tests.yml

on: pull_request
Puppet Syntax
32s
Puppet Syntax
Puppet Style
33s
Puppet Style
Ruby Style (experimental)
0s
Ruby Style (experimental)
File checks
34s
File checks
RELENG checks
34s
RELENG checks
Matrix: spec-tests
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 36 warnings
RELENG checks
Process completed with exit code 1.
Spec (facter, Puppet 8.x): spec/facter/simp_rsync_environments_spec.rb#L31
SIMP Rsync Environments if /var/simp/environments present should return a Hash of environments Failure/Error: allow(File).to receive(:directory?).at_least_once.and_return(true) NoMethodError: undefined method `at_least_once' for #<RSpec::Mocks::Matchers::Receive:0x00007f45edd3ea70> allow(File).to receive(:directory?).at_least_once.and_return(true) ^^^^^^^^^^^^^^ Did you mean? at_least
Spec (facter, Puppet 8.x)
Process completed with exit code 1.
Spec (facter, Puppet 7.x [SIMP 6.6/PE 2021.7]): spec/facter/simp_rsync_environments_spec.rb#L31
SIMP Rsync Environments if /var/simp/environments present should return a Hash of environments Failure/Error: allow(File).to receive(:directory?).at_least_once.and_return(true) NoMethodError: undefined method `at_least_once' for #<RSpec::Mocks::Matchers::Receive:0x00005557f2b1be40> Did you mean? at_least
Spec (facter, Puppet 7.x [SIMP 6.6/PE 2021.7])
Process completed with exit code 1.
Spec (unit, Puppet 8.x): spec/unit/bootstrap_simp_client_spec.rb#L58
BootstrapSimpClient #bootstrap_locked? returns false when LOCKED environment variable does not exist Failure/Error: BootstrapSimpClient.expects(:puppet_exe_path).returns(puppet_command) NoMethodError: undefined method `expects' for BootstrapSimpClient:Class BootstrapSimpClient.expects(:puppet_exe_path).returns(puppet_command) ^^^^^^^^
Spec (unit, Puppet 8.x)
Process completed with exit code 1.
Spec (unit, Puppet 7.x [SIMP 6.6/PE 2021.7]): spec/unit/bootstrap_simp_client_spec.rb#L58
BootstrapSimpClient #bootstrap_locked? returns false when LOCKED environment variable does not exist Failure/Error: BootstrapSimpClient.expects(:puppet_exe_path).returns(puppet_command) NoMethodError: undefined method `expects' for BootstrapSimpClient:Class
Spec (unit, Puppet 7.x [SIMP 6.6/PE 2021.7])
Process completed with exit code 1.
Spec (classes 00, Puppet 8.x): spec/facter/simp_rsync_environments_spec.rb#L31
SIMP Rsync Environments if /var/simp/environments present should return a Hash of environments Failure/Error: allow(File).to receive(:directory?).at_least_once.and_return(true) NoMethodError: undefined method `at_least_once' for #<RSpec::Mocks::Matchers::Receive:0x00007f45991d6b28> allow(File).to receive(:directory?).at_least_once.and_return(true) ^^^^^^^^^^^^^^ Did you mean? at_least
Spec (classes 00, Puppet 8.x)
Process completed with exit code 1.
Spec (classes 10, Puppet 8.x): spec/facter/simp_rsync_environments_spec.rb#L31
SIMP Rsync Environments if /var/simp/environments present should return a Hash of environments Failure/Error: allow(File).to receive(:directory?).at_least_once.and_return(true) NoMethodError: undefined method `at_least_once' for #<RSpec::Mocks::Matchers::Receive:0x00007f6adf7c43a8> allow(File).to receive(:directory?).at_least_once.and_return(true) ^^^^^^^^^^^^^^ Did you mean? at_least
Spec (classes 10, Puppet 8.x)
Process completed with exit code 1.
Spec (classes 20, Puppet 8.x): spec/facter/simp_rsync_environments_spec.rb#L31
SIMP Rsync Environments if /var/simp/environments present should return a Hash of environments Failure/Error: allow(File).to receive(:directory?).at_least_once.and_return(true) NoMethodError: undefined method `at_least_once' for #<RSpec::Mocks::Matchers::Receive:0x00007f6380829ef8> allow(File).to receive(:directory?).at_least_once.and_return(true) ^^^^^^^^^^^^^^ Did you mean? at_least
Spec (classes 20, Puppet 8.x)
Process completed with exit code 1.
Spec (classes 01, Puppet 8.x): spec/facter/simp_rsync_environments_spec.rb#L31
SIMP Rsync Environments if /var/simp/environments present should return a Hash of environments Failure/Error: allow(File).to receive(:directory?).at_least_once.and_return(true) NoMethodError: undefined method `at_least_once' for #<RSpec::Mocks::Matchers::Receive:0x00007f03578d1880> allow(File).to receive(:directory?).at_least_once.and_return(true) ^^^^^^^^^^^^^^ Did you mean? at_least
Spec (classes 01, Puppet 8.x)
Process completed with exit code 1.
Puppet Syntax
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Puppet Style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
RELENG checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
File checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (facter, Puppet 8.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (aliases, Puppet 8.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (facter, Puppet 7.x [SIMP 6.6/PE 2021.7])
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (aliases, Puppet 7.x [SIMP 6.6/PE 2021.7])
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (functions, Puppet 8.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (unit, Puppet 8.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (unit, Puppet 7.x [SIMP 6.6/PE 2021.7])
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (functions, Puppet 7.x [SIMP 6.6/PE 2021.7])
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (classes 00, Puppet 7.x [SIMP 6.6/PE 2021.7])
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (classes 00, Puppet 8.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (classes 10, Puppet 7.x [SIMP 6.6/PE 2021.7])
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (classes 10, Puppet 8.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (classes 20, Puppet 8.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (classes 20, Puppet 7.x [SIMP 6.6/PE 2021.7])
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (classes 01, Puppet 7.x [SIMP 6.6/PE 2021.7])
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (classes 01, Puppet 7.x [SIMP 6.6/PE 2021.7]): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on almalinux-8-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 7.x [SIMP 6.6/PE 2021.7]): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on centos-7-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 7.x [SIMP 6.6/PE 2021.7]): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on centos-8-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 7.x [SIMP 6.6/PE 2021.7]): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on oraclelinux-7-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 7.x [SIMP 6.6/PE 2021.7]): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on oraclelinux-8-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 7.x [SIMP 6.6/PE 2021.7]): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on redhat-7-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 7.x [SIMP 6.6/PE 2021.7]): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on redhat-8-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 7.x [SIMP 6.6/PE 2021.7]): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on rocky-8-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 8.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec (classes 01, Puppet 8.x): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on almalinux-8-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 8.x): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on centos-7-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 8.x): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on centos-8-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 8.x): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on oraclelinux-7-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 8.x): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on oraclelinux-8-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 8.x): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on redhat-7-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 8.x): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on redhat-8-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]
Spec (classes 01, Puppet 8.x): spec/classes/01_classes/scenario/base_spec.rb#L77
simp on rocky-8-x86_64 use_sudoers_aliases = false is expected not to contain Class[simp::sudoers] Failure/Error: pending { is_expected.to_not create_class('simp::sudoers') } expected that the catalogue would not contain Class[simp::sudoers]