docker / docker/docker-credential-helpers

Travis builds fails due to credential issue

Open
#152 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.3k
Forks
195
Avg merge
1d 20h
Merged PRs (30d)
5

Description

Hi All,

For my PR- https://github.com/docker/docker-credential-helpers/pull/151 - the travis job is failing here - https://travis-ci.org/docker/docker-credential-helpers/jobs/534754946#L401

--- FAIL: TestPassHelper (0.05s)
    pass_linux_test.go:26: no usernames for https://foobar.docker.io:2376/v1
FAIL
FAIL	github.com/docker/docker-credential-helpers/pass	0.057s
?   	github.com/docker/docker-credential-helpers/pass/cmd	[no test files]

From above looks to be a credential related issue here - https://github.com/docker/docker-credential-helpers/blob/master/pass/pass_linux_test.go#L15 . Any pointers as to what is being missed in above travis job to make it pass in the PR ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with pass/pass_linux_test.go around line 15 and the Travis job output at line 401. Check what credential setup TestPassHelper expects in the failing job; done means the pass package test completes successfully in Travis.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
ci-cd, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.