My favorites | Sign in
Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
                
New issue | Search
for
| Advanced search | Search tips
Issue 35: Intermittent (probably) failure from tests/schedule.py
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ewxrjk
Closed:  Oct 17
Priority-Low
Maintainability
Type-Other


Sign in to add a comment
 
Reported by ewxrjk, May 30, 2009
--- schedule ---
 starting daemon
  waiting for socket...
  took about 1s for socket to appear
 creating user fred
10 lockers
 initiating rescan
 rescan completed
 waiting for nothing to be playing
 scheduling a track for the future
 disorder schedule-list output:
iS8YUInblbH 2009-05-30 00:31:42 BST   N fred     play
/home/richard/_builds/araminta/disorder/tests/testroot/tracks/Joe
Bloggs/First Album/05:Fifth track.ogg
 waiting for track to play
  .
  .
  .
Traceback (most recent call last):
  File "/home/richard/_builds/araminta/disorder/tests/dtest.py", line 335,
in run
    module.test()
  File "./schedule.py", line 69, in test
 stopping daemon
  waiting for daemon
    assert int(p["when"]) >= when, "checking track played at right time"
AssertionError: checking track played at right time
  daemon has stopped (rc=0)
 FAILED
FAIL: schedule.py

Comment 1 by ewxrjk, Jul 15, 2009
(No comment was entered for this change.)
Labels: Type-Defect
Comment 2 by ewxrjk, Jul 18, 2009
revno: 932
committer: Richard Kettlewell <rjk@greenend.org.uk>
branch nick: disorder.dev
timestamp: Sat 2009-07-18 15:15:49 +0100
message:
  Slightly chattier tests/schedule.py.
  Might help with  issue #35 .

Status: Started
Comment 3 by ewxrjk, Jul 23, 2009
--- schedule ---
 starting daemon
  waiting for socket...
  took about 1s for socket to appear
 creating user fred
 initiating rescan
 rescan completed
 waiting for nothing to be playing
  .
  .
  .
  .
 scheduling a track for the future
 disorder schedule-list output:
l0BQK4pjIKH 2009-07-23 00:26:34 BST   N fred     play
/home/richard/_builds/hoon/disorder/tests/testroot/tracks/Joe Bloggs/First
Album/05:Fifth track.ogg
 waiting for track to play
  .
  .
  .
 when=1248305193 expected at least 1248305194
 stopping daemon
  waiting for daemon
Traceback (most recent call last):
  File "/home/richard/_builds/hoon/disorder/tests/dtest.py", line 335, in run
    module.test()
  File "./schedule.py", line 70, in test
    assert int(p["when"]) >= when, "checking track played at right time"
AssertionError: checking track played at right time
  daemon has stopped (rc=0)
 FAILED
FAIL: schedule.py
Comment 4 by ewxrjk, Oct 17, 2009
This is an OS or platform bug.  See http://ewx.livejournal.com/530850.html for a test
case.
Status: Invalid
Comment 5 by ewxrjk, Oct 18, 2009
revno: 952
committer: Richard Kettlewell <rjk@greenend.org.uk>
branch nick: disorder.dev
timestamp: Sun 2009-10-18 14:00:03 +0100
message:
  Shun time(), since on Linux it is not monotonic with gettimeofday().
  
  http://ewx.livejournal.com/530850.html describes the underlying issue
  and http://code.google.com/p/disorder/issues/detail?id=35 describes the
  effect of this on DisOrder.

Labels: -Type-Defect Type-Other
Sign in to add a comment

Hosted by Google Code