liugddx opened a new issue, #2905: URL: https://github.com/apache/incubator-seatunnel/issues/2905
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened run `org.apache.seatunnel.e2e.flink.v2.jdbc.JdbcPostgresIT`,the error will happen. `22/09/27 09:37:32 INFO JdbcPostgresIT: STDERR: ls: cannot access '/docker-entrypoint-initdb.d/': Operation not permitted` ### SeaTunnel Version dev ### SeaTunnel Config ```conf # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # env { execution.parallelism = 3 job.mode = "BATCH" } source{ jdbc{ url = "jdbc:postgresql://postgresql:5432/test" driver = "org.postgresql.Driver" user = "test" password = "test" query = "select user_id, name , age from source" partition_column= "user_id" result_table_name = "jdbc" } } transform { sql { sql = "select name,age from jdbc" } } sink { jdbc { url = "jdbc:postgresql://postgresql:5432/test" driver = "org.postgresql.Driver" user = "test" password = "test" connection_check_timeout_sec = 100 query = "insert into sink(name,age) values(?,?)" } } ``` ### Running Command ```shell test ``` ### Error Exception ```log 22/09/27 09:37:32 INFO JdbcPostgresIT: STDERR: ls: cannot access '/docker-entrypoint-initdb.d/': Operation not permitted 22/09/27 09:38:32 ERROR 3]: Could not start container java.lang.IllegalStateException: Container exited with code 2 at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:497) at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:331) at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81) at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:329) at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317) at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:705) at java.util.concurrent.CompletableFuture$UniRun.tryFire$$$capture(CompletableFuture.java:687) at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java) at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 22/09/27 09:38:32 ERROR 3]: Log output from the failed container: ls: cannot access '/docker-entrypoint-initdb.d/': Operation not permitted ``` ### Flink or Spark Version _No response_ ### Java or Scala Version _No response_ ### Screenshots _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
