Skip to content

Bundle build failure on Azure Cobalt aarch64 #11639

@huangshiyou

Description

@huangshiyou

Problem description

[INFO] Reactor Summary for Apache Arrow Java Root POM 15.0.0-gluten:
[INFO]
[INFO] Arrow Maven Plugins ................................ SUCCESS [  2.091 s]
[INFO] Module Info Compiler Maven Plugin .................. SUCCESS [  2.678 s]
[INFO] Arrow Bill of Materials ............................ SUCCESS [  0.368 s]
[INFO] Apache Arrow Java Root POM ......................... SUCCESS [  1.702 s]
[INFO] Arrow Format ....................................... SUCCESS [  4.454 s]
[INFO] Arrow Memory ....................................... SUCCESS [  0.434 s]
[INFO] Arrow Memory - Core ................................ SUCCESS [  7.740 s]
[INFO] Arrow Memory - Unsafe .............................. SUCCESS [  3.547 s]
[INFO] Arrow Memory - Netty ............................... SUCCESS [  6.532 s]
[INFO] Arrow Vectors ...................................... SUCCESS [01:07 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:37 min
[INFO] Finished at: 2026-02-20T23:59:35Z
[INFO] ------------------------------------------------------------------------
+++ /home/shihua03/incubator-gluten/dev/../build/mvn generate-resources -P generate-libs-cdata-all-os -Darrow.c.jni.dist.dir=/home/shihua03/incubator-gluten/dev/../ep/_ep/arrow_ep/install -Dmaven.test.skip -Drat.skip -Dmaven.gitcommitid.skip -Dcheckstyle.skip -N
Using system Maven: /usr/bin/mvn (version )
MAVEN_OPTS: -Xss128m -Xmx4g -XX:ReservedCodeCacheSize=2g
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: linux
[INFO] os.detected.arch: aarch_64
[INFO] os.detected.bitness: 64
[INFO] os.detected.version: 6.8
[INFO] os.detected.version.major: 6
[INFO] os.detected.version.minor: 8
[INFO] os.detected.release: ubuntu
[INFO] os.detected.release.version: 22.04
[INFO] os.detected.release.like.ubuntu: true
[INFO] os.detected.release.like.debian: true
[INFO] os.detected.classifier: linux-aarch_64
[INFO]
[INFO] ------------------< org.apache.arrow:arrow-java-root >------------------
[INFO] Building Apache Arrow Java Root POM 15.0.0-gluten
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- apache-rat-plugin:0.13:check (rat-checks) @ arrow-java-root ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.0:check (validate) @ arrow-java-root ---
[INFO]
[INFO] --- git-commit-id-plugin:4.0.5:revision (for-jars) @ arrow-java-root ---
[INFO]
[INFO] --- git-commit-id-plugin:4.0.5:revision (for-source-tarball) @ arrow-java-root ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ arrow-java-root ---
[INFO]
[INFO] --- exec-maven-plugin:3.1.0:exec (cdata-cmake) @ arrow-java-root ---
-- Building using CMake version: 3.30.4
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Java: /usr/bin/java (found version "17.0.18")
17 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable

4 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm

    at java.io.OutputStream.write (OutputStream.java:162)
    at java.io.BufferedOutputStream.flushBuffer (BufferedOutputStream.java:81)
    at java.io.BufferedOutputStream.flush (BufferedOutputStream.java:142)
    at java.io.FilterOutputStream.close (FilterOutputStream.java:182)
    at org.apache.commons.exec.DefaultExecutor.closeProcessStreams (DefaultExecutor.java:306)
    at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:387)
    at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:1000)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:947)
    at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:471)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:569)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
-- Found JNI: /usr/lib/jvm/java-17-openjdk-arm64/include  found components: AWT JVM
-- Configuring done (0.3s)
-- Generating done (0.0s)
-- Build files have been written to: /home/shihua03/incubator-gluten/ep/_ep/arrow_ep/java-jni
[ERROR] Command execution failed.
java.io.IOException: Stream closed
    at java.lang.ProcessBuilder$NullOutputStream.write (ProcessBuilder.java:445)
    at java.io.OutputStream.write (OutputStream.java:162)
    at java.io.BufferedOutputStream.flushBuffer (BufferedOutputStream.java:81)
    at java.io.BufferedOutputStream.flush (BufferedOutputStream.java:142)
    at java.io.FilterOutputStream.close (FilterOutputStream.java:182)
    at org.apache.commons.exec.DefaultExecutor.closeProcessStreams (DefaultExecutor.java:306)
    at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:387)
    at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:1000)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:947)
    at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:471)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:569)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.671 s
[INFO] Finished at: 2026-02-20T23:59:38Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:exec (cdata-cmake) on project arrow-java-root: Command execution failed.: Stream closed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

System information

./dev/info.sh

Gluten Version: 1.7.0-SNAPSHOT
Commit: a6739880664ecb7de06f0d888373b4e3bb897206
CMake Version: 4.2.3
System: Linux-6.8.0-1044-azure
Arch: aarch64
CPU Name:
C++ Compiler: /usr/bin/c++
C++ Compiler Version: 11.4.0
11.4.0
C Compiler: /usr/bin/cc
C Compiler Version: 11.4.0
11.4.0
CMake Prefix Path: /usr/local;/usr;/;/snap/cmake/1516;/usr/local;/usr/X11R6;/usr/pkg;/opt
lscpu
Architecture:             aarch64
  CPU op-mode(s):         32-bit, 64-bit
  Byte Order:             Little Endian
CPU(s):                   16
  On-line CPU(s) list:    0-15
Vendor ID:                ARM
  Model:                  0
  Thread(s) per core:     1
  Core(s) per socket:     16
  Socket(s):              1
  Stepping:               r0p0
  BogoMIPS:               2000.00

free -h
               total        used        free      shared  buff/cache   available
Mem:            62Gi       1.0Gi        46Gi       4.0Mi        15Gi        61Gi
Swap:             0B          0B          0B

### CMake log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions