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

Test failures in docker integration project #1

Open
sonia-garudi opened this issue Oct 31, 2016 · 1 comment
Open

Test failures in docker integration project #1

sonia-garudi opened this issue Oct 31, 2016 · 1 comment

Comments

@sonia-garudi
Copy link
Contributor

Error :
^[[31m*** RUN ABORTED ***^[[0m ^[[31m com.spotify.docker.client.DockerRequestException: Request error: POST unix://localhost:80/containers/4a5991818985a054385a63161635865875a2ff4bc4c5375d01b4de3820017356/start: 500^[[0m
RCA :
On power, docker creates a container from the downloaded image, but is not able to start it. If tried to start the container manually ,it fails with the error below:
Error response from daemon: Cannot start container 2ceed7781b43e1468cf1fb60ce0bfc5787604013e90ee2369a67a768c831fd03: [9] System error: exec format error

  • The docker container is created from 'mysql:5.7.9' image which is downloaded and is for the amd64 architecture.
@sonia-garudi
Copy link
Contributor Author

Workaround:
Since the mysql image being downloaded is for the x86 platform, the scalatest is skipped by adding the following lines to pom.xml:

  +              <configuration>
     +                <!-- Ignore MySQLIntegrationSuite.scala from Docker Integration since it    downloads mysql image for the x86 platform -->
     +                <wildcardSuites>!MySQLIntegrationSuite</wildcardSuites>
     +              </configuration>

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

1 participant