parca-agent icon indicating copy to clipboard operation
parca-agent copied to clipboard

Write a script to run kerneltests both locally and in CI

Open Sylfrena opened this issue 1 year ago • 2 comments

Nuking the make targets for now, will try to write a script in a follow up PR(once Kemal's PR lands) that we can run both locally and in CI.

This means we now have a script (the vmtest.sh for running tests in qemu which we call from GH actions, and some intermediate commands in GitHub Actions to bridge the gap between goreleaser artifacts and the vmtests.

xref:

  • https://github.com/parca-dev/parca-agent/pull/2243#discussion_r1439960209
  • https://github.com/parca-dev/parca-agent/pull/2243#discussion_r1438976925

Sylfrena avatar Jan 03 '24 15:01 Sylfrena

lol I just created https://github.com/parca-dev/parca-agent/issues/2412, feel free to close it!

javierhonduco avatar Jan 09 '24 16:01 javierhonduco

There might be some files you might want to add to the .gitignore

[...]
#       new file:   kerneltest/logs/vm_log-5.10-amd64.txt
#       new file:   kerneltest/logs/vm_log-5.19-amd64.txt
#       new file:   kerneltest/logs/vm_log-5.4-amd64.txt
#       new file:   kerneltest/logs/vm_log-6.1-amd64.txt
#       new file:   kerneltest/logs/vm_log-6.5.0-14-arm64.txt

javierhonduco avatar Jan 10 '24 09:01 javierhonduco