#1558 Mock build suceeded but appstream-builder failed without telling why
Closed: Fixed 2 years ago by praiskup. Opened 3 years ago by churchyard.


https://download.copr.fedorainfracloud.org/results/@python/python3.10/fedora-rawhide-x86_64/01761683-python-tox-current-env/backend.log.gz

Says:

[2020-11-11 10:44:36,526][ ERROR][PID:188142] Backend process error: createrepo failed

What si not clear to me is whether this build will end up in the repo after a different successful build or whether I need to rebuild it again.

Meh, we should provide more details about the failure:

$ cat /var/log/copr-backend/modifyrepo.log | grep /usr/bin/copr-repo.pid-207425
[2020-11-11 10:41:27,247][  INFO][PID:207425][/usr/bin/copr-repo.pid-207425][copr-repo:run_createrepo:179] searching for rpms: cd /var/lib/copr/public_html/results/@python/python3.10/fedora-rawhide-x86_64 && find 01761683-python-tox-current-env -name "*.rpm"
[2020-11-11 10:41:27,251][  INFO][PID:207425][/usr/bin/copr-repo.pid-207425][copr-repo:run_createrepo:181] rpms: ['01761683-python-tox-current-env/python-tox-current-env-0.0.4-1.fc34.src.rpm', '01761683-python-tox-current-env/python3-tox-current-env-0.0.4-1.fc34.noarch.rpm']
[2020-11-11 10:41:27,252][  INFO][PID:207425][/usr/bin/copr-repo.pid-207425][copr-repo:run_cmd:35] running: /usr/bin/createrepo_c --database --ignore-lock --local-sqlite --cachedir /tmp/ --workers 8 /var/lib/copr/public_html/results/@python/python3.10/fedora-rawhide-x86_64 --recycle-pkglist --update --skip-stat --pkglist /var/lib/copr/public_html/results/@python/python3.10/fedora-rawhide-x86_64/.copr-createrepo-pkglist
[2020-11-11 10:41:36,444][  INFO][PID:207425][/usr/bin/copr-repo.pid-207425][copr-repo:run_cmd:35] running: /usr/bin/timeout --kill-after=240 180 /usr/bin/appstream-builder --temp-dir=/var/lib/copr/public_html/results/@python/python3.10/fedora-rawhide-x86_64/tmp --cache-dir=/var/lib/copr/public_html/results/@python/python3.10/fedora-rawhide-x86_64/cache --packages-dir=/var/lib/copr/public_html/results/@python/python3.10/fedora-rawhide-x86_64 --output-dir=/var/lib/copr/public_html/results/@python/python3.10/fedora-rawhide-x86_64/appdata --basename=appstream --include-failed --min-icon-size=48 --veto-ignore=missing-parents --enable-hidpi --origin=@python/python3.10
[2020-11-11 10:44:36,455][ ERROR][PID:207425][/usr/bin/copr-repo.pid-207425][copr-repo:main:401] Sub-command failed

So we still didn't disable the appstream builder there. I'll do it now, if you
disagree let me know.

What si not clear to me is whether this build will end up in the repo after a different successful build or whether I need to rebuild it again.

As long as you only run "incremental" createrepo, it will not be added. If you did the
full createrepo run (explicit request), it would be added. I know, this is unfortunate..

So we still didn't disable the appstream builder there. I'll do it now, if you
disagree let me know.

Feel free to do it, we don't need appstream metadata.

Metadata Update from @praiskup:
- Issue tagged with: bug

3 years ago

I did it, right after I wrote the message so I believe you shouldn't observe the same issues now.

Metadata Update from @praiskup:
- Issue assigned to frostyx

3 years ago

Some idea that I realized in bug#1974628; the error message in logs should tell the user that there's an option to disable appstream builder.

I am dropping myself from the issue.
I feel like the https://pagure.io/fork/frostyx/copr/copr/c/ac9df5510fbb2bb0520cea3da457e81d20703183?branch=sub-command-failed is not good enough and I am out of ideas.

Anybody feel free to take it.

Metadata Update from @frostyx:
- Assignee reset

2 years ago

Metadata Update from @praiskup:
- Issue assigned to praiskup

2 years ago

Commit 3a8ec4d relates to this ticket

Login to comment on this ticket.

Metadata