Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-64067

csfle tests should redirect stderr to stdout

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Server Security

    Description

      Out-of-order log in csfle_run_tests.sh during csfle_create_lib . Apply same solution as in SERVER-63455

      Source: https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_enterprise_rhel_80_64_bit_dynamic_all_feature_flags_required_csfle_create_lib_patch_cd92f1325982f82314e0cbb08ced8d254198a7b2_621d06960305b96e747dee1e_22_02_28_17_31_22/0?type=T&text=true

      [2022/02/28 18:32:36.190] if [ "$actual" != "$expect" ]; then
      [2022/02/28 18:32:36.190]   echo "Error: symbols are not as expected in: $SOPATH"
      [2022/02/28 18:32:36.190]   echo "Diff:"
      [2022/02/28 18:32:36.190]   diff <(echo "$actual") <(echo "$expect")
      [2022/02/28 18:32:36.190]   exit 1
      [2022/02/28 18:32:36.190] fi
      [2022/02/28 18:32:36.190] echo "CSFLE exported symbols test succeeded!"
      [2022/02/28 18:32:36.190] #
      [2022/02/28 18:32:36.190] # If the shared library version of the unit tests exists, run it,
      [2022/02/28 18:32:36.190] # and the verify it can be debugged with gdb
      [2022/02/28 18:32:36.190] #
      [2022/02/28 18:32:36.190] if [ ! -f "$UNITTEST_PATH" ]; then
      [2022/02/28 18:32:36.190]   echo "Skipping CSFLE shared library unit test. Test not found at $UNITTEST_PATH"
      [2022/02/28 18:32:36.190]   exit 0
      [2022/02/28 18:32:36.190] fi
      [2022/02/28 18:32:36.190] Running CSFLE exported symbols test
      [2022/02/28 18:32:36.190] CSFLE exported symbols test succeeded!
      

      The line [2022/02/28 18:32:36.190] CSFLE exported symbols test succeeded! should follow [2022/02/28 18:32:36.190] echo "CSFLE exported symbols test succeeded!", but instead it is far behind it

      Attachments

        Activity

          People

            backlog-server-security Backlog - Security Team
            sergey.galtsev@mongodb.com Sergey Galtsev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: