Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tast-on-debian: Create a new test method for Tast on Debian fs #2687

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

denisyuji
Copy link
Contributor

@denisyuji denisyuji commented Sep 22, 2024

Linked to kernelci/kernelci-pipeline#803

Add support for Tast tests on Debian. Specifically:

  • Create a template tast-debian.jinja2 based on tast.jinja2 to execute Tast against DUT running Debian root filesystem.
  • Add the option -checktestdeps=false for tast_parser.py to allow the execution on non-chromeos DUTs.
  • Hack: Create a shell script utility named fake_initctl.sh to simulate the required initctl command from ChromeOs on Debian.
  • Hack: Create a shell script utility named fake_crossystem.sh to simulate the required crossystem command from ChromeOs on Debian.

@nuclearcat
Copy link
Member

There is a lot of things retrieved from internet, they should be pre-added to docker image instead (especially google cloud cli over 100MB), for two reasons - reduce traffic to LAVA, and make tests reproducible and not hard depending on content in internet.

@10ne1
Copy link
Contributor

10ne1 commented Sep 23, 2024

@denisyuji could you download the test vectors via a debos script and install them in the Debian docker bookworm-tast image as @nuclearcat suggests?

@denisyuji denisyuji force-pushed the tast-on-debian branch 6 times, most recently from d07ddb0 to 300656e Compare September 24, 2024 11:49
Add support for `Tast` tests on Debian. Specifically:

- Create a template `tast-debian.jinja2` based on `tast.jinja2`
to execute Tast against DUT running Debian root filesystem.
- Add the option `-checktestdeps=false` for `tast_parser.py`
to allow the execution on non-chromeos DUTs.
- Hack: Create a shell script utility named `fake_initctl.sh`
to simulate the required `initctl` command from ChromeOs on
Debian.
- Hack: Create a shell script utility named `fake_crossystem.sh`
to simulate the required `crossystem` command from ChromeOs on
Debian.

Signed-off-by: Denis Yuji Shimizu <[email protected]>
Create a script to add `gsutil` to the Debian doocker container
image of kernelci. `gsutil` is required by Tast to download
artifacts on decoder tests.

Signed-off-by: Denis Yuji Shimizu <[email protected]>
@nuclearcat nuclearcat added this pull request to the merge queue Sep 27, 2024
Merged via the queue into main with commit 138937f Sep 27, 2024
7 checks passed
@nuclearcat nuclearcat deleted the tast-on-debian branch September 27, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants