Bug 15122

Summary: AB-INT: dnf.DnfRepoTest.test_dnf_reinstall failure
Product: [QA/Testing] Runtime Testing Reporter: Alexandre Belloni <alexandre.belloni>
Component: oeqa/runtimeAssignee: Unassigned <unassigned>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Undecided    
Version: unspecified   
Target Milestone: 0.0.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2023-05-12 15:33:21 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/4453/steps/14/logs/stdio
qemumips-alt stream8-ty-1


Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemumips-alt/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/pokybuild/yocto-worker/qemumips-alt/build/meta/lib/oeqa/runtime/cases/dnf.py", line 114, in test_dnf_reinstall
    self.dnf_with_repo('reinstall -y dnf-test-main')
  File "/home/pokybuild/yocto-worker/qemumips-alt/build/meta/lib/oeqa/runtime/cases/dnf.py", line 71, in dnf_with_repo
    output = self.dnf(" ".join(cmdlinerepoopts) + " --nogpgcheck " + command)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pokybuild/yocto-worker/qemumips-alt/build/meta/lib/oeqa/runtime/cases/dnf.py", line 23, in dnf
    self.assertEqual(status, expected, message)
AssertionError: 255 != 0 : dnf --repofrompath=oe-testimage-repo-qemumips,http://192.168.7.1:46743/qemumips --repofrompath=oe-testimage-repo-noarch,http://192.168.7.1:46743/noarch --repofrompath=oe-testimage-repo-mips32r2,http://192.168.7.1:46743/mips32r2 --nogpgcheck reinstall -y dnf-test-main
Added oe-testimage-repo-qemumips repo from http://192.168.7.1:46743/qemumips
Added oe-testimage-repo-noarch repo from http://192.168.7.1:46743/noarch
Added oe-testimage-repo-mips32r2 repo from http://192.168.7.1:46743/mips32r2
Last metadata expiration check: 0:11:21 ago on Fri Apr  7 07:56:21 2023.
Dependencies resolved.
================================================================================
 Package          Arch        Version       Repository                     Size
================================================================================
Reinstalling:
 dnf-test-main    mips32r2    4.14.0-r0     oe-testimage-repo-mips32r2    5.9 k
Transaction Summary
================================================================================
Total download size: 5.9 k
Installed size: 0  
Downloading Packages:
dnf-test-main-4.14.0-r0.mips32r2.rpm             52 kB/s | 5.9 kB     00:00    
--------------------------------------------------------------------------------
Total                                            23 kB/s | 5.9 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Reinstalling     : dnf-test-main-4.14.0-r0.mips32r2                       1/2 
  Cleanup          : dnf-test-main-4.14.0-r0.mips32r2                       2/2
Stdout:
Tried to dump info from target but serial console failed
Failed CMD: find /var/log/ -type f 2>/dev/null -exec echo "====================" \; -exec echo {} \; -exec echo "====================" \; -exec cat {} \; -exec echo "" \;
Comment 1 Alexandre Belloni 2023-05-12 15:35:52 UTC
Duplicate of 15101

*** This bug has been marked as a duplicate of bug 15101 ***