Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2918

Increase timeout of safe-mode exit in acceptance tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • test

    Description

      Acceptance tests seem to be randomly failing recently with SCM not exiting safe mode within the 90 seconds timeout. This task proposes to increase the timeout to check if it helps.

      Also, when acceptance test fails with this condition, containers are not stopped and logs not copied. This should be fixed.

      example
      2020-01-21T10:48:10.2663685Z WARNING! Safemode is still on. Please check the docker-compose files
      2020-01-21T10:48:10.2683558Z ERROR: Test execution of /home/runner/work/hadoop-ozone/hadoop-ozone/hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/ozone-mr/hadoop31 is FAILED!!!!
      2020-01-21T10:48:10.2712438Z cp: cannot stat '/home/runner/work/hadoop-ozone/hadoop-ozone/hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/ozone-mr/hadoop31/result/robot-*.xml': No such file or directory
      2020-01-21T10:48:10.2716708Z cp: cannot stat '/home/runner/work/hadoop-ozone/hadoop-ozone/hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/ozone-mr/hadoop31/result/docker-*.log': No such file or directory
      

      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:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m