Skip to contentSkip to conversation

How to use kci_test?

DISCUSSION leimaohui 1 participant 1 message Jun 28, 2020 1 message not in the archive

lore
Share & tools
lore

leimaohui

author
#1 lore raw
In reply to a message not in the archive

ping

________________________________________
From: [email protected] <[email protected]> on behalf of leimaohui <[email protected]>
Sent: Monday, 22 June 2020 11:10
To: [email protected]
Subject: How to use kci_test?

Hi, all

I am learning to use kernelci. At present, I have installed kernelci docker and lava docker, and use kci_ build builds the kernel. Using kci_test, we encountered some problems:

1. What do I need to do to connect kernelci and lava before the test command?

2. Is the following understanding of kci_test's options correct​? For example:
./kci_test generate

--bmeta-json=linux/_install_/bmeta.json \ //bmeta file in build directory generated by kci_build
--dtbs-json=linux/_install_/dtbs.json \ //dtbs file in build directory generated by kci_build​
--plan=baseline_qemu \ // test_plan
--target=qemu_arm64-virt-gicv3 \ //device_type
--lab=lab-name \ //lab name which is recorded in lab-configs.yaml
--user=kernelci-user-name \ //user of lava for kernelci test
--token=abcd-7890 \ //token of lava user for kenelci test
--lab-json=lab-name.json \ //JSON file generated by executing command get_lab_info

Quoted 1 line

job.yaml

3. Error is occurred when executing the following command. Is there any problem with parameter specification? Command line : $. / KCI_ test get_ lab_ info --lab=lab-linaro-lkft --lab-json=lab-linaro- lkft.json
Error message: $ attributeerror: 'nonetype' object has no attribute 'scheduler'

Best regards
Lei Maohui