GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy - #865

Merged
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix
Oct 27, 2025
Merged

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy#865
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix

Conversation

@jbonofre

@jbonofrejbonofre commented Oct 2, 2025

Copy link
Copy Markdown
Member

Closes#898.

@jbonofrejbonofre changed the title Upgrade to Apache POM 35 and identify fixes needed to have CI happyMINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 2, 2025
@jbonofre

jbonofre commented Oct 2, 2025

Copy link
Copy Markdown
MemberAuthor

For the JNI Ubuntu, I see this message from archery:

 × python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Python < 3.10 is not supported
[end of output]

Checking for an update.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre

Copy link
Copy Markdown
MemberAuthor

Yup agree. It's what I gonna try.

@raulcd

raulcd commented Oct 7, 2025

Copy link
Copy Markdown
Member

The error with cffi not being available for free-threaded means it's trying to use free-threaded wheels (an python) which is unexpected from what I understand:

 RuntimeError: CFFI does not support the free-threaded build of CPython 3.13. Upgrade to free-threaded 3.14 or newer to use CFFI with the free-threaded build.

Comment threadcompose.yaml Outdated
@github-actions

This comment has been minimized.

@jbonofrejbonofre added the dependencies Pull requests that update a dependency file label Oct 8, 2025
@github-actionsgithub-actionsBot added this to the 18.4.0 milestone Oct 8, 2025
@jbonofrejbonofre mentioned this pull request Oct 10, 2025
@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47749 and

diff --git a/ci/scripts/jni_macos_build.sh b/ci/scripts/jni_macos_build.sh
index f7543b6f..7f927d19 100755
--- a/ci/scripts/jni_macos_build.sh+++ b/ci/scripts/jni_macos_build.sh@@ -142,6 +142,7 @@ github_actions_group_begin "Checking shared dependencies for libraries"
pushd "${dist_dir}"
archery linking check-dependencies \
--allow CoreFoundation \
+ --allow Network \
--allow Security \
--allow libSystem \
--allow libarrow_cdata_jni \

for macOS.

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

diff --git a/.env b/.env
index d3e1c1d6..a7783537 100644
--- a/.env+++ b/.env@@ -40,7 +40,7 @@ ARCH_SHORT=amd64
# Default repository to pull and push images from
REPO=ghcr.io/apache/arrow-java-dev
-ARROW_REPO=apache/arrow-dev+ARROW_REPO=ghcr.io/apache/arrow-dev
# The setup attempts to generate coredumps by default, in order to disable the
# coredump generation set it to 0
@@ -53,5 +53,4 @@ MAVEN=3.9.9
# Versions for various dependencies used to build artifacts
# Keep in sync with apache/arrow
ARROW_REPO_ROOT=./arrow
-PYTHON=3.9-VCPKG="f7423ee180c4b7f40d43402c2feb3859161ef625" # 2024.06.15 Release+VCPKG="4334d8b4c8916018600212ab4dd4bbdc343065d1" # 2025.09.17 Releasediff --git a/ci/docker/vcpkg-jni.dockerfile b/ci/docker/vcpkg-jni.dockerfile
index 55fa35e0..d6bd322a 100644
--- a/ci/docker/vcpkg-jni.dockerfile+++ b/ci/docker/vcpkg-jni.dockerfile@@ -18,24 +18,10 @@
ARG base
FROM ${base}
-# Install the libraries required by Gandiva to run-# Use enable llvm[enable-rtti] in the vcpkg.json to avoid link problems in Gandiva-RUN vcpkg install \- --clean-after-build \- --x-install-root=${VCPKG_ROOT}/installed \- --x-manifest-root=/arrow/ci/vcpkg \- --x-feature=dev \- --x-feature=flight \- --x-feature=gcs \- --x-feature=json \- --x-feature=parquet \- --x-feature=gandiva \- --x-feature=s3-
# Install Java
# We need Java for JNI headers, but we don't invoke Maven in this build.
ARG java=11
-RUN yum install -y java-$java-openjdk-devel && yum clean all+RUN dnf install -y java-$java-openjdk-devel && dnf clean all
# For ci/scripts/{cpp,java}_*.sh
ENV ARROW_HOME=/tmp/local \
diff --git a/compose.yaml b/compose.yaml
index b125c3c9..f5082a22 100644
--- a/compose.yaml+++ b/compose.yaml@@ -99,7 +99,7 @@ services:
cache_from:
- ${REPO}:${ARCH}-vcpkg-jni-${VCPKG}
args:
- base: ${ARROW_REPO}:${ARCH}-python-${PYTHON}-wheel-manylinux-2014-vcpkg-${VCPKG}+ base: ${ARROW_REPO}:${ARCH}-cpp-jni-${VCPKG}
volumes:
- .:/arrow-java:delegated
- ${ARROW_REPO_ROOT}:/arrow:delegated

for Linux.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

I'm fixing the base image here (need to adapt).

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

apache/arrow#47749 was merged and JNI jobs on macOS passed.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou macos works now thanks. But not Ubuntu yet. I'm investigating.

@kou

kou commented Oct 11, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

It's not merged yet. It's a blocker for Linux.

@kou
kouforce-pushed the ci-test-and-fix branch 2 times, most recently from 06b9e8d to 0b47984CompareOctober 23, 2025 05:24
@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915

@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915 can fix the symbol error but it seems that Java process is crashed:

2025-10-23T06:05:57.7339179Z [ERROR] See /home/runner/work/arrow-java/arrow-java/dataset/target/surefire-reports for the individual test results.
2025-10-23T06:05:57.7340624Z [ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
2025-10-23T06:05:57.7342010Z [ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7362032Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7366551Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7367142Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7367590Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7368213Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7369823Z [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7374432Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7378464Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7379052Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7379495Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7380123Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7381305Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:456)
2025-10-23T06:05:57.7382800Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:358)
2025-10-23T06:05:57.7384130Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:296)
2025-10-23T06:05:57.7385567Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)
2025-10-23T06:05:57.7386899Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1337)
2025-10-23T06:05:57.7388551Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1135)
2025-10-23T06:05:57.7390302Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:969)
2025-10-23T06:05:57.7391570Z [ERROR] at jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
2025-10-23T06:05:57.7392808Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7393916Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7394713Z [ERROR] at com.gradle.maven.cache.extension.c.n.a(SourceFile:53)
2025-10-23T06:05:57.7395641Z [ERROR] at com.gradle.maven.cache.extension.c.d.a(SourceFile:27)
2025-10-23T06:05:57.7396382Z [ERROR] at com.gradle.maven.cache.extension.c.q.a(SourceFile:23)
2025-10-23T06:05:57.7397145Z [ERROR] at com.gradle.maven.cache.extension.c.j.a(SourceFile:28)
2025-10-23T06:05:57.7397904Z [ERROR] at com.gradle.maven.cache.extension.c.p.a(SourceFile:27)
2025-10-23T06:05:57.7398647Z [ERROR] at com.gradle.maven.cache.extension.c.b.c(SourceFile:118)
2025-10-23T06:05:57.7399405Z [ERROR] at com.gradle.maven.cache.extension.c.b.a(SourceFile:62)
2025-10-23T06:05:57.7400154Z [ERROR] at com.gradle.maven.cache.extension.c.g.a(SourceFile:27)
2025-10-23T06:05:57.7400901Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7401607Z [ERROR] at com.gradle.maven.cache.extension.c.o.a(SourceFile:18)
2025-10-23T06:05:57.7402319Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7403012Z [ERROR] at com.gradle.maven.cache.extension.c.c.a(SourceFile:26)
2025-10-23T06:05:57.7403767Z [ERROR] at com.gradle.maven.cache.extension.c.h$1.run(SourceFile:35)
2025-10-23T06:05:57.7404749Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:30)
2025-10-23T06:05:57.7406286Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:27)
2025-10-23T06:05:57.7407496Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:67)
2025-10-23T06:05:57.7408598Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:60)
2025-10-23T06:05:57.7409694Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:167)
2025-10-23T06:05:57.7410874Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:60)
2025-10-23T06:05:57.7411981Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.run(SourceFile:48)
2025-10-23T06:05:57.7412947Z [ERROR] at com.gradle.maven.cache.extension.c.h.a(SourceFile:31)
2025-10-23T06:05:57.7413694Z [ERROR] at com.gradle.maven.cache.extension.c.m.a(SourceFile:80)
2025-10-23T06:05:57.7414547Z [ERROR] at com.gradle.maven.cache.extension.g.b.lambda$createProxy$0(SourceFile:76)
2025-10-23T06:05:57.7430662Z [ERROR] at jdk.proxy31/jdk.proxy31.$Proxy139.execute(Unknown Source)
2025-10-23T06:05:57.7431546Z [ERROR] at com.gradle.maven.scan.extension.internal.d.b.executeMojo(SourceFile:116)
2025-10-23T06:05:57.7432622Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
2025-10-23T06:05:57.7433731Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
2025-10-23T06:05:57.7434767Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
2025-10-23T06:05:57.7442486Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
2025-10-23T06:05:57.7443657Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
2025-10-23T06:05:57.7444785Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
2025-10-23T06:05:57.7454565Z [ERROR] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
2025-10-23T06:05:57.7456172Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
2025-10-23T06:05:57.7457742Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
2025-10-23T06:05:57.7459393Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
2025-10-23T06:05:57.7461035Z [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
2025-10-23T06:05:57.7462605Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
2025-10-23T06:05:57.7463701Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
2025-10-23T06:05:57.7464635Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
2025-10-23T06:05:57.7465624Z [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
2025-10-23T06:05:57.7466415Z [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
2025-10-23T06:05:57.7467207Z [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
2025-10-23T06:05:57.7467980Z [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
2025-10-23T06:05:57.7468918Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2025-10-23T06:05:57.7470166Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2025-10-23T06:05:57.7471634Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7472815Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7473810Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255)
2025-10-23T06:05:57.7475177Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201)
2025-10-23T06:05:57.7476314Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:361)
2025-10-23T06:05:57.7477468Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314)
2025-10-23T06:05:57.7479073Z [ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7483583Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7487688Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7488315Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7488748Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7489383Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7490456Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:643)
2025-10-23T06:05:57.7491742Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.lambda$null$3(ForkStarter.java:350)
2025-10-23T06:05:57.7492881Z [ERROR] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2025-10-23T06:05:57.7493932Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2025-10-23T06:05:57.7495315Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2025-10-23T06:05:57.7496267Z [ERROR] at java.base/java.lang.Thread.run(Thread.java:840)
2025-10-23T06:05:57.7496821Z [ERROR] 2025-10-23T06:05:57.7497152Z [ERROR] -> [Help 1]

BTW, can we reduce log from Maven? We can't use GitHub Actions UI to see logs because there are too many logs. (We need to use raw log instead...)

@lidavidm

Copy link
Copy Markdown
Member

Hmm, we've been running into this for a while now but haven't managed to actually track it down.

@lidavidm

Copy link
Copy Markdown
Member

We could disable the test. (Or just disable all tests...the JNI bindings are not very well tested in the first place.)

raulcd pushed a commit to apache/arrow that referenced this pull request Oct 23, 2025
…47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: #47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@lidavidm

Copy link
Copy Markdown
Member

I can replicate the crash locally. I also see this:

java.lang.RuntimeException: No function registered with name: make_struct

Not sure what's happening here. Linking issue?

@lidavidm

Copy link
Copy Markdown
Member

I can see the same in CI.

I thought compute functions were automatically registered? Or did something about that change over time

@lidavidm

Copy link
Copy Markdown
Member

I don't think I have the time to investigate this. I'm at least willing to disable the tests and declare that dataset needs maintainers in order to continue...

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

Ah, we need to call arrow::compute::Initialize() explicitly with recent Apache Arrow C++.

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

apache/arrow#46261

@lidavidm

Copy link
Copy Markdown
Member

Ok, let me try that, thanks :)

@lidavidm

Copy link
Copy Markdown
Member

IMO, let's merge this PR as-is though? We can start unblocking other PRs and this has been around for a while

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

OK.

@jbonofre Could you create a new issue for this and update the PR title/description for the latest changes?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou@lidavidm thanks, let me do that.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre do you mind if I just file the issue and close this out?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@lidavidm maybe we can start by merging this one and create another issue/PR as follow up ?

@lidavidmlidavidm changed the title MINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyGH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 27, 2025
@lidavidm
lidavidm merged commit f71a02c into apache:mainOct 27, 2025
35 of 38 checks passed
lidavidm added a commit that referenced this pull request Oct 29, 2025
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Nov 5, 2025
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@jbonofre
jbonofre deleted the ci-test-and-fix branch November 11, 2025 10:24
Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Apache POM 35 and fix JNI CI

4 participants

@jbonofre@lidavidm@raulcd@kou
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy - #865

Merged
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix
Oct 27, 2025
Merged

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy#865
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix

Conversation

@jbonofre

@jbonofrejbonofre commented Oct 2, 2025

Copy link
Copy Markdown
Member

Closes#898.

@jbonofrejbonofre changed the title Upgrade to Apache POM 35 and identify fixes needed to have CI happyMINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 2, 2025
@jbonofre

jbonofre commented Oct 2, 2025

Copy link
Copy Markdown
MemberAuthor

For the JNI Ubuntu, I see this message from archery:

 × python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Python < 3.10 is not supported
[end of output]

Checking for an update.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre

Copy link
Copy Markdown
MemberAuthor

Yup agree. It's what I gonna try.

@raulcd

raulcd commented Oct 7, 2025

Copy link
Copy Markdown
Member

The error with cffi not being available for free-threaded means it's trying to use free-threaded wheels (an python) which is unexpected from what I understand:

 RuntimeError: CFFI does not support the free-threaded build of CPython 3.13. Upgrade to free-threaded 3.14 or newer to use CFFI with the free-threaded build.

Comment threadcompose.yaml Outdated
@github-actions

This comment has been minimized.

@jbonofrejbonofre added the dependencies Pull requests that update a dependency file label Oct 8, 2025
@github-actionsgithub-actionsBot added this to the 18.4.0 milestone Oct 8, 2025
@jbonofrejbonofre mentioned this pull request Oct 10, 2025
@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47749 and

diff --git a/ci/scripts/jni_macos_build.sh b/ci/scripts/jni_macos_build.sh
index f7543b6f..7f927d19 100755
--- a/ci/scripts/jni_macos_build.sh+++ b/ci/scripts/jni_macos_build.sh@@ -142,6 +142,7 @@ github_actions_group_begin "Checking shared dependencies for libraries"
pushd "${dist_dir}"
archery linking check-dependencies \
--allow CoreFoundation \
+ --allow Network \
--allow Security \
--allow libSystem \
--allow libarrow_cdata_jni \

for macOS.

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

diff --git a/.env b/.env
index d3e1c1d6..a7783537 100644
--- a/.env+++ b/.env@@ -40,7 +40,7 @@ ARCH_SHORT=amd64
# Default repository to pull and push images from
REPO=ghcr.io/apache/arrow-java-dev
-ARROW_REPO=apache/arrow-dev+ARROW_REPO=ghcr.io/apache/arrow-dev
# The setup attempts to generate coredumps by default, in order to disable the
# coredump generation set it to 0
@@ -53,5 +53,4 @@ MAVEN=3.9.9
# Versions for various dependencies used to build artifacts
# Keep in sync with apache/arrow
ARROW_REPO_ROOT=./arrow
-PYTHON=3.9-VCPKG="f7423ee180c4b7f40d43402c2feb3859161ef625" # 2024.06.15 Release+VCPKG="4334d8b4c8916018600212ab4dd4bbdc343065d1" # 2025.09.17 Releasediff --git a/ci/docker/vcpkg-jni.dockerfile b/ci/docker/vcpkg-jni.dockerfile
index 55fa35e0..d6bd322a 100644
--- a/ci/docker/vcpkg-jni.dockerfile+++ b/ci/docker/vcpkg-jni.dockerfile@@ -18,24 +18,10 @@
ARG base
FROM ${base}
-# Install the libraries required by Gandiva to run-# Use enable llvm[enable-rtti] in the vcpkg.json to avoid link problems in Gandiva-RUN vcpkg install \- --clean-after-build \- --x-install-root=${VCPKG_ROOT}/installed \- --x-manifest-root=/arrow/ci/vcpkg \- --x-feature=dev \- --x-feature=flight \- --x-feature=gcs \- --x-feature=json \- --x-feature=parquet \- --x-feature=gandiva \- --x-feature=s3-
# Install Java
# We need Java for JNI headers, but we don't invoke Maven in this build.
ARG java=11
-RUN yum install -y java-$java-openjdk-devel && yum clean all+RUN dnf install -y java-$java-openjdk-devel && dnf clean all
# For ci/scripts/{cpp,java}_*.sh
ENV ARROW_HOME=/tmp/local \
diff --git a/compose.yaml b/compose.yaml
index b125c3c9..f5082a22 100644
--- a/compose.yaml+++ b/compose.yaml@@ -99,7 +99,7 @@ services:
cache_from:
- ${REPO}:${ARCH}-vcpkg-jni-${VCPKG}
args:
- base: ${ARROW_REPO}:${ARCH}-python-${PYTHON}-wheel-manylinux-2014-vcpkg-${VCPKG}+ base: ${ARROW_REPO}:${ARCH}-cpp-jni-${VCPKG}
volumes:
- .:/arrow-java:delegated
- ${ARROW_REPO_ROOT}:/arrow:delegated

for Linux.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

I'm fixing the base image here (need to adapt).

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

apache/arrow#47749 was merged and JNI jobs on macOS passed.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou macos works now thanks. But not Ubuntu yet. I'm investigating.

@kou

kou commented Oct 11, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

It's not merged yet. It's a blocker for Linux.

@kou
kouforce-pushed the ci-test-and-fix branch 2 times, most recently from 06b9e8d to 0b47984CompareOctober 23, 2025 05:24
@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915

@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915 can fix the symbol error but it seems that Java process is crashed:

2025-10-23T06:05:57.7339179Z [ERROR] See /home/runner/work/arrow-java/arrow-java/dataset/target/surefire-reports for the individual test results.
2025-10-23T06:05:57.7340624Z [ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
2025-10-23T06:05:57.7342010Z [ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7362032Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7366551Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7367142Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7367590Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7368213Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7369823Z [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7374432Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7378464Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7379052Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7379495Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7380123Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7381305Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:456)
2025-10-23T06:05:57.7382800Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:358)
2025-10-23T06:05:57.7384130Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:296)
2025-10-23T06:05:57.7385567Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)
2025-10-23T06:05:57.7386899Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1337)
2025-10-23T06:05:57.7388551Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1135)
2025-10-23T06:05:57.7390302Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:969)
2025-10-23T06:05:57.7391570Z [ERROR] at jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
2025-10-23T06:05:57.7392808Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7393916Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7394713Z [ERROR] at com.gradle.maven.cache.extension.c.n.a(SourceFile:53)
2025-10-23T06:05:57.7395641Z [ERROR] at com.gradle.maven.cache.extension.c.d.a(SourceFile:27)
2025-10-23T06:05:57.7396382Z [ERROR] at com.gradle.maven.cache.extension.c.q.a(SourceFile:23)
2025-10-23T06:05:57.7397145Z [ERROR] at com.gradle.maven.cache.extension.c.j.a(SourceFile:28)
2025-10-23T06:05:57.7397904Z [ERROR] at com.gradle.maven.cache.extension.c.p.a(SourceFile:27)
2025-10-23T06:05:57.7398647Z [ERROR] at com.gradle.maven.cache.extension.c.b.c(SourceFile:118)
2025-10-23T06:05:57.7399405Z [ERROR] at com.gradle.maven.cache.extension.c.b.a(SourceFile:62)
2025-10-23T06:05:57.7400154Z [ERROR] at com.gradle.maven.cache.extension.c.g.a(SourceFile:27)
2025-10-23T06:05:57.7400901Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7401607Z [ERROR] at com.gradle.maven.cache.extension.c.o.a(SourceFile:18)
2025-10-23T06:05:57.7402319Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7403012Z [ERROR] at com.gradle.maven.cache.extension.c.c.a(SourceFile:26)
2025-10-23T06:05:57.7403767Z [ERROR] at com.gradle.maven.cache.extension.c.h$1.run(SourceFile:35)
2025-10-23T06:05:57.7404749Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:30)
2025-10-23T06:05:57.7406286Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:27)
2025-10-23T06:05:57.7407496Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:67)
2025-10-23T06:05:57.7408598Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:60)
2025-10-23T06:05:57.7409694Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:167)
2025-10-23T06:05:57.7410874Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:60)
2025-10-23T06:05:57.7411981Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.run(SourceFile:48)
2025-10-23T06:05:57.7412947Z [ERROR] at com.gradle.maven.cache.extension.c.h.a(SourceFile:31)
2025-10-23T06:05:57.7413694Z [ERROR] at com.gradle.maven.cache.extension.c.m.a(SourceFile:80)
2025-10-23T06:05:57.7414547Z [ERROR] at com.gradle.maven.cache.extension.g.b.lambda$createProxy$0(SourceFile:76)
2025-10-23T06:05:57.7430662Z [ERROR] at jdk.proxy31/jdk.proxy31.$Proxy139.execute(Unknown Source)
2025-10-23T06:05:57.7431546Z [ERROR] at com.gradle.maven.scan.extension.internal.d.b.executeMojo(SourceFile:116)
2025-10-23T06:05:57.7432622Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
2025-10-23T06:05:57.7433731Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
2025-10-23T06:05:57.7434767Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
2025-10-23T06:05:57.7442486Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
2025-10-23T06:05:57.7443657Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
2025-10-23T06:05:57.7444785Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
2025-10-23T06:05:57.7454565Z [ERROR] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
2025-10-23T06:05:57.7456172Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
2025-10-23T06:05:57.7457742Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
2025-10-23T06:05:57.7459393Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
2025-10-23T06:05:57.7461035Z [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
2025-10-23T06:05:57.7462605Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
2025-10-23T06:05:57.7463701Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
2025-10-23T06:05:57.7464635Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
2025-10-23T06:05:57.7465624Z [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
2025-10-23T06:05:57.7466415Z [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
2025-10-23T06:05:57.7467207Z [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
2025-10-23T06:05:57.7467980Z [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
2025-10-23T06:05:57.7468918Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2025-10-23T06:05:57.7470166Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2025-10-23T06:05:57.7471634Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7472815Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7473810Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255)
2025-10-23T06:05:57.7475177Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201)
2025-10-23T06:05:57.7476314Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:361)
2025-10-23T06:05:57.7477468Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314)
2025-10-23T06:05:57.7479073Z [ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7483583Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7487688Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7488315Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7488748Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7489383Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7490456Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:643)
2025-10-23T06:05:57.7491742Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.lambda$null$3(ForkStarter.java:350)
2025-10-23T06:05:57.7492881Z [ERROR] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2025-10-23T06:05:57.7493932Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2025-10-23T06:05:57.7495315Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2025-10-23T06:05:57.7496267Z [ERROR] at java.base/java.lang.Thread.run(Thread.java:840)
2025-10-23T06:05:57.7496821Z [ERROR] 2025-10-23T06:05:57.7497152Z [ERROR] -> [Help 1]

BTW, can we reduce log from Maven? We can't use GitHub Actions UI to see logs because there are too many logs. (We need to use raw log instead...)

@lidavidm

Copy link
Copy Markdown
Member

Hmm, we've been running into this for a while now but haven't managed to actually track it down.

@lidavidm

Copy link
Copy Markdown
Member

We could disable the test. (Or just disable all tests...the JNI bindings are not very well tested in the first place.)

raulcd pushed a commit to apache/arrow that referenced this pull request Oct 23, 2025
…47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: #47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@lidavidm

Copy link
Copy Markdown
Member

I can replicate the crash locally. I also see this:

java.lang.RuntimeException: No function registered with name: make_struct

Not sure what's happening here. Linking issue?

@lidavidm

Copy link
Copy Markdown
Member

I can see the same in CI.

I thought compute functions were automatically registered? Or did something about that change over time

@lidavidm

Copy link
Copy Markdown
Member

I don't think I have the time to investigate this. I'm at least willing to disable the tests and declare that dataset needs maintainers in order to continue...

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

Ah, we need to call arrow::compute::Initialize() explicitly with recent Apache Arrow C++.

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

apache/arrow#46261

@lidavidm

Copy link
Copy Markdown
Member

Ok, let me try that, thanks :)

@lidavidm

Copy link
Copy Markdown
Member

IMO, let's merge this PR as-is though? We can start unblocking other PRs and this has been around for a while

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

OK.

@jbonofre Could you create a new issue for this and update the PR title/description for the latest changes?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou@lidavidm thanks, let me do that.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre do you mind if I just file the issue and close this out?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@lidavidm maybe we can start by merging this one and create another issue/PR as follow up ?

@lidavidmlidavidm changed the title MINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyGH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 27, 2025
@lidavidm
lidavidm merged commit f71a02c into apache:mainOct 27, 2025
35 of 38 checks passed
lidavidm added a commit that referenced this pull request Oct 29, 2025
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Nov 5, 2025
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@jbonofre
jbonofre deleted the ci-test-and-fix branch November 11, 2025 10:24
Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Apache POM 35 and fix JNI CI

4 participants

@jbonofre@lidavidm@raulcd@kou
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy - #865

Merged
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix
Oct 27, 2025
Merged

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy#865
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix

Conversation

@jbonofre

@jbonofrejbonofre commented Oct 2, 2025

Copy link
Copy Markdown
Member

Closes#898.

@jbonofrejbonofre changed the title Upgrade to Apache POM 35 and identify fixes needed to have CI happyMINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 2, 2025
@jbonofre

jbonofre commented Oct 2, 2025

Copy link
Copy Markdown
MemberAuthor

For the JNI Ubuntu, I see this message from archery:

 × python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Python < 3.10 is not supported
[end of output]

Checking for an update.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre

Copy link
Copy Markdown
MemberAuthor

Yup agree. It's what I gonna try.

@raulcd

raulcd commented Oct 7, 2025

Copy link
Copy Markdown
Member

The error with cffi not being available for free-threaded means it's trying to use free-threaded wheels (an python) which is unexpected from what I understand:

 RuntimeError: CFFI does not support the free-threaded build of CPython 3.13. Upgrade to free-threaded 3.14 or newer to use CFFI with the free-threaded build.

Comment threadcompose.yaml Outdated
@github-actions

This comment has been minimized.

@jbonofrejbonofre added the dependencies Pull requests that update a dependency file label Oct 8, 2025
@github-actionsgithub-actionsBot added this to the 18.4.0 milestone Oct 8, 2025
@jbonofrejbonofre mentioned this pull request Oct 10, 2025
@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47749 and

diff --git a/ci/scripts/jni_macos_build.sh b/ci/scripts/jni_macos_build.sh
index f7543b6f..7f927d19 100755
--- a/ci/scripts/jni_macos_build.sh+++ b/ci/scripts/jni_macos_build.sh@@ -142,6 +142,7 @@ github_actions_group_begin "Checking shared dependencies for libraries"
pushd "${dist_dir}"
archery linking check-dependencies \
--allow CoreFoundation \
+ --allow Network \
--allow Security \
--allow libSystem \
--allow libarrow_cdata_jni \

for macOS.

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

diff --git a/.env b/.env
index d3e1c1d6..a7783537 100644
--- a/.env+++ b/.env@@ -40,7 +40,7 @@ ARCH_SHORT=amd64
# Default repository to pull and push images from
REPO=ghcr.io/apache/arrow-java-dev
-ARROW_REPO=apache/arrow-dev+ARROW_REPO=ghcr.io/apache/arrow-dev
# The setup attempts to generate coredumps by default, in order to disable the
# coredump generation set it to 0
@@ -53,5 +53,4 @@ MAVEN=3.9.9
# Versions for various dependencies used to build artifacts
# Keep in sync with apache/arrow
ARROW_REPO_ROOT=./arrow
-PYTHON=3.9-VCPKG="f7423ee180c4b7f40d43402c2feb3859161ef625" # 2024.06.15 Release+VCPKG="4334d8b4c8916018600212ab4dd4bbdc343065d1" # 2025.09.17 Releasediff --git a/ci/docker/vcpkg-jni.dockerfile b/ci/docker/vcpkg-jni.dockerfile
index 55fa35e0..d6bd322a 100644
--- a/ci/docker/vcpkg-jni.dockerfile+++ b/ci/docker/vcpkg-jni.dockerfile@@ -18,24 +18,10 @@
ARG base
FROM ${base}
-# Install the libraries required by Gandiva to run-# Use enable llvm[enable-rtti] in the vcpkg.json to avoid link problems in Gandiva-RUN vcpkg install \- --clean-after-build \- --x-install-root=${VCPKG_ROOT}/installed \- --x-manifest-root=/arrow/ci/vcpkg \- --x-feature=dev \- --x-feature=flight \- --x-feature=gcs \- --x-feature=json \- --x-feature=parquet \- --x-feature=gandiva \- --x-feature=s3-
# Install Java
# We need Java for JNI headers, but we don't invoke Maven in this build.
ARG java=11
-RUN yum install -y java-$java-openjdk-devel && yum clean all+RUN dnf install -y java-$java-openjdk-devel && dnf clean all
# For ci/scripts/{cpp,java}_*.sh
ENV ARROW_HOME=/tmp/local \
diff --git a/compose.yaml b/compose.yaml
index b125c3c9..f5082a22 100644
--- a/compose.yaml+++ b/compose.yaml@@ -99,7 +99,7 @@ services:
cache_from:
- ${REPO}:${ARCH}-vcpkg-jni-${VCPKG}
args:
- base: ${ARROW_REPO}:${ARCH}-python-${PYTHON}-wheel-manylinux-2014-vcpkg-${VCPKG}+ base: ${ARROW_REPO}:${ARCH}-cpp-jni-${VCPKG}
volumes:
- .:/arrow-java:delegated
- ${ARROW_REPO_ROOT}:/arrow:delegated

for Linux.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

I'm fixing the base image here (need to adapt).

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

apache/arrow#47749 was merged and JNI jobs on macOS passed.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou macos works now thanks. But not Ubuntu yet. I'm investigating.

@kou

kou commented Oct 11, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

It's not merged yet. It's a blocker for Linux.

@kou
kouforce-pushed the ci-test-and-fix branch 2 times, most recently from 06b9e8d to 0b47984CompareOctober 23, 2025 05:24
@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915

@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915 can fix the symbol error but it seems that Java process is crashed:

2025-10-23T06:05:57.7339179Z [ERROR] See /home/runner/work/arrow-java/arrow-java/dataset/target/surefire-reports for the individual test results.
2025-10-23T06:05:57.7340624Z [ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
2025-10-23T06:05:57.7342010Z [ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7362032Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7366551Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7367142Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7367590Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7368213Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7369823Z [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7374432Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7378464Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7379052Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7379495Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7380123Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7381305Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:456)
2025-10-23T06:05:57.7382800Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:358)
2025-10-23T06:05:57.7384130Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:296)
2025-10-23T06:05:57.7385567Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)
2025-10-23T06:05:57.7386899Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1337)
2025-10-23T06:05:57.7388551Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1135)
2025-10-23T06:05:57.7390302Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:969)
2025-10-23T06:05:57.7391570Z [ERROR] at jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
2025-10-23T06:05:57.7392808Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7393916Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7394713Z [ERROR] at com.gradle.maven.cache.extension.c.n.a(SourceFile:53)
2025-10-23T06:05:57.7395641Z [ERROR] at com.gradle.maven.cache.extension.c.d.a(SourceFile:27)
2025-10-23T06:05:57.7396382Z [ERROR] at com.gradle.maven.cache.extension.c.q.a(SourceFile:23)
2025-10-23T06:05:57.7397145Z [ERROR] at com.gradle.maven.cache.extension.c.j.a(SourceFile:28)
2025-10-23T06:05:57.7397904Z [ERROR] at com.gradle.maven.cache.extension.c.p.a(SourceFile:27)
2025-10-23T06:05:57.7398647Z [ERROR] at com.gradle.maven.cache.extension.c.b.c(SourceFile:118)
2025-10-23T06:05:57.7399405Z [ERROR] at com.gradle.maven.cache.extension.c.b.a(SourceFile:62)
2025-10-23T06:05:57.7400154Z [ERROR] at com.gradle.maven.cache.extension.c.g.a(SourceFile:27)
2025-10-23T06:05:57.7400901Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7401607Z [ERROR] at com.gradle.maven.cache.extension.c.o.a(SourceFile:18)
2025-10-23T06:05:57.7402319Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7403012Z [ERROR] at com.gradle.maven.cache.extension.c.c.a(SourceFile:26)
2025-10-23T06:05:57.7403767Z [ERROR] at com.gradle.maven.cache.extension.c.h$1.run(SourceFile:35)
2025-10-23T06:05:57.7404749Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:30)
2025-10-23T06:05:57.7406286Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:27)
2025-10-23T06:05:57.7407496Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:67)
2025-10-23T06:05:57.7408598Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:60)
2025-10-23T06:05:57.7409694Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:167)
2025-10-23T06:05:57.7410874Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:60)
2025-10-23T06:05:57.7411981Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.run(SourceFile:48)
2025-10-23T06:05:57.7412947Z [ERROR] at com.gradle.maven.cache.extension.c.h.a(SourceFile:31)
2025-10-23T06:05:57.7413694Z [ERROR] at com.gradle.maven.cache.extension.c.m.a(SourceFile:80)
2025-10-23T06:05:57.7414547Z [ERROR] at com.gradle.maven.cache.extension.g.b.lambda$createProxy$0(SourceFile:76)
2025-10-23T06:05:57.7430662Z [ERROR] at jdk.proxy31/jdk.proxy31.$Proxy139.execute(Unknown Source)
2025-10-23T06:05:57.7431546Z [ERROR] at com.gradle.maven.scan.extension.internal.d.b.executeMojo(SourceFile:116)
2025-10-23T06:05:57.7432622Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
2025-10-23T06:05:57.7433731Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
2025-10-23T06:05:57.7434767Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
2025-10-23T06:05:57.7442486Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
2025-10-23T06:05:57.7443657Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
2025-10-23T06:05:57.7444785Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
2025-10-23T06:05:57.7454565Z [ERROR] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
2025-10-23T06:05:57.7456172Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
2025-10-23T06:05:57.7457742Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
2025-10-23T06:05:57.7459393Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
2025-10-23T06:05:57.7461035Z [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
2025-10-23T06:05:57.7462605Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
2025-10-23T06:05:57.7463701Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
2025-10-23T06:05:57.7464635Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
2025-10-23T06:05:57.7465624Z [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
2025-10-23T06:05:57.7466415Z [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
2025-10-23T06:05:57.7467207Z [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
2025-10-23T06:05:57.7467980Z [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
2025-10-23T06:05:57.7468918Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2025-10-23T06:05:57.7470166Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2025-10-23T06:05:57.7471634Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7472815Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7473810Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255)
2025-10-23T06:05:57.7475177Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201)
2025-10-23T06:05:57.7476314Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:361)
2025-10-23T06:05:57.7477468Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314)
2025-10-23T06:05:57.7479073Z [ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7483583Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7487688Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7488315Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7488748Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7489383Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7490456Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:643)
2025-10-23T06:05:57.7491742Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.lambda$null$3(ForkStarter.java:350)
2025-10-23T06:05:57.7492881Z [ERROR] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2025-10-23T06:05:57.7493932Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2025-10-23T06:05:57.7495315Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2025-10-23T06:05:57.7496267Z [ERROR] at java.base/java.lang.Thread.run(Thread.java:840)
2025-10-23T06:05:57.7496821Z [ERROR] 2025-10-23T06:05:57.7497152Z [ERROR] -> [Help 1]

BTW, can we reduce log from Maven? We can't use GitHub Actions UI to see logs because there are too many logs. (We need to use raw log instead...)

@lidavidm

Copy link
Copy Markdown
Member

Hmm, we've been running into this for a while now but haven't managed to actually track it down.

@lidavidm

Copy link
Copy Markdown
Member

We could disable the test. (Or just disable all tests...the JNI bindings are not very well tested in the first place.)

raulcd pushed a commit to apache/arrow that referenced this pull request Oct 23, 2025
…47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: #47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@lidavidm

Copy link
Copy Markdown
Member

I can replicate the crash locally. I also see this:

java.lang.RuntimeException: No function registered with name: make_struct

Not sure what's happening here. Linking issue?

@lidavidm

Copy link
Copy Markdown
Member

I can see the same in CI.

I thought compute functions were automatically registered? Or did something about that change over time

@lidavidm

Copy link
Copy Markdown
Member

I don't think I have the time to investigate this. I'm at least willing to disable the tests and declare that dataset needs maintainers in order to continue...

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

Ah, we need to call arrow::compute::Initialize() explicitly with recent Apache Arrow C++.

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

apache/arrow#46261

@lidavidm

Copy link
Copy Markdown
Member

Ok, let me try that, thanks :)

@lidavidm

Copy link
Copy Markdown
Member

IMO, let's merge this PR as-is though? We can start unblocking other PRs and this has been around for a while

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

OK.

@jbonofre Could you create a new issue for this and update the PR title/description for the latest changes?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou@lidavidm thanks, let me do that.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre do you mind if I just file the issue and close this out?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@lidavidm maybe we can start by merging this one and create another issue/PR as follow up ?

@lidavidmlidavidm changed the title MINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyGH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 27, 2025
@lidavidm
lidavidm merged commit f71a02c into apache:mainOct 27, 2025
35 of 38 checks passed
lidavidm added a commit that referenced this pull request Oct 29, 2025
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Nov 5, 2025
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@jbonofre
jbonofre deleted the ci-test-and-fix branch November 11, 2025 10:24
Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Apache POM 35 and fix JNI CI

4 participants

@jbonofre@lidavidm@raulcd@kou
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy - #865

Merged
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix
Oct 27, 2025
Merged

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy#865
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix

Conversation

@jbonofre

@jbonofrejbonofre commented Oct 2, 2025

Copy link
Copy Markdown
Member

Closes#898.

@jbonofrejbonofre changed the title Upgrade to Apache POM 35 and identify fixes needed to have CI happyMINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 2, 2025
@jbonofre

jbonofre commented Oct 2, 2025

Copy link
Copy Markdown
MemberAuthor

For the JNI Ubuntu, I see this message from archery:

 × python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Python < 3.10 is not supported
[end of output]

Checking for an update.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre

Copy link
Copy Markdown
MemberAuthor

Yup agree. It's what I gonna try.

@raulcd

raulcd commented Oct 7, 2025

Copy link
Copy Markdown
Member

The error with cffi not being available for free-threaded means it's trying to use free-threaded wheels (an python) which is unexpected from what I understand:

 RuntimeError: CFFI does not support the free-threaded build of CPython 3.13. Upgrade to free-threaded 3.14 or newer to use CFFI with the free-threaded build.

Comment threadcompose.yaml Outdated
@github-actions

This comment has been minimized.

@jbonofrejbonofre added the dependencies Pull requests that update a dependency file label Oct 8, 2025
@github-actionsgithub-actionsBot added this to the 18.4.0 milestone Oct 8, 2025
@jbonofrejbonofre mentioned this pull request Oct 10, 2025
@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47749 and

diff --git a/ci/scripts/jni_macos_build.sh b/ci/scripts/jni_macos_build.sh
index f7543b6f..7f927d19 100755
--- a/ci/scripts/jni_macos_build.sh+++ b/ci/scripts/jni_macos_build.sh@@ -142,6 +142,7 @@ github_actions_group_begin "Checking shared dependencies for libraries"
pushd "${dist_dir}"
archery linking check-dependencies \
--allow CoreFoundation \
+ --allow Network \
--allow Security \
--allow libSystem \
--allow libarrow_cdata_jni \

for macOS.

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

diff --git a/.env b/.env
index d3e1c1d6..a7783537 100644
--- a/.env+++ b/.env@@ -40,7 +40,7 @@ ARCH_SHORT=amd64
# Default repository to pull and push images from
REPO=ghcr.io/apache/arrow-java-dev
-ARROW_REPO=apache/arrow-dev+ARROW_REPO=ghcr.io/apache/arrow-dev
# The setup attempts to generate coredumps by default, in order to disable the
# coredump generation set it to 0
@@ -53,5 +53,4 @@ MAVEN=3.9.9
# Versions for various dependencies used to build artifacts
# Keep in sync with apache/arrow
ARROW_REPO_ROOT=./arrow
-PYTHON=3.9-VCPKG="f7423ee180c4b7f40d43402c2feb3859161ef625" # 2024.06.15 Release+VCPKG="4334d8b4c8916018600212ab4dd4bbdc343065d1" # 2025.09.17 Releasediff --git a/ci/docker/vcpkg-jni.dockerfile b/ci/docker/vcpkg-jni.dockerfile
index 55fa35e0..d6bd322a 100644
--- a/ci/docker/vcpkg-jni.dockerfile+++ b/ci/docker/vcpkg-jni.dockerfile@@ -18,24 +18,10 @@
ARG base
FROM ${base}
-# Install the libraries required by Gandiva to run-# Use enable llvm[enable-rtti] in the vcpkg.json to avoid link problems in Gandiva-RUN vcpkg install \- --clean-after-build \- --x-install-root=${VCPKG_ROOT}/installed \- --x-manifest-root=/arrow/ci/vcpkg \- --x-feature=dev \- --x-feature=flight \- --x-feature=gcs \- --x-feature=json \- --x-feature=parquet \- --x-feature=gandiva \- --x-feature=s3-
# Install Java
# We need Java for JNI headers, but we don't invoke Maven in this build.
ARG java=11
-RUN yum install -y java-$java-openjdk-devel && yum clean all+RUN dnf install -y java-$java-openjdk-devel && dnf clean all
# For ci/scripts/{cpp,java}_*.sh
ENV ARROW_HOME=/tmp/local \
diff --git a/compose.yaml b/compose.yaml
index b125c3c9..f5082a22 100644
--- a/compose.yaml+++ b/compose.yaml@@ -99,7 +99,7 @@ services:
cache_from:
- ${REPO}:${ARCH}-vcpkg-jni-${VCPKG}
args:
- base: ${ARROW_REPO}:${ARCH}-python-${PYTHON}-wheel-manylinux-2014-vcpkg-${VCPKG}+ base: ${ARROW_REPO}:${ARCH}-cpp-jni-${VCPKG}
volumes:
- .:/arrow-java:delegated
- ${ARROW_REPO_ROOT}:/arrow:delegated

for Linux.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

I'm fixing the base image here (need to adapt).

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

apache/arrow#47749 was merged and JNI jobs on macOS passed.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou macos works now thanks. But not Ubuntu yet. I'm investigating.

@kou

kou commented Oct 11, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

It's not merged yet. It's a blocker for Linux.

@kou
kouforce-pushed the ci-test-and-fix branch 2 times, most recently from 06b9e8d to 0b47984CompareOctober 23, 2025 05:24
@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915

@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915 can fix the symbol error but it seems that Java process is crashed:

2025-10-23T06:05:57.7339179Z [ERROR] See /home/runner/work/arrow-java/arrow-java/dataset/target/surefire-reports for the individual test results.
2025-10-23T06:05:57.7340624Z [ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
2025-10-23T06:05:57.7342010Z [ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7362032Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7366551Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7367142Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7367590Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7368213Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7369823Z [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7374432Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7378464Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7379052Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7379495Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7380123Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7381305Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:456)
2025-10-23T06:05:57.7382800Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:358)
2025-10-23T06:05:57.7384130Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:296)
2025-10-23T06:05:57.7385567Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)
2025-10-23T06:05:57.7386899Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1337)
2025-10-23T06:05:57.7388551Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1135)
2025-10-23T06:05:57.7390302Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:969)
2025-10-23T06:05:57.7391570Z [ERROR] at jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
2025-10-23T06:05:57.7392808Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7393916Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7394713Z [ERROR] at com.gradle.maven.cache.extension.c.n.a(SourceFile:53)
2025-10-23T06:05:57.7395641Z [ERROR] at com.gradle.maven.cache.extension.c.d.a(SourceFile:27)
2025-10-23T06:05:57.7396382Z [ERROR] at com.gradle.maven.cache.extension.c.q.a(SourceFile:23)
2025-10-23T06:05:57.7397145Z [ERROR] at com.gradle.maven.cache.extension.c.j.a(SourceFile:28)
2025-10-23T06:05:57.7397904Z [ERROR] at com.gradle.maven.cache.extension.c.p.a(SourceFile:27)
2025-10-23T06:05:57.7398647Z [ERROR] at com.gradle.maven.cache.extension.c.b.c(SourceFile:118)
2025-10-23T06:05:57.7399405Z [ERROR] at com.gradle.maven.cache.extension.c.b.a(SourceFile:62)
2025-10-23T06:05:57.7400154Z [ERROR] at com.gradle.maven.cache.extension.c.g.a(SourceFile:27)
2025-10-23T06:05:57.7400901Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7401607Z [ERROR] at com.gradle.maven.cache.extension.c.o.a(SourceFile:18)
2025-10-23T06:05:57.7402319Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7403012Z [ERROR] at com.gradle.maven.cache.extension.c.c.a(SourceFile:26)
2025-10-23T06:05:57.7403767Z [ERROR] at com.gradle.maven.cache.extension.c.h$1.run(SourceFile:35)
2025-10-23T06:05:57.7404749Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:30)
2025-10-23T06:05:57.7406286Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:27)
2025-10-23T06:05:57.7407496Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:67)
2025-10-23T06:05:57.7408598Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:60)
2025-10-23T06:05:57.7409694Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:167)
2025-10-23T06:05:57.7410874Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:60)
2025-10-23T06:05:57.7411981Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.run(SourceFile:48)
2025-10-23T06:05:57.7412947Z [ERROR] at com.gradle.maven.cache.extension.c.h.a(SourceFile:31)
2025-10-23T06:05:57.7413694Z [ERROR] at com.gradle.maven.cache.extension.c.m.a(SourceFile:80)
2025-10-23T06:05:57.7414547Z [ERROR] at com.gradle.maven.cache.extension.g.b.lambda$createProxy$0(SourceFile:76)
2025-10-23T06:05:57.7430662Z [ERROR] at jdk.proxy31/jdk.proxy31.$Proxy139.execute(Unknown Source)
2025-10-23T06:05:57.7431546Z [ERROR] at com.gradle.maven.scan.extension.internal.d.b.executeMojo(SourceFile:116)
2025-10-23T06:05:57.7432622Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
2025-10-23T06:05:57.7433731Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
2025-10-23T06:05:57.7434767Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
2025-10-23T06:05:57.7442486Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
2025-10-23T06:05:57.7443657Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
2025-10-23T06:05:57.7444785Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
2025-10-23T06:05:57.7454565Z [ERROR] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
2025-10-23T06:05:57.7456172Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
2025-10-23T06:05:57.7457742Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
2025-10-23T06:05:57.7459393Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
2025-10-23T06:05:57.7461035Z [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
2025-10-23T06:05:57.7462605Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
2025-10-23T06:05:57.7463701Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
2025-10-23T06:05:57.7464635Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
2025-10-23T06:05:57.7465624Z [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
2025-10-23T06:05:57.7466415Z [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
2025-10-23T06:05:57.7467207Z [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
2025-10-23T06:05:57.7467980Z [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
2025-10-23T06:05:57.7468918Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2025-10-23T06:05:57.7470166Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2025-10-23T06:05:57.7471634Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7472815Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7473810Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255)
2025-10-23T06:05:57.7475177Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201)
2025-10-23T06:05:57.7476314Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:361)
2025-10-23T06:05:57.7477468Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314)
2025-10-23T06:05:57.7479073Z [ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7483583Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7487688Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7488315Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7488748Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7489383Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7490456Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:643)
2025-10-23T06:05:57.7491742Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.lambda$null$3(ForkStarter.java:350)
2025-10-23T06:05:57.7492881Z [ERROR] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2025-10-23T06:05:57.7493932Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2025-10-23T06:05:57.7495315Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2025-10-23T06:05:57.7496267Z [ERROR] at java.base/java.lang.Thread.run(Thread.java:840)
2025-10-23T06:05:57.7496821Z [ERROR] 2025-10-23T06:05:57.7497152Z [ERROR] -> [Help 1]

BTW, can we reduce log from Maven? We can't use GitHub Actions UI to see logs because there are too many logs. (We need to use raw log instead...)

@lidavidm

Copy link
Copy Markdown
Member

Hmm, we've been running into this for a while now but haven't managed to actually track it down.

@lidavidm

Copy link
Copy Markdown
Member

We could disable the test. (Or just disable all tests...the JNI bindings are not very well tested in the first place.)

raulcd pushed a commit to apache/arrow that referenced this pull request Oct 23, 2025
…47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: #47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@lidavidm

Copy link
Copy Markdown
Member

I can replicate the crash locally. I also see this:

java.lang.RuntimeException: No function registered with name: make_struct

Not sure what's happening here. Linking issue?

@lidavidm

Copy link
Copy Markdown
Member

I can see the same in CI.

I thought compute functions were automatically registered? Or did something about that change over time

@lidavidm

Copy link
Copy Markdown
Member

I don't think I have the time to investigate this. I'm at least willing to disable the tests and declare that dataset needs maintainers in order to continue...

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

Ah, we need to call arrow::compute::Initialize() explicitly with recent Apache Arrow C++.

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

apache/arrow#46261

@lidavidm

Copy link
Copy Markdown
Member

Ok, let me try that, thanks :)

@lidavidm

Copy link
Copy Markdown
Member

IMO, let's merge this PR as-is though? We can start unblocking other PRs and this has been around for a while

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

OK.

@jbonofre Could you create a new issue for this and update the PR title/description for the latest changes?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou@lidavidm thanks, let me do that.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre do you mind if I just file the issue and close this out?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@lidavidm maybe we can start by merging this one and create another issue/PR as follow up ?

@lidavidmlidavidm changed the title MINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyGH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 27, 2025
@lidavidm
lidavidm merged commit f71a02c into apache:mainOct 27, 2025
35 of 38 checks passed
lidavidm added a commit that referenced this pull request Oct 29, 2025
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Nov 5, 2025
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@jbonofre
jbonofre deleted the ci-test-and-fix branch November 11, 2025 10:24
Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Apache POM 35 and fix JNI CI

4 participants

@jbonofre@lidavidm@raulcd@kou
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy - #865

Merged
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix
Oct 27, 2025
Merged

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy#865
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix

Conversation

@jbonofre

@jbonofrejbonofre commented Oct 2, 2025

Copy link
Copy Markdown
Member

Closes#898.

@jbonofrejbonofre changed the title Upgrade to Apache POM 35 and identify fixes needed to have CI happyMINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 2, 2025
@jbonofre

jbonofre commented Oct 2, 2025

Copy link
Copy Markdown
MemberAuthor

For the JNI Ubuntu, I see this message from archery:

 × python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Python < 3.10 is not supported
[end of output]

Checking for an update.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre

Copy link
Copy Markdown
MemberAuthor

Yup agree. It's what I gonna try.

@raulcd

raulcd commented Oct 7, 2025

Copy link
Copy Markdown
Member

The error with cffi not being available for free-threaded means it's trying to use free-threaded wheels (an python) which is unexpected from what I understand:

 RuntimeError: CFFI does not support the free-threaded build of CPython 3.13. Upgrade to free-threaded 3.14 or newer to use CFFI with the free-threaded build.

Comment threadcompose.yaml Outdated
@github-actions

This comment has been minimized.

@jbonofrejbonofre added the dependencies Pull requests that update a dependency file label Oct 8, 2025
@github-actionsgithub-actionsBot added this to the 18.4.0 milestone Oct 8, 2025
@jbonofrejbonofre mentioned this pull request Oct 10, 2025
@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47749 and

diff --git a/ci/scripts/jni_macos_build.sh b/ci/scripts/jni_macos_build.sh
index f7543b6f..7f927d19 100755
--- a/ci/scripts/jni_macos_build.sh+++ b/ci/scripts/jni_macos_build.sh@@ -142,6 +142,7 @@ github_actions_group_begin "Checking shared dependencies for libraries"
pushd "${dist_dir}"
archery linking check-dependencies \
--allow CoreFoundation \
+ --allow Network \
--allow Security \
--allow libSystem \
--allow libarrow_cdata_jni \

for macOS.

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

diff --git a/.env b/.env
index d3e1c1d6..a7783537 100644
--- a/.env+++ b/.env@@ -40,7 +40,7 @@ ARCH_SHORT=amd64
# Default repository to pull and push images from
REPO=ghcr.io/apache/arrow-java-dev
-ARROW_REPO=apache/arrow-dev+ARROW_REPO=ghcr.io/apache/arrow-dev
# The setup attempts to generate coredumps by default, in order to disable the
# coredump generation set it to 0
@@ -53,5 +53,4 @@ MAVEN=3.9.9
# Versions for various dependencies used to build artifacts
# Keep in sync with apache/arrow
ARROW_REPO_ROOT=./arrow
-PYTHON=3.9-VCPKG="f7423ee180c4b7f40d43402c2feb3859161ef625" # 2024.06.15 Release+VCPKG="4334d8b4c8916018600212ab4dd4bbdc343065d1" # 2025.09.17 Releasediff --git a/ci/docker/vcpkg-jni.dockerfile b/ci/docker/vcpkg-jni.dockerfile
index 55fa35e0..d6bd322a 100644
--- a/ci/docker/vcpkg-jni.dockerfile+++ b/ci/docker/vcpkg-jni.dockerfile@@ -18,24 +18,10 @@
ARG base
FROM ${base}
-# Install the libraries required by Gandiva to run-# Use enable llvm[enable-rtti] in the vcpkg.json to avoid link problems in Gandiva-RUN vcpkg install \- --clean-after-build \- --x-install-root=${VCPKG_ROOT}/installed \- --x-manifest-root=/arrow/ci/vcpkg \- --x-feature=dev \- --x-feature=flight \- --x-feature=gcs \- --x-feature=json \- --x-feature=parquet \- --x-feature=gandiva \- --x-feature=s3-
# Install Java
# We need Java for JNI headers, but we don't invoke Maven in this build.
ARG java=11
-RUN yum install -y java-$java-openjdk-devel && yum clean all+RUN dnf install -y java-$java-openjdk-devel && dnf clean all
# For ci/scripts/{cpp,java}_*.sh
ENV ARROW_HOME=/tmp/local \
diff --git a/compose.yaml b/compose.yaml
index b125c3c9..f5082a22 100644
--- a/compose.yaml+++ b/compose.yaml@@ -99,7 +99,7 @@ services:
cache_from:
- ${REPO}:${ARCH}-vcpkg-jni-${VCPKG}
args:
- base: ${ARROW_REPO}:${ARCH}-python-${PYTHON}-wheel-manylinux-2014-vcpkg-${VCPKG}+ base: ${ARROW_REPO}:${ARCH}-cpp-jni-${VCPKG}
volumes:
- .:/arrow-java:delegated
- ${ARROW_REPO_ROOT}:/arrow:delegated

for Linux.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

I'm fixing the base image here (need to adapt).

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

apache/arrow#47749 was merged and JNI jobs on macOS passed.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou macos works now thanks. But not Ubuntu yet. I'm investigating.

@kou

kou commented Oct 11, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

It's not merged yet. It's a blocker for Linux.

@kou
kouforce-pushed the ci-test-and-fix branch 2 times, most recently from 06b9e8d to 0b47984CompareOctober 23, 2025 05:24
@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915

@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915 can fix the symbol error but it seems that Java process is crashed:

2025-10-23T06:05:57.7339179Z [ERROR] See /home/runner/work/arrow-java/arrow-java/dataset/target/surefire-reports for the individual test results.
2025-10-23T06:05:57.7340624Z [ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
2025-10-23T06:05:57.7342010Z [ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7362032Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7366551Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7367142Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7367590Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7368213Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7369823Z [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7374432Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7378464Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7379052Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7379495Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7380123Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7381305Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:456)
2025-10-23T06:05:57.7382800Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:358)
2025-10-23T06:05:57.7384130Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:296)
2025-10-23T06:05:57.7385567Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)
2025-10-23T06:05:57.7386899Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1337)
2025-10-23T06:05:57.7388551Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1135)
2025-10-23T06:05:57.7390302Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:969)
2025-10-23T06:05:57.7391570Z [ERROR] at jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
2025-10-23T06:05:57.7392808Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7393916Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7394713Z [ERROR] at com.gradle.maven.cache.extension.c.n.a(SourceFile:53)
2025-10-23T06:05:57.7395641Z [ERROR] at com.gradle.maven.cache.extension.c.d.a(SourceFile:27)
2025-10-23T06:05:57.7396382Z [ERROR] at com.gradle.maven.cache.extension.c.q.a(SourceFile:23)
2025-10-23T06:05:57.7397145Z [ERROR] at com.gradle.maven.cache.extension.c.j.a(SourceFile:28)
2025-10-23T06:05:57.7397904Z [ERROR] at com.gradle.maven.cache.extension.c.p.a(SourceFile:27)
2025-10-23T06:05:57.7398647Z [ERROR] at com.gradle.maven.cache.extension.c.b.c(SourceFile:118)
2025-10-23T06:05:57.7399405Z [ERROR] at com.gradle.maven.cache.extension.c.b.a(SourceFile:62)
2025-10-23T06:05:57.7400154Z [ERROR] at com.gradle.maven.cache.extension.c.g.a(SourceFile:27)
2025-10-23T06:05:57.7400901Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7401607Z [ERROR] at com.gradle.maven.cache.extension.c.o.a(SourceFile:18)
2025-10-23T06:05:57.7402319Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7403012Z [ERROR] at com.gradle.maven.cache.extension.c.c.a(SourceFile:26)
2025-10-23T06:05:57.7403767Z [ERROR] at com.gradle.maven.cache.extension.c.h$1.run(SourceFile:35)
2025-10-23T06:05:57.7404749Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:30)
2025-10-23T06:05:57.7406286Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:27)
2025-10-23T06:05:57.7407496Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:67)
2025-10-23T06:05:57.7408598Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:60)
2025-10-23T06:05:57.7409694Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:167)
2025-10-23T06:05:57.7410874Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:60)
2025-10-23T06:05:57.7411981Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.run(SourceFile:48)
2025-10-23T06:05:57.7412947Z [ERROR] at com.gradle.maven.cache.extension.c.h.a(SourceFile:31)
2025-10-23T06:05:57.7413694Z [ERROR] at com.gradle.maven.cache.extension.c.m.a(SourceFile:80)
2025-10-23T06:05:57.7414547Z [ERROR] at com.gradle.maven.cache.extension.g.b.lambda$createProxy$0(SourceFile:76)
2025-10-23T06:05:57.7430662Z [ERROR] at jdk.proxy31/jdk.proxy31.$Proxy139.execute(Unknown Source)
2025-10-23T06:05:57.7431546Z [ERROR] at com.gradle.maven.scan.extension.internal.d.b.executeMojo(SourceFile:116)
2025-10-23T06:05:57.7432622Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
2025-10-23T06:05:57.7433731Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
2025-10-23T06:05:57.7434767Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
2025-10-23T06:05:57.7442486Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
2025-10-23T06:05:57.7443657Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
2025-10-23T06:05:57.7444785Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
2025-10-23T06:05:57.7454565Z [ERROR] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
2025-10-23T06:05:57.7456172Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
2025-10-23T06:05:57.7457742Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
2025-10-23T06:05:57.7459393Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
2025-10-23T06:05:57.7461035Z [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
2025-10-23T06:05:57.7462605Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
2025-10-23T06:05:57.7463701Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
2025-10-23T06:05:57.7464635Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
2025-10-23T06:05:57.7465624Z [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
2025-10-23T06:05:57.7466415Z [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
2025-10-23T06:05:57.7467207Z [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
2025-10-23T06:05:57.7467980Z [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
2025-10-23T06:05:57.7468918Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2025-10-23T06:05:57.7470166Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2025-10-23T06:05:57.7471634Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7472815Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7473810Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255)
2025-10-23T06:05:57.7475177Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201)
2025-10-23T06:05:57.7476314Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:361)
2025-10-23T06:05:57.7477468Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314)
2025-10-23T06:05:57.7479073Z [ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7483583Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7487688Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7488315Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7488748Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7489383Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7490456Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:643)
2025-10-23T06:05:57.7491742Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.lambda$null$3(ForkStarter.java:350)
2025-10-23T06:05:57.7492881Z [ERROR] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2025-10-23T06:05:57.7493932Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2025-10-23T06:05:57.7495315Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2025-10-23T06:05:57.7496267Z [ERROR] at java.base/java.lang.Thread.run(Thread.java:840)
2025-10-23T06:05:57.7496821Z [ERROR] 2025-10-23T06:05:57.7497152Z [ERROR] -> [Help 1]

BTW, can we reduce log from Maven? We can't use GitHub Actions UI to see logs because there are too many logs. (We need to use raw log instead...)

@lidavidm

Copy link
Copy Markdown
Member

Hmm, we've been running into this for a while now but haven't managed to actually track it down.

@lidavidm

Copy link
Copy Markdown
Member

We could disable the test. (Or just disable all tests...the JNI bindings are not very well tested in the first place.)

raulcd pushed a commit to apache/arrow that referenced this pull request Oct 23, 2025
…47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: #47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@lidavidm

Copy link
Copy Markdown
Member

I can replicate the crash locally. I also see this:

java.lang.RuntimeException: No function registered with name: make_struct

Not sure what's happening here. Linking issue?

@lidavidm

Copy link
Copy Markdown
Member

I can see the same in CI.

I thought compute functions were automatically registered? Or did something about that change over time

@lidavidm

Copy link
Copy Markdown
Member

I don't think I have the time to investigate this. I'm at least willing to disable the tests and declare that dataset needs maintainers in order to continue...

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

Ah, we need to call arrow::compute::Initialize() explicitly with recent Apache Arrow C++.

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

apache/arrow#46261

@lidavidm

Copy link
Copy Markdown
Member

Ok, let me try that, thanks :)

@lidavidm

Copy link
Copy Markdown
Member

IMO, let's merge this PR as-is though? We can start unblocking other PRs and this has been around for a while

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

OK.

@jbonofre Could you create a new issue for this and update the PR title/description for the latest changes?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou@lidavidm thanks, let me do that.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre do you mind if I just file the issue and close this out?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@lidavidm maybe we can start by merging this one and create another issue/PR as follow up ?

@lidavidmlidavidm changed the title MINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyGH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 27, 2025
@lidavidm
lidavidm merged commit f71a02c into apache:mainOct 27, 2025
35 of 38 checks passed
lidavidm added a commit that referenced this pull request Oct 29, 2025
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Nov 5, 2025
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@jbonofre
jbonofre deleted the ci-test-and-fix branch November 11, 2025 10:24
Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Apache POM 35 and fix JNI CI

4 participants

@jbonofre@lidavidm@raulcd@kou
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy - #865

Merged
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix
Oct 27, 2025
Merged

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy#865
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix

Conversation

@jbonofre

@jbonofrejbonofre commented Oct 2, 2025

Copy link
Copy Markdown
Member

Closes#898.

@jbonofrejbonofre changed the title Upgrade to Apache POM 35 and identify fixes needed to have CI happyMINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 2, 2025
@jbonofre

jbonofre commented Oct 2, 2025

Copy link
Copy Markdown
MemberAuthor

For the JNI Ubuntu, I see this message from archery:

 × python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Python < 3.10 is not supported
[end of output]

Checking for an update.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre

Copy link
Copy Markdown
MemberAuthor

Yup agree. It's what I gonna try.

@raulcd

raulcd commented Oct 7, 2025

Copy link
Copy Markdown
Member

The error with cffi not being available for free-threaded means it's trying to use free-threaded wheels (an python) which is unexpected from what I understand:

 RuntimeError: CFFI does not support the free-threaded build of CPython 3.13. Upgrade to free-threaded 3.14 or newer to use CFFI with the free-threaded build.

Comment threadcompose.yaml Outdated
@github-actions

This comment has been minimized.

@jbonofrejbonofre added the dependencies Pull requests that update a dependency file label Oct 8, 2025
@github-actionsgithub-actionsBot added this to the 18.4.0 milestone Oct 8, 2025
@jbonofrejbonofre mentioned this pull request Oct 10, 2025
@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47749 and

diff --git a/ci/scripts/jni_macos_build.sh b/ci/scripts/jni_macos_build.sh
index f7543b6f..7f927d19 100755
--- a/ci/scripts/jni_macos_build.sh+++ b/ci/scripts/jni_macos_build.sh@@ -142,6 +142,7 @@ github_actions_group_begin "Checking shared dependencies for libraries"
pushd "${dist_dir}"
archery linking check-dependencies \
--allow CoreFoundation \
+ --allow Network \
--allow Security \
--allow libSystem \
--allow libarrow_cdata_jni \

for macOS.

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

diff --git a/.env b/.env
index d3e1c1d6..a7783537 100644
--- a/.env+++ b/.env@@ -40,7 +40,7 @@ ARCH_SHORT=amd64
# Default repository to pull and push images from
REPO=ghcr.io/apache/arrow-java-dev
-ARROW_REPO=apache/arrow-dev+ARROW_REPO=ghcr.io/apache/arrow-dev
# The setup attempts to generate coredumps by default, in order to disable the
# coredump generation set it to 0
@@ -53,5 +53,4 @@ MAVEN=3.9.9
# Versions for various dependencies used to build artifacts
# Keep in sync with apache/arrow
ARROW_REPO_ROOT=./arrow
-PYTHON=3.9-VCPKG="f7423ee180c4b7f40d43402c2feb3859161ef625" # 2024.06.15 Release+VCPKG="4334d8b4c8916018600212ab4dd4bbdc343065d1" # 2025.09.17 Releasediff --git a/ci/docker/vcpkg-jni.dockerfile b/ci/docker/vcpkg-jni.dockerfile
index 55fa35e0..d6bd322a 100644
--- a/ci/docker/vcpkg-jni.dockerfile+++ b/ci/docker/vcpkg-jni.dockerfile@@ -18,24 +18,10 @@
ARG base
FROM ${base}
-# Install the libraries required by Gandiva to run-# Use enable llvm[enable-rtti] in the vcpkg.json to avoid link problems in Gandiva-RUN vcpkg install \- --clean-after-build \- --x-install-root=${VCPKG_ROOT}/installed \- --x-manifest-root=/arrow/ci/vcpkg \- --x-feature=dev \- --x-feature=flight \- --x-feature=gcs \- --x-feature=json \- --x-feature=parquet \- --x-feature=gandiva \- --x-feature=s3-
# Install Java
# We need Java for JNI headers, but we don't invoke Maven in this build.
ARG java=11
-RUN yum install -y java-$java-openjdk-devel && yum clean all+RUN dnf install -y java-$java-openjdk-devel && dnf clean all
# For ci/scripts/{cpp,java}_*.sh
ENV ARROW_HOME=/tmp/local \
diff --git a/compose.yaml b/compose.yaml
index b125c3c9..f5082a22 100644
--- a/compose.yaml+++ b/compose.yaml@@ -99,7 +99,7 @@ services:
cache_from:
- ${REPO}:${ARCH}-vcpkg-jni-${VCPKG}
args:
- base: ${ARROW_REPO}:${ARCH}-python-${PYTHON}-wheel-manylinux-2014-vcpkg-${VCPKG}+ base: ${ARROW_REPO}:${ARCH}-cpp-jni-${VCPKG}
volumes:
- .:/arrow-java:delegated
- ${ARROW_REPO_ROOT}:/arrow:delegated

for Linux.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

I'm fixing the base image here (need to adapt).

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

apache/arrow#47749 was merged and JNI jobs on macOS passed.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou macos works now thanks. But not Ubuntu yet. I'm investigating.

@kou

kou commented Oct 11, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

It's not merged yet. It's a blocker for Linux.

@kou
kouforce-pushed the ci-test-and-fix branch 2 times, most recently from 06b9e8d to 0b47984CompareOctober 23, 2025 05:24
@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915

@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915 can fix the symbol error but it seems that Java process is crashed:

2025-10-23T06:05:57.7339179Z [ERROR] See /home/runner/work/arrow-java/arrow-java/dataset/target/surefire-reports for the individual test results.
2025-10-23T06:05:57.7340624Z [ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
2025-10-23T06:05:57.7342010Z [ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7362032Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7366551Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7367142Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7367590Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7368213Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7369823Z [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7374432Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7378464Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7379052Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7379495Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7380123Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7381305Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:456)
2025-10-23T06:05:57.7382800Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:358)
2025-10-23T06:05:57.7384130Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:296)
2025-10-23T06:05:57.7385567Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)
2025-10-23T06:05:57.7386899Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1337)
2025-10-23T06:05:57.7388551Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1135)
2025-10-23T06:05:57.7390302Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:969)
2025-10-23T06:05:57.7391570Z [ERROR] at jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
2025-10-23T06:05:57.7392808Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7393916Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7394713Z [ERROR] at com.gradle.maven.cache.extension.c.n.a(SourceFile:53)
2025-10-23T06:05:57.7395641Z [ERROR] at com.gradle.maven.cache.extension.c.d.a(SourceFile:27)
2025-10-23T06:05:57.7396382Z [ERROR] at com.gradle.maven.cache.extension.c.q.a(SourceFile:23)
2025-10-23T06:05:57.7397145Z [ERROR] at com.gradle.maven.cache.extension.c.j.a(SourceFile:28)
2025-10-23T06:05:57.7397904Z [ERROR] at com.gradle.maven.cache.extension.c.p.a(SourceFile:27)
2025-10-23T06:05:57.7398647Z [ERROR] at com.gradle.maven.cache.extension.c.b.c(SourceFile:118)
2025-10-23T06:05:57.7399405Z [ERROR] at com.gradle.maven.cache.extension.c.b.a(SourceFile:62)
2025-10-23T06:05:57.7400154Z [ERROR] at com.gradle.maven.cache.extension.c.g.a(SourceFile:27)
2025-10-23T06:05:57.7400901Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7401607Z [ERROR] at com.gradle.maven.cache.extension.c.o.a(SourceFile:18)
2025-10-23T06:05:57.7402319Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7403012Z [ERROR] at com.gradle.maven.cache.extension.c.c.a(SourceFile:26)
2025-10-23T06:05:57.7403767Z [ERROR] at com.gradle.maven.cache.extension.c.h$1.run(SourceFile:35)
2025-10-23T06:05:57.7404749Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:30)
2025-10-23T06:05:57.7406286Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:27)
2025-10-23T06:05:57.7407496Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:67)
2025-10-23T06:05:57.7408598Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:60)
2025-10-23T06:05:57.7409694Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:167)
2025-10-23T06:05:57.7410874Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:60)
2025-10-23T06:05:57.7411981Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.run(SourceFile:48)
2025-10-23T06:05:57.7412947Z [ERROR] at com.gradle.maven.cache.extension.c.h.a(SourceFile:31)
2025-10-23T06:05:57.7413694Z [ERROR] at com.gradle.maven.cache.extension.c.m.a(SourceFile:80)
2025-10-23T06:05:57.7414547Z [ERROR] at com.gradle.maven.cache.extension.g.b.lambda$createProxy$0(SourceFile:76)
2025-10-23T06:05:57.7430662Z [ERROR] at jdk.proxy31/jdk.proxy31.$Proxy139.execute(Unknown Source)
2025-10-23T06:05:57.7431546Z [ERROR] at com.gradle.maven.scan.extension.internal.d.b.executeMojo(SourceFile:116)
2025-10-23T06:05:57.7432622Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
2025-10-23T06:05:57.7433731Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
2025-10-23T06:05:57.7434767Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
2025-10-23T06:05:57.7442486Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
2025-10-23T06:05:57.7443657Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
2025-10-23T06:05:57.7444785Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
2025-10-23T06:05:57.7454565Z [ERROR] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
2025-10-23T06:05:57.7456172Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
2025-10-23T06:05:57.7457742Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
2025-10-23T06:05:57.7459393Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
2025-10-23T06:05:57.7461035Z [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
2025-10-23T06:05:57.7462605Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
2025-10-23T06:05:57.7463701Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
2025-10-23T06:05:57.7464635Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
2025-10-23T06:05:57.7465624Z [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
2025-10-23T06:05:57.7466415Z [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
2025-10-23T06:05:57.7467207Z [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
2025-10-23T06:05:57.7467980Z [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
2025-10-23T06:05:57.7468918Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2025-10-23T06:05:57.7470166Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2025-10-23T06:05:57.7471634Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7472815Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7473810Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255)
2025-10-23T06:05:57.7475177Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201)
2025-10-23T06:05:57.7476314Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:361)
2025-10-23T06:05:57.7477468Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314)
2025-10-23T06:05:57.7479073Z [ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7483583Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7487688Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7488315Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7488748Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7489383Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7490456Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:643)
2025-10-23T06:05:57.7491742Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.lambda$null$3(ForkStarter.java:350)
2025-10-23T06:05:57.7492881Z [ERROR] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2025-10-23T06:05:57.7493932Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2025-10-23T06:05:57.7495315Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2025-10-23T06:05:57.7496267Z [ERROR] at java.base/java.lang.Thread.run(Thread.java:840)
2025-10-23T06:05:57.7496821Z [ERROR] 2025-10-23T06:05:57.7497152Z [ERROR] -> [Help 1]

BTW, can we reduce log from Maven? We can't use GitHub Actions UI to see logs because there are too many logs. (We need to use raw log instead...)

@lidavidm

Copy link
Copy Markdown
Member

Hmm, we've been running into this for a while now but haven't managed to actually track it down.

@lidavidm

Copy link
Copy Markdown
Member

We could disable the test. (Or just disable all tests...the JNI bindings are not very well tested in the first place.)

raulcd pushed a commit to apache/arrow that referenced this pull request Oct 23, 2025
…47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: #47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@lidavidm

Copy link
Copy Markdown
Member

I can replicate the crash locally. I also see this:

java.lang.RuntimeException: No function registered with name: make_struct

Not sure what's happening here. Linking issue?

@lidavidm

Copy link
Copy Markdown
Member

I can see the same in CI.

I thought compute functions were automatically registered? Or did something about that change over time

@lidavidm

Copy link
Copy Markdown
Member

I don't think I have the time to investigate this. I'm at least willing to disable the tests and declare that dataset needs maintainers in order to continue...

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

Ah, we need to call arrow::compute::Initialize() explicitly with recent Apache Arrow C++.

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

apache/arrow#46261

@lidavidm

Copy link
Copy Markdown
Member

Ok, let me try that, thanks :)

@lidavidm

Copy link
Copy Markdown
Member

IMO, let's merge this PR as-is though? We can start unblocking other PRs and this has been around for a while

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

OK.

@jbonofre Could you create a new issue for this and update the PR title/description for the latest changes?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou@lidavidm thanks, let me do that.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre do you mind if I just file the issue and close this out?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@lidavidm maybe we can start by merging this one and create another issue/PR as follow up ?

@lidavidmlidavidm changed the title MINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyGH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 27, 2025
@lidavidm
lidavidm merged commit f71a02c into apache:mainOct 27, 2025
35 of 38 checks passed
lidavidm added a commit that referenced this pull request Oct 29, 2025
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Nov 5, 2025
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@jbonofre
jbonofre deleted the ci-test-and-fix branch November 11, 2025 10:24
Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Apache POM 35 and fix JNI CI

4 participants

@jbonofre@lidavidm@raulcd@kou
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy - #865

Merged
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix
Oct 27, 2025
Merged

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy#865
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix

Conversation

@jbonofre

@jbonofrejbonofre commented Oct 2, 2025

Copy link
Copy Markdown
Member

Closes#898.

@jbonofrejbonofre changed the title Upgrade to Apache POM 35 and identify fixes needed to have CI happyMINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 2, 2025
@jbonofre

jbonofre commented Oct 2, 2025

Copy link
Copy Markdown
MemberAuthor

For the JNI Ubuntu, I see this message from archery:

 × python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Python < 3.10 is not supported
[end of output]

Checking for an update.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre

Copy link
Copy Markdown
MemberAuthor

Yup agree. It's what I gonna try.

@raulcd

raulcd commented Oct 7, 2025

Copy link
Copy Markdown
Member

The error with cffi not being available for free-threaded means it's trying to use free-threaded wheels (an python) which is unexpected from what I understand:

 RuntimeError: CFFI does not support the free-threaded build of CPython 3.13. Upgrade to free-threaded 3.14 or newer to use CFFI with the free-threaded build.

Comment threadcompose.yaml Outdated
@github-actions

This comment has been minimized.

@jbonofrejbonofre added the dependencies Pull requests that update a dependency file label Oct 8, 2025
@github-actionsgithub-actionsBot added this to the 18.4.0 milestone Oct 8, 2025
@jbonofrejbonofre mentioned this pull request Oct 10, 2025
@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47749 and

diff --git a/ci/scripts/jni_macos_build.sh b/ci/scripts/jni_macos_build.sh
index f7543b6f..7f927d19 100755
--- a/ci/scripts/jni_macos_build.sh+++ b/ci/scripts/jni_macos_build.sh@@ -142,6 +142,7 @@ github_actions_group_begin "Checking shared dependencies for libraries"
pushd "${dist_dir}"
archery linking check-dependencies \
--allow CoreFoundation \
+ --allow Network \
--allow Security \
--allow libSystem \
--allow libarrow_cdata_jni \

for macOS.

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

diff --git a/.env b/.env
index d3e1c1d6..a7783537 100644
--- a/.env+++ b/.env@@ -40,7 +40,7 @@ ARCH_SHORT=amd64
# Default repository to pull and push images from
REPO=ghcr.io/apache/arrow-java-dev
-ARROW_REPO=apache/arrow-dev+ARROW_REPO=ghcr.io/apache/arrow-dev
# The setup attempts to generate coredumps by default, in order to disable the
# coredump generation set it to 0
@@ -53,5 +53,4 @@ MAVEN=3.9.9
# Versions for various dependencies used to build artifacts
# Keep in sync with apache/arrow
ARROW_REPO_ROOT=./arrow
-PYTHON=3.9-VCPKG="f7423ee180c4b7f40d43402c2feb3859161ef625" # 2024.06.15 Release+VCPKG="4334d8b4c8916018600212ab4dd4bbdc343065d1" # 2025.09.17 Releasediff --git a/ci/docker/vcpkg-jni.dockerfile b/ci/docker/vcpkg-jni.dockerfile
index 55fa35e0..d6bd322a 100644
--- a/ci/docker/vcpkg-jni.dockerfile+++ b/ci/docker/vcpkg-jni.dockerfile@@ -18,24 +18,10 @@
ARG base
FROM ${base}
-# Install the libraries required by Gandiva to run-# Use enable llvm[enable-rtti] in the vcpkg.json to avoid link problems in Gandiva-RUN vcpkg install \- --clean-after-build \- --x-install-root=${VCPKG_ROOT}/installed \- --x-manifest-root=/arrow/ci/vcpkg \- --x-feature=dev \- --x-feature=flight \- --x-feature=gcs \- --x-feature=json \- --x-feature=parquet \- --x-feature=gandiva \- --x-feature=s3-
# Install Java
# We need Java for JNI headers, but we don't invoke Maven in this build.
ARG java=11
-RUN yum install -y java-$java-openjdk-devel && yum clean all+RUN dnf install -y java-$java-openjdk-devel && dnf clean all
# For ci/scripts/{cpp,java}_*.sh
ENV ARROW_HOME=/tmp/local \
diff --git a/compose.yaml b/compose.yaml
index b125c3c9..f5082a22 100644
--- a/compose.yaml+++ b/compose.yaml@@ -99,7 +99,7 @@ services:
cache_from:
- ${REPO}:${ARCH}-vcpkg-jni-${VCPKG}
args:
- base: ${ARROW_REPO}:${ARCH}-python-${PYTHON}-wheel-manylinux-2014-vcpkg-${VCPKG}+ base: ${ARROW_REPO}:${ARCH}-cpp-jni-${VCPKG}
volumes:
- .:/arrow-java:delegated
- ${ARROW_REPO_ROOT}:/arrow:delegated

for Linux.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

I'm fixing the base image here (need to adapt).

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

apache/arrow#47749 was merged and JNI jobs on macOS passed.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou macos works now thanks. But not Ubuntu yet. I'm investigating.

@kou

kou commented Oct 11, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

It's not merged yet. It's a blocker for Linux.

@kou
kouforce-pushed the ci-test-and-fix branch 2 times, most recently from 06b9e8d to 0b47984CompareOctober 23, 2025 05:24
@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915

@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915 can fix the symbol error but it seems that Java process is crashed:

2025-10-23T06:05:57.7339179Z [ERROR] See /home/runner/work/arrow-java/arrow-java/dataset/target/surefire-reports for the individual test results.
2025-10-23T06:05:57.7340624Z [ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
2025-10-23T06:05:57.7342010Z [ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7362032Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7366551Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7367142Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7367590Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7368213Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7369823Z [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7374432Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7378464Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7379052Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7379495Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7380123Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7381305Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:456)
2025-10-23T06:05:57.7382800Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:358)
2025-10-23T06:05:57.7384130Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:296)
2025-10-23T06:05:57.7385567Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)
2025-10-23T06:05:57.7386899Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1337)
2025-10-23T06:05:57.7388551Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1135)
2025-10-23T06:05:57.7390302Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:969)
2025-10-23T06:05:57.7391570Z [ERROR] at jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
2025-10-23T06:05:57.7392808Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7393916Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7394713Z [ERROR] at com.gradle.maven.cache.extension.c.n.a(SourceFile:53)
2025-10-23T06:05:57.7395641Z [ERROR] at com.gradle.maven.cache.extension.c.d.a(SourceFile:27)
2025-10-23T06:05:57.7396382Z [ERROR] at com.gradle.maven.cache.extension.c.q.a(SourceFile:23)
2025-10-23T06:05:57.7397145Z [ERROR] at com.gradle.maven.cache.extension.c.j.a(SourceFile:28)
2025-10-23T06:05:57.7397904Z [ERROR] at com.gradle.maven.cache.extension.c.p.a(SourceFile:27)
2025-10-23T06:05:57.7398647Z [ERROR] at com.gradle.maven.cache.extension.c.b.c(SourceFile:118)
2025-10-23T06:05:57.7399405Z [ERROR] at com.gradle.maven.cache.extension.c.b.a(SourceFile:62)
2025-10-23T06:05:57.7400154Z [ERROR] at com.gradle.maven.cache.extension.c.g.a(SourceFile:27)
2025-10-23T06:05:57.7400901Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7401607Z [ERROR] at com.gradle.maven.cache.extension.c.o.a(SourceFile:18)
2025-10-23T06:05:57.7402319Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7403012Z [ERROR] at com.gradle.maven.cache.extension.c.c.a(SourceFile:26)
2025-10-23T06:05:57.7403767Z [ERROR] at com.gradle.maven.cache.extension.c.h$1.run(SourceFile:35)
2025-10-23T06:05:57.7404749Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:30)
2025-10-23T06:05:57.7406286Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:27)
2025-10-23T06:05:57.7407496Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:67)
2025-10-23T06:05:57.7408598Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:60)
2025-10-23T06:05:57.7409694Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:167)
2025-10-23T06:05:57.7410874Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:60)
2025-10-23T06:05:57.7411981Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.run(SourceFile:48)
2025-10-23T06:05:57.7412947Z [ERROR] at com.gradle.maven.cache.extension.c.h.a(SourceFile:31)
2025-10-23T06:05:57.7413694Z [ERROR] at com.gradle.maven.cache.extension.c.m.a(SourceFile:80)
2025-10-23T06:05:57.7414547Z [ERROR] at com.gradle.maven.cache.extension.g.b.lambda$createProxy$0(SourceFile:76)
2025-10-23T06:05:57.7430662Z [ERROR] at jdk.proxy31/jdk.proxy31.$Proxy139.execute(Unknown Source)
2025-10-23T06:05:57.7431546Z [ERROR] at com.gradle.maven.scan.extension.internal.d.b.executeMojo(SourceFile:116)
2025-10-23T06:05:57.7432622Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
2025-10-23T06:05:57.7433731Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
2025-10-23T06:05:57.7434767Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
2025-10-23T06:05:57.7442486Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
2025-10-23T06:05:57.7443657Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
2025-10-23T06:05:57.7444785Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
2025-10-23T06:05:57.7454565Z [ERROR] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
2025-10-23T06:05:57.7456172Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
2025-10-23T06:05:57.7457742Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
2025-10-23T06:05:57.7459393Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
2025-10-23T06:05:57.7461035Z [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
2025-10-23T06:05:57.7462605Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
2025-10-23T06:05:57.7463701Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
2025-10-23T06:05:57.7464635Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
2025-10-23T06:05:57.7465624Z [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
2025-10-23T06:05:57.7466415Z [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
2025-10-23T06:05:57.7467207Z [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
2025-10-23T06:05:57.7467980Z [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
2025-10-23T06:05:57.7468918Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2025-10-23T06:05:57.7470166Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2025-10-23T06:05:57.7471634Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7472815Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7473810Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255)
2025-10-23T06:05:57.7475177Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201)
2025-10-23T06:05:57.7476314Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:361)
2025-10-23T06:05:57.7477468Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314)
2025-10-23T06:05:57.7479073Z [ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7483583Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7487688Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7488315Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7488748Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7489383Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7490456Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:643)
2025-10-23T06:05:57.7491742Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.lambda$null$3(ForkStarter.java:350)
2025-10-23T06:05:57.7492881Z [ERROR] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2025-10-23T06:05:57.7493932Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2025-10-23T06:05:57.7495315Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2025-10-23T06:05:57.7496267Z [ERROR] at java.base/java.lang.Thread.run(Thread.java:840)
2025-10-23T06:05:57.7496821Z [ERROR] 2025-10-23T06:05:57.7497152Z [ERROR] -> [Help 1]

BTW, can we reduce log from Maven? We can't use GitHub Actions UI to see logs because there are too many logs. (We need to use raw log instead...)

@lidavidm

Copy link
Copy Markdown
Member

Hmm, we've been running into this for a while now but haven't managed to actually track it down.

@lidavidm

Copy link
Copy Markdown
Member

We could disable the test. (Or just disable all tests...the JNI bindings are not very well tested in the first place.)

raulcd pushed a commit to apache/arrow that referenced this pull request Oct 23, 2025
…47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: #47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@lidavidm

Copy link
Copy Markdown
Member

I can replicate the crash locally. I also see this:

java.lang.RuntimeException: No function registered with name: make_struct

Not sure what's happening here. Linking issue?

@lidavidm

Copy link
Copy Markdown
Member

I can see the same in CI.

I thought compute functions were automatically registered? Or did something about that change over time

@lidavidm

Copy link
Copy Markdown
Member

I don't think I have the time to investigate this. I'm at least willing to disable the tests and declare that dataset needs maintainers in order to continue...

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

Ah, we need to call arrow::compute::Initialize() explicitly with recent Apache Arrow C++.

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

apache/arrow#46261

@lidavidm

Copy link
Copy Markdown
Member

Ok, let me try that, thanks :)

@lidavidm

Copy link
Copy Markdown
Member

IMO, let's merge this PR as-is though? We can start unblocking other PRs and this has been around for a while

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

OK.

@jbonofre Could you create a new issue for this and update the PR title/description for the latest changes?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou@lidavidm thanks, let me do that.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre do you mind if I just file the issue and close this out?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@lidavidm maybe we can start by merging this one and create another issue/PR as follow up ?

@lidavidmlidavidm changed the title MINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyGH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 27, 2025
@lidavidm
lidavidm merged commit f71a02c into apache:mainOct 27, 2025
35 of 38 checks passed
lidavidm added a commit that referenced this pull request Oct 29, 2025
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Nov 5, 2025
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@jbonofre
jbonofre deleted the ci-test-and-fix branch November 11, 2025 10:24
Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Apache POM 35 and fix JNI CI

4 participants

@jbonofre@lidavidm@raulcd@kou
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy - #865

Merged
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix
Oct 27, 2025
Merged

GH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happy#865
lidavidm merged 25 commits into
apache:mainfrom
jbonofre:ci-test-and-fix

Conversation

@jbonofre

@jbonofrejbonofre commented Oct 2, 2025

Copy link
Copy Markdown
Member

Closes#898.

@jbonofrejbonofre changed the title Upgrade to Apache POM 35 and identify fixes needed to have CI happyMINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 2, 2025
@jbonofre

jbonofre commented Oct 2, 2025

Copy link
Copy Markdown
MemberAuthor

For the JNI Ubuntu, I see this message from archery:

 × python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Python < 3.10 is not supported
[end of output]

Checking for an update.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre

Copy link
Copy Markdown
MemberAuthor

Yup agree. It's what I gonna try.

@raulcd

raulcd commented Oct 7, 2025

Copy link
Copy Markdown
Member

The error with cffi not being available for free-threaded means it's trying to use free-threaded wheels (an python) which is unexpected from what I understand:

 RuntimeError: CFFI does not support the free-threaded build of CPython 3.13. Upgrade to free-threaded 3.14 or newer to use CFFI with the free-threaded build.

Comment threadcompose.yaml Outdated
@github-actions

This comment has been minimized.

@jbonofrejbonofre added the dependencies Pull requests that update a dependency file label Oct 8, 2025
@github-actionsgithub-actionsBot added this to the 18.4.0 milestone Oct 8, 2025
@jbonofrejbonofre mentioned this pull request Oct 10, 2025
@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47749 and

diff --git a/ci/scripts/jni_macos_build.sh b/ci/scripts/jni_macos_build.sh
index f7543b6f..7f927d19 100755
--- a/ci/scripts/jni_macos_build.sh+++ b/ci/scripts/jni_macos_build.sh@@ -142,6 +142,7 @@ github_actions_group_begin "Checking shared dependencies for libraries"
pushd "${dist_dir}"
archery linking check-dependencies \
--allow CoreFoundation \
+ --allow Network \
--allow Security \
--allow libSystem \
--allow libarrow_cdata_jni \

for macOS.

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

diff --git a/.env b/.env
index d3e1c1d6..a7783537 100644
--- a/.env+++ b/.env@@ -40,7 +40,7 @@ ARCH_SHORT=amd64
# Default repository to pull and push images from
REPO=ghcr.io/apache/arrow-java-dev
-ARROW_REPO=apache/arrow-dev+ARROW_REPO=ghcr.io/apache/arrow-dev
# The setup attempts to generate coredumps by default, in order to disable the
# coredump generation set it to 0
@@ -53,5 +53,4 @@ MAVEN=3.9.9
# Versions for various dependencies used to build artifacts
# Keep in sync with apache/arrow
ARROW_REPO_ROOT=./arrow
-PYTHON=3.9-VCPKG="f7423ee180c4b7f40d43402c2feb3859161ef625" # 2024.06.15 Release+VCPKG="4334d8b4c8916018600212ab4dd4bbdc343065d1" # 2025.09.17 Releasediff --git a/ci/docker/vcpkg-jni.dockerfile b/ci/docker/vcpkg-jni.dockerfile
index 55fa35e0..d6bd322a 100644
--- a/ci/docker/vcpkg-jni.dockerfile+++ b/ci/docker/vcpkg-jni.dockerfile@@ -18,24 +18,10 @@
ARG base
FROM ${base}
-# Install the libraries required by Gandiva to run-# Use enable llvm[enable-rtti] in the vcpkg.json to avoid link problems in Gandiva-RUN vcpkg install \- --clean-after-build \- --x-install-root=${VCPKG_ROOT}/installed \- --x-manifest-root=/arrow/ci/vcpkg \- --x-feature=dev \- --x-feature=flight \- --x-feature=gcs \- --x-feature=json \- --x-feature=parquet \- --x-feature=gandiva \- --x-feature=s3-
# Install Java
# We need Java for JNI headers, but we don't invoke Maven in this build.
ARG java=11
-RUN yum install -y java-$java-openjdk-devel && yum clean all+RUN dnf install -y java-$java-openjdk-devel && dnf clean all
# For ci/scripts/{cpp,java}_*.sh
ENV ARROW_HOME=/tmp/local \
diff --git a/compose.yaml b/compose.yaml
index b125c3c9..f5082a22 100644
--- a/compose.yaml+++ b/compose.yaml@@ -99,7 +99,7 @@ services:
cache_from:
- ${REPO}:${ARCH}-vcpkg-jni-${VCPKG}
args:
- base: ${ARROW_REPO}:${ARCH}-python-${PYTHON}-wheel-manylinux-2014-vcpkg-${VCPKG}+ base: ${ARROW_REPO}:${ARCH}-cpp-jni-${VCPKG}
volumes:
- .:/arrow-java:delegated
- ${ARROW_REPO_ROOT}:/arrow:delegated

for Linux.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

I'm fixing the base image here (need to adapt).

@kou

kou commented Oct 10, 2025

Copy link
Copy Markdown
Member

apache/arrow#47749 was merged and JNI jobs on macOS passed.

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou macos works now thanks. But not Ubuntu yet. I'm investigating.

@kou

kou commented Oct 11, 2025

Copy link
Copy Markdown
Member

We need apache/arrow#47746 and

It's not merged yet. It's a blocker for Linux.

@kou
kouforce-pushed the ci-test-and-fix branch 2 times, most recently from 06b9e8d to 0b47984CompareOctober 23, 2025 05:24
@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915

@kou

kou commented Oct 23, 2025

Copy link
Copy Markdown
Member

apache/arrow#47915 can fix the symbol error but it seems that Java process is crashed:

2025-10-23T06:05:57.7339179Z [ERROR] See /home/runner/work/arrow-java/arrow-java/dataset/target/surefire-reports for the individual test results.
2025-10-23T06:05:57.7340624Z [ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
2025-10-23T06:05:57.7342010Z [ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7362032Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7366551Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7367142Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7367590Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7368213Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7369823Z [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7374432Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7378464Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7379052Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7379495Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7380123Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7381305Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:456)
2025-10-23T06:05:57.7382800Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:358)
2025-10-23T06:05:57.7384130Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:296)
2025-10-23T06:05:57.7385567Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)
2025-10-23T06:05:57.7386899Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1337)
2025-10-23T06:05:57.7388551Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1135)
2025-10-23T06:05:57.7390302Z [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:969)
2025-10-23T06:05:57.7391570Z [ERROR] at jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
2025-10-23T06:05:57.7392808Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7393916Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7394713Z [ERROR] at com.gradle.maven.cache.extension.c.n.a(SourceFile:53)
2025-10-23T06:05:57.7395641Z [ERROR] at com.gradle.maven.cache.extension.c.d.a(SourceFile:27)
2025-10-23T06:05:57.7396382Z [ERROR] at com.gradle.maven.cache.extension.c.q.a(SourceFile:23)
2025-10-23T06:05:57.7397145Z [ERROR] at com.gradle.maven.cache.extension.c.j.a(SourceFile:28)
2025-10-23T06:05:57.7397904Z [ERROR] at com.gradle.maven.cache.extension.c.p.a(SourceFile:27)
2025-10-23T06:05:57.7398647Z [ERROR] at com.gradle.maven.cache.extension.c.b.c(SourceFile:118)
2025-10-23T06:05:57.7399405Z [ERROR] at com.gradle.maven.cache.extension.c.b.a(SourceFile:62)
2025-10-23T06:05:57.7400154Z [ERROR] at com.gradle.maven.cache.extension.c.g.a(SourceFile:27)
2025-10-23T06:05:57.7400901Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7401607Z [ERROR] at com.gradle.maven.cache.extension.c.o.a(SourceFile:18)
2025-10-23T06:05:57.7402319Z [ERROR] at com.gradle.maven.cache.extension.c.a.a(SourceFile:46)
2025-10-23T06:05:57.7403012Z [ERROR] at com.gradle.maven.cache.extension.c.c.a(SourceFile:26)
2025-10-23T06:05:57.7403767Z [ERROR] at com.gradle.maven.cache.extension.c.h$1.run(SourceFile:35)
2025-10-23T06:05:57.7404749Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:30)
2025-10-23T06:05:57.7406286Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:27)
2025-10-23T06:05:57.7407496Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:67)
2025-10-23T06:05:57.7408598Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:60)
2025-10-23T06:05:57.7409694Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:167)
2025-10-23T06:05:57.7410874Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:60)
2025-10-23T06:05:57.7411981Z [ERROR] at org.gradle.internal.operations.DefaultBuildOperationRunner.run(SourceFile:48)
2025-10-23T06:05:57.7412947Z [ERROR] at com.gradle.maven.cache.extension.c.h.a(SourceFile:31)
2025-10-23T06:05:57.7413694Z [ERROR] at com.gradle.maven.cache.extension.c.m.a(SourceFile:80)
2025-10-23T06:05:57.7414547Z [ERROR] at com.gradle.maven.cache.extension.g.b.lambda$createProxy$0(SourceFile:76)
2025-10-23T06:05:57.7430662Z [ERROR] at jdk.proxy31/jdk.proxy31.$Proxy139.execute(Unknown Source)
2025-10-23T06:05:57.7431546Z [ERROR] at com.gradle.maven.scan.extension.internal.d.b.executeMojo(SourceFile:116)
2025-10-23T06:05:57.7432622Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
2025-10-23T06:05:57.7433731Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
2025-10-23T06:05:57.7434767Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
2025-10-23T06:05:57.7442486Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
2025-10-23T06:05:57.7443657Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
2025-10-23T06:05:57.7444785Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
2025-10-23T06:05:57.7454565Z [ERROR] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
2025-10-23T06:05:57.7456172Z [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
2025-10-23T06:05:57.7457742Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
2025-10-23T06:05:57.7459393Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
2025-10-23T06:05:57.7461035Z [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
2025-10-23T06:05:57.7462605Z [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
2025-10-23T06:05:57.7463701Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
2025-10-23T06:05:57.7464635Z [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
2025-10-23T06:05:57.7465624Z [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
2025-10-23T06:05:57.7466415Z [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
2025-10-23T06:05:57.7467207Z [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
2025-10-23T06:05:57.7467980Z [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
2025-10-23T06:05:57.7468918Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2025-10-23T06:05:57.7470166Z [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2025-10-23T06:05:57.7471634Z [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-10-23T06:05:57.7472815Z [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-10-23T06:05:57.7473810Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255)
2025-10-23T06:05:57.7475177Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201)
2025-10-23T06:05:57.7476314Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:361)
2025-10-23T06:05:57.7477468Z [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314)
2025-10-23T06:05:57.7479073Z [ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
2025-10-23T06:05:57.7483583Z [ERROR] Command was /bin/sh -c cd '/home/runner/work/arrow-java/arrow-java/dataset' && '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java' '--add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind' '--add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED' '-jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire/surefirebooter-20251023060545407_171.jar' '/home/runner/work/arrow-java/arrow-java/dataset/target/surefire' '2025-10-23T05-55-19_252-jvmRun1' 'surefire-20251023060545407_167tmp' 'surefire_33-20251023060545407_169tmp'
2025-10-23T06:05:57.7487688Z [ERROR] Error occurred in starting fork, check output in log
2025-10-23T06:05:57.7488315Z [ERROR] Process Exit Code: 134
2025-10-23T06:05:57.7488748Z [ERROR] Crashed tests:
2025-10-23T06:05:57.7489383Z [ERROR] org.apache.arrow.dataset.substrait.TestAceroSubstraitConsumer
2025-10-23T06:05:57.7490456Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:643)
2025-10-23T06:05:57.7491742Z [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.lambda$null$3(ForkStarter.java:350)
2025-10-23T06:05:57.7492881Z [ERROR] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2025-10-23T06:05:57.7493932Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2025-10-23T06:05:57.7495315Z [ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2025-10-23T06:05:57.7496267Z [ERROR] at java.base/java.lang.Thread.run(Thread.java:840)
2025-10-23T06:05:57.7496821Z [ERROR] 2025-10-23T06:05:57.7497152Z [ERROR] -> [Help 1]

BTW, can we reduce log from Maven? We can't use GitHub Actions UI to see logs because there are too many logs. (We need to use raw log instead...)

@lidavidm

Copy link
Copy Markdown
Member

Hmm, we've been running into this for a while now but haven't managed to actually track it down.

@lidavidm

Copy link
Copy Markdown
Member

We could disable the test. (Or just disable all tests...the JNI bindings are not very well tested in the first place.)

raulcd pushed a commit to apache/arrow that referenced this pull request Oct 23, 2025
…47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: #47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@lidavidm

Copy link
Copy Markdown
Member

I can replicate the crash locally. I also see this:

java.lang.RuntimeException: No function registered with name: make_struct

Not sure what's happening here. Linking issue?

@lidavidm

Copy link
Copy Markdown
Member

I can see the same in CI.

I thought compute functions were automatically registered? Or did something about that change over time

@lidavidm

Copy link
Copy Markdown
Member

I don't think I have the time to investigate this. I'm at least willing to disable the tests and declare that dataset needs maintainers in order to continue...

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

Ah, we need to call arrow::compute::Initialize() explicitly with recent Apache Arrow C++.

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

apache/arrow#46261

@lidavidm

Copy link
Copy Markdown
Member

Ok, let me try that, thanks :)

@lidavidm

Copy link
Copy Markdown
Member

IMO, let's merge this PR as-is though? We can start unblocking other PRs and this has been around for a while

@kou

kou commented Oct 24, 2025

Copy link
Copy Markdown
Member

OK.

@jbonofre Could you create a new issue for this and update the PR title/description for the latest changes?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@kou@lidavidm thanks, let me do that.

@lidavidm

Copy link
Copy Markdown
Member

@jbonofre do you mind if I just file the issue and close this out?

@jbonofre

Copy link
Copy Markdown
MemberAuthor

@lidavidm maybe we can start by merging this one and create another issue/PR as follow up ?

@lidavidmlidavidm changed the title MINOR: Upgrade to Apache POM 35 and identify fixes needed to have CI happyGH-898: Upgrade to Apache POM 35 and identify fixes needed to have CI happyOct 27, 2025
@lidavidm
lidavidm merged commit f71a02c into apache:mainOct 27, 2025
35 of 38 checks passed
lidavidm added a commit that referenced this pull request Oct 29, 2025
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Nov 5, 2025
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@jbonofre
jbonofre deleted the ci-test-and-fix branch November 11, 2025 10:24
Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
…tion (apache#47915)
### Rationale for this change
We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging.
### What changes are included in this PR?
Fix referred variable names.
### Are these changes tested?
Yes in apache/arrow-java#865 .
### Are there any user-facing changes?
Yes.
* GitHub Issue: apache#47914
Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Apache POM 35 and fix JNI CI

4 participants

@jbonofre@lidavidm@raulcd@kou