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

Intermittent Docker isssue Running mvn verify locally #1113

Open
tsande16 opened this issue Jan 16, 2025 · 0 comments
Open

Intermittent Docker isssue Running mvn verify locally #1113

tsande16 opened this issue Jan 16, 2025 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tsande16
Copy link
Contributor

tsande16 commented Jan 16, 2025

Environment

The issue was realized in a local development environment on a Windows 11 machine.

Date/time occurred

This issue started around mid December 2024.

Description

When running mvn verify on pass-support, there will be an intermittent issue with docker that will interrupt the build process and fail to complete the whole mvn verify process. It happens at various points of the build process. Two documented modules where it happens is during the pass-journal-loader-nih , nihms-token-refresh, and nihms-docker module.

Steps to Reproduce

Run mvn verify. The issue will occur intermittently so it may take a couple runs before the error presents itself. More often than not, cleaning out the images and volumes and then restarting docker will stop this error for happening, but it will return on another run.

Expected Results

A successful mvn verify

Actual Results

What occurs is a the error message: [ERROR] DOCKER> Cannot create docker access object [\\.\pipe\docker_engine (All pipe instances are busy)]

Evidence

During the nihms-token-refresh submodule

Image

[INFO] 
[INFO] --- docker:0.45.1:build (build-nihms-docker-image) @ nihms-docker ---
[ERROR] DOCKER> Cannot create docker access object  [\\.\pipe\docker_engine (All pipe instances are busy)]

During the nihms-docker module verify, in particular the build-nihms-docker-image exection

Image

[INFO] 
[INFO] --- docker:0.45.1:build (build-nihms-docker-image) @ nihms-docker ---
[ERROR] DOCKER> Cannot create docker access object  [\\.\pipe\docker_engine (All pipe instances are busy)]

During the pass-journal-loader-nih

Image

[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.34 s -- in org.eclipse.pass.loader.journal.nih.DepositIT
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- docker:0.45.1:build (build-after-its) @ pass-journal-loader-nih ---
[ERROR] DOCKER> Cannot create docker access object  [\\.\pipe\docker_engine (All pipe instances are busy)]

Commenting out io.fabric8 in pass-journal-loader-nih

Commenting out the plugin in the pass-journal-loader-nih will prevent the image from being built and allow the verify process to continue.

Image

However, keeping the plugin uncommented, but only running verify on the pass-journal-loader-nih module, will allow it to pass

Image

Commenting out io.fabric8 docker-maven-plugin in pass-journal-loader-nih, nihms-docker , and nihms-token-refresh

Commenting out the io.fabric8 docker-maven-plugin in all three of these module's POMs will result in pass-support running mvn verify successfully.

Estimated Severity

Low-Medium. Will it will be successful sometimes, but it is a real problem for Windows developers. This is not an issue for end users.

@tsande16 tsande16 added the bug Something isn't working label Jan 16, 2025
@tsande16 tsande16 added this to the 1.14.0 milestone Jan 16, 2025
@tsande16 tsande16 self-assigned this Jan 16, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Eclipse PASS Jan 16, 2025
@tsande16 tsande16 moved this from Backlog to In Progress in Eclipse PASS Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

1 participant