Bug 12491

Summary: [ross/mut] load of Transaction check error
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Armin Kuster <akuster>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher
Version: 2.5   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
URL: https://autobuilder.yocto.io/builders/nightly-x86-lsb/builds/717/steps/Running%20Sanity%20Tests/logs/stdio
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Armin Kuster 2018-01-17 06:51:55 UTC
may builds failed with:

NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: ======================================================================
NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: FAIL [3.884s]: test_dnf_install_dependency (dnf.DnfRepoTest)
NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: ----------------------------------------------------------------------
NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/meta/lib/oeqa/runtime/cases/dnf.py", line 97, in test_dnf_install_dependency
    self.dnf_with_repo('install -y run-postinsts-dev')
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/meta/lib/oeqa/runtime/cases/dnf.py", line 70, in dnf_with_repo
    self.dnf(" ".join(cmdlinerepoopts) + " --nogpgcheck " + command)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/meta/lib/oeqa/runtime/cases/dnf.py", line 18, in dnf
    self.assertEqual(status, expected, message)
AssertionError: 1 != 0 : dnf --repofrompath=oe-testimage-repo-i586,http://192.168.7.7:36957/i586 --repofrompath=oe-testimage-repo-noarch,http://192.168.7.7:36957/noarch --repofrompath=oe-testimage-repo-qemux86,http://192.168.7.7:36957/qemux86 --nogpgcheck install -y run-postinsts-dev
Added oe-testimage-repo-noarch repo from http://192.168.7.7:36957/noarch
Added oe-testimage-repo-i586 repo from http://192.168.7.7:36957/i586
Added oe-testimage-repo-qemux86 repo from http://192.168.7.7:36957/qemux86
Last metadata expiration check: 0:00:04 ago on Wed Jan 17 03:05:10 2018.
Dependencies resolved.
================================================================================
 Package              Arch      Version       Repository                   Size
================================================================================
Installing:
 run-postinsts-dev    noarch    1.0-r9.0      oe-testimage-repo-noarch    5.8 k
Installing dependencies:
 run-postinsts        noarch    1.0-r9.0      oe-testimage-repo-noarch    8.6 k

Transaction Summary
================================================================================
Install  2 Packages

Total download size: 14 k
Installed size: 1.9 k
Downloading Packages:
(1/2): run-postinsts-dev-1.0-r9.0.noarch.rpm    1.6 MB/s | 5.8 kB     00:00    
(2/2): run-postinsts-1.0-r9.0.noarch.rpm        1.9 MB/s | 8.6 kB     00:00    
--------------------------------------------------------------------------------
Total                                           1.4 MB/s |  14 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
  installing package run-postinsts-1.0-r9.0.noarch needs 24KB on the / filesystem
  installing package run-postinsts-dev-1.0-r9.0.noarch needs 32KB on the / filesystem

Error Summary
-------------

NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: ======================================================================
NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: FAIL [0.512s]: test_dnf_reinstall (dnf.DnfRepoTest)
NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: ----------------------------------------------------------------------
NOTE: core-image-lsb-sdk-1.0-r0 do_testimage: Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/meta/lib/oeqa/runtime/cases/dnf.py", line 121, in test_dnf_reinstall
    self.dnf_with_repo('reinstall -y run-postinsts-dev')
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/meta/lib/oeqa/runtime/cases/dnf.py", line 70, in dnf_with_repo
    self.dnf(" ".join(cmdlinerepoopts) + " --nogpgcheck " + command)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/meta/lib/oeqa/runtime/cases/dnf.py", line 18, in dnf
    self.assertEqual(status, expected, message)
AssertionError: 1 != 0 : dnf --repofrompath=oe-testimage-repo-i586,http://192.168.7.7:36957/i586 --repofrompath=oe-testimage-repo-noarch,http://192.168.7.7:36957/noarch --repofrompath=oe-testimage-repo-qemux86,http://192.168.7.7:36957/qemux86 --nogpgcheck reinstall -y run-postinsts-dev
Added oe-testimage-repo-i586 repo from http://192.168.7.7:36957/i586
Added oe-testimage-repo-qemux86 repo from http://192.168.7.7:36957/qemux86
Added oe-testimage-repo-noarch repo from http://192.168.7.7:36957/noarch
Last metadata expiration check: 0:00:05 ago on Wed Jan 17 03:05:10 2018.
Package run-postinsts-dev available, but not installed.
No match for argument: run-postinsts-dev
Error: No packages marked for reinstall.
Comment 1 Ross Burton 2018-01-18 15:52:03 UTC
My image size changes caused this, retracted for now.