Skip to content

Ci read test results - #2252

Open
Vlasdislav wants to merge 3 commits into
apache:mainfrom
Vlasdislav:ci-read-test-results
Open

Vlasdislav wants to merge 3 commits into
apache:mainfrom
Vlasdislav:ci-read-test-results

Conversation

@Vlasdislav

Copy link
Copy Markdown
Collaborator

Problem
For example I see in job Generate Test Job Summary End: ic-pl-modules output:

test_results.ic-pl-modules.1.txt: line 9: installcheck: command not found
test_results.ic-pl-modules.2.txt: line 9: installcheck: command not found
...

This because we sourcing command at time reading after end tests.

Solving
Read test result files as data instead of sourcing them as shell scripts. This prevents values such as install installcheck from being interpreted as commands when generating CI summaries.

@Vlasdislav
Vlasdislav requested review from edespino, leborchuk and tuhaihe and removed request for leborchuk and tuhaihe November 5, 2026 10:16
if [ ! -f "$config_log" ]; then
{
echo "MAKE_COMMAND=\"${behave_cmd}\""
echo "MAKE_COMMAND=${behave_cmd}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we keep the "" quotes while printing command? Why we change it, let quotes be printed out

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants