Results 1 to 4 of 4

Thread: Cannot Manually 'Expire' Tests

  1. #1
    Junior Member KWSN Sir CADCAM's Avatar
    Join Date
    Jul 2005
    Location
    South of Nunavuut
    Posts
    24

    Cannot Manually 'Expire' Tests

    When I try to manually 'expire' some orphaned tests I get the following message:-

    Code:
    error:  DBD::mysql::db do failed: Duplicate entry '3526970' for key 1 at /usr/local/apache/htdocs/sb/account/testsPendingPost.mhtml line 21. 
    context:  ...   
    17:   
    18:  my $priority = $test_info->{priority}; 
    19:  $priority = $n unless defined($priority); 
    20:   
    21:  $dbh->do("INSERT INTO queued_tests " . 
    22:  "(k, n, queue_name, priority) " . 
    23:  "VALUES (?, ?, ?, ?)", { }, 
    24:  $k, $n, 'dropped-tests', $priority); 
    25:   
    ...    
    code stack:  /usr/local/apache/htdocs/sb/account/testsPendingPost.mhtml:21
    /usr/local/apache/htdocs/sb/account/autohandler:6
    /usr/local/apache/htdocs/sb/autohandler:53
    /usr/local/apache/htdocs/sb/syshandler:20 
    raw error
    "Semper In Excrementa" "Cîam en des sterko"

  2. #2
    There is a bug in the SB-PHP, but, I think, in spite of all errors (which are different, depending on the browser) , the unwanted test is expired and this can be viewed by refreshing the pending tests page

  3. #3
    Quote Originally Posted by KWSN Sir CADCAM
    When I try to manually 'expire' some orphaned tests I get the following message:-

    Code:
    error:  DBD::mysql::db do failed: Duplicate entry '3526970' for key 1 at /usr/local/apache/htdocs/sb/account/testsPendingPost.mhtml line 21. 
    context:  ...   
    17:   
    18:  my $priority = $test_info->{priority}; 
    19:  $priority = $n unless defined($priority); 
    20:   
    21:  $dbh->do("INSERT INTO queued_tests " . 
    22:  "(k, n, queue_name, priority) " . 
    23:  "VALUES (?, ?, ?, ?)", { }, 
    24:  $k, $n, 'dropped-tests', $priority); 
    25:   
    ...    
    code stack:  /usr/local/apache/htdocs/sb/account/testsPendingPost.mhtml:21
    /usr/local/apache/htdocs/sb/account/autohandler:6
    /usr/local/apache/htdocs/sb/autohandler:53
    /usr/local/apache/htdocs/sb/syshandler:20 
    raw error
    Hrm.

    Does the test still show up in your list of tests? What k/n is it?

  4. #4
    Senior Member engracio's Avatar
    Join Date
    Jun 2004
    Location
    Illinois
    Posts
    237
    Quote Originally Posted by Alien88
    Hrm.

    Does the test still show up in your list of tests? What k/n is it?
    If that post is to ask if it is still happening. YES, it has been happening every time I expired a wu. As posted above, most of us just assumed it is a fact of life since you guys are too busy for little things like this. I mean a couple of mouse click and you verfied that the wu is dropped.

    If you back browser and refreesh the page, it would be gone. The expired wu that is.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •