diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-15 13:48:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-16 22:11:31 +0000 |
commit | 3fa723967901eeffcf30ebcdd85abfee8539795f (patch) | |
tree | e612139c8924f538897f19d4b602a80d62c2313d /meta | |
parent | 4a3d0eda4ec5c831296f2b7037c42c3a74cb31f6 (diff) | |
download | poky-3fa723967901eeffcf30ebcdd85abfee8539795f.tar.gz |
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.
(From OE-Core rev: 2ce9962851fe58c099599679340fd87e90f426ec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/selftest/signing.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/signing.py b/meta/lib/oeqa/selftest/signing.py index 38b2fca8cf..ba44c796b0 100644 --- a/meta/lib/oeqa/selftest/signing.py +++ b/meta/lib/oeqa/selftest/signing.py | |||
@@ -108,6 +108,8 @@ class Signing(oeSelfTest): | |||
108 | feature += 'SSTATE_VERIFY_SIG ?= "1"\n' | 108 | feature += 'SSTATE_VERIFY_SIG ?= "1"\n' |
109 | feature += 'GPG_PATH = "%s"\n' % self.gpg_dir | 109 | feature += 'GPG_PATH = "%s"\n' % self.gpg_dir |
110 | feature += 'SSTATE_DIR = "%s"\n' % sstatedir | 110 | feature += 'SSTATE_DIR = "%s"\n' % sstatedir |
111 | # Any mirror might have partial sstate without .sig files, triggering failures | ||
112 | feature += 'SSTATE_MIRRORS_forcevariable = ""\n' | ||
111 | 113 | ||
112 | self.write_config(feature) | 114 | self.write_config(feature) |
113 | 115 | ||