The fault is also on my side, because the Hackintosh VM is way too outdated :-) It is now also EOL for Apple Updates, so I may need to spend some time to reinstall or upgrade it to latest x64 macOS (and hope it still works, the VM needs some patched cpuid, as it is AMD and Apple doesn't like AMD silicon). So updating is always a risk.

Uwe

Am 25.06.2024 um 13:37 schrieb Chris Hegarty:
Thanks Uwe,

I upgraded Gradle ( to 8.8 ), but of course didn’t notice this issue. 
Apologies. Happy that you found a workaround.

-Chris.

On 22 Jun 2024, at 15:34, Dawid Weiss <dawid.we...@gmail.com> wrote:


Thank you for digging, Uwe!

On Fri, Jun 21, 2024 at 10:24 PM Uwe Schindler <u...@thetaphi.de> wrote:
Hi,
it looks like I was able to work around by putting:
org.gradle.vfs.watch=false
into the config file ~/.gradle/gradle.properties on the MacOS's Jenkins Node.
This build seems to work again: 
https://jenkins.thetaphi.de/job/Lucene-main-MacOSX/11501/console
Uwe
Am 21.06.2024 um 18:48 schrieb Uwe Schindler:
Hi,

the issue is here: https://github.com/gradle/gradle/issues/29476

Looks like they solved the issue. We may need to update to later Gradle 8.8 
bugfix release. It looks like it's not yet available.

https://github.com/gradle/gradle/pull/29514

Jenkins is older than macos 11:

serv1-vm2:~ jenkins$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.14.6
BuildVersion:   18G9323

Uwe

Am 21.06.2024 um 18:01 schrieb Uwe Schindler:
Hi,

it looks like since we changed Gradle to latest version (not sure which PR it 
was), all builds on MacOS X fail on Policeman Jenkins (its is x86-64 not ARM, 
older version of MacOSX as its hard to update due to VM issues with 
VirtualBOX). The whole JVM crushes when Gradle starts. The hserr.pid shows that 
Gradle loads a native library which causes an issue. The dylib file is provided 
by Gradle so the issue is clearly the dylib file shipped with Gradle.

For now I disabled the builds. I have the feeling that Gradle has some NPE error in their 
own dynamic library "libnative-platform-file-events.dylib":

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000012c06c000, pid=26586, tid=3587
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.21+9 (11.0.21+9) (build 
11.0.21+9)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.21+9 (11.0.21+9, mixed mode, 
tiered, compressed oops, parallel gc, bsd-amd64)
# Problematic frame:
# C  [libnative-platform-file-events.dylib+0x0] __dso_handle+0x0
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, 
try "ulimit -c unlimited" before starting Java again

See attached file for full details, it also shows at end that the mentioned 
libnative-platform-file-events.dylib file is shipped with Gradle:

0x000000012c060000 
/Users/jenkins/.gradle/native/c067742578af261105cb4f569cf0c3c89f3d7b1fecec35dd04571415982c5e48/osx-amd64/libnative-platform.dylib
0x000000012c06c000 
/Users/jenkins/.gradle/native/100fb08df4bc3b14c8652ba06237920a3bd2aa13389f12d3474272988ae205f9/osx-amd64/libnative-platform-file-events.dylib

Solr builds have not yet updated Gradle, they build fine.

Uwe

Am 21.06.2024 um 15:58 schrieb Policeman Jenkins Server:
Build: https://jenkins.thetaphi.de/job/Lucene-main-MacOSX/11500/
Java: 64bit/hotspot/jdk-21.0.1 -XX:-UseCompressedOops -XX:+UseParallelGC

No tests ran.

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscr...@lucene.apache.org
For additional commands, e-mail: builds-h...@lucene.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail:dev-unsubscr...@lucene.apache.org
For additional commands, e-mail:dev-h...@lucene.apache.org
--
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail: u...@thetaphi.de

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

--
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail: u...@thetaphi.de


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to