ossobv / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
0 stars 0 forks source link

test: SONiC-OS-master-20241103-osso.0-8ef6c3f20 #13

Closed wdoekes closed 1 day ago

wdoekes commented 3 days ago
Installing image SONiC-OS-master-20241103-osso.0-8ef6c3f20 and setting it as default...
Command: bash /tmp/sonic_image
Verifying image checksum ... OK.
Preparing image archive ... OK.
Installing SONiC in SONiC
ONIE Installer: platform: x86_64-broadcom-r0
onie_platform: x86_64-accton_as7326_56x-r0
Removing old SONiC installation /host/image-4.4.0-Enterprise_Base
Installing SONiC to /host/image-master-20241103-osso.0-8ef6c3f20
Archive:  fs.zip
   creating: /host/image-master-20241103-osso.0-8ef6c3f20/boot/
  inflating: /host/image-master-20241103-osso.0-8ef6c3f20/boot/vmlinuz-6.1.0-22-2-amd64  
  inflating: /host/image-master-20241103-osso.0-8ef6c3f20/boot/initrd.img-6.1.0-22-2-amd64  
  inflating: /host/image-master-20241103-osso.0-8ef6c3f20/boot/config-6.1.0-22-2-amd64  
  inflating: /host/image-master-20241103-osso.0-8ef6c3f20/boot/System.map-6.1.0-22-2-amd64  
 extracting: /host/image-master-20241103-osso.0-8ef6c3f20/fs.squashfs  
ONIE_IMAGE_PART_SIZE=32768
EXTRA_CMDLINE_LINUX=
Switch CPU vendor is: GenuineIntel
Switch CPU cstates are: disabled
cp /tmp/tmp.2xKYDxb5DZ /boot/efi/EFI/debian/grub.cfg
EXTRA_CMDLINE_LINUX=
Installed SONiC base image SONiC-OS successfully

Command: grub-set-default --boot-directory=/host 0

Command: config-setup backup
Taking backup of current configuration

Command: mkdir -p /tmp/image-master-20241103-osso.0-8ef6c3f20-fs
Command: mount -t squashfs /host/image-master-20241103-osso.0-8ef6c3f20/fs.squashfs /tmp/image-master-20241103-osso.0-8ef6c3f20-fs
Command: sonic-cfggen -d -y /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/etc/sonic/sonic_version.yml -t /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/usr/share/sonic/templates/sonic-environment.j2
Command: umount -r -f /tmp/image-master-20241103-osso.0-8ef6c3f20-fs
Command: rm -rf /tmp/image-master-20241103-osso.0-8ef6c3f20-fs
Command: mkdir -p /tmp/image-master-20241103-osso.0-8ef6c3f20-fs
Command: mount -t squashfs /host/image-master-20241103-osso.0-8ef6c3f20/fs.squashfs /tmp/image-master-20241103-osso.0-8ef6c3f20-fs
Command: mkdir -p /host/image-master-20241103-osso.0-8ef6c3f20/rw
Command: mkdir -p /host/image-master-20241103-osso.0-8ef6c3f20/work
Command: mkdir -p /tmp/image-master-20241103-osso.0-8ef6c3f20-fs
Command: mount overlay -t overlay -o rw,relatime,lowerdir=/tmp/image-master-20241103-osso.0-8ef6c3f20-fs,upperdir=/host/image-master-20241103-osso.0-8ef6c3f20/rw,workdir=/host/image-master-20241103-osso.0-8ef6c3f20/work /tmp/image-master-20241103-osso.0-8ef6c3f20-fs
Command: mkdir -p /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/var/lib/docker
Command: mount --bind /host/image-master-20241103-osso.0-8ef6c3f20/docker /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/var/lib/docker
Command: chroot /tmp/image-master-20241103-osso.0-8ef6c3f20-fs mount proc /proc -t proc
Command: chroot /tmp/image-master-20241103-osso.0-8ef6c3f20-fs mount sysfs /sys -t sysfs
Command: cp /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/etc/default/docker /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/tmp/docker_config_backup
Command: sh -c echo 'DOCKER_OPTS="$DOCKER_OPTS -H unix:// --storage-driver=overlay2 --bip=240.127.1.1/24 --iptables=false --ipv6=true --fixed-cidr-v6=fd00::/80 "' >> /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/etc/default/docker
Command: chroot /tmp/image-master-20241103-osso.0-8ef6c3f20-fs /usr/lib/docker/docker.sh start
mount: /sys/fs/cgroup/cpu: cgroup already mounted on /sys/fs/cgroup.
       dmesg(1) may have more information after failed mount system call.
mount: /sys/fs/cgroup/cpuacct: cgroup already mounted on /sys/fs/cgroup.
       dmesg(1) may have more information after failed mount system call.
Command: cp /var/lib/sonic-package-manager/packages.json /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/tmp/packages.json
Command: mkdir -p /var/lib/sonic-package-manager/manifests
Command: cp -arf /var/lib/sonic-package-manager/manifests /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/var/lib/sonic-package-manager
Command: touch /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/tmp/docker.sock
Command: mount --bind /var/run/docker.sock /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/tmp/docker.sock
Command: cp /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/etc/resolv.conf /tmp/resolv.conf.backup
Command: cp /etc/resolv.conf /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/etc/resolv.conf
Command: chroot /tmp/image-master-20241103-osso.0-8ef6c3f20-fs sh -c command -v sonic-package-manager
Command: chroot /tmp/image-master-20241103-osso.0-8ef6c3f20-fs sonic-package-manager migrate /tmp/packages.json --dockerd-socket /tmp/docker.sock -y
migrating package dhcp-relay
skipping dhcp-relay as installed version is newer
migrating package macsec
skipping macsec as installed version is newer
Command: chroot /tmp/image-master-20241103-osso.0-8ef6c3f20-fs /usr/lib/docker/docker.sh stop
Command: mv /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/tmp/docker_config_backup /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/etc/default/docker
Command: cp /tmp/resolv.conf.backup /tmp/image-master-20241103-osso.0-8ef6c3f20-fs/etc/resolv.conf
Command: umount -f -R /tmp/image-master-20241103-osso.0-8ef6c3f20-fs
Command: umount -r -f /tmp/image-master-20241103-osso.0-8ef6c3f20-fs
Command: rm -rf /tmp/image-master-20241103-osso.0-8ef6c3f20-fs
Command: sync

Command: sync

Command: sync

Command: sleep 3

Done
tion, since apt-utils is not installed
ckage sonic-platform-accton-as7326-56x.
(Reading database ... 45638 fic-platf[899s7326-56x (1.1) ...
[   38.454702] rc.local[899]: Created symlink /etc/systemd/systeet.wants/pddf-platform-init.service -> /lib/systemd/system/pddf-[   42.620329] PDDF_ERROR: dev_operation: Invalid value for dev_ops STATUS_LED_COLOR_BLUER_GREEN_BLINK

Alas, still no interfaces..

SAI_STATUS_FAILURE