Overview
Comment: | Speculative fix for failure to stop RUNNING |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.55 |
Files: | files | file ages | folders |
SHA1: |
6563497956b4e501fd15a62b86f7abda |
User & Date: | matt on 2013-08-08 23:03:58 |
Other Links: | branch diff | manifest | tags |
Context
2013-08-11
| ||
19:38 | Added howto section to the manual check-in: a10660b42e user: mrwellan tags: v1.55 | |
2013-08-08
| ||
23:03 | Speculative fix for failure to stop RUNNING check-in: 6563497956 user: matt tags: v1.55 | |
2013-08-05
| ||
20:10 | Typo in version file. Fixed check-in: 8e90258572 user: mrwellan tags: v1.55, v1.5511ww32 | |
Changes
Modified launch.scm from [7692281ad3] to [093abc1258].
︙ | |||
148 149 150 151 152 153 154 155 156 157 158 159 160 161 | 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | + | ;; any previous runs ;; (db:test-remove-steps db run-id testname itemdat) (let* ((m (make-mutex)) (kill-job? #f) (exit-info (vector #t #t #t)) (job-thread #f) (keep-going #t) (runit (lambda () ;; (let-values ;; (((pid exit-status exit-code) ;; (run-n-wait fullrunscript))) (tests:test-set-status! test-id "RUNNING" "n/a" #f #f) ;; if there is a runscript do it first (if fullrunscript |
︙ | |||
287 288 289 290 291 292 293 294 295 296 297 298 299 300 | 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 | + + + | #t) #f))))) ;; open-run-close not needed for test-set-meta-info (tests:set-meta-info #f test-id run-id test-name itemdat minutes work-area) (if kill-job? (begin (mutex-lock! m) ;; NOTE: The pid can change as different steps are run. Do we need handshaking between this ;; section and the runit section? Or add a loop that tries three times with a 1/4 second ;; between tries? (let* ((pid (vector-ref exit-info 0))) (if (number? pid) (process-signal pid signal/kill) ;; (begin ;; (debug:print 0 "WARNING: Request received to kill job (attempt # " kill-tries ")") ;; (let ((processes (cmd-run->list (conc "pgrep -l -P " pid)))) ;; (for-each |
︙ | |||
314 315 316 317 318 319 320 | 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 | + + - - - - + + + + + + + + - + - + - + | (tests:test-set-status! test-id "KILLED" "FAIL" (args:get-arg "-m") #f) (sqlite3:finalize! tdb) (exit 1)))) (set! kill-tries (+ 1 kill-tries)) (mutex-unlock! m))) ;; (sqlite3:finalize! db) (if keep-going (begin |
︙ |
tests/installall/config/megatest.config.dat became a regular file with contents [736a5da885].
tests/installall/config/runconfigs.config.dat became a regular file with contents [3b8f260acb].