When I try running the qa_regression_testing script as define in the
jobs file, I get:

# sudo ./scripts/qa_regression_suite test-avahi.py
Traceback (most recent call last):
  File "./scripts/qa_regression_suite", line 170, in <module>
    sys.exit(main(sys.argv[1:]))
  File "./scripts/qa_regression_suite", line 163, in main
    for test in tests:
  File "./scripts/qa_regression_suite", line 62, in run_qa_regression
    fetch_qa_regression(location, directory)
  File "./scripts/qa_regression_suite", line 41, in fetch_qa_regression
    os.makedirs(dirname)
  File "/usr/lib/python2.6/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/cache/checkbox'

The problem here is that the cache directory is attempted to be created
after the script changes its own uid. So, please try applying the
attached patch which uses ~/.cache instead and let me know if that
works.

** Patch added: "Patch qa_regression_testing directory."
   http://launchpadlibrarian.net/44927195/563607.patch

** Changed in: checkbox
     Assignee: (unassigned) => Marc Tardif (cr3)

** Changed in: checkbox (Ubuntu)
     Assignee: (unassigned) => Marc Tardif (cr3)

** Changed in: checkbox (Ubuntu)
       Status: New => In Progress

** Changed in: checkbox
       Status: New => Incomplete

** Changed in: checkbox
       Status: Incomplete => In Progress

-- 
checkbox does not run tests, does not offer any indication as to why
https://bugs.launchpad.net/bugs/563607
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to