-
-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing logic for EnvDetector failed to grab CURL information #456
Comments
After digging more on the issue, found
The same command outside of Java environment successfully prints out curl version. |
@AdamBrousseau Do you have any idea? |
In the build that I was trying to test and ended up producing this error, I am bundling OpenSSL 3.0.9. This means that there is a file But existing curl needs |
I believe what is happening, the Test framework is setting JAVA_HOME to the Java under test and when ant executes, it runs using this java instead of the system default java. This is coming from my memory of a past issue that had an environment issue which we tracked back to JAVA_HOME changing which java ant picked up. Ideally we would run ant with system default java. As a potential solution, we are going to try and install a newer version of curl on one of the (aix) machines where we are seeing this issue. The newer version will be able to run with openssl 3. We are tracking that in an internal issue but will update here with the results. |
Thanks @KostasTsiounis for pointing out the root cause. I have made a change to use parent shell environment in the processbuilder, this could fix this issue and avoid any error similar to this. |
For example: version prints out: “curl 7.71.1 (powerpc-ibm-aix6.1.9.0) libcurl/7.71.1 OpenSSL/1.0.2u zlib/1.2.11 libssh2/1.8.2 nghttp2/1.41.0” The parser reads 1.0.2 instead of 7.71.1
The text was updated successfully, but these errors were encountered: