You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I got some error on figuring out the job file for qemu testing, not local testing.
Could you show us how to compose a qemu job file?
Thanks
Alex
$sudo lkp qemu -k ../linux/arch/x86/boot/bzImage ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 1: ---: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 4: suite:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 5: testcase:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 6: category:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 7: need_memory:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 8: ltp:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 9: test:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 10: job_origin:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 11: testbox:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 12: arch:: command not found
the jobs file is generated by lkp split-job command.
cat ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml
Hi @alexshi, thanks for your interest in our project.
For now, we have two ways for running a job: lkp run directly runs the job in the system environment, which is the "local testing" you mentioned. It requires a job.yaml file. lkp qemu runs the job in a qemu environment. It requires a job.sh file that should contain some shell code. lkp qemu couldn't accept a job.yaml file.
We are planning to enhance lkp qemu to support a job.yaml file as well. This is a feature enabling work that needs some effort. We will support it after a while.
Thanks for the great framework on kernel testing!
But I got some error on figuring out the job file for qemu testing, not local testing.
Could you show us how to compose a qemu job file?
Thanks
Alex
$sudo lkp qemu -k ../linux/arch/x86/boot/bzImage ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 1: ---: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 4: suite:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 5: testcase:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 6: category:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 7: need_memory:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 8: ltp:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 9: test:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 10: job_origin:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 11: testbox:: command not found
ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml: line 12: arch:: command not found
the jobs file is generated by lkp split-job command.
cat ltp-cve-cve-00-debian-12-x86_64-20220629.cgz.yaml
#! jobs/ltp-cve.yaml
suite: ltp
testcase: ltp
category: functional
need_memory: 4G
ltp:
test: cve-00
job_origin: jobs/ltp-cve.yaml
testbox: alexsshi-LC1
arch: x86_64
tbox_group: alexsshi-LC1
#! hosts/alexsshi-LC1
nr_cpu: 8
memory: 31G
hdd_partitions:
ssd_partitions:
local_run: 1
#! include/category/functional
kmsg:
heartbeat:
meminfo:
#! include/ltp
need_kconfig:
rootfs: debian-12-x86_64-20220629.cgz
initrds:
The text was updated successfully, but these errors were encountered: