From patchwork Wed Oct 30 19:12:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 51579 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4315D6B6CC for ; Wed, 30 Oct 2024 19:12:30 +0000 (UTC) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mx.groups.io with SMTP id smtpd.web11.23489.1730315543920601201 for ; Wed, 30 Oct 2024 12:12:23 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=ALb5ZpTZ; spf=softfail (domain: sakoman.com, ip: 209.85.216.53, mailfrom: steve@sakoman.com) Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-2e2e88cb0bbso114384a91.3 for ; Wed, 30 Oct 2024 12:12:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1730315543; x=1730920343; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=v+P6VO2Dt2ncFUue5XYCYncaHg/N/ar9MngzijxPvv8=; b=ALb5ZpTZpfY0+0c0fgXmZTYI54veE4LOtKDljUxBxRwF+8YUZmEJQNKo126w4yuRZa 6win9clQ6y9a5cXGPV5k8Qc2SHI952OOnQ0rfo4X1TJ2sZ8ZP5Toc/eJdbeatnzAJIl+ pT5FxrZ3K839a+AqtTBWJ5j8r6rZ7AoFztK+uasuqqGd86rWtsWXbDYrdMmYS1TYCPgX 8SZZv+WcN+l8446EiwiDVOlZHMNPxkuwpvXutCTx2KTviubyI++i3pQjoC4gWZRj1M1L oXIoF95boeYKBt9/glMcBBn7Fg29x5Apum3VfojB4Ekh8gpqisbBTZqJSk1CPm7/coRS UhrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730315543; x=1730920343; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v+P6VO2Dt2ncFUue5XYCYncaHg/N/ar9MngzijxPvv8=; b=gasK122RbI3+HGMCwNGIlwEE9xU0Gwcyq1p4YAeQ7RxvxSIZVbzo1w7Udz15GThi/h 22weS161mZKetqTyzal1O6LsASwBVZuokXKUk9yltD7CbmtKAAu+c9kNsES20QiiCou2 rSAHUZGB+MhLmPTOTFkxP5SvRED0LFndccip9icqulMLiMUWiN/x7m0DGZ7N85EfmYX/ ldt4L8/AOHawklh58SlUNyovX/h3lNYkzZuOts24rI9whjRyO0c14/kHhCWD2LA2m3lJ JYz26TPUrIFvtBP7jT0OLAkM1tdqmOjxKp1tFoRKFT3Dl4Xn8JIrOoH0iZJ57jixj0XQ Pz5g== X-Gm-Message-State: AOJu0YweMzoPtbFu0EhNtRb9prO1hJ/m59lnF1yCuhBse9M+h3XFzXXb Re9YDHtPur/2h+atI02dMrIYZYQyQTcEVLj68jKoVYRVRikrbX0xmWUqRWr1MEQKatMnwPJWOWl z X-Google-Smtp-Source: AGHT+IHdviYvk7H+vqJ7BavcyEiRqOOzpfKTlXBO1h5B/wK9GE9GEhR8IConTTM4Xjum4gsiWqKkDA== X-Received: by 2002:a17:90b:3755:b0:2e2:de27:db09 with SMTP id 98e67ed59e1d1-2e8f1078c4dmr17634206a91.19.1730315543046; Wed, 30 Oct 2024 12:12:23 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e92fa36672sm2248203a91.14.2024.10.30.12.12.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 12:12:22 -0700 (PDT) From: Steve Sakoman To: bitbake-devel@lists.openembedded.org Subject: [bitbake][scarthgap][2.8][PATCH 1/4] gitsm: Add call_process_submodules() to remove duplicated code Date: Wed, 30 Oct 2024 12:12:05 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 30 Oct 2024 19:12:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16757 From: Robert Yang There are 14 lines can be removed, and can make it easy to maintain. Signed-off-by: Robert Yang Signed-off-by: Richard Purdie (cherry picked from commit 0ea2c1ac079d63349407a69172ff80cd9acc7252) Signed-off-by: Steve Sakoman --- lib/bb/fetch2/gitsm.py | 42 ++++++++++++++---------------------------- 1 file changed, 14 insertions(+), 28 deletions(-) diff --git a/lib/bb/fetch2/gitsm.py b/lib/bb/fetch2/gitsm.py index f7f3af721..17aac6357 100644 --- a/lib/bb/fetch2/gitsm.py +++ b/lib/bb/fetch2/gitsm.py @@ -147,6 +147,17 @@ class GitSM(Git): return submodules != [] + def call_process_submodules(self, ud, d, extra_check, subfunc): + # If we're using a shallow mirror tarball it needs to be + # unpacked temporarily so that we can examine the .gitmodules file + if ud.shallow and os.path.exists(ud.fullshallow) and extra_check: + tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR")) + runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir) + self.process_submodules(ud, tmpdir, subfunc, d) + shutil.rmtree(tmpdir) + else: + self.process_submodules(ud, ud.clonedir, subfunc, d) + def need_update(self, ud, d): if Git.need_update(self, ud, d): return True @@ -164,15 +175,7 @@ class GitSM(Git): logger.error('gitsm: submodule update check failed: %s %s' % (type(e).__name__, str(e))) need_update_result = True - # If we're using a shallow mirror tarball it needs to be unpacked - # temporarily so that we can examine the .gitmodules file - if ud.shallow and os.path.exists(ud.fullshallow) and not os.path.exists(ud.clonedir): - tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR")) - runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir) - self.process_submodules(ud, tmpdir, need_update_submodule, d) - shutil.rmtree(tmpdir) - else: - self.process_submodules(ud, ud.clonedir, need_update_submodule, d) + self.call_process_submodules(ud, d, not os.path.exists(ud.clonedir), need_update_submodule) if need_update_list: logger.debug('gitsm: Submodules requiring update: %s' % (' '.join(need_update_list))) @@ -195,16 +198,7 @@ class GitSM(Git): raise Git.download(self, ud, d) - - # If we're using a shallow mirror tarball it needs to be unpacked - # temporarily so that we can examine the .gitmodules file - if ud.shallow and os.path.exists(ud.fullshallow) and self.need_update(ud, d): - tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR")) - runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir) - self.process_submodules(ud, tmpdir, download_submodule, d) - shutil.rmtree(tmpdir) - else: - self.process_submodules(ud, ud.clonedir, download_submodule, d) + self.call_process_submodules(ud, d, self.need_update(ud, d), download_submodule) def unpack(self, ud, destdir, d): def unpack_submodules(ud, url, module, modpath, workdir, d): @@ -263,14 +257,6 @@ class GitSM(Git): newfetch = Fetch([url], d, cache=False) urldata.extend(newfetch.expanded_urldata()) - # If we're using a shallow mirror tarball it needs to be unpacked - # temporarily so that we can examine the .gitmodules file - if ud.shallow and os.path.exists(ud.fullshallow) and ud.method.need_update(ud, d): - tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR")) - subprocess.check_call("tar -xzf %s" % ud.fullshallow, cwd=tmpdir, shell=True) - self.process_submodules(ud, tmpdir, add_submodule, d) - shutil.rmtree(tmpdir) - else: - self.process_submodules(ud, ud.clonedir, add_submodule, d) + self.call_process_submodules(ud, d, ud.method.need_update(ud, d), add_submodule) return urldata From patchwork Wed Oct 30 19:12:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 51580 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4E66D6B6C9 for ; Wed, 30 Oct 2024 19:12:30 +0000 (UTC) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mx.groups.io with SMTP id smtpd.web10.23852.1730315545502937394 for ; Wed, 30 Oct 2024 12:12:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=eSsbf2q7; spf=softfail (domain: sakoman.com, ip: 209.85.216.54, mailfrom: steve@sakoman.com) Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-2e2bb1efe78so156749a91.1 for ; Wed, 30 Oct 2024 12:12:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1730315544; x=1730920344; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Q5ZdMEZnNDndoiECHv09aaVOYa6PzdQLXWVDWcyVpvo=; b=eSsbf2q72lMhPjYH3jGBZH+X/FZx8d3dJGKoS5/CIgsGfeeXQitajrCc6Tl8ELrS8o jaVSQDzhWwu+30xvvijHSARiv944YUwd2PW+4WJ9UaWC6yGVCPdARz8ePCA5+hC9Q5u+ nRgY7hTR1DYIfwWdadBdPKAtOipio+3zD4ueJ3J0pjRV5/d+/Fcrp6aNtXdWTZ881nDe HHc8T2CNupPP1/XI0+JKNH5Ea+hTNmGEywl4FSSYdx2o9j5D6v3axNTZaRE9KiNfBwLb FuU4gyklEpUiO4n5fz4adva8wgEs6/OiYViqLHrgu44jF73t5BWGXZwKJeWDykuvkgBN uosw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730315544; x=1730920344; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q5ZdMEZnNDndoiECHv09aaVOYa6PzdQLXWVDWcyVpvo=; b=tmlmzsc2bwGl2129IsHy254kdOvVdKib974WDqoVCUsg2wXXBXmpE/UWFotGdtySwt p7T6KATeDEm20R1XefZNIFer0aG1BTdyj9FO9nOZCUFXcHL6D7t8w+m13s03unbccoBP 7ZpA3/7ML+fkmco5AUDq4B3ceBmqyzVBykOjKvpWEozyDSJaoTWRTmVFpYncFMCMv+hm nBX65djEqzdsc5CwJTcGNjej9XwgWcHNP6POce6YK3u3om/10uy+FofCKCVbgmgjvoyl ZB8f6MUUbrxtLYAONG8j39gNC3Ic+uuK371sjufVmViHPB5PCxevaVA6iRE22bqr8KWj vMdg== X-Gm-Message-State: AOJu0YxY1/UoCKxKDO768YyP7I1/zg0rSpPXA9GhZA4kFQHwRqp4RfsF y+3dtG2zYkp/7Lsl8xkNJVFuBJR+4t5K3dos17pu+UU18uK0zKEq2lUVzssaj+J8ioU7V0OXF+W + X-Google-Smtp-Source: AGHT+IEfRQVWgYi70I9kCxBi8eL2teQrRCrUZI1je+m+udSOIf1d2BT8bPZ0IKC/2isk5iElky7qXg== X-Received: by 2002:a17:90a:69e5:b0:2e2:af80:8f7a with SMTP id 98e67ed59e1d1-2e9224eaab3mr8693187a91.20.1730315544553; Wed, 30 Oct 2024 12:12:24 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e92fa36672sm2248203a91.14.2024.10.30.12.12.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 12:12:24 -0700 (PDT) From: Steve Sakoman To: bitbake-devel@lists.openembedded.org Subject: [bitbake][scarthgap][2.8][PATCH 2/4] gitsm: Remove downloads/tmpdir when failed Date: Wed, 30 Oct 2024 12:12:06 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 30 Oct 2024 19:12:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16758 From: Robert Yang The tmpdir such as downloads/tmplp3cnemv won't be removed without this fix. Signed-off-by: Robert Yang Signed-off-by: Richard Purdie (cherry picked from commit 2ba8d3214759142afc11f0a88d80eb30a8bcde3a) Signed-off-by: Steve Sakoman --- lib/bb/fetch2/gitsm.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/bb/fetch2/gitsm.py b/lib/bb/fetch2/gitsm.py index 17aac6357..fab4b1164 100644 --- a/lib/bb/fetch2/gitsm.py +++ b/lib/bb/fetch2/gitsm.py @@ -152,9 +152,11 @@ class GitSM(Git): # unpacked temporarily so that we can examine the .gitmodules file if ud.shallow and os.path.exists(ud.fullshallow) and extra_check: tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR")) - runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir) - self.process_submodules(ud, tmpdir, subfunc, d) - shutil.rmtree(tmpdir) + try: + runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir) + self.process_submodules(ud, tmpdir, subfunc, d) + finally: + shutil.rmtree(tmpdir) else: self.process_submodules(ud, ud.clonedir, subfunc, d) From patchwork Wed Oct 30 19:12:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 51578 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C787ED6B6C8 for ; Wed, 30 Oct 2024 19:12:30 +0000 (UTC) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mx.groups.io with SMTP id smtpd.web10.23854.1730315546829945934 for ; Wed, 30 Oct 2024 12:12:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=tUQrvkuy; spf=softfail (domain: sakoman.com, ip: 209.85.216.53, mailfrom: steve@sakoman.com) Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-2e30116efc9so112083a91.2 for ; Wed, 30 Oct 2024 12:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1730315546; x=1730920346; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ua1Y8MYlBYy7eUQW32ZaxvYjIa9Ulhp55RZb+m4VjLg=; b=tUQrvkuyWXsvtGXfCj+OAvbVOo45PCGUfNmpevm9kXnv4L1AXkABZIePHz4/0DjPzG WJZfVwqGVAS8IM1yUITJkamJ9aIfG4wU1ReW7SJ8uuXYrH75Q/0QJMxA6adJrTDC/PZN A0dRKAK7/Mm4CQlfuOS4vUlb4kvgjrMESsVLWBntSmXHrReoX3/8sH6jhcz3vv7oOUrx zg5fgLmM8cSwdeEzJThSrMacm88/29cQw8bzxgk+bVeyRHnSi0FAncopOnt+3xMpzCha jhFg1u30GkPCMEaqBOlWdUZ1oAnVpkzLENc34FUQaklevhQGuJFkFTKY+xV7nU401UvW oQHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730315546; x=1730920346; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ua1Y8MYlBYy7eUQW32ZaxvYjIa9Ulhp55RZb+m4VjLg=; b=TkJ4qqn4CcV6JV4VrAsbIV2S5EKH305KXqCoe/xUEjHMqmFDyBXAg96MJ6w6wDT0Z7 vx2l9ein9l2MrB2MUhEvDpdP4L1L0WVI8rQj75zXGgVLCIYRC62IH0aCaNBI+5/vrQLq SqC1Bdb6kLtUgVOMRVvSSkfmVQB7UbLIraruhlXXTXO4lLfI/vdDvENP3BtFSCIeHnFO X4CmvXVI+bdkxhjUpZCOR5Pko0GVKf6eaFeZ0I8BHCky78WRz7YDHZz9lqXqsIHaM7lV 1akJBnbnVh5sMRPDNSuoz09Rai8o60y/HVerlc8SYb8W9Jrvn8Ii4HACgA872MdbZ/5f gevQ== X-Gm-Message-State: AOJu0Yx1iQC1q9dVnvDYchPOdDNVQhWIuRK0rQTHmjk3vgsr1fFp03fs B2zmXlL/U0V1OHYm/89T4X3h0EDVsH7n4Vhk6wgo17O/mDGmUFcqClM2qUhgUO96KoSKyySD0b4 u X-Google-Smtp-Source: AGHT+IFBEqXjK6yb/L8NJQNTnuwVJRkhDMrgjAu3mufPprGIHOwj18TFptLlGxHR+9IXD4hm7ZPKDw== X-Received: by 2002:a17:90a:4e0a:b0:2e2:c6b9:fd4a with SMTP id 98e67ed59e1d1-2e8f1072087mr19616630a91.18.1730315546076; Wed, 30 Oct 2024 12:12:26 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e92fa36672sm2248203a91.14.2024.10.30.12.12.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 12:12:25 -0700 (PDT) From: Steve Sakoman To: bitbake-devel@lists.openembedded.org Subject: [bitbake][scarthgap][2.8][PATCH 3/4] tests/fetch: Use our own mirror of sysprof to decouple from gnome gitlab Date: Wed, 30 Oct 2024 12:12:07 -0700 Message-Id: <7f98c7db475b7f805c8c5be5964e84c82caf1903.1730315315.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 30 Oct 2024 19:12:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16759 From: Richard Purdie GNOME gitlab has occasional downtime which impacts bitbake-selftest and causes autobuilder failures. Switch to our own mirror for test purposes to avoid those issues. Signed-off-by: Richard Purdie (cherry picked from commit 008808755ed6cfeb6c41273e69ce718f0833c26c) Signed-off-by: Steve Sakoman --- lib/bb/tests/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py index 33cc9bcac..70494693a 100644 --- a/lib/bb/tests/fetch.py +++ b/lib/bb/tests/fetch.py @@ -1419,7 +1419,7 @@ class FetchLatestVersionTest(FetcherTest): ("dtc", "git://git.yoctoproject.org/bbfetchtests-dtc.git;branch=master;protocol=https", "65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf", "", "") : "1.4.0", # combination version pattern - ("sysprof", "git://gitlab.gnome.org/GNOME/sysprof.git;protocol=https;branch=master", "cd44ee6644c3641507fb53b8a2a69137f2971219", "", "") + ("sysprof", "git://git.yoctoproject.org/sysprof.git;protocol=https;branch=master", "cd44ee6644c3641507fb53b8a2a69137f2971219", "", "") : "1.2.0", ("u-boot-mkimage", "git://source.denx.de/u-boot/u-boot.git;branch=master;protocol=https", "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c", "", "") : "2014.01", From patchwork Wed Oct 30 19:12:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 51577 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8A82D6B6C4 for ; Wed, 30 Oct 2024 19:12:30 +0000 (UTC) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mx.groups.io with SMTP id smtpd.web11.23491.1730315548528091123 for ; Wed, 30 Oct 2024 12:12:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=sJRr5Vx0; spf=softfail (domain: sakoman.com, ip: 209.85.214.182, mailfrom: steve@sakoman.com) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-20c7edf2872so10160775ad.1 for ; Wed, 30 Oct 2024 12:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1730315548; x=1730920348; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=CdPiGlSsqRBkcYiit3vG+h2ayRtNjEEIE0Bx7djS8A0=; b=sJRr5Vx0OE5Qezr9scejhmMr30cmsBZnyluiF3shX/3nwilULloWGVnXBOEu0pq3mL QXGI0reJ35CBZQWB9c3H0YYbZTowoas9hXteuNQ3tzJUr6nYMiTIUrglNMU+d61qiM+v dLax5GrOpDLv/MEKPfX0BA3JRC7Dv98PxcrUUNduu7BJ5IxHCC5j9Di6GK2gzdfA63Iw 1CTlNgEsjTvsZDZxG985L48jArlFOWfMFzqWTFAvTHVxV5RxcbdTbn4R1e9pN5FIXE3i f5qARLldIHGTTfvXLXknnsycIeOax5zLjTu9yp76DU9ZOReWkAyv8yGfHveyuBFnvHNU 0qdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730315548; x=1730920348; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CdPiGlSsqRBkcYiit3vG+h2ayRtNjEEIE0Bx7djS8A0=; b=pE2CkIpV/mzo9rWdB/joV8vdO8Vm/NIbjLFm8Onq8yz/ZUsBe267ryoB5TbzX2CB/d HGgFvqcIVbDj1YzHdf39+eVtkjTAnUgEmlyqGaBrOLWoWE8MGzGncbOMf/2JipcFJ6aS +ulMe+NZxhq2G6uvUGm64Q6N7B0exnFCQBVHoiR5tiX6yoKNvTaU6n7rvBxG4jB65bt0 THi42aRxC05sqNADDoDNJw91PY1YR/BoKPMV95wGQUezLOuMTMapewnbBYEMkup70FZw h+swoUELOO5UnvkbN7QEa0T896NcrbqmnT0BPimPAmTI7Q8U8mdwL+GfaemM9Qwm7+hQ 4ALQ== X-Gm-Message-State: AOJu0YyP3HtsvZaFnjLbaYmsoKOPLPigyet551oSooWb0Xh91s8QQTq5 Pwz9qIPa+Og7Kd0C4uNvqUtEYRukJ9IZF6TI+YZE3RMI+kT/M9fuwNg3mBIIQDnR0pYSJAms6qY 3 X-Google-Smtp-Source: AGHT+IGuJROMl/1US6ZcjzEzgUv36JgtUsmzMc63kdRSN48FACdwI7oXo2oRSAT6+W6SQUZ1hJl1mA== X-Received: by 2002:a17:90a:780c:b0:2d8:3f7a:edf2 with SMTP id 98e67ed59e1d1-2e92f9742demr5137842a91.12.1730315547649; Wed, 30 Oct 2024 12:12:27 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e92fa36672sm2248203a91.14.2024.10.30.12.12.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 12:12:27 -0700 (PDT) From: Steve Sakoman To: bitbake-devel@lists.openembedded.org Subject: [bitbake][scarthgap][2.8][PATCH 4/4] tests/fetch: Use our own mirror of mobile-broadband-provider to decouple from gnome gitlab Date: Wed, 30 Oct 2024 12:12:08 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 30 Oct 2024 19:12:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/16760 From: Richard Purdie GNOME gitlab has occasional downtime which impacts bitbake-selftest and causes autobuilder failures. Switch to our own mirror for test purposes to avoid those issues. Signed-off-by: Richard Purdie (cherry picked from commit 91e268b11ed683bd197026f9b36001f6d54ee05c) Signed-off-by: Steve Sakoman --- lib/bb/tests/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py index 70494693a..231da669e 100644 --- a/lib/bb/tests/fetch.py +++ b/lib/bb/tests/fetch.py @@ -1424,7 +1424,7 @@ class FetchLatestVersionTest(FetcherTest): ("u-boot-mkimage", "git://source.denx.de/u-boot/u-boot.git;branch=master;protocol=https", "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c", "", "") : "2014.01", # version pattern "yyyymmdd" - ("mobile-broadband-provider-info", "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=master", "4ed19e11c2975105b71b956440acdb25d46a347d", "", "") + ("mobile-broadband-provider-info", "git://git.yoctoproject.org/mobile-broadband-provider-info.git;protocol=https;branch=master", "4ed19e11c2975105b71b956440acdb25d46a347d", "", "") : "20120614", # packages with a valid UPSTREAM_CHECK_GITTAGREGEX # mirror of git://anongit.freedesktop.org/xorg/driver/xf86-video-omap since network issues interfered with testing