-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Failed to build virtual switch with SONIC_BUILD_JOBS=4 #1738
Comments
Hello. I had the same problem. I also don't know if it is a bug. |
Hi, I think this might not be considered a bug. The issue arises when multiple final targets are being built in parallel, as these concurrent build tasks use some of the same files, including the root file system, scripts, etc. The solution is to run the build tasks separately for each final target, and you can still use the SONIC_BUILD_JOBS=x option. |
Hello ` mv: cannot move '/etc/apt/sources.list.d/debian.sources' to '/etc/apt/sources.list.d/debian.sources.back': Permission denied [ FAIL LOG START ] [ target/debs/bookworm/frr_8.5.4-sonic-0_amd64.deb ] pushd ./frr `git checkout master make init |
The same issue for me, with
Using just
|
I have the same issue, it is a challenging to build a |
Hi,
When SONIC_BUILD_JOBS is set to 4, make all results in an error, whereas the build proceeds normally when SONIC_BUILD_JOBS is set to 1. Is this a bug?
Below is the error log:
[ FAIL LOG START ] [ target/sonic-vs.bin__vs__rfs.squashfs ]
Build start time: Fri Jul 5 12:25:11 UTC 2024
++ '[' -f .arch ']'
++ cat .arch
debian.12bookworm++ : 32768
++ : x86_64
++ : vs
++ ONIEIMAGE_VERSION=r0
++ FILESYSTEM_ROOT=./fsroot-vs
++ FILESYSTEM_SQUASHFS=fs.squashfs
++ INSTALLER_PAYLOAD=fs.zip
++ FILESYSTEM_DOCKERFS=dockerfs.tar.gz
++ DOCKERFS_DIR=docker
++ DOCKER_RAMFS_SIZE=2500M
++ OUTPUT_ONIE_IMAGE=target/sonic-vs.bin
++ OUTPUT_RAW_IMAGE=target/sonic-vs.raw
++ RAW_IMAGE_DISK_SIZE=10700
++ OUTPUT_KVM_IMAGE=target/sonic-vs.img
++ KVM_IMAGE_DISK_SIZE=16
++ OUTPUT_ABOOT_IMAGE=target/sonic-aboot-vs.swi
++ ABOOT_BOOT_IMAGE=.sonic-boot.swi
++ OUTPUT_KVM_4ASIC_IMAGE=target/sonic-4asic-vs.img
++ OUTPUT_KVM_6ASIC_IMAGE=target/sonic-6asic-vs.img
++ OUTPUT_DSC_IMAGE=target/sonic-vs.tar
mount: /proc: proc already mounted on /proc.
dmesg(1) may have more information after failed mount system call.
[INFO] Build host debian base system...
mknod: /sonic/fsroot-vs/test-dev-null: File exists
E: Cannot install into target '/sonic/fsroot-vs' mounted with noexec or nodev
[ FAIL LOG END ] [ target/sonic-vs.bin__vs__rfs.squashfs ]
make: *** [slave.mk:1299: target/sonic-vs.bin__vs__rfs.squashfs] Error 1
make[1]: *** [Makefile.work:604: all] Error 2
The text was updated successfully, but these errors were encountered: