We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
n/a
2022/05/17 11:08:14 Starting container id: 2f6e2d0356f4 image: testcontainers/ryuk:0.3.3 2022/05/17 11:08:14 Waiting for container id 2f6e2d0356f4 image: testcontainers/ryuk:0.3.3 2022/05/17 11:08:14 Container is ready id: 2f6e2d0356f4 image: testcontainers/ryuk:0.3.3 --- FAIL: TestMysqlIntegration (0.82s) sql_test.go:191: Error Trace: sql_test.go:191 Error: Received unexpected error: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /docker-entrypoint-initdb.d failed to create container github.com/testcontainers/testcontainers-go.GenericContainer /home/powersj/go/pkg/mod/github.com/testcontainers/[email protected]/generic.go:45 github.com/influxdata/telegraf/plugins/outputs/sql.TestMysqlIntegration /home/powersj/telegraf/plugins/outputs/sql/sql_test.go:190 testing.tRunner /usr/lib/go/src/testing/testing.go:1439 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1571 Test: TestMysqlIntegration Messages: starting container failed --- FAIL: TestPostgresIntegration (0.01s) sql_test.go:279: Error Trace: sql_test.go:279 Error: Received unexpected error: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /docker-entrypoint-initdb.d failed to create container github.com/testcontainers/testcontainers-go.GenericContainer /home/powersj/go/pkg/mod/github.com/testcontainers/[email protected]/generic.go:45 github.com/influxdata/telegraf/plugins/outputs/sql.TestPostgresIntegration /home/powersj/telegraf/plugins/outputs/sql/sql_test.go:278 testing.tRunner /usr/lib/go/src/testing/testing.go:1439 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1571 Test: TestPostgresIntegration Messages: starting container failed --- FAIL: TestClickHouseIntegration (0.01s) sql_test.go:376: Error Trace: sql_test.go:376 Error: Received unexpected error: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /docker-entrypoint-initdb.d failed to create container github.com/testcontainers/testcontainers-go.GenericContainer /home/powersj/go/pkg/mod/github.com/testcontainers/[email protected]/generic.go:45 github.com/influxdata/telegraf/plugins/outputs/sql.TestClickHouseIntegration /home/powersj/telegraf/plugins/outputs/sql/sql_test.go:375 testing.tRunner /usr/lib/go/src/testing/testing.go:1439 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1571 Test: TestClickHouseIntegration Messages: starting container failed FAIL FAIL github.com/influxdata/telegraf/plugins/outputs/sql 0.937s
master
No response
docker-compse up
go test -count=1 -race -timeout 30s ./plugins/outputs/sql/...
tests to pass
The test containers initialization fails with mount config issues:
Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /docker-entrypoint-initdb.d
The code uses:
BindMounts: map[string]string{ initdb: "/docker-entrypoint-initdb.d", outDir: "/out", },
However, it seems the order was swapped testcontainers/testcontainers-go#354 late last year.
The text was updated successfully, but these errors were encountered:
test: swap bind mount order for sql tests
9335c17
fixes: influxdata#11112
Fixed in #11114
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Relevant telegraf.conf
n/a
Logs from Telegraf
System info
master
Docker
No response
Steps to reproduce
docker-compse up
go test -count=1 -race -timeout 30s ./plugins/outputs/sql/...
Expected behavior
tests to pass
Actual behavior
The test containers initialization fails with mount config issues:
The code uses:
However, it seems the order was swapped testcontainers/testcontainers-go#354 late last year.
Additional info
No response
The text was updated successfully, but these errors were encountered: