adoroszlai opened a new pull request, #8236:
URL: https://github.com/apache/ozone/pull/8236
## What changes were proposed in this pull request?
HDDS-12666 introduced a bug in `xcompat` test by using
`OZONE_CURRENT_VERSION` before it is set.
Steps:
```
cd hadoop-ozone/dist/target/ozone-2.1.0-SNAPSHOT/compose/xcompat
./test-new.sh
```
Output:
```
Create Encrypted Bucket | FAIL
|
255 != 0
```
Test log:
```
Running command 'ozone sh bucket create -k key1 /vol1/encrypted-'
${rc} = 255
${output} = INVALID_BUCKET_NAME bucket name cannot end with a period or dash
```
Fix:
- treat unset variables as error (`set -u`) for all acceptance tests
- fix usage of unset variables
https://issues.apache.org/jira/browse/HDDS-12771
## How was this patch tested?
Same steps as described above.
```
Create Encrypted Bucket | PASS
|
```
CI:
https://github.com/adoroszlai/ozone/actions/runs/14291344037
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]