Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bib failed to cross-build aarch64 on x86_64 Fedora 40 when config.json include disk.customizations #758

Open
chunfuwen opened this issue Dec 16, 2024 · 6 comments

Comments

@chunfuwen
Copy link

  1. On fedora 40 x86_64 host, attempt to cross build aarch64 qcow2 image as below command:
sudo podman run --rm -it --privileged --pull=newer --security-opt label=type:unconfined_t -v /var/lib/libvirt/images/output:/output -v /var/lib/libvirt/images/config.json:/config.json   -v /var/lib/containers/storage:/var/lib/containers/storage   -v /var/lib/libvirt/images/auth.json:/run/containers/0/auth.json   quay.io/centos-bootc/bootc-image-builder:latest  --type qcow2 --tls-verify=true  --config /config.json  --target-arch=aarch64  --local localhost/manifest-test  --rootfs btrfs '
2024-12-15 04:35:14,625 avocado.utils.process process          L0473 DEBUG| [stderr] time="2024-12-15T04:35:14-05:00" level=warning msg="The input device is not a TTY. The --tty and --interactive flags might not work properly"
  1. Config.json content follow as:
{'blueprint': {'customizations': {'user': [{'name': 'alice', 'password': 'bob', 'groups': ['wheel'], 'key': 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDvQ+auHjjUapcfH/zlf4WnRua6w6y79s3+XbQuKI5NNMad0TSHDoM3uv5vIToMiZb8ts0Pcruu7PPXR8CN4GN2LVhNgTFm5UFBviFM5sSUhpAZzomgvvHZb4zJV1HZY5UQsukVLxBLfiAXpcxlIocnZ3uxYa2trfegvemaOkUpWGrgilLPZbT8dlwv4E6vE7arEn6293pjG8P9g/J1e8ljimF5uGHs4DHCtzFkrkTsdVvxTISdUPSKuiYItmfxOUbTnxFqQdjdzMbo7xxxxxI/aJKd1xwYeTZey7gOMNcCDOQyd26XSpYxtVHHnPU1Rp5A105oY+Cd4f80lmdlCc7/GFywrzAmuBdZpW4LCp9kYX3Q1nxPoCmAjqexS+wLGDzEaQIRTE8x8BK/VrcGhe3dz27Yp+nsUZ7e3J4I58EOYSjPGD+iGqYYipgUp3xiVP9RMJoLy+df8FoG5RzzLF5hqeZlyZk9US7g5DwsafGKaVSHrg4sk= root@dellxx.redhat.com'}], 'kernel': {'append': 'mitigations=auto,nosmt'}, 'disk': {'partitions': [{'type': 'plain', 'label': 'swap', 'minsize': '4 GiB', 'fs_type': 'swap'}, {'type': 'btrfs', 'minsize': '10 GiB', 'subvolumes': [{'name': 'root', 'mountpoint': '/'}, {'name': 'varlog', 'mountpoint': '/var/log'}]}]}}}}
  1. Error messge:
2024-12-15 04:45:15,025 avocado.utils.process process          L0473 DEBUG| [stdout] device/device (org.osbuild.loopback): loop0 acquired (locked: True)
2024-12-15 04:45:18,440 avocado.utils.process process          L0473 DEBUG| [stdout] Traceback (most recent call last):
2024-12-15 04:45:18,440 avocado.utils.process process          L0473 DEBUG| [stdout]   File "/run/osbuild/bin/org.osbuild.mkfs.btrfs", line 28, in <module>
2024-12-15 04:45:18,443 avocado.utils.process process          L0473 DEBUG| [stdout]
2024-12-15 04:45:18,443 avocado.utils.process process          L0473 DEBUG| [stdout] ret = main(args["devices"], args["options"])
2024-12-15 04:45:18,444 avocado.utils.process process          L0473 DEBUG| [stdout]   File "/run/osbuild/bin/org.osbuild.mkfs.btrfs", line 22, in main
2024-12-15 04:45:18,444 avocado.utils.process process          L0473 DEBUG| [stdout]     subprocess.run(["mkfs.btrfs", "-U", uuid] + opts + [device],
2024-12-15 04:45:18,444 avocado.utils.process process          L0473 DEBUG| [stdout]
2024-12-15 04:45:18,445 avocado.utils.process process          L0473 DEBUG| [stdout]   File "/usr/lib64/python3.9/subprocess.py", line 505, in run
2024-12-15 04:45:18,447 avocado.utils.process process          L0473 DEBUG| [stdout]     with Popen(*popenargs, **kwargs) as process:
2024-12-15 04:45:18,447 avocado.utils.process process          L0473 DEBUG| [stdout]
2024-12-15 04:45:18,447 avocado.utils.process process          L0473 DEBUG| [stdout]   File "/usr/lib64/python3.9/subprocess.py", line 951, in __init__
2024-12-15 04:45:18,450 avocado.utils.process process          L0473 DEBUG| [stdout]     self._execute_child(args, executable, preexec_fn, close_fds,
2024-12-15 04:45:18,450 avocado.utils.process process          L0473 DEBUG| [stdout]
2024-12-15 04:45:18,451 avocado.utils.process process          L0473 DEBUG| [stdout]   File "/usr/lib64/python3.9/subprocess.py", line 1837, in _execute_child
2024-12-15 04:45:18,456 avocado.utils.process process          L0473 DEBUG| [stdout]     raise child_exception_type(errno_num, err_msg, err_filename)
2024-12-15 04:45:18,456 avocado.utils.process process          L0473 DEBUG| [stdout]
2024-12-15 04:45:18,456 avocado.utils.process process          L0473 DEBUG| [stdout] FileNotFoundError
2024-12-15 04:45:18,457 avocado.utils.process process          L0473 DEBUG| [stdout] :
2024-12-15 04:45:18,457 avocado.utils.process process          L0473 DEBUG| [stdout] [Errno 2] No such file or directory: 'mkfs.btrfs'
@chunfuwen chunfuwen changed the title Bib failed to cross-build target-arch=aarch64 on x86__64 Fedora 40 when config.json include disk.customizations Bib failed to cross-build target-arch=aarch64 on x86_64 Fedora 40 when config.json include disk.customizations Dec 16, 2024
@chunfuwen
Copy link
Author

  1. Please note if there is no disk.customization in config.json, previous bib can succeed to cross build arch=aarch64 qcow2 image
Config.json contents:
{'blueprint': {'customizations': {'user': [{'name': 'alice', 'password': 'bob', 'groups': ['wheel'], 'key': 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCxMpRFHuceSfV4fOIcw4GJCP4mJ9gQOgi5QXdPfQ8NucaT7iv8sKdkW0uQcVDqJWAIGAnKUuGE8sHGtPRagCD4iAJLB4sRhR49712luWYKXFJUS8mepkOt+Ty0ZmHCkdqtyHojcMpMG8uxEvYg10gKsM7AhNzvM+2Ob9LOAyUbnj47s0T1fFoTKg5/UYGZf5V5GfhsM2rPfSNFf90CbsbBJgZoteLfIp4q57s446HCV1fvotEIuPnjwxxP9wl7u52tS0CsGYQgfaik0Rul9Tf0Z7LG6v/NANfF78L/1AxftEgXv7Y5iL9AoULTcNb23Mm2B8STnYUox/O5/0Yodmz2n5qKzAi9ROJ0EIeNJiEnuI3wmI7S9hWLOMXJSym34U2BvRTyut3Z4+FWLYdzqmAjYDY2+KTG6LFlVBAbB4w/rADlbm4JEVZtKd6A6tBt1d6vAFqZNjJ5o1506uunpUoZGMSYxPqveveJmk= root@xxdhat.com'}], 'kernel': {'append': 'mitigations=auto,nosmt'}}}}

Command to bib run

2024-12-09 04:36:31,166 avocado.utils.process process          L0657 INFO | Running 'sudo podman run --rm -it --privileged --pull=newer --security-opt label=type:unconfined_t -v /var/lib/libvirt/images/output:/output -v /var/lib/libvirt/images/config.json:/config.json   -v /var/lib/containers/storage:/var/lib/containers/storage   -v /var/lib/libvirt/images/auth.json:/run/containers/0/auth.json   quay.io/centos-bootc/bootc-image-builder:latest  --type qcow2 --tls-verify=true  --config /config.json  --target-arch=aarch64  --local localhost/manifest-test  --rootfs btrfs '

....

...
2024-12-09 04:45:33,508 avocado.utils.process process          L0473 DEBUG| [stdout]   Duration: 96s
2024-12-09 04:45:33,508 avocado.utils.process process          L0473 DEBUG| [stdout] manifest - finished successfully
2024-12-09 04:45:33,523 avocado.utils.process process          L0473 DEBUG| [stdout] build:    	ba83a0adff32a9166b1637696221cd5105807a90af5094aee646680807633655
2024-12-09 04:45:33,523 avocado.utils.process process          L0473 DEBUG| [stdout] ostree-deployment:	93a2bdd168ea13a261ff39b6ffabad9d4368697284e6dba851f7b24f4454a908
2024-12-09 04:45:33,523 avocado.utils.process process          L0473 DEBUG| [stdout] image:    	f9d08b329c738d90f59dafe9db3d894f50a1e53057c3ca8eaac82d33bd012fdc
2024-12-09 04:45:33,523 avocado.utils.process process          L0473 DEBUG| [stdout] qcow2:    	8895111a0cc7eecf104702f7553792d5b20807c220f491d325876e8735e3c5e1
2024-12-09 04:45:33,523 avocado.utils.process process          L0473 DEBUG| [stdout] vmdk:     	14387a16a4b114c16079f442ebadf86239aa421ebbac6c5bfe7c0c47e7861d8d
2024-12-09 04:45:33,523 avocado.utils.process process          L0473 DEBUG| [stdout] ovf:      	d272d1f17a339ab0a54ef2995e9c0db028cf7b1174690f8ada526dd93d04ea44
2024-12-09 04:45:33,523 avocado.utils.process process          L0473 DEBUG| [stdout] archive:  	745838fe9399ae6896af3bf535800b928ee01887a5916077f789f042b2edea01
2024-12-09 04:45:36,495 avocado.utils.process process          L0473 DEBUG| [stdout] Build complete!

@chunfuwen chunfuwen changed the title Bib failed to cross-build target-arch=aarch64 on x86_64 Fedora 40 when config.json include disk.customizations Bib failed to cross-build aarch64 on x86_64 Fedora 40 when config.json include disk.customizations Dec 16, 2024
@mvo5
Copy link
Collaborator

mvo5 commented Dec 16, 2024

Thanks for your bugreport. Can you please provide some more information about the "localhost/manifest-test" container? What is this one based off, how did it get created?

@chunfuwen
Copy link
Author

this is localhost/manifest

3:46,927 avocado.utils.process process          L0657 INFO | Running 'sudo podman build  --platform linux/arm64,linux/amd64 --manifest manifest-test -f /var/lib/libvirt/images/Containerfile_tmp'
2024-12-15 04:33:46,999 avocado.utils.process process          L0473 DEBUG| [stdout] [linux/arm64] STEP 1/3: FROM quay.io/centos-bootc/centos-bootc-dev:stream9
2024-12-15 04:33:47,003 avocado.utils.process process          L0473 DEBUG| [stderr] Trying to pull quay.io/centos-bootc/centos-bootc-dev:stream9...
2024-12-15 04:33:47,701 avocado.utils.process process          L0473 DEBUG| [stderr] Getting image source signatures
2024-12-15 04:33:47,702 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:7adda3a6684b48d3d054bdede727d37980cefa986c40ecf8fd6bc8ec11540041
2024-12-15 04:33:47,702 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:c592249cccb1f5c0a13ab4f62723b5ad4cdc85e68382963d757f0e9a62d4be84
2024-12-15 04:33:47,703 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:6fa72cea1c62f531c6dbdbe4107e437dfb0a04cfbfa479b5781269f4b34c108a
2024-12-15 04:33:47,703 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:7c50fb37076aedf81eccd41a3ca88071f1aa74b1b235db858836661b7ac6369d
2024-12-15 04:33:47,703 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:1be6be164bbd6705807fb07de5310646da50330bb137e6b3a5f231a33312af58
2024-12-15 04:33:47,703 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:c27533c1aed2a68e76bdfb2e57a50fffe6e7cf4f3da3dcecb9af4e41eb8f8dac
2024-12-15 04:33:48,685 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:cc8749a253d9477f9303b71fc21c0289ae290ffe7dc718271627bf14005fc9b4
2024-12-15 04:33:48,950 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:113851ce46a0647ab6450b2115107a0da7808dea8a8adf9382cbe1fd7d8cb57b
2024-12-15 04:33:48,952 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:a950a010351391cc600cc04ba086798cb08d28b52e29750f451862ed72344a43
2024-12-15 04:33:48,954 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:11f2beabf4a561b0f9ee9695f918c33841baf4824f088f5a45a8ad4bd6ffcd13
2024-12-15 04:33:49,044 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:4b953f8f18a7e0af17c484d3ab800cf5d7e89a0592c558739be76690a08d28d0
2024-12-15 04:33:49,500 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:ab6da00e137b9717f905fe36bd1a369bd1eb7250dd6b5ee3694ed513324e7ea6
2024-12-15 04:33:49,653 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:701ef415f6250eb8520f771fd581fe81bd9e380702210fc42c54ff1a64510ffc
2024-12-15 04:33:49,846 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:9da14b779435fddde63c63c0e5c23530f5c24ee222a31cdcec1df8f02194d419
2024-12-15 04:33:49,871 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:33a100e7fa1e4103ab6981dafef2271df19a66044b9168b235d658589d77c42b
2024-12-15 04:33:50,253 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:acc4d8e2cc0913b7078422b259716c44341a5e7a2a2bf835cfd990144c691451
2024-12-15 04:33:50,306 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:09991b19ac4e1665c810315a86748262bbf3e28f15d221f56d8ef4c05a69c570
2024-12-15 04:33:50,580 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:5300ad6d289f0d931700af67c53d6d4ff295dde1273780f16a5aa99575331434
2024-12-15 04:33:50,741 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:8cac00d7d933e43fbece5570bdbde1d168973abcc3a3215cc8d523a6520a3a92
2024-12-15 04:33:50,774 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:ca12a978459f0017d3f34f7a3e1f7fed51fb75747796d5b818492e45eef18209
2024-12-15 04:33:50,779 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:0643e31e10c3f6d24b2ff40243d30bb558cd7d90e4a74392d7a7c89ecb3f0f9c
2024-12-15 04:33:50,925 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:4261cf92e25a53509135fad3f186053efcec4d8ccabf8b7c3faeca09932254e7
2024-12-15 04:33:50,983 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:21b080004e82d1fcf3047e8151994cead0c4f3a1532c3deff7e9bfa7aa7af663
2024-12-15 04:33:51,059 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:ac8e626392a1f9dc56c2619d13fe20dbeb7d35264f0f79def88b504a2c645733
2024-12-15 04:33:51,130 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:2d2174fc0fd8900cd10c7905c04b5f65a984a7ac15869453218b1804cc5ba3e6
2024-12-15 04:33:51,197 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:26b84d601cfab055809986ae518094934f32ff5d4fd1f6db23a2faebd6852fc8
2024-12-15 04:33:51,354 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:99a19124caabc13d5fae74a6643471ed2e4709c6b8e4aa703774f15fb1f486e7
2024-12-15 04:33:51,380 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:741369de60bceabf9ff838d8b6910d03b5b52ab36d13f1ab7cc55fff66f00650
2024-12-15 04:33:51,520 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:49baabf4aecdd0c76c9fe343807b36afe2ffacbcacea76d83cb5e566e1d4b091
2024-12-15 04:33:51,545 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:0c573e7300d5f0af4853040eace53d4afe171526d13ee6473fff06389e255416
2024-12-15 04:33:51,565 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:b0f5061f2b337ffebaf39d8b2d98dd8014886759590e43c53908aae5f5eb2c1c
2024-12-15 04:33:51,772 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:ff0c3eefd8bf8ba88c98c0e06ab87bdd7bef8315de07b264ce44f294f1c6d618
2024-12-15 04:33:51,888 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:8a86c10cb4d102fc1623219ce716eea0f1d57da46f3d4bab32c069577da39677
2024-12-15 04:33:51,894 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:3d078a4c90e8ad80e94225b8ae6214bed1b291b5ab26e006317a561420669939
2024-12-15 04:33:51,972 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:094b8c9d2ab791026bad4d985edd2f5e3b32efe8d2f932422bdffa512ce86fa5
2024-12-15 04:33:52,103 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:6ecf34d6acab0e18b92ba33e99787cf95db08e0bfca15856242c26de47e588a4
2024-12-15 04:33:52,139 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:ecec55d49774543868959ac7b3dcf2cc23f4f67baa7a9053587155f9865978db
2024-12-15 04:33:52,420 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:e8c13e7d46998d6f3f25965265ecc3d681f353033dfa3aa8fd37edc763bc6e69
2024-12-15 04:33:52,498 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:6e8474cfe6a41f63763fdf409e646e515674d8bcafc068e213a68e3fd99bf4a4
2024-12-15 04:33:52,500 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:a2e250fbcfd4182ec03cace880b504b3902eebdb31f071af8fd71a506e17eaf1
2024-12-15 04:33:52,776 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:444f19298aa0f72cf989d47dbade139cd9ee43ab7453fdeaef2f0194c79d5604
2024-12-15 04:33:52,781 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:c88df164f6cbfc0df79d4b2abfebd0e3d27a08c98f369984fb8a53d9fa5712b1
2024-12-15 04:33:52,879 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:9a2d4847d39c90bc9ef3cfc2cbbb957352095a2022cf55a0f1a59afee04a3a5d
2024-12-15 04:33:52,938 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:f8543f711f5f33b33592dc4f661b4fc0ac1e7bc67fa5bd9c503a0b40f738b089
2024-12-15 04:33:53,092 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:42a064d6311009f59a81ec8829a47e49281b4f2479e28ad3ca53593f097b451a
2024-12-15 04:33:53,314 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:b38dce01f5e10801a57f80d2bb08a0def726ce62c7bf3ead507d5ab54383334a
2024-12-15 04:33:53,327 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:29d574c41dbac7632fd19344f56dc15f5ce64a8405e0efecb151f420631403b3
2024-12-15 04:33:53,350 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:b1b795ba1179afa528db8556f1eb7862a6ec50623f19452d0472f5727a93f974
2024-12-15 04:33:53,407 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:7f2f11aea0616442e301008433c7c2f88f166e436bbdae4661949e6413f11932
2024-12-15 04:33:53,483 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:8ff03196558795c318557d9b27fdbc3a3e74ad8b696bff195ad7eaa07bcbe89c
2024-12-15 04:33:53,775 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:146303667e6b6af2145ec9956333855283761dde275a30283fd036253e52299e
2024-12-15 04:33:53,868 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:e9c075dd88643c7ebc6af14cc9d564a695a3d3ee3bdc2ba32c91ac202c21c5ba
2024-12-15 04:33:53,876 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:94e8940391e0813fcefa686f90fcb1fd4849dba2d2a9d2e253df773c4c18d5ef
2024-12-15 04:33:54,049 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:f86719a35682bc77ede5437f3257d66b9e6537dba25c20968ff1bdd7be1e88b5
2024-12-15 04:33:54,110 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:69b356acb72b9fc509e84f397624a0350be90271f88e5404f9d0bef43014951c
2024-12-15 04:33:56,328 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:262cb3ca6c59aabde12fd6a1a17517a9a71857f15c5007b02d8bac85ebd873ef
2024-12-15 04:33:56,954 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:437aa261db02a2c065eeeeb46e9ffc7eb0de7236857c88199e2f68a1e555c52e
2024-12-15 04:33:56,956 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:2605ca881e32db9d13431213048aac1366715c6eadc373ae031d42b351586880
2024-12-15 04:33:56,964 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:8c92c90fa1205880ec24bd383087a77452bd78ec42b57016e2cc9301eda63eef
2024-12-15 04:33:57,598 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:18054251d32e77ea152adfc14dbf88f0afe28bbc734a4a1a43d76793c8d0edbf
2024-12-15 04:33:57,601 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:76516c076277770092c473237df718052df764defca1049ce507b9ebc3e4d2de
2024-12-15 04:33:57,949 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:bc032532b26f0153a97bde478bbe5536da1605293cd222e7b6022d0c41c6725e
2024-12-15 04:33:58,257 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:050502ce4e0002b70e24d1c945d58de5c00a83b41b8ffb444eb7fb5164035de3
2024-12-15 04:33:58,553 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:3a5cc512dab2bc799a4f6000cab0e60224dfbb8626f77579a0fa7829cc19ccf8
2024-12-15 04:33:58,766 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:ad312c5c40ccd18a3c639cc139211f3c4284e568b69b2e748027cee057986fe0
2024-12-15 04:33:59,046 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d
2024-12-15 04:33:59,307 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:5241e0c4327849a07d069fe4203656dfaec609276f5c1feab941296bf59654a1
2024-12-15 04:34:11,948 avocado.utils.process process          L0473 DEBUG| [stderr] Copying config sha256:2beb4a14a997e53313ff7ddf8cb3aa2072a67506ee8f2a095240d06ab55a2155
2024-12-15 04:34:11,950 avocado.utils.process process          L0473 DEBUG| [stderr] Writing manifest to image destination
2024-12-15 04:34:12,096 avocado.utils.process process          L0473 DEBUG| [stdout] [linux/arm64] STEP 2/3: RUN echo '%wheel ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/wheel-passwordless-sudo
2024-12-15 04:34:22,024 avocado.utils.process process          L0473 DEBUG| [stdout] --> e33ff4ffa3c2
2024-12-15 04:34:22,079 avocado.utils.process process          L0473 DEBUG| [stdout] [linux/arm64] STEP 3/3: RUN echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config.d/01-permitrootlogin.conf
2024-12-15 04:34:23,001 avocado.utils.process process          L0473 DEBUG| [stdout] [linux/arm64] COMMIT
2024-12-15 04:34:29,968 avocado.utils.process process          L0473 DEBUG| [stdout] --> d51df5d7f276
2024-12-15 04:34:29,968 avocado.utils.process process          L0473 DEBUG| [stdout] [linux/amd64] STEP 1/3: FROM quay.io/centos-bootc/centos-bootc-dev:stream9
2024-12-15 04:34:30,317 avocado.utils.process process          L0473 DEBUG| [stdout] d51df5d7f2769ee6815d26daefde01277de769431cf892a0f70a2fbf0b019067
2024-12-15 04:34:30,335 avocado.utils.process process          L0473 DEBUG| [stderr] Trying to pull quay.io/centos-bootc/centos-bootc-dev:stream9...
2024-12-15 04:34:31,772 avocado.utils.process process          L0473 DEBUG| [stderr] Getting image source signatures
2024-12-15 04:34:31,772 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:845696168d9042d2cc4ebe4091f2e1c41f8c406dbd3d0f142df021b4513cda95
2024-12-15 04:34:31,773 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:dd6b8d207585dad2c500a2f5932911b4766e20864afb6df4de987c6c044f1c08
2024-12-15 04:34:31,773 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:c7a5fe793d7ff82e3797660f6eb8dff6be80df50bb81790417785095ba919985
2024-12-15 04:34:31,773 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:7c50fb37076aedf81eccd41a3ca88071f1aa74b1b235db858836661b7ac6369d
2024-12-15 04:34:31,773 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:a6ee17e300437f1b8df07b254a42e94cf5920f021842db86b61622779e39eeec
2024-12-15 04:34:31,773 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:8bfc0e089ba960376546754faa80b7c7d704f68302bd5830ec5d5f5c46014047
2024-12-15 04:34:31,775 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:bebd8aaaf2103309749d729523ebbcc58ddf80b8b1ae70ea9cef07162073dd86
2024-12-15 04:34:32,961 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:c8e125141d1bbd26e4a6618a78f846757e58e4d47ca19cdf04fb6d11eada74b5
2024-12-15 04:34:33,122 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:b801484b4058fecb55f6400b7a105762b85a1354969f97f9265d81610e28d51c
2024-12-15 04:34:33,122 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:7e5a18f1ecec5e525ae55786b2fd9ba60197bd23ddab7f091ce3b642d09d04d9
2024-12-15 04:34:33,129 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:d3019f07d56012374c993b52ab86ca375583f18df64db9de3bdf1124fa1b78e2
2024-12-15 04:34:33,133 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:7ecd6e4bc71a2c73ee474a463937c5679621ee40785d1fdbb8402745cd64f580
2024-12-15 04:34:33,871 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:38aee34503ce1bd16f86190e87e207d68efc878630f467bc5653756d1fd14bf7
2024-12-15 04:34:33,873 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:3835ff8a635d720b2a0e0de7296da2b1b2691dd6b37c140e9501e2cabb8900e3
2024-12-15 04:34:33,931 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:4a1703a7eaa7339d8605105475823e1404ef1decca039c8ed18d561c03d82b8d
2024-12-15 04:34:33,951 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:f8ddf132848dc313f29c2e63e549c5c58c5c92a5729eb033a8b6815210b9d773
2024-12-15 04:34:34,201 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:4e16ba538ed06bc4b9f8b4e243f323e52cb0a9764f99ef4b009886df94868a98
2024-12-15 04:34:34,224 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:123a23fee02fcea5ba915c8c3f99df711e8bb8f0aeaff19c2de249a00106525f
2024-12-15 04:34:34,366 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:0643e31e10c3f6d24b2ff40243d30bb558cd7d90e4a74392d7a7c89ecb3f0f9c
2024-12-15 04:34:34,366 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:e2595b0564cecb665a1b688127721e163096affe8faf84137af32abaddac2c68
2024-12-15 04:34:34,443 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:e85810d48f4bead35e8ca8a12228731c4fc28184ad70359c9ed2299c54523786
2024-12-15 04:34:34,524 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:0b8cd8eb5f33537cf6db89ed3a9ced955571d4c813fb90a776497e3ec53e76c3
2024-12-15 04:34:34,734 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:21b080004e82d1fcf3047e8151994cead0c4f3a1532c3deff7e9bfa7aa7af663
2024-12-15 04:34:34,735 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:3a29477447e8ade1cc54fdc25c50d8318cda4d2c5bbfb793dedb9caddcb5c898
2024-12-15 04:34:35,006 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:09d5cb84a66af9311d078c96b5a447fb756c3a147b9f3653cc1787b5358ef49c
2024-12-15 04:34:36,917 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:3fa1ab8f5dea3a6a981f6105b052ddca853dd7def5bfa750c75fd28065e848b4
2024-12-15 04:34:37,538 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:f071ab9f73ba9f58e9652244ea68f03099fe327c7a022386a9ac2979ff41c8f2
2024-12-15 04:34:37,539 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:9f86bf49766dafc612d4cbfc285004ba3615d7567551362586fa16663331e280
2024-12-15 04:34:37,542 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:fac3c5f723e34d7fb08c95feafbc4d3c9fa06453328559ce6fb8610a83b5e0c8
2024-12-15 04:34:37,976 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:dfe06dd31612afdedeeee48fc85aaf78d8f2125806c2ef754870c99055b162e0
2024-12-15 04:34:38,337 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:356559c8327a50599218df5e2f937d87d847c85fb279921beb2a6326bd8b27df
2024-12-15 04:34:38,955 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:cfaaa2634cfb8777f417ac3ebaf233ab89e3dd385f2bd0bd687bb91a1abc9226
2024-12-15 04:34:38,958 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:7d783b2fa76fa9b8930588199614c4163a1fe382f60ad944747de01a2d1a7b51
2024-12-15 04:34:39,482 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:ff89bfb07d324df88d1ade9e2899b56a3b3db61fefc2c91edf04e6107e67e13e
2024-12-15 04:34:39,486 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:2760a8b79ac607b524a3efefddec8a55446c1cb268a2a6e8a084a49b20a76eca
2024-12-15 04:34:39,888 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:0b6c2cdba6b105ac1ba53ed41cd6e125867caed74d77c99231bd7c5798476681
2024-12-15 04:34:40,245 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:a5b915bd89df2993f5440ad978d3fb9196f620e535c5899635364a8a3d34494c
2024-12-15 04:34:40,400 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:1b5756c65d9ea55c40fa04c387b4d6113fdc44d67dabd94d07e086d9caee4f6e
2024-12-15 04:34:40,401 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:fe1304001fdc76676351e4494c9f84fea97b24b37a9b46cd6f8857e5a45361f3
2024-12-15 04:34:40,405 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:069a9ad562143cb80a8b0fb07b7f6a5b43b4a1f356e890a3bb09e7690b0fde6c
2024-12-15 04:34:40,750 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:464f72b3ab0b8f5bc95b36214f7f198aae92ca64a921ccc298868908c7d90456
2024-12-15 04:34:41,012 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:a7c8803cddc58421be9e057a575db9d96433b8a6b4cfcc23e131a1c67a607586
2024-12-15 04:34:41,203 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:bd0d67b4b5d56beaa77b433d6b0582dfd9a905db6e28afb7e570b40a4c82589c
2024-12-15 04:34:41,205 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:094e3a08160f02c35bd2372d9997cd8afde70d600b35dfccb298724368c43cba
2024-12-15 04:34:41,461 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:7168a0b60dc440a4f509ba840e85e6f3e7b9dc608922b98171a51f9e0f62b0ae
2024-12-15 04:34:41,669 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:4aa103ff6523ef4fdbe3c5aa89d1f2d2836d2049a8205729963a389a7933cc68
2024-12-15 04:34:41,846 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:23945c5f4769e990c9551eae0fb2b9a395b45171bbf664dfe0d8a551ac4fe8ac
2024-12-15 04:34:42,166 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:693033e3e6c60d72e89022d5e450e6b91249e32798fb0e31963d382a64f2c681
2024-12-15 04:34:42,373 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:35960754e3790c8809a9eded664b3133fe360775634238015a497aac226a2e9d
2024-12-15 04:34:42,376 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:61e6c03f8326978d60285ee14ac334ffd547d3d2a944b0cc2732002a474ed109
2024-12-15 04:34:42,382 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:de4c5ff48e51578f240e2a67e53939a7f8c756b7c616d3f70a73006dc9cda4c8
2024-12-15 04:34:42,611 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:bfb11425d45c3209b0f871d1547cd94e918bc35fa0a15b584017cb46e9dd8edd
2024-12-15 04:34:42,755 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:c1f2d674bcad76e8b9f48d3b24ac2b3b049e9c4ed2778fe4eccc06e6fd7af6fb
2024-12-15 04:34:42,937 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:9ba019bb875792a2899febe10fce7fb42b1aef8bf963deec40f3aa0639f41c10
2024-12-15 04:34:43,086 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:ea8a9cc64d2ed252a96fb9eea132a1e6d9347842f3c7fea7e1b2848a9af2ddd2
2024-12-15 04:34:43,181 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:f55d7fa43f1238a60461968890b14ab92d9458ea581f8f866125f6db68ec605f
2024-12-15 04:34:43,267 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:537666b500b359f5713efb64d55883110ee5c2421de35d9878dccc13206ba17a
2024-12-15 04:34:43,403 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:c9f4c4fb1c147407399aca0d7d9076d16fe41db6a3182f234eb0b44daeab5f01
2024-12-15 04:34:43,483 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:b6d77a34f8ab71904e944b4fe231071cffef5685fd96bd630bbd8135c549f272
2024-12-15 04:34:43,616 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:566db9b9fba76606258465aa4f390a7c08f6fe2eb2e4906d5dbc6bad44c90278
2024-12-15 04:34:43,859 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:921a4265f928654b2783882ec53d9f9ca911a1405da44106c43694bac6eee741
2024-12-15 04:34:44,135 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:4f9cb54408c0131f8d2eb21cf1377572a53612c3c628005182fc9262576ce284
2024-12-15 04:34:44,214 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:e2959b7b88f7dce7af4539da25d2368ed70594096e6809c34a7749d5b83fbff4
2024-12-15 04:34:44,304 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:a8f052c706148b11f7899960fe9ea9d04e82718f2cb12c4bea43de8b9294af55
2024-12-15 04:34:44,409 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:ad312c5c40ccd18a3c639cc139211f3c4284e568b69b2e748027cee057986fe0
2024-12-15 04:34:44,520 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d
2024-12-15 04:34:44,521 avocado.utils.process process          L0473 DEBUG| [stderr] Copying blob sha256:696a91e83061d787374ef91d8701ce6bcd8a9576e4dcd89336e89589c5c583b0
2024-12-15 04:34:53,520 avocado.utils.process process          L0473 DEBUG| [stderr] Copying config sha256:8cd9c53aa21841dffb1ad1654025179f8e25299b71b3085ce8a0ebea129d22ae
2024-12-15 04:34:53,523 avocado.utils.process process          L0473 DEBUG| [stderr] Writing manifest to image destination
2024-12-15 04:34:56,261 avocado.utils.process process          L0473 DEBUG| [stdout] [linux/amd64] STEP 2/3: RUN echo '%wheel ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/wheel-passwordless-sudo
2024-12-15 04:35:06,249 avocado.utils.process process          L0473 DEBUG| [stdout] --> 03010e07e00e
2024-12-15 04:35:06,296 avocado.utils.process process          L0473 DEBUG| [stdout] [linux/amd64] STEP 3/3: RUN echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config.d/01-permitrootlogin.conf
2024-12-15 04:35:07,169 avocado.utils.process process          L0473 DEBUG| [stdout] [linux/amd64] COMMIT
2024-12-15 04:35:14,127 avocado.utils.process process          L0473 DEBUG| [stdout] --> 8bcf14c99846
2024-12-15 04:35:14,493 avocado.utils.process process          L0473 DEBUG| [stdout] 8bcf14c998468c952b3383facfeb905fb61b29f65083da55dae24f71bc18fb03

@chunfuwen
Copy link
Author

I suspect this is related to disk.customization in config.json. Since I notice if disk.customization is config.json, there is additional build action:org.osbuild.mkfs.btrfs (see log). Without that, I didn't find org.osbuild.mkfs.btrfs during building out logs

@mvo5
Copy link
Collaborator

mvo5 commented Jan 15, 2025

There were some issues with advanced disk customizations and cross-building that got fixed with #689

However this particular issue seems to be that the bootc input container is derived from centos9 and a btrfs build is requested. This is unsupported, centos does not ship with btrfs. This should work with xfs/ext4 though. Could you please double check?

@chunfuwen
Copy link
Author

chunfuwen commented Jan 15, 2025

It can succeed to cross build without advanced disk customizations although input container is centos bootc image.

In my understanding, it looks like it only need host ,which support brtfs, such as Fedora.

2025-01-14 04:48:25,644 avocado.provider.bootc_image_builder.bootc_image_build_utils bootc_image_buil L0121 DEBUG| the whole podman command: sudo podman run --rm -it --privileged --pull=newer --security-opt label=type:unconfined_t -v /var/lib/libvirt/images/output:/output -v /var/lib/libvirt/images/config.json:/config.json   -v /var/lib/containers/storage:/var/lib/containers/storage   -v /var/lib/libvirt/images/auth.json:/run/containers/0/auth.json   quay.io/centos-bootc/bootc-image-builder:latest  --type qcow2 --tls-verify=true  --config /config.json  --target-arch=aarch64  --local localhost/manifest-test  --rootfs btrfs

...

------>] 100.00%
2025-01-14 05:02:36,446 avocado.utils.process process          L0473 DEBUG| [stdout] [2KMessage: Results saved in .
2025-01-14 05:02:36,446 avocado.utils.process process          L0473 DEBUG| [stdout] [4A[?25h
2025-01-14 05:02:36,446 avocado.utils.process process          L0473 DEBUG| [stdout]
2025-01-14 05:02:36,446 avocado.utils.process process          L0473 DEBUG| [stdout]
2025-01-14 05:02:36,446 avocado.utils.process process          L0473 DEBUG| [stdout]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants