]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/postactions: do not uncompress retrieved archive on host
authorAlexis Lothoré <alexis.lothore@bootlin.com>
Mon, 12 Aug 2024 15:14:04 +0000 (17:14 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Aug 2024 08:28:09 +0000 (09:28 +0100)
commitf90894d996c8a8f980e46c87b7968b176793b3fe
tree59287c36e38f961b57e2f5b1d7af566e6e382b60
parenta50e72bb64fb8b0d14c23164eaeeabd9c271ac19
oeqa/postactions: do not uncompress retrieved archive on host

Current postaction module executes a remote tar command, pipe it in a SSH
connection, and uncompress the raw stream with another tar command. With
this command, the whole artifacts tree is directly available on the host
executing the test, but it is not very convenient if we want to download
the whole retrieved ptests directory.

Stop uncompressing the retrieved ptests archive onto host, just save the
archive as it is. The new output then looks like the following:

tmp/log/oeqa-artefacts
└── oeqa-target-artefacts-20240812-juzqdb80
    ├── host_disk_usage.txt
    ├── target_disk_usage.txt
    └── tests_artifacts.tar.gz

Suggested-By: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/postactions.py