Closed pcg108 closed 10 months ago
Also @ffard-lbl had some issues building w.r.t to hanging in QEMU?
@abejgonzalez That's correct. There's two issues that I noticed when building:
./marshal -v build ubuntu-base.json
, the build hangs near the end of the build. The disk image is still created, but it doesn't finish running the build process. Attached is the end of the log from the build:
2023-10-02 11:43:46,099 [run ] [DEBUG]
2023-10-02 11:43:46,099 [run ] [DEBUG] trying to do Ubuntu
2023-10-02 11:43:57,107 [run ] [DEBUG] ubuntu login: [ 64.559874] cloud-init[400]: Cloud-init v. 22.2-0ubuntu1~20.04.3 running 'modules:config' at Mon, 02 Oct 2023 18:43:48 +0000. Up 56.70 seconds.
2023-10-02 11:44:07,011 [run ] [DEBUG] ci-info: no authorized SSH keys fingerprints found for user ubuntu.
2023-10-02 11:44:08,530 [run ] [DEBUG] <14>Oct 2 18:44:07 cloud-init: #############################################################
2023-10-02 11:44:08,530 [run ] [DEBUG] <14>Oct 2 18:44:07 cloud-init: -----BEGIN SSH HOST KEY FINGERPRINTS-----
2023-10-02 11:44:08,531 [run ] [DEBUG] <14>Oct 2 18:44:07 cloud-init: 1024 SHA256:nf0nH7RMsLkAF9Nd9ChLuVGEDuDLTg9+FhagOcNzf7g root@ubuntu (DSA)
2023-10-02 11:44:08,531 [run ] [DEBUG] <14>Oct 2 18:44:07 cloud-init: 256 SHA256:GDnUKq2YBx8XN6w6kGOMoWnqROuv1n5icH6+FDzRMdo root@ubuntu (ECDSA)
2023-10-02 11:44:08,532 [run ] [DEBUG] <14>Oct 2 18:44:07 cloud-init: 256 SHA256:bjEsl5CvvaPLoKiQU2ZhGlmO8PlFaqW9CO9SZtV4BK0 root@ubuntu (ED25519)
2023-10-02 11:44:08,532 [run ] [DEBUG] <14>Oct 2 18:44:08 cloud-init: 3072 SHA256:W6kTWo/2FBIKh3W4jHYr635T/kUX974gBSKJYYUZXow root@ubuntu (RSA)
2023-10-02 11:44:08,532 [run ] [DEBUG] <14>Oct 2 18:44:08 cloud-init: -----END SSH HOST KEY FINGERPRINTS-----
2023-10-02 11:44:08,532 [run ] [DEBUG] <14>Oct 2 18:44:08 cloud-init: #############################################################
2023-10-02 11:44:08,532 [run ] [DEBUG] -----BEGIN SSH HOST KEY KEYS-----
2023-10-02 11:44:08,533 [run ] [DEBUG] ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNvc3NxAbe30lV766dy3BRI2JVUO65LuaJvSsdyJST/BVx1Z8H/xnf4wVv4Ds2ZX84UuI3DOy5NE+2/t3POKjOg= root@ubuntu
2023-10-02 11:44:08,533 [run ] [DEBUG] ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGALeBAEOzJ5wMHhOWSNvc5Kww4cquuVM08C1rrG2bbi root@ubuntu
2023-10-02 11:44:08,536 [run ] [DEBUG] ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCwWJ1KTUZ7vBhpxAbC/w3UdPYSI934VpWuT1kWXvFzmzj3Yg7FkfC3BaqAWrHXnrcug7hQtPm8Qynd8c1ypPK9GDWvue3smtWOMIUoXIKSHUuFRS0gjJeuWhYjj05OpQzhtWCIt/NW8rW/OxfY1epmDzB33ZO8DbHqJqEYUXCyDgt/XmIYWOj7lGsS/fd6nMmjyFscdnv2Ck3e8K3UQbsShU0fP5eAUyKLwi956NDSQot9tCxP2oD1YeVgSaAWMABH4KItbjRSjIACrMvvxAergPmgrznz1k6/JBNanWd3z/IqEURICu2LtzqP8APWGxD3yC845eAJaugFCeLlyol4t9tQ1XIJ3XtGGDkeR/NjcRjiEBeZXCbSzBPvnkrGIJMM7mDvLAfXE7JVrPLhYEHH6Y5RSl+h80JxpEIQZQdQUei9NyixYZV7lEvFOkezHs9nx99M6TH3EPvKf0CmPL09J5rFOzpStxkm5uCWaSX5fVeCd1b9rqy36BKxePaD8zs= root@ubuntu
2023-10-02 11:44:08,536 [run ] [DEBUG] -----END SSH HOST KEY KEYS-----
2023-10-02 11:44:08,778 [run ] [DEBUG] [ 76.230440] cloud-init[428]: Cloud-init v. 22.2-0ubuntu1~20.04.3 running 'modules:final' at Mon, 02 Oct 2023 18:44:04 +0000. Up 72.18 seconds.
2023-10-02 11:44:08,785 [run ] [DEBUG] [ 76.235478] cloud-init[428]: Cloud-init v. 22.2-0ubuntu1~20.04.3 finished at Mon, 02 Oct 2023 18:44:08 +0000. Datasource DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]. Up 76.07 seconds
ubuntu-base.json
image and log in as ubuntu:ubuntu
, the console asks for a new password as the original ubuntu
password is set to expire at login. This also may be the reason the build halted during the build, as it was asking for an updated password.
Review Ubuntu with Firemarshal/Firesim