Attila Doroszlai created HDDS-14081:
---------------------------------------

             Summary: Docker logs missing from failed xcompat bundle
                 Key: HDDS-14081
                 URL: https://issues.apache.org/jira/browse/HDDS-14081
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: CI
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


Docker container logs are missing from {{xcompat}} bundles when there are 
failed tests.

{code:title=successful bundle}
    testing: failures                 OK
    testing: jacoco-combined.exec     OK
    testing: log.html                 OK
    testing: output.log               OK
    testing: report.html              OK
    testing: summary.txt              OK
    testing: xcompat/new/docker-xcompat-datanode-1.log   OK
    testing: xcompat/new/docker-xcompat-datanode-2.log   OK
    testing: xcompat/new/docker-xcompat-datanode-3.log   OK
    testing: xcompat/new/docker-xcompat-datanode-4.log   OK
    testing: xcompat/new/docker-xcompat-datanode-5.log   OK
    testing: xcompat/new/docker-xcompat-kdc-1.log   OK
    testing: xcompat/new/docker-xcompat-kms-1.log   OK
    testing: xcompat/new/docker-xcompat-om-1.log   OK
    testing: xcompat/new/docker-xcompat-recon-1.log   OK
    testing: xcompat/new/docker-xcompat-s3g-1.log   OK
    testing: xcompat/new/docker-xcompat-scm-1.log   OK
    testing: xcompat/new/kms-audit.log   OK
    testing: xcompat/new/om-audit-om.log   OK
    testing: xcompat/new/om-sys-audit-om.log   OK
    testing: xcompat/new/scm-audit-scm.log   OK
    testing: xcompat-new.xml          OK
{code}

{code:title=failed bundle}
    testing: failures                 OK
    testing: log.html                 OK
    testing: output.log               OK
    testing: report.html              OK
    testing: summary.txt              OK
    testing: xcompat/new/xcompat-datanode-1_HddsDatanodeService.stack   OK
    testing: xcompat/new/xcompat-datanode-2_HddsDatanodeService.stack   OK
    testing: xcompat/new/xcompat-datanode-3_HddsDatanodeService.stack   OK
    testing: xcompat/new/xcompat-datanode-4_HddsDatanodeService.stack   OK
    testing: xcompat/new/xcompat-datanode-5_HddsDatanodeService.stack   OK
    testing: xcompat/new/xcompat-kms-1_KMSWebServer.stack   OK
    testing: xcompat/new/xcompat-om-1_OzoneManagerStarter.stack   OK
    testing: xcompat/new/xcompat-recon-1_ReconServer.stack   OK
    testing: xcompat/new/xcompat-s3g-1_Gateway.stack   OK
    testing: xcompat/new/xcompat-scm-1_StorageContainerManagerStarter.stack   OK
    testing: xcompat-new.xml          OK
{code}

{code:title=log}
Output:  /tmp/smoketest/xcompat/result/robot-005.xml
jstack 6 > 
/home/runner/work/ozone/ozone/hadoop-ozone/dist/target/ozone-2.2.0-SNAPSHOT/compose/xcompat/result/xcompat-datanode-1_HddsDatanodeService.stack
jstack 6 > 
/home/runner/work/ozone/ozone/hadoop-ozone/dist/target/ozone-2.2.0-SNAPSHOT/compose/xcompat/result/xcompat-datanode-2_HddsDatanodeService.stack
jstack 6 > 
/home/runner/work/ozone/ozone/hadoop-ozone/dist/target/ozone-2.2.0-SNAPSHOT/compose/xcompat/result/xcompat-datanode-3_HddsDatanodeService.stack
jstack 7 > 
/home/runner/work/ozone/ozone/hadoop-ozone/dist/target/ozone-2.2.0-SNAPSHOT/compose/xcompat/result/xcompat-datanode-4_HddsDatanodeService.stack
jstack 6 > 
/home/runner/work/ozone/ozone/hadoop-ozone/dist/target/ozone-2.2.0-SNAPSHOT/compose/xcompat/result/xcompat-datanode-5_HddsDatanodeService.stack
bash: line 1: jps: command not found
jstack 12 > 
/home/runner/work/ozone/ozone/hadoop-ozone/dist/target/ozone-2.2.0-SNAPSHOT/compose/xcompat/result/xcompat-kms-1_KMSWebServer.stack
jstack 7 > 
/home/runner/work/ozone/ozone/hadoop-ozone/dist/target/ozone-2.2.0-SNAPSHOT/compose/xcompat/result/xcompat-om-1_OzoneManagerStarter.stack
jstack 8 > 
/home/runner/work/ozone/ozone/hadoop-ozone/dist/target/ozone-2.2.0-SNAPSHOT/compose/xcompat/result/xcompat-recon-1_ReconServer.stack
jstack 7 > 
/home/runner/work/ozone/ozone/hadoop-ozone/dist/target/ozone-2.2.0-SNAPSHOT/compose/xcompat/result/xcompat-s3g-1_Gateway.stack
jstack 7 > 
/home/runner/work/ozone/ozone/hadoop-ozone/dist/target/ozone-2.2.0-SNAPSHOT/compose/xcompat/result/xcompat-scm-1_StorageContainerManagerStarter.stack
no configuration file provided: not found
no configuration file provided: not found
no configuration file provided: not found
no configuration file provided: not found
no configuration file provided: not found
no configuration file provided: not found
Failed to remove all docker containers in 3 attempts.
ERROR: Test execution of xcompat/test-new.sh is FAILED!!!!
{code}

(Example runs: 
[successful|https://github.com/apache/ozone/actions/runs/19954820331/job/57222359244],
 
[failed|https://github.com/apache/ozone/actions/runs/19950828384/job/57224083799].)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to