Overview
Comment: | Check if process still ACTUALLY running and if not go ahead and start the test |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.60_defunct |
Files: | files | file ages | folders |
SHA1: |
93b72f20b1c470c320092ef2c272a025 |
User & Date: | matt on 2016-03-06 23:21:45 |
Other Links: | branch diff | manifest | tags |
Context
2016-03-07
| ||
08:36 | Fix couple misnamed calls check-in: c3569862dc user: mrwellan tags: v1.60_defunct | |
2016-03-06
| ||
23:21 | Check if process still ACTUALLY running and if not go ahead and start the test check-in: 93b72f20b1 user: matt tags: v1.60_defunct | |
20:52 | Merged envprocessing into v1.60 check-in: a1d77f1a3b user: matt tags: v1.60_defunct | |
Changes
Modified dashboard.scm from [53c344e229] to [bad0524744].
︙ | |||
111 112 113 114 115 116 117 | 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | - | (db:get-keys *dbstruct-local*))) (define *dbkeys* (append *keys* (list "runname"))) (define *header* #f) (define *allruns* '()) (define *allruns-by-id* (make-hash-table)) ;; |
︙ | |||
304 305 306 307 308 309 310 | 303 304 305 306 307 308 309 310 311 312 313 314 315 316 | - - - - | ;; Not sure this is needed? (set! referenced-run-ids (cons run-id referenced-run-ids)) (if (> (length tests) maxtests) (set! maxtests (length tests))) (if (or (not *hide-empty-runs*) ;; this reduces the data burden when set (not (null? tests))) (let ((dstruct (vector run tests key-vals (- (current-seconds) 10)))) |
︙ |
Modified launch.scm from [e9781be215] to [d455976d72].
︙ | |||
267 268 269 270 271 272 273 | 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 | - + + + + + + + | (set-signal-handler! signal/stop sighand)) ;; (set-signal-handler! signal/int (lambda () ;; Do not run the test if it is REMOVING, RUNNING, KILLREQ or REMOTEHOSTSTART, ;; Mark the test as REMOTEHOSTSTART *IMMEDIATELY* ;; |
︙ |
Modified process.scm from [99891d384e] to [7162768cf7].
︙ | |||
145 146 147 148 149 150 151 | 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | - + + + + + + + + + + + + + + + + + | (handle-exceptions exn ;; possibly pid is a process not a child, look in /proc to see if it is running still (file-exists? (conc "/proc/" pid)) (let-values (((rpid exit-type exit-signal)(process-wait pid #t))) (and (number? rpid) (equal? rpid pid))))) |
︙ |