Skip to content

s390x v2.324.0#76

Merged
theihor merged 3 commits intomainfrom
s390x-v2.324.0
Jun 2, 2025
Merged

s390x v2.324.0#76
theihor merged 3 commits intomainfrom
s390x-v2.324.0

Conversation

@theihor
Copy link
Copy Markdown
Contributor

@theihor theihor commented May 27, 2025

Update s390x dockerfile to use newer gaplib and add a custom runner patch to mitigate a test failure.

See commits for details.

The repository with custom patches for github actions runner app has
moved [1]. Update s390x.Dockerfile accordingly.

[1] anup-kodlekere/gaplib#35 (comment)

Signed-off-by: Ihor Solodrai <isolodrai@meta.com>
@theihor theihor force-pushed the s390x-v2.324.0 branch 3 times, most recently from 52cab7e to 2b0d012 Compare May 28, 2025 20:54
theihor added 2 commits May 28, 2025 15:52
Signed-off-by: Ihor Solodrai <isolodrai@meta.com>
For s390x we build native binaries of actions/runner app [1]. This is
a dotnet app with modifications from gaplib [2].

Recent release (v2.324.0) fails `./dev.sh test` command (which runs C#
tests) with the following error [3]:

  [xUnit.net 00:01:19.89]     GitHub.Runner.Common.Tests.Listener.RunnerL0.TestRunnerJobRequestMessageFromRunService_AuthMigrationFallback [FAIL]
    Failed GitHub.Runner.Common.Tests.Listener.RunnerL0.TestRunnerJobRequestMessageFromRunService_AuthMigrationFallback [190 ms]
EXEC : error Message:  [/opt/runner/src/dir.proj]
     Moq.MockException :
  Expected invocation on the mock exactly 2 times, but was 3 times: x => x.LoadCredentials(True)

After some debugging I came to a conclusion that this failure occurs
due to the slowness of qemu emulation. The test relies on timing of
particular events, which are too off in case of slow execution.

We could disable tests in our image build, given that many tests are
disabled by gaplib patches anyway. But that would increase the risk of
deploying a broken runner.

So instead I am adding a patch mitigating this specific test failure,
on top of gaplib to unblock s390x runner update.

[1] https://github.com/actions/runner/
[2] https://github.com/ppc64le/gaplib/
[3] https://github.com/kernel-patches/runner/actions/runs/15263732043/job/42925724125

Signed-off-by: Ihor Solodrai <isolodrai@meta.com>
@theihor theihor marked this pull request as ready for review May 28, 2025 22:55
@theihor
Copy link
Copy Markdown
Contributor Author

theihor commented May 28, 2025

Opened a PR for actions/runner: actions/runner#3877

@theihor theihor merged commit b09efc6 into main Jun 2, 2025
3 of 6 checks passed
@theihor theihor deleted the s390x-v2.324.0 branch June 2, 2025 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant