Skip to content

Throw the new DockerUnavailableException when Docker is not available #3213

Throw the new DockerUnavailableException when Docker is not available

Throw the new DockerUnavailableException when Docker is not available #3213

GitHub Actions / Test Report failed Feb 24, 2025 in 0s

57 passed, 29 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
Testcontainers.ActiveMq.Tests.trx 3❌ 3s
Testcontainers.Databases.Tests.trx 48✅ 6s
Testcontainers.Platform.Linux.Tests.trx 9✅ 26❌ 4s

❌ Testcontainers.ActiveMq.Tests.trx

3 tests were completed in 3s with 0 passed, 3 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Testcontainers.ActiveMq.ArtemisContainerTest+CustomCredentialsConfiguration 1❌ 1ms
Testcontainers.ActiveMq.ArtemisContainerTest+DefaultCredentialsConfiguration 1❌ 1ms
Testcontainers.ActiveMq.ArtemisContainerTest+NoAuthCredentialsConfiguration 1❌ 1ms

❌ Testcontainers.ActiveMq.ArtemisContainerTest+CustomCredentialsConfiguration

❌ EstablishesConnection
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

❌ Testcontainers.ActiveMq.ArtemisContainerTest+DefaultCredentialsConfiguration

❌ EstablishesConnection
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

❌ Testcontainers.ActiveMq.ArtemisContainerTest+NoAuthCredentialsConfiguration

❌ EstablishesConnection
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

✅ Testcontainers.Databases.Tests.trx

48 tests were completed in 6s with 48 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Testcontainers.Databases.DatabaseContainersTest 48✅ 4ms

✅ Testcontainers.Databases.DatabaseContainersTest

✅ ShouldImplementIDatabaseContainer(type: typeof(Testcontainers.Cassandra.CassandraContainer))
✅ ShouldImplementIDatabaseContainer(type: typeof(Testcontainers.ClickHouse.ClickHouseContainer))
✅ ShouldImplementIDatabaseContainer(type: typeof(Testcontainers.CockroachDb.CockroachDbContainer))
✅ ShouldImplementIDatabaseContainer(type: typeof(Testcontainers.Db2.Db2Container))
✅ ShouldImplementIDatabaseContainer(type: typeof(Testcontainers.FirebirdSql.FirebirdSqlContainer))
✅ ShouldImplementIDatabaseContainer(type: typeof(Testcontainers.MariaDb.MariaDbContainer))
✅ ShouldImplementIDatabaseContainer(type: typeof(Testcontainers.MsSql.MsSqlContainer))
✅ ShouldImplementIDatabaseContainer(type: typeof(Testcontainers.MySql.MySqlContainer))
✅ ShouldImplementIDatabaseContainer(type: typeof(Testcontainers.Oracle.OracleContainer))
✅ ShouldImplementIDatabaseContainer(type: typeof(Testcontainers.PostgreSql.PostgreSqlContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.ActiveMq.ArtemisContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.ArangoDb.ArangoDbContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Azurite.AzuriteContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.BigQuery.BigQueryContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Bigtable.BigtableContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Consul.ConsulContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.CosmosDb.CosmosDbContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Couchbase.CouchbaseContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.CouchDb.CouchDbContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.DynamoDb.DynamoDbContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Elasticsearch.ElasticsearchContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.EventHubs.EventHubsContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.EventStoreDb.EventStoreDbContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.FakeGcsServer.FakeGcsServerContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Firestore.FirestoreContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.InfluxDb.InfluxDbContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.JanusGraph.JanusGraphContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.K3s.K3sContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Kafka.KafkaContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Keycloak.KeycloakContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Kusto.KustoContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.LocalStack.LocalStackContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Milvus.MilvusContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Minio.MinioContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.MongoDb.MongoDbContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Nats.NatsContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Neo4j.Neo4jContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Papercut.PapercutContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.PubSub.PubSubContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Pulsar.PulsarContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.RabbitMq.RabbitMqContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.RavenDb.RavenDbContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Redis.RedisContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Redpanda.RedpandaContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.ServiceBus.ServiceBusContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Sftp.SftpContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.Weaviate.WeaviateContainer))
✅ ShouldNotImplementIDatabaseContainer(type: typeof(Testcontainers.WebDriver.WebDriverContainer))

❌ Testcontainers.Platform.Linux.Tests.trx

35 tests were completed in 4s with 9 passed, 26 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Testcontainers.Tests.AcceptLicenseAgreementTest 1✅ 2ms
Testcontainers.Tests.DependsOnTest 1❌ 1ms
Testcontainers.Tests.LoggerTest+SharedCollectionTest1 3❌ 3ms
Testcontainers.Tests.LoggerTest+SharedCollectionTest2 3❌ 3ms
Testcontainers.Tests.LoggerTest+SharedInstanceTest 3❌ 3ms
Testcontainers.Tests.LoggerTest+SingleInstanceTest 3❌ 3ms
Testcontainers.Tests.PauseUnpauseTest 2❌ 2ms
Testcontainers.Tests.PortForwardingTest+PortForwardingDefaultConfiguration 1❌ 1ms
Testcontainers.Tests.PortForwardingTest+PortForwardingNetworkConfiguration 1❌ 1ms
Testcontainers.Tests.ReusableResourceTest 1❌ 1ms
Testcontainers.Tests.ReusableResourceTest+ReuseHashTest+NotEqualTest 1✅ 47ms
Testcontainers.Tests.ReusableResourceTest+UnsupportedBuilderConfigurationTest+ContainerBuilderTest 2❌ 2ms
Testcontainers.Tests.ReusableResourceTest+UnsupportedBuilderConfigurationTest+NetworkBuilderTest 1❌ 1s
Testcontainers.Tests.ReusableResourceTest+UnsupportedBuilderConfigurationTest+VolumeBuilderTest 1❌ 2s
Testcontainers.Tests.TarOutputMemoryStreamTest+FromDirectory 1✅ 21ms
Testcontainers.Tests.TarOutputMemoryStreamTest+FromFile 1✅ 25ms
Testcontainers.Tests.TarOutputMemoryStreamTest+FromResourceMapping 2❌ 2ms
Testcontainers.Tests.TarOutputMemoryStreamTest+UnixFileModeTest 5✅ 12ms
Testcontainers.Tests.WaitStrategyTest 2❌ 2s

✅ Testcontainers.Tests.AcceptLicenseAgreementTest

✅ WithLicenseAgreementAcceptedThrowsArgumentException

❌ Testcontainers.Tests.DependsOnTest

❌ DependsOnCreatesDependentResources
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

❌ Testcontainers.Tests.LoggerTest+SharedCollectionTest1

❌ LogContainerRuntimeInformationOnce(_: 0)
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/
❌ LogContainerRuntimeInformationOnce(_: 1)
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/
❌ LogContainerRuntimeInformationOnce(_: 2)
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

❌ Testcontainers.Tests.LoggerTest+SharedCollectionTest2

❌ LogContainerRuntimeInformationOnce(_: 0)
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/
❌ LogContainerRuntimeInformationOnce(_: 1)
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/
❌ LogContainerRuntimeInformationOnce(_: 2)
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

❌ Testcontainers.Tests.LoggerTest+SharedInstanceTest

❌ LogContainerRuntimeInformationOnce(_: 0)
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/
❌ LogContainerRuntimeInformationOnce(_: 1)
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/
❌ LogContainerRuntimeInformationOnce(_: 2)
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

❌ Testcontainers.Tests.LoggerTest+SingleInstanceTest

❌ LogContainerRuntimeInformationOnce(_: 0)
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/
❌ LogContainerRuntimeInformationOnce(_: 1)
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/
❌ LogContainerRuntimeInformationOnce(_: 2)
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

❌ Testcontainers.Tests.PauseUnpauseTest

❌ PausesAndUnpausesContainerSuccessfully
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/
❌ UnpausingRunningContainerThrowsDockerApiException
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

❌ Testcontainers.Tests.PortForwardingTest+PortForwardingDefaultConfiguration

❌ EstablishesHostConnection
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

❌ Testcontainers.Tests.PortForwardingTest+PortForwardingNetworkConfiguration

❌ EstablishesHostConnection
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

❌ Testcontainers.Tests.ReusableResourceTest

❌ ShouldReuseExistingResource
	DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

✅ Testcontainers.Tests.ReusableResourceTest+ReuseHashTest+NotEqualTest

✅ ForDifferentNames

❌ Testcontainers.Tests.ReusableResourceTest+UnsupportedBuilderConfigurationTest+ContainerBuilderTest

❌ EnabledAutoRemoveThrowsException
	Assert.Throws() Failure: Exception type was not an exact match
	Expected: typeof(System.ArgumentException)
	Actual:   typeof(DotNet.Testcontainers.DockerUnavailableException)
	---- DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/
❌ EnabledCleanUpThrowsException
	Assert.Throws() Failure: Exception type was not an exact match
	Expected: typeof(System.ArgumentException)
	Actual:   typeof(DotNet.Testcontainers.DockerUnavailableException)
	---- DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

❌ Testcontainers.Tests.ReusableResourceTest+UnsupportedBuilderConfigurationTest+NetworkBuilderTest

❌ EnabledCleanUpThrowsException
	Assert.Throws() Failure: Exception type was not an exact match
	Expected: typeof(System.ArgumentException)
	Actual:   typeof(DotNet.Testcontainers.DockerUnavailableException)
	---- DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

❌ Testcontainers.Tests.ReusableResourceTest+UnsupportedBuilderConfigurationTest+VolumeBuilderTest

❌ EnabledCleanUpThrowsException
	Assert.Throws() Failure: Exception type was not an exact match
	Expected: typeof(System.ArgumentException)
	Actual:   typeof(DotNet.Testcontainers.DockerUnavailableException)
	---- DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

✅ Testcontainers.Tests.TarOutputMemoryStreamTest+FromDirectory

✅ TestFileExistsInTarFile

✅ Testcontainers.Tests.TarOutputMemoryStreamTest+FromFile

✅ TestFileExistsInTarFile

❌ Testcontainers.Tests.TarOutputMemoryStreamTest+FromResourceMapping

❌ TestFileExistsInContainer
	Class fixture type 'Testcontainers.Tests.TarOutputMemoryStreamTest+FromResourceMapping+HttpFixture' threw in its constructor
	---- DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/
❌ TestFileExistsInTarFile
	Class fixture type 'Testcontainers.Tests.TarOutputMemoryStreamTest+FromResourceMapping+HttpFixture' threw in its constructor
	---- DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

✅ Testcontainers.Tests.TarOutputMemoryStreamTest+UnixFileModeTest

✅ UnixFileModeResolvesToPosixFilePermission(fileMode: OtherExecute | OtherRead | GroupExecute | GroupRead | UserExecute | UserWrite | UserRead, posixFilePermission: "755")
✅ UnixFileModeResolvesToPosixFilePermission(fileMode: OtherExecute | OtherWrite | OtherRead | GroupExecute | GroupWrite | GroupRead | UserExecute | UserWrite | UserRead, posixFilePermission: "777")
✅ UnixFileModeResolvesToPosixFilePermission(fileMode: OtherRead | GroupRead | UserWrite | UserRead, posixFilePermission: "644")
✅ UnixFileModeResolvesToPosixFilePermission(fileMode: OtherWrite | OtherRead | GroupWrite | GroupRead | UserWrite | UserRead, posixFilePermission: "666")
✅ UnixFileModeResolvesToPosixFilePermission(fileMode: UserExecute | UserWrite | UserRead, posixFilePermission: "700")

❌ Testcontainers.Tests.WaitStrategyTest

❌ WithRetries
	Assert.Throws() Failure: Exception type was not an exact match
	Expected: typeof(DotNet.Testcontainers.Configurations.RetryLimitExceededException)
	Actual:   typeof(DotNet.Testcontainers.DockerUnavailableException)
	---- DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/
❌ WithTimeout
	Assert.Throws() Failure: Exception type was not an exact match
	Expected: typeof(System.TimeoutException)
	Actual:   typeof(DotNet.Testcontainers.DockerUnavailableException)
	---- DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
	You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
	https://dotnet.testcontainers.org/custom_configuration/

Annotations

Check failure on line 88 in tests/Testcontainers.ActiveMq.Tests/ArtemisContainerTest.cs

See this annotation in the file changed.

@github-actions github-actions / Test Report

Testcontainers.ActiveMq.ArtemisContainerTest+CustomCredentialsConfiguration ► EstablishesConnection

Failed test found in:
  Testcontainers.ActiveMq.Tests.trx
Error:
  DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
  You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
  https://dotnet.testcontainers.org/custom_configuration/
Raw output
DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
https://dotnet.testcontainers.org/custom_configuration/
   at DotNet.Testcontainers.Builders.AbstractBuilder`4.Validate() in /_/src/Testcontainers/Builders/AbstractBuilder`4.cs:line 150
   at DotNet.Testcontainers.Builders.ContainerBuilder`3.Validate() in /_/src/Testcontainers/Builders/ContainerBuilder`3.cs:line 405
   at Testcontainers.ActiveMq.ArtemisBuilder.Validate() in /_/src/Testcontainers.ActiveMq/ArtemisBuilder.cs:line 83
   at Testcontainers.ActiveMq.ArtemisBuilder.Build() in /_/src/Testcontainers.ActiveMq/ArtemisBuilder.cs:line 64
   at Testcontainers.ActiveMq.ArtemisContainerTest.CustomCredentialsConfiguration..ctor() in /home/runner/work/testcontainers-dotnet/testcontainers-dotnet/tests/Testcontainers.ActiveMq.Tests/ArtemisContainerTest.cs:line 88
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)

Check failure on line 75 in tests/Testcontainers.ActiveMq.Tests/ArtemisContainerTest.cs

See this annotation in the file changed.

@github-actions github-actions / Test Report

Testcontainers.ActiveMq.ArtemisContainerTest+DefaultCredentialsConfiguration ► EstablishesConnection

Failed test found in:
  Testcontainers.ActiveMq.Tests.trx
Error:
  DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
  You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
  https://dotnet.testcontainers.org/custom_configuration/
Raw output
DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
https://dotnet.testcontainers.org/custom_configuration/
   at DotNet.Testcontainers.Builders.AbstractBuilder`4.Validate() in /_/src/Testcontainers/Builders/AbstractBuilder`4.cs:line 150
   at DotNet.Testcontainers.Builders.ContainerBuilder`3.Validate() in /_/src/Testcontainers/Builders/ContainerBuilder`3.cs:line 405
   at Testcontainers.ActiveMq.ArtemisBuilder.Validate() in /_/src/Testcontainers.ActiveMq/ArtemisBuilder.cs:line 83
   at Testcontainers.ActiveMq.ArtemisBuilder.Build() in /_/src/Testcontainers.ActiveMq/ArtemisBuilder.cs:line 64
   at Testcontainers.ActiveMq.ArtemisContainerTest.DefaultCredentialsConfiguration..ctor() in /home/runner/work/testcontainers-dotnet/testcontainers-dotnet/tests/Testcontainers.ActiveMq.Tests/ArtemisContainerTest.cs:line 75
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)

Check failure on line 97 in tests/Testcontainers.ActiveMq.Tests/ArtemisContainerTest.cs

See this annotation in the file changed.

@github-actions github-actions / Test Report

Testcontainers.ActiveMq.ArtemisContainerTest+NoAuthCredentialsConfiguration ► EstablishesConnection

Failed test found in:
  Testcontainers.ActiveMq.Tests.trx
Error:
  DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
  You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
  https://dotnet.testcontainers.org/custom_configuration/
Raw output
DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
https://dotnet.testcontainers.org/custom_configuration/
   at DotNet.Testcontainers.Builders.AbstractBuilder`4.Validate() in /_/src/Testcontainers/Builders/AbstractBuilder`4.cs:line 150
   at DotNet.Testcontainers.Builders.ContainerBuilder`3.Validate() in /_/src/Testcontainers/Builders/ContainerBuilder`3.cs:line 405
   at Testcontainers.ActiveMq.ArtemisBuilder.Validate() in /_/src/Testcontainers.ActiveMq/ArtemisBuilder.cs:line 83
   at Testcontainers.ActiveMq.ArtemisBuilder.Build() in /_/src/Testcontainers.ActiveMq/ArtemisBuilder.cs:line 64
   at Testcontainers.ActiveMq.ArtemisContainerTest.NoAuthCredentialsConfiguration..ctor() in /home/runner/work/testcontainers-dotnet/testcontainers-dotnet/tests/Testcontainers.ActiveMq.Tests/ArtemisContainerTest.cs:line 97
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)

Check failure on line 20 in tests/Testcontainers.Platform.Linux.Tests/DependsOnTest.cs

See this annotation in the file changed.

@github-actions github-actions / Test Report

Testcontainers.Tests.DependsOnTest ► DependsOnCreatesDependentResources

Failed test found in:
  Testcontainers.Platform.Linux.Tests.trx
Error:
  DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
  You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
  https://dotnet.testcontainers.org/custom_configuration/
Raw output
DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
https://dotnet.testcontainers.org/custom_configuration/
   at DotNet.Testcontainers.Builders.AbstractBuilder`4.Validate() in /_/src/Testcontainers/Builders/AbstractBuilder`4.cs:line 150
   at DotNet.Testcontainers.Builders.ContainerBuilder`3.Validate() in /_/src/Testcontainers/Builders/ContainerBuilder`3.cs:line 405
   at DotNet.Testcontainers.Builders.ContainerBuilder.Build() in /_/src/Testcontainers/Builders/ContainerBuilder.cs:line 56
   at Testcontainers.Tests.DependsOnTest.InitializeAsync() in /home/runner/work/testcontainers-dotnet/testcontainers-dotnet/tests/Testcontainers.Platform.Linux.Tests/DependsOnTest.cs:line 20

Check failure on line 14 in tests/Testcontainers.Platform.Linux.Tests/LoggerTest.cs

See this annotation in the file changed.

@github-actions github-actions / Test Report

Testcontainers.Tests.LoggerTest+SharedCollectionTest1 ► LogContainerRuntimeInformationOnce(_: 0)

Failed test found in:
  Testcontainers.Platform.Linux.Tests.trx
  Testcontainers.Platform.Linux.Tests.trx
  Testcontainers.Platform.Linux.Tests.trx
  Testcontainers.Platform.Linux.Tests.trx
  Testcontainers.Platform.Linux.Tests.trx
  Testcontainers.Platform.Linux.Tests.trx
  Testcontainers.Platform.Linux.Tests.trx
  Testcontainers.Platform.Linux.Tests.trx
  Testcontainers.Platform.Linux.Tests.trx
  Testcontainers.Platform.Linux.Tests.trx
  Testcontainers.Platform.Linux.Tests.trx
  Testcontainers.Platform.Linux.Tests.trx
Error:
  DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
  You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
  https://dotnet.testcontainers.org/custom_configuration/
Raw output
DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
https://dotnet.testcontainers.org/custom_configuration/
   at DotNet.Testcontainers.Builders.AbstractBuilder`4.Validate() in /_/src/Testcontainers/Builders/AbstractBuilder`4.cs:line 150
   at DotNet.Testcontainers.Builders.ContainerBuilder`3.Validate() in /_/src/Testcontainers/Builders/ContainerBuilder`3.cs:line 405
   at DotNet.Testcontainers.Builders.ContainerBuilder.Build() in /_/src/Testcontainers/Builders/ContainerBuilder.cs:line 56
   at Testcontainers.Tests.LoggerTest.InitializeAsync() in /home/runner/work/testcontainers-dotnet/testcontainers-dotnet/tests/Testcontainers.Platform.Linux.Tests/LoggerTest.cs:line 14

Check failure on line 5 in tests/Testcontainers.Platform.Linux.Tests/PauseUnpauseTest.cs

See this annotation in the file changed.

@github-actions github-actions / Test Report

Testcontainers.Tests.PauseUnpauseTest ► PausesAndUnpausesContainerSuccessfully

Failed test found in:
  Testcontainers.Platform.Linux.Tests.trx
  Testcontainers.Platform.Linux.Tests.trx
Error:
  DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
  You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
  https://dotnet.testcontainers.org/custom_configuration/
Raw output
DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
https://dotnet.testcontainers.org/custom_configuration/
   at DotNet.Testcontainers.Builders.AbstractBuilder`4.Validate() in /_/src/Testcontainers/Builders/AbstractBuilder`4.cs:line 150
   at DotNet.Testcontainers.Builders.ContainerBuilder`3.Validate() in /_/src/Testcontainers/Builders/ContainerBuilder`3.cs:line 405
   at DotNet.Testcontainers.Builders.ContainerBuilder.Build() in /_/src/Testcontainers/Builders/ContainerBuilder.cs:line 56
   at Testcontainers.Tests.PauseUnpauseTest..ctor() in /home/runner/work/testcontainers-dotnet/testcontainers-dotnet/tests/Testcontainers.Platform.Linux.Tests/PauseUnpauseTest.cs:line 5
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)

Check failure on line 40 in tests/Testcontainers.Platform.Linux.Tests/PortForwardingTest.cs

See this annotation in the file changed.

@github-actions github-actions / Test Report

Testcontainers.Tests.PortForwardingTest+PortForwardingDefaultConfiguration ► EstablishesHostConnection

Failed test found in:
  Testcontainers.Platform.Linux.Tests.trx
Error:
  DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
  You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
  https://dotnet.testcontainers.org/custom_configuration/
Raw output
DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
https://dotnet.testcontainers.org/custom_configuration/
   at DotNet.Testcontainers.Builders.AbstractBuilder`4.Validate() in /_/src/Testcontainers/Builders/AbstractBuilder`4.cs:line 150
   at DotNet.Testcontainers.Builders.ContainerBuilder`3.Validate() in /_/src/Testcontainers/Builders/ContainerBuilder`3.cs:line 405
   at DotNet.Testcontainers.Builders.ContainerBuilder.Build() in /_/src/Testcontainers/Builders/ContainerBuilder.cs:line 56
   at Testcontainers.Tests.PortForwardingTest.PortForwardingDefaultConfiguration..ctor(HostedService fixture) in /home/runner/work/testcontainers-dotnet/testcontainers-dotnet/tests/Testcontainers.Platform.Linux.Tests/PortForwardingTest.cs:line 40
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 55 in tests/Testcontainers.Platform.Linux.Tests/PortForwardingTest.cs

See this annotation in the file changed.

@github-actions github-actions / Test Report

Testcontainers.Tests.PortForwardingTest+PortForwardingNetworkConfiguration ► EstablishesHostConnection

Failed test found in:
  Testcontainers.Platform.Linux.Tests.trx
Error:
  DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
  You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
  https://dotnet.testcontainers.org/custom_configuration/
Raw output
DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
https://dotnet.testcontainers.org/custom_configuration/
   at DotNet.Testcontainers.Builders.AbstractBuilder`4.Validate() in /_/src/Testcontainers/Builders/AbstractBuilder`4.cs:line 150
   at DotNet.Testcontainers.Builders.NetworkBuilder.Validate() in /_/src/Testcontainers/Builders/NetworkBuilder.cs:line 84
   at DotNet.Testcontainers.Builders.NetworkBuilder.Build() in /_/src/Testcontainers/Builders/NetworkBuilder.cs:line 71
   at Testcontainers.Tests.PortForwardingTest.PortForwardingNetworkConfiguration..ctor(HostedService fixture) in /home/runner/work/testcontainers-dotnet/testcontainers-dotnet/tests/Testcontainers.Platform.Linux.Tests/PortForwardingTest.cs:line 55
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 31 in tests/Testcontainers.Platform.Linux.Tests/ReusableResourceTest.cs

See this annotation in the file changed.

@github-actions github-actions / Test Report

Testcontainers.Tests.ReusableResourceTest ► ShouldReuseExistingResource

Failed test found in:
  Testcontainers.Platform.Linux.Tests.trx
Error:
  DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
  You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
  https://dotnet.testcontainers.org/custom_configuration/
Raw output
DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
https://dotnet.testcontainers.org/custom_configuration/
   at DotNet.Testcontainers.Builders.AbstractBuilder`4.Validate() in /_/src/Testcontainers/Builders/AbstractBuilder`4.cs:line 150
   at DotNet.Testcontainers.Builders.ContainerBuilder`3.Validate() in /_/src/Testcontainers/Builders/ContainerBuilder`3.cs:line 405
   at DotNet.Testcontainers.Builders.ContainerBuilder.Build() in /_/src/Testcontainers/Builders/ContainerBuilder.cs:line 56
   at Testcontainers.Tests.ReusableResourceTest.InitializeAsync() in /home/runner/work/testcontainers-dotnet/testcontainers-dotnet/tests/Testcontainers.Platform.Linux.Tests/ReusableResourceTest.cs:line 31

Check failure on line 142 in tests/Testcontainers.Platform.Linux.Tests/ReusableResourceTest.cs

See this annotation in the file changed.

@github-actions github-actions / Test Report

Testcontainers.Tests.ReusableResourceTest+UnsupportedBuilderConfigurationTest+ContainerBuilderTest ► EnabledAutoRemoveThrowsException

Failed test found in:
  Testcontainers.Platform.Linux.Tests.trx
Error:
  Assert.Throws() Failure: Exception type was not an exact match
  Expected: typeof(System.ArgumentException)
  Actual:   typeof(DotNet.Testcontainers.DockerUnavailableException)
  ---- DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
  You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
  https://dotnet.testcontainers.org/custom_configuration/
Raw output
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(System.ArgumentException)
Actual:   typeof(DotNet.Testcontainers.DockerUnavailableException)
---- DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
https://dotnet.testcontainers.org/custom_configuration/
   at Testcontainers.Tests.ReusableResourceTest.UnsupportedBuilderConfigurationTest.ContainerBuilderTest.EnabledAutoRemoveThrowsException() in /home/runner/work/testcontainers-dotnet/testcontainers-dotnet/tests/Testcontainers.Platform.Linux.Tests/ReusableResourceTest.cs:line 142
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
----- Inner Stack Trace -----
   at DotNet.Testcontainers.Builders.AbstractBuilder`4.Validate() in /_/src/Testcontainers/Builders/AbstractBuilder`4.cs:line 150
   at DotNet.Testcontainers.Builders.ContainerBuilder`3.Validate() in /_/src/Testcontainers/Builders/ContainerBuilder`3.cs:line 405
   at DotNet.Testcontainers.Builders.ContainerBuilder.Build() in /_/src/Testcontainers/Builders/ContainerBuilder.cs:line 56
   at Testcontainers.Tests.ReusableResourceTest.UnsupportedBuilderConfigurationTest.ContainerBuilderTest.<>c__DisplayClass1_0.<EnabledAutoRemoveThrowsException>b__0() in /home/runner/work/testcontainers-dotnet/testcontainers-dotnet/tests/Testcontainers.Platform.Linux.Tests/ReusableResourceTest.cs:line 142

Check failure on line 129 in tests/Testcontainers.Platform.Linux.Tests/ReusableResourceTest.cs

See this annotation in the file changed.

@github-actions github-actions / Test Report

Testcontainers.Tests.ReusableResourceTest+UnsupportedBuilderConfigurationTest+ContainerBuilderTest ► EnabledCleanUpThrowsException

Failed test found in:
  Testcontainers.Platform.Linux.Tests.trx
Error:
  Assert.Throws() Failure: Exception type was not an exact match
  Expected: typeof(System.ArgumentException)
  Actual:   typeof(DotNet.Testcontainers.DockerUnavailableException)
  ---- DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
  You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
  https://dotnet.testcontainers.org/custom_configuration/
Raw output
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(System.ArgumentException)
Actual:   typeof(DotNet.Testcontainers.DockerUnavailableException)
---- DotNet.Testcontainers.DockerUnavailableException : Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured.
You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:
https://dotnet.testcontainers.org/custom_configuration/
   at Testcontainers.Tests.ReusableResourceTest.UnsupportedBuilderConfigurationTest.ContainerBuilderTest.EnabledCleanUpThrowsException() in /home/runner/work/testcontainers-dotnet/testcontainers-dotnet/tests/Testcontainers.Platform.Linux.Tests/ReusableResourceTest.cs:line 129
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
----- Inner Stack Trace -----
   at DotNet.Testcontainers.Builders.AbstractBuilder`4.Validate() in /_/src/Testcontainers/Builders/AbstractBuilder`4.cs:line 150
   at DotNet.Testcontainers.Builders.ContainerBuilder`3.Validate() in /_/src/Testcontainers/Builders/ContainerBuilder`3.cs:line 405
   at DotNet.Testcontainers.Builders.ContainerBuilder.Build() in /_/src/Testcontainers/Builders/ContainerBuilder.cs:line 56
   at Testcontainers.Tests.ReusableResourceTest.UnsupportedBuilderConfigurationTest.ContainerBuilderTest.<>c__DisplayClass0_0.<EnabledCleanUpThrowsException>b__0() in /home/runner/work/testcontainers-dotnet/testcontainers-dotnet/tests/Testcontainers.Platform.Linux.Tests/ReusableResourceTest.cs:line 129