Skip to content

t-credential.sh fails when building with lower level of parallelism #5609

@opohorel

Description

@opohorel

Describe the bug
When building the test suite with make -C t PROVE_EXTRA_ARGS="-j40 -v", the tests pass. However, when turning the parallelism down to -j4, the t-credentials.sh fails consistently on test 13 - credentials with bad netrc creds will retry

To Reproduce
Steps to reproduce the behavior:

  1. make tests with make -C t PROVE_EXTRA_ARGS="-j4 -v"
  2. see how they fail

Expected behavior
Passing test suit, same as when running with -j40

This issue occurred, when building git-lfs for CentOS Stream. We use make -C t PROVE_EXTRA_ARGS="-j$(getconf _NPROCESSORS_ONLN) -v" to get the number of physical cores present on the build system. When building in Koji, we can't see the issue, because by default we use -j40, however Zuul CI running on MR in our GitLab uses -j4, which then fails.
I was able to reproduce this locally in mockbuild environment.

As I don't really know the test suite of git-lfs, I don't know what is the root cause of the problem.

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