test failure for tests.syncdaemon.test_hashqueue.HashQueueTests.test_being_hashed

Bug #443159 reported by Mark G. Saye
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Won't Fix
Medium
Unassigned

Bug Description

I'm getting the following test failure, unrelated to the branch I'm reviewing:

[FAIL]: tests.syncdaemon.test_hashqueue.HashQueueTests.test_being_hashed

Traceback (most recent call last):
  File "/data/home/markgsaye/canonical/ubuntuone-client/dobey-bookmark-fixins/tests/syncdaemon/test_hashqueue.py", line 334, in test_being_hashed
    self.assertTrue(hq.is_hashing(tfile1, "mdid"))
twisted.trial.unittest.FailTest: None
-------------------------------------------------------------------------------
Ran 417 tests in 47.950s

FAILED (failures=1, successes=416)
make: *** [check] Error 1

Full output can be seen at: https://pastebin.canonical.com/22925/

Mark G. Saye (markgsaye)
Changed in ubuntuone-client:
assignee: nobody → Facundo Batista (facundo)
status: New → Triaged
Changed in ubuntuone-client:
importance: Undecided → Medium
Revision history for this message
Facundo Batista (facundo) wrote :

I refactored the hash tests a while ago.

Changed in ubuntuone-client:
status: Triaged → Fix Released
Revision history for this message
dobey (dobey) wrote :

This still occurs intermittently. Running the HashQueue tests in a loop, I get the following every now and then:

./contrib/test -l 50 -t tests.syncdaemon.test_hashqueue

  HashQueueTests
    test_being_hashed ... Exception in thread Thread-205:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/home/dobey/Projects/canonical/ubuntuone-client/gimme-back-my-bullets/ubuntuone/syncdaemon/hash_queue.py", line 80, in run
    hashdata, crc, size, stat = result
ValueError: need more than 3 values to unpack

Traceback (most recent call last):
  File "/home/dobey/Projects/canonical/ubuntuone-client/gimme-back-my-bullets/tests/syncdaemon/test_hashqueue.py", line 389, in test_being_hashed
    self.assertTrue(hq.is_hashing(tfile1, "mdid"))
twisted.trial.unittest.FailTest: None
[FAIL]

Changed in ubuntuone-client:
status: Fix Released → Confirmed
Changed in ubuntuone-client:
assignee: Facundo Batista (facundo) → nobody
Changed in ubuntuone-client:
status: Confirmed → Won't Fix
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.