Bug 12268 - [pyro and pyro-next] nightly-qa extra failes ( test_7)
Summary: [pyro and pyro-next] nightly-qa extra failes ( test_7)
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.3.3
Hardware: x86 Multiple
: High major
Target Milestone: 2.3.3
Assignee: Armin Kuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-10-24 02:02 UTC by Armin Kuster
Modified: 2017-12-21 10:54 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Kuster 2017-10-24 02:02:25 UTC
NOTE: core-image-sato-1.0-r0 do_testimage: test_xorg_running (xorg.XorgTest) ... ok
NOTE: core-image-sato-1.0-r0 do_testimage: 
NOTE: core-image-sato-1.0-r0 do_testimage: ======================================================================
NOTE: core-image-sato-1.0-r0 do_testimage: FAIL: test_dnf_install_from_http (dnf.DnfRepoTest)
NOTE: core-image-sato-1.0-r0 do_testimage: ----------------------------------------------------------------------
NOTE: core-image-sato-1.0-r0 do_testimage: Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-extras/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-qa-extras/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-qa-extras/build/meta/lib/oeqa/runtime/cases/dnf.py", line 116, in test_dnf_install_from_http
    self.dnf_with_repo('install -y %s' % url)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-extras/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-qa-extras/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-qemux86_64,http://192.168.7.1:39849/qemux86_64 --repofrompath=oe-testimage-repo-noarch,http://192.168.7.1:39849/noarch --repofrompath=oe-testimage-repo-core2_64,http://192.168.7.1:39849/core2_64 --nogpgcheck install -y http://192.168.7.1:39849/noarch/run-postinsts-dev-1.0-r9.noarch.rpm

Added oe-testimage-repo-core2_64 repo from http://192.168.7.1:39849/core2_64
Added oe-testimage-repo-noarch repo from http://192.168.7.1:39849/noarch
Added oe-testimage-repo-qemux86_64 repo from http://192.168.7.1:39849/qemux86_64
Last metadata expiration check: 0:00:06 ago on Sat Oct 21 17:12:39 2017 UTC.
Dependencies resolved.
================================================================================
 Package               Arch       Version    Repository                    Size
================================================================================
Installing:
 run-postinsts-dev     noarch     1.0-r9     @commandline                 5.5 k
Installing dependencies:
 run-postinsts         noarch     1.0-r9     oe-testimage-repo-noarch     8.2 k

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

Total size: 14 k
Total download size: 8.2 k
Installed size: 2.2 k
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           821 kB/s | 8.2 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : run-postinsts-1.0-r9.noarch                                 1/2Created symlink /etc/systemd/system/sysinit.target.wants/run-postinsts.service \u2192 /lib/systemd/system/run-postinsts.service.
 
  Installing  : run-postinsts-dev-1.0-r9.noarch                             2/2run-postinsts-dev-1.0-r9.noarch was supposed to be installed but is not!
 
  Verifying   : run-postinsts-dev-1.0-r9.noarch                             1/2run-postinsts-1.0-r9.noarch was supposed to be installed but is not!
 
  Verifying   : run-postinsts-1.0-r9.noarch                                 2/2 

Failed:
  run-postinsts.noarch 1.0-r9          run-postinsts-dev.noarch 1.0-r9         

Error: Transaction failed
NOTE: core-image-sato-1.0-r0 do_testimage: ======================================================================
NOTE: core-image-sato-1.0-r0 do_testimage: FAIL: test_dnf_reinstall (dnf.DnfRepoTest)
NOTE: core-image-sato-1.0-r0 do_testimage: ----------------------------------------------------------------------
NOTE: core-image-sato-1.0-r0 do_testimage: Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-extras/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-qa-extras/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-qa-extras/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-qa-extras/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-qa-extras/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-qemux86_64,http://192.168.7.1:39849/qemux86_64 --repofrompath=oe-testimage-repo-noarch,http://192.168.7.1:39849/noarch --repofrompath=oe-testimage-repo-core2_64,http://192.168.7.1:39849/core2_64 --nogpgcheck reinstall -y run-postinsts-dev
Added oe-testimage-repo-core2_64 repo from http://192.168.7.1:39849/core2_64
Added oe-testimage-repo-noarch repo from http://192.168.7.1:39849/noarch
Added oe-testimage-repo-qemux86_64 repo from http://192.168.7.1:39849/qemux86_64
Last metadata expiration check: 0:00:07 ago on Sat Oct 21 17:12:39 2017 UTC.
Package run-postinsts-dev available, but not installed.
No match for argument: run-postinsts-dev
Error: Nothing to do.
NOTE: core-image-sato-1.0-r0 do_testimage: ======================================================================
NOTE: core-image-sato-1.0-r0 do_testimage: FAIL: test_parselogs (parselogs.ParseLogsTest)
NOTE: core-image-sato-1.0-r0 do_testimage: ----------------------------------------------------------------------
NOTE: core-image-sato-1.0-r0 do_testimage: Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-extras/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-qa-extras/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-qa-extras/build/meta/lib/oeqa/runtime/cases/parselogs.py", line 359, in test_parselogs
    self.assertEqual(errcount, 0, msg=self.msg)
AssertionError: 7 != 0 : Log: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-extras/build/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/dnf.log
-----------------------
Central error: Failed:
***********************
Oct 21 17:12:45 INFO Transaction test succeeded.
Oct 21 17:12:45 DDEBUG timer: transaction test: 32 ms
Oct 21 17:12:45 INFO Running transaction
Oct 21 17:12:45 DDEBUG RPM transaction start.
Oct 21 17:12:45 DDEBUG RPM transaction over.
Oct 21 17:12:45 CRITICAL run-postinsts-dev-1.0-r9.noarch was supposed to be installed but is not!
Oct 21 17:12:45 CRITICAL run-postinsts-1.0-r9.noarch was supposed to be installed but is not!
Oct 21 17:12:45 DDEBUG timer: verify transaction: 74 ms
Oct 21 17:12:45 DDEBUG timer: transaction: 319 ms
Oct 21 17:12:45 INFO 
Failed:
  run-postinsts.noarch 1.0-r9          run-postinsts-dev.noarch 1.0-r9         

Oct 21 17:12:45 DDEBUG Cleaning up.
Oct 21 17:12:45 DDEBUG /tmp/tmpiliyrasl.rpm removed
Oct 21 17:12:45 DDEBUG /var/cache/dnf/oe-testimage-repo-noarch-8b4303334ab65b40/packages/run-postinsts-1.0-r9.noarch.rpm removed
Oct 21 17:12:45 SUBDEBUG 
Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 61, in main
    return _main(base, args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 99, in _main

***********************
Central error:     raise dnf.exceptions.Error(_('Transaction failed'))
***********************
Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 61, in main
    return _main(base, args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 99, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 123, in cli_run
    ret = resolving(cli, base)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 150, in resolving
    base.do_transaction(display=displays)
  File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 228, in do_transaction
    raise dnf.exceptions.Error(_('Transaction failed'))
dnf.exceptions.Error: Transaction failed
Oct 21 17:12:45 CRITICAL Error: Transaction failed
Oct 21 17:12:46 INFO --- logging initialized ---
Oct 21 17:12:46 DDEBUG timer: config: 3 ms
Oct 21 17:12:46 DEBUG DNF version: 2.0.0
Oct 21 17:12:46 DDEBUG Command: dnf --repofrompath=oe-testimage-repo-qemux86_64,http://192.168.7.1:39849/qemux86_64 --repofrompath=oe-testimage-repo-noarch,http://192.168.7.1:39849/noarch --repofrompath=oe-testimage-repo-core2_64,http://192.168.7.1:39849/core2_64 --nogpgcheck reinstall -y run-postinsts-dev 
Oct 21 17:12:46 DDEBUG Installroot: /
Oct 21 17:12:46 DDEBUG Releasever: pyro
Oct 21 17:12:46 DEBUG cachedir: /var/cache/dnf
Oct 21 17:12:46 DDEBUG Base command: reinstall

***********************
Central error: dnf.exceptions.Error: Transaction failed
***********************
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 61, in main
    return _main(base, args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 99, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 123, in cli_run
    ret = resolving(cli, base)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 150, in resolving
    base.do_transaction(display=displays)
  File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 228, in do_transaction
    raise dnf.exceptions.Error(_('Transaction failed'))
dnf.exceptions.Error: Transaction failed
Oct 21 17:12:45 CRITICAL Error: Transaction failed
Oct 21 17:12:46 INFO --- logging initialized ---
Oct 21 17:12:46 DDEBUG timer: config: 3 ms
Oct 21 17:12:46 DEBUG DNF version: 2.0.0
Oct 21 17:12:46 DDEBUG Command: dnf --repofrompath=oe-testimage-repo-qemux86_64,http://192.168.7.1:39849/qemux86_64 --repofrompath=oe-testimage-repo-noarch,http://192.168.7.1:39849/noarch --repofrompath=oe-testimage-repo-core2_64,http://192.168.7.1:39849/core2_64 --nogpgcheck reinstall -y run-postinsts-dev 
Oct 21 17:12:46 DDEBUG Installroot: /
Oct 21 17:12:46 DDEBUG Releasever: pyro
Oct 21 17:12:46 DEBUG cachedir: /var/cache/dnf
Oct 21 17:12:46 DDEBUG Base command: reinstall
Oct 21 17:12:46 DDEBUG Extra commands: ['--repofrompath=oe-testimage-repo-qemux86_64,http://192.168.7.1:39849/qemux86_64', '--repofrompath=oe-testimage-repo-noarch,http://192.168.7.1:39849/noarch', '--repofrompath=oe-testimage-repo-core2_64,http://192.168.7.1:39849/core2_64', '--nogpgcheck', 'reinstall', '-y', 'run-postinsts-dev']

***********************
Central error: Oct 21 17:12:45 CRITICAL Error: Transaction failed
***********************
    return _main(base, args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 99, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 123, in cli_run
    ret = resolving(cli, base)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 150, in resolving
    base.do_transaction(display=displays)
  File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 228, in do_transaction
    raise dnf.exceptions.Error(_('Transaction failed'))
dnf.exceptions.Error: Transaction failed
Oct 21 17:12:45 CRITICAL Error: Transaction failed
Oct 21 17:12:46 INFO --- logging initialized ---
Oct 21 17:12:46 DDEBUG timer: config: 3 ms
Oct 21 17:12:46 DEBUG DNF version: 2.0.0
Oct 21 17:12:46 DDEBUG Command: dnf --repofrompath=oe-testimage-repo-qemux86_64,http://192.168.7.1:39849/qemux86_64 --repofrompath=oe-testimage-repo-noarch,http://192.168.7.1:39849/noarch --repofrompath=oe-testimage-repo-core2_64,http://192.168.7.1:39849/core2_64 --nogpgcheck reinstall -y run-postinsts-dev 
Oct 21 17:12:46 DDEBUG Installroot: /
Oct 21 17:12:46 DDEBUG Releasever: pyro
Oct 21 17:12:46 DEBUG cachedir: /var/cache/dnf
Oct 21 17:12:46 DDEBUG Base command: reinstall
Oct 21 17:12:46 DDEBUG Extra commands: ['--repofrompath=oe-testimage-repo-qemux86_64,http://192.168.7.1:39849/qemux86_64', '--repofrompath=oe-testimage-repo-noarch,http://192.168.7.1:39849/noarch', '--repofrompath=oe-testimage-repo-core2_64,http://192.168.7.1:39849/core2_64', '--nogpgcheck', 'reinstall', '-y', 'run-postinsts-dev']
Oct 21 17:12:46 WARNING Added oe-testimage-repo-core2_64 repo from http://192.168.7.1:39849/core2_64

***********************
Central error:     raise dnf.exceptions.Error(_('Nothing to do.'))
***********************
Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 61, in main
    return _main(base, args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 99, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 115, in cli_run
    cli.run()
  File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 938, in run
    return self.command.run()
  File "/usr/lib/python3.5/site-packages/dnf/cli/commands/reinstall.py", line 99, in run
    raise dnf.exceptions.Error(_('Nothing to do.'))
dnf.exceptions.Error: Nothing to do.
Oct 21 17:12:46 CRITICAL Error: Nothing to do.
Oct 21 17:12:46 INFO --- logging initialized ---
Oct 21 17:12:46 DDEBUG timer: config: 2 ms
Oct 21 17:12:46 DEBUG DNF version: 2.0.0
Oct 21 17:12:46 DDEBUG Command: dnf --repofrompath=oe-testimage-repo-qemux86_64,http://192.168.7.1:39849/qemux86_64 --repofrompath=oe-testimage-repo-noarch,http://192.168.7.1:39849/noarch --repofrompath=oe-testimage-repo-core2_64,http://192.168.7.1:39849/core2_64 --nogpgcheck repoinfo 
Oct 21 17:12:46 DDEBUG Installroot: /
Oct 21 17:12:46 DDEBUG Releasever: pyro
Oct 21 17:12:46 DEBUG cachedir: /var/cache/dnf
Oct 21 17:12:46 DDEBUG Base command: repoinfo

***********************
Central error: dnf.exceptions.Error: Nothing to do.
***********************
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 61, in main
    return _main(base, args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 99, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 115, in cli_run
    cli.run()
  File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 938, in run
    return self.command.run()
  File "/usr/lib/python3.5/site-packages/dnf/cli/commands/reinstall.py", line 99, in run
    raise dnf.exceptions.Error(_('Nothing to do.'))
dnf.exceptions.Error: Nothing to do.
Oct 21 17:12:46 CRITICAL Error: Nothing to do.
Oct 21 17:12:46 INFO --- logging initialized ---
Oct 21 17:12:46 DDEBUG timer: config: 2 ms
Oct 21 17:12:46 DEBUG DNF version: 2.0.0
Oct 21 17:12:46 DDEBUG Command: dnf --repofrompath=oe-testimage-repo-qemux86_64,http://192.168.7.1:39849/qemux86_64 --repofrompath=oe-testimage-repo-noarch,http://192.168.7.1:39849/noarch --repofrompath=oe-testimage-repo-core2_64,http://192.168.7.1:39849/core2_64 --nogpgcheck repoinfo 
Oct 21 17:12:46 DDEBUG Installroot: /
Oct 21 17:12:46 DDEBUG Releasever: pyro
Oct 21 17:12:46 DEBUG cachedir: /var/cache/dnf
Oct 21 17:12:46 DDEBUG Base command: repoinfo
Oct 21 17:12:46 DDEBUG Extra commands: ['--repofrompath=oe-testimage-repo-qemux86_64,http://192.168.7.1:39849/qemux86_64', '--repofrompath=oe-testimage-repo-noarch,http://192.168.7.1:39849/noarch', '--repofrompath=oe-testimage-repo-core2_64,http://192.168.7.1:39849/core2_64', '--nogpgcheck', 'repoinfo']

***********************
Central error: Oct 21 17:12:46 CRITICAL Error: Nothing to do.
***********************
    return _main(base, args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 99, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 115, in cli_run
    cli.run()
  File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 938, in run
    return self.command.run()
  File "/usr/lib/python3.5/site-packages/dnf/cli/commands/reinstall.py", line 99, in run
    raise dnf.exceptions.Error(_('Nothing to do.'))
dnf.exceptions.Error: Nothing to do.
Oct 21 17:12:46 CRITICAL Error: Nothing to do.
Oct 21 17:12:46 INFO --- logging initialized ---
Oct 21 17:12:46 DDEBUG timer: config: 2 ms
Oct 21 17:12:46 DEBUG DNF version: 2.0.0
Oct 21 17:12:46 DDEBUG Command: dnf --repofrompath=oe-testimage-repo-qemux86_64,http://192.168.7.1:39849/qemux86_64 --repofrompath=oe-testimage-repo-noarch,http://192.168.7.1:39849/noarch --repofrompath=oe-testimage-repo-core2_64,http://192.168.7.1:39849/core2_64 --nogpgcheck repoinfo 
Oct 21 17:12:46 DDEBUG Installroot: /
Oct 21 17:12:46 DDEBUG Releasever: pyro
Oct 21 17:12:46 DEBUG cachedir: /var/cache/dnf
Oct 21 17:12:46 DDEBUG Base command: repoinfo
Oct 21 17:12:46 DDEBUG Extra commands: ['--repofrompath=oe-testimage-repo-qemux86_64,http://192.168.7.1:39849/qemux86_64', '--repofrompath=oe-testimage-repo-noarch,http://192.168.7.1:39849/noarch', '--repofrompath=oe-testimage-repo-core2_64,http://192.168.7.1:39849/core2_64', '--nogpgcheck', 'repoinfo']
Oct 21 17:12:46 WARNING Added oe-testimage-repo-core2_64 repo from http://192.168.7.1:39849/core2_64

***********************
7 errors found in logs.
Comment 2 Armin Kuster 2017-10-24 02:04:07 UTC
Needed for next release:
Comment 4 Richard Purdie 2017-12-21 10:54:28 UTC
This is no longer occuring on the autobuilders, I think it may be related to http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=pyro&id=b286ba24f47844a098d5abad6845c4e321bf80e5