60c80ad26d
Why I did it Fix the build unstable issue caused by the kvm 9000 port is not ready to use in 2 seconds. 2022-09-02T10:57:30.8122304Z + /usr/bin/kvm -m 8192 -name onie -boot order=cd,once=d -cdrom target/files/bullseye/onie-recovery-x86_64-kvm_x86_64_4_asic-r0.iso -device e1000,netdev=onienet -netdev user,id=onienet,hostfwd=:0.0.0.0:3041-:22 -vnc 0.0.0.0:0 -vga std -drive file=target/sonic-6asic-vs.img,media=disk,if=virtio,index=0 -drive file=./sonic-installer.img,if=virtio,index=1 -serial telnet:127.0.0.1:9000,server 2022-09-02T10:57:30.8123378Z + sleep 2.0 2022-09-02T10:57:30.8123889Z + '[' -d /proc/284923 ']' 2022-09-02T10:57:30.8124528Z + echo 'to kill kvm: sudo kill 284923' 2022-09-02T10:57:30.8124994Z to kill kvm: sudo kill 284923 2022-09-02T10:57:30.8125362Z + ./install_sonic.py 2022-09-02T10:57:30.8125720Z Trying 127.0.0.1... 2022-09-02T10:57:30.8126041Z telnet: Unable to connect to remote host: Connection refused How I did it Waiting more time until the tcp port 9000 is ready, waiting for 60 seconds in maximum. |
||
---|---|---|
.. | ||
j2cli | ||
build_debian_base_system.sh | ||
build_kvm_image.sh | ||
collect_build_version_files.sh | ||
collect_docker_version_files.sh | ||
collect_host_image_version_files.sh | ||
convert-pfx-cert-format.sh | ||
dbg_files.sh | ||
docker_version_control.sh | ||
generate_buildinfo_config.sh | ||
prepare_debian_image_buildinfo.sh | ||
prepare_docker_buildinfo.sh | ||
prepare_slave_container_buildinfo.sh | ||
process_log.sh | ||
sign_image.sh | ||
versions_manager.py | ||
wait_for_docker.sh |