Skip to content

Use more specific data types #245

Use more specific data types

Use more specific data types #245

Triggered via pull request May 12, 2024 22:38
Status Failure
Total duration 1m 52s
Artifacts

ci.yml

on: pull_request
Spec  /  Setup Test Matrix
38s
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

20 errors
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/source_spec.rb#L36
apt::source with defaults with location is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content !~ /# my_source\ndeb-src hello.there wheezy main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').without_content(%r{# my_source\ndeb-src hello.there wheezy main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/source_spec.rb#L53
apt::source no defaults with complex pin is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /hello.there stretch main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{hello.there stretch main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/source_spec.rb#L57
apt::source no defaults with complex pin is expected to contain File[/etc/apt/sources.list.d/my_source.list] that notifies Class[Apt::Update] Failure/Error: it { is_expected.to contain_file('/etc/apt/sources.list.d/my_source.list').that_notifies('Class[Apt::Update]') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/source_spec.rb#L59
apt::source no defaults with complex pin is expected to contain Apt::Pin[my_source] that comes before Apt::Setting[list-my_source] Failure/Error: expect(subject).to contain_apt__pin('my_source').that_comes_before('Apt::Setting[list-my_source]').with(ensure: 'present', priority: 1001, explanation: 'wishwash', release: 'wishwash') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/source_spec.rb#L149
apt::source with allow_insecure true is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[allow-insecure=yes\] hello.there stretch main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{# my_source\ndeb \[allow-insecure=yes\] hello.there stretch main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/source_spec.rb#L162
apt::source with allow_unsigned true is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[trusted=yes\] hello.there stretch main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{# my_source\ndeb \[trusted=yes\] hello.there stretch main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/source_spec.rb#L175
apt::source with check_valid_until false is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[check-valid-until=false\] hello.there stretch main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{# my_source\ndeb \[check-valid-until=false\] hello.there stretch main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/source_spec.rb#L188
apt::source with check_valid_until true is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb hello.there stretch main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{# my_source\ndeb hello.there stretch main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/source_spec.rb#L201
apt::source with keyring set is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[signed-by=\/usr\/share\/keyrings\/foo-archive-keyring.gpg\] hello.there stretch main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source') .with(ensure: 'present') .with_content(%r{# my_source\ndeb \[signed-by=/usr/share/keyrings/foo-archive-keyring.gpg\] hello.there stretch main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/source_spec.rb#L218
apt::source with keyring, architecture and allow_unsigned set is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[arch=amd64 trusted=yes signed-by=\/usr\/share\/keyrings\/foo-archive-keyring.gpg\] hello.there stretch main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source') .with(ensure: 'present') .with_content(%r{# my_source\ndeb \[arch=amd64 trusted=yes signed-by=/usr/share/keyrings/foo-archive-keyring.gpg\] hello.there stretch main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az885-257.m43iyx0u3v4e1h2pvvlabjukza.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/source_spec.rb#L36
apt::source with defaults with location is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content !~ /# my_source\ndeb-src hello.there wheezy main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').without_content(%r{# my_source\ndeb-src hello.there wheezy main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az738-57.ayi0s4js3kfu5apuyubnvt3std.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/source_spec.rb#L53
apt::source no defaults with complex pin is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /hello.there stretch main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{hello.there stretch main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az738-57.ayi0s4js3kfu5apuyubnvt3std.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/source_spec.rb#L57
apt::source no defaults with complex pin is expected to contain File[/etc/apt/sources.list.d/my_source.list] that notifies Class[Apt::Update] Failure/Error: it { is_expected.to contain_file('/etc/apt/sources.list.d/my_source.list').that_notifies('Class[Apt::Update]') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az738-57.ayi0s4js3kfu5apuyubnvt3std.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/source_spec.rb#L59
apt::source no defaults with complex pin is expected to contain Apt::Pin[my_source] that comes before Apt::Setting[list-my_source] Failure/Error: expect(subject).to contain_apt__pin('my_source').that_comes_before('Apt::Setting[list-my_source]').with(ensure: 'present', priority: 1001, explanation: 'wishwash', release: 'wishwash') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az738-57.ayi0s4js3kfu5apuyubnvt3std.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/source_spec.rb#L149
apt::source with allow_insecure true is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[allow-insecure=yes\] hello.there stretch main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{# my_source\ndeb \[allow-insecure=yes\] hello.there stretch main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az738-57.ayi0s4js3kfu5apuyubnvt3std.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/source_spec.rb#L162
apt::source with allow_unsigned true is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[trusted=yes\] hello.there stretch main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{# my_source\ndeb \[trusted=yes\] hello.there stretch main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az738-57.ayi0s4js3kfu5apuyubnvt3std.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/source_spec.rb#L175
apt::source with check_valid_until false is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[check-valid-until=false\] hello.there stretch main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{# my_source\ndeb \[check-valid-until=false\] hello.there stretch main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az738-57.ayi0s4js3kfu5apuyubnvt3std.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/source_spec.rb#L188
apt::source with check_valid_until true is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb hello.there stretch main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source').with(ensure: 'present').with_content(%r{# my_source\ndeb hello.there stretch main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az738-57.ayi0s4js3kfu5apuyubnvt3std.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/source_spec.rb#L201
apt::source with keyring set is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[signed-by=\/usr\/share\/keyrings\/foo-archive-keyring.gpg\] hello.there stretch main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source') .with(ensure: 'present') .with_content(%r{# my_source\ndeb \[signed-by=/usr/share/keyrings/foo-archive-keyring.gpg\] hello.there stretch main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az738-57.ayi0s4js3kfu5apuyubnvt3std.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/source_spec.rb#L218
apt::source with keyring, architecture and allow_unsigned set is expected to contain Apt::Setting[list-my_source] with ensure => "present" and content =~ /# my_source\ndeb \[arch=amd64 trusted=yes signed-by=\/usr\/share\/keyrings\/foo-archive-keyring.gpg\] hello.there stretch main\n/ Failure/Error: expect(subject).to contain_apt__setting('list-my_source') .with(ensure: 'present') .with_content(%r{# my_source\ndeb \[arch=amd64 trusted=yes signed-by=/usr/share/keyrings/foo-archive-keyring.gpg\] hello.there stretch main\n}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Apt::Source[my_source]: parameter 'location' expects a match for Stdlib::HTTPUrl = Pattern[/(?i:\Ahttps?:\/\/.*\z)/], got 'hello.there' (line: 3) on node fv-az738-57.ayi0s4js3kfu5apuyubnvt3std.cx.internal.cloudapp.net