Skip to content

[iOS only] Negative duration for some test executions #984

@msd117c

Description

@msd117c

Describe the bug
For a given (iOS) test, the test runner is writing a (huge) negative duration in the influxDB bucket we use for Marathon.
Captura de pantalla 2024-11-20 a las 15 05 14
These durations belong to the same test.

To Reproduce
It is hard to reproduce the issue because the data comes from executions during development and it is not the only one reporting data for that time window, making it harder to locate the logs.

Expected behavior
I would expect a positive test duration or 0 if something unexpected happened, though that would introduce noise in the metrics (less than actual noise with that negative value though).

Logs and reports
I can't access the logs but the test was reported as not successful to the influxDB instance (so I guess we can expect a greater than 0 duration).

Devices (please complete the following information):

  • Device: iPhone 16
  • OS: iOS 18

Additional context
I will try to manually reproduce the issue to have access to the logs. This only happened with an iOS setup (afaik Android never had this issue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions