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

Reduce Warning messages in case a Docker image cannot be found #409

Open
ckunki opened this issue Jul 5, 2024 · 0 comments
Open

Reduce Warning messages in case a Docker image cannot be found #409

ckunki opened this issue Jul 5, 2024 · 0 comments
Labels
refactoring Code improvement without behavior change

Comments

@ckunki
Copy link
Contributor

ckunki commented Jul 5, 2024

In case a Docker image cannot be found, the ITDE currently prints long warnings which are distracting and make it hard to analyze problems in the logs displayed in CI builds.

Sample

WARNING -
AnalyzeTestContainer_d87..._1_DockerTestContainerBuild, no_cache=False): 
Image exaslct_test/buildtestcontainertest:db-test-container_E3U...VLA not in registry, 
got exception 404 Client Error for http+docker://localhost/v1.43/images/create
  ?tag=db-test-container_E3U...VLA
  &fromImage=exaslct_test%2Fbuildtestcontainertest:
Not Found ("pull access denied for exaslct_test/buildtestcontainertest,
repository does not exist or may require 'docker login': 
denied: requested access to the resource is denied")

Proposal

  • display a shorter message withlog level WARN by default, e.g.

    Docker image ... does not exist, yet - Building it on the fly

  • display full output with log level INFO
@ckunki ckunki added the refactoring Code improvement without behavior change label Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Code improvement without behavior change
Projects
None yet
Development

No branches or pull requests

1 participant