This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ARM Ubuntu 3.x buildbot failing test_dbm
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.2, Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: barry, nadeem.vawda
Priority: normal Keywords: buildbot

Created on 2012-02-25 08:45 by nadeem.vawda, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg154215 - (view) Author: Nadeem Vawda (nadeem.vawda) * (Python committer) Date: 2012-02-25 08:45
The ARM Ubuntu 3.x buildbot often fails test_dbm:

http://www.python.org/dev/buildbot/all/builders/ARM%20Ubuntu%203.x/builds/364/steps/test/logs/stdio
http://www.python.org/dev/buildbot/all/builders/ARM%20Ubuntu%203.x/builds/367/steps/test/logs/stdio
http://www.python.org/dev/buildbot/all/builders/ARM%20Ubuntu%203.x/builds/368/steps/test/logs/stdio
http://www.python.org/dev/buildbot/all/builders/ARM%20Ubuntu%203.x/builds/372/steps/test/logs/stdio

    ======================================================================
    ERROR: test_anydbm_creation (test.test_dbm.TestCase-dbm.ndbm)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/var/lib/buildbot/buildarea/3.x.warsaw-ubuntu-arm/build/Lib/test/test_dbm.py", line 70, in test_anydbm_creation
        self.read_helper(f)
      File "/var/lib/buildbot/buildarea/3.x.warsaw-ubuntu-arm/build/Lib/test/test_dbm.py", line 111, in read_helper
        self.assertEqual(self._dict[key], f[key.encode("ascii")])
    KeyError: b'0'

    ======================================================================
    ERROR: test_anydbm_modification (test.test_dbm.TestCase-dbm.ndbm)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/var/lib/buildbot/buildarea/3.x.warsaw-ubuntu-arm/build/Lib/test/test_dbm.py", line 85, in test_anydbm_modification
        self.read_helper(f)
      File "/var/lib/buildbot/buildarea/3.x.warsaw-ubuntu-arm/build/Lib/test/test_dbm.py", line 111, in read_helper
        self.assertEqual(self._dict[key], f[key.encode("ascii")])
    KeyError: b'0'

    ======================================================================
    ERROR: test_anydbm_read (test.test_dbm.TestCase-dbm.ndbm)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/var/lib/buildbot/buildarea/3.x.warsaw-ubuntu-arm/build/Lib/test/test_dbm.py", line 91, in test_anydbm_read
        self.read_helper(f)
      File "/var/lib/buildbot/buildarea/3.x.warsaw-ubuntu-arm/build/Lib/test/test_dbm.py", line 111, in read_helper
        self.assertEqual(self._dict[key], f[key.encode("ascii")])
    KeyError: b'0'

The stdio logs also show possibly-related output on stderr:

    test test_dbm failed
    @test_27319_tmp.db: unable to flush: No such file or directory
    @test_27319_tmp.db: unable to flush: No such file or directory

This is printed before the error tracebacks, but I assume it actually
happens afterwards (which is entirely possible if stderr is line-buffered
and stdout is not).
msg154245 - (view) Author: Nadeem Vawda (nadeem.vawda) * (Python committer) Date: 2012-02-25 12:48
Also failing on 3.2:

http://www.python.org/dev/buildbot/all/builders/ARM%20Ubuntu%203.2/builds/227/steps/test/logs/stdio
msg154286 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2012-02-25 22:30
I was missing libgdbm-dev on that machine.  I just installed it and am running
the buildbottests by hand.  Let's see if that fixes things.
msg172833 - (view) Author: Nadeem Vawda (nadeem.vawda) * (Python committer) Date: 2012-10-13 22:00
No sign of these failures any more; looks like that fixed it.
History
Date User Action Args
2022-04-11 14:57:27adminsetgithub: 58328
2012-10-13 22:00:08nadeem.vawdasetstatus: open -> closed
resolution: fixed
messages: + msg172833

stage: needs patch -> resolved
2012-02-25 22:30:53barrysetmessages: + msg154286
2012-02-25 18:32:30pitrousetnosy: + barry
2012-02-25 12:48:34nadeem.vawdasetmessages: + msg154245
versions: + Python 3.2
2012-02-25 08:45:19nadeem.vawdacreate