Status: FAILED When the testimage runs the automated module "test_dnf_install_from_disk" on a Galileo gen2 is getting an error. It seems it is not affecting the process of installation but the error below. Config: http://yocto-ab-master.jf.intel.com/pub/releases/yocto-2.4.rc2/machines/intel-quark/ Image: core-image-sato-sdk-intel-quark.hddimg ================================= 203 Build Configuration: 204 BB_VERSION = "1.36.0" 205 BUILD_SYS = "x86_64-linux" 206 NATIVELSBSTRING = "universal" 207 TARGET_SYS = "i586-poky-linux" 208 MACHINE = "intel-quark" 209 DISTRO = "poky" 210 DISTRO_VERSION = "2.4" 211 TUNE_FEATURES = "m32 i586-nlp" 212 TARGET_FPU = "" 213 meta 214 meta-poky 215 meta-yocto-bsp = "HEAD:f7b90ab3eaf832bd81f3efc1dab4dcf6863ac284" 216 meta-intel = "master:d68dda959b5bf6f90aa8e5c2f027be324bb68e14" ================================== Error>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> After adding some repos the installation is looking for 2 packages and it finds and installs them..... 344 Added oe-testimage-repo-noarch repo from http://xxxxxxxxxxxxxxxxx/noarch 345 Added oe-testimage-repo-intel_quark repo from http://xxxxxxxxxxxxxx/intel_quark 346 Added oe-testimage-repo-i586_nlp_32 repo from http://xxxxxxxxxxxxxx/i586_nlp_32 347 Last metadata expiration check: 0:04:35 ago on Fri Nov 3 01:55:07 2017. 348 Dependencies resolved. 349 ================================================================================ 350 Package Arch Version Repository Size 351 ================================================================================ 352 Installing: 353 run-postinsts-dev noarch 1.0-r9 @commandline 5.6 k 354 Installing dependencies: 355 run-postinsts noarch 1.0-r9 oe-testimage-repo-noarch 8.4 k 356 357 Transaction Summary 358 ================================================================================ 359 Install 2 Packages 360 361 Total size: 14 k 362 Installed size: 1.9 k 363 Downloading Packages: 364 [SKIPPED] run-postinsts-1.0-r9.noarch.rpm: Already downloaded 365 Running transaction check 366 Transaction check succeeded. 367 Running transaction test 368 Transaction test succeeded. 369 Running transaction 370 Preparing : 1/1 371 Running scriptlet: run-postinsts-1.0-r9.noarch 1/2 372 Removing any system startup links for run-postinsts ... 373 Installing : run-postinsts-1.0-r9.noarch 1/2 374 Running scriptlet: run-postinsts-1.0-r9.noarch 1/2 375 Adding system startup for /etc/init.d/run-postinsts. 376 Installing : run-postinsts-dev-1.0-r9.noarch 2/2 377 Verifying : run-postinsts-dev-1.0-r9.noarch 1/2 378 Verifying : run-postinsts-1.0-r9.noarch 2/2 379 380 Installed: 381 run-postinsts-dev.noarch 1.0-r9 run-postinsts.noarch 1.0-r9 382 383 Complete! 384 sh: line 1: /var/cache/dnf/oe-testimage-repo-noarch-63ddadda61dbbffe/packages/run-postinsts-dev-1.0-r9.noarch.rpm: No such file or directory As we can see the last line shows the error: sh: line 1: /var/cache/dnf/oe-testimage-repo-noarch-63ddadda61dbbffe/packages/run-postinsts-dev-1.0-r9.noarch.rpm: No such file or directory it seems its is looking for an incorrect location... The real rpm is located at: root@intel-quark:/var/cache/dnf# find /var/cache/dnf -name run-postinsts-dev*rpm /var/cache/dnf/commandline-ee61f1cb9630e0cd/packages/run-postinsts-dev-1.0-r9.noarch.rpm Expected results: Errors not should be shown Regards.
Checking the bug again, I came across and noticed this time the repo has changed of location, and it's getting the package from different location "@oe-testimage-repo-noarch" instead of "@commandline" ============================ root@intel-quark:~# dnf list | grep run-postinsts-dev run-postinsts-dev.noarch 1.0-r9 @oe-testimage-repo-noarch ============================ it seems by default the test expects for the package "run-postinsts-dev.noarch" in the repo "@oe-testimage-repo-noarch" but also its possible the package might be found in other location such as "@commandline". This time the module test_dnf_install_from_disk has successfully passed without errors.
after re-test the error was not reproducible, therefore not a bug.