ingenieux/beanstalker

Beanstalker can get stuck waiting for an environment that never arrives

Closed this issue · 1 comments

I've had a number of cases where the beanstalk environment initially starts to build, but fails within the first minute or so of launching. This happens 1/5 of the deploys. I've seen the environment appear in the aws console and then disappear with an error message shown on the log for 1/2 second. I'm trying to get a screenshot of to help debug root cause.

But, it would be helpful if the beanstalker plugin was able to determine that an environment failed to launch and will never arrive. At the moment it gets stuck and keeps polling for status on an environment that doesn't exist.

sample output

[INFO] --- beanstalk-maven-plugin:1.1.1:create-application-version (default) @ bridge ---
[INFO] SUCCESS
[INFO] * sourceBundle: {S3Bucket: elasticbeanstalk-us-east-1-XXXXXXXXXXXX, S3Key: bridge/dev-20130926134312.war, } [class: S3Location]
[INFO] * versionLabel: dev-20130926134312 [class: String]
[INFO] * description: Update from beanstalk-maven-plugin [class: String]
[INFO] * applicationName: bridge [class: String]
[INFO] * dateCreated: Thu Sep 26 13:44:36 UTC 2013 [class: Date]
[INFO] * dateUpdated: Thu Sep 26 13:44:36 UTC 2013 [class: Date]
[INFO]
[INFO] --- beanstalk-maven-plugin:1.1.1:delete-configuration-template (default) @ bridge ---
[INFO] SUCCESS
[INFO]
[INFO] --- beanstalk-maven-plugin:1.1.1:create-configuration-templates (default) @ bridge ---
[INFO] SUCCESS
[INFO]
[INFO] --- beanstalk-maven-plugin:1.1.1:replace-environment (default) @ bridge ---
[INFO] Creating a new environment on bridgedev-0.elasticbeanstalk.com
[INFO] Excluding Option Setting: aws:elasticbeanstalk:application:environment:AWS_SECRET_KEY['']
[INFO] Excluding Option Setting: aws:cloudformation:template:parameter:AppSource['http://s3.amazonaws.com/elasticbeanstalk-samples-us-east-1/elasticbeanstalk-sampleapp.war']
[INFO] Including Option Setting: aws:elasticbeanstalk:container:tomcat:jvmoptions:Xmx['1024m']
[INFO] Excluding Option Setting: aws:elasticbeanstalk:application:environment:AWS_ACCESS_KEY_ID['']
[INFO] Including Option Setting: aws:elasticbeanstalk:container:tomcat:jvmoptions:JVM Options['-Ddummy.option=1']
[INFO] Including Option Setting: aws:cloudformation:template:parameter:JVMOptions['XX:MaxPermSize=64m,JVM Options=-Ddummy.option=1,Xmx=1024m,Xms=256m']
[INFO] Including Option Setting: aws:elasticbeanstalk:application:environment:PARAM1['dev']
[INFO] Including Option Setting: aws:elasticbeanstalk:application:environment:PARAM2['DEBUG']
[INFO] Including Option Setting: aws:cloudformation:template:parameter:InstancePort['80']
[INFO] Including Option Setting: aws:elasticbeanstalk:application:environment:PARAM4['empty']
[INFO] Including Option Setting: aws:elasticbeanstalk:application:environment:PARAM3['10']
[INFO] Including Option Setting: aws:cloudformation:template:parameter:EnvironmentVariables['PARAM3=10,PARAM4=empty,PARAM1=dev,PARAM2=DEBUG,JDBC_CONNECTION_STRING=,PARAM5=empty,AWS_SECRET_KEY=,AWS_ACCESS_KEY_ID=']
[INFO] Including Option Setting: aws:elasticbeanstalk:application:environment:PARAM5['empty']
[INFO] Including Option Setting: aws:elasticbeanstalk:hostmanager:LogPublicationControl['true']
[INFO] Including Option Setting: aws:elasticbeanstalk:container:tomcat:jvmoptions:XX:MaxPermSize['64m']
[INFO] Including Option Setting: aws:elasticbeanstalk:container:tomcat:jvmoptions:Xms['256m']
[INFO] Including Option Setting: aws:autoscaling:launchconfiguration:InstanceType['m1.small']
[INFO] Excluding Option Setting: aws:elasticbeanstalk:application:environment:JDBC_CONNECTION_STRING['']
[INFO] Including Option Setting: aws:elb:healthcheck:Interval['30']
[INFO] Including Option Setting: aws:elb:loadbalancer:LoadBalancerHTTPSPort['443']
[INFO] Including Option Setting: aws:elb:healthcheck:Timeout['10']
[INFO] Including Option Setting: aws:elb:loadbalancer:SSLCertificateId['arn:aws:iam::XXXXXXXXXXXX:server-certificate/star.devenglishcentral.com']
[INFO] Including Option Setting: aws:elb:healthcheck:UnhealthyThreshold['5']
[INFO] Excluding Option Setting: aws:ec2:vpc:ELBSubnets['']
[INFO] Including Option Setting: aws:elb:policies:Stickiness Policy['false']
[INFO] Including Option Setting: aws:elb:loadbalancer:LoadBalancerPortProtocol['HTTP']
[INFO] Including Option Setting: aws:elb:loadbalancer:LoadBalancerSSLPortProtocol['HTTPS']
[INFO] Including Option Setting: aws:elb:healthcheck:Target['HTTP:80/rest/healthcheck']
[INFO] Including Option Setting: aws:elb:policies:Stickiness Cookie Expiration['0']
[INFO] Including Option Setting: aws:elb:healthcheck:HealthyThreshold['3']
[INFO] Including Option Setting: aws:elasticbeanstalk:application:Application Healthcheck URL['/rest/healthcheck']
[INFO] Including Option Setting: aws:ec2:vpc:ELBScheme['public']
[INFO] Including Option Setting: aws:elb:loadbalancer:LoadBalancerHTTPPort['80']
[INFO] Including Option Setting: aws:autoscaling:launchconfiguration:IamInstanceProfile['bridge']
[INFO] Including Option Setting: aws:autoscaling:launchconfiguration:ImageId['ami-1624987f']
[INFO] Including Option Setting: aws:autoscaling:launchconfiguration:MonitoringInterval['1 minute']
[INFO] Excluding Option Setting: aws:autoscaling:launchconfiguration:SecurityGroups['default,awseb-e-nm2c4vq9aa-stack-AWSEBSecurityGroup-WKKK1KF8ECXI,bridgedev']
[INFO] Including Option Setting: aws:autoscaling:launchconfiguration:BlockDeviceMappings['/dev/sdb=ephemeral0']
[INFO] Including Option Setting: aws:autoscaling:launchconfiguration:EC2KeyName['englishcentral-keypair']
[INFO] Including Option Setting: aws:autoscaling:asg:MaxSize['1']
[INFO] Including Option Setting: aws:autoscaling:asg:Cooldown['900']
[INFO] Including Option Setting: aws:autoscaling:asg:MinSize['1']
[INFO] Excluding Option Setting: aws:ec2:vpc:Subnets['']
[INFO] Including Option Setting: aws:autoscaling:asg:Availability Zones['Any 1']
[INFO] Including Option Setting: aws:autoscaling:asg:Custom Availability Zones['us-east-1a']
[INFO] Excluding Option Setting: aws:ec2:vpc:VPCId['']
[INFO] Including Option Setting: aws:autoscaling:trigger:UpperThreshold['60']
[INFO] Including Option Setting: aws:autoscaling:trigger:Period['1']
[INFO] Including Option Setting: aws:autoscaling:trigger:Statistic['Average']
[INFO] Including Option Setting: aws:autoscaling:trigger:MeasureName['CPUUtilization']
[INFO] Including Option Setting: aws:autoscaling:trigger:LowerThreshold['5']
[INFO] Including Option Setting: aws:autoscaling:trigger:EvaluationPeriods['5']
[INFO] Including Option Setting: aws:autoscaling:trigger:Unit['Percent']
[INFO] Including Option Setting: aws:autoscaling:trigger:BreachDuration['5']
[INFO] Including Option Setting: aws:autoscaling:trigger:LowerBreachScaleIncrement['-1']
[INFO] Including Option Setting: aws:autoscaling:trigger:UpperBreachScaleIncrement['1']
[INFO] Including Option Setting: aws:elasticbeanstalk:control:RollbackLaunchOnFailure['false']
[INFO] Including Option Setting: aws:elasticbeanstalk:control:DefaultSSHPort['22']
[INFO] Including Option Setting: aws:elasticbeanstalk:control:LaunchType['Migration']
[INFO] Including Option Setting: aws:elasticbeanstalk:monitoring:Automatically Terminate Unhealthy Instances['true']
[INFO] Including Option Setting: aws:elasticbeanstalk:control:LaunchTimeout['0']
[INFO] Including Option Setting: aws:elasticbeanstalk:environment:EnvironmentType['LoadBalanced']
[INFO] Excluding Option Setting: aws:elasticbeanstalk:sns:topics:Notification Topic ARN['arn:aws:sns:us-east-1:XXXXXXXXXXXX:SERVICES_ERROR']
[INFO] Excluding Option Setting: aws:elasticbeanstalk:sns:topics:Notification Endpoint['']
[INFO] Including Option Setting: aws:elasticbeanstalk:command:Timeout['480']
[INFO] Excluding Option Setting: aws:elasticbeanstalk:sns:topics:Notification Topic Name['']
[INFO] Excluding Option Setting: aws:elasticbeanstalk:sns:topics:Notification Protocol['']
[WARNING](btw, we're launching with solutionStack/ set to). If this is not the case, then we kindly ask you to file a bug report on the mailing list :)
[INFO] And it'll be named bridgedev
[INFO] Waiting for environmentId e-mkutwphwzw to get into Ready state
[INFO] Will wait until Thu Sep 26 14:44:45 UTC 2013 for environment e-mkutwphwzw to get into Ready
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@35fe55e8[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=dev-20130926134312,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:44:45 UTC 2013,status=Launching,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@17739f5[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@da19740[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@69b0b240[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@60b850e9[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@f57e027[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@775f44b5[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@4542633a[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@12720379[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@2bb1ce74[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@5e1a9152[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@42dc341c[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@46c045f8[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@317a8140[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@71d2b09[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@58ab1ae4[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@60d357c9[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@79ba71f[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@5e7eac04[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@3ffed48f[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@76d165d6[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@5cb863fd[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@6def9a1c[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@69585ed4[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@595d90e4[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@3e425255[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@7df8fc8c[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@6e376da5[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@22d3e245[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@44fe6b85[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@7105bfc2[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@2ee55b42[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@5a5e0cb[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@86cd22[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@6ce14a99[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@5364828[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@659418e5[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@13b6cbb0[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[INFO] Environment Detail:com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription@5e59600c[environmentName=bridgedev,environmentId=e-mkutwphwzw,applicationName=bridge,versionLabel=,solutionStackName=64bit Amazon Linux running Tomcat 7,templateName=,description=Bridge Beanstalk,endpointURL=,cNAME=bridgedev-0.elasticbeanstalk.com,dateCreated=Thu Sep 26 13:44:45 UTC 2013,dateUpdated=Thu Sep 26 13:45:02 UTC 2013,status=Terminated,health=Grey,resources=]
[INFO] Sleeping for 90 seconds
[ERROR] Failure: java.lang.InterruptedException
Build was aborted
[DEBUG] Skipping watched dependency update for build: Bridge #599 due to result: ABORTED
Finished: ABORTED

root cause of why the environment was failing to launch was due to reaching an amazon resource limit for number of cloud formation stacks. Fixed by requesting a limit increase here:

https://aws.amazon.com/contact-us/cloudformation-request/

Fixed my problem, but would be nice if beanstalker was robust to this issue.