#1937 beaker: fix the modularity test
Closed 2 years ago by praiskup. Opened 2 years ago by praiskup.
Unknown source modularity-test-fi  into  main

@@ -29,4 +29,3 @@

            ed:

              rationale: An example of Copr package

              ref: $PLATFORM

-             repository: '$DISTGIT_URL/git/$OWNER/$PROJECT/ed.git'

@frostyx can you please check this?

The ed package can't be cloned from copr dist-git when it is not yet
committed there; we need to clone from Fedora DistGit for the first
time. I'm not sure how this could work before (perhaps something was
updated so the repository: tag is accepted now).

Build succeeded.

I don't think that this is what we want to do.

The point of coprtestmodule.yaml module is to test whether we can build modules from Copr packages and therefore specifying repository to our DistGit is essential.

The ed package can't be cloned from copr dist-git when it is not yet committed there

It should be there, the testmodule.yaml that is built a few steps above in the runtest-modules.sh provides it. When you check the build log, the repo from our DistGit is cloned correctly, it fails on rpkg srpm.

cmd: ['rpkg', 'srpm', '--outdir', '/var/lib/copr-rpmbuild/results', '--spec', '/var/lib/copr-rpmbuild/workspace/workdir-5l1fwmqe/ed']
cwd: /var/lib/copr-rpmbuild/workspace/workdir-5l1fwmqe/ed
rc: 0
stdout: Downloading ed-1.14.2.tar.xz from lookaside cache at src.fedoraproject.org

Remove downloaded invalid file /var/lib/copr-rpmbuild/workspace/workdir-5l1fwmqe/ed/ed-1.14.2.tar.xz
stderr: Server returned status code 404 

I suspect, it may be related to #1929?

Metadata Update from @praiskup:
- Request assigned

2 years ago

The issue is related to a recent rpkg.conf change in PR#1874.
Please see more info in PR#1950

Pull-Request has been closed by praiskup

2 years ago