Skip to content

How is flakiness calculated? #983

@msd117c

Description

@msd117c

We are processing the data Marathon gathers from the tests execution and we want to visualize it to analyze how we are performing.

For test duration it is great but I'm struggling to understand how the flakiness is calculated. If I am not wrong, it is only possible to calculate the failure rate for a given period of time but there is no way to distinguish between flakiness and (expected) failures, right? For instance, if I change the production code but do not adapt the test, it is not flaky, it is expected to fail. However, for a given state (sha for instance) multiple results mean flakiness. As far as I know this statistic can't be obtained, right? Marathon is not associating git-related information to the test execution.

This also makes me question how the flakiness strategy is implemented, is mitigating flakiness based on the failure rate and not on actual flakiness?

Maybe I'm wrong on my conclusion so please any extra information I may missed is more than welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions