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

Maven IT fails on Windows, terminal control symbols confuse regexps #31689

Closed
Karm opened this issue Mar 8, 2023 · 1 comment · Fixed by #31694
Closed

Maven IT fails on Windows, terminal control symbols confuse regexps #31689

Karm opened this issue Mar 8, 2023 · 1 comment · Fixed by #31694
Assignees
Labels
area/maven env/windows Impacts Windows machines kind/bug Something isn't working
Milestone

Comments

@Karm
Copy link
Member

Karm commented Mar 8, 2023

Describe the bug

Maven integration test fails for me on Windows 10:

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   TestMojoIT>LaunchMojoTestBase.testThatTheTestsAreReRunMultiModule:56 Tests were run, but the log is not parseable with the patterns we know. This is the log:...

The problem (not visible in the log output text) is that there are terminal control characters present.

That is despite test generated projects having quarkus.test.basic-console=true.
When I sanitized those symbols before parsing, it works for me.

Expected behavior

mvnw clean verify -f integration-tests/pom.xml -pl maven -Ddocker -Dquarkus.container-image.build=true -Dquarkus.native.container-runtime=podman -Dquarkus.docker.executable-name=podman -Davoid-containers=false

Passes.

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

Windows 10, terminal: cmder

Output of java -version

17.0.6

GraalVM version (if different from Java)

No response

Quarkus version or git rev

main

Build tool (ie. output of mvnw --version or gradlew --version)

mvn

Additional information

No response

@Karm Karm added kind/bug Something isn't working env/windows Impacts Windows machines labels Mar 8, 2023
@Karm Karm self-assigned this Mar 8, 2023
@quarkus-bot
Copy link

quarkus-bot bot commented Mar 8, 2023

/cc @quarkusio/devtools (maven)

@Karm Karm changed the title Maven testing fails on Windows due to terminal color decorations confusing regexps Maven IT fails on Windows, terminal control symbols confuse regexps Mar 8, 2023
@quarkus-bot quarkus-bot bot added this to the 3.0 - main milestone Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/maven env/windows Impacts Windows machines kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant