Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <rpurdie@rpsys.net>
To: Hongxu Jia <hongxu.jia@windriver.com>,
	openembedded-core@lists.openembedded.org, ross.burton@intel.com
Subject: Re: [PATCH 6/8] gnupg: 2.1.20 -> 2.1.23
Date: Fri, 18 Aug 2017 10:38:25 +0100	[thread overview]
Message-ID: <1503049105.32591.3.camel@rpsys.net> (raw)
In-Reply-To: <10402a7b38658b70df9d5f54d3cd28684ab8fb55.1502869419.git.hongxu.jia@windriver.com>

On Wed, 2017-08-16 at 04:31 -0400, Hongxu Jia wrote:
> COPYING.LIB: Rename to COPYING.LGPL3.
> https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=3419a
> 339d9c4e800bf30e9021e05982d8c1021c1
> 
> Rebase patches:
> - pkgconfig.patch -> 0001
> - use-pkgconfig-instead-of-npth-config.patch -> 0002
> - dirmngr-uses-libgpg-error.patch -> 0003
> - autogen.sh-fix-find-version-for-beta-checking.patch -> 0004
> 
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

Its taken a bit of tracking down but this causes "oe-selftest -r
runtime_test.TestImage.test_testimage_dnf" to fail:

NOTE: Executing RunQueue Tasks
NOTE: Running task 547 of 547 (/media/build1/poky/meta/recipes-extended/images/core-image-full-cmdline.bb:do_testimage)
NOTE: recipe core-image-full-cmdline-1.0-r0: task do_testimage: Started
RESULTS:
RESULTS - dnf.DnfBasicTest.test_dnf_help - Testcase 1735: PASSED
RESULTS - ping.PingTest.test_ping - Testcase 964: PASSED
RESULTS - ssh.SSHTest.test_ssh - Testcase 224: PASSED
RESULTS - dnf_runtime.DnfSelftest.test_verify_package_feeds - Testcase -1: FAILED
SUMMARY:
core-image-full-cmdline () - Ran 4 tests in 23.612s
core-image-full-cmdline - FAIL - Required tests failed
ERROR: core-image-full-cmdline-1.0-r0 do_testimage: core-image-full-cmdline - FAILED - check the task log and the ssh log
ERROR: core-image-full-cmdline-1.0-r0 do_testimage: Function failed: do_testimage
ERROR: Logfile of failure stored in: /media/build1/poky/build/tmp/work/qemux86-poky-linux/core-image-full-cmdline/1.0-r0/temp/log.do_testimage.11134
NOTE: recipe core-image-full-cmdline-1.0-r0: task do_testimage: Failed
ERROR: Task (/media/build1/poky/meta/recipes-extended/images/core-image-full-cmdline.bb:do_testimage) failed with exit code '1'
NOTE: Tasks Summary: Attempted 547 tasks of which 546 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /media/build1/poky/meta/recipes-extended/images/core-image-full-cmdline.bb:do_testimage
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
----------------------------------------------------------------------
2017-08-18 09:39:52,189 - oe-selftest - INFO - Ran 1 test in 343.737s
2017-08-18 09:39:52,189 - oe-selftest - INFO - FAILED
2017-08-18 09:39:52,189 - oe-selftest - INFO -  (failures=1)
2017-08-18 09:39:52,193 - oe-selftest - INFO - RESULTS:
2017-08-18 09:39:52,193 - oe-selftest - INFO - RESULTS - runtime_test.TestImage.test_testimage_dnf - Testcase 1883: FAILED
2017-08-18 09:39:52,193 - oe-selftest - INFO - SUMMARY:
2017-08-18 09:39:52,193 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 343.742s
2017-08-18 09:39:52,193 - oe-selftest - INFO - oe-selftest - FAIL - Required tests failed

With:

diff --git a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
index 6742e8c..f813c43 100644
--- a/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
+++ b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
@@ -37,7 +37,7 @@ class DnfSelftest(DnfTest):
 
         import re
         # Use '-y' for non-interactive mode: automatically import the feed signing key
-        output_makecache = self.dnf('-y makecache')
+        output_makecache = self.dnf('-vy makecache')
         self.assertTrue(re.match(r".*Failed to synchronize cache", output_makecache, re.DOTALL) is None, msg = "dnf makecache failed to synchronize repo: %s" %(output_makecache))
         self.assertTrue(re.match(r".*Metadata cache created", output_makecache, re.DOTALL) is not None, msg = "dnf makecache failed: %s" %(output_makecache))

applied the log shows:

NOTE: Traceback (most recent call last):
  File "/media/build1/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/media/build1/poky/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py", line 41, in test_verify_package_feeds
    self.assertTrue(re.match(r".*Failed to synchronize cache", output_makecache, re.DOTALL) is None, msg = "dnf makecache failed to synchronize repo: %s" %(output_makecache))
AssertionError: False is not true : dnf makecache failed to synchronize repo: Unable to detect release version (use '--releasever' to specify release version)
DNF version: 2.6.3
cachedir: /var/cache/dnf
Making cache files for all metadata files.
oe-remote-repo: has expired and will be refreshed.
Cannot download 'http://192.168.7.1:33541': repomd.xml GPG signature verification error: gpgme_engine_check_version() error: Invalid crypto engine.
Failed to synchronize cache for repo 'oe-remote-repo', disabling.
Metadata cache created.

If I revert this upgrade it works again. Seems to be some kind of
gpgme/gnupg version compatibility issue?

Cheers,

Richard




  reply	other threads:[~2017-08-18  9:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-16  8:31 [PATCH 0/8] upgrade 8 recipes Hongxu Jia
2017-08-16  8:31 ` [PATCH 1/8] apr-util: 1.5.4 -> 1.6.0 Hongxu Jia
2017-08-16  8:31 ` [PATCH 2/8] bash: 4.3.30 -> 4.4 Hongxu Jia
2017-08-17 12:54   ` Richard Purdie
2017-08-16  8:31 ` [PATCH 3/8] dhcp: 4.3.5 -> 4.3.6 Hongxu Jia
2017-08-16  8:31 ` [PATCH 4/8] elfutils: 0.168 -> 0.170 Hongxu Jia
2017-08-16  8:31 ` [PATCH 5/8] libgcrypt: 1.7.8 -> 1.8.0 Hongxu Jia
2017-08-16  8:31 ` [PATCH 6/8] gnupg: 2.1.20 -> 2.1.23 Hongxu Jia
2017-08-18  9:38   ` Richard Purdie [this message]
2017-08-16  8:31 ` [PATCH 7/8] gpgme: 1.8.0 -> 1.9.0 Hongxu Jia
2017-08-17  7:34   ` Richard Purdie
2017-08-17  8:35     ` [PATCH] gpgme: remove local m4/python.m4 Hongxu Jia
2017-08-17  9:23       ` Richard Purdie
2017-08-16  8:31 ` [PATCH 8/8] ncurses: 6.0+20161126 -> 6.0+20170715 Hongxu Jia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1503049105.32591.3.camel@rpsys.net \
    --to=rpurdie@rpsys.net \
    --cc=hongxu.jia@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox