peterxcli opened a new pull request, #8279:
URL: https://github.com/apache/ozone/pull/8279

   ## What changes were proposed in this pull request?
   
   Audit logs are saved when shutting down Docker Compose cluster during tests. 
xcompat starts/stops a cluster for each version being tested. Audit logs from 
each run overwrite those from previous run.
   
   We should assign a unique prefix or suffix to each run's audit logs to 
prevent overwrites.
   
   ---
   
   For compact old:
   create a subdir for each `${cluster_version}-${current_version}`
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-11703
   
   ## How was this patch tested?
   
   CI:
   https://github.com/peterxcli/ozone/actions/runs/14436894307
   
   compact old:
   ```
   'result/xcompat/old/xcompat/old/1.1.0-2.1.0/dn-audit-dn.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.1.0-2.1.0/dn-audit-dn.log'
   'result/xcompat/old/xcompat/old/1.1.0-2.1.0/kms-audit.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.1.0-2.1.0/kms-audit.log'
   'result/xcompat/old/xcompat/old/1.1.0-2.1.0/om-audit-om.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.1.0-2.1.0/om-audit-om.log'
   'result/xcompat/old/xcompat/old/1.1.0-2.1.0/om-sys-audit-om.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.1.0-2.1.0/om-sys-audit-om.log'
   'result/xcompat/old/xcompat/old/1.1.0-2.1.0/scm-audit-scm.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.1.0-2.1.0/scm-audit-scm.log'
   
   ...
   
   'result/xcompat/old/xcompat/old/1.2.1-2.1.0/dn-audit-dn.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.2.1-2.1.0/dn-audit-dn.log'
   'result/xcompat/old/xcompat/old/1.2.1-2.1.0/kms-audit.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.2.1-2.1.0/kms-audit.log'
   'result/xcompat/old/xcompat/old/1.2.1-2.1.0/om-audit-om.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.2.1-2.1.0/om-audit-om.log'
   'result/xcompat/old/xcompat/old/1.2.1-2.1.0/om-sys-audit-om.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.2.1-2.1.0/om-sys-audit-om.log'
   'result/xcompat/old/xcompat/old/1.2.1-2.1.0/scm-audit-scm.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.2.1-2.1.0/scm-audit-scm.log'
   
   ...
   
   'result/xcompat/old/xcompat/old/1.3.0-2.1.0/dn-audit-dn.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.3.0-2.1.0/dn-audit-dn.log'
   'result/xcompat/old/xcompat/old/1.3.0-2.1.0/kms-audit.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.3.0-2.1.0/kms-audit.log'
   'result/xcompat/old/xcompat/old/1.3.0-2.1.0/om-audit-om.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.3.0-2.1.0/om-audit-om.log'
   'result/xcompat/old/xcompat/old/1.3.0-2.1.0/om-sys-audit-om.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.3.0-2.1.0/om-sys-audit-om.log'
   'result/xcompat/old/xcompat/old/1.3.0-2.1.0/s3g-audit-s3g.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.3.0-2.1.0/s3g-audit-s3g.log'
   'result/xcompat/old/xcompat/old/1.3.0-2.1.0/scm-audit-scm.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.3.0-2.1.0/scm-audit-scm.log'
   
   ...
   
   'result/xcompat/old/xcompat/old/1.4.0-2.1.0/dn-audit-dn.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.4.0-2.1.0/dn-audit-dn.log'
   'result/xcompat/old/xcompat/old/1.4.0-2.1.0/kms-audit.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.4.0-2.1.0/kms-audit.log'
   'result/xcompat/old/xcompat/old/1.4.0-2.1.0/om-audit-om.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.4.0-2.1.0/om-audit-om.log'
   'result/xcompat/old/xcompat/old/1.4.0-2.1.0/om-sys-audit-om.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.4.0-2.1.0/om-sys-audit-om.log'
   'result/xcompat/old/xcompat/old/1.4.0-2.1.0/s3g-audit-s3g.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.4.0-2.1.0/s3g-audit-s3g.log'
   'result/xcompat/old/xcompat/old/1.4.0-2.1.0/scm-audit-scm.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.4.0-2.1.0/scm-audit-scm.log'
   
   ...
   
   'result/xcompat/old/xcompat/old/1.4.1-2.1.0/dn-audit-dn.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.4.1-2.1.0/dn-audit-dn.log'
   'result/xcompat/old/xcompat/old/1.4.1-2.1.0/kms-audit.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.4.1-2.1.0/kms-audit.log'
   'result/xcompat/old/xcompat/old/1.4.1-2.1.0/om-audit-om.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.4.1-2.1.0/om-audit-om.log'
   'result/xcompat/old/xcompat/old/1.4.1-2.1.0/om-sys-audit-om.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.4.1-2.1.0/om-sys-audit-om.log'
   'result/xcompat/old/xcompat/old/1.4.1-2.1.0/s3g-audit-s3g.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.4.1-2.1.0/s3g-audit-s3g.log'
   'result/xcompat/old/xcompat/old/1.4.1-2.1.0/scm-audit-scm.log' -> 
'/home/runner/work/ozone/ozone/target/acceptance/xcompat/old/xcompat/old/1.4.1-2.1.0/scm-audit-scm.log'
   ```


-- 
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]

Reply via email to