Git Product home page Git Product logo

Comments (6)

sgowroji avatar sgowroji commented on September 27, 2024

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3720#018e4049-edb6-443c-94f7-7287985a903a

Platform : Windows


ERROR: An error occurred during the fetch of repository '_main~maven~version_interval_testing':
   Traceback (most recent call last):
	File "C:/b/bk-windows-c78f/bazel-org-repo-root/rules_jvm_external/coursier.bzl", line 911, column 28, in _coursier_fetch_impl
		repository_ctx.download(coursier_download_urls, "coursier", sha256 = COURSIER_CLI_SHA256, executable = True)
Error in download: java.io.IOException: C:/b/cache/repos/v1/content_addressable/sha256/2b78bfdd3ef13fd1f42f158de0f029d7cbb1f4f652d51773445cf2b6f7918a87/file (Permission denied)
(04:07:05) ERROR: <builtin>: fetching coursier_fetch rule //:_main~maven~version_interval_testing: Traceback (most recent call last):
	File "C:/b/bk-windows-c78f/bazel-org-repo-root/rules_jvm_external/coursier.bzl", line 911, column 28, in _coursier_fetch_impl
		repository_ctx.download(coursier_download_urls, "coursier", sha256 = COURSIER_CLI_SHA256, executable = True)
Error in download: java.io.IOException: C:/b/cache/repos/v1/content_addressable/sha256/2b78bfdd3ef13fd1f42f158de0f029d7cbb1f4f652d51773445cf2b6f7918a87/file (Permission denied)
(04:07:06) ERROR: C:/b/bk-windows-c78f/bazel-org-repo-root/rules_jvm_external/tests/integration/BUILD:49:9: in genquery rule //tests/integration:version_interval_deps: errors were encountered while computing transitive closure of the scope: no such package '@@_main~maven~version_interval_testing//': java.io.IOException: C:/b/cache/repos/v1/content_addressable/sha256/2b78bfdd3ef13fd1f42f158de0f029d7cbb1f4f652d51773445cf2b6f7918a87/file (Permission denied)
(04:07:06) ERROR: C:/b/bk-windows-c78f/bazel-org-repo-root/rules_jvm_external/tests/integration/BUILD:49:9: Analysis of target '//tests/integration:version_interval_deps' failed
(04:07:06) ERROR: Analysis of target '//tests/integration:version_interval_deps_test' failed; build aborted: Analysis failed
(04:07:06) INFO: Elapsed time: 8.361s, Critical Path: 0.09s
(04:07:06) INFO: 1 process: 1 internal.
(04:07:06) ERROR: Build did NOT complete successfully
(04:07:06) ERROR: No test targets were found, yet testing was requested
(04:07:06) FAILED:

from rules_jvm_external.

sgowroji avatar sgowroji commented on September 27, 2024

CC  @jin @shs96c Can you take a look on the above failures. Thanks!

from rules_jvm_external.

jin avatar jin commented on September 27, 2024

#1073 to fix the main_activity_test failure. The Windows failure looks like a flake, and the retry succeeded.

from rules_jvm_external.

jin avatar jin commented on September 27, 2024

This is still not fixed, the tests are now failing with:

exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //src/test:main_activity_test
-----------------------------------------------------------------------------
Error occurred during initialization of VM
java.lang.Error: Could not create SecurityManager
	at java.lang.System.initPhase3([email protected]/System.java:2065)
Caused by: java.lang.ClassNotFoundException: allow
	at jdk.internal.loader.BuiltinClassLoader.loadClass([email protected]/BuiltinClassLoader.java:581)
	at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass([email protected]/ClassLoaders.java:178)
	at java.lang.ClassLoader.loadClass([email protected]/ClassLoader.java:522)
	at java.lang.Class.forName0([email protected]/Native Method)
	at java.lang.Class.forName([email protected]/Class.java:398)
	at java.lang.System.initPhase3([email protected]/System.java:2050)

from rules_jvm_external.

shs96c avatar shs96c commented on September 27, 2024

This is the reason contrib_rules_jvm has this nasty hack.

The problem is that there's a period of time where the value of the security manager system property was only a class name, but then at some point a magic value of allow was added too.

from rules_jvm_external.

sgowroji avatar sgowroji commented on September 27, 2024

CI is passing now and shows Green. We can close this issue.

from rules_jvm_external.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.