Skip to content

Reload udev rules after change #770

Reload udev rules after change

Reload udev rules after change #770

Triggered via pull request August 27, 2024 13:52
@dericderic
synchronize #485
deric:udev
Status Failure
Total duration 3m 58s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
24s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
9s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 5 warnings
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L707
systemd supported operating systems on debian-11-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L707
systemd supported operating systems on debian-12-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L707
systemd supported operating systems on ubuntu-20.04-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L707
systemd supported operating systems on ubuntu-22.04-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L707
systemd supported operating systems on sles-12-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L707
systemd supported operating systems on sles-15-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L707
systemd supported operating systems on redhat-8-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L707
systemd supported operating systems on redhat-9-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 8 (Ruby 3.2): spec/defines/udev_rules_spec.rb#L71
systemd::udev::rule supported operating systems on debian-11-x86_64 with all options (array notify) is expected to contain File[/etc/udev/rules.d/test.rules] that notifies Service[systemd-udevd], Service[foo] and Exec[systemd-udev_reload] Failure/Error: is_expected.to create_file("/etc/udev/rules.d/#{title}"). with(ensure: 'file', mode: '0444', owner: 'root', group: 'root'). with_content(%r{^# This file managed by Puppet - DO NOT EDIT$}). with_content(%r{^# I am a comment$}). with_content(%r{^ACTION=="add", KERNEL=="sda", RUN\+="/bin/raw /dev/raw/raw1 %N"$}). with_content(%r{^ACTION=="add", KERNEL=="sdb", RUN\+="/bin/raw /dev/raw/raw2 %N"$}). that_notifies('Service[systemd-udevd]'). that_notifies('Service[foo]'). that_notifies('Exec[systemd-udev_reload]') expected that the catalogue would contain File[/etc/udev/rules.d/test.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 8 (Ruby 3.2): spec/defines/udev_rules_spec.rb#L100
systemd::udev::rule supported operating systems on debian-11-x86_64 ensured absent with automatic reload is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Systemd::Udev::Rule[test.rules]: has no parameter named 'udev_reload' (line: 5) on node fv-az1206-472.0vxl32vwipkujoye4f0dw5oaka.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L707
systemd supported operating systems on debian-11-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L707
systemd supported operating systems on debian-12-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L707
systemd supported operating systems on ubuntu-20.04-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L707
systemd supported operating systems on ubuntu-22.04-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L707
systemd supported operating systems on sles-12-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L707
systemd supported operating systems on sles-15-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L707
systemd supported operating systems on redhat-8-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L707
systemd supported operating systems on redhat-9-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L707
systemd supported operating systems on centos-9-x86_64 when working with udevd and a rule set is expected to contain File[/etc/udev/rules.d/example_raw.rules] that notifies Exec[systemd-udev_reload] Failure/Error: it { is_expected.to contain_file('/etc/udev/rules.d/example_raw.rules').that_notifies('Exec[systemd-udev_reload]') } expected that the catalogue would contain File[/etc/udev/rules.d/example_raw.rules] with that notifies Exec[systemd-udev_reload]
Puppet / 7 (Ruby 2.7): spec/defines/udev_rules_spec.rb#L71
systemd::udev::rule supported operating systems on debian-11-x86_64 with all options (array notify) is expected to contain File[/etc/udev/rules.d/test.rules] that notifies Service[systemd-udevd], Service[foo] and Exec[systemd-udev_reload] Failure/Error: is_expected.to create_file("/etc/udev/rules.d/#{title}"). with(ensure: 'file', mode: '0444', owner: 'root', group: 'root'). with_content(%r{^# This file managed by Puppet - DO NOT EDIT$}). with_content(%r{^# I am a comment$}). with_content(%r{^ACTION=="add", KERNEL=="sda", RUN\+="/bin/raw /dev/raw/raw1 %N"$}). with_content(%r{^ACTION=="add", KERNEL=="sdb", RUN\+="/bin/raw /dev/raw/raw2 %N"$}). that_notifies('Service[systemd-udevd]'). that_notifies('Service[foo]'). that_notifies('Exec[systemd-udev_reload]') expected that the catalogue would contain File[/etc/udev/rules.d/test.rules] with that notifies Exec[systemd-udev_reload]
Puppet / Test suite
Process completed with exit code 1.
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system RedHat 7
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 7
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 8
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system Fedora 37
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system Fedora 38