Megatest

View Ticket
Login
Ticket Hash: 83c98177a86c124090eb1bbebb086c05babe10b1
Title: list-runs fails on new database
Status: Closed Type: Code_Defect
Severity: Important Priority: Immediate
Subsystem: Resolution: Open
Last Modified: 2013-10-17 08:42:16
Version Found In: v1.5512
User Comments:
mrwellan added on 2013-10-14 15:38:13:
<verbatim>
this testno such table: test_data

Error: (prepare) no such table: test_steps
#<sqlite3:database>
"SELECT id,test_id,stepname,state,status,event_time,logfile FROM test_steps WHER
E test_id=? ORDER BY id ASC;"

        Call history:

        db.scm:256: g527          
        db.scm:268: sqlite3#set-busy-handler!     
        db.scm:275: debug:print-info      
        common_records.scm:60: debug:debug-mode   
        db.scm:277: call-with-current-continuation        
        db.scm:277: with-exception-handler        
        db.scm:277: ##sys#call-with-values        
        db.scm:285: sqlite3#execute       
        db.scm:277: k537          
        db.scm:277: g541          
        db.scm:281: condition-property-accessor   
        db.scm:280: g545          
        db.scm:280: debug:print   
        common_records.scm:51: debug:debug-mode   
        common_records.scm:52: with-output-to-port        
        db.scm:2052: sqlite3#for-each-row               <--
</verbatim>

mrwellan added on 2013-10-17 14:42:16:
Added a exception handler. If the db is corrupt then re-run the dang test. The future direction is to move the data in these files back into the megatest.db and db/ area.