Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8926

Turn off SDK's integration tests when building the SDK

    • 5
    • Storage - Ra 2022-04-18

      Summary
      Stop running AWS SDK's internal tests as part of S3 extension build

      Motivation
      When we build S3 extension as part of evergreen task, tiered-storage-extensions-test, it runs tests internal to AWS SDK. We probably do not need these tests to run on our infrastructure. This ticket will explore if we can stop them from running if not necessary.

      e.g. output from the test:

      [2022/03/02 12:22:59.287] [572/575] Building CXX object aws-cpp-sdk-s3-crt/CMakeFiles/aws-cpp-sdk-s3-crt.dir/ub_S3-CRT.cpp.o
      [2022/03/02 12:22:59.287] [573/575] Linking CXX shared library aws-cpp-sdk-s3-crt/libaws-cpp-sdk-s3-crt.so
      [2022/03/02 12:22:59.287] [574/575] Linking CXX executable aws-cpp-sdk-s3-crt-integration-tests/aws-cpp-sdk-s3-crt-integration-tests
      [2022/03/02 12:22:59.287] [575/575] Linking CXX executable aws-cpp-sdk-core-tests/aws-cpp-sdk-core-tests
      [2022/03/02 12:22:59.287] Repeating all tests (iteration 1) . . .
      [2022/03/02 12:22:59.287] Note: Randomizing tests' orders with a seed of 95487 .
      [2022/03/02 12:22:59.287] [==========] Running 460 tests from 75 test cases.
      [2022/03/02 12:22:59.287] [----------] Global test environment set-up.
      [2022/03/02 12:22:59.287] [----------] 22 tests from StringUtilsTest
      [2022/03/02 12:22:59.287] [ RUN      ] StringUtilsTest.TestSplitHappyPathWithNewLine
      [2022/03/02 12:22:59.287] [       OK ] StringUtilsTest.TestSplitHappyPathWithNewLine (1 ms)
      [2022/03/02 12:22:59.287] [ RUN      ] StringUtilsTest.TestURLDecodeEdgeCases
      [2022/03/02 12:22:59.287] [       OK ] StringUtilsTest.TestURLDecodeEdgeCases (0 ms)
      [2022/03/02 12:22:59.287] [ RUN      ] StringUtilsTest.TestToUpper
      [2022/03/02 12:22:59.287] [       OK ] StringUtilsTest.TestToUpper (0 ms)
      ..
      ..
      [2022/03/02 12:22:59.309] [----------] Global test environment tear-down
      [2022/03/02 12:22:59.309] [==========] 460 tests from 75 test cases ran. (6589 ms total)
      [2022/03/02 12:22:59.309] [  PASSED  ] 460 tests.
      [2022/03/02 12:22:59.478] [530/539] Performing install step for 'aws-sdk'
      [2022/03/02 12:22:59.478] [0/1] Install the project...
      [2022/03/02 12:22:59.478] -- Install configuration: "Release"
      [2022/03/02 12:22:59.478] -- Installing: /data/mci/237914433112d4500f91b6ca7398021f/wiredtiger/cmake_build/aws-sdk-cpp/install/lib/cmake/AWSSDK/AWSSDKConfigVersion.cmake
      
      • Does this affect any team outside of WT?
        No
      • Is this issue urgent?
        No

      Acceptance Criteria (Definition of Done)
      We have evaluated if these tests need to run. If we don't need to run them, we have explored options to stop them from running.

      [Optional] Suggested Solution
      It might be related to the TEST_COMMAND option for the AWS SDK's cmake file.

            Assignee:
            ruby.chen@mongodb.com Ruby Chen
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: