AssertionError: 1 != 0 : Log: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/build/tmp/work/qemumips-poky-linux/core-image-lsb-sdk/1.0-r0/auth.log ----------------------- Central error: Jun 20 17:42:29 qemumips getty[912]: can't open '/dev/tty1': Input/output error^M
Armin, would you like Catalin to work on this defect?
(In reply to comment #1) > Armin, would you like Catalin to work on this defect? That would be great. thanks
Hi Armin, I've built core-image-lsb-sdk on my local build server without any issue (I see no auth.log file in core-image-lsb-sdk/1.0-r0). Could you provide more details about this issue?
ah, the joys of the Auto Builder. I used the following in my local.conf 'INHERIT += "report-error" DISTRO = "poky-lsb" PACKAGE_CLASSES = "package_rpm package_deb package_ipk" BB_NUMBER_THREADS = "24" PARALLEL_MAKE = "-j 28" SDKMACHINE ?= "i686" IMAGE_FSTYPES_append = " tar.gz" BB_TASK_NICE_LEVEL = "5" BB_TASK_NICE_LEVEL_task-testimage = "0" BB_TASK_IONICE_LEVEL = "2.7" BB_TASK_IONICE_LEVEL_task-testimage = "2.1" MACHINE = "qemumips" PREMIRRORS = "" BB_GENERATE_MIRROR_TARBALLS = "1" ERROR_QA_remove = "version-going-backwards" PRSERV_HOST = "localhost:0" QEMU_USE_KVM = "True" SANITY_TESTED_DISTROS = ""
bitbake -k core-image-lsb core-image-lsb-dev core-image-lsb-sdk then added to local.conf INHERIT += "testimage" TEST_QEMUBOOT_TIMEOUT = "1500" and ran. bitbake -v core-image-lsb core-image-lsb-sdk -c testimage it should fail with just one image. hope that helps.
I've tried the following steps: 1.add to local.conf MACHINE ??= "qemumips" DISTRO_FEATURES_append = " pam x11 opengl" 2. bitbake -k core-image-lsb core-image-lsb-dev core-image-lsb-sdk 3. add to local.conf INHERIT += "testimage" TEST_QEMUBOOT_TIMEOUT = "1500" 4. bitbake -v core-image-lsb core-image-lsb-sdk -c testimage This will fail on all oe-core branches (morty-net, morty, master) with "runqemu - ERROR - Failed to setup tap device. Run runqemu-gen-tapdevs to manually create" error. If step 4 is replaced with "bitbake -v core-image-lsb-sdk -c testimage" or "bitbake -v core-image-lsb -c testimage" there are no errors.
(In reply to comment #6) > I've tried the following steps: > > 1.add to local.conf > MACHINE ??= "qemumips" > DISTRO_FEATURES_append = " pam x11 opengl" > > 2. > bitbake -k core-image-lsb core-image-lsb-dev core-image-lsb-sdk > > 3. add to local.conf > INHERIT += "testimage" > TEST_QEMUBOOT_TIMEOUT = "1500" > > 4. > bitbake -v core-image-lsb core-image-lsb-sdk -c testimage > > This will fail on all oe-core branches (morty-net, morty, master) with > "runqemu - ERROR - Failed to setup tap device. Run runqemu-gen-tapdevs to > manually create" error. > > If step 4 is replaced with "bitbake -v core-image-lsb-sdk -c testimage" or > "bitbake -v core-image-lsb -c testimage" there are no errors. Is this a text matrix issue then?
bitbake -v core-image-lsb core-image-lsb-sdk -c testimage works only if BB_NUMBER_THREADS = "1" is added to local.conf
Issue no longer present (bitbake -v core-image-lsb core-image-lsb-sdk -c testimage runs successfully) if NOPASSWD is added for the user in /etc/sudoers See "Enabling Runtime Tests on QEMU" in the manual for more details.
Armin, Do you agree with Catalin's workflow? If so, please close the defect.
(In reply to comment #10) > Armin, Do you agree with Catalin's workflow? If so, please close the defect. sorry for the later reply. I saw the initial email but went on vacation. this sounds fine to me. thanks.
Created attachment 3920 [details] CreateAutoConf
I am still seeing the error. If we thing this is a sudoers issue, then the AB needs some attention. We need someone with AB knowledge to look into this. I have not idea how to make a morty only setup. this is holding up the dot release so please have Joshua or some centos7.osl.yoctoproject.org for mips-lsb
Sanity testing was enabled for LSB images: http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder/commit/buildset-config.controller/nightly-mips-lsb.conf?id=77e4e78870de89d73c748b50638ed2941e55274b
My network hub at home is so slow the qemmips kernel opps on a time out. 881.500607] EXT4-fs (vda): couldn't mount as ext2 due to feature incompatibilities [ 902.918209] INFO: rcu_preempt self-detected stall on CPU [ 902.918391] 0: (2100 ticks this GP) idle=1af/140000000000001/0 softirq=60/60 fqs=0 [ 902.918460] (t=2100 jiffies g=-256 c=-257 q=7) [ 902.918515] rcu_preempt kthread starved for 2100 jiffies! need to order a gig hub. I am push x11 console back to my lap top. My server wont autostart the tap device on morty so there maybe another bug here, I have to start it manually.
think I found the problem. It has to do the the change i made to fix another qemumips issue. its on the AB to verify
ok. my fix broke multiplib mips64 core-image-minimal testimage but fixed this issue. with my fix removed, is failure is not longer an issue. We go back the devtmpfs hangs. I am trying later kernel version in pyro as far as I know, we are not seeing any issue in pyro.
this is fixed by removing my custom patch. code in morty now.
builds fine now with changes.