Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1074 by [email protected]: Processing test outputs is failing
http://code.google.com/p/robotframework/issues/detail?id=1074
At the end of a test run, the processing of outputs.xml fails under
robotframework 2.7b2.
Ubuntu 11.04
Python 2.6 and 2.7 (fails under both)
robotframework 2.7b2
The following is a traceback seen
...
Output: /home/emanlove/testrf-s2l/rf-s2l/test/results/output.xml
Checking /home/emanlove/testrf-s2l/rf-s2l/test/results/output.xml
Traceback (most recent call last):
File "/home/emanlove/testrf-s2l/rf-s2l/test/resources/statuschecker.py",
line 181, in <module>
rc = process_output(infile, outfile)
File "/home/emanlove/testrf-s2l/rf-s2l/test/resources/statuschecker.py",
line 47, in process_output
suite = TestSuite(inpath)
File "/home/emanlove/cleancar-python27-env/lib/python2.7/site-packages/robotframework-2.7b2-py2.7.egg/robot/output/__init__.py",
line 28, in TestSuite
suite, errors = process_output(outpath)
NameError: global name 'process_output' is not defined
Log: /home/emanlove/testrf-s2l/rf-s2l/test/results/log.html
Report: /home/emanlove/testrf-s2l/rf-s2l/test/results/report.html
All critical tests passed
The following are steps to reproduce
~$ virtualenv -p /usr/bin/python2.6 --no-site-packages python26-env-rf_2.6.3
~$ virtualenv -p /usr/bin/python2.6 --no-site-packages python26-env-rf_2.7b2
# using robotframework 2.7b2 ...
~$ source python26-env-rf_2.7b2/bin/activate
(python26-env-rf_2.7b2) ~$ easy_install decorator
(python26-env-rf_2.7b2) ~$ easy_install robotframework==2.7b2
(python26-env-rf_2.7b2) ~$ pip install -U selenium
(python26-env-rf_2.7b2) ~$ cd testrf-s2l/
(python26-env-rf_2.7b2) ~$ git clone
https://github.com/rtomac/robotframework-selenium2library.git rf-s2l
(python26-env-rf_2.7b2) ~/testrf-s2f$ cd rf-s2l/test/
(python26-env-rf_2.7b2) ~/testrf-s2f/rf-s2l/test$ python run_tests.py
python ff
# processing outputs.xml fails
(python26-env-rf_2.7b2) ~/testrf-s2f/rf-s2l/test$ cd ~
(python26-env-rf_2.7b2) ~$ deactivate
# now using robotframework 2.6.3 ...
~$ source python26-env-rf_2.6.3/bin/activate
(python26-env-rf_2.6.3) ~$ easy_install decorator
(python26-env-rf_2.6.3) ~$ easy_install robotframework==2.6.3
(python26-env-rf_2.6.3) ~$ pip install -U selenium
(python26-env-rf_2.6.3) ~$ cd testrf-s2l/
(python26-env-rf_2.6.3) ~$ git clone
https://github.com/rtomac/robotframework-selenium2library.git rf-s2l
(python26-env-rf_2.6.3) ~/testrf-s2f$ cd rf-s2l/test/
(python26-env-rf_2.6.3) ~/testrf-s2f/rf-s2l/test$ python run_tests.py
python ff
# processing outputs.xml passes
(python26-env-rf_2.6.3) ~/testrf-s2f/rf-s2l/test$ cd ~
(python26-env-rf_2.6.3) ~$ deactivate