Overview
Comment: | adde debug statement in pgdb sync oonly for top level test |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.6569-refactor-server-key-chk |
Files: | files | file ages | folders |
SHA1: |
c5588eff69464660364502a812896b6e |
User & Date: | pjhatwal on 2021-01-19 12:00:22 |
Other Links: | branch diff | manifest | tags |
Context
2021-01-19
| ||
18:49 | fix to pgdb sync check-in: 6531c14950 user: pjhatwal tags: v1.6569-refactor-server-key-chk | |
12:00 | adde debug statement in pgdb sync oonly for top level test check-in: c5588eff69 user: pjhatwal tags: v1.6569-refactor-server-key-chk | |
11:58 | changed debug priorities check-in: dd4e2a6ea3 user: pjhatwal tags: v1.6569-refactor-server-key-chk | |
Changes
Modified tasks.scm from [7786cfb808] to [98319a9934].
︙ | ︙ | |||
968 969 970 971 972 973 974 975 976 977 978 979 980 981 | (begin ;(print pgdb-run-id) (pgdb:get-test-id dbh pgdb-run-id test-name item-path)) #f))) ;; "id" "run_id" "testname" "state" "status" "event_time" ;; "host" "cpuload" "diskfree" "uname" "rundir" "item_path" ;; "run_duration" "final_logf" "comment" "shortdir" "attemptnum" "archived" (if pgdb-run-id (begin (if pgdb-test-id ;; have a record (begin ;; let ((key-name (conc run-id "/" test-name "/" item-path))) (debug:print-info 4 *default-log-port* "Updating existing test with run-id: " run-id " and test-id: " test-id " pgdb run id: " pgdb-run-id " pgdb-test-id " pgdb-test-id) (let* ((pgdb-last-update (pgdb:get-test-last-update dbh pgdb-test-id))) (if (and (> last-update pgdb-last-update) (or (not smallest-time) (< last-update smallest-time))) ;;if last-update is same as pgdb-last-update then it is safe to assume the records are identical and we can use a larger last update time. | > > | 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 | (begin ;(print pgdb-run-id) (pgdb:get-test-id dbh pgdb-run-id test-name item-path)) #f))) ;; "id" "run_id" "testname" "state" "status" "event_time" ;; "host" "cpuload" "diskfree" "uname" "rundir" "item_path" ;; "run_duration" "final_logf" "comment" "shortdir" "attemptnum" "archived" (if (or (not (item-path)) (string-null? item-path)) (debug:print-info 0 *default-log-port* "Working on Run id : " run-id "and test name : " test-name)) (if pgdb-run-id (begin (if pgdb-test-id ;; have a record (begin ;; let ((key-name (conc run-id "/" test-name "/" item-path))) (debug:print-info 4 *default-log-port* "Updating existing test with run-id: " run-id " and test-id: " test-id " pgdb run id: " pgdb-run-id " pgdb-test-id " pgdb-test-id) (let* ((pgdb-last-update (pgdb:get-test-last-update dbh pgdb-test-id))) (if (and (> last-update pgdb-last-update) (or (not smallest-time) (< last-update smallest-time))) ;;if last-update is same as pgdb-last-update then it is safe to assume the records are identical and we can use a larger last update time. |
︙ | ︙ |