Comments (4)
@mpatel24 is the one who noticed this failure on their Mac
from cross-media-measurement.
This may be related for containerized builds: https://github.com/opentable/otj-pg-embedded#docker-in-docker-authentication-notes
from cross-media-measurement.
Updating otj-embedded-pg to 1.0.0 gives a more informative error message:
java.lang.IllegalStateException: Could not find a valid Docker environment. Please see logs and check configuration
at org.testcontainers.dockerclient.DockerClientProviderStrategy.lambda$getFirstValidStrategy$4(DockerClientProviderStrategy.java:156)
at java.base/java.util.Optional.orElseThrow(Optional.java:408)
at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:148)
at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:146)
at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:188)
at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.java:101)
at com.github.dockerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:107)
at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:316)
at com.opentable.db.postgres.embedded.EmbeddedPostgres.<init>(EmbeddedPostgres.java:110)
at com.opentable.db.postgres.embedded.EmbeddedPostgres$Builder.start(EmbeddedPostgres.java:363)
at com.opentable.db.postgres.junit.SingleInstancePostgresRule.pg(SingleInstancePostgresRule.java:46)
at com.opentable.db.postgres.junit.SingleInstancePostgresRule.before(SingleInstancePostgresRule.java:39)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:50)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116)
at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:159)
at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:85)
from cross-media-measurement.
I ended up figuring it out, between https://www.testcontainers.org/supported_docker_environment/continuous_integration/dind_patterns/ and opentable/otj-pg-embedded#166 (comment). Fix incoming.
from cross-media-measurement.
Related Issues (20)
- Postgres tests are flaky HOT 1
- Correctness test broken by Spanner Emulator 1.5.0
- Kingdom should not return `UNKNOWN` error code for request with wrong api key
- Kingdom internal server eventually deadlines on every RPC, runs out of memory HOT 7
- Error when calling CMMS public API using Duchy credentials HOT 3
- Duchies can enter a state where they add an unbounded number of log entries HOT 2
- Single-EDP R/F Measurements can result in invalid Duchy computation states
- Stop requiring AKID for self-signed CA certificates
- SIGBUS from JRE when building //src/main/kotlin/org/wfanet/measurement/kingdom/deploy/tools:CreateResource HOT 4
- tech-debt : Replace service account authentication with workload identity. HOT 2
- Update Duchy ComputationsService deleteComputation method to throw NOT_FOUND when ID does not exit
- BatchGetEventGroupMetadataDescriptors fails with UNKNOWN when parent ID is wildcard
- Kingdom deployment guide missing duchy_id_config.textproto in secret HOT 1
- Kingdom deployment is unsucessful without the spanner wipe HOT 1
- Builds sometimes fail with a SIGBUS error from the JRE
- Direct requisition fulfilment uses unary method rather than stream HOT 1
- Using tink key pairs error - no enabled keys found HOT 8
- Correctness tests fails when there are no events
- "Invalid internal NoiseMechanism" in from StreamActiveComputations
- R/F Measurement result sometimes has incorrect reach value of 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cross-media-measurement.