Comments (6)
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.
CC @jin @shs96c Can you take a look on the above failures. Thanks!
from rules_jvm_external.
#1073 to fix the main_activity_test
failure. The Windows failure looks like a flake, and the retry succeeded.
from rules_jvm_external.
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.
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.
CI is passing now and shows Green. We can close this issue.
from rules_jvm_external.
Related Issues (20)
- [Bazel CI] Bazel fails with `name 'android_ndk_repository' is not defined` HOT 2
- Single Maven Dependency Resolution (Exclude All Deps) HOT 1
- bzlmod: Not found error when using version from BOM HOT 2
- Feature Request - Allow file input for `manifest_entries` on `java_export`
- buildozer message incorrect with --incompatible_use_plus_in_repo_names
- "Accessing transitive dependencies list" not compatible with `strict_visibility`
- Feature Request: constraints support
- bzlmod: Not possible to add a dependency for test only and fetch the source code
- Maven resolver ignores BOM ordering for non-root modules
- FR: Expose maven_publish rule
- Release rules_jvm_external 6.3 HOT 6
- java_export got javadoc: error - Cannot find doclet class com.sun.tools.doclets.standard.Standard when build with java8 HOT 1
- `java_export` mistakenly including `neverlink` dependency in the `-srcs` jar and breaking docs generation HOT 1
- rules_jvm_external 6.3 breaks on some weird PackageInfo thing HOT 5
- bug: java_export doesn't set default javadocopts
- java.lang.ClassNotFoundException: edu.umd.cs.findbugs.LaunchAppropriateUI from spotbugs with rules_jvm_external release 6.3
- Credentials in additional_netrc_lines are not used for repin
- Transfer rules_jvm_external to bazel-contrib HOT 5
- Attempting to resolve `com.github.spotbugs:spotbugs:4.7.0` with the `coursier` resolver does not result in binaries being available HOT 3
- update to `rules_jvm_external` to 6.4 breaks build with `Failed to load Starlark extension '@@bazel_features//:features.bzl'` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules_jvm_external.