Bug 2217734

Summary: Build iot-commit image failure
Product: [Fedora] Fedora Reporter: Xiaofeng Wang <xiaofwan>
Component: osbuild-composerAssignee: Ondřej Budai <obudai>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: akoutsou, go-sig, obudai, osbuilders, ssteinbe, tgunders
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Xiaofeng Wang 2023-06-27 04:30:29 UTC
Build iot-commit image on Fedora 38 VM with error:

level=info msg="    Traceback (most recent call last):" jobId=cc728149-8bb6-4be5-bd70-7513a7148b75
level=info msg="      File \"/run/osbuild/bin/org.osbuild.rpm\", line 399, in <module>" jobId=cc728149-8bb6-4be5-bd70-7513a7148b75
level=info msg="        r = main(args[\"tree\"], args[\"inputs\"], args[\"options\"])" jobId=cc728149-8bb6-4be5-bd70-7513a7148b75
level=info msg="            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" jobId=cc728149-8bb6-4be5-bd70-7513a7148b75
level=info msg="      File \"/run/osbuild/bin/org.osbuild.rpm\", line 348, in main" jobId=cc728149-8bb6-4be5-bd70-7513a7148b75
level=info msg="        subprocess.run([" jobId=cc728149-8bb6-4be5-bd70-7513a7148b75
level=info msg="      File \"/usr/lib64/python3.11/subprocess.py\", line 571, in run" jobId=cc728149-8bb6-4be5-bd70-7513a7148b75
level=info msg="        raise CalledProcessError(retcode, process.args," jobId=cc728149-8bb6-4be5-bd70-7513a7148b75
level=info msg="    subprocess.CalledProcessError: Command '['rpm', '--verbose', '--dbpath', '/usr/share/rpm', '--root', '/run/osbuild/tree', '--nosignature', '--install', '/tmp/manifest.95iur2w9']' returned non-zero exit status 254." jobId=cc728149-8bb6-4be5-bd70-7513a7148b75

Detailed log can be found from https://github.com/virt-s1/rhel-edge/actions/runs/5382128291/jobs/9771759280#step:6:1869

Version:
osbuild-87-1.fc38.noarch
osbuild-composer-84-1.fc38.aarch64

Reproducible: Always

Steps to Reproduce:
1. request an aarch64 bare metal server from beaker
2. git clone https://github.com/virt-s1/rhel-edge.git
3. cd rhel-edge
4. tools/deploy_bare.sh
5. ./arm-commit.sh fedora-38
Actual Results:  
Build iot-commit image failed

Expected Results:  
Build image without error