jenkinsci / jenkinsci/docker-commons-plugin

[JENKINS-69432] Using docker.withRegistry gets stuck

Open
#225 2 comments 0 reactions 0 assignees View on GitHub
component:docker-commons-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
53
Forks
85
PR merge metrics
No merged PRs in 30d

Description

I'm trying to log in to my aws ecr using docker.withRegistry, but for some reason now it gets stuck forever, the output is saying 

Executing command: "docker" "login" "u" "AWS" "-password-stdin" "https://841964127262.dkr.ecr.us-east-1.amazonaws.com"

but after that it only outputs: exit

This was working before updating all related plugins today, I reverted to one month old version to all plugins and it's now working 

 

---
Originally reported by griefwar, imported from: Using docker.withRegistry gets stuck


  • status: Open
  • priority: Minor
  • component(s): docker-commons-plugin
  • label(s): aws, docker, plugin
  • resolution: Unresolved
  • votes: 3
  • watchers: 4
  • imported: 20260604-161841

Raw content of original issue

I'm trying to log in to my aws ecr using docker.withRegistry, but for some reason now it gets stuck forever, the output is saying 

Executing command: "docker" "login" "u" "AWS" "-password-stdin" "https://841964127262.dkr.ecr.us-east-1.amazonaws.com"

but after that it only outputs: exit

This was working before updating all related plugins today, I reverted to one month old version to all plugins and it's now working 

 

3 attachments

- [Captura de pantalla 2022-08-24 233851.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/58846/Captura%20de%20pantalla%202022-08-24%20233851.png)
> ![Captura de pantalla 2022-08-24 233851.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/58846/Captura%20de%20pantalla%202022-08-24%20233851.png)
- [docker.withRegistry.log](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/58845/docker.withRegistry.log)
- [jenkinsfile](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/58844/jenkinsfile)

Contributor guide

Open the contributing guide

Research direction

Start with the attached docker.withRegistry.log and jenkinsfile, then inspect the plugin changes associated with the updated dependencies and the reported docker login command. Reproduce the AWS ECR login through docker.withRegistry and identify why execution stops after the exit output. Done means the login completes without hanging after the plugin updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, docker, java
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.