Fixed
Status Update
Comments
lu...@google.com <lu...@google.com> #2
Taking a look, I don't think the issue is a duplicate of
lu...@google.com <lu...@google.com>
fe...@google.com <fe...@google.com> #3
Can you attach the fix CL (or PR) to the buganizer issue?
On Tue, 6 Jun 2023, 10:57 lukeedgar, <buganizer-system+lukeedgar@google.com>
wrote:
On Tue, 6 Jun 2023, 10:57 lukeedgar, <buganizer-system+lukeedgar@google.com>
wrote:
ch...@stripe.com <ch...@stripe.com> #5
This issue does not seem fixed since it looks like a different error code is still reproducible on Android Gradle Plugin 8.2.1 (and updating Gradle to version 8.2 in the sample project as well).
cd curl-ssl/
export JAVA_TOOL_OPTIONS="-Xlog:os+container=error"
./gradlew assemble
Picked up JAVA_TOOL_OPTIONS: -Xlog:os+container=error
[0.001s][warning][logging] No tag set matches selection: os+container. Did you mean any of the following? os* os+thread* os+cpu os+thread+timer
> Task :app:configureCMakeDebug[arm64-v8a] FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:configureCMakeDebug[arm64-v8a]'.
> [CXX1210] /Users/chr/Documents/ndk-samples/prefab/curl-ssl/app/src/main/cpp/CMakeLists.txt debug|arm64-v8a : No compatible library found
The actual value of JAVA_TOOL_OPTIONS
still doesn't matter as I can reproduce the same "No compatible library found" message regardless of the environment variable's value.
EDIT: Filed as
Description
When running tests we export
JAVA_TOOL_OPTIONS
environment variable to'-Djavax.net.ssl.trustStore=/var/cache/proxy.crt.jks' -Xlog:os+container=error
(the exact value doesn't matter).When this env set, java print
Picked up JAVA_TOOL_OPTIONS: '
to the stderr at startup, this variable is also propagated to all child processes. (by design ofexport
shell command)Seems like the root case is that we:
com.google.prefab.cli.AppKt
java appJAVA_TOOL_OPTIONS
variable is propagated to the child java processPicked up JAVA_TOOL_OPTIONS ...
Steps to reproduce:
We could use the sample curl-ssl app
Expectation:
Reality:
here is the full stack trace with level=info:https://cnsviewer-static.corp.google.com/placer/prod/home/kokoro-dedicated/build_artifacts/prod/gmscore_libsculptor_app_build/prod/gcp_ubuntu/gradle/1743599/20230418-072720/gradle-log.txt
The issues is reproduced both for 7.3.1 and 8.0.0 Android Gradle Plugin versions.