From: Yash.Shinde@windriver.com
To: openembedded-core@lists.openembedded.org
Cc: Randy.MacLeod@windriver.com, Umesh.Kallapa@windriver.com,
Naveen.Gowda@windriver.com, Sundeep.Kokkonda@windriver.com,
Shivaprasad.Moodalappa@windriver.com, Yash.Shinde@windriver.com
Subject: [PATCH 2/2] rust: Disable rust oe-selftest
Date: Fri, 8 Dec 2023 01:54:55 -0800 [thread overview]
Message-ID: <20231208095455.1252421-2-Yash.Shinde@windriver.com> (raw)
In-Reply-To: <20231208095455.1252421-1-Yash.Shinde@windriver.com>
From: Yash Shinde <Yash.Shinde@windriver.com>
After rust is upgraded to 1.71 and later versions, the rust oe-selftest gives
build errors due to unstable nightly options. Thus, disable the test suite
until the issue is fixed
error: the option `Z` is only accepted on the nightly compiler
thread 'main' panicked at 'failed to gather the target spec for x86_64-poky-linux-gnu', synthetic_targets.rs:66:9
After rust is upgraded to 1.71 and later versions, the rust oe-selftest gives
build errors due to unstable nightly options. Thus, disable the test suite
until the issue is fixed.
Following issues are created in Yocto bugzilla and rust upstream to track this issue-
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15275
https://github.com/rust-lang/rust/issues/115642
https://users.rust-lang.org/t/does-rust-test-suite-supports-nightly-options-during-bootstrapping-in-rust/103108
https://users.rust-lang.org/t/unable-to-read-target-specs-when-rust-1-73-is-bootstrapped-in-yocto-poky/102959
Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
---
meta/lib/oeqa/selftest/cases/rust.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py
index 7d148142fc..6dbc517006 100644
--- a/meta/lib/oeqa/selftest/cases/rust.py
+++ b/meta/lib/oeqa/selftest/cases/rust.py
@@ -39,6 +39,9 @@ def parse_results(filename):
@OETestTag("runqemu")
class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
def test_rust(self, *args, **kwargs):
+ # Disable Rust Oe-selftest
+ self.skipTest("The Rust Oe-selftest is disabled.")
+
# build remote-test-server before image build
recipe = "rust"
start_time = time.time()
--
2.42.0
next prev parent reply other threads:[~2023-12-08 9:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-08 9:54 [PATCH 1/2] rust: Upgrade 1.70.0 -> 1.73.0 Yash.Shinde
2023-12-08 9:54 ` Yash.Shinde [this message]
2023-12-08 13:47 ` [OE-core] " Alex Kiernan
2023-12-08 13:55 ` Richard Purdie
2023-12-08 14:07 ` Alex Kiernan
2023-12-08 14:13 ` Randy MacLeod
2023-12-08 14:50 ` Yash Shinde
-- strict thread matches above, loose matches on Subject: below --
2023-12-08 10:47 Yash.Shinde
2023-12-08 10:48 ` [PATCH 2/2] rust: Disable rust oe-selftest Yash.Shinde
2023-12-08 14:05 ` Randy MacLeod
2023-12-08 14:46 ` Alexandre Belloni
2023-12-08 15:13 ` Randy MacLeod
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231208095455.1252421-2-Yash.Shinde@windriver.com \
--to=yash.shinde@windriver.com \
--cc=Naveen.Gowda@windriver.com \
--cc=Randy.MacLeod@windriver.com \
--cc=Shivaprasad.Moodalappa@windriver.com \
--cc=Sundeep.Kokkonda@windriver.com \
--cc=Umesh.Kallapa@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox