AWS Elastic Beanstalk deploy fails after 2.7 and plugin upgrade

81 views
Skip to first unread message

Steve Abbitt

unread,
May 31, 2016, 2:21:45 PM5/31/16
to Jenkins Users
I just updated Jenkins to 2.7 from 2.6 along with about 10 plugins. After the upgrades, one of my jobs that deploys to Elastic Beanstalk using the 'AWSEB Deployment Plugin' is failing with the following errors below. This job had been working fine for almost a year. I also noticed that the same erros are popping up when I try to verify my AWS credentials through the plugin config dialog (and yes, the credentials are active). Anyone have any ideas?

AWSEB Deployment Plugin Version 0.3.8
FATAL: Deployment Failure
java.io.IOException: Deployment Failure
	at br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:171)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
	at hudson.model.Build$BuildExecution.build(Build.java:205)
	at hudson.model.Build$BuildExecution.doRun(Build.java:162)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
	at hudson.model.Run.execute(Run.java:1741)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
Caused by: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at hudson.remoting.LocalChannel$2.get(LocalChannel.java:77)
	at br.com.ingenieux.jenkins.plugins.awsebdeployment.DeployerRunner.perform(DeployerRunner.java:66)
	at br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:167)
	... 9 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.apache.commons.lang.reflect.ConstructorUtils.invokeConstructor(ConstructorUtils.java:162)
	at br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSClientFactory.getService(AWSClientFactory.java:138)
	at br.com.ingenieux.jenkins.plugins.awsebdeployment.cmd.DeployerCommand$InitAWS.perform(DeployerCommand.java:145)
	at br.com.ingenieux.jenkins.plugins.awsebdeployment.cmd.DeployerChain.perform(DeployerChain.java:54)
	at br.com.ingenieux.jenkins.plugins.awsebdeployment.SlaveDeployerCallable.call(SlaveDeployerCallable.java:42)
	at br.com.ingenieux.jenkins.plugins.awsebdeployment.SlaveDeployerCallable.call(SlaveDeployerCallable.java:27)
	at hudson.remoting.LocalChannel$1.call(LocalChannel.java:52)
	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: org/apache/http/conn/ssl/SSLSocketFactory
	at com.amazonaws.AmazonWebServiceClient.<init>(AmazonWebServiceClient.java:136)
	at com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:481)
	at com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:461)
	at com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:443)
	... 16 more
Caused by: java.lang.ClassNotFoundException: org.apache.http.conn.ssl.SSLSocketFactory
	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 20 more
Finished: FAILURE

Aldrin Leal

unread,
May 31, 2016, 2:23:49 PM5/31/16
to jenkins...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/de1aad09-604c-4d6b-a5d2-ef8510e5bb3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages