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

Containers It hangs on RuntimesSmokeTest#quarkusEncodingIssues #295

Closed
Karm opened this issue Nov 18, 2024 · 1 comment · Fixed by #296
Closed

Containers It hangs on RuntimesSmokeTest#quarkusEncodingIssues #295

Karm opened this issue Nov 18, 2024 · 1 comment · Fixed by #296
Assignees

Comments

@Karm
Copy link
Owner

Karm commented Nov 18, 2024

Steps to reproduce:

RHEL 9/CentOS 9:

$ mvn clean verify -Ptestsuite-builder-image -Dtest=RuntimesSmokeTest#quarkusEncodingIssues 
-Dquarkus.version=3.15.1 
-Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-17 
-Dquarkus.native.container-runtime=podman 
-Drootless.container-runtime=true -Dpodman.with.sudo=true | tee log.log 

-Dpodman.with.sudo=false same, -Drootless.container-runtime=true same.

It correctly builds and starts Quarkus app and then it hangs in WebPageTester on

           try (Scanner scanner = new Scanner(c.getInputStream(), StandardCharsets.UTF_8)) {

in readBytes of FileInputStream. It is likely something stupid, but I don't see it right now.

@Karm Karm self-assigned this Nov 18, 2024
@Karm
Copy link
Owner Author

Karm commented Nov 19, 2024

I still don't have a fix, because when I run it in a debugger, it works :-) :-) :-)
Untitled

i.e. the c.getInputStream() indeed contains the expected bytes the Scanner reads and all is fine.
If I don't use debugger, it hangs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant