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-v4l2-decoder: Include test vectors on Docker image to avoid download on runtime #2762

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

denisyuji
Copy link
Contributor

This commit includes the test vectors in the cros-tast image to avoid download of these artifacts on every test, reducing the test time and the network usage. Some additional notes:

  • This aims to include the test vectors on tests targetting both Debian and ChromeOS.
  • The test vectors are split in 2 files: test_vectors.tar.gz and test_vectors-vp9.tar.gz. The rationale behind this is that the test vectors targetting vp9 requires 11.1 GB of storage, while all the other test vectors for other codecs requires 349M.
  • For this change to take effect, kernelci/cros-tast will need to be rebuilt. However, ||true statements on the end of the scp and ssh commands on the jinja templates were placed to not break the tests while the kernelci/cros-tast image is not updated.

Examples of lava job testing:

…load on runtime

This commit includes the test vectors in the `cros-tast` image
to avoid download of these artifacts on every test, reducing the
test time and the network usage. Some additional notes:

- This aims to include the test vectors on tests targetting both
Debian and ChromeOS.
- The test vectors are split in 2 files: `test_vectors.tar.gz`
and `test_vectors-vp9.tar.gz`. The rationale behind this is that
the test vectors targetting vp9 requires 11.1 GB of storage, while
all the other test vectors for other codecs requires 349M.
- For this change to take effect, `kernelci/cros-tast` will need
to be rebuilt. However, `||true` statements on the end of the `scp`
and `ssh` commands on the jinja templates were placed to not break
the tests while the `kernelci/cros-tast` image is not updated.

Signed-off-by: Denis Yuji Shimizu <[email protected]>
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.

1 participant