-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DAOS-16661 common: Integrate PMDK logging system w/ VOS logging system. #14923
base: master
Are you sure you want to change the base?
Conversation
Ticket title is 'Integrate PMDK logging system w/ VOS logging system.' |
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-14923/3/testReport/ |
75504b7
to
ad62bd1
Compare
To enable new message in log in NLT. Allow-unstable-test: true Priority: 2 Required-githooks: true Co-authored-by: Jan Michalski <[email protected]> Co-authored-by: Tomasz Gromadzki <[email protected]> Signed-off-by: Tomasz Gromadzki <[email protected]>
ad62bd1
to
149320c
Compare
To enable new message in log in NLT. Allow-unstable-test: true Priority: 2 Required-githooks: true Signed-off-by: Tomasz Gromadzki <[email protected]>
Priority: 2 Allow-unstable-test: true Skip-func-hw-test: false Required-githooks: true Signed-off-by: Tomasz Gromadzki <[email protected]>
Skip-nlt: true Priority: 2 Allow-unstable-test: true Skip-func-hw-test: false Required-githooks: true Signed-off-by: Tomasz Gromadzki <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@grom72 Packaging changes LGTM. Please re-request review from me once you have gotten your two +1s for the core code changes and I will +1 to remove my -1 review. I just don't want my +1 to be misunderstood to be for the core code changes also.
Test stage Functional Hardware Medium UCX Provider completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14923/11/execution/node/1683/log |
Test stage Functional Hardware Medium UCX Provider completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-14923/12/execution/node/635/log |
Skip-nlt: true Priority: 2 Allow-unstable-test: true Required-githooks: true Signed-off-by: Tomasz Gromadzki <[email protected]>
Sorry but I don't follow the CI validation for this. It seems NLT was skipped? And fault injection was having issues? And is there a clean run with mostly passing tests? |
Skip-build: true Skip-test: true Skip-unit-test: true Skip-unit-test-memcheck: true Skip-bullseye: true Signed-off-by: Tomasz Gromadzki <[email protected]>
Parallel-build: true Skip-build-el8-rpm: true Skip-build-el9-rpm: true Skip-build-leap15-rpm: true Skip-build-ubuntu20-rpm: true Skip-build-el8-gcc-dev: true Skip-build-el8-gcc-rpm: true Skip-build-leap15-icc: true Skip-test: true Skip-unit-test: true Skip-unit-test-memcheck: true Skip-bullseye: true Signed-off-by: Tomasz Gromadzki <[email protected]>
Parallel-build: true Skip-build-el8-rpm: true Skip-build-el9-rpm: true Skip-build-leap15-rpm: true Skip-build-ubuntu20-rpm: true Skip-build-el8-gcc-dev: true Skip-build-el8-gcc: true Skip-build-leap15-icc: true Skip-test: true Skip-unit-test: true Skip-unit-test-memcheck: true Skip-bullseye: true Signed-off-by: Tomasz Gromadzki <[email protected]>
Parallel-build: true Skip-build-el8-rpm: true Skip-build-el9-rpm: true Skip-build-leap15-rpm: true Skip-build-ubuntu20-rpm: true Skip-build-el8-gcc-dev: true Skip-build-leap15-icc: true Skip-test: true Skip-unit-test: true Skip-unit-test-memcheck: true Skip-bullseye: true Signed-off-by: Tomasz Gromadzki <[email protected]>
Parallel-build: true Skip-build-el8-rpm: true Skip-build-el9-rpm: true Skip-build-leap15-rpm: true Skip-build-ubuntu20-rpm: true Skip-build-el8-gcc-dev: true Skip-build-leap15-icc: true Skip-test: true Skip-unit-test: true Skip-unit-test-memcheck: true Skip-bullseye: true Signed-off-by: Tomasz Gromadzki <[email protected]>
This reverts commit f7390bd. Parallel-build: true Skip-build-el8-rpm: true Skip-build-el9-rpm: true Skip-build-leap15-rpm: true Skip-build-ubuntu20-rpm: true Skip-build-el8-gcc-dev: true Skip-build-leap15-icc: true Skip-test: true Skip-unit-test: true Skip-unit-test-memcheck: true Skip-bullseye: true Signed-off-by: Tomasz Gromadzki <[email protected]>
NLT results provided separately: |
Now I'm more confused. What are all the latest NLT commits for? It's very difficult to cobble together CI runs from various commits to determine whether testing is sufficient |
Talking with @grom72 offline to understand the testing for this PR |
@@ -1,5 +1,6 @@ | |||
/** | |||
* (C) Copyright 2015-2023 Intel Corporation. | |||
* (C) Copyright 2015-2024 Intel Corporation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you editing the Intel copyright?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that one makes no sense (unless he was an Intel employee when starting this PR)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I was. This PR is almost half a year old.
I don't quite follow either. I think we need a full run before and not stitch things together. |
If there are new expected warnings, it's better to use Allow-unstable-test: true so everything runs |
Skip-list: test_ior_intercept_libpil4dfs:DAOS-16260 Allow-unstable-test: true Signed-off-by: Tomasz Gromadzki <[email protected]>
Full test with modified pipeline lib Skip-list: test_ior_intercept_libpil4dfs:DAOS-16260 Allow-unstable-test: true Signed-off-by: Tomasz Gromadzki <[email protected]>
This reverts commit 6de3d3d.
Remove leading "../" from file name used as a source code reference in warning/error message. Skip-list: test_ior_intercept_libpil4dfs:DAOS-16260 Allow-unstable-test: true Signed-off-by: Tomasz Gromadzki <[email protected]>
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-14923/55/testReport/ |
Skip-list: test_ior_intercept_libpil4dfs:DAOS-16260 Allow-unstable-test: true Skip-func-tests: true Signed-off-by: Tomasz Gromadzki <[email protected]>
Static analysis of NLT results does not work properly when a warning source code is out of scope of the project. An error is reported in such case and the whole stage status is changed to FAILURE. ``` [NLT results] [-ERROR-] Can't create fingerprints for some files: [NLT results] [-ERROR-] - 'pmdk/.../src/common/set.c' file not found ... [NLT results] Failing build because analysis result contains errors ``` To prevent this problem, all PMDK-related messages are filtered out. NLT results Warnings section will include warnings but will not provide any detail information about location of this warning in the source code. Based on existing format of nlt-errors.json file the most easy way to filtered all PMDK messages is to use the predefined "pmdk/" preffix in the fileName: ``` ... { "fileName": "pmdk/src/../src/common/set.c", "type": "warning in strict mode", "lineStart": 2796, "description": "warning in strict mode", "message": "util_replica_check() Possible silent data corruption. The unsafe shutdown detection (SDS) is not supported in the pool: /mnt/daos_0/e5737f5f-fa54-45d6-b081-9b2769921610/vos-1\nwarning in strict mode", "severity": "NORMAL" }, ... ``` vos logging system should ensure that the file name of each PMDK related message starts with "pmdk/" prefix. The implementation of the solution is provided in daos-stack/daos#14923 PR Signed-off-by: Tomasz Gromadzki <[email protected]>
Skip-list: test_ior_intercept_libpil4dfs:DAOS-16260 Allow-unstable-test: true Signed-off-by: Tomasz Gromadzki <[email protected]>
pmemobj
error and warning messages are written by default tostderr
andsyslog()
.PMDK enables redirecting logging messages to user-specific functions.
All error and warning messages are reported using the DAOS logging function, to ensure a coherent events view for VOS and related
pmemobj
functions.Before requesting gatekeeper:
Features:
(orTest-tag*
) commit pragma was used or there is a reason documented that there are no appropriate tags for this PR.Gatekeeper: