Repository navigation
DAOS-17629 engine: unified logs' timestamp format - #16772
Conversation
|
Ticket title is 'Server and engine logs use different timestamp formats' |
dae81f1 to
5024569
Compare
|
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16772/3/testReport/ |
|
Test stage NLT on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16772/4/execution/node/503/log |
|
Test stage NLT on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16772/6/execution/node/502/log |
|
Test stage NLT on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16772/7/execution/node/502/log |
|
Test stage NLT on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16772/8/execution/node/502/log |
|
Test stage NLT on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-16772/16/display/redirect |
657daa5 to
e3b6097
Compare
|
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16772/21/testReport/ |
ca54427 to
cb9daed
Compare
|
Test stage NLT on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16772/24/execution/node/631/log |
|
Test stage Unit Test bdev on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-16772/25/display/redirect |
|
Test stage Unit Test with memcheck on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-16772/25/display/redirect |
|
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16772/26/testReport/ |
|
Test stage Functional on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16772/27/execution/node/1255/log |
|
Test stage Functional on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16772/28/execution/node/1247/log |
c4ef3df to
48aff42
Compare
|
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16772/30/testReport/ |
a85865b to
6447128
Compare
DAOS engine's log line should include the year and microseconds in the time stampformat. DAOS engine log line should exclude '-' as a date and time separator in favour of space. Adjust the log parser for the new date and time format: - calculate the beginning of the message based on the actual field length - data and time are two separate fields. Increase the indexes of remaining fields by one. Allow-unstable-test: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
6447128 to
a043fb8
Compare
|
Test stage Functional Hardware Medium Verbs Provider MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16772/36/execution/node/1605/log |
Skip-build-el9-gcc: true Skip-build-leap15-gcc: true Skip-build-leap15-icc: true Skip-build-ubuntu20-gcc: true Skip-build-el9-rpm: true Skip-build-leap15-rpm: true Skip-unit-test: false Skip-unit-test-memcheck: false Skip-NLT: false Allow-unstable-test: true Skip-func-test-el8: false Skip-fault-injection-test: false Skip-func-hw-test: false Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
Simplified condition (negation removed) Extend documentation Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
|
Test stage NLT on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16772/40/execution/node/861/log |
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
|
Currently, I'm not aware of anyone except me using it (and manually, not yet exercised in CI): - the script daos_sys_logscan.py also uses cart_logparse. With master branch (not including this patch) it can scan through a list of engine logfiles having the old timestamp format and produce a report of relevant pool service leadership state transitions, pool map updates, and rebuild activity. This utility has been helpful for example in parsing engine logs provided in bug reports from the field. With the code changes in this branch, the utility fails to parse the same set of legacy-formatted logfiles. It is failing to match even simple regular expressions like the one that looks for the rank assignment log line within a file. I don't have a lot of time right now to debug and prepare a refreshed version of daos_sys_logscan.py, but just informing about another user of cart_logparse that will need to be updated (and in a way to maintain compatibility between the two timestamp formats). |
@kccain |
The new log format was proposed and implemented in #16772. The cart_logparse.py script was modified in #16772 to support the new log format only. The daos_sys_logscan.py tool is based on cart_logparse.py script and after #16772 landing it will no longer support the old log format. Backporting the tool to release/2.6 enables analysis of the old logs. Doc-only: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
Allow-unstable-test: true Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
|
Test stage Functional Hardware Large MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16772/43/execution/node/1464/log |
|
Validation results:
|
From now on, all dates provided for log operations must be in the ISO 8601 date format: YYYY-MM-DD. Zeros should be added to the beginning of one-digit months and days. Harmonize log operations module with the new logs' date/time stamp format introduced by the #16772 PR: YYYY-MM-DD HH:MM:SS.mmmmmm Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com> Cancel-prev-build: false Allow-unstable-test: true
The new log format was proposed and implemented in #16772. The cart_logparse.py script was modified in #16772 to support the new log format only. The daos_sys_logscan.py tool is based on cart_logparse.py script and after #16772 landing it will no longer support the old log format. Backporting the tool to release/2.6 enables analysis of the old logs. Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
From now on, all dates provided for log operations must be in the ISO 8601 date format: YYYY-MM-DD. Zeros should be added to the beginning of one-digit months and days. Harmonize log operations module with the new logs' date/time stamp format introduced by the #16772 PR: YYYY-MM-DD HH:MM:SS.mmmmmm Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@hpe.com>
DAOS-17629 engine: Engine time log format to follow server's one DAOS engine's log line should include the year and microseconds in the time stamp format.
The DAOS engine log line should not include '-' as a date and time separator in favour of a space.
Adjust the log parser for the new date and time format:
Increase the indexes of remaining fields by one.
New time stamp format:
YYYY/MM/DD HH:MM:SS.mmmmmmSteps for the author:
After all prior steps are complete: