(CAT-2083) - Modernize module #5
ci.yml
on: pull_request
Spec
/
Setup Test Matrix
26s
Matrix: Spec / spec
Matrix: Acceptance / acceptance
Waiting for pending jobs
Annotations
20 errors
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/classes/motd_spec.rb#L21
testing On Linux when neither template or source are specified is expected to contain File[/etc/testing] with ensure => "file", backup => "false", content supplied string, owner => "root", group => "root" and mode => "0644"
Failure/Error:
is_expected.to contain_File('/etc/testing').with(
ensure: 'file',
backup: 'false',
content: "TestOS 5 x86_64\n\nFQDN: test.example.com (123.23.243.1)\nProcessor: intel awesome\nKernel: Linux\nMemory Size: 16.00 GB\n",
owner: 'root',
group: 'root',
mode: '0644',
)
expected that the catalogue would contain File[/etc/testing] with content set to supplied string
Diff:
@@ -1,7 +1,7 @@
-TestOS 5 x86_64
+RedHat 9.3 x86_64
-FQDN: test.example.com (123.23.243.1)
-Processor: intel awesome
+FQDN: foo.example.com (10.0.2.15)
+Processor: AMD Ryzen 7 PRO 4750U with Radeon Graphics
Kernel: Linux
-Memory Size: 16.00 GB
+Memory Size: 1.91 GiB
|
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/classes/motd_spec.rb#L178
testing On Debian based Operating Systems when dynamic mdlj is false is expected to contain File_line[dynamic_mdlj] with line => "session optional pam_mdlj.so mdlj=/run/mdlj.dynamic noupdate"
Failure/Error: it { is_expected.to contain_file_line('dynamic_mdlj').with_line('session optional pam_mdlj.so mdlj=/run/mdlj.dynamic noupdate') }
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1498-712.rffsckg10wduxcxr53tve02m4e.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/classes/motd_spec.rb#L184
testing On Debian based Operating Systems when dynamic mdlj is true is expected not to contain File_line[dynamic_mdlj]
Failure/Error: it { is_expected.not_to contain_file_line('dynamic_mdlj') }
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1498-712.rffsckg10wduxcxr53tve02m4e.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/classes/motd_spec.rb#L250
testing On FreeBSD when neither template or source are specified is expected to contain File[/etc/testing] with ensure => "file", backup => "false" and content supplied string
Failure/Error:
is_expected.to contain_File('/etc/testing').with(
ensure: 'file',
backup: 'false',
content: "TestOS 11 amd64\n\nFQDN: test.example.com (123.23.243.1)\nProcessor: intel\nKernel: FreeBSD\nMemory Size: 16.00 GB\n",
)
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1498-712.rffsckg10wduxcxr53tve02m4e.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/classes/motd_spec.rb#L267
testing On FreeBSD when both template and source are specified is expected to contain File[/etc/testing] with ensure => "file", backup => "false" and content supplied string
Failure/Error:
is_expected.to contain_File('/etc/testing').with(
ensure: 'file',
backup: 'false',
content: "Test Template for Rspec\n",
)
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1498-712.rffsckg10wduxcxr53tve02m4e.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/classes/motd_spec.rb#L279
testing On FreeBSD when a source is specified is expected to contain File[/etc/testing] with ensure => "file", backup => "false" and content supplied string
Failure/Error:
is_expected.to contain_File('/etc/testing').with(
ensure: 'file',
backup: 'false',
content: 'Hello!',
)
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1498-712.rffsckg10wduxcxr53tve02m4e.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/classes/motd_spec.rb#L291
testing On FreeBSD when an external template is specified is expected to contain File[/etc/testing] with ensure => "file", backup => "false" and content supplied string
Failure/Error:
is_expected.to contain_File('/etc/testing').with(
ensure: 'file',
backup: 'false',
content: "Test Template for Rspec\n",
)
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1498-712.rffsckg10wduxcxr53tve02m4e.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/classes/motd_spec.rb#L316
testing On AIX when neither template or source are specified is expected to contain File[/etc/testing] with ensure => "file", backup => "false", content supplied string, owner => "bin", group => "bin" and mode => "0644"
Failure/Error:
is_expected.to contain_File('/etc/testing').with(
ensure: 'file',
backup: 'false',
content: "AIX 7100-04-02-1614 PowerPC_POWER8\n\nFQDN: test.example.com (123.23.243.1)\nProcessor: \PowerPC_POWER8\nKernel: AIX\nMemory Size: 16.00 GB\n",
owner: 'bin',
group: 'bin',
mode: '0644',
)
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1498-712.rffsckg10wduxcxr53tve02m4e.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/classes/motd_spec.rb#L330
testing On AIX when a template is specified for /etc/issue is expected to contain File[/etc/issue] with ensure => "file", backup => "false", content supplied string, owner => "bin", group => "bin" and mode => "0644"
Failure/Error:
is_expected.to contain_File('/etc/issue').with(
ensure: 'file',
backup: 'false',
content: "Test Template for Rspec\n",
owner: 'bin',
group: 'bin',
mode: '0644',
)
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1498-712.rffsckg10wduxcxr53tve02m4e.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/classes/motd_spec.rb#L344
testing On AIX when a template is specified for /etc/issue.net is expected to contain File[/etc/issue.net] with ensure => "file", backup => "false", content supplied string, owner => "bin", group => "bin" and mode => "0644"
Failure/Error:
is_expected.to contain_File('/etc/issue.net').with(
ensure: 'file',
backup: 'false',
content: "Test Template for Rspec\n",
owner: 'bin',
group: 'bin',
mode: '0644',
)
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1498-712.rffsckg10wduxcxr53tve02m4e.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/classes/motd_spec.rb#L21
testing On Linux when neither template or source are specified is expected to contain File[/etc/testing] with ensure => "file", backup => "false", content supplied string, owner => "root", group => "root" and mode => "0644"
Failure/Error:
is_expected.to contain_File('/etc/testing').with(
ensure: 'file',
backup: 'false',
content: "TestOS 5 x86_64\n\nFQDN: test.example.com (123.23.243.1)\nProcessor: intel awesome\nKernel: Linux\nMemory Size: 16.00 GB\n",
owner: 'root',
group: 'root',
mode: '0644',
)
expected that the catalogue would contain File[/etc/testing] with content set to supplied string
Diff:
@@ -1,7 +1,7 @@
-TestOS 5 x86_64
+RedHat 9.3 x86_64
-FQDN: test.example.com (123.23.243.1)
-Processor: intel awesome
+FQDN: foo.example.com (10.0.2.15)
+Processor: AMD Ryzen 7 PRO 4750U with Radeon Graphics
Kernel: Linux
-Memory Size: 16.00 GB
+Memory Size: 1.91 GiB
|
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/classes/motd_spec.rb#L178
testing On Debian based Operating Systems when dynamic mdlj is false is expected to contain File_line[dynamic_mdlj] with line => "session optional pam_mdlj.so mdlj=/run/mdlj.dynamic noupdate"
Failure/Error: it { is_expected.to contain_file_line('dynamic_mdlj').with_line('session optional pam_mdlj.so mdlj=/run/mdlj.dynamic noupdate') }
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1435-805.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/classes/motd_spec.rb#L184
testing On Debian based Operating Systems when dynamic mdlj is true is expected not to contain File_line[dynamic_mdlj]
Failure/Error: it { is_expected.not_to contain_file_line('dynamic_mdlj') }
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1435-805.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/classes/motd_spec.rb#L250
testing On FreeBSD when neither template or source are specified is expected to contain File[/etc/testing] with ensure => "file", backup => "false" and content supplied string
Failure/Error:
is_expected.to contain_File('/etc/testing').with(
ensure: 'file',
backup: 'false',
content: "TestOS 11 amd64\n\nFQDN: test.example.com (123.23.243.1)\nProcessor: intel\nKernel: FreeBSD\nMemory Size: 16.00 GB\n",
)
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1435-805.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/classes/motd_spec.rb#L267
testing On FreeBSD when both template and source are specified is expected to contain File[/etc/testing] with ensure => "file", backup => "false" and content supplied string
Failure/Error:
is_expected.to contain_File('/etc/testing').with(
ensure: 'file',
backup: 'false',
content: "Test Template for Rspec\n",
)
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1435-805.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/classes/motd_spec.rb#L279
testing On FreeBSD when a source is specified is expected to contain File[/etc/testing] with ensure => "file", backup => "false" and content supplied string
Failure/Error:
is_expected.to contain_File('/etc/testing').with(
ensure: 'file',
backup: 'false',
content: 'Hello!',
)
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1435-805.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/classes/motd_spec.rb#L291
testing On FreeBSD when an external template is specified is expected to contain File[/etc/testing] with ensure => "file", backup => "false" and content supplied string
Failure/Error:
is_expected.to contain_File('/etc/testing').with(
ensure: 'file',
backup: 'false',
content: "Test Template for Rspec\n",
)
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1435-805.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/classes/motd_spec.rb#L316
testing On AIX when neither template or source are specified is expected to contain File[/etc/testing] with ensure => "file", backup => "false", content supplied string, owner => "bin", group => "bin" and mode => "0644"
Failure/Error:
is_expected.to contain_File('/etc/testing').with(
ensure: 'file',
backup: 'false',
content: "AIX 7100-04-02-1614 PowerPC_POWER8\n\nFQDN: test.example.com (123.23.243.1)\nProcessor: \PowerPC_POWER8\nKernel: AIX\nMemory Size: 16.00 GB\n",
owner: 'bin',
group: 'bin',
mode: '0644',
)
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1435-805.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/classes/motd_spec.rb#L330
testing On AIX when a template is specified for /etc/issue is expected to contain File[/etc/issue] with ensure => "file", backup => "false", content supplied string, owner => "bin", group => "bin" and mode => "0644"
Failure/Error:
is_expected.to contain_File('/etc/issue').with(
ensure: 'file',
backup: 'false',
content: "Test Template for Rspec\n",
owner: 'bin',
group: 'bin',
mode: '0644',
)
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1435-805.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
|
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/classes/motd_spec.rb#L344
testing On AIX when a template is specified for /etc/issue.net is expected to contain File[/etc/issue.net] with ensure => "file", backup => "false", content supplied string, owner => "bin", group => "bin" and mode => "0644"
Failure/Error:
is_expected.to contain_File('/etc/issue.net').with(
ensure: 'file',
backup: 'false',
content: "Test Template for Rspec\n",
owner: 'bin',
group: 'bin',
mode: '0644',
)
Puppet::PreformattedError:
Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: /home/runner/work/puppetlabs-testing/puppetlabs-testing/spec/fixtures/modules/testing/manifests/init.pp, line: 123, column: 9) on node fv-az1435-805.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
|