[llvm-dev] Error while report submission to lnt server

Zanjurne, Santosh via llvm-dev llvm-dev at lists.llvm.org
Thu Sep 15 03:44:22 PDT 2016


Hello,
I am trying to setup lnt server for llvm test-suite, specifically to see profile information whenever there is a regression.   All my setup works fine i.e. results are submitted and are viewable from the web browser etc..  except below error is thrown while doing submission and perf data is not visible/uploaded.  Is this a known issue?  I am using the latest sources from trunk.

Testing Time: 0.44s
  Expected Passes    : 11
2016-09-15 09:54:01: submitting result to '/root/santosh/myperfdb/'
No handlers could be found for logger "lnt.server.db.migrate"
2016-09-15 05:54:23 INFO: Queuing background job to process fieldchanges 10006
2016-09-15 05:54:23 INFO: Starting workers
2016-09-15 05:54:23 INFO: Job queue empty.
2016-09-15 05:54:23 INFO: Successfully created db_default/v4/nts/3
2016-09-15 05:54:23 INFO: Running async wrapper: post_submit_tasks 10541
2016-09-15 05:54:23 ERROR: Subprocess failed with:Traceback (most recent call last):
  File "/root/santosh/lnt/lnt/util/async_ops.py", line 125, in async_wrapper
    _v4db = current_app.old_config.get_database(ts_args['db'])
  File "/root/santosh/mysandbox/lib/python2.7/site-packages/Werkzeug-0.9.4-py2.7.egg/werkzeug/local.py", line 338, in __getattr__    return getattr(self._get_current_object(), name)
  File "/root/santosh/mysandbox/lib/python2.7/site-packages/Werkzeug-0.9.4-py2.7.egg/werkzeug/local.py", line 297, in _get_current_object    return self.__local()
  File "/root/santosh/mysandbox/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/globals.py", line 34, in _find_app    raise RuntimeError('working outside of application context')
RuntimeError: working outside of application context

Importing 'report.json'
Import succeeded.


My runtest command looks like this:
export OPT=-O3;export RONO=1;~/santosh/mysandbox/bin/lnt runtest test-suite --submit ~/santosh/myperfdb/  --use-perf=all  --cmake-cache=Release  --run-order=ro_$RONO --cflags=$OPT --cxxflags=$OPT  --use-lit=/local/home/qa/idcfsmnt/santosh/LLVM/staging/llvm/utils/lit/lit.py  --sandbox  ~/santosh/lnttestwk --cc /home/qa_home/santosh/LLVM/trunk/install/bin/clang --test-suite  $PWD/llvm-test-suite --only-test=SingleSource/Benchmarks/Stanford -j 1

Regards,
Santosh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160915/eac2b39f/attachment-0001.html>


More information about the llvm-dev mailing list