Isolation failure for TestPPAHtaccessTokenGeneration.testGenerateHtpasswd

Bug #953911 reported by Francesco Banconi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Francesco Banconi

Bug Description

The test *lp.archivepublisher.tests.test_generate_ppa_htaccess.TestPPAHtaccessTokenGeneration.testGenerateHtpasswd * fails when run in isolation:

Traceback (most recent call last):
  File "/var/lib/buildbot/slaves/slave/lucid-devel/build/lib/lp/archivepublisher/tests/test_generate_ppa_htaccess.py", line 129, in testGenerateHtpasswd
    filename = script.generateHtpasswd(self.ppa, tokens)
  File "/var/lib/buildbot/slaves/slave/lucid-devel/build/lib/lp/archivepublisher/scripts/generate_ppa_htaccess.py", line 91, in generateHtpasswd
    fd, temp_filename = tempfile.mkstemp(dir=pub_config.htaccessroot)
  File "/usr/lib/python2.6/tempfile.py", line 293, in mkstemp
    return _mkstemp_inner(dir, prefix, suffix, flags)
  File "/usr/lib/python2.6/tempfile.py", line 228, in _mkstemp_inner
    fd = _os.open(file, flags, 0600)
OSError: [Errno 2] No such file or directory: '/var/tmp/ppa/joe/myppa/tmpahcqoY'

Related branches

Changed in launchpad:
assignee: nobody → Francesco Banconi (frankban)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
tags: added: qa-untestable
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.