[SERVER-64067] csfle tests should redirect stderr to stdout Created: 28/Feb/22  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Sergey Galtsev (Inactive) Assignee: Backlog - Security Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Security
Participants:

 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


Generated at Thu Feb 08 05:59:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.