Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFB41EB64D9 for ; Wed, 14 Jun 2023 08:49:53 +0000 (UTC) Subject: Error while testing "bitbake core-image-base -c testimage -v" #bitbake #dunfell To: yocto@lists.yoctoproject.org From: lavkhush2208@gmail.com X-Originating-Location: IN (49.249.95.238) X-Originating-Platform: Linux Chrome 110 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Wed, 14 Jun 2023 01:49:47 -0700 Message-ID: Content-Type: multipart/alternative; boundary="BAqZBO4RJ9tFZcGhYV5h" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 14 Jun 2023 08:49:53 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60287 --BAqZBO4RJ9tFZcGhYV5h Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi all, I was testing my *core-image-base -c testimage* with test-suit and getting = error:- *ERROR: core-image-base-1.0-r0 do_testimage: Output from runqemu:* *runqemu - WARNING - /home/kush/khu/sources/build/tmp-glibc/deploy/images/b= oard/core-image-base-board.qemuboot.conf doesn't exist* *ls: cannot access '/home/kush/khu/sources/build/tmp-glibc/deploy/images/bo= ard/*.qemuboot.conf': No such file or directory* *runqemu - ERROR - Command 'ls -t /home/kush/khu/sources/build/tmp-glibc/de= ploy/images/board/*.qemuboot.conf' returned non-zero exit status 2.* *runqemu - INFO - Cleaning up* WARNING: core-image-base-1.0-r0 do_testimage: Qemu ended unexpectedly, dump= data from host is in /home/integration-team/kush/khu/sources/build/tmp-gli= bc/log/runtime-hostdump/202306141146_qemu ERROR: core-image-base-1.0-r0 do_testimage: Error executing a python functi= on in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was= : File: 'exec_python_func() autogenerated', lineno: 2, function: 0001: *** 0002:do_testimage(d) 0003: File: '/home/integration-team/kush/khu/sources/openembedded-core/meta/class= es/testimage.bbclass', lineno: 129, function: do_testimage 0125:=C2=A0 =C2=A0 netstat -an 0126:} 0127: 0128:python do_testimage() { *** 0129:=C2=A0 =C2=A0 testimage_main(d) 0130:} 0131: 0132:addtask testimage 0133:do_testimage[nostamp] =3D "1" File: '/home/integration-team/kush/khu/sources/openembedded-core/meta/class= es/testimage.bbclass', lineno: 371, function: testimage_main 0367:=C2=A0 =C2=A0 orig_sigterm_handler =3D signal.signal(signal.SIGTERM, s= igterm_exception) 0368:=C2=A0 =C2=A0 try: 0369:=C2=A0 =C2=A0 =C2=A0 =C2=A0 # We need to check if runqemu ends unexpec= tedly 0370:=C2=A0 =C2=A0 =C2=A0 =C2=A0 # or if the worker send us a SIGTERM *** 0371:=C2=A0 =C2=A0 =C2=A0 =C2=A0 tc.target.start(params=3Dd.getVar("TES= T_QEMUPARAMS"), runqemuparams=3Dd.getVar("TEST_RUNQEMUPARAMS")) 0372:=C2=A0 =C2=A0 =C2=A0 =C2=A0 import threading 0373:=C2=A0 =C2=A0 =C2=A0 =C2=A0 try: 0374:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 threading.Timer(int(d.getVar= ("TEST_OVERALL_TIMEOUT")), handle_test_timeout, (int(d.getVar("TEST_OVERALL= _TIMEOUT")),)).start() 0375:=C2=A0 =C2=A0 =C2=A0 =C2=A0 except ValueError: File: '/home/integration-team/kush/khu/sources/openembedded-core/meta/lib/o= eqa/core/target/qemu.py', lineno: 67, function: start 0063:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if self.runner.server_ip: 0064:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 self.server_ip= =3D self.runner.server_ip 0065:=C2=A0 =C2=A0 =C2=A0 =C2=A0 else: 0066:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 self.stop() *** 0067:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 raise RuntimeError("FAIL= ED to start qemu - check the task log and the boot log") 0068: 0069:=C2=A0 =C2=A0 def stop(self): 0070:=C2=A0 =C2=A0 =C2=A0 =C2=A0 self.runner.stop() Exception: RuntimeError: FAILED to start qemu - check the task log and the = boot log ERROR: Logfile of failure stored in: /home/kush/khu/sources/build/tmp-glibc= /work/board-oe-linux/core-image-base/1.0-r0/temp/log.do_testimage.17255 ERROR: Task (/home/kush/khu/sources/meta-exaleap/recipes-images/images/core= -image-base.bb:do_testimage) failed with exit code '1' Can anyone help me in this, where i am doing wrong. T&R luvkhush --BAqZBO4RJ9tFZcGhYV5h Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi all, 
 
I was testing my core-image-base -c testimage with te= st-suit and getting error:-
 
ERROR: core-image-base-1.0-r0 do_testimage: Output from runqem= u:
runqemu - WARNING - /home/kush/khu/sources/build/tmp-glibc/dep= loy/images/board/core-image-base-board.qemuboot.conf doesn't exist=
ls: cannot access '/home/kush/khu/sources/build/tmp-glibc/depl= oy/images/board/*.qemuboot.conf': No such file or directory
runqemu - ERROR - Command 'ls -t /home/kush/khu/sources/build/= tmp-glibc/deploy/images/board/*.qemuboot.conf' returned non-zero exit statu= s 2.
runqemu - INFO - Cleaning up
 
 
WARNING: core-image-base-1.0-r0 do_testimage: Qemu ended unexpectedly,= dump data from host is in /home/integration-team/kush/khu/sources/build/tm= p-glibc/log/runtime-hostdump/202306141146_qemu
ERROR: core-image-base-1.0-r0 do_testimage: Error executing a python f= unction in exec_python_func() autogenerated:
 
The stack trace of python calls that resulted in this exception/failur= e was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <mod= ule>
     0001:
 *** 0002:do_testimage(d)
     0003:
File: '/home/integration-team/kush/khu/sources/openembedded-core/meta/= classes/testimage.bbclass', lineno: 129, function: do_testimage
     0125:    netstat -an
     0126:}
     0127:
     0128:python do_testimage() {
 *** 0129:    testimage_main(d)
     0130:}
     0131:
     0132:addtask testimage
     0133:do_testimage[nostamp] =3D "1"
File: '/home/integration-team/kush/khu/sources/openembedded-core/meta/= classes/testimage.bbclass', lineno: 371, function: testimage_main
     0367:    orig_sigterm_handler =3D signal= .signal(signal.SIGTERM, sigterm_exception)
     0368:    try:
     0369:        # We need to chec= k if runqemu ends unexpectedly
     0370:        # or if the worke= r send us a SIGTERM
 *** 0371:        tc.target.start(params=3Dd.= getVar("TEST_QEMUPARAMS"), runqemuparams=3Dd.getVar("TEST_RUNQEMUPARAMS"))<= /div>
     0372:        import threading<= /div>
     0373:        try:
     0374:            thr= eading.Timer(int(d.getVar("TEST_OVERALL_TIMEOUT")), handle_test_timeout, (i= nt(d.getVar("TEST_OVERALL_TIMEOUT")),)).start()
     0375:        except ValueError= :
File: '/home/integration-team/kush/khu/sources/openembedded-core/meta/= lib/oeqa/core/target/qemu.py', lineno: 67, function: start
     0063:            if = self.runner.server_ip:
     0064:            &nb= sp;   self.server_ip =3D self.runner.server_ip
     0065:        else:
     0066:            sel= f.stop()
 *** 0067:            raise Runtime= Error("FAILED to start qemu - check the task log and the boot log")
     0068:
     0069:    def stop(self):
     0070:        self.runner.stop(= )
Exception: RuntimeError: FAILED to start qemu - check the task log and= the boot log
 
ERROR: Logfile of failure stored in: /home/kush/khu/sources/build/tmp-= glibc/work/board-oe-linux/core-image-base/1.0-r0/temp/log.do_testimage.1725= 5
ERROR: Task (/home/kush/khu/sources/meta-exaleap/recipes-images/images= /core-image-base.bb:do_testimage) failed with exit code '1'

Can = anyone help me in this, where i am doing wrong. 

T&Rluvkhush
--BAqZBO4RJ9tFZcGhYV5h--