[oe-commits] [openembedded-core] branch master-next updated: selftest: Disable SSTATE_MIRRORS for sstate signing test

git at git.openembedded.org git at git.openembedded.org
Wed Mar 15 13:53:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

The following commit(s) were added to refs/heads/master-next by this push:
     new 6a9d36d  selftest: Disable SSTATE_MIRRORS for sstate signing test
6a9d36d is described below

commit 6a9d36dabdf6f1c66a365d79923d3849153f59ae
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Mar 15 13:48:06 2017 +0000

    selftest: Disable SSTATE_MIRRORS for sstate signing test
    
    Building ed into an sstate mirror, then leaving it enabled for
    oe-selftest -r signing.Signing.test_signing_sstate_archive results in:
    
    NOTE: recipe ed-1.14.1-r0: task do_populate_lic_setscene: Started
    WARNING: ed-1.14.1-r0 do_populate_lic_setscene: Failed to fetch URL file://29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig;downloadfilename=29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig, attempting MIRRORS if available
    ERROR: ed-1.14.1-r0 do_populate_lic_setscene: Fetcher failure: Unable to find file file://29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig;downloadfilename=29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig anywhere. The paths that were searched were:
        /media/build1/poky/build/test-sstate
        /media/build1/poky/build/test-sstate
    WARNING: ed-1.14.1-r0 do_populate_lic_setscene: Cannot verify signature on sstate package /media/build1/poky/build/test-sstate/29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz
    NOTE: recipe ed-1.14.1-r0: task do_populate_lic_setscene: Succeeded
    
    so we need to disable SSTATE_MIRRORS for this test.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oeqa/selftest/signing.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/lib/oeqa/selftest/signing.py b/meta/lib/oeqa/selftest/signing.py
index 38b2fca..ba44c79 100644
--- a/meta/lib/oeqa/selftest/signing.py
+++ b/meta/lib/oeqa/selftest/signing.py
@@ -108,6 +108,8 @@ class Signing(oeSelfTest):
         feature += 'SSTATE_VERIFY_SIG ?= "1"\n'
         feature += 'GPG_PATH = "%s"\n' % self.gpg_dir
         feature += 'SSTATE_DIR = "%s"\n' % sstatedir
+        # Any mirror might have partial sstate without .sig files, triggering failures
+        feature += 'SSTATE_MIRRORS_forcevariable = ""\n'
 
         self.write_config(feature)
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list