All of lore.kernel.org
 help / color / mirror / Atom feed
From: "leimaohui" <leimaohui@cn.fujitsu.com>
To: "kernelci@groups.io" <kernelci@groups.io>,
	"Lei, Maohui" <leimaohui@cn.fujitsu.com>
Subject: Re: How to use kci_test?
Date: Sun, 28 Jun 2020 03:55:26 +0000	[thread overview]
Message-ID: <1593316524096.87466@cn.fujitsu.com> (raw)
In-Reply-To: <161ABF04116C5EFF.11535@groups.io>

ping


________________________________________
From: kernelci@groups.io <kernelci@groups.io> on behalf of leimaohui <leimaohui@cn.fujitsu.com>
Sent: Monday, 22 June 2020 11:10
To: kernelci@groups.io
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
  > 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







       reply	other threads:[~2020-06-28  3:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <161ABF04116C5EFF.11535@groups.io>
2020-06-28  3:55 ` leimaohui [this message]
2020-06-22  3:10 How to use kci_test? leimaohui
2020-06-28  6:38 ` Corentin Labbe
2020-06-29  8:04   ` Guillaume Tucker
2020-06-30  7:18     ` leimaohui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1593316524096.87466@cn.fujitsu.com \
    --to=leimaohui@cn.fujitsu.com \
    --cc=kernelci@groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.