Skip to content

[lit] TestTimes.py is racy - file access should be atomic / there should be a lock #59755

Open
@LebedevRI

Description

@LebedevRI

It does not do anything to ensure that there isn't a second instance of lit
that is also using the same .lit_test_times.txt. They may happen to write
into the same file at the same time, and now you've got corrupted .lit_test_times.txt,
and lit would not start, and you don't know what's wrong or how to fix it.

CC @davemgreen @davezarzycki

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions