You need to first build the image (bitbake core-image-base), then run the testimage task as a separate bitbake invocation.
Alex On Wed, 14 Jun 2023 at 08:50, <[email protected]> wrote: > > 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/board/core-image-base-board.qemuboot.conf > doesn't exist > ls: cannot access > '/home/kush/khu/sources/build/tmp-glibc/deploy/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 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-glibc/log/runtime-hostdump/202306141146_qemu > ERROR: core-image-base-1.0-r0 do_testimage: Error executing a python function > 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: <module> > 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] = "1" > File: > '/home/integration-team/kush/khu/sources/openembedded-core/meta/classes/testimage.bbclass', > lineno: 371, function: testimage_main > 0367: orig_sigterm_handler = signal.signal(signal.SIGTERM, > sigterm_exception) > 0368: try: > 0369: # We need to check if runqemu ends unexpectedly > 0370: # or if the worker send us a SIGTERM > *** 0371: tc.target.start(params=d.getVar("TEST_QEMUPARAMS"), > runqemuparams=d.getVar("TEST_RUNQEMUPARAMS")) > 0372: import threading > 0373: try: > 0374: threading.Timer(int(d.getVar("TEST_OVERALL_TIMEOUT")), > handle_test_timeout, (int(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: self.server_ip = self.runner.server_ip > 0065: else: > 0066: self.stop() > *** 0067: raise RuntimeError("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.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 > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60286): https://lists.yoctoproject.org/g/yocto/message/60286 Mute This Topic: https://lists.yoctoproject.org/mt/99522880/21656 Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
