Skip to content

Instantly share code, notes, and snippets.

@dasl-
Created February 23, 2017 16:58
Show Gist options
  • Save dasl-/fc3540e17926da06dc884de1d29ba97a to your computer and use it in GitHub Desktop.
Save dasl-/fc3540e17926da06dc884de1d29ba97a to your computer and use it in GitHub Desktop.
output from `mvn -e clean install`
[INFO] --- docker-maven-plugin:0.19.0:build (start) @ debezium-connector-mysql ---
[INFO] DOCKER> Pulling from mysql/mysql-server
[INFO] DOCKER> Digest: sha256:4b48acb7f4a87c4457c6fe40a7edcef05e2d0c6488c47beec9c0872c9bb942df
[INFO] DOCKER> Status: Image is up to date for mysql/mysql-server:5.7
[INFO] DOCKER> Pulled mysql/mysql-server:5.7 in 380 milliseconds
[INFO] Copying files to /Users/dleibovic/debezium/debezium-connector-mysql/target/docker/debezium/mysql-server-test-database/build/maven
[INFO] Building tar: /Users/dleibovic/debezium/debezium-connector-mysql/target/docker/debezium/mysql-server-test-database/tmp/docker-build.tar
[INFO] DOCKER> docker-build.tar: Created [debezium/mysql-server-test-database] in 187 milliseconds
[INFO] DOCKER> Step 1/2 : FROM mysql/mysql-server:5.7
[INFO] DOCKER> ---> 73099ffcccde
[INFO] DOCKER> Step 2/2 : COPY maven /
[INFO] DOCKER> ---> Using cache
[INFO] DOCKER> ---> c1bf9f812b63
[INFO] DOCKER> Successfully built c1bf9f812b63
[INFO] DOCKER> [debezium/mysql-server-test-database]: Built image sha256:c1bf9
[INFO]
[INFO] --- docker-maven-plugin:0.19.0:start (start) @ debezium-connector-mysql ---
[INFO] DOCKER> [debezium/mysql-server-test-database]: Start container b57dd4859e90
11:57:05.500 mysql> Initializing database
11:57:23.979 mysql> Database initialized
11:57:23.995 mysql> MySQL init process in progress...
11:57:25.013 mysql> MySQL init process in progress...
11:57:29.185 mysql> Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
11:57:32.613 mysql> Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
11:57:32.764 mysql> mysql: [Warning] Using a password on the command line interface can be insecure.
11:57:32.845 mysql> mysql: [Warning] Using a password on the command line interface can be insecure.
11:57:32.883 mysql> mysql: [Warning] Using a password on the command line interface can be insecure.
11:57:32.926 mysql> mysql: [Warning] Using a password on the command line interface can be insecure.
11:57:32.972 mysql>
11:57:32.973 mysql> /entrypoint.sh: running /docker-entrypoint-initdb.d/setup.sql
11:57:32.980 mysql> mysql: [Warning] Using a password on the command line interface can be insecure.
[ERROR] DOCKER> [debezium/mysql-server-test-database]: Timeout after 30166 ms while waiting on log out 'MySQL init process done. Ready for start up.'
[ERROR] DOCKER> Error occurred during container startup, shutting down...
[ERROR] DOCKER> Cannot process chunk response: java.io.IOException: Bad file descriptor
11:57:45.360 mysql>
11:57:45.360 mysql>
[INFO] DOCKER> [debezium/mysql-server-test-database]: Stop and removed container b57dd4859e90 after 0 ms
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Debezium Checkstyle Rules .......................... SUCCESS [ 6.166 s]
[INFO] Debezium Parent POM ................................ SUCCESS [ 1.879 s]
[INFO] Debezium Assembly Descriptors ...................... SUCCESS [ 2.123 s]
[INFO] Debezium Core ...................................... SUCCESS [ 34.696 s]
[INFO] Debezium Embedded .................................. SUCCESS [ 5.247 s]
[INFO] Debezium Connector for MySQL ....................... FAILURE [ 52.198 s]
[INFO] Debezium Connector for PostgreSQL .................. SKIPPED
[INFO] Debezium Connector for MongoDB ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:44 min
[INFO] Finished at: 2017-02-23T11:57:46-05:00
[INFO] Final Memory: 63M/524M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.19.0:start (start) on project debezium-connector-mysql: Execution start of goal io.fabric8:docker-maven-plugin:0.19.0:start failed: Start-Job failed with unexpected exception: [debezium/mysql-server-test-database]: Timeout after 30166 ms while waiting on log out 'MySQL init process done. Ready for start up.' -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.fabric8:docker-maven-plugin:0.19.0:start (start) on project debezium-connector-mysql: Execution start of goal io.fabric8:docker-maven-plugin:0.19.0:start failed: Start-Job failed with unexpected exception: [debezium/mysql-server-test-database]: Timeout after 30166 ms while waiting on log out 'MySQL init process done. Ready for start up.'
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution start of goal io.fabric8:docker-maven-plugin:0.19.0:start failed: Start-Job failed with unexpected exception: [debezium/mysql-server-test-database]: Timeout after 30166 ms while waiting on log out 'MySQL init process done. Ready for start up.'
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: java.lang.RuntimeException: Start-Job failed with unexpected exception: [debezium/mysql-server-test-database]: Timeout after 30166 ms while waiting on log out 'MySQL init process done. Ready for start up.'
at io.fabric8.maven.docker.StartMojo.rethrowCause(StartMojo.java:216)
at io.fabric8.maven.docker.StartMojo.executeInternal(StartMojo.java:156)
at io.fabric8.maven.docker.AbstractDockerMojo.execute(AbstractDockerMojo.java:208)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
... 21 more
Caused by: org.apache.maven.plugin.MojoExecutionException: [debezium/mysql-server-test-database]: Timeout after 30166 ms while waiting on log out 'MySQL init process done. Ready for start up.'
at io.fabric8.maven.docker.StartMojo.waitIfRequested(StartMojo.java:378)
at io.fabric8.maven.docker.StartMojo.access$000(StartMojo.java:41)
at io.fabric8.maven.docker.StartMojo$1.call(StartMojo.java:254)
at io.fabric8.maven.docker.StartMojo$1.call(StartMojo.java:240)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:108)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:41)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:77)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:310)
at java.util.concurrent.ExecutorCompletionService.submit(ExecutorCompletionService.java:181)
at io.fabric8.maven.docker.StartMojo.startImage(StartMojo.java:240)
at io.fabric8.maven.docker.StartMojo.executeInternal(StartMojo.java:137)
... 23 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :debezium-connector-mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment