Megatest

History Of Ticket 6e26106a1c2c10669e9c74748a6067309df48474
Login

Artifacts Associated With Ticket 6e26106a1c2c10669e9c74748a6067309df48474

  1. Ticket change [bb6117eaee] (rid 18036) by jmoon18 on 2019-06-18 16:13:36:

    1. comment initialized to:
      From another user on a read-only database:
      
      plxck3045> megatest -import-megatest.db 
      INFO: (0) Records count before clean: 505131
      
      Error: with-transaction: uncaught exception: #f
      
      Error: (step!) attempt to write a readonly database: #<sqlite3:statement sql="DELETE FROM tests WHERE run_id in (SELECT id FROM runs WHERE state='deleted') and last_update < 1560809468.0;">
      
              Call history:
      
              db.scm:1758: sqlite3#prepare      
              db.scm:1757: g3151        
              db.scm:1758: sqlite3#prepare      
              db.scm:1757: g3151        
              db.scm:1758: sqlite3#prepare      
              db.scm:1757: g3151        
              db.scm:1758: sqlite3#prepare      
              db.scm:1757: g3151        
              db.scm:1758: sqlite3#prepare      
              db.scm:1780: sqlite3#with-transaction     
              db.scm:1783: sqlite3#for-each-row         
              db.scm:1784: debug:print-info     
              common_records.scm:235: debug:debug-mode          
              common_records.scm:236: port?     
              common_records.scm:236: with-output-to-port       
              db.scm:1786: g3179              <--
      
    2. foundin initialized to: "v1.6530"
    3. login: "jmoon18"
    4. private_contact initialized to: "bed011348e74e6fdf4825cd6bb9652c7d819dba5"
    5. severity initialized to: "Important"
    6. status initialized to: "Open"
    7. title initialized to:
      megatest -import-megatest.db fails on read-only database.
      
    8. type initialized to: "Code_Defect"
  2. Ticket change [b34ffdb7bf] (rid 18100) by mmgraham on 2019-07-15 15:45:29:

    1. icomment:
      I found that the 'dejunk option to db:multi-db-sync caused the operation to fail. If I comment out 'dejunk, it works. Perhaps disable -dejunk on read-only source dbs?
      
    2. login: "mmgraham"
    3. mimetype: "text/x-fossil-plain"
    4. priority changed to: "Immediate"
    5. resolution changed to: "Open"
    6. username: "mmgraham"
  3. Ticket change [d1794454a8] (rid 18102) by mmgraham on 2019-07-17 11:51:01:

    1. icomment:
      In dejunk cleanup, I changed it to call db:clean-up on megatest.db only if it's writable. Checked this into v1.65 branch.
      
    2. login: "mmgraham"
    3. mimetype: "text/x-fossil-plain"
  4. Ticket change [053234dd45] (rid 18085) by mmgraham on 2019-07-17 12:26:46:

    1. login: "mmgraham"
    2. mimetype: "text/x-fossil-plain"
    3. resolution changed to: "Fixed"
    4. status changed to: "Fixed"