Simon Atanasyan
2012-Sep-18 20:11 UTC
[LLVMdev] Cannot import LLVM test-suite results to the database using LNT tool
Hi, I follow quick-start guide http://llvm.org/docs/lnt/quickstart.html to run LLVM test-suite. It looks like I either make a mistake or the guide is not correct. Here is the command used to run nightly test: [[ $ lnt runtest nt --sandbox=$PWD/test-suite.bld \ --small --test-style=nightly \ --cc=$PWD/llvm.bld/Release+Asserts/bin/clang \ --cxx=$PWD/llvm.bld/Release+Asserts/bin/clang++ \ --test-suite=$PWD/test-suite.svn \ --llvm-src=$PWD/llvm.svn \ --llvm-obj=$PWD/llvm.bld \ -j4 --cflag="-march=core2" --mcpu=core2 ]] The test suite runs fine but import is failed: [[ Importing 'tmp9UX1UC.json' Import Failed: -- import failure: Traceback (most recent call last): File "/home/simon/work/lnt.svn/lnt/util/ImportData.py", line 74, in import_and_report success,run = db.importDataFromDict(data, config=db_config) File "/home/simon/work/lnt.svn/lnt/server/db/v4db.py", line 161, in importDataFromDict db_name) ValueError: test suite u'nightlytest' not present in this database! -- ]] If I use "--test-style=simple" to run the test-suite I get another error at the end: [[ Traceback (most recent call last): File "/home/simon/work/python.sandbox/bin/lnt", line 9, in <module> load_entry_point('LNT==0.4.1dev', 'console_scripts', 'lnt')() File "/home/simon/work/lnt.svn/lnt/lnttool/main.py", line 281, in main commands[cmd](cmd, args[1:]) File "/home/simon/work/lnt.svn/lnt/lnttool/import_data.py", line 56, in action_import opts.no_email, opts.no_report) File "/home/simon/work/lnt.svn/lnt/util/ImportData.py", line 98, in import_and_report email_config, toAddress, success, commit) File "/home/simon/work/lnt.svn/lnt/util/NTEmailReport.py", line 16, in emailReport was_added, will_commit) File "/home/simon/work/lnt.svn/lnt/util/NTEmailReport.py", line 53, in getReport result=result, compare_to=compare_to) File "/home/simon/work/lnt.svn/lnt/server/reporting/runs.py", line 195, in generate_run_report start_time=start_time) File "/home/simon/work/python.sandbox/lib/python2.6/site-packages/Flask-0.9-py2.6.egg/flask/templating.py", line 123, in render_template ctx.app.update_template_context(context) AttributeError: 'NoneType' object has no attribute 'app' ]] Can anyone shed light on this problem? -- Simon
Maybe Matching Threads
- [LLVMdev] Cannot submit LLVM test-suite results to the database using LNT tool
- [LLVMdev] LNT: failing to parse compiler info: what am I doing wrong?
- [LLVMdev] LNT: failing to parse compiler info: what am I doing wrong?
- [LLVMdev] LNT: failing to parse compiler info: what am I doing wrong?
- using the system command