Skip to content

(CAT-270) Adjusting tests for pdk integration testing #60

(CAT-270) Adjusting tests for pdk integration testing

(CAT-270) Adjusting tests for pdk integration testing #60

Triggered via pull request October 25, 2023 10:52
Status Failure
Total duration 2m 10s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Spec  /  Setup Test Matrix
39s
Spec / Setup Test Matrix
Matrix: Spec / spec
Acceptance  /  Setup Test Matrix
Acceptance / Setup Test Matrix
Matrix: Acceptance / acceptance
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/motd_spec.rb#L202
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#L202
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