#1971 FTBFS copr-backend on rawhide
Closed: Fixed 2 years ago by praiskup. Opened 2 years ago by praiskup.

=================================== FAILURES ===================================
______________________ TestModifyRepo.test_copr_repo_el5 _______________________

self = <tests.test_modifyrepo.TestModifyRepo object at 0x7f2a0a203040>
f_third_build = <tests.conftest.CoprTestFixtureContext object at 0x7f2a0a2ceb90>

    def test_copr_repo_el5(self, f_third_build):
        """
        Test that special createrepo_c arguments are used when creating
        el5 repositories.
        """
        _unused = self
        ctx = f_third_build
        chroot = ctx.chroots[0]
        old_chrootdir = os.path.join(ctx.empty_dir, chroot)
        # assure that it looks like el5 directory
        chrootdir = os.path.join(ctx.empty_dir, "rhel-5-x86_64")
        repodata = os.path.join(chrootdir, 'repodata')
        subprocess.check_call(["cp", "-r", old_chrootdir, chrootdir])
        assert call_copr_repo(old_chrootdir, add=[ctx.builds[0]],
                              delete=[ctx.builds[2]])
>       assert call_copr_repo(chrootdir, add=[ctx.builds[0]],
                              delete=[ctx.builds[2]])
E       AssertionError: assert False
E        +  where False = call_copr_repo('/tmp/copr-backend-test-g4uiyd8p/john/empty/rhel-5-x86_64', add=['00000001-prunerepo'], delete=['00000003-example'])

Metadata Update from @praiskup:
- Issue assigned to praiskup

2 years ago

On Fedora 36+, createrepo_c probably can not create the repository metadata consumable
on RHEL 5 boxes (md5 checksum dropped):

<mock-chroot> sh-5.1# createrepo_c empty/ --checksum md5
Unknown/Unsupported checksum type "md5"

Log in to comment on this ticket.

Metadata
Related Pull Requests
  • #1977 Merged 2 years ago