Closed Bug 829790 Opened 11 years ago Closed 11 years ago

Marionette client's XML report fails when path does not contain a directory

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(firefox19 wontfix, firefox20 wontfix, firefox21 fixed, b2g18 fixed)

VERIFIED FIXED
mozilla21
Tracking Status
firefox19 --- wontfix
firefox20 --- wontfix
firefox21 --- fixed
b2g18 --- fixed

People

(Reporter: stephend, Assigned: davehunt)

References

()

Details

Attachments

(1 file)

See http://qa-selenium.mv.mozilla.com:8080/job/b2g.unagi.gaia.nightly.ui/83/console

When we go to write the XML output of a job, we hit the following:

SUMMARY
-------
passed: 29
failed: 9
todo: 1
posting results to autolog
starting httpd
Traceback (most recent call last):
  File "/var/jenkins/workspace/b2g.unagi.gaia.nightly.ui/.env/bin/gaiatest", line 9, in <module>
    load_entry_point('gaiatest==0.4', 'console_scripts', 'gaiatest')()
  File "/var/jenkins/workspace/b2g.unagi.gaia.nightly.ui/gaiatest/runtests.py", line 17, in main
    cli(runner_class=GaiaTestRunner)
  File "/var/jenkins/workspace/b2g.unagi.gaia.nightly.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.5.15-py2.7.egg/marionette/runtests.py", line 710, in cli
    runner = startTestRunner(runner_class, options, tests)
  File "/var/jenkins/workspace/b2g.unagi.gaia.nightly.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.5.15-py2.7.egg/marionette/runtests.py", line 705, in startTestRunner
    runner.run_tests(tests, testtype=options.type)
  File "/var/jenkins/workspace/b2g.unagi.gaia.nightly.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.5.15-py2.7.egg/marionette/runtests.py", line 372, in run_tests
    os.makedirs(os.path.dirname(self.xml_output))
  File "/var/jenkins/workspace/b2g.unagi.gaia.nightly.ui/.env/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ''
Attachment #701614 - Flags: review?(jgriffin) → review+
Dave, do you need this in pypi?  If so, I'll bump the version and post.
Whiteboard: [automation-needed-in-aurora][automation-needed-in-b2g18]
There's no need to release just for this.
https://hg.mozilla.org/mozilla-central/rev/49007a675939
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
https://hg.mozilla.org/releases/mozilla-b2g18/rev/3cc28892a0c1
Whiteboard: [automation-needed-in-aurora][automation-needed-in-b2g18]
Verified FIXED; not seeing this in http://qa-selenium.mv.mozilla.com:8080/job/b2g.unagi.gaia.nightly.ui/147/console, and we haven't made any job-config changes, that I'm aware of.
Status: RESOLVED → VERIFIED
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: