Skip to content

Switch from mocha to rspec mocks #59

Switch from mocha to rspec mocks

Switch from mocha to rspec mocks #59

Triggered via pull request June 18, 2024 20:41
Status Failure
Total duration 3m 40s
Artifacts

pr_tests.yml

on: pull_request
Puppet Syntax
46s
Puppet Syntax
Puppet Style
49s
Puppet Style
Ruby Style (experimental)
0s
Ruby Style (experimental)
File checks
48s
File checks
RELENG checks
54s
RELENG checks
Matrix: Puppet Spec
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 16 warnings
Puppet Spec (Puppet 8.x, ~> 8.0, 3.1, true): spec/classes/client_spec.rb#L24
krb5::client with supported operating systems on almalinux-8-x86_64 with default parameters is expected to contain Krb5::Setting::Realm[example.com] with admin_server => "foo.example.com" Failure/Error: it { is_expected.to create_krb5__setting__realm(facts[:domain]).with_admin_server(facts[:fqdn]) } Puppet::DataBinding::LookupError: Undefined variable 'spec_title' (file: /home/runner/work/pupmod-simp-krb5/pupmod-simp-krb5/spec/fixtures/hieradata/hiera.yaml, line: 9) on node fv-az1498-272.rffsckg10wduxcxr53tve02m4e.cx.internal.cloudapp.net
Puppet Spec (Puppet 8.x, ~> 8.0, 3.1, true)
Process completed with exit code 1.
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false): spec/unit/puppet/provider/krb5kdc_auto_keytabs/generate_keytabs_spec.rb#L97
Puppet::Type::Krb5kdc_auto_keytabs::ProviderGenerate when generating keytabs does not have any errors Failure/Error: allow(provider).to receive(:execute).with(regexp_matches(%r{list_principals})).and_return(list_principals) NoMethodError: undefined method `regexp_matches' for #<RSpec::ExampleGroups::PuppetTypeKrb5kdcAutoKeytabsProviderGenerate::WhenGeneratingKeytabs:0x0000561b49988428>
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false)
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/.
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/.
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/.
Puppet Spec (Puppet 8.x, ~> 8.0, 3.1, true)
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 Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false)
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 Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false): spec/defines/kdc/realm_spec.rb#L48
krb5::kdc::realm with supported operating systems on almalinux-8-x86_64 with catalysts disabled and initialize = false is expected not to contain Exec[add_admin_principal_puppet_auto] Failure/Error: expect(subject).not_to create_exec('add_admin_principal_puppet_auto') expected that the catalogue would not contain Exec[add_admin_principal_puppet_auto]
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false): spec/defines/kdc/realm_spec.rb#L53
krb5::kdc::realm with supported operating systems on almalinux-8-x86_64 with catalysts disabled and initialize = false is expected not to contain Exec[create_admin_principal_puppet_auto_keytab] Failure/Error: expect(subject).not_to create_exec('create_admin_principal_puppet_auto_keytab') expected that the catalogue would not contain Exec[create_admin_principal_puppet_auto_keytab]
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false): spec/defines/kdc/realm_spec.rb#L48
krb5::kdc::realm with supported operating systems on almalinux-9-x86_64 with catalysts disabled and initialize = false is expected not to contain Exec[add_admin_principal_puppet_auto] Failure/Error: expect(subject).not_to create_exec('add_admin_principal_puppet_auto') expected that the catalogue would not contain Exec[add_admin_principal_puppet_auto]
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false): spec/defines/kdc/realm_spec.rb#L53
krb5::kdc::realm with supported operating systems on almalinux-9-x86_64 with catalysts disabled and initialize = false is expected not to contain Exec[create_admin_principal_puppet_auto_keytab] Failure/Error: expect(subject).not_to create_exec('create_admin_principal_puppet_auto_keytab') expected that the catalogue would not contain Exec[create_admin_principal_puppet_auto_keytab]
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false): spec/defines/kdc/realm_spec.rb#L48
krb5::kdc::realm with supported operating systems on amazon-2-x86_64 with catalysts disabled and initialize = false is expected not to contain Exec[add_admin_principal_puppet_auto] Failure/Error: expect(subject).not_to create_exec('add_admin_principal_puppet_auto') expected that the catalogue would not contain Exec[add_admin_principal_puppet_auto]
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false): spec/defines/kdc/realm_spec.rb#L53
krb5::kdc::realm with supported operating systems on amazon-2-x86_64 with catalysts disabled and initialize = false is expected not to contain Exec[create_admin_principal_puppet_auto_keytab] Failure/Error: expect(subject).not_to create_exec('create_admin_principal_puppet_auto_keytab') expected that the catalogue would not contain Exec[create_admin_principal_puppet_auto_keytab]
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false): spec/defines/kdc/realm_spec.rb#L48
krb5::kdc::realm with supported operating systems on centos-7-x86_64 with catalysts disabled and initialize = false is expected not to contain Exec[add_admin_principal_puppet_auto] Failure/Error: expect(subject).not_to create_exec('add_admin_principal_puppet_auto') expected that the catalogue would not contain Exec[add_admin_principal_puppet_auto]
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false): spec/defines/kdc/realm_spec.rb#L53
krb5::kdc::realm with supported operating systems on centos-7-x86_64 with catalysts disabled and initialize = false is expected not to contain Exec[create_admin_principal_puppet_auto_keytab] Failure/Error: expect(subject).not_to create_exec('create_admin_principal_puppet_auto_keytab') expected that the catalogue would not contain Exec[create_admin_principal_puppet_auto_keytab]
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false): spec/defines/kdc/realm_spec.rb#L48
krb5::kdc::realm with supported operating systems on centos-8-x86_64 with catalysts disabled and initialize = false is expected not to contain Exec[add_admin_principal_puppet_auto] Failure/Error: expect(subject).not_to create_exec('add_admin_principal_puppet_auto') expected that the catalogue would not contain Exec[add_admin_principal_puppet_auto]
Puppet Spec (Puppet 7.x [SIMP 6.6/PE 2021.7], ~> 7.0, 2.7, false): spec/defines/kdc/realm_spec.rb#L53
krb5::kdc::realm with supported operating systems on centos-8-x86_64 with catalysts disabled and initialize = false is expected not to contain Exec[create_admin_principal_puppet_auto_keytab] Failure/Error: expect(subject).not_to create_exec('create_admin_principal_puppet_auto_keytab') expected that the catalogue would not contain Exec[create_admin_principal_puppet_auto_keytab]