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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Star Tan
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):
  Fil! e "/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



_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Cannot submit LLVM test-suite results to the database using LNT tool

Tobias Grosser-5
On 06/10/2013 03:05 AM, Star Tan wrote:

> 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.

I thought that the LNT server would automatically add missing databases.
I have no idea why this is failing for nightlytest.

> Could anyone give any suggestion?

We normally just use the default testing style (which to my knowledge is
simple). As simple works for you, I would just go on with this.

Tobias
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev