Hello Richard,

On 9/19/24 14:58, Richard Purdie wrote:
> On Thu, 2024-09-19 at 08:42 +0100, Richard Purdie via
> lists.openembedded.org wrote:
>> On Mon, 2024-08-12 at 17:14 +0200, Alexis Lothoré via
>> lists.openembedded.org wrote:
>>> From: Alexis Lothoré <[email protected]>

[...]

>>> --- a/meta/lib/oeqa/utils/postactions.py
>>> +++ b/meta/lib/oeqa/utils/postactions.py
>>> @@ -68,7 +68,8 @@ def list_and_fetch_failed_tests_artifacts(d, tc,
>>> artifacts_list, outputdir):
>>>          (status, output) = tc.target.run(cmd, raw = True)
>>>          if status != 0 or not output:
>>>              raise Exception("Error while fetching compressed
>>> artifacts")
>>> -        p = subprocess.run(["tar", "zxf", "-", "-C", outputdir],
>>> input=output)
>>> +        with open(archive_name, "wb") as f:
>>> +            f.write(output)
>>>      except Exception as e:
>>>          bb.warn(f"Can not retrieve artifacts from test target:
>>> {e}")
>>
>>
>> This change is causing failures since archive_name isn't defined
>> anywhere :/
> 
> I'd also note that scarthgap actually throws errors:
> 
> https://valkyrie.yoctoproject.org/#/builders/73/builds/135/steps/12/logs/stdio
> 
> Exception: NameError: name 'artifact_path' is not defined
> 
> which is related to some of these patches :/.

I am out of  office right now with limited access to computer (I come back next
week but then I will be traveling to attend Kernel Recipes). If no one fixes it
before, I'll take a look and send a fix once I return to the office (end of next
week)

Alexis

-- 
Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#204691): 
https://lists.openembedded.org/g/openembedded-core/message/204691
Mute This Topic: https://lists.openembedded.org/mt/107858382/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to