Skip to content

java.exe failures on Buildkite #4924

Closed
Closed

Description

@buchgr

https://buildkite.com/bazel/google-bazel-presubmit/builds/588#60311e60-e262-4ee1-83c9-270ce5296aa4

INFO: From Compiling Java headers src/main/java/com/google/devtools/build/lib/libbuild-base-hjar.jar (455 files):

  | Action failed to execute: java.io.IOException: ERROR: src/main/native/windows/processes-jni.cc(161): CreateProcessWithExplicitHandles("D:\temp_bazel_buildkite\ogez2d-n\execroot\io_bazel\external\local_jdk\bin\java.exe" -Xverify:none -Xbootclasspath/p:external/bazel_tools/third_party/java/jdk/langtools/javac-9+181-r4173-1.jar -jar e(...)): command is longer than CreateProcessW's limit (32768 characters)

and also

ERROR: Caught I/O exception: java.io.IOException: D:/temp/_bazel_buildkite/ogez2d-n/execroot/io_bazel/_tmp/8a0a6eaca3beedecec9a7a670beca254/_bazel_buildkite/install/06be74defec9017c98119afd3362b681/_embedded_binaries/embedded_tools/jdk/bin/java.exe (Permission denied)

Any thoughts on this error @laszlocsomor @meteorcloudy ?

Activity

  1. laszlocsomor commented on Mar 28, 2018

    @laszlocsomor
    Contributor

    Started debugging.

    Known so far:

  2. laszlocsomor commented on Mar 28, 2018

    @laszlocsomor
    Contributor

    @buchgr , the first error ("Action failed to execute ... command is longer than CreateProcessW's limit (32768 characters)") is #4096

  3. laszlocsomor commented on Mar 28, 2018

    @laszlocsomor
    Contributor

    I don't know how to repro this and cannot spend more time looking for it. Please reopen if you see it again.

  4. reopened this on Apr 10, 2018
  5. laszlocsomor commented on Apr 18, 2018

    @laszlocsomor
    Contributor

    I suspect this is #5038

  6. laszlocsomor commented on May 4, 2018

    @laszlocsomor
    Contributor
  7. laszlocsomor commented on May 16, 2018

    @laszlocsomor
    Contributor

    Thanks! What I know is that the error is reported here:

    actionExecutionContext.getEventHandler().handle(Event.error("Caught I/O exception: " + e));
    throw new EnvironmentalExecException("unexpected I/O exception", e);

    Without a stack trace it's difficult to know what exactly threw the exception. Let me change Bazel to report the stacktrace there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions