Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

results.yml should include in progress, errored and aborted tests #3238

Open
thrix opened this issue Sep 25, 2024 · 2 comments
Open

results.yml should include in progress, errored and aborted tests #3238

thrix opened this issue Sep 25, 2024 · 2 comments
Assignees
Labels
area | results Related to how tmt stores and shares results
Milestone

Comments

@thrix
Copy link
Collaborator

thrix commented Sep 25, 2024

Currently, when tmt execution dies in the middle of the plan execution, the results.yml:

  • contains only tests which were executed
  • all other tests (running or skipped) are missing

This causes issues to the user as it is not possible to easily for consumers of the results.yml (like Testing Farm) to provide a reasonable output.

Blocker for VirtQE and KernelQE.

🔽 TFT-2847

@thrix thrix added this to the 1.38 milestone Sep 25, 2024
@thrix thrix self-assigned this Sep 25, 2024
@happz happz added the area | results Related to how tmt stores and shares results label Sep 25, 2024
@happz
Copy link
Collaborator

happz commented Sep 25, 2024

Adding an error result for the test that "killed" the execute should be well within our reach.

It was also discussed (briefly, IIRC, feel free to correct me) that tmt could emit placeholder results, with let's say idle outcome, for collected and soon-to-be-executed tests, converting them to actual results as it goes. To me, this sounds like a good idea, and it would be consistent with the error result mentioned above.

@lukaszachy
Copy link
Collaborator

Just a note to the 'idle' state: With 'results:custom' the count of expected vs real results might differ as additional tests might be reported (new test names be the name of the test with results: custom appended by reported name).
This is no blocker by any means, just something to document so consumers of results.yaml are not surprised that the number of results after execute step is higher than before.

@thrix thrix modified the milestones: 1.38, 1.39 Oct 25, 2024
@thrix thrix modified the milestones: 1.39, 1.40 Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area | results Related to how tmt stores and shares results
Projects
None yet
Development

No branches or pull requests

3 participants