We were recently syncing the UFS Coastal with recent version of the UFS WM and we realized our two UFS Coastal specific RTs were failing under Jenkins workflow.
It tuns out those two tests were not providing "The maximum resident set size". Then, we did following hack in thert.sh to make it work.
original version:
GETMEMFROMLOG=$(grep "The maximum resident set size" "${LOG_DIR}/rt_${TEST_NAME}_${COMPILER}.log")
modified one:
GETMEMFROMLOG=$(grep "The maximum resident set size" "${LOG_DIR}/rt_${TEST_NAME}_${COMPILER}.log" || true)
At this point, I wonder if this is correct way to fix it or we need something else to fix it in the component level (like adding compile option etc.)
We were recently syncing the UFS Coastal with recent version of the UFS WM and we realized our two UFS Coastal specific RTs were failing under Jenkins workflow.
It tuns out those two tests were not providing "The maximum resident set size". Then, we did following hack in the
rt.shto make it work.original version:
GETMEMFROMLOG=$(grep "The maximum resident set size" "${LOG_DIR}/rt_${TEST_NAME}_${COMPILER}.log")
modified one:
GETMEMFROMLOG=$(grep "The maximum resident set size" "${LOG_DIR}/rt_${TEST_NAME}_${COMPILER}.log" || true)
At this point, I wonder if this is correct way to fix it or we need something else to fix it in the component level (like adding compile option etc.)