Rawhide compose failed today due to: https://koji.fedoraproject.org/koji/taskinfo?taskID=34122673 Which has: DEBUG util.py:439: Writing GRUB Legacy config. DEBUG util.py:439: DEBUG util.py:439: Traceback (most recent call last): DEBUG util.py:439: File "/usr/bin/appliance-creator", line 193, in <module> DEBUG util.py:439: sys.exit(main()) DEBUG util.py:439: File "/usr/bin/appliance-creator", line 155, in main DEBUG util.py:439: creator.configure() DEBUG util.py:439: File "/usr/lib/python3.7/site-packages/imgcreate/creator.py", line 801, in configure DEBUG util.py:439: self._create_bootconfig() DEBUG util.py:439: File "/usr/lib/python3.7/site-packages/appcreate/appliance.py", line 536, in _create_bootconfig DEBUG util.py:439: self._create_grub_config() DEBUG util.py:439: File "/usr/lib/python3.7/site-packages/appcreate/appliance.py", line 290, in _create_grub_config DEBUG util.py:439: kernels = self._get_kernel_versions() DEBUG util.py:439: File "/usr/lib/python3.7/site-packages/imgcreate/creator.py", line 320, in _get_kernel_versions DEBUG util.py:439: version = get_version(header) DEBUG util.py:439: File "/usr/lib/python3.7/site-packages/imgcreate/creator.py", line 309, in get_version DEBUG util.py:439: if f.startswith(b'/boot/vmlinuz-'): DEBUG util.py:439: TypeError: startswith first arg must be str or a tuple of str, not bytes I'm not sure what changed, but https://bugzilla.redhat.com/show_bug.cgi?id=1693751 could be related?
It does seem like it. The relevant snippet[1] seems to indicate we expected bytes and now it returns strings, I need to adapt... :( [1]: https://github.com/livecd-tools/livecd-tools/blob/master/imgcreate/creator.py#L308-L310
ok. Any chance for a workaround/fix soon? rawhide composes are breaking currently due to this. ;(
I'm looking into this now...
I've made a fix(ish?) and built a new livecd-tools for rawhide: https://koji.fedoraproject.org/koji/buildinfo?buildID=1248397 Can you check to see if that helps?
Awesome. Thanks for the quick fix. I've fired off a new compose and we can see how it does...
Worked! Thanks much!
Excellent, then this is now fixed in Rawhide. :)
livecd-tools-27.0-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-542e92f701
livecd-tools-27.0-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b7690cea09
livecd-tools-27.0-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-01f6acd429
livecd-tools-27.0-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
livecd-tools-27.1-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-542e92f701
livecd-tools-27.1-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b7690cea09
livecd-tools-27.1-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b80b564a18
livecd-tools-27.1-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-542e92f701
livecd-tools-27.1-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-b7690cea09
livecd-tools-27.1-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-b80b564a18
livecd-tools-27.1-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
Proposed as a Freeze Exception for 30-final by Fedora user ngompa using the blocker tracking app because: This fixes an issue caused by rpm's Python 3 API changing which breaks the production of ARM appliance images with appliance-creator. The fix is verified to work properly in Rawhide and I'd like it to be in F30 final base.
livecd-tools-27.1-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
Discussed during the 2019-04-22 blocker review meeting: [1] The decision to classify this bug as a "RejectedFreezeException" was made as at this point we don't want to touch the compose creation tools unless absolutely necessary. What is in F30 currently is working for producing F30, we don't want to change it. This can be shipped as an update after launch. [1] https://meetbot.fedoraproject.org/fedora-blocker-review/2019-04-22/f30-blocker-review.2019-04-22-16.00.txt
livecd-tools-27.1-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.