Skip to content

(CAT-2193): Fixed kubernetes environment setup for Debian. #237

(CAT-2193): Fixed kubernetes environment setup for Debian.

(CAT-2193): Fixed kubernetes environment setup for Debian. #237

Triggered via pull request January 8, 2025 12:07
Status Failure
Total duration 2m 20s
Artifacts

ci.yml

on: pull_request
Spec  /  Setup Test Matrix
25s
Spec / Setup Test Matrix
Matrix: Spec / spec
Matrix: Integration
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/repos_spec.rb#L45
kubernetes::repos with osfamily => Ubuntu and manage_docker => true is expected to contain Apt::Source[kubernetes] with ensure => "present", location => "http://apt.kubernetes.io", repos => "main", release => "kubernetes-xenial" and key => {"id"=>"54A647F9048D5688D7DA2ABE6A030B21BA07F4FB", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"} Failure/Error: expect(subject).to contain_apt__source('kubernetes').with( ensure: 'present', location: 'http://apt.kubernetes.io', repos: 'main', release: 'kubernetes-xenial', key: { 'id' => '54A647F9048D5688D7DA2ABE6A030B21BA07F4FB', 'source' => 'https://packages.cloud.google.com/apt/doc/apt-key.gpg' }, ) expected that the catalogue would contain Apt::Source[kubernetes] with key set to {"id"=>"54A647F9048D5688D7DA2ABE6A030B21BA07F4FB", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"} but it is set to {"name"=>"kubernetes-apt-keyring.gpg", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"}
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/repos_spec.rb#L106
kubernetes::repos with osfamily => Ubuntu and container_runtime => cri_containerd and containerd_install_method => package is expected to contain Apt::Source[kubernetes] with ensure => "present", location => "http://apt.kubernetes.io", repos => "main", release => "kubernetes-xenial" and key => {"id"=>"54A647F9048D5688D7DA2ABE6A030B21BA07F4FB", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"} Failure/Error: expect(subject).to contain_apt__source('kubernetes').with( ensure: 'present', location: 'http://apt.kubernetes.io', repos: 'main', release: 'kubernetes-xenial', key: { 'id' => '54A647F9048D5688D7DA2ABE6A030B21BA07F4FB', 'source' => 'https://packages.cloud.google.com/apt/doc/apt-key.gpg' }, ) expected that the catalogue would contain Apt::Source[kubernetes] with key set to {"id"=>"54A647F9048D5688D7DA2ABE6A030B21BA07F4FB", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"} but it is set to {"name"=>"kubernetes-apt-keyring.gpg", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"}
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/repos_spec.rb#L45
kubernetes::repos with osfamily => Ubuntu and manage_docker => true is expected to contain Apt::Source[kubernetes] with ensure => "present", location => "http://apt.kubernetes.io", repos => "main", release => "kubernetes-xenial" and key => {"id"=>"54A647F9048D5688D7DA2ABE6A030B21BA07F4FB", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"} Failure/Error: expect(subject).to contain_apt__source('kubernetes').with( ensure: 'present', location: 'http://apt.kubernetes.io', repos: 'main', release: 'kubernetes-xenial', key: { 'id' => '54A647F9048D5688D7DA2ABE6A030B21BA07F4FB', 'source' => 'https://packages.cloud.google.com/apt/doc/apt-key.gpg' }, ) expected that the catalogue would contain Apt::Source[kubernetes] with key set to {"id"=>"54A647F9048D5688D7DA2ABE6A030B21BA07F4FB", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"} but it is set to {"name"=>"kubernetes-apt-keyring.gpg", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"}
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/repos_spec.rb#L106
kubernetes::repos with osfamily => Ubuntu and container_runtime => cri_containerd and containerd_install_method => package is expected to contain Apt::Source[kubernetes] with ensure => "present", location => "http://apt.kubernetes.io", repos => "main", release => "kubernetes-xenial" and key => {"id"=>"54A647F9048D5688D7DA2ABE6A030B21BA07F4FB", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"} Failure/Error: expect(subject).to contain_apt__source('kubernetes').with( ensure: 'present', location: 'http://apt.kubernetes.io', repos: 'main', release: 'kubernetes-xenial', key: { 'id' => '54A647F9048D5688D7DA2ABE6A030B21BA07F4FB', 'source' => 'https://packages.cloud.google.com/apt/doc/apt-key.gpg' }, ) expected that the catalogue would contain Apt::Source[kubernetes] with key set to {"id"=>"54A647F9048D5688D7DA2ABE6A030B21BA07F4FB", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"} but it is set to {"name"=>"kubernetes-apt-keyring.gpg", "source"=>"https://packages.cloud.google.com/apt/doc/apt-key.gpg"}
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Process completed with exit code 1.
Spec / Setup Test Matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see /~https://github.com/actions/runner-images/issues/10636
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see /~https://github.com/actions/runner-images/issues/10636
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see /~https://github.com/actions/runner-images/issues/10636