The problem is the following:
AssertionError: 
'gitsm://g...@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master' != 
'git://g...@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master'

Mbedlts made changes to their repository, adding a sub-module, thus the
assert triggers an error with the url:
git://g...@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master

To fix the issue, the url has been changed to:
gitsm://g...@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master

Signed-off-by: Alexandre Truong <alexandre.tru...@smile.fr>
Reviewed-by: Yoann Congal <yoann.con...@smile.fr>
---
 meta/lib/oeqa/selftest/cases/devtool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/cases/devtool.py 
b/meta/lib/oeqa/selftest/cases/devtool.py
index a1cccc39eb..bc1e40ef83 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -482,7 +482,7 @@ class DevtoolAddTests(DevtoolBase):
         pn = 'mbedtls'
         # this will trigger reformat_git_uri with branch parameter in url
         git_url = "'git://g...@github.com/ARMmbed/mbedtls.git;protocol=https'"
-        resulting_src_uri = 
"git://g...@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master"
+        resulting_src_uri = 
"gitsm://g...@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master"
         self._test_devtool_add_git_url(git_url, version, pn, resulting_src_uri)
 
     def test_devtool_add_library(self):
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#197961): 
https://lists.openembedded.org/g/openembedded-core/message/197961
Mute This Topic: https://lists.openembedded.org/mt/105327620/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to