create-environment timeout after 20 minutes
lukelast opened this issue · 0 comments
lukelast commented
I have <configuration><timeoutMins>40</timeoutMins></configuration>
set but I'm still getting a timeout after 20 minutes on create-environment.
[INFO]
[INFO] --- beanstalk-maven-plugin:1.5.6:create-environment (default-cli) @ xxxxx ---
[INFO] Environment Lookup
[INFO] ... with environmentId equal to 'xxxxxx'
[INFO] ... with status set to 'Ready'
[WARNING] FAILURE
org.apache.maven.plugin.MojoExecutionException: Timed out
at br.com.ingenieux.mojo.beanstalk.cmd.env.waitfor.WaitForEnvironmentCommand.executeInternal (WaitForEnvironmentCommand.java:249)
at br.com.ingenieux.mojo.beanstalk.cmd.env.waitfor.WaitForEnvironmentCommand.executeInternal (WaitForEnvironmentCommand.java:51)
at br.com.ingenieux.mojo.beanstalk.cmd.BaseCommand.execute (BaseCommand.java:75)
at br.com.ingenieux.mojo.beanstalk.env.CreateEnvironmentMojo.createEnvironment (CreateEnvironmentMojo.java:376)
at br.com.ingenieux.mojo.beanstalk.env.CreateEnvironmentMojo.executeInternal (CreateEnvironmentMojo.java:330)
at br.com.ingenieux.mojo.aws.AbstractAWSMojo.execute (AbstractAWSMojo.java:401)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:564)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20:11 min
[INFO] Finished at: 2020-09-xxxx
[INFO] ------------------------------------------------------------------------```