[LLVMdev] Cannot submit LLVM test-suite results to the database using LNT tool

Star Tan tanmx_star at yeah.net
Mon Jun 10 03:05:35 PDT 2013


Hello,


When I was running the LNT testing for LLVM test-suite, it failed to submit the results to database.


The command is:
lnt runtest --submit db nt 
--sandbox sandbox --cc clang --cxx clang++  --test-suite ./test-suite-3.2/  --llvm-src ~/projects/llvm/llvm --llvm-obj ~/projects/llvm/llvm_build/ --test-style=nightly --only-test MultiSource/Benchmarks/mediabench/


When submitting the results to database, it fails with the following information:


2013-06-10 09:51:30: submitting result to 'db'
No handlers could be found for logger "lnt.server.db.migrate"
Importing 'tmpmHD4sN.json'
Import Failed:
--
import failure: Traceback (most recent call last):
  File "/home/star/projects/llvm/lnt/lnt/util/ImportData.py", line 74, in import_and_report
    success,run = db.importDataFromDict(data, config=db_config)
  File "/home/star/projects/llvm/lnt/lnt/server/db/v4db.py", line 163, in importDataFromDict
    db_name)
ValueError: test suite u'nightlytest' not present in this database!


However, if I run the testing with --test-style=simple, then it can succeed in submitting to database.


Could anyone give any suggestion?


PS: Simon, I see you have posted a similar question last year, have you find the solution?


Bests,
Star
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130610/71fc5df7/attachment.html>


More information about the llvm-dev mailing list