Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jenkins fails build usind backend Docker v0.9.0 #10

Closed
sfreire opened this issue Apr 11, 2014 · 3 comments
Closed

jenkins fails build usind backend Docker v0.9.0 #10

sfreire opened this issue Apr 11, 2014 · 3 comments

Comments

@sfreire
Copy link

sfreire commented Apr 11, 2014

See logs bellow. It seems the same problem as the one described in http://stackoverflow.com/questions/22558378/jenkins-build-docker-raise-error-unrecognized-field-execdriver

build output:

[Docker] INFO: created container id 22f51f85fa97db41c385e4e6e1bc6661db0e83b1b4b4260e2ab94488a8d72b51 (from image 7d7938c466a5)
FATAL: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "ExecDriver" (Class com.kpelykh.docker.client.model.ContainerInspectResponse), not marked as ignorable
at [Source: com.sun.jersey.client.apache4.ApacheHttpClient4Handler$HttpClientResponseInputStream@1444510c; line: 1, column: 995](through reference chain: com.kpelykh.docker.client.model.ContainerInspectResponse["ExecDriver"])
�[8mha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=�[0mcom.sun.jersey.api.client.ClientHandlerException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "ExecDriver" (Class com.kpelykh.docker.client.model.ContainerInspectResponse), not marked as ignorable
at [Source: com.sun.jersey.client.apache4.ApacheHttpClient4Handler$HttpClientResponseInputStream@1444510c; line: 1, column: 995](through reference chain: com.kpelykh.docker.client.model.ContainerInspectResponse["ExecDriver"])
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:644)
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586)
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:686)
at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:509)
at com.kpelykh.docker.client.DockerClient.inspectContainer(DockerClient.java:418)
at org.jenkinsci.plugins.dockerbuildstep.cmd.CreateContainerCommand.execute(CreateContainerCommand.java:68)
at org.jenkinsci.plugins.dockerbuildstep.DockerBuilder.perform(DockerBuilder.java:57)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.Build$BuildExecution.build(Build.java:198)
at hudson.model.Build$BuildExecution.doRun(Build.java:159)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:523)
at hudson.model.Run.execute(Run.java:1689)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)

@magnayn
Copy link
Contributor

magnayn commented Apr 16, 2014

Is this still an issue on the latest release?

I'm running against Docker 0.10.0 and it seems OK.

ContainerInspectProperties does indeed have
@JsonIgnoreProperties(ignoreUnknown = true)

So it shouldn't actually be raising an error..

@sfreire
Copy link
Author

sfreire commented Apr 16, 2014

@magnayn , im waiting for the RPM for v0.10.0. as soon as I have it, i'll report again

@magnayn
Copy link
Contributor

magnayn commented Jun 7, 2014

Can you try 0.5 (feel free to re-raise if it doesn't fix). I'm using docker 0.9 and it seems ok..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants