-
Notifications
You must be signed in to change notification settings - Fork 304
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-12158 test: daos_test/suite.py /var/tmp/daos_testing/*log* files exceeded the 2G threshold #10960
Conversation
Skip-unit-tests: true Allow-unstable-test: true Doc-only: false Test-tag: daos_test Required-githooks: true Signed-off-by: Ding Ho [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.
LGTM. No errors found by checkpatch.
src/tests/ftest/launch.py
Outdated
@@ -47,7 +47,7 @@ | |||
DEFAULT_DAOS_TEST_LOG_DIR = os.path.join(os.sep, "var", "tmp", "daos_testing") | |||
DEFAULT_DAOS_TEST_USER_DIR = os.path.join(os.sep, "var", "tmp", "daos_testing", "user") | |||
DEFAULT_DAOS_TEST_SHARED_DIR = os.path.expanduser(os.path.join("~", "daos_test")) | |||
DEFAULT_LOGS_THRESHOLD = "2G" | |||
DEFAULT_LOGS_THRESHOLD = "2.1G" |
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.
@phender I see this was your recommendation in the ticket, but isn't this just a moving target? Won't we end up hitting the threshold again if log sizes increase?
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.
The problem in the ticket is the rotated server log (DAOS_Management_daos_server_1.log.83131.old
) is just a bit larger than the 2G threshold. There is a race condition where this can happen and rather than complicate the log rotation code to ensure we never exceed the rotation size, it was deemed simpler to add a little wiggle room in the log threshold check.
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.
AFAIK we have only seen this in release/2.2 so far - at least in terms of daily runs - so to confirm this is working we may need to repeat running the daos_test/suite.py
test or run this in the release/2.2 branch. In either case a detailed examination of the artifact/Functional%20Hardware%20Medium/launch/functional_hardware_medium/*-daos_test-suite-launch.log
will be required.
Bug-tracker data: |
Test stage Functional Hardware Large completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-10960/1/execution/node/695/log |
Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-10960/1/execution/node/785/log |
Skip-unit-tests: true Allow-unstable-test: true Doc-only: false Test-tag: daos_test Required-githooks: true Signed-off-by: Ding Ho [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.
LGTM. No errors found by checkpatch.
Test stage Functional Hardware Medium completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-10960/2/testReport/(root)/ |
Original issue fixed with the script changes. |
Is the daos test nvme recovery failure in build #2 known? |
Yes. |
… exceeded the 2G threshold (#10960) Update launch.py DEFAULT_LOGS_THRESHOLD = "2.1G" Skip-unit-tests: true Allow-unstable-test: true Test-tag: daos_test Required-githooks: true Signed-off-by: Ding Ho [email protected]
… exceeded the 2G threshold (#10960) (#10996) Update launch.py DEFAULT_LOGS_THRESHOLD = "2.1G" Signed-off-by: Ding Ho [email protected]
Update launch.py DEFAULT_LOGS_THRESHOLD to "2.1G"
Skip-unit-tests: true
Allow-unstable-test: true
Doc-only: false
Test-tag: daos_test
Required-githooks: true
Signed-off-by: Ding Ho [email protected]
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: