Bug 1795951
Summary: | prunerepo fails to build with Python 3.9: failures in %check | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | prunerepo | Assignee: | clime <clime> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | clime7, clime, clime, cstratak, jkadlcik, mhroncok, praiskup |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-02-03 06:38:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1785415 |
Description
Miro Hrončok
2020-01-29 10:10:24 UTC
Hey @clime, I fixed "assigned_to" flag here to correct email addres, do you receive the emails by default? Probably not by default. Thank for assigning. Will check. I tried mock -r fedora-rawhide-python39 --enablerepo=local --rebuild /home/clime/releng/prunerepo/prunerepo-1.17-2.fc32.src.rpm according to the instructions on the copr page but it builds fine for me: ... Finish: rpmbuild prunerepo-1.17-2.fc32.src.rpm Finish: build phase for prunerepo-1.17-2.fc32.src.rpm INFO: Done(/home/clime/releng/prunerepo/prunerepo-1.17-2.fc32.src.rpm) Config(fedora-rawhide-python39) 4 minutes 27 seconds INFO: Results and/or logs in: /var/lib/mock/fedora-rawhide-python39/result Finish: run All tests passed. Idk what was wrong there :(. Either: function listpkgsbyrepo { dnf repoquery --repofrompath=test_prunerepo,$testrepo --repo=test_prunerepo --refresh --quiet --queryformat '%{location}' | sort } or function listpkgsbyfs { find . -name '*.rpm' | cut -c 3- | sort } didn't return the right results. Thanks. It worked in copr for the second time as well, probably something is just flaky, or the planets were wrongly aligned before. (In reply to clime7 from comment #3) > Idk what was wrong there :(. Either: > > function listpkgsbyrepo { > dnf repoquery --repofrompath=test_prunerepo,$testrepo > --repo=test_prunerepo --refresh --quiet --queryformat '%{location}' | sort skip_if_unavailable again? > } > > or > > function listpkgsbyfs { > find . -name '*.rpm' | cut -c 3- | sort > } > > didn't return the right results. Locale? I'm asking because such problems can lead to fatal problems on copr-backend. (In reply to Pavel Raiskup from comment #5) > (In reply to clime7 from comment #3) > > Idk what was wrong there :(. Either: > > > > function listpkgsbyrepo { > > dnf repoquery --repofrompath=test_prunerepo,$testrepo > > --repo=test_prunerepo --refresh --quiet --queryformat '%{location}' | sort > > skip_if_unavailable again? That is a probable reason, yes. It makes test more susceptible to failure. > > > } > > > > or > > > > function listpkgsbyfs { > > find . -name '*.rpm' | cut -c 3- | sort > > } > > > > didn't return the right results. > > Locale? Locale shouldn't be the problem. it is the same for both of the commands. > > I'm asking because such problems can lead to fatal problems on copr-backend. I think the problem here is that the test can fail occassionaly but when it succeeds, it still means something. I will add skip_if_unavailable=false to the listpkgsbyrepo function for the dnf command. I think it will resolve this issue for the future. Actually, i will need to revisit what the exact behavior of dnf is for that opt. |