(CAT-270) Adjusting tests for pdk integration testing #56
ci.yml
on: pull_request
Spec
/
Setup Test Matrix
39s
Matrix: Spec / spec
Matrix: Acceptance / acceptance
Waiting for pending jobs
Annotations
6 errors and 2 warnings
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/classes/motd_spec.rb#L44
motd On Linux when neither template or source are specified is expected to contain File[/etc/motd] with ensure => "file", backup => "false", content supplied string, owner => "root", group => "root" and mode => "0644"
Failure/Error:
expect(subject).to contain_File('/etc/motd').with(
ensure: 'file', backup: 'false',
content: "RedHat 9.0 x86_64\n\nFQDN: foo.example.com (172.16.254.254)\nProcessor: Intel Xeon Processor (Cascadelake)\nKernel: Linux\nMemory Size: 3.10 GiB\n",
owner: 'root', group: 'root', mode: '0644'
)
expected that the catalogue would contain File[/etc/motd] with content set to supplied string
Diff:
@@ -1,6 +1,6 @@
RedHat 9.0 x86_64
-FQDN: foo.example.com (172.16.254.254)
+FQDN: foo.example.com (10.109.1.2)
Processor: Intel Xeon Processor (Cascadelake)
Kernel: Linux
Memory Size: 3.10 GiB
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/classes/motd_spec.rb#L199
motd On Windows when neither template or source are specified is expected to contain Registry_value[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system\legalnoticetext] with ensure => "present", type => "string" and data => "windows 10 x64\n\nFQDN: foo.example.com (172.16.254.254)\nProcessor: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz\nKernel: windows\nMemory Size: 14.34 GiB\n"
Failure/Error:
expect(subject).to contain_Registry_value('HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system\legalnoticetext').with(
ensure: 'present',
type: 'string',
data: "windows 10 x64\n\nFQDN: foo.example.com (172.16.254.254)\nProcessor: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz\nKernel: windows\nMemory Size: 14.34 GiB\n",
)
expected that the catalogue would contain Registry_value[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system\legalnoticetext] with data set to "windows 10 x64\n\nFQDN: foo.example.com (172.16.254.254)\nProcessor: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz\nKernel: windows\nMemory Size: 14.34 GiB\n" but it is set to "windows 10 x64\n\nFQDN: foo.example.com (10.138.1.5)\nProcessor: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz\nKernel: windows\nMemory Size: 14.34 GiB\n"
Diff:
@@ -1,6 +1,6 @@
windows 10 x64
-FQDN: foo.example.com (172.16.254.254)
+FQDN: foo.example.com (10.138.1.5)
Processor: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
Kernel: windows
Memory Size: 14.34 GiB
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
Process completed with exit code 1.
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/classes/motd_spec.rb#L44
motd On Linux when neither template or source are specified is expected to contain File[/etc/motd] with ensure => "file", backup => "false", content supplied string, owner => "root", group => "root" and mode => "0644"
Failure/Error:
expect(subject).to contain_File('/etc/motd').with(
ensure: 'file', backup: 'false',
content: "RedHat 9.0 x86_64\n\nFQDN: foo.example.com (172.16.254.254)\nProcessor: Intel Xeon Processor (Cascadelake)\nKernel: Linux\nMemory Size: 3.10 GiB\n",
owner: 'root', group: 'root', mode: '0644'
)
expected that the catalogue would contain File[/etc/motd] with content set to supplied string
Diff:
@@ -1,6 +1,6 @@
RedHat 9.0 x86_64
-FQDN: foo.example.com (172.16.254.254)
+FQDN: foo.example.com (10.109.1.2)
Processor: Intel Xeon Processor (Cascadelake)
Kernel: Linux
Memory Size: 3.10 GiB
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/classes/motd_spec.rb#L199
motd On Windows when neither template or source are specified is expected to contain Registry_value[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system\legalnoticetext] with ensure => "present", type => "string" and data => "windows 10 x64\n\nFQDN: foo.example.com (172.16.254.254)\nProcessor: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz\nKernel: windows\nMemory Size: 14.34 GiB\n"
Failure/Error:
expect(subject).to contain_Registry_value('HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system\legalnoticetext').with(
ensure: 'present',
type: 'string',
data: "windows 10 x64\n\nFQDN: foo.example.com (172.16.254.254)\nProcessor: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz\nKernel: windows\nMemory Size: 14.34 GiB\n",
)
expected that the catalogue would contain Registry_value[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system\legalnoticetext] with data set to "windows 10 x64\n\nFQDN: foo.example.com (172.16.254.254)\nProcessor: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz\nKernel: windows\nMemory Size: 14.34 GiB\n" but it is set to "windows 10 x64\n\nFQDN: foo.example.com (10.138.1.5)\nProcessor: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz\nKernel: windows\nMemory Size: 14.34 GiB\n"
Diff:
@@ -1,6 +1,6 @@
windows 10 x64
-FQDN: foo.example.com (172.16.254.254)
+FQDN: foo.example.com (10.138.1.5)
Processor: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
Kernel: windows
Memory Size: 14.34 GiB
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Process completed with exit code 1.
|
Spec / Setup Test Matrix
Cannot find image for Windows-10
|
Spec / Setup Test Matrix
Cannot find image for Windows-2012 R2
|