diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-09-08 12:23:58 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-09 09:58:02 +0100 |
commit | 6d2e12e79211b31cdf5ea824fb9a8be54ba9a9eb (patch) | |
tree | 61da421b35272ce0f24053d65648fdc5e491a63f /bitbake/lib | |
parent | e4ceb7fcdca3ec90d85796a7234e5554a518ca33 (diff) | |
download | poky-6d2e12e79211b31cdf5ea824fb9a8be54ba9a9eb.tar.gz |
bitbake: tests/fetch: Resolve fetch error in bitbake-selftest
FAIL: test_wget_latest_versionstring (bb.tests.fetch.FetchLatestVersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/oe-selftest/build/bitbake/lib/bb/tests/fetch.py", line 1229, in test_wget_latest_versionstring
self.assertTrue(verstring, msg="Could not find upstream version for %s" % k[0])
AssertionError: '' is not true : Could not find upstream version for db
[YOCTO #13496]
The Oracle UPSTREAM_CHECK_URI used changed and does not work with logic in wget.
Update UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to match the ones used in the
recipe. Also change the version being checked.
(Bitbake rev: 164c0df429fc9be771c54c241b17d7afb8849afc)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/tests/fetch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index 9fca98e083..32db5c38c8 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py | |||
@@ -1117,8 +1117,8 @@ class FetchLatestVersionTest(FetcherTest): | |||
1117 | # packages with valid UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX | 1117 | # packages with valid UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX |
1118 | ("cups", "http://www.cups.org/software/1.7.2/cups-1.7.2-source.tar.bz2", "https://github.com/apple/cups/releases", "(?P<name>cups\-)(?P<pver>((\d+[\.\-_]*)+))\-source\.tar\.gz") | 1118 | ("cups", "http://www.cups.org/software/1.7.2/cups-1.7.2-source.tar.bz2", "https://github.com/apple/cups/releases", "(?P<name>cups\-)(?P<pver>((\d+[\.\-_]*)+))\-source\.tar\.gz") |
1119 | : "2.0.0", | 1119 | : "2.0.0", |
1120 | ("db", "http://download.oracle.com/berkeley-db/db-5.3.21.tar.gz", "http://www.oracle.com/technetwork/products/berkeleydb/downloads/index-082944.html", "http://download.oracle.com/otn/berkeley-db/(?P<name>db-)(?P<pver>((\d+[\.\-_]*)+))\.tar\.gz") | 1120 | ("db", "http://download.oracle.com/berkeley-db/db-5.3.21.tar.gz", "http://ftp.debian.org/debian/pool/main/d/db5.3/", "(?P<name>db5\.3_)(?P<pver>\d+(\.\d+)+).+\.orig\.tar\.xz") |
1121 | : "6.1.19", | 1121 | : "5.3.10", |
1122 | } | 1122 | } |
1123 | 1123 | ||
1124 | @skipIfNoNetwork() | 1124 | @skipIfNoNetwork() |