Skip to content

Unable to build netcdfAll #1604

Description

@rschmunk

Versions impacted by the bug

5.11 snapshot

What went wrong?

I'm trying to build a netcdfAll 5.11 snapshot jar and it's failing with an error about dependencies and artifacts. I encountered no such problem a few days ago. Was something altered on a server?

The following error msgs are what emerged on my second attempto to build, but the first failed with the same msgs after performing earlier parts of the build.

Relevant stack trace

Relevant log messages

./gradlew buildNetcdfAll

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':uber-jars:buildNetcdfAll'.

Could not resolve all dependencies for configuration ':uber-jars:netcdfAll'.
Could not resolve edu.wisc.ssec:visad-mcidas-slim-ucar-ns:20231121.
Required by:
project ':uber-jars' > project ':cdm-mcidas'
project ':uber-jars' > project ':netcdf-java-platform'
> Could not resolve edu.wisc.ssec:visad-mcidas-slim-ucar-ns:20231121.
> Could not get resource 'https://artifacts.unidata.ucar.edu/repository/unidata-releases/edu/wisc/ssec/visad-mcidas-slim-ucar-ns/20231121/visad-mcidas-slim-ucar-ns-20231121.pom'.
> Could not GET 'https://artifacts.unidata.ucar.edu/repository/unidata-releases/edu/wisc/ssec/visad-mcidas-slim-ucar-ns/20231121/visad-mcidas-slim-ucar-ns-20231121.pom'.
> Got SSL handshake exception during request. It might be caused by SSL misconfiguration
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Could not resolve edu.ucar:jj2000:5.4.
Required by:
project ':uber-jars' > project ':grib'
project ':uber-jars' > project ':netcdf-java-platform'
> Could not resolve edu.ucar:jj2000:5.4.
> Could not get resource 'https://artifacts.unidata.ucar.edu/repository/unidata-releases/edu/ucar/jj2000/5.4/jj2000-5.4.pom'.
> Could not GET 'https://artifacts.unidata.ucar.edu/repository/unidata-releases/edu/ucar/jj2000/5.4/jj2000-5.4.pom'.
> Got SSL handshake exception during request. It might be caused by SSL misconfiguration
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights from a Build Scan (powered by Develocity).
Get more help at https://help.gradle.org.

BUILD FAILED in 897ms
12 actionable tasks: 12 up-to-date

If you have an example file that you can share, please attach it to this issue.

If so, may we include it in our test datasets to help ensure the bug does not return once fixed?
Note: the test datasets are publicly accessible without restriction.

Yes

Code of Conduct

  • I agree to follow the UCAR/Unidata Code of Conduct

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions