GithubHelp home page GithubHelp logo

Comments (2)

tomatolog avatar tomatolog commented on August 29, 2024

I use coker container to run your example like

docker run --rm -it bash  gradle:jdk22

then issue ./gradlew test --info after repo checkout but it end up with the error

KtSearchManticoreExample > initializationError �[31mFAILED�[39m
    java.lang.IllegalStateException: Could not find a valid Docker environment. Please see logs and check configuration
        at org.testcontainers.dockerclient.DockerClientProviderStrategy.lambda$getFirstValidStrategy$7(DockerClientProviderStrategy.java:277)
        at java.base/java.util.Optional.orElseThrow(Optional.java:403)
        at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:268)
        at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:152)
        at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:194)
        at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.java:106)
        at com.github.dockerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:109)
        at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:329)
        at KtSearchManticoreExample$Companion$setup$1.invokeSuspend(KtSearchManticoreExample.kt:27)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
        at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
        at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
        at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
        at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
        at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
        at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
        at KtSearchManticoreExample$Companion.setup(KtSearchManticoreExample.kt:23)
        at KtSearchManticoreExample.setup(KtSearchManticoreExample.kt)

1 test completed, 1 failed
Finished generating test XML results (0.014 secs) into: /home/gradle/manticore-kt-search-integration/build/test-results/test
Generating HTML test report...
Finished generating test html results (0.015 secs) into: /home/gradle/manticore-kt-search-integration/build/reports/tests/test

[31mFAILURE: �[39m�[31mBuild failed with an exception.�[39m

* What went wrong:
Execution failed for task ':test'.
[33m> �[39mThere were failing tests. See the report at: file:///home/gradle/manticore-kt-search-integration/build/reports/tests/test/index.html

* Try:
[33m> �[39mRun with �[1m--scan�[m to get full insights.

[31;1mBUILD FAILED�[0;39m in 53s
2 actionable tasks: 2 executed
Some of the file system contents retained in the virtual file system are on file systems that Gradle doesn't support watching. The relevant state was discarded to ensure changes to these locations are properly detected. You can override this by explicitly enabling file system watching.

here is the full log file 2438.log

It could be better to provide fully conterized example or Docker file that could run locally and shows the issue as we do not have expertise in gradlew or Java setup.

from manticoresearch.

sanikolaev avatar sanikolaev commented on August 29, 2024

What is "KT-Elastic"? I can find only this issue if I look for it in Google.

image

Please provide a link to it, so we understand more about what you are trying to integrate Manticore with.

from manticoresearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.