You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/08/29 13:50:21 UTC
[GitHub] [hadoop-ozone] adoroszlai opened a new pull request #1366: HDDS-4167. Acceptance test logs missing if SCM fails to exit safe mode
adoroszlai opened a new pull request #1366:
URL: https://github.com/apache/hadoop-ozone/pull/1366
## What changes were proposed in this pull request?
Acceptance test sometimes fails due to SCM not coming out of safe mode. If this happens, the cluster is stopped without running Robot tests. rebot command to process test results fails due to missing input, and acceptance check is abruptly stopped without fetching docker logs or running tests in other environments.
Fix:
1. Only run intermediate `rebot` processing if input files are available (it is safe to let the final one in `test-all.sh` fail)
2. Pre-create results dir for `ozone-mr`, which contains multiple test sub-directories, to avoid error in `find`
And some cleanup:
3. Reduce some code duplication between `test-all.sh` and `ozone-mr/test.sh` by extracting functions for the shared code being fixed
4. Replace `set +e; ...; set -e` with `if ! ...; then ...` (partly belongs to HDDS-4101)
https://issues.apache.org/jira/browse/HDDS-4167
## How was this patch tested?
Temporarily reduced wait time for exit from safe mode to 10 seconds, causing all tests to fail early. Verified that docker logs were still added to the bundle:
```
unzip -t acceptance-misc.zip
Archive: acceptance-misc.zip
testing: docker-hadoop27.log OK
testing: docker-hadoop31.log OK
testing: docker-hadoop32.log OK
testing: docker-ozone-csi.log OK
testing: docker-ozone-ha.log OK
testing: docker-ozone-om-ha-s3.log OK
testing: docker-ozone-topology.log OK
testing: docker-ozones3-haproxy.log OK
testing: docker-ozonesecure-mr.log OK
testing: docker-ozonesecure-om-ha.log OK
testing: docker-upgrade.log OK
```
https://github.com/adoroszlai/hadoop-ozone/runs/1045059176
Regular CI:
https://github.com/adoroszlai/hadoop-ozone/runs/1045057585
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] adoroszlai commented on pull request #1366: HDDS-4167. Acceptance test logs missing if SCM fails to exit safe mode
Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #1366:
URL: https://github.com/apache/hadoop-ozone/pull/1366#issuecomment-685067401
Thanks @elek for reviewing and committing it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] elek merged pull request #1366: HDDS-4167. Acceptance test logs missing if SCM fails to exit safe mode
Posted by GitBox <gi...@apache.org>.
elek merged pull request #1366:
URL: https://github.com/apache/hadoop-ozone/pull/1366
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org
[GitHub] [hadoop-ozone] elek commented on pull request #1366: HDDS-4167. Acceptance test logs missing if SCM fails to exit safe mode
Posted by GitBox <gi...@apache.org>.
elek commented on pull request #1366:
URL: https://github.com/apache/hadoop-ozone/pull/1366#issuecomment-684899079
> Reduce some code duplication between test-all.sh and ozone-mr/test.sh by extracting functions for the shared code being fixed
:heart:
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org