Skip to content

Fixes #38173 - Permit use of arrays for multiple timesources #2397

Fixes #38173 - Permit use of arrays for multiple timesources

Fixes #38173 - Permit use of arrays for multiple timesources #2397

Triggered via pull request January 29, 2025 19:59
Status Failure
Total duration 29m 12s
Artifacts 32

foreman.yml

on: pull_request
Setup matrix
2s
Setup matrix
Katello  /  Setup matrix
3s
Katello / Setup matrix
Matrix: tests
Matrix: Katello / existing-database
Matrix: Katello / test
Katello  /  Test suite
2s
Katello / Test suite
Test suite
2s
Test suite
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13: test/unit/foreman/renderer_test.rb#L39
Failure: test_0028_rendered Kickstart default template should match snapshots Rendered template Kickstart default did not match the snapshot.. --- expected +++ actual @@ -1 +1 @@ -"# This kickstart file was rendered from the Foreman provisioning template \"Kickstart default\".\n# for snapshot-ipv4-dhcp-el7 running CentOS 7 x86_64\n# Organization: Organization 1\n# Location: Location 1\n\ninstall\n\nurl --url http://mirror.centos.org/centos/7/os/x86_64\n\n\nlang en_US.UTF-8\nselinux --enforcing\nkeyboard us\n\nnetwork --device=00-f0-54-1a-7e-e0 --hostname snapshot-ipv4-dhcp-el7 --noipv6 --mtu=1142 --bootproto dhcp --nameserver=192.168.42.2,192.168.42.3\n\nrootpw --iscrypted $1$rtd8Ub7R$5Ohzuy8WXlkaK9cA2T1wb0\nfirewall --service=ssh\nauthconfig --useshadow --passalgo=sha512 --kickstart\ntimezone --utc UTC \n\nservices --disabled gpm,sendmail,cups,pcmcia,isdn,rawdevices,hpoj,bluetooth,openibd,avahi-daemon,avahi-dnsconfd,hidd,hplip,pcscd\n\n\n\nbootloader --location=mbr --append=\"nofb quiet splash=quiet\" \n\nzerombr\nclearpart --all --initlabel\npart /boot --fstype ext3 --size=100 --asprimary\npart / --fstype ext3 --size=1024 --grow\npart swap --recommended\n\nskipx\ntext\nreboot\n\n%packages\n\nyum\ndhclient\nchrony\n-ntp\nwget\ndracut-fips\n-prelink\n\n%end\n\n\n%post --nochroot\nexec < /dev/tty3 > /dev/tty3\nchvt 3\n(\n\n\n\nchvt 1\n) 2>&1 | tee /mnt/sysimage/root/install.postnochroot.log\n%end\n\n\n%post\nexec < /dev/tty3 > /dev/tty3\nchvt 3\n(\nlogger \"Starting anaconda snapshot-ipv4-dhcp-el7 postinstall\"\n\necho \"Updating system time\"\nsystemctl enable --now chronyd\n/usr/bin/chronyc -a makestep\n/usr/sbin/hwclock --systohc\n\n\n\n\n\nrpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm\n\n# registration_type = 'subscription_manager'\n \n echo \"##############################################################\"\n echo \"################# SUBSCRIPTION MANAGER #######################\"\n echo \"##############################################################\"\n echo\n echo \"Starting the subscription-manager registration process\"\n\n # Set up subscription-manager\n # Select package manager for the OS (sets the $PKG_MANAGER* variables)\nif [ -z \"$PKG_MANAGER\" ]; then\n if [ -f /etc/os-release ] ; then\n . /etc/os-release\n fi\n \n if [ \"${NAME%.*}\" = 'FreeBSD' ]; then\n PKG_MANAGER='pkg'\n PKG_MANAGER_INSTALL=\"${PKG_MANAGER} install -y\"\n PKG_MANAGER_REMOVE=\"${PKG_MANAGER} delete -y\"\n PKG_MANAGER_UPGRADE=\"${PKG_MANAGER} install -y\"\n elif [ -f /etc/fedora-release -o -f /etc/redhat-release -o -f /etc/amazon-linux-release -o -f /etc/system-release ]; then\n PKG_MANAGER='dnf'\n if [ -f /etc/redhat-release -a \"${VERSION_ID%.*}\" -le 7 ]; then\n PKG_MANAGER='yum'\n elif [ -f /etc/system-release ]; then\n PKG_MANAGER='yum'\n fi\n PKG_MANAGER_INSTALL=\"${PKG_MANAGER} install -y\"\n PKG_MANAGER_REMOVE=\"${PKG_MANAGER} remove -y\"\n PKG_MANAGER_UPGRADE=\"${PKG_MANAGER} upgrade -y\"\n elif [ -f /etc/debian_version ]; then\n PKG_MANAGER='apt-get'\n PKG_MANAGER_INSTALL=\"${PKG_MANAGER} install -y\"\n PKG_MANAGER_REMOVE=\"${PKG_MANAGER} remove -y\"\n PKG_MANAGER_UPGRADE=\"${PKG_MANAGER} -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' -o APT::Get::Upgrade-Allow-New='true' upgrade -y\"\n elif [ -f /etc/arch-release ]; then\n PKG_MANAGER='pacman'\n PKG_MANAGER_INSTALL=\"${PKG_MANAGER} --noconfirm -S\"\n PKG_MANAGER_REMOVE=\"${PKG_MANAGER} --noconfirm -R\"\n PKG_MANAGER_UPGRADE=\"${PKG_MANAGER} --noconfirm -S\"\n elif [ x$ID = xopensuse-tumbleweed -o x$ID = xsles ]; then\n PKG_MANAGER='zypper'\n PKG_MANAGER_INSTALL=\"${PKG_MANAGER} --non-interactive install --auto-agree-with-licenses\"\n PKG_MANAGER_REMOVE=\"${PKG_MANAGER} --non-interactive remove\"\n PKG_MANAGER_UPGRADE=\"${PKG_MANAGER} --non-interactive update\"\n fi\nfi\n\n# Define the path to rhsm.conf\nRHSM_CFG=/etc/rhsm/rhsm.conf\n\n\n\n# Prepare subscription-manager\nif ! [ -x \"$(command -v subscription-man
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13: test/unit/foreman/renderer_test.rb#L27
Failure: test_0028_rendered Kickstart default template should match snapshots Safemode::SecurityError: Safemode doesn't allow to access 'constant' on Array app/services/foreman/renderer/safe_mode_renderer.rb:7:in `render' app/services/foreman/renderer/base_renderer.rb:18:in `render' app/services/foreman/renderer.rb:46:in `render' app/services/foreman/template_snapshot_service.rb:61:in `render_template' test/unit/foreman/renderer_test.rb:49:in `block in assert_template' test/unit/foreman/renderer_test.rb:47:in `each' test/unit/foreman/renderer_test.rb:47:in `assert_template' test/unit/foreman/renderer_test.rb:27:in `block (3 levels) in <class:RendererTest>'
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13: test/unit/foreman/renderer_test.rb#L27
Failure: test_0028_rendered Kickstart default template should match snapshots Safemode::SecurityError: Safemode doesn't allow to access 'constant' on Array app/services/foreman/renderer/safe_mode_renderer.rb:7:in `render' app/services/foreman/renderer/base_renderer.rb:18:in `render' app/services/foreman/renderer.rb:46:in `render' app/services/foreman/template_snapshot_service.rb:61:in `render_template' test/unit/foreman/renderer_test.rb:49:in `block in assert_template' test/unit/foreman/renderer_test.rb:47:in `each' test/unit/foreman/renderer_test.rb:47:in `assert_template' test/unit/foreman/renderer_test.rb:27:in `block (3 levels) in <class:RendererTest>'
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13: test/unit/foreman/renderer_test.rb#L39
Failure: test_0028_rendered Kickstart default template should match snapshots Rendered template Kickstart default did not match the snapshot.. --- expected +++ actual @@ -1 +1 @@ -"# This kickstart file was rendered from the Foreman provisioning template \"Kickstart default\".\n# for snapshot-ipv4-dhcp-el7 running CentOS 7 x86_64\n# Organization: Organization 1\n# Location: Location 1\n\ninstall\n\nurl --url http://mirror.centos.org/centos/7/os/x86_64\n\n\nlang en_US.UTF-8\nselinux --enforcing\nkeyboard us\n\nnetwork --device=00-f0-54-1a-7e-e0 --hostname snapshot-ipv4-dhcp-el7 --noipv6 --mtu=1142 --bootproto dhcp --nameserver=192.168.42.2,192.168.42.3\n\nrootpw --iscrypted $1$rtd8Ub7R$5Ohzuy8WXlkaK9cA2T1wb0\nfirewall --service=ssh\nauthconfig --useshadow --passalgo=sha512 --kickstart\ntimezone --utc UTC \n\nservices --disabled gpm,sendmail,cups,pcmcia,isdn,rawdevices,hpoj,bluetooth,openibd,avahi-daemon,avahi-dnsconfd,hidd,hplip,pcscd\n\n\n\nbootloader --location=mbr --append=\"nofb quiet splash=quiet\" \n\nzerombr\nclearpart --all --initlabel\npart /boot --fstype ext3 --size=100 --asprimary\npart / --fstype ext3 --size=1024 --grow\npart swap --recommended\n\nskipx\ntext\nreboot\n\n%packages\n\nyum\ndhclient\nchrony\n-ntp\nwget\ndracut-fips\n-prelink\n\n%end\n\n\n%post --nochroot\nexec < /dev/tty3 > /dev/tty3\nchvt 3\n(\n\n\n\nchvt 1\n) 2>&1 | tee /mnt/sysimage/root/install.postnochroot.log\n%end\n\n\n%post\nexec < /dev/tty3 > /dev/tty3\nchvt 3\n(\nlogger \"Starting anaconda snapshot-ipv4-dhcp-el7 postinstall\"\n\necho \"Updating system time\"\nsystemctl enable --now chronyd\n/usr/bin/chronyc -a makestep\n/usr/sbin/hwclock --systohc\n\n\n\n\n\nrpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm\n\n# registration_type = 'subscription_manager'\n \n echo \"##############################################################\"\n echo \"################# SUBSCRIPTION MANAGER #######################\"\n echo \"##############################################################\"\n echo\n echo \"Starting the subscription-manager registration process\"\n\n # Set up subscription-manager\n # Select package manager for the OS (sets the $PKG_MANAGER* variables)\nif [ -z \"$PKG_MANAGER\" ]; then\n if [ -f /etc/os-release ] ; then\n . /etc/os-release\n fi\n \n if [ \"${NAME%.*}\" = 'FreeBSD' ]; then\n PKG_MANAGER='pkg'\n PKG_MANAGER_INSTALL=\"${PKG_MANAGER} install -y\"\n PKG_MANAGER_REMOVE=\"${PKG_MANAGER} delete -y\"\n PKG_MANAGER_UPGRADE=\"${PKG_MANAGER} install -y\"\n elif [ -f /etc/fedora-release -o -f /etc/redhat-release -o -f /etc/amazon-linux-release -o -f /etc/system-release ]; then\n PKG_MANAGER='dnf'\n if [ -f /etc/redhat-release -a \"${VERSION_ID%.*}\" -le 7 ]; then\n PKG_MANAGER='yum'\n elif [ -f /etc/system-release ]; then\n PKG_MANAGER='yum'\n fi\n PKG_MANAGER_INSTALL=\"${PKG_MANAGER} install -y\"\n PKG_MANAGER_REMOVE=\"${PKG_MANAGER} remove -y\"\n PKG_MANAGER_UPGRADE=\"${PKG_MANAGER} upgrade -y\"\n elif [ -f /etc/debian_version ]; then\n PKG_MANAGER='apt-get'\n PKG_MANAGER_INSTALL=\"${PKG_MANAGER} install -y\"\n PKG_MANAGER_REMOVE=\"${PKG_MANAGER} remove -y\"\n PKG_MANAGER_UPGRADE=\"${PKG_MANAGER} -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' -o APT::Get::Upgrade-Allow-New='true' upgrade -y\"\n elif [ -f /etc/arch-release ]; then\n PKG_MANAGER='pacman'\n PKG_MANAGER_INSTALL=\"${PKG_MANAGER} --noconfirm -S\"\n PKG_MANAGER_REMOVE=\"${PKG_MANAGER} --noconfirm -R\"\n PKG_MANAGER_UPGRADE=\"${PKG_MANAGER} --noconfirm -S\"\n elif [ x$ID = xopensuse-tumbleweed -o x$ID = xsles ]; then\n PKG_MANAGER='zypper'\n PKG_MANAGER_INSTALL=\"${PKG_MANAGER} --non-interactive install --auto-agree-with-licenses\"\n PKG_MANAGER_REMOVE=\"${PKG_MANAGER} --non-interactive remove\"\n PKG_MANAGER_UPGRADE=\"${PKG_MANAGER} --non-interactive update\"\n fi\nfi\n\n# Define the path to rhsm.conf\nRHSM_CFG=/etc/rhsm/rhsm.conf\n\n\n\n# Prepare subscription-manager\nif ! [ -x \"$(command -v subscription-man
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
Test suite
Process completed with exit code 1.
assets:precompile RAILS_ENV=production DATABASE_URL=nulldb://nohost - Ruby 3.0 and Node 18 on PostgreSQL 13
No files were found with the provided path: webpack/assets/javascripts/all_react_app_exports.js. No artifacts will be uploaded.
assets:precompile RAILS_ENV=production DATABASE_URL=nulldb://nohost - Ruby 2.7 and Node 18 on PostgreSQL 13
No files were found with the provided path: webpack/assets/javascripts/all_react_app_exports.js. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
Gemfile-ruby-2.7-node-18-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.lock
4.7 KB
Gemfile-ruby-2.7-node-18-pg-13-dbseed.lock
4.7 KB
Gemfile-ruby-2.7-node-18-pg-13-testexternal.lock
4.7 KB
Gemfile-ruby-2.7-node-18-pg-13-testfunctionals.lock
4.7 KB
Gemfile-ruby-2.7-node-18-pg-13-testgraphql.lock
4.7 KB
Gemfile-ruby-2.7-node-18-pg-13-testunits.lock
4.7 KB
Gemfile-ruby-2.7-node-18-pg-13-webpackcompiletestintegration.lock
4.7 KB
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10427merge-dbseed.lock
5.48 KB
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10427merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
5.48 KB
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10427merge-testkatello.lock
5.48 KB
Gemfile-ruby-3.0-node-18-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.lock
4.71 KB
Gemfile-ruby-3.0-node-18-pg-13-dbseed.lock
4.71 KB
Gemfile-ruby-3.0-node-18-pg-13-testexternal.lock
4.71 KB
Gemfile-ruby-3.0-node-18-pg-13-testfunctionals.lock
4.71 KB
Gemfile-ruby-3.0-node-18-pg-13-testgraphql.lock
4.71 KB
Gemfile-ruby-3.0-node-18-pg-13-testunits.lock
4.71 KB
Gemfile-ruby-3.0-node-18-pg-13-webpackcompiletestintegration.lock
4.71 KB
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10427merge-dbseed.lock
5.49 KB
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10427merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
5.49 KB
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10427merge-testkatello.lock
5.49 KB
all_react_app_exports-ruby-2.7-node-18-pg-13-webpackcompiletestintegration.js
8.1 KB
all_react_app_exports-ruby-27-node-18-pg-13-foreman-refspull10427merge-testkatello.js
8.1 KB
all_react_app_exports-ruby-3.0-node-18-pg-13-webpackcompiletestintegration.js
8.1 KB
all_react_app_exports-ruby-30-node-18-pg-13-foreman-refspull10427merge-testkatello.js
8.1 KB
package-lock-ruby-2.7-node-18-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.json
227 KB
package-lock-ruby-2.7-node-18-pg-13-webpackcompiletestintegration.json
227 KB
package-lock-ruby-27-node-18-pg-13-foreman-refspull10427merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
324 KB
package-lock-ruby-27-node-18-pg-13-foreman-refspull10427merge-testkatello.json
324 KB
package-lock-ruby-3.0-node-18-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.json
227 KB
package-lock-ruby-3.0-node-18-pg-13-webpackcompiletestintegration.json
227 KB
package-lock-ruby-30-node-18-pg-13-foreman-refspull10427merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
324 KB
package-lock-ruby-30-node-18-pg-13-foreman-refspull10427merge-testkatello.json
324 KB