Skip to contentSkip to conversation

task is executed even when sstate-cache md5 matches

DISCUSSION Pepe Perez 3 participants 4 messages Feb 21, 2017 – Feb 22, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Pepe Perez

author
#1 lore raw

I have following siginfo packages:
Generated in my build sstate-cache build/sstate-cache/be/sstate:proc-fifo::1.0.3:r1::3:be9c419f0caa05042d43c03d576d2e15_fetch.tgz.siginfo Previously existing in my build SSTATE_MIRRORS:
/central/sstate-cache/be/sstate:proc-fifo::1.0.3:r1::3:be9c419f0caa05042d43c03d576d2e15_fetch.tgz.siginfo

I had many other targets where setscene was successful and no task was executed. Why fetch is executed in the target above, if md5 is a match?

#2 lore raw
Quoted 6 lines · Pepe Perez

I have following siginfo packages:

Generated in my build sstate-cache build/sstate-cache/be/sstate:proc- fifo::1.0.3:r1::3:be9c419f0caa05042d43c03d576d2e15_fetch.tgz.siginfo

Quoted 7 lines

Previously existing in my build SSTATE_MIRRORS:
/central/sstate-cache/be/sstate:proc- fifo::1.0.3:r1::3:be9c419f0caa05042d43c03d576d2e15_fetch.tgz.siginfo

I had many other targets where setscene was successful and no task was executed. Why fetch is executed in the target above, if md5 is a match?

do_fetch is not an sstate task and there is no ".tgz" file, only a siginfo file which is data about how the checksum is constructed and for debugging of other sstate checksums. Pulling the downloads from a download mirror would likely be just as successful as it would be if do_fetch were an sstate task.

Cheers,

Richard

author
#3 lore raw

I have however other targets in which do_fetch is not executed at all. Why sometimes is executed and why some others not...?Moreover, I did the test with three users: one populates the sstate-cache, a second resolves its build entirely from sstate and a third one in which do_fetch is executed This is important for me because I'm working in a project in which do_fetch should not be executed, but always resolved with the sstate

From: Richard Purdie <[email protected]>
To: Pepe Perez <[email protected]>; "[email protected]" <[email protected]>
Sent: Wednesday, February 22, 2017 7:26 AM
Subject: Re: [yocto] task is executed even when sstate-cache md5 matches

Quoted 6 lines · Pepe Perez

I have following siginfo packages:

Generated in my build sstate-cache build/sstate-cache/be/sstate:proc- fifo::1.0.3:r1::3:be9c419f0caa05042d43c03d576d2e15_fetch.tgz.siginfo

Quoted 7 lines

Previously existing in my build SSTATE_MIRRORS:
/central/sstate-cache/be/sstate:proc- fifo::1.0.3:r1::3:be9c419f0caa05042d43c03d576d2e15_fetch.tgz.siginfo

I had many other targets where setscene was successful and no task was executed. Why fetch is executed in the target above, if md5 is a match?

do_fetch is not an sstate task and there is no ".tgz" file, only a siginfo file which is data about how the checksum is constructed and for debugging of other sstate checksums. Pulling the downloads from a download mirror would likely be just as successful as it would be if do_fetch were an sstate task.

Cheers,

Richard

#4 lore raw
Quoted 3 lines · Pepe Perez

This is important for me because I'm working in a project in which do_fetch should not be executed, but always resolved with the sstate

do_fetch can't be resolved by sstate. If fetch needs to execute, it will download it from a source mirror or the SRC_URI.

Ross