jib icon indicating copy to clipboard operation
jib copied to clipboard

test: verify jibCli integration test on macos

Open mpeddada1 opened this issue 1 year ago • 2 comments

Thank you for your interest in contributing! For general guidelines, please refer to the contributing guide.

Please follow the guidelines below before opening an issue or a PR:

  • [ ] Ensure the issue was not already reported.
  • [ ] Create a new issue at https://github.com/GoogleContainerTools/jib/issues/new/choose if you are unable to find an existing issue addressing your problem. Make sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring.
  • [ ] Discuss the priority and potential solutions with the maintainers in the issue. The maintainers would review the issue and add a label "Accepting Contributions" once the issue is ready for accepting contributions.
  • [ ] Open a PR only if the issue is labeled with "Accepting Contributions", ensure the PR description clearly describes the problem and solution. Note that an open PR without an issues labeled with "Accepting Contributions" will not be accepted.
  • [ ] Verify that integration tests and unit tests are passing after the change.
  • [ ] Address all checkstyle issues. Refer to the style guide.

Fixes #<issue_number_goes_here> 🛠️

mpeddada1 avatar Jun 07 '24 20:06 mpeddada1

Stacktrace:

com.google.cloud.tools.jib.cli.WarCommandTest > testWar_jetty STANDARD_ERROR
    [ERROR] I/O error for image [[registry-1.docker.io/library/jetty](https://www.google.com/url?q=http://registry-1.docker.io/library/jetty&sa=D)]:
    [ERROR]     org.apache.http.ConnectionClosedException
    [ERROR]     Premature end of Content-Length delimited message body (expected: 158,511,802; received: 45,361,445)
    [ERROR] java.util.concurrent.ExecutionException: org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 158,511,802; received: 45,361,445)

mpeddada1 avatar Jun 07 '24 20:06 mpeddada1

On the other hand, com.google.cloud.tools.jib.cli.WarCommandTest > testWar_customJettySpecified passed. This failure is restricted to the jetty:latest docker image

mpeddada1 avatar Jun 07 '24 20:06 mpeddada1