Skip to content

rt.sh failing if the log does not have "The maximum resident set size" even if the test passes #3325

Description

@uturuncoglu

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.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions