All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ankur Tyagi <ankur.tyagi85@gmail.com>
To: "chris.laplante@agilent.com" <chris.laplante@agilent.com>
Cc: openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: Problems with sstate-cache in Artifactory
Date: Tue, 9 Jul 2019 09:16:35 +1200	[thread overview]
Message-ID: <CADySD0HHhJHacwP0HXR52dpw1SEjg60y9-RRvuNgDHJFTw46Aw@mail.gmail.com> (raw)
In-Reply-To: <CY4PR12MB165398EE661D4CA2995CD0558BF60@CY4PR12MB1653.namprd12.prod.outlook.com>

Hi Chris,

Thanks for your pointers, I will try them.

Regarding using curl for sstate fetch, how to set SSTATE_MIRRORS ?
Below is my current configuration

SSTATE_MIRRORS ?= "\
file://.* https://artifactory.com/yocto/sstate-cache/PATH;downloadfilename=PATH
\
"
Thanks
Ankur

On Tue, Jul 9, 2019 at 3:37 AM chris.laplante@agilent.com
<chris.laplante@agilent.com> wrote:
>
> > I can't see any "log.do_setscene" inside the tmp directory.
> > When I start an image build, it does say executing setscene task but
> > then no setscene task log for any recipe
> >
> > Initialising tasks: 100%
> > |##############################################################################################################
> > ##############################|
> > Time: 0:00:01
> > Checking sstate mirror object availability: 100%
> > |##############################################################################################################
> > ######|
> > Time: 0:00:02
> > Sstate summary: Wanted 484 Found 0 Missed 968 Current 0 (0% match, 0% complete)
> > NOTE: Executing SetScene Tasks
> > NOTE: Executing RunQueue Tasks
>
> We have Artifactory serving our sstate as well, so here's some tips.
>
> 1. Try seeing if you can fetch some sstate using curl directly. If you are authenticating to the Artifactory server using a .netrc server, make sure to pass "--netrc" to curl.
> 2. You can diagnose the sstate mirror by passing -DDD to bitbake. It will spit out a ton of debug messages, so you might want to redirect it all to a file. E.g.:
>
> bitbake something -DDD >out.txt 2>&1
>
> Start looking after the line that begins "DEBUG: SState using premirror of". It will dump out the URLs that it tries to fetch.
>
> 3. Within Artifactory, you can check the access log by going to: Admin > System Logs > access.log
>
> Look for "DENIED LOGIN" errors.
>
> Chris


  parent reply	other threads:[~2019-07-08 21:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-03 10:08 Problems with sstate-cache in Artifactory Ankur Tyagi
2019-07-03 12:04 ` Burton, Ross
2019-07-04  2:40   ` Ankur Tyagi
     [not found]     ` <CY4PR12MB165398EE661D4CA2995CD0558BF60@CY4PR12MB1653.namprd12.prod.outlook.com>
2019-07-08 21:16       ` Ankur Tyagi [this message]
2019-07-09  3:45         ` Ankur Tyagi
2019-07-09 14:28           ` chris.laplante
2019-07-10  1:39             ` Ankur Tyagi
2019-07-10  9:22               ` Ankur Tyagi

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=CADySD0HHhJHacwP0HXR52dpw1SEjg60y9-RRvuNgDHJFTw46Aw@mail.gmail.com \
    --to=ankur.tyagi85@gmail.com \
    --cc=chris.laplante@agilent.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.