Skip to content

Fixes #37761 - Allow rewrites needed for cockpit integration #1648

Fixes #37761 - Allow rewrites needed for cockpit integration

Fixes #37761 - Allow rewrites needed for cockpit integration #1648

Triggered via pull request August 26, 2024 14:18
Status Failure
Total duration 49m 29s
Artifacts

ci.yml

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

Annotations

21 errors and 1 warning
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L19
foreman::plugin::remote_execution::cockpit on almalinux-8-x86_64 with default args 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 Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x00007f2f3d105c98 @__scope__=Scope(Class[Foreman::Plugin::Remote_execution::Cockpit]), @__file__="/home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb", @hostname="foo", @fqdn="foo.example.com", @Domain="example.com", @clientcert="fv-az575-790.txkdwr3xd4ruhezurzmahy12zg.cx.internal.cloudapp.net", @networking={"domain"=>"example.com", "fqdn"=>"foo.example.com", "hostname"=>"foo", "interfaces"=>{"enp0s3"=>{"bindings"=>[{"address"=>"10.0.2.15", "netmask"=>"255.255.255.0", "network"=>"10.0.2.0"}], "bindings6"=>[{"address"=>"fe80::a00:27ff:feca:eec9", "netmask"=>"ffff:ffff:ffff:ffff::", "network"=>"fe80::", "scope6"=>"link", "flags"=>["permanent"]}], "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "scope6"=>"link"}, "lo"=>{"bindings"=>[{"address"=>"127.0.0.1", "netmask"=>"255.0.0.0", "network"=>"127.0.0.0"}], "bindings6"=>[{"address"=>"::1", "netmask"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"::1", "scope6"=>"host", "flags"=>["permanent"]}], "ip"=>"127.0.0.1", "ip6"=>"::1", "mtu"=>65536, "netmask"=>"255.0.0.0", "netmask6"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"127.0.0.0", "network6"=>"::1", "scope6"=>"host"}}, "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "primary"=>"enp0s3", "scope6"=>"link"}, @clientversion="8.8.1", @aio_agent_version="8.8.1", @architecture="x86_64", @augeas={"version"=>"1.13.0"}, @augeasversion="1.13.0", @bios_release_date="12/01/2006", @bios_vendor="innotek GmbH", @bios_version="VirtualBox", @blockdevice_sda_model="VBOX HARDDISK", @blockdevice_sda_size=20971520000, @blockdevice_sda_vendor="ATA", @blockdevices="sda", @boardmanufacturer="Oracle Corporation", @boardproductname="VirtualBox", @boardserialnumber="0", @chassistype="Other", @dhcp_servers={"system"=>nil}, @disks={"sda"=>{"model"=>"VBOX HARDDISK", "serial"=>"VB5d80b994-ff298eab", "size"=>"19.53 GiB", "size_bytes"=>20971520000, "type"=>"hdd", "vendor"=>"ATA"}}, @dmi={"bios"=>{"release_date"=>"12/01/2006", "vendor"=>"innotek GmbH", "version"=>"VirtualBox"}, "board"=>{"manufacturer"=>"Oracle Corporation", "product"=>"VirtualBox", "serial_number"=>"0"}, "chassis"=>{"type"=>"Other"}, "manufacturer"=>"innotek GmbH", "product"=>{"name"=>"VirtualBox", "serial_number"=>"0", "uuid"=>"7a8edf87-7159-524f-9738-7688aea7d22f"}}, @facterversion="4.2.14", @filesystems="xfs", @fips_enabled=false, @gid="root", @hardwareisa="x86_64", @hardwaremodel="x86_64", @hypervisors={"virtualbox"=>{"revision"=>"162988", "version"=>"7.0.18"}}, @id="root", @identity={"gid"=>0, "group"=>"root", "privileged"=>true, "uid"=>0, "user"=>"root"}, @interfaces="enp0s3,lo", @IPAddress="10.0.2.15", @ipaddress6="fe80::a00:27ff:feca:eec9", @ipaddress6_enp0s3="fe80::a00:27ff:feca:eec9", @ipaddress6_lo="::1", @ipaddress_enp0s3="10.0.2.15", @ipaddress_lo="127.0.0.1", @is_virtual=true, @kernel="Linux", @kernelmajversion="4.18", @kernelrelease="4.18.0-513.9.1.el8_9.x86_64", @kernelversion="4.18.0", @load_averages={"15m"=>0.77, "1m"=>2.08, "5m"=>1.61}, @lsbdistrelease="8.9", @lsbmajdistrelease="8", @lsbminordistrelease="9", @macaddress="08:00:27:ca:ee:c9", @macaddress_enp0s3="08:00:27:ca:ee:c9", @manufacture
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L20
foreman::plugin::remote_execution::cockpit on almalinux-8-x86_64 with default args is expected to contain Foreman::Plugin[remote_execution-cockpit] that notifies Class[foreman::service] Failure/Error: it { is_expected.to contain_foreman__plugin('remote_execution-cockpit').that_notifies("Class[foreman::service]") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x00007f2f408d3170 @__scope__=Scope(Class[Foreman::Plugin::Remote_execution::Cockpit]), @__file__="/home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb", @hostname="foo", @fqdn="foo.example.com", @Domain="example.com", @clientcert="fv-az575-790.txkdwr3xd4ruhezurzmahy12zg.cx.internal.cloudapp.net", @networking={"domain"=>"example.com", "fqdn"=>"foo.example.com", "hostname"=>"foo", "interfaces"=>{"enp0s3"=>{"bindings"=>[{"address"=>"10.0.2.15", "netmask"=>"255.255.255.0", "network"=>"10.0.2.0"}], "bindings6"=>[{"address"=>"fe80::a00:27ff:feca:eec9", "netmask"=>"ffff:ffff:ffff:ffff::", "network"=>"fe80::", "scope6"=>"link", "flags"=>["permanent"]}], "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "scope6"=>"link"}, "lo"=>{"bindings"=>[{"address"=>"127.0.0.1", "netmask"=>"255.0.0.0", "network"=>"127.0.0.0"}], "bindings6"=>[{"address"=>"::1", "netmask"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"::1", "scope6"=>"host", "flags"=>["permanent"]}], "ip"=>"127.0.0.1", "ip6"=>"::1", "mtu"=>65536, "netmask"=>"255.0.0.0", "netmask6"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"127.0.0.0", "network6"=>"::1", "scope6"=>"host"}}, "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "primary"=>"enp0s3", "scope6"=>"link"}, @clientversion="8.8.1", @aio_agent_version="8.8.1", @architecture="x86_64", @augeas={"version"=>"1.13.0"}, @augeasversion="1.13.0", @bios_release_date="12/01/2006", @bios_vendor="innotek GmbH", @bios_version="VirtualBox", @blockdevice_sda_model="VBOX HARDDISK", @blockdevice_sda_size=20971520000, @blockdevice_sda_vendor="ATA", @blockdevices="sda", @boardmanufacturer="Oracle Corporation", @boardproductname="VirtualBox", @boardserialnumber="0", @chassistype="Other", @dhcp_servers={"system"=>nil}, @disks={"sda"=>{"model"=>"VBOX HARDDISK", "serial"=>"VB5d80b994-ff298eab", "size"=>"19.53 GiB", "size_bytes"=>20971520000, "type"=>"hdd", "vendor"=>"ATA"}}, @dmi={"bios"=>{"release_date"=>"12/01/2006", "vendor"=>"innotek GmbH", "version"=>"VirtualBox"}, "board"=>{"manufacturer"=>"Oracle Corporation", "product"=>"VirtualBox", "serial_number"=>"0"}, "chassis"=>{"type"=>"Other"}, "manufacturer"=>"innotek GmbH", "product"=>{"name"=>"VirtualBox", "serial_number"=>"0", "uuid"=>"7a8edf87-7159-524f-9738-7688aea7d22f"}}, @facterversion="4.2.14", @filesystems="xfs", @fips_enabled=false, @gid="root", @hardwareisa="x86_64", @hardwaremodel="x86_64", @hypervisors={"virtualbox"=>{"revision"=>"162988", "version"=>"7.0.18"}}, @id="root", @identity={"gid"=>0, "group"=>"root", "privileged"=>true, "uid"=>0, "user"=>"root"}, @interfaces="enp0s3,lo", @IPAddress="10.0.2.15", @ipaddress6="fe80::a00:27ff:feca:eec9", @ipaddress6_enp0s3="fe80::a00:27ff:feca:eec9", @ipaddress6_lo="::1", @ipaddress_enp0s3="10.0.2.15", @ipaddress_lo="127.0.0.1", @is_virtual=true, @kernel="Linux", @kernelmajversion="4.18", @kernelrelease="4.18.0-513.9.1.el8_9.x86_64", @kernelversion="4.18.0", @load_averages={"15m"=>0.77, "1m"=>2.08, "5m"=>1.61}, @lsbdistrelease="8.9", @lsbmajdistrelease="8", @l
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L21
foreman::plugin::remote_execution::cockpit on almalinux-8-x86_64 with default args contains dependencies Failure/Error: is_expected.to contain_foreman__plugin('remote_execution') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x00007f2f3b6525e0 @__scope__=Scope(Class[Foreman::Plugin::Remote_execution::Cockpit]), @__file__="/home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb", @hostname="foo", @fqdn="foo.example.com", @Domain="example.com", @clientcert="fv-az575-790.txkdwr3xd4ruhezurzmahy12zg.cx.internal.cloudapp.net", @networking={"domain"=>"example.com", "fqdn"=>"foo.example.com", "hostname"=>"foo", "interfaces"=>{"enp0s3"=>{"bindings"=>[{"address"=>"10.0.2.15", "netmask"=>"255.255.255.0", "network"=>"10.0.2.0"}], "bindings6"=>[{"address"=>"fe80::a00:27ff:feca:eec9", "netmask"=>"ffff:ffff:ffff:ffff::", "network"=>"fe80::", "scope6"=>"link", "flags"=>["permanent"]}], "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "scope6"=>"link"}, "lo"=>{"bindings"=>[{"address"=>"127.0.0.1", "netmask"=>"255.0.0.0", "network"=>"127.0.0.0"}], "bindings6"=>[{"address"=>"::1", "netmask"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"::1", "scope6"=>"host", "flags"=>["permanent"]}], "ip"=>"127.0.0.1", "ip6"=>"::1", "mtu"=>65536, "netmask"=>"255.0.0.0", "netmask6"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"127.0.0.0", "network6"=>"::1", "scope6"=>"host"}}, "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "primary"=>"enp0s3", "scope6"=>"link"}, @clientversion="8.8.1", @aio_agent_version="8.8.1", @architecture="x86_64", @augeas={"version"=>"1.13.0"}, @augeasversion="1.13.0", @bios_release_date="12/01/2006", @bios_vendor="innotek GmbH", @bios_version="VirtualBox", @blockdevice_sda_model="VBOX HARDDISK", @blockdevice_sda_size=20971520000, @blockdevice_sda_vendor="ATA", @blockdevices="sda", @boardmanufacturer="Oracle Corporation", @boardproductname="VirtualBox", @boardserialnumber="0", @chassistype="Other", @dhcp_servers={"system"=>nil}, @disks={"sda"=>{"model"=>"VBOX HARDDISK", "serial"=>"VB5d80b994-ff298eab", "size"=>"19.53 GiB", "size_bytes"=>20971520000, "type"=>"hdd", "vendor"=>"ATA"}}, @dmi={"bios"=>{"release_date"=>"12/01/2006", "vendor"=>"innotek GmbH", "version"=>"VirtualBox"}, "board"=>{"manufacturer"=>"Oracle Corporation", "product"=>"VirtualBox", "serial_number"=>"0"}, "chassis"=>{"type"=>"Other"}, "manufacturer"=>"innotek GmbH", "product"=>{"name"=>"VirtualBox", "serial_number"=>"0", "uuid"=>"7a8edf87-7159-524f-9738-7688aea7d22f"}}, @facterversion="4.2.14", @filesystems="xfs", @fips_enabled=false, @gid="root", @hardwareisa="x86_64", @hardwaremodel="x86_64", @hypervisors={"virtualbox"=>{"revision"=>"162988", "version"=>"7.0.18"}}, @id="root", @identity={"gid"=>0, "group"=>"root", "privileged"=>true, "uid"=>0, "user"=>"root"}, @interfaces="enp0s3,lo", @IPAddress="10.0.2.15", @ipaddress6="fe80::a00:27ff:feca:eec9", @ipaddress6_enp0s3="fe80::a00:27ff:feca:eec9", @ipaddress6_lo="::1", @ipaddress_enp0s3="10.0.2.15", @ipaddress_lo="127.0.0.1", @is_virtual=true, @kernel="Linux", @kernelmajversion="4.18", @kernelrelease="4.18.0-513.9.1.el8_9.x86_64", @kernelversion="4.18.0", @load_averages={"15m"=>0.77, "1m"=>2.08, "5m"=>1.61}, @lsbdistrelease="8.9", @lsbmajdistrelease="8", @lsbminordistrelease="9", @macaddress="08:00:27:ca:ee:c9", @macaddress_enp0s3="08:00:27:ca:ee:c9", @Manufacturer="innotek GmbH", @memory={"
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L26
foreman::plugin::remote_execution::cockpit on almalinux-8-x86_64 with default args is expected to contain Service[foreman-cockpit] with ensure => "running" and enable => "true" Failure/Error: it { is_expected.to contain_service('foreman-cockpit').with_ensure('running').with_enable('true') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x00007f2f3bb85d50 @__scope__=Scope(Class[Foreman::Plugin::Remote_execution::Cockpit]), @__file__="/home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb", @hostname="foo", @fqdn="foo.example.com", @Domain="example.com", @clientcert="fv-az575-790.txkdwr3xd4ruhezurzmahy12zg.cx.internal.cloudapp.net", @networking={"domain"=>"example.com", "fqdn"=>"foo.example.com", "hostname"=>"foo", "interfaces"=>{"enp0s3"=>{"bindings"=>[{"address"=>"10.0.2.15", "netmask"=>"255.255.255.0", "network"=>"10.0.2.0"}], "bindings6"=>[{"address"=>"fe80::a00:27ff:feca:eec9", "netmask"=>"ffff:ffff:ffff:ffff::", "network"=>"fe80::", "scope6"=>"link", "flags"=>["permanent"]}], "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "scope6"=>"link"}, "lo"=>{"bindings"=>[{"address"=>"127.0.0.1", "netmask"=>"255.0.0.0", "network"=>"127.0.0.0"}], "bindings6"=>[{"address"=>"::1", "netmask"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"::1", "scope6"=>"host", "flags"=>["permanent"]}], "ip"=>"127.0.0.1", "ip6"=>"::1", "mtu"=>65536, "netmask"=>"255.0.0.0", "netmask6"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"127.0.0.0", "network6"=>"::1", "scope6"=>"host"}}, "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "primary"=>"enp0s3", "scope6"=>"link"}, @clientversion="8.8.1", @aio_agent_version="8.8.1", @architecture="x86_64", @augeas={"version"=>"1.13.0"}, @augeasversion="1.13.0", @bios_release_date="12/01/2006", @bios_vendor="innotek GmbH", @bios_version="VirtualBox", @blockdevice_sda_model="VBOX HARDDISK", @blockdevice_sda_size=20971520000, @blockdevice_sda_vendor="ATA", @blockdevices="sda", @boardmanufacturer="Oracle Corporation", @boardproductname="VirtualBox", @boardserialnumber="0", @chassistype="Other", @dhcp_servers={"system"=>nil}, @disks={"sda"=>{"model"=>"VBOX HARDDISK", "serial"=>"VB5d80b994-ff298eab", "size"=>"19.53 GiB", "size_bytes"=>20971520000, "type"=>"hdd", "vendor"=>"ATA"}}, @dmi={"bios"=>{"release_date"=>"12/01/2006", "vendor"=>"innotek GmbH", "version"=>"VirtualBox"}, "board"=>{"manufacturer"=>"Oracle Corporation", "product"=>"VirtualBox", "serial_number"=>"0"}, "chassis"=>{"type"=>"Other"}, "manufacturer"=>"innotek GmbH", "product"=>{"name"=>"VirtualBox", "serial_number"=>"0", "uuid"=>"7a8edf87-7159-524f-9738-7688aea7d22f"}}, @facterversion="4.2.14", @filesystems="xfs", @fips_enabled=false, @gid="root", @hardwareisa="x86_64", @hardwaremodel="x86_64", @hypervisors={"virtualbox"=>{"revision"=>"162988", "version"=>"7.0.18"}}, @id="root", @identity={"gid"=>0, "group"=>"root", "privileged"=>true, "uid"=>0, "user"=>"root"}, @interfaces="enp0s3,lo", @IPAddress="10.0.2.15", @ipaddress6="fe80::a00:27ff:feca:eec9", @ipaddress6_enp0s3="fe80::a00:27ff:feca:eec9", @ipaddress6_lo="::1", @ipaddress_enp0s3="10.0.2.15", @ipaddress_lo="127.0.0.1", @is_virtual=true, @kernel="Linux", @kernelmajversion="4.18", @kernelrelease="4.18.0-513.9.1.el8_9.x86_64", @kernelversion="4.18.0", @load_averages={"15m"=>0.77, "1m"=>2.08, "5m"=>1.61}, @lsbdistrelease="8.9", @lsbmajdistrelease="8", @lsbminordistrelease="9",
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L28
foreman::plugin::remote_execution::cockpit on almalinux-8-x86_64 with default args is expected to contain Foreman_config_entry[remote_execution_cockpit_url] that requires Class[foreman::database] and Foreman::Plugin[remote_execution-cockpit] Failure/Error: is_expected.to contain_foreman_config_entry('remote_execution_cockpit_url') .that_requires(['Class[foreman::database]', 'Foreman::Plugin[remote_execution-cockpit]']) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x00007f2f3ba98c08 @__scope__=Scope(Class[Foreman::Plugin::Remote_execution::Cockpit]), @__file__="/home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb", @hostname="foo", @fqdn="foo.example.com", @Domain="example.com", @clientcert="fv-az575-790.txkdwr3xd4ruhezurzmahy12zg.cx.internal.cloudapp.net", @networking={"domain"=>"example.com", "fqdn"=>"foo.example.com", "hostname"=>"foo", "interfaces"=>{"enp0s3"=>{"bindings"=>[{"address"=>"10.0.2.15", "netmask"=>"255.255.255.0", "network"=>"10.0.2.0"}], "bindings6"=>[{"address"=>"fe80::a00:27ff:feca:eec9", "netmask"=>"ffff:ffff:ffff:ffff::", "network"=>"fe80::", "scope6"=>"link", "flags"=>["permanent"]}], "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "scope6"=>"link"}, "lo"=>{"bindings"=>[{"address"=>"127.0.0.1", "netmask"=>"255.0.0.0", "network"=>"127.0.0.0"}], "bindings6"=>[{"address"=>"::1", "netmask"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"::1", "scope6"=>"host", "flags"=>["permanent"]}], "ip"=>"127.0.0.1", "ip6"=>"::1", "mtu"=>65536, "netmask"=>"255.0.0.0", "netmask6"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"127.0.0.0", "network6"=>"::1", "scope6"=>"host"}}, "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "primary"=>"enp0s3", "scope6"=>"link"}, @clientversion="8.8.1", @aio_agent_version="8.8.1", @architecture="x86_64", @augeas={"version"=>"1.13.0"}, @augeasversion="1.13.0", @bios_release_date="12/01/2006", @bios_vendor="innotek GmbH", @bios_version="VirtualBox", @blockdevice_sda_model="VBOX HARDDISK", @blockdevice_sda_size=20971520000, @blockdevice_sda_vendor="ATA", @blockdevices="sda", @boardmanufacturer="Oracle Corporation", @boardproductname="VirtualBox", @boardserialnumber="0", @chassistype="Other", @dhcp_servers={"system"=>nil}, @disks={"sda"=>{"model"=>"VBOX HARDDISK", "serial"=>"VB5d80b994-ff298eab", "size"=>"19.53 GiB", "size_bytes"=>20971520000, "type"=>"hdd", "vendor"=>"ATA"}}, @dmi={"bios"=>{"release_date"=>"12/01/2006", "vendor"=>"innotek GmbH", "version"=>"VirtualBox"}, "board"=>{"manufacturer"=>"Oracle Corporation", "product"=>"VirtualBox", "serial_number"=>"0"}, "chassis"=>{"type"=>"Other"}, "manufacturer"=>"innotek GmbH", "product"=>{"name"=>"VirtualBox", "serial_number"=>"0", "uuid"=>"7a8edf87-7159-524f-9738-7688aea7d22f"}}, @facterversion="4.2.14", @filesystems="xfs", @fips_enabled=false, @gid="root", @hardwareisa="x86_64", @hardwaremodel="x86_64", @hypervisors={"virtualbox"=>{"revision"=>"162988", "version"=>"7.0.18"}}, @id="root", @identity={"gid"=>0, "group"=>"root", "privileged"=>true, "uid"=>0, "user"=>"root"}, @interfaces="enp0s3,lo", @IPAddress="10.0.2.15", @ipaddress6="fe80::a00:27ff:feca:eec9", @ipaddress6_enp0s3="fe80::a00:27ff:feca:eec9", @ipaddress6_lo="::1", @ipaddress_enp0s3="10.0.2.15", @ipaddress_lo="127.0.0.1", @is_virtual=true, @kernel="Linux", @kernelmajversion="4.18", @kernelrelease="4.18.0-513.9.1.el8_9.x86_64", @kernelversion=
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L33
foreman::plugin::remote_execution::cockpit on almalinux-8-x86_64 with default args creates configs Failure/Error: is_expected.to contain_file('/etc/foreman/cockpit/cockpit.conf') .with_ensure('file') .with_content([ '[WebService]', 'LoginTitle = Foreman Cockpit', 'UrlRoot = /webcon/', 'Origins = https://foreman.example.com', '', '[Bearer]', 'Action = remote-login-ssh', Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x00007f2f3bdeffc8 @__scope__=Scope(Class[Foreman::Plugin::Remote_execution::Cockpit]), @__file__="/home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb", @hostname="foo", @fqdn="foo.example.com", @Domain="example.com", @clientcert="fv-az575-790.txkdwr3xd4ruhezurzmahy12zg.cx.internal.cloudapp.net", @networking={"domain"=>"example.com", "fqdn"=>"foo.example.com", "hostname"=>"foo", "interfaces"=>{"enp0s3"=>{"bindings"=>[{"address"=>"10.0.2.15", "netmask"=>"255.255.255.0", "network"=>"10.0.2.0"}], "bindings6"=>[{"address"=>"fe80::a00:27ff:feca:eec9", "netmask"=>"ffff:ffff:ffff:ffff::", "network"=>"fe80::", "scope6"=>"link", "flags"=>["permanent"]}], "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "scope6"=>"link"}, "lo"=>{"bindings"=>[{"address"=>"127.0.0.1", "netmask"=>"255.0.0.0", "network"=>"127.0.0.0"}], "bindings6"=>[{"address"=>"::1", "netmask"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"::1", "scope6"=>"host", "flags"=>["permanent"]}], "ip"=>"127.0.0.1", "ip6"=>"::1", "mtu"=>65536, "netmask"=>"255.0.0.0", "netmask6"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"127.0.0.0", "network6"=>"::1", "scope6"=>"host"}}, "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "primary"=>"enp0s3", "scope6"=>"link"}, @clientversion="8.8.1", @aio_agent_version="8.8.1", @architecture="x86_64", @augeas={"version"=>"1.13.0"}, @augeasversion="1.13.0", @bios_release_date="12/01/2006", @bios_vendor="innotek GmbH", @bios_version="VirtualBox", @blockdevice_sda_model="VBOX HARDDISK", @blockdevice_sda_size=20971520000, @blockdevice_sda_vendor="ATA", @blockdevices="sda", @boardmanufacturer="Oracle Corporation", @boardproductname="VirtualBox", @boardserialnumber="0", @chassistype="Other", @dhcp_servers={"system"=>nil}, @disks={"sda"=>{"model"=>"VBOX HARDDISK", "serial"=>"VB5d80b994-ff298eab", "size"=>"19.53 GiB", "size_bytes"=>20971520000, "type"=>"hdd", "vendor"=>"ATA"}}, @dmi={"bios"=>{"release_date"=>"12/01/2006", "vendor"=>"innotek GmbH", "version"=>"VirtualBox"}, "board"=>{"manufacturer"=>"Oracle Corporation", "product"=>"VirtualBox", "serial_number"=>"0"}, "chassis"=>{"type"=>"Other"}, "manufacturer"=>"innotek GmbH", "product"=>{"name"=>"VirtualBox", "serial_number"=>"0", "uuid"=>"7a8edf87-7159-524f-9738-7688aea7d22f"}}, @facterversion="4.2.14", @filesystems="xfs", @fips_enabled=false, @gid="root", @hardwareisa="x86_64", @hardwaremodel="x86_64", @hypervisors={"virtualbox"=>{"revision"=>"162988", "version"=>"7.0.18"}}, @id="root", @identity={"gid"=>0, "group"=>"root", "privileged"=>true, "uid"=>0, "user"=>"root"}, @interfaces="enp0s3,lo", @IPAddress="10.0.2.15", @ipaddress6="fe80::a00:27ff:feca:eec9", @ipaddress6_enp0s3="fe80::a00:27ff:feca:eec9", @ipaddress6_lo="::1", @ipaddress_enp0s3="10.0.2.15", @ipaddress_lo="127.0.0.1", @is_virtual=true, @kernel="Linux", @kernelmajversion="4.18", @kernelrelease="4.18.0-513.9.1.el8_9.x86_64", @kernelversion="4.18
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on almalinux-8-x86_64 with default args configures apache Failure/Error: is_expected.to contain_class('apache::mod::proxy_wstunnel') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x00007f2f3b017f68 @__scope__=Scope(Class[Foreman::Plugin::Remote_execution::Cockpit]), @__file__="/home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb", @hostname="foo", @fqdn="foo.example.com", @Domain="example.com", @clientcert="fv-az575-790.txkdwr3xd4ruhezurzmahy12zg.cx.internal.cloudapp.net", @networking={"domain"=>"example.com", "fqdn"=>"foo.example.com", "hostname"=>"foo", "interfaces"=>{"enp0s3"=>{"bindings"=>[{"address"=>"10.0.2.15", "netmask"=>"255.255.255.0", "network"=>"10.0.2.0"}], "bindings6"=>[{"address"=>"fe80::a00:27ff:feca:eec9", "netmask"=>"ffff:ffff:ffff:ffff::", "network"=>"fe80::", "scope6"=>"link", "flags"=>["permanent"]}], "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "scope6"=>"link"}, "lo"=>{"bindings"=>[{"address"=>"127.0.0.1", "netmask"=>"255.0.0.0", "network"=>"127.0.0.0"}], "bindings6"=>[{"address"=>"::1", "netmask"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"::1", "scope6"=>"host", "flags"=>["permanent"]}], "ip"=>"127.0.0.1", "ip6"=>"::1", "mtu"=>65536, "netmask"=>"255.0.0.0", "netmask6"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"127.0.0.0", "network6"=>"::1", "scope6"=>"host"}}, "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "primary"=>"enp0s3", "scope6"=>"link"}, @clientversion="8.8.1", @aio_agent_version="8.8.1", @architecture="x86_64", @augeas={"version"=>"1.13.0"}, @augeasversion="1.13.0", @bios_release_date="12/01/2006", @bios_vendor="innotek GmbH", @bios_version="VirtualBox", @blockdevice_sda_model="VBOX HARDDISK", @blockdevice_sda_size=20971520000, @blockdevice_sda_vendor="ATA", @blockdevices="sda", @boardmanufacturer="Oracle Corporation", @boardproductname="VirtualBox", @boardserialnumber="0", @chassistype="Other", @dhcp_servers={"system"=>nil}, @disks={"sda"=>{"model"=>"VBOX HARDDISK", "serial"=>"VB5d80b994-ff298eab", "size"=>"19.53 GiB", "size_bytes"=>20971520000, "type"=>"hdd", "vendor"=>"ATA"}}, @dmi={"bios"=>{"release_date"=>"12/01/2006", "vendor"=>"innotek GmbH", "version"=>"VirtualBox"}, "board"=>{"manufacturer"=>"Oracle Corporation", "product"=>"VirtualBox", "serial_number"=>"0"}, "chassis"=>{"type"=>"Other"}, "manufacturer"=>"innotek GmbH", "product"=>{"name"=>"VirtualBox", "serial_number"=>"0", "uuid"=>"7a8edf87-7159-524f-9738-7688aea7d22f"}}, @facterversion="4.2.14", @filesystems="xfs", @fips_enabled=false, @gid="root", @hardwareisa="x86_64", @hardwaremodel="x86_64", @hypervisors={"virtualbox"=>{"revision"=>"162988", "version"=>"7.0.18"}}, @id="root", @identity={"gid"=>0, "group"=>"root", "privileged"=>true, "uid"=>0, "user"=>"root"}, @interfaces="enp0s3,lo", @IPAddress="10.0.2.15", @ipaddress6="fe80::a00:27ff:feca:eec9", @ipaddress6_enp0s3="fe80::a00:27ff:feca:eec9", @ipaddress6_lo="::1", @ipaddress_enp0s3="10.0.2.15", @ipaddress_lo="127.0.0.1", @is_virtual=true, @kernel="Linux", @kernelmajversion="4.18", @kernelrelease="4.18.0-513.9.1.el8_9.x86_64", @kernelversion="4.18.0", @load_averages={"15m"=>0.77, "1m"=>2.08, "5m"=>1.61}, @lsbdistrelease="8.9", @lsbmajdistrelease="8", @lsbminordistrelease="9", @macaddress="08:00:27:ca:ee:c9", @macaddress_enp0s3="08:00:27:ca:ee:c9", @Manufacturer="innotek GmbH", @memory={"sys
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L83
foreman::plugin::remote_execution::cockpit on almalinux-8-x86_64 specifying origins creates configs Failure/Error: is_expected.to contain_file('/etc/foreman/cockpit/cockpit.conf') .with_ensure('file') .with_content([ '[WebService]', 'LoginTitle = Foreman Cockpit', 'UrlRoot = /webcon/', 'Origins = https://foreman.example.com https://myorigin.foreman.example.com', '', '[Bearer]', 'Action = remote-login-ssh', Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x00007f2f3adf0eb0 @__scope__=Scope(Class[Foreman::Plugin::Remote_execution::Cockpit]), @__file__="/home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb", @hostname="foo", @fqdn="foo.example.com", @Domain="example.com", @clientcert="fv-az575-790.txkdwr3xd4ruhezurzmahy12zg.cx.internal.cloudapp.net", @networking={"domain"=>"example.com", "fqdn"=>"foo.example.com", "hostname"=>"foo", "interfaces"=>{"enp0s3"=>{"bindings"=>[{"address"=>"10.0.2.15", "netmask"=>"255.255.255.0", "network"=>"10.0.2.0"}], "bindings6"=>[{"address"=>"fe80::a00:27ff:feca:eec9", "netmask"=>"ffff:ffff:ffff:ffff::", "network"=>"fe80::", "scope6"=>"link", "flags"=>["permanent"]}], "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "scope6"=>"link"}, "lo"=>{"bindings"=>[{"address"=>"127.0.0.1", "netmask"=>"255.0.0.0", "network"=>"127.0.0.0"}], "bindings6"=>[{"address"=>"::1", "netmask"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"::1", "scope6"=>"host", "flags"=>["permanent"]}], "ip"=>"127.0.0.1", "ip6"=>"::1", "mtu"=>65536, "netmask"=>"255.0.0.0", "netmask6"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"127.0.0.0", "network6"=>"::1", "scope6"=>"host"}}, "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feca:eec9", "mac"=>"08:00:27:ca:ee:c9", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "primary"=>"enp0s3", "scope6"=>"link"}, @clientversion="8.8.1", @aio_agent_version="8.8.1", @architecture="x86_64", @augeas={"version"=>"1.13.0"}, @augeasversion="1.13.0", @bios_release_date="12/01/2006", @bios_vendor="innotek GmbH", @bios_version="VirtualBox", @blockdevice_sda_model="VBOX HARDDISK", @blockdevice_sda_size=20971520000, @blockdevice_sda_vendor="ATA", @blockdevices="sda", @boardmanufacturer="Oracle Corporation", @boardproductname="VirtualBox", @boardserialnumber="0", @chassistype="Other", @dhcp_servers={"system"=>nil}, @disks={"sda"=>{"model"=>"VBOX HARDDISK", "serial"=>"VB5d80b994-ff298eab", "size"=>"19.53 GiB", "size_bytes"=>20971520000, "type"=>"hdd", "vendor"=>"ATA"}}, @dmi={"bios"=>{"release_date"=>"12/01/2006", "vendor"=>"innotek GmbH", "version"=>"VirtualBox"}, "board"=>{"manufacturer"=>"Oracle Corporation", "product"=>"VirtualBox", "serial_number"=>"0"}, "chassis"=>{"type"=>"Other"}, "manufacturer"=>"innotek GmbH", "product"=>{"name"=>"VirtualBox", "serial_number"=>"0", "uuid"=>"7a8edf87-7159-524f-9738-7688aea7d22f"}}, @facterversion="4.2.14", @filesystems="xfs", @fips_enabled=false, @gid="root", @hardwareisa="x86_64", @hardwaremodel="x86_64", @hypervisors={"virtualbox"=>{"revision"=>"162988", "version"=>"7.0.18"}}, @id="root", @identity={"gid"=>0, "group"=>"root", "privileged"=>true, "uid"=>0, "user"=>"root"}, @interfaces="enp0s3,lo", @IPAddress="10.0.2.15", @ipaddress6="fe80::a00:27ff:feca:eec9", @ipaddress6_enp0s3="fe80::a00:27ff:feca:eec9", @ipaddress6_lo="::1", @ipaddress_enp0s3="10.0.2.15", @ipaddress_lo="127.0.0.1", @is_virtual=true, @kernel="Linux", @kernelmajversion="4.18", @kernelrelease="4.18.0-513.9
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L19
foreman::plugin::remote_execution::cockpit on almalinux-9-x86_64 with default args 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 Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x00007f2f3abaa278 @__scope__=Scope(Class[Foreman::Plugin::Remote_execution::Cockpit]), @__file__="/home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb", @hostname="foo", @fqdn="foo.example.com", @Domain="example.com", @clientcert="fv-az575-790.txkdwr3xd4ruhezurzmahy12zg.cx.internal.cloudapp.net", @networking={"domain"=>"example.com", "fqdn"=>"foo.example.com", "hostname"=>"foo", "interfaces"=>{"eth0"=>{"bindings"=>[{"address"=>"10.0.2.15", "netmask"=>"255.255.255.0", "network"=>"10.0.2.0"}], "bindings6"=>[{"address"=>"fe80::a00:27ff:feae:15f5", "netmask"=>"ffff:ffff:ffff:ffff::", "network"=>"fe80::", "scope6"=>"link", "flags"=>["permanent"]}], "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feae:15f5", "mac"=>"08:00:27:ae:15:f5", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "scope6"=>"link"}, "lo"=>{"bindings"=>[{"address"=>"127.0.0.1", "netmask"=>"255.0.0.0", "network"=>"127.0.0.0"}], "bindings6"=>[{"address"=>"::1", "netmask"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"::1", "scope6"=>"host", "flags"=>["permanent"]}], "ip"=>"127.0.0.1", "ip6"=>"::1", "mtu"=>65536, "netmask"=>"255.0.0.0", "netmask6"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"127.0.0.0", "network6"=>"::1", "scope6"=>"host"}}, "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feae:15f5", "mac"=>"08:00:27:ae:15:f5", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "primary"=>"eth0", "scope6"=>"link"}, @clientversion="8.8.1", @aio_agent_version="8.8.1", @architecture="x86_64", @augeas={"version"=>"1.13.0"}, @augeasversion="1.13.0", @bios_release_date="12/01/2006", @bios_vendor="innotek GmbH", @bios_version="VirtualBox", @blockdevice_sda_model="VBOX HARDDISK", @blockdevice_sda_size=20971520000, @blockdevice_sda_vendor="ATA", @blockdevices="sda", @boardmanufacturer="Oracle Corporation", @boardproductname="VirtualBox", @boardserialnumber="0", @chassistype="Other", @dhcp_servers={"system"=>nil}, @disks={"sda"=>{"model"=>"VBOX HARDDISK", "serial"=>"VB89c7cad5-1fdb2536", "size"=>"19.53 GiB", "size_bytes"=>20971520000, "type"=>"hdd", "vendor"=>"ATA"}}, @dmi={"bios"=>{"release_date"=>"12/01/2006", "vendor"=>"innotek GmbH", "version"=>"VirtualBox"}, "board"=>{"manufacturer"=>"Oracle Corporation", "product"=>"VirtualBox", "serial_number"=>"0"}, "chassis"=>{"type"=>"Other"}, "manufacturer"=>"innotek GmbH", "product"=>{"name"=>"VirtualBox", "serial_number"=>"0", "uuid"=>"16a6c05e-0363-0349-b676-e1cf7b1d48c8"}}, @facterversion="4.2.14", @filesystems="vfat,xfs", @fips_enabled=false, @gid="root", @hardwareisa="x86_64", @hardwaremodel="x86_64", @hypervisors={"virtualbox"=>{"revision"=>"162988", "version"=>"7.0.18"}}, @id="root", @identity={"gid"=>0, "group"=>"root", "privileged"=>true, "uid"=>0, "user"=>"root"}, @interfaces="eth0,lo", @IPAddress="10.0.2.15", @ipaddress6="fe80::a00:27ff:feae:15f5", @ipaddress6_eth0="fe80::a00:27ff:feae:15f5", @ipaddress6_lo="::1", @ipaddress_eth0="10.0.2.15", @ipaddress_lo="127.0.0.1", @is_virtual=true, @kernel="Linux", @kernelmajversion="5.14", @kernelrelease="5.14.0-427.13.1.el9_4.x86_64", @kernelversion="5.14.0", @load_averages={"15m"=>0.22, "1m"=>1.08, "5m"=>0.56}, @lsbdistrelease="9.4", @lsbmajdistrelease="9", @lsbminordistrelease="4", @macaddress="08:00:27:ae:15:f5", @macaddress_eth0="08:00:27:ae:15:f5", @Manufacturer="inn
Puppet / 8 (Ruby 3.2): spec/classes/plugin/remote_execution_cockpit_spec.rb#L20
foreman::plugin::remote_execution::cockpit on almalinux-9-x86_64 with default args is expected to contain Foreman::Plugin[remote_execution-cockpit] that notifies Class[foreman::service] Failure/Error: it { is_expected.to contain_foreman__plugin('remote_execution-cockpit').that_notifies("Class[foreman::service]") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x00007f2f3a646de0 @__scope__=Scope(Class[Foreman::Plugin::Remote_execution::Cockpit]), @__file__="/home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb", @hostname="foo", @fqdn="foo.example.com", @Domain="example.com", @clientcert="fv-az575-790.txkdwr3xd4ruhezurzmahy12zg.cx.internal.cloudapp.net", @networking={"domain"=>"example.com", "fqdn"=>"foo.example.com", "hostname"=>"foo", "interfaces"=>{"eth0"=>{"bindings"=>[{"address"=>"10.0.2.15", "netmask"=>"255.255.255.0", "network"=>"10.0.2.0"}], "bindings6"=>[{"address"=>"fe80::a00:27ff:feae:15f5", "netmask"=>"ffff:ffff:ffff:ffff::", "network"=>"fe80::", "scope6"=>"link", "flags"=>["permanent"]}], "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feae:15f5", "mac"=>"08:00:27:ae:15:f5", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "scope6"=>"link"}, "lo"=>{"bindings"=>[{"address"=>"127.0.0.1", "netmask"=>"255.0.0.0", "network"=>"127.0.0.0"}], "bindings6"=>[{"address"=>"::1", "netmask"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"::1", "scope6"=>"host", "flags"=>["permanent"]}], "ip"=>"127.0.0.1", "ip6"=>"::1", "mtu"=>65536, "netmask"=>"255.0.0.0", "netmask6"=>"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", "network"=>"127.0.0.0", "network6"=>"::1", "scope6"=>"host"}}, "ip"=>"10.0.2.15", "ip6"=>"fe80::a00:27ff:feae:15f5", "mac"=>"08:00:27:ae:15:f5", "mtu"=>1500, "netmask"=>"255.255.255.0", "netmask6"=>"ffff:ffff:ffff:ffff::", "network"=>"10.0.2.0", "network6"=>"fe80::", "primary"=>"eth0", "scope6"=>"link"}, @clientversion="8.8.1", @aio_agent_version="8.8.1", @architecture="x86_64", @augeas={"version"=>"1.13.0"}, @augeasversion="1.13.0", @bios_release_date="12/01/2006", @bios_vendor="innotek GmbH", @bios_version="VirtualBox", @blockdevice_sda_model="VBOX HARDDISK", @blockdevice_sda_size=20971520000, @blockdevice_sda_vendor="ATA", @blockdevices="sda", @boardmanufacturer="Oracle Corporation", @boardproductname="VirtualBox", @boardserialnumber="0", @chassistype="Other", @dhcp_servers={"system"=>nil}, @disks={"sda"=>{"model"=>"VBOX HARDDISK", "serial"=>"VB89c7cad5-1fdb2536", "size"=>"19.53 GiB", "size_bytes"=>20971520000, "type"=>"hdd", "vendor"=>"ATA"}}, @dmi={"bios"=>{"release_date"=>"12/01/2006", "vendor"=>"innotek GmbH", "version"=>"VirtualBox"}, "board"=>{"manufacturer"=>"Oracle Corporation", "product"=>"VirtualBox", "serial_number"=>"0"}, "chassis"=>{"type"=>"Other"}, "manufacturer"=>"innotek GmbH", "product"=>{"name"=>"VirtualBox", "serial_number"=>"0", "uuid"=>"16a6c05e-0363-0349-b676-e1cf7b1d48c8"}}, @facterversion="4.2.14", @filesystems="vfat,xfs", @fips_enabled=false, @gid="root", @hardwareisa="x86_64", @hardwaremodel="x86_64", @hypervisors={"virtualbox"=>{"revision"=>"162988", "version"=>"7.0.18"}}, @id="root", @identity={"gid"=>0, "group"=>"root", "privileged"=>true, "uid"=>0, "user"=>"root"}, @interfaces="eth0,lo", @IPAddress="10.0.2.15", @ipaddress6="fe80::a00:27ff:feae:15f5", @ipaddress6_eth0="fe80::a00:27ff:feae:15f5", @ipaddress6_lo="::1", @ipaddress_eth0="10.0.2.15", @ipaddress_lo="127.0.0.1", @is_virtual=true, @kernel="Linux", @kernelmajversion="5.14", @kernelrelease="5.14.0-427.13.1.el9_4.x86_64", @kernelversion="5.14.0", @load_averages={"15m"=>0.22, "1m"=>1.08, "5m"=>0.56}, @lsbdistrelease="9.4", @lsbmajdistrelease="9", @lsbmi
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L19
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args 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 Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afc2639648> Did you mean? @cockpit_port @cockpit_host @cockpit_path (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L20
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args is expected to contain Foreman::Plugin[remote_execution-cockpit] that notifies Class[foreman::service] Failure/Error: it { is_expected.to contain_foreman__plugin('remote_execution-cockpit').that_notifies("Class[foreman::service]") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afc5643af0> Did you mean? @cockpit_port @cockpit_host @cockpit_path (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L21
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args contains dependencies Failure/Error: is_expected.to contain_foreman__plugin('remote_execution') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afc1b6bdd8> Did you mean? @cockpit_port @cockpit_host @cockpit_path (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L26
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args is expected to contain Service[foreman-cockpit] with ensure => "running" and enable => "true" Failure/Error: it { is_expected.to contain_service('foreman-cockpit').with_ensure('running').with_enable('true') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afc8833010> Did you mean? @cockpit_port @cockpit_host @cockpit_path (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L28
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args is expected to contain Foreman_config_entry[remote_execution_cockpit_url] that requires Class[foreman::database] and Foreman::Plugin[remote_execution-cockpit] Failure/Error: is_expected.to contain_foreman_config_entry('remote_execution_cockpit_url') .that_requires(['Class[foreman::database]', 'Foreman::Plugin[remote_execution-cockpit]']) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afb9252f38> Did you mean? @cockpit_port @cockpit_host @cockpit_path (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L33
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args creates configs Failure/Error: is_expected.to contain_file('/etc/foreman/cockpit/cockpit.conf') .with_ensure('file') .with_content([ '[WebService]', 'LoginTitle = Foreman Cockpit', 'UrlRoot = /webcon/', 'Origins = https://foreman.example.com', '', '[Bearer]', 'Action = remote-login-ssh', Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afca7a7388> Did you mean? @cockpit_port @cockpit_host @cockpit_path (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L67
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 with default args configures apache Failure/Error: is_expected.to contain_class('apache::mod::proxy_wstunnel') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afcd8df680> Did you mean? @cockpit_port @cockpit_host @cockpit_path (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L83
foreman::plugin::remote_execution::cockpit on debian-12-x86_64 specifying origins creates configs Failure/Error: is_expected.to contain_file('/etc/foreman/cockpit/cockpit.conf') .with_ensure('file') .with_content([ '[WebService]', 'LoginTitle = Foreman Cockpit', 'UrlRoot = /webcon/', 'Origins = https://foreman.example.com https://myorigin.foreman.example.com', '', '[Bearer]', 'Action = remote-login-ssh', Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afc78a6020> Did you mean? @cockpit_port @cockpit_host @cockpit_path (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L19
foreman::plugin::remote_execution::cockpit on centos-8-x86_64 with default args 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 Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afd034a1e0> Did you mean? @cockpit_port @cockpit_host @cockpit_path (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/plugin/remote_execution_cockpit_spec.rb#L20
foreman::plugin::remote_execution::cockpit on centos-8-x86_64 with default args is expected to contain Foreman::Plugin[remote_execution-cockpit] that notifies Class[foreman::service] Failure/Error: it { is_expected.to contain_foreman__plugin('remote_execution-cockpit').that_notifies("Class[foreman::service]") } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Failed to parse template foreman/cockpit-apache-ssl.conf.erb: Filepath: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/templates/cockpit-apache-ssl.conf.erb Line: 10 Detail: undefined local variable or method `cockpit_port' for #<Puppet::Parser::TemplateWrapper:0x000055afc857a1e8> Did you mean? @cockpit_port @cockpit_host @cockpit_path (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/plugin/remote_execution/cockpit.pp, line: 79, column: 22) on node fv-az1108-876.qx2vdsazxcienorwhmthlehiqd.ex.internal.cloudapp.net
Puppet / Test suite
Process completed with exit code 1.
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 8