Skip to content

Switch from mocha to rspec mocks #194

Switch from mocha to rspec mocks

Switch from mocha to rspec mocks #194

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

pr_tests.yml

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

Annotations

16 errors and 36 warnings
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:0x00007fd5e68d47a8> 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:0x000055bafc9e8510> 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 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 (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 (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:0x00007f5b1babe078> 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:0x00007fee0b35f240> 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:0x00007f76be41b568> 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:0x00007f7dbcaad930> 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.
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/.
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/.
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/.
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/.
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 (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 (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 (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 (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 (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 (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 (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 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 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 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 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]
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]