Skip to content

e2e github logs#415

Merged
mpagot merged 1 commit intoSUSE:mainfrom
mpagot:e2e_github
Nov 17, 2025
Merged

e2e github logs#415
mpagot merged 1 commit intoSUSE:mainfrom
mpagot:e2e_github

Conversation

@mpagot
Copy link
Copy Markdown
Collaborator

@mpagot mpagot commented Nov 13, 2025

Let test_die print a github consumable log format then the e2e test is executed in Github.

Extension of previous #413

image

@mpagot mpagot force-pushed the e2e_github branch 3 times, most recently from 4114294 to 1ba5e83 Compare November 14, 2025 12:29
@mpagot mpagot marked this pull request as ready for review November 14, 2025 12:29
Copy link
Copy Markdown
Collaborator

@alvarocarvajald alvarocarvajald left a comment

Choose a reason for hiding this comment

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

LGTM. Just a small suggestion.

Comment thread scripts/qesap/test/e2e/lib.sh Outdated
Comment on lines +36 to +41
local caller_info
caller_info=$(caller 0)
local line
line=$(echo "${caller_info}" | awk '{print $1}')
local file
file=$(echo "${caller_info}" | awk '{print $3}')
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think you can combine all these declarations as you did on L33-L35, and even drop $caller_info as it's not used later (and caller is a shell built-in, so it's not creating a new process anyway, so it shouldn't have any overhead):

  local line=$(caller 0 | awk '{print $1}')
  local file=$(caller 0 | awk '{print $3}')

Copy link
Copy Markdown
Collaborator

@lpalovsky lpalovsky left a comment

Choose a reason for hiding this comment

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

LGTM

Let test_die to print a github consumable log format then the e2e test is executed in Github.
@mpagot mpagot merged commit c58b8c7 into SUSE:main Nov 17, 2025
4 checks passed
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.

3 participants