Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Notes for testing
=================
All that is needed to check is run
TC#494890 /CoreOS/preupgrade-assistant/6to7/installation/static-check
and check these errors in "verify consistency" phase.
OK, I've found out the cause.
I'm using py_compile to check syntax of all Python files. As side-effect, it also re-creates the .pyc and .pyo files. The rpm -V check is sooner in the test, so this does not happen for the first time, but re-running the test (in 1mt) exposed this problem.
I've found another way (`compile()`) that does not have this side effect and have updated the test. Sorry for the false alarm.
Description of problem ====================== According to `rpm -V` check, mtime differs on lot of files: :: [ BEGIN ] :: do rpm --verify on preupgrade-assistant-el6toel7 :: actually running 'rpm -V preupgrade-assistant-el6toel7' .......T. /usr/share/preupgrade/RHEL6_7/networking/bind/configuration/check_script.pyc .......T. /usr/share/preupgrade/RHEL6_7/networking/bind/configuration/check_script.pyo .......T. /usr/share/preupgrade/RHEL6_7/networking/dnsmasq/check_script.pyc .......T. /usr/share/preupgrade/RHEL6_7/networking/dnsmasq/check_script.pyo .......T. /usr/share/preupgrade/RHEL6_7/others/vcsrepos/check_script.pyc .......T. /usr/share/preupgrade/RHEL6_7/others/vcsrepos/check_script.pyo .......T. /usr/share/preupgrade/RHEL6_7/selinux/samba/check_script.pyc .......T. /usr/share/preupgrade/RHEL6_7/selinux/samba/check_script.pyo .......T. /usr/share/preupgrade/RHEL6_7/services/freeradius/check_script.pyc .......T. /usr/share/preupgrade/RHEL6_7/services/freeradius/check_script.pyo .......T. /usr/share/preupgrade/RHEL6_7/services/ipa/ipa-server/check_script.pyc .......T. /usr/share/preupgrade/RHEL6_7/services/ipa/ipa-server/check_script.pyo .......T. /usr/share/preupgrade/RHEL6_7/system/FHS/ReadOnlyFHS/check_script.pyc .......T. /usr/share/preupgrade/RHEL6_7/system/FHS/ReadOnlyFHS/check_script.pyo .......T. /usr/share/preupgrade/RHEL6_7/system/RemovableMedia/check_script.pyc .......T. /usr/share/preupgrade/RHEL6_7/system/RemovableMedia/check_script.pyo .......T. /usr/share/preupgrade/RHEL6_7/system/SysconfigCgroupDaemon/check.pyc .......T. /usr/share/preupgrade/RHEL6_7/system/SysconfigCgroupDaemon/check.pyo .......T. /usr/share/preupgrade/RHEL6_7/system/hal/check_script.pyc .......T. /usr/share/preupgrade/RHEL6_7/system/hal/check_script.pyo .......T. /usr/share/preupgrade/RHEL6_7/system/initscripts/control/postupgrade.d/services.pyc .......T. /usr/share/preupgrade/RHEL6_7/system/initscripts/control/postupgrade.d/services.pyo .......T. /usr/share/preupgrade/RHEL6_7/system/initscripts/ifcfg/check_script.pyc .......T. /usr/share/preupgrade/RHEL6_7/system/initscripts/ifcfg/check_script.pyo .......T. /usr/share/preupgrade/RHEL6_7/system/repositories/check.pyc .......T. /usr/share/preupgrade/RHEL6_7/system/repositories/check.pyo .......T. /usr/share/preupgrade/RHEL6_7/system/yum/yum.pyc .......T. /usr/share/preupgrade/RHEL6_7/system/yum/yum.pyo .......T. /usr/share/preupgrade/RHEL6_7/usrmgmt/ypserv/max_uid_gid/dangerous_uid.pyc .......T. /usr/share/preupgrade/RHEL6_7/usrmgmt/ypserv/max_uid_gid/dangerous_uid.pyo :: [ FAIL ] :: do rpm --verify on preupgrade-assistant-el6toel7 (Expected 0, got 1) Version-Release number of selected component ============================================ preupgrade-assistant-el6toel7-0.6.45-1.el6.noarch How reproducible ================ Always Steps to Reproduce ================== 1. Install preupgrade-assistant-el6toel7 2. run `rpm -V preupgrade-assistant-el6toel7` Actual results ============== 30 errors Expected results ================ No errors (no output) Additional info =============== Same is for preupgrade-assistant--reported as bug 1316146.