public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: pgowda cve <pgowda.cve@gmail.com>
Cc: openembedded-core@lists.openembedded.org,
	Randy.MacLeod@windriver.com, vinay.m.engg@gmail.com
Subject: Re: [OE-core] [PATCH v10] Rust Oe-Selftest implementation
Date: Mon, 05 Sep 2022 22:56:49 +0100	[thread overview]
Message-ID: <6e4acb0b302d1d841c765283b12a3b1976d06a51.camel@linuxfoundation.org> (raw)
In-Reply-To: <CALY4986Pc-HmuguPuoe=CKXqX8U=cN4VroAaEwSSuUXDsOOLUA@mail.gmail.com>

On Mon, 2022-09-05 at 20:25 +0530, pgowda cve wrote:
> Hi Richard,
> 
> Thanks very much for reviewing the patch and your comments regarding it.
> 
> > > thread 'main' panicked at 'RUSTDOC_LIBDIR was not set',
> > > src/bootstrap/bin/rustdoc.rs:15:48
> > > note: run with `RUST_BACKTRACE=1` environment variable to display a
> > > backtrace
> > > error: could not document `core`
> 
> I tried on different environments but could not reproduce the error.
> Can you please share with me the oe-selftest.log file to reproduce and
> work on it?

This was on my local build system which shouldn't do anything special
or interesting, it is a fairly standard OE-Core setup and I doubt the
selftest will tell you anything more that the piece of it I pasted into
the email.

Which MACHINE are you testing using?

> > > Something is mangling spaces in your patch. There shouldn't be tabs
> Modified the complete file to remove TABS and use white spaces.
> 
> > > I think this can be merged with the RustSelfTestBase class as I don't
> Merge with RustSelfTestBase.
> 
> > > If we want to change grammar, it should be in a separate patch.
> Removed it from the patch
> 
> > > put that alongside the task definition.
> Done.

Thanks.

> All modifications are done as per the review comments.
> However, I still see that the test PASSes and did not see the mentioned error.
> 
> =============================================================
> rust.RustSelfTestSystemEmulated.test_rust: PASSED (4812.37s)
> 2022-09-05 13:43:50,332 - oe-selftest - INFO - SUMMARY:
> 2022-09-05 13:43:50,332 - oe-selftest - INFO - oe-selftest () - Ran 1
> test in 4875.349s
> 2022-09-05 13:43:50,332 - oe-selftest - INFO - oe-selftest - OK - All
> required tests passed (successes=1, skipped=0, failures=0, errors=0)
> =============================================================
> 
> I am using the following command to run the rust-testsuite:-
> oe-selftest -r rust.RustSelfTestSystemEmulated.test_rust
> Please let me know if I am missing anything to reproduce the error.

That is what I'm using too. I did try an couple of small changes to
rust to try and improve things and it did get slightly further but not
much. It does mean my logs are probably going to confuse things more if
I share them so I need to undo those before I can do that.

I don't know why we're seeing different results but it is a concern.

Were you able to work out if there is anything we can do about the
hardcoded buildpaths/reproducibility issue?

Cheers,

Richard






  reply	other threads:[~2022-09-05 21:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220904063331.82988-1-naveen.gowda@windriver.com>
2022-09-04 13:34 ` [PATCH v10] Rust Oe-Selftest implementation Richard Purdie
2022-09-05 14:55   ` [OE-core] " pgowda cve
2022-09-05 21:56     ` Richard Purdie [this message]
2022-09-07 14:05       ` Richard Purdie
2022-09-07 15:04         ` pgowda cve
2022-09-07 15:07           ` Richard Purdie

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=6e4acb0b302d1d841c765283b12a3b1976d06a51.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=Randy.MacLeod@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=pgowda.cve@gmail.com \
    --cc=vinay.m.engg@gmail.com \
    /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