Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.1, 6.6.0
-
None
-
-
097cfd9d54aeb3224edc226f4c956677f2ff6cdc
Description
Execute the following commands for setup and build:
$ git clone --branch mickledore git://git.yoctoproject.org/poky $ git clone --branch 6.5.1 git://code.qt.io/yocto/meta-qt6.git # Change --branch option to 6.6.0 to reproduce the same issue for 6.6.0 $ source poky/oe-init-build-env ./build $ bitbake-layers layerindex-fetch -f .. meta-oe meta-python $ bitbake-layers add-layer ../meta-qt6
Append the following content to file "conf/local.conf":
DISTRO_FEATURES:append = " ptest" EXTRA_IMAGE_FEATURES += " ptest-pkgs" CORE_IMAGE_EXTRA_INSTALL += " qtcoap qtdeviceutilities qtmqtt qtquick3dphysics qtquickdesigner-components qttools qttranslations"
Continue to execute the following commands for setup and build:
$ bitbake core-image-minimal
Boot the image, execute the following commands, and we get the following unexpected output:
# ptest-runner qtcoap -t 3600 START: ptest-runner 2023-12-07T17:26 BEGIN: /usr/lib/qtcoap/ptest cat: tst_list: No such file or directory DURATION: 0 END: /usr/lib/qtcoap/ptest 2023-12-07T17:26 STOP: ptest-runner TOTAL: 1 FAIL: 0 # ls /usr/lib/qtcoap/ptest/ run-ptest tests # ptest-runner qtdeviceutilities -t 3600 qtdeviceutilities ptest isn't available. # ls /usr/lib/qtdeviceutilities/ptest/ # ptest-runner qtmqtt -t 3600 START: ptest-runner 2023-12-07T17:28 BEGIN: /usr/lib/qtmqtt/ptest cat: tst_list: No such file or directory DURATION: 0 END: /usr/lib/qtmqtt/ptest 2023-12-07T17:28 STOP: ptest-runner TOTAL: 1 FAIL: 0 # ls /usr/lib/qtmqtt/ptest/ run-ptest tests # ptest-runner qtquick3dphysics -t 3600 START: ptest-runner 2023-12-07T17:28 BEGIN: /usr/lib/qtquick3dphysics/ptest cat: tst_list: No such file or directory DURATION: 0 END: /usr/lib/qtquick3dphysics/ptest 2023-12-07T17:28 STOP: ptest-runner TOTAL: 1 FAIL: 0 # ls /usr/lib/qtquick3dphysics/ptest/ run-ptest tests # ptest-runner qtquickdesigner-components -t 3600 START: ptest-runner 2023-12-07T17:29 BEGIN: /usr/lib/qtquickdesigner-components/ptest cat: tst_list: No such file or directory DURATION: 0 END: /usr/lib/qtquickdesigner-components/ptest 2023-12-07T17:29 STOP: ptest-runner TOTAL: 1 FAIL: 0 # ls /usr/lib/qtquickdesigner-components/ptest/ run-ptest # ptest-runner qttools -t 3600 START: ptest-runner 2023-12-07T17:29 BEGIN: /usr/lib/qttools/ptest cat: tst_list: No such file or directory DURATION: 0 END: /usr/lib/qttools/ptest 2023-12-07T17:29 STOP: ptest-runner TOTAL: 1 FAIL: 0 # ls /usr/lib/qttools/ptest/ run-ptest tests # ptest-runner qttranslations -t 3600 START: ptest-runner 2023-12-07T17:30 BEGIN: /usr/lib/qttranslations/ptest cat: tst_list: No such file or directory DURATION: 0 END: /usr/lib/qttranslations/ptest 2023-12-07T17:30 STOP: ptest-runner TOTAL: 1 FAIL: 0 # ls /usr/lib/qttranslations/ptest/ run-ptest
Notice that, for most component ptests, they are complaining about not finding "tst_list" file.