* CI Failures
@ 2025-11-14 20:00 Phillip Wood
2025-11-14 20:11 ` Phillip Wood
0 siblings, 1 reply; 8+ messages in thread
From: Phillip Wood @ 2025-11-14 20:00 UTC (permalink / raw)
To: Git Mailing List
I'm seeing all the Ubuntu based jobs fail. Judging by the error messages
at [1] it appears that their version of sudo no longer supports
"--preserve-env" which breaks all of our scripts. Does anyone know how
to make sure we install the C version of sudo rather than the rust
version? Failing that I guess we could switch to using "runuser"
Thanks
Phillip
[1]
https://github.com/phillipwood/git/actions/runs/19371231059/job/55427466699
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: CI Failures
2025-11-14 20:00 CI Failures Phillip Wood
@ 2025-11-14 20:11 ` Phillip Wood
2025-11-14 20:22 ` Junio C Hamano
0 siblings, 1 reply; 8+ messages in thread
From: Phillip Wood @ 2025-11-14 20:11 UTC (permalink / raw)
To: Git Mailing List
On 14/11/2025 20:00, Phillip Wood wrote:
> I'm seeing all the Ubuntu based jobs fail. Judging by the error messages
> at [1] it appears that their version of sudo no longer supports "--
> preserve-env" which breaks all of our scripts. Does anyone know how to
> make sure we install the C version of sudo rather than the rust version?
> Failing that I guess we could switch to using "runuser"
Sorry for the noise, I see this was fixed last month, I had accidentally
rebased onto a stale branch.
Thanks
Phillip
> Thanks
>
> Phillip
>
> [1] https://github.com/phillipwood/git/actions/runs/19371231059/
> job/55427466699
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: CI Failures
2025-11-14 20:11 ` Phillip Wood
@ 2025-11-14 20:22 ` Junio C Hamano
2025-11-14 20:34 ` CI Failures (osx with p4) Junio C Hamano
0 siblings, 1 reply; 8+ messages in thread
From: Junio C Hamano @ 2025-11-14 20:22 UTC (permalink / raw)
To: Phillip Wood; +Cc: Git Mailing List
Phillip Wood <phillip.wood123@gmail.com> writes:
> On 14/11/2025 20:00, Phillip Wood wrote:
>> I'm seeing all the Ubuntu based jobs fail. Judging by the error messages
>> at [1] it appears that their version of sudo no longer supports "--
>> preserve-env" which breaks all of our scripts. Does anyone know how to
>> make sure we install the C version of sudo rather than the rust version?
>> Failing that I guess we could switch to using "runuser"
>
> Sorry for the noise, I see this was fixed last month, I had accidentally
> rebased onto a stale branch.
I think we've merged the fix down to the maint-2.51 track but not to
maint-2.50 and below. fddb4842 (ci: fix broken jobs on Ubuntu 25.10
caused by switch to sudo-rs(1), 2025-10-10) cannot be merged below
there, but you should be able to cherry-pick if needed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* CI Failures (osx with p4)
2025-11-14 20:22 ` Junio C Hamano
@ 2025-11-14 20:34 ` Junio C Hamano
2025-11-16 15:23 ` Koji Nakamaru
0 siblings, 1 reply; 8+ messages in thread
From: Junio C Hamano @ 2025-11-14 20:34 UTC (permalink / raw)
To: Git Mailing List
Speaking of CI failures, I think we are seeing unusually high rate
of failures from random osx jobs failing to successfully run t98xx
series. Is p4 on macOSX still a thing? As macOSX tests tend to
take very long to complete compared to other jobs, I am tempted to
suggest dropping p4 tests from there.
Opinions?
----- >8 -----
Subject: [PATCH] CI: drop Perforce tests from macOSX jobs
It seems that we seem to be getting unusually higher rate of
failures from random macOSX jobs failing to run t98xx series, even
though we haven't changed Perforce interaction part of our codebase
for quite some time, and the failures seem to be limited to macOSX
jobs and no other platforms.
Most importantly, nobody from the macOSX community seems to have
raised an issue here, reporting any failures.
Perhaps we should stop testing the combination of P4 and macOSX to
save cycles, electricity, and my sanity ;-)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
ci/install-dependencies.sh | 4 ----
1 file changed, 4 deletions(-)
diff --git c/ci/install-dependencies.sh w/ci/install-dependencies.sh
index 50628ee2dd..3f718dad41 100755
--- c/ci/install-dependencies.sh
+++ w/ci/install-dependencies.sh
@@ -109,10 +109,6 @@ macos-*)
brew link --force gettext
mkdir -p "$CUSTOM_PATH"
- wget -q "$P4WHENCE/bin.macosx1015x86_64/helix-core-server.tgz" &&
- tar -xf helix-core-server.tgz -C "$CUSTOM_PATH" p4 p4d &&
- sudo xattr -d com.apple.quarantine "$CUSTOM_PATH/p4" "$CUSTOM_PATH/p4d" 2>/dev/null || true
- rm helix-core-server.tgz
case "$jobname" in
osx-meson)
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: CI Failures (osx with p4)
2025-11-14 20:34 ` CI Failures (osx with p4) Junio C Hamano
@ 2025-11-16 15:23 ` Koji Nakamaru
2025-11-16 17:18 ` Junio C Hamano
0 siblings, 1 reply; 8+ messages in thread
From: Koji Nakamaru @ 2025-11-16 15:23 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Git Mailing List
On Sat, Nov 15, 2025 at 5:34 AM Junio C Hamano <gitster@pobox.com> wrote:
>
> Speaking of CI failures, I think we are seeing unusually high rate
> of failures from random osx jobs failing to successfully run t98xx
> series. Is p4 on macOSX still a thing? As macOSX tests tend to
> take very long to complete compared to other jobs, I am tempted to
> suggest dropping p4 tests from there.
>
> Opinions?
>
> ----- >8 -----
> Subject: [PATCH] CI: drop Perforce tests from macOSX jobs
>
> It seems that we seem to be getting unusually higher rate of
> failures from random macOSX jobs failing to run t98xx series, even
> though we haven't changed Perforce interaction part of our codebase
> for quite some time, and the failures seem to be limited to macOSX
> jobs and no other platforms.
>
> Most importantly, nobody from the macOSX community seems to have
> raised an issue here, reporting any failures.
>
> Perhaps we should stop testing the combination of P4 and macOSX to
> save cycles, electricity, and my sanity ;-)
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> ---
> ci/install-dependencies.sh | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git c/ci/install-dependencies.sh w/ci/install-dependencies.sh
> index 50628ee2dd..3f718dad41 100755
> --- c/ci/install-dependencies.sh
> +++ w/ci/install-dependencies.sh
> @@ -109,10 +109,6 @@ macos-*)
> brew link --force gettext
>
> mkdir -p "$CUSTOM_PATH"
> - wget -q "$P4WHENCE/bin.macosx1015x86_64/helix-core-server.tgz" &&
> - tar -xf helix-core-server.tgz -C "$CUSTOM_PATH" p4 p4d &&
> - sudo xattr -d com.apple.quarantine "$CUSTOM_PATH/p4" "$CUSTOM_PATH/p4d" 2>/dev/null || true
> - rm helix-core-server.tgz
>
> case "$jobname" in
> osx-meson)
>
The cause might be that the macos-14 and later images are for arm64 [1],
but install-dependencies.sh still downloads the x86_64 Perforce
commands. This leads to Rosetta translation overhead. The arm64 Perforce
commands can be downloaded with the following modification. I confirmed
that this modified version runs without any error [2].
[1]: https://github.com/actions/runner-images?tab=readme-ov-file#available-images
[2]: https://github.com/KojiNakamaru/git/actions/runs/19407172619
--
diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh
index 50628ee2dd..16ee593d30 100755
--- a/ci/install-dependencies.sh
+++ b/ci/install-dependencies.sh
@@ -7,7 +7,7 @@
begin_group "Install dependencies"
-P4WHENCE=https://cdist2.perforce.com/perforce/r23.2
+P4WHENCE=https://cdist2.perforce.com/perforce/r24.2
LFSWHENCE=https://github.com/github/git-lfs/releases/download/v$LINUX_GIT_LFS_VERSION
JGITWHENCE=https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.pgm/6.8.0.202311291450-r/org.eclipse.jgit.pgm-6.8.0.202311291450-r.sh
CARGO_MSRV_VERSION=0.18.4
@@ -109,7 +109,7 @@ macos-*)
brew link --force gettext
mkdir -p "$CUSTOM_PATH"
- wget -q "$P4WHENCE/bin.macosx1015x86_64/helix-core-server.tgz" &&
+ wget -q "$P4WHENCE/bin.macosx12arm64/helix-core-server.tgz" &&
tar -xf helix-core-server.tgz -C "$CUSTOM_PATH" p4 p4d &&
sudo xattr -d com.apple.quarantine "$CUSTOM_PATH/p4"
"$CUSTOM_PATH/p4d" 2>/dev/null || true
rm helix-core-server.tgz
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: CI Failures (osx with p4)
2025-11-16 15:23 ` Koji Nakamaru
@ 2025-11-16 17:18 ` Junio C Hamano
2025-11-16 23:25 ` Koji Nakamaru
0 siblings, 1 reply; 8+ messages in thread
From: Junio C Hamano @ 2025-11-16 17:18 UTC (permalink / raw)
To: Koji Nakamaru; +Cc: Git Mailing List
Koji Nakamaru <koji.nakamaru@gree.net> writes:
> The cause might be that the macos-14 and later images are for arm64 [1],
> but install-dependencies.sh still downloads the x86_64 Perforce
> commands. This leads to Rosetta translation overhead. The arm64 Perforce
> commands can be downloaded with the following modification. I confirmed
> that this modified version runs without any error [2].
>
> [1]: https://github.com/actions/runner-images?tab=readme-ov-file#available-images
> [2]: https://github.com/KojiNakamaru/git/actions/runs/19407172619
Ah, sounds great. Or switch to macos-14-large, which seems to be
still x86-64? I have no strong preference, but given that newer
units are all running on Apple silicon, perhaps testing with them,
instead of what was discontinued a few years ago, may probably be
still a better choice.
> --
> diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh
> index 50628ee2dd..16ee593d30 100755
> --- a/ci/install-dependencies.sh
> +++ b/ci/install-dependencies.sh
> @@ -7,7 +7,7 @@
>
> begin_group "Install dependencies"
>
> -P4WHENCE=https://cdist2.perforce.com/perforce/r23.2
> +P4WHENCE=https://cdist2.perforce.com/perforce/r24.2
Just being curious, other than "because it is newer than r23.2", was
there a particular reason why r24.2 was picked? It is not the
latest that has arm64 macos (r25.1 also has bin.macosx12arm64
subdirectory at the above distribution site), and r23.2 also has
bin.macosx12arm64 subdirectory, too, which makes the above update
curious if it comes without explanation, given that this would also
affect Ubuntu that slurps bin.linux26x86_64 from there.
> LFSWHENCE=https://github.com/github/git-lfs/releases/download/v$LINUX_GIT_LFS_VERSION
> JGITWHENCE=https://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.pgm/6.8.0.202311291450-r/org.eclipse.jgit.pgm-6.8.0.202311291450-r.sh
> CARGO_MSRV_VERSION=0.18.4
> @@ -109,7 +109,7 @@ macos-*)
> brew link --force gettext
>
> mkdir -p "$CUSTOM_PATH"
> - wget -q "$P4WHENCE/bin.macosx1015x86_64/helix-core-server.tgz" &&
> + wget -q "$P4WHENCE/bin.macosx12arm64/helix-core-server.tgz" &&
You explained this change very well. I didn't consider that the
rosetta-2 may get in the way.
> tar -xf helix-core-server.tgz -C "$CUSTOM_PATH" p4 p4d &&
> sudo xattr -d com.apple.quarantine "$CUSTOM_PATH/p4"
> "$CUSTOM_PATH/p4d" 2>/dev/null || true
> rm helix-core-server.tgz
Thanks.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: CI Failures (osx with p4)
2025-11-16 17:18 ` Junio C Hamano
@ 2025-11-16 23:25 ` Koji Nakamaru
2025-11-17 0:25 ` Junio C Hamano
0 siblings, 1 reply; 8+ messages in thread
From: Koji Nakamaru @ 2025-11-16 23:25 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Git Mailing List
On Mon, Nov 17, 2025 at 2:18 AM Junio C Hamano <gitster@pobox.com> wrote:
> > --
> > diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh
> > index 50628ee2dd..16ee593d30 100755
> > --- a/ci/install-dependencies.sh
> > +++ b/ci/install-dependencies.sh
> > @@ -7,7 +7,7 @@
> >
> > begin_group "Install dependencies"
> >
> > -P4WHENCE=https://cdist2.perforce.com/perforce/r23.2
> > +P4WHENCE=https://cdist2.perforce.com/perforce/r24.2
>
> Just being curious, other than "because it is newer than r23.2", was
> there a particular reason why r24.2 was picked? It is not the
> latest that has arm64 macos (r25.1 also has bin.macosx12arm64
> subdirectory at the above distribution site), and r23.2 also has
> bin.macosx12arm64 subdirectory, too, which makes the above update
> curious if it comes without explanation, given that this would also
> affect Ubuntu that slurps bin.linux26x86_64 from there.
When I first looked in r23.2 in the browser, somehow I could not find
bin.macosx12arm64, so I looked for another version that included
it. It now exists in r23.2 as you mentioned, and I totally agree that
it is better to keep using r23.2. I confirmed r23.2 runs without any
error [1].
[1]: https://github.com/KojiNakamaru/git/actions/runs/19413263298
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: CI Failures (osx with p4)
2025-11-16 23:25 ` Koji Nakamaru
@ 2025-11-17 0:25 ` Junio C Hamano
0 siblings, 0 replies; 8+ messages in thread
From: Junio C Hamano @ 2025-11-17 0:25 UTC (permalink / raw)
To: Koji Nakamaru; +Cc: Git Mailing List
Koji Nakamaru <koji.nakamaru@gree.net> writes:
> On Mon, Nov 17, 2025 at 2:18 AM Junio C Hamano <gitster@pobox.com> wrote:
>> > --
>> > diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh
>> > index 50628ee2dd..16ee593d30 100755
>> > --- a/ci/install-dependencies.sh
>> > +++ b/ci/install-dependencies.sh
>> > @@ -7,7 +7,7 @@
>> >
>> > begin_group "Install dependencies"
>> >
>> > -P4WHENCE=https://cdist2.perforce.com/perforce/r23.2
>> > +P4WHENCE=https://cdist2.perforce.com/perforce/r24.2
>>
>> Just being curious, other than "because it is newer than r23.2", was
>> there a particular reason why r24.2 was picked? It is not the
>> latest that has arm64 macos (r25.1 also has bin.macosx12arm64
>> subdirectory at the above distribution site), and r23.2 also has
>> bin.macosx12arm64 subdirectory, too, which makes the above update
>> curious if it comes without explanation, given that this would also
>> affect Ubuntu that slurps bin.linux26x86_64 from there.
>
> When I first looked in r23.2 in the browser, somehow I could not find
> bin.macosx12arm64, so I looked for another version that included
> it. It now exists in r23.2 as you mentioned, and I totally agree that
> it is better to keep using r23.2. I confirmed r23.2 runs without any
> error [1].
>
> [1]: https://github.com/KojiNakamaru/git/actions/runs/19413263298
Thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-11-17 0:25 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-14 20:00 CI Failures Phillip Wood
2025-11-14 20:11 ` Phillip Wood
2025-11-14 20:22 ` Junio C Hamano
2025-11-14 20:34 ` CI Failures (osx with p4) Junio C Hamano
2025-11-16 15:23 ` Koji Nakamaru
2025-11-16 17:18 ` Junio C Hamano
2025-11-16 23:25 ` Koji Nakamaru
2025-11-17 0:25 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).