Skip to content

[Feature Request] record aborted testcases #889

Closed

Description

@garloff

Tests that don't finish don't have a link to a log file, which is bad.
- Reason is that the script searches for the last result (PASS/FAIL), if test did not yield any results, it is not linked
- Solution: I no data is found, link to last attempt

Activity

  1. added
    enhancement
    on Mar 6, 2025
  2. added theissue type on Mar 6, 2025
  3. added
    standards
    on Mar 6, 2025
  4. mbuechse commented on May 10, 2025

    @mbuechse
    Contributor

    I'm afraid the problem is more severe: the testcases can be missing in the report, and then, of course, they can't be inserted nor found in the database.

    A check script can output results for multiple testcases, and if its execution is cut short (by a badly handled exception for instance), then some testcases can be missing. (This holds true for the case that the number of testcases is 1.) We don't know prima facie that these testcases are missing, because we don't know that the script is supposed to output them; they could fall under the responsibility of some other script, or they could be missing intentionally because they are expensive to check and not checked every time.

    I wouldn't want to make the specs more complicated by having them include which testcase is to be expected where and when. What I would do though:

    • improve the quality of the check scripts throughout to make sure each testcase is reported on so long as it was intended to be checked
    • add a third result besides "PASS" and "FAIL", namely "ABORT" (or similar)
    • insert "ABORT" results into the database (recall that previously they would be ignored)

    With these measures in place, there is a much higher chance that the report contains all relevant testcases, and we can distinguish "ABORT" from missing. This distinction is only relevant for debugging: both results have the same effect for the status of the subject under test, but the former one means that debug logs are present.

  5. moved this from Backlog to Doing in Sovereign Cloud Stackon May 10, 2025
  6. mbuechse commented on Jun 5, 2025

    @mbuechse
    Contributor

    @depressiveRobot the first step here would be to make test scripts more robust in general. To go through them one by one, and in each case make sure that every test case is reported on, potentially as ABORT, except something extreme happens (such as when the Python interpreter is killed or the whole pod/VM is killed). This would indeed be a good first issue to get acquainted with the scripts. It also has enough room for creativity, because you can work on a kind of reproducable pattern for making these scripts robust.

  7. changed the title [-][Feature Request] Link to last logfile if there is no result[/-] [+][Feature Request] record aborted testcases[/+] on Jun 5, 2025
  8. depressiveRobot commented on Sep 18, 2025

    @depressiveRobot
    Contributor

    Done in #975

  9. mbuechse commented on Sep 18, 2025

    @mbuechse
    Contributor

    I left it open on purpose, because there is still work to do (e.g., for KaaS)

  10. depressiveRobot commented on Sep 19, 2025

    @depressiveRobot
    Contributor

    Ah ok, sorry for that.

  11. added
    IaaS
    KaaS
    on Feb 3, 2026
  12. mbuechse commented on Feb 19, 2026

    @mbuechse
    Contributor

    This has been done for IaaS and needs to be extended to KaaS. Reassigning to @depressiveRobot. Important: also rename the subdirectories like for IaaS.

  13. removed their assignment
    on Feb 19, 2026
  14. moved this from Backlog to Doing in Sovereign Cloud Stackon Mar 17, 2026
  15. mbuechse commented on Jun 22, 2026

    @mbuechse
    Contributor

    With #1228, this issue is complete for now. The tests regarding the default storage class do need work (in multiple respects), but they aren't part of the scope yet.

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

Metadata

Metadata

Assignees

Labels

IaaSKaaSenhancementgood first issuestandards

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions