kernelci / kernelci-pipeline

Modular pipeline based on the KernelCI API
GNU Lesser General Public License v2.1
6 stars 19 forks source link

Enable rt-tests #648

Closed musamaanjum closed 2 months ago

musamaanjum commented 3 months ago

https://github.com/kernelci/kernelci-core/pull/2578 is a prerequisite of this PR.

I've included for you the description in individual commits.

musamaanjum commented 3 months ago

Removed the staging-skip label. Feel free to add it again, if this PR causes issues on staging.

JenySadadia commented 3 months ago

The job definitions are missing template property.

musamaanjum commented 3 months ago

@JenySadadia added template and kind properties for preempt-rt jobs.

musamaanjum commented 3 months ago

@JenySadadia Getting the following error:

Validating pipeline.yaml
Error in pipeline.yaml: KCIDB test suite mapping not found for job: preempt-rt'
Error: Process completed with exit code 1.

I'm not sure about KCIDB. The config/runtime/preempt-rt.jinja2 is present in same commit. Is the error referring to some other file in KCIDB?

musamaanjum commented 2 months ago

This PR is ready. Now just waiting on the correct rootfs for executing these tests.

musamaanjum commented 2 months ago

Finally, we have gotten our first results. The cyclictest which has been ported from the legacy kernelci is passing.

Other cyclicdeadline, osnoise and timerlat tests which are running for the first time on KernelCI have some missing dependencies.

+ ./cyclicdeadline.sh -i 1000 -s 500 -t 2 -D 60s -w hackbench
Using all CPUS
No such file or directory
FATAL: For less than 2ms run times, you need to
have HRTICK enabled in debugfs/sched_features

+ ./rtla-osnoise.sh -d 60s -w hackbench
./rtla-osnoise.sh: 35: rtla: not found
mv: cannot stat 'osnoise_thread_noise_hist.txt': No such file or directory
mv: cannot stat 'osnoise_irq_noise_hist.txt': No such file or directory
mv: cannot stat 'osnoise_sample_threshold_hist.txt': No such file or directory

+ ./rtla-timerlat.sh -d 60s -w hackbench
./rtla-timerlat.sh: 34: rtla: not found
mv: cannot stat 'osnoise_thread_noise_hist.txt': No such file or directory
mv: cannot stat 'osnoise_irq_noise_hist.txt': No such file or directory
rtla-timerlat pass

rt-tests-all.html.txt