Giter Site home page Giter Site logo

Comments (4)

zhouhao3 avatar zhouhao3 commented on June 12, 2024

I conducted the relevant tests and it worked successfully.

root@clear-lkp-30040~/lkp-tests # lkp run autotest-part1-cyclictest.yaml                                                                                                            
2019-07-29 05:07:08 python2.7 client/autotest-local run cyclictest                                                                                                                   
05:07:09 INFO | Writing results to /lkp/benchmarks/autotest/client/results/default                                                                                              
05:07:09 ERROR| Could not determine initlevel, assuming 2                                                                                                                         
05:07:09 INFO | Could not symlink init scripts (lack of permissions)                                                                                                              
05:07:09 INFO | START   ----    ----    timestamp=1564376829    localtime=Jul 29 05:07:09                                                                                       
05:07:09 INFO |         START   cyclictest      cyclictest      timestamp=1564376829    localtime=Jul 29 05:07:09                                                                
05:07:09 WARNI| System python is too old, crash handling disabled                                                                                                               
05:08:52 INFO | System log file not found (looked for ['/var/log/messages', '/var/log/syslog'])
05:08:52 INFO |                 GOOD    cyclictest      cyclictest      timestamp=1564376932    localtime=Jul 29 05:08:52       completed successfully
05:08:52 INFO |         END GOOD        cyclictest      cyclictest      timestamp=1564376932    localtime=Jul 29 05:08:52
05:08:52 INFO | END GOOD        ----    ----    timestamp=1564376932    localtime=Jul 29 05:08:52
05:08:52 INFO | Report successfully generated at /lkp/benchmarks/autotest/client/results/default/job_report.html
kill 12224 vmstat --timestamp -n 10
kill 12222 dmesg --follow --decode
wait for background processes: 12226 meminfo

If I delete the tests under autotest/client/tests, I will see the problem you said after testing again.

root@clear-lkp-30040~/lkp-tests # lkp run autotest-part1-cyclictest.yaml
2019-07-29 05:34:52 python2.7 client/autotest-local run cyclictest
05:34:52 ERROR| Can not find test cyclictest/control
kill 13462 vmstat --timestamp -n 10
kill 13460 dmesg --follow --decode
wait for background processes: 13465 meminfo

I think the reason you made a mistake is that you haven't download all the autotest tests. Because autotest contains submodules.
You can check if the following test exists in the path below.

root@clear-lkp-30040/lkp/benchmarks/autotest/client/tests # ls
aborttest            compilebench  docker            fio          iosched_bugs      LICENSE         parallel_dd      regression        smatch                  unixbench
aio_dio_bugs         connectathon  ebizzy            flail        iozone            linus_stress    perfmon          requirements.txt  sparse                  unixbench5
aiostress            cpuflags      error_cleanup     fsdev        iperf             linux-tools     pi_tests         rmaptest          spew                    uptime
asynctest            cpu_hotplug   error_initialize  fsfuzzer     ipv6connect       lmbench         pktgen           rtc               stress                  virt
autotest_regression  ctcs          error_setup       fs_mark      isic              ltp             posixtest        rttester          synctest                wb_kupdate
barriertest          cyclictest    error_skip_step   fsstress     kernbench         lvsetup         profiler_sync    runtests.py       sysbench                xfstests
bash_shared_mapping  dacapo        error_test_bug    fsx          kernelbuild       memory_api      profiler_test    scrashme          systemtap               xmtest
...

.
There is a patch has solved this problem, you can try to lkp install autotest-part1-cyclictest.yaml using the latest code, I think it should be able to solve this problem. Please let me know if there is any problem.

from lkp-tests.

ckoppolu avatar ckoppolu commented on June 12, 2024

from lkp-tests.

zhouhao3 avatar zhouhao3 commented on June 12, 2024

ckoppolu@jfsrtse-clear~/lkp-tests $ ls -lart /lkp/benchmarks/autotest/client/tests/
total 8

It seems that it have not downloaded all the tests here.There will be no error when executing lkp install.
Because your original autotest file has only a few partial tests, re-executing git submodule update --init --recursive has no effect.

I suggest you do the following:

  1. Delete the /lkp/behchmarks/autotest file
  2. Delete the /tmp/build-autotest/autotest file
  3. Re-run lkp install autotest-part1-cyclictest.yaml

I think this will solve your problem.

from lkp-tests.

ckoppolu avatar ckoppolu commented on June 12, 2024

Yes, it did! thanks for the solution.

from lkp-tests.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.