Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6496 Improve CI checks
  3. HDDS-9875

Create stack dump if cannot remove docker network

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 1.4.0
    • 1.4.0
    • test

    Description

      Sometimes acceptance tests fail due to docker not being able to remove the network during teardown. HDDS-7531 added retry, but it looks like it may fail on repeated attempts, too.

      To find out why some container cannot be stopped, let's create stack dump of such containers if docker-compose down fails.

      Removing network xcompat_default
      error while removing network: network xcompat_default id 81e9a46c74c2487fbfe428b07f25da18f053e8410562334d2dc7a013e254cd33 has active endpoints
      ...
      Failed to remove all docker containers in 3 attempts.
      ERROR: Test execution of xcompat/test.sh is FAILED!!!!
      

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: