#2298 closed defect (duplicate)

intermittent test failure in test_util.FileUtil.test_disk_stats

Reported by: warner Owned by:
Priority: minor Milestone: undecided
Component: code Version: 1.10.0
Keywords: Cc:
Launchpad Bug:

Description (last modified by warner)

Travis recorded a failure in test_util.FileUtil.test_disk_stats, while running under python2.6, against my "2023-caution" branch (git revision 1a07dfdedef4747784ad1798542a2f4c0b9c4be3). I can't think of any reason that ought to behave differently than the trunk revision 6a38a3c54e0846dea625f5af0a4d365f9368acf6 .

https://travis-ci.org/tahoe-lafs/tahoe-lafs/jobs/35085800#L3722

[FAIL]
Traceback (most recent call last):
  File "/home/travis/build/tahoe-lafs/tahoe-lafs/src/allmydata/test/test_util.py", line 522, in test_disk_stats
    self.failUnless(disk['used'] > 0, disk['used'])
  File "/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/twisted/trial/_synctest.py", line 308, in assertTrue
    raise self.failureException(msg)

twisted.trial.unittest.FailTest: 0

allmydata.test.test_util.FileUtil.test_disk_stats

This test didn't fail for me on OS-X under python2.6 .

Change History (4)

comment:1 Changed at 2014-09-12T05:38:13Z by warner

  • Description modified (diff)

comment:2 Changed at 2014-09-12T07:07:18Z by warner

Also, the same code didn't fail under py2.6 (on travis). A rebased version of the same changes (where the rebasing only changed welcome.xhtml) passed on both 2.6 and 2.7 on travis. So I'm pretty sure this is intermittent. I ran test_util.FileUtil locally (OS-X py2.7) 4400 times without a failure.

I've pushed a branch with some extra debug prints to try and figure out what's going on.

https://travis-ci.org/tahoe-lafs/tahoe-lafs/builds/35092030

Last edited at 2014-09-12T07:15:16Z by warner (previous) (diff)

comment:4 Changed at 2014-09-12T16:05:24Z by daira

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #2290.

Note: See TracTickets for help on using tickets.