Skip to content
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

Docker container does not build succesfully #5

Open
loganwilliams opened this issue Jan 25, 2024 · 0 comments
Open

Docker container does not build succesfully #5

loganwilliams opened this issue Jan 25, 2024 · 0 comments

Comments

@loganwilliams
Copy link

The Docker container does not build succesfully.

root@sentinel-hub-test:~/byoc-tool# docker build --tag byoctool .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  1.652MB
Step 1/11 : FROM osgeo/gdal:alpine-small-3.3.0 AS build
 ---> 0ee1cd30678a
Step 2/11 : RUN apk add --no-cache openjdk8
 ---> Using cache
 ---> dd8b654f2946
Step 3/11 : ADD . .
 ---> 044ac7557e41
Step 4/11 : RUN ./gradlew test
 ---> Running in f5e5970e6c07
Downloading https://services.gradle.org/distributions/gradle-6.0.1-bin.zip
..........................................................................................

Welcome to Gradle 6.0.1!

Here are the highlights of this release:
 - Substantial improvements in dependency management, including
   - Publishing Gradle Module Metadata in addition to pom.xml
   - Advanced control of transitive versions
   - Support for optional features and dependencies
   - Rules to tweak published metadata
 - Support for Java 13
 - Faster incremental Java and Groovy compilation
 - New Zinc compiler for Scala
 - VS2019 support
 - Support for Gradle Enterprise plugin 3.0

For more details see https://docs.gradle.org/6.0.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)
> Task :compileJava
> Task :processResources
> Task :classes
> Task :compileTestJava
> Task :processTestResources
> Task :testClasses

> Task :test

com.sinergise.sentinel.byoctool.ingestion.CogFactoryTest > createCogFromMultiBandFile(int, String)[1] FAILED
    java.lang.RuntimeException at CogFactoryTest.java:58
        Caused by: com.sinergise.sentinel.byoctool.ingestion.IngestionException at CogFactoryTest.java:58

com.sinergise.sentinel.byoctool.ingestion.CogFactoryTest > createCogFromMultiBandFile(int, String)[2] FAILED
    java.lang.RuntimeException at CogFactoryTest.java:58
        Caused by: com.sinergise.sentinel.byoctool.ingestion.IngestionException at CogFactoryTest.java:58

com.sinergise.sentinel.byoctool.ingestion.CogFactoryTest > createCogFromMultiBandFile(int, String)[3] FAILED
    java.lang.RuntimeException at CogFactoryTest.java:58
        Caused by: com.sinergise.sentinel.byoctool.ingestion.IngestionException at CogFactoryTest.java:58

com.sinergise.sentinel.byoctool.ingestion.CogFactoryTest > createCogFromMultiBandFile(int, String)[4] FAILED
    java.lang.RuntimeException at CogFactoryTest.java:58
        Caused by: com.sinergise.sentinel.byoctool.ingestion.IngestionException at CogFactoryTest.java:58

com.sinergise.sentinel.byoctool.ingestion.CogFactoryTest > createCogWithCustomResampling() FAILED
    java.lang.RuntimeException at CogFactoryTest.java:58
        Caused by: com.sinergise.sentinel.byoctool.ingestion.IngestionException at CogFactoryTest.java:58

45 tests completed, 5 failed, 2 skipped

> Task :test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///build/reports/tests/test/index.html

* 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.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 11s
5 actionable tasks: 5 executed
The command '/bin/sh -c ./gradlew test' returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant