Skip to content

Flaky TestFailFast tests: Result did not match the golden fixture #2663

@Ikke

Description

@Ikke

Description

At least on certain architectures, we notice some of the TestFailFast/Task/task and TestFailFast/Option/default tests are flaky.

On riscv64:

    executor_test.go:1082: Result did not match the golden fixture. Diff is below:
        
        --- Expected
        +++ Actual
        @@ -1,2 +1,2 @@
        +dep2
         
        -

Different build (3.46.4):

  executor_test.go:1061: Result did not match the golden fixture. Diff is below:
        
        --- Expected
        +++ Actual
        @@ -1,2 +1,2 @@
        +dep1
         
        -
  executor_test.go:1076: Result did not match the golden fixture. Diff is below:
        
        --- Expected
        +++ Actual
        @@ -1,2 +1,2 @@
        +dep1
         
        -

On ppc64le:

   executor_test.go:1097: Result did not match the golden fixture. Diff is below:
        
        --- Expected
        +++ Actual
        @@ -1,2 +1,3 @@
        +dep2
        +dep3
         
        -

After retrying a couple of times, these tests eventually pass.

Version

3.47.0

Operating system

Alpine Linux

Experiments Enabled

No response

Example Taskfile

# N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions