[ldv-project] [yandex.ru代发]Re: can not download ldv-docker-0.8.tar.gz

黄有焱 huangyy at landicorp.com
Fri Mar 29 04:42:52 MSK 2019


  hi Evgeny Novikov
 So sorry, I forget to tell you, Klever has been installed successfully . Fellow is the status of klever
[cid:_Foxmail.1 at 6f2d3890-fe83-fa0e-849c-8d30bfe006b7]
[cid:_Foxmail.1 at e85213a7-ed29-811e-9d75-6203da02611e]
发件人: 黄有焱<mailto:huangyy at landicorp.com>
发送时间: 2019-03-29 09:36
收件人: Evgeny Novikov<mailto:novikov at ispras.ru>; khoroshilov<mailto:khoroshilov at ispras.ru>
抄送: ldv-project<mailto:ldv-project at linuxtesting.org>
主题: Re: [yandex.ru代发]Re: [ldv-project] can not download ldv-docker-0.8.tar.gz
  hi Evgeny Novikov
  Thanking for your reply and help. Fellow is my enviroment and some issues info.
  1: what version of Klever did you install?
   I fetch klever by git clone --recursive https://forge.ispras.ru/git/klever.git,<https://forge.ispras.ru/git/klever.git,so> so it should on master branch.
  2:Collect the appropriate build base, met some error,attachment is the error log
[cid:_Foxmail.1 at 8fc79823-77d0-2a35-53bd-98fa9532541a]
3: My pc enviroment:
[cid:_Foxmail.1 at 0c27f3af-e18d-ab93-7b1d-6ac8985eb236]
If I should switch to debian 9?
4: I found that Klever 2.0 is only support x86 and x86_64.
[cid:_Foxmail.1 at 0c603db7-d275-2b82-2100-99210188bcaf]
Our projects are arm platform. Is there klever version can support arm platform on your hand? If have,can your release to me?

Thanks and best regards
youyan
Fujian LANDI Commercial Equipment Co., Ltd
发件人: Evgeny Novikov<mailto:novikov at ispras.ru>
发送时间: 2019-03-28 13:52
收件人: 黄有焱<mailto:huangyy at landicorp.com>; khoroshilov<mailto:khoroshilov at ispras.ru>
抄送: ldv-project<mailto:ldv-project at linuxtesting.org>
主题: [yandex.ru代发]Re: [ldv-project] can not download ldv-docker-0.8.tar.gz
Dear youyan,

we welcome your goal and we will be glad to help you.

First of all, I would like to know what version of Klever did you install? The latest version from the master branch should work pretty well, but there can be some new tricky issues regarding Klever 2.0 that is marked by tag v2.0 in the Git repository.

Unfortunately, either in Klever 2.0 or in the latest version of Klever we have not any user documentation except for deployment instructions. If your deployment was successful, you should be able to open localhost:8998 in your browser. There you can sign in with user manager (the password is the same as username) that has very many permissions except for user management. For the latter there is user admin (the password is the same as username).

After successful signing in, please, check that in Menu -> Schedulers the Klever scheduler is healthy.

Then you can try to start solution of verification job Linux 3.14. And you should see an error like "FileExistsError: Build base "/home/admin/klever-bin/klever/build bases/linux-3.14.79" is not a directory".

Below, please, find my previous answer regarding preparing sources for verification:

Now we do not provide source code of target programs to Klever directly, but prepare so called build bases in advance. To do that you need to do the following actions on a machine where you deployed Klever 2.0:

1. Get sources of required versions of the Linux kernel, e.g.:
$ wget https://cdn.kernel.org/pub/linux/kernel/v3.x/linux-3.14.79.tar.xz
$ tar -xf linux-3.14.79.tar.xz
$ cd linux-3.14.79

2. Configure the Linux kernel appropriately, e.g.:
$ make allmodconfig

3. Build the Linux kernel intercepting build commands, e.g.:
$ clade-intercept make -j16
(this can take several dozens of minutes)

4. Collect the appropriate build base:
PATH=$PATH:$KLEVER_DEPLOY_DIR/klever-addons/CIF/ clade-all -p linux_kernel cmds.txt
(this can take several hours, and unfortunately there can be some crucial errors somewhere in the middle since we did not test it much with new versions of the Linux kernel, but I hope that we can workaround all issues)


5. Execute this magic command:
echo "[\"$(readlink -f .)\"]" > "clade/Storage/working source trees.json"


You don't need to execute the last step for the latest Klever from the master branch.


Your build base is ready. It is placed into directory clade. You can rename this directory to something that you like more, e.g. to linux-3.14.79. Then you need to either specify an absolute path to this directory in job.json (option "build base") or install it using an appropriate deployment configuration and deployment scripts.

For new versions of the Linux kernel you will need to patch source files in subdirectory "Storage" within the build base.

After all you should be able to solve job "Linux 3.14".

If you will meet some issues, please, report them to us. We will try to solve or workaround them together.

At last, you can read and contribute Further development of Klever in favor of verification of the Linux kernel<https://docs.google.com/document/d/11e7cDzRqx0nO1UBcM75l6MS28zRBJUicXdNiReEpDKI/edit>, that describes many different issues with Klever.

--
Evgeny Novikov
Linux Verification Center, ISP RAS
http://linuxtesting.org



28.03.2019, 07:36, "黄有焱" <huangyy at landicorp.com>:
hi khoroshilov
     it very kind of you for replying my email. I have already installed klever on my ubunut 18.04 PC.
  But I don't know how to test my kernel module driver.Could you give me some steps or tip? make me
can startup klever, for improving our source code quality. thanks!!!
1:
2:
3
[cid:_Foxmail.1 at 93632628-ae20-51dc-537c-502cb2fe82b8]


Thanks and best regards
youyan
Fujian LANDI Commercial Equipment Co., Ltd

From: Alexey Khoroshilov<mailto:khoroshilov at ispras.ru>
Date: 2019-03-27 21:20
To: 黄有焱<mailto:huangyy at landicorp.com>
CC: ldv-project at linuxtesting.org<mailto:ldv-project at linuxtesting.org>
Subject: Re: can not download ldv-docker-0.8.tar.gz
Dear huangyy,

Thank you for the report.
We have updated the link to the LDV image:
http://sed.ispras.ru/fmprac/data/ldv-docker-0.8.tar.gz

But as you may know, we switched from LDV Tools to the next generation toolset that is called KLEVER:
https://forge.ispras.ru/projects/klever

A draft of documentation for KLEVER is available here:
https://klever.readthedocs.io/en/latest/

Best regards,
Alexey Khoroshilov
Linux Verification Center, ISPRAS


On 27.03.2019 4:31, 黄有焱 wrote:
hi
I want to download LDV Tools 0.8 docker,but failed. access the web url,the result is fellow
[cid:_Foxmail.1 at 02491eb2-9eeb-643b-ca75-7ea46b93426f]
could you help me solve the it?or tell me,how can I download the archiver?Thanks!!! looking forward to your reply.


________________________________
黄有焱
,

_______________________________________________
ldv-project mailing list
ldv-project at linuxtesting.org<mailto:ldv-project at linuxtesting.org>
http://linuxtesting.org/cgi-bin/mailman/listinfo/ldv-project
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxtesting.org/pipermail/ldv-project/attachments/20190329/e3f00301/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InsertPic_1089.png
Type: image/png
Size: 47519 bytes
Desc: InsertPic_1089.png
URL: <http://linuxtesting.org/pipermail/ldv-project/attachments/20190329/e3f00301/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InsertPic_30C6.png
Type: image/png
Size: 104227 bytes
Desc: InsertPic_30C6.png
URL: <http://linuxtesting.org/pipermail/ldv-project/attachments/20190329/e3f00301/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InsertPic_6401(03-29-09-38-50).png
Type: image/png
Size: 179904 bytes
Desc: InsertPic_6401(03-29-09-38-50).png
URL: <http://linuxtesting.org/pipermail/ldv-project/attachments/20190329/e3f00301/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InsertPic_D7F0(03-29-09-38-50).png
Type: image/png
Size: 23941 bytes
Desc: InsertPic_D7F0(03-29-09-38-50).png
URL: <http://linuxtesting.org/pipermail/ldv-project/attachments/20190329/e3f00301/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InsertPic_B1D0(03-29-09-38-50).png
Type: image/png
Size: 31898 bytes
Desc: InsertPic_B1D0(03-29-09-38-50).png
URL: <http://linuxtesting.org/pipermail/ldv-project/attachments/20190329/e3f00301/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InsertPic_(03-28(03-29-09-38-50).png
Type: image/png
Size: 44099 bytes
Desc: InsertPic_(03-28(03-29-09-38-50).png
URL: <http://linuxtesting.org/pipermail/ldv-project/attachments/20190329/e3f00301/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InsertPic_554A(0(03-29-09-38-50).png
Type: image/png
Size: 58859 bytes
Desc: InsertPic_554A(0(03-29-09-38-50).png
URL: <http://linuxtesting.org/pipermail/ldv-project/attachments/20190329/e3f00301/attachment-0006.png>


More information about the ldv-project mailing list