[oe-commits] [bitbake] branch 1.38 updated: tests/fetch: Resolve fetch error in bitbake-selftest

git at git.openembedded.org git at git.openembedded.org
Thu Nov 7 07:41:05 UTC 2019


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

rpurdie pushed a commit to branch 1.38
in repository bitbake.

The following commit(s) were added to refs/heads/1.38 by this push:
     new 50d2166  tests/fetch: Resolve fetch error in bitbake-selftest
50d2166 is described below

commit 50d2166054338b7a63c4dc7116cd212a9ecfbfaf
Author: Armin Kuster <akuster808 at gmail.com>
AuthorDate: Sun Sep 1 14:28:04 2019 -0700

    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.
    
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/tests/fetch.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py
index 68eb388..9b1cf3a 100644
--- a/lib/bb/tests/fetch.py
+++ b/lib/bb/tests/fetch.py
@@ -900,8 +900,8 @@ class FetchLatestVersionTest(FetcherTest):
         # packages with valid UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX
         ("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")
             : "2.0.0",
-        ("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")
-            : "6.1.19",
+        ("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")
+            : "5.3.10",
     }
 
     @skipIfNoNetwork()

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


More information about the Openembedded-commits mailing list