-
Notifications
You must be signed in to change notification settings - Fork 2.8k
3.18 regression Quarkus quarkus-maven-plugin
with failsafe and quarkus.test.arg-line
#45878
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
Comments
/cc @quarkusio/devtools (maven) |
Thanks for the detailed report, I will have a look soon. |
My bet is on #45100 . We used to consider arg line as a full string split with spaces and we now split it with commas first. @radcortez I'm not sure how we can best fix this? Maybe we should have a specific list converter for I think it's something we need to fix before we officially ship 3.18 as it's going to be a problem for everyone using Jacoco. |
Very welcome, thanks for taking care. I am pretty sure it will happens if you follow https://quarkus.io/guides/tests-with-coverage in a less elaborate setup than my project, so I agree there's a good chance of a bigger blast radius. |
#45888 might fix it but I will let @radcortez decide if it needs a more involved fix. |
We don't want to split it on commas but spaces so here is a quick fix for it. We could write a specific converter but I'm not really sure it's worth it. Fixes quarkusio#45878 (cherry picked from commit 7be5a75)
Thank you! I can confirm this fixes my build 🙇 |
Thanks for the confirmation. Glad we could catch this one before the official release! |
We don't want to split it on commas but spaces so here is a quick fix for it. We could write a specific converter but I'm not really sure it's worth it. Fixes quarkusio#45878
Describe the bug
I am using
quarkus.test.arg-line
to setup custom arg lines for integration tests running with failsafe:See https://github.com/michael-simons/neo4j-migrations/blob/main/neo4j-migrations-quarkus-parent/integration-tests/pom.xml#L141
JaCoCo configures it to hold
[…]/target/jacoco.exec,append=true,includes=**/*
, notice the commas.Up to including Quarkus 3.17.7, this works fine, but starts failing in 3.18: https://github.com/michael-simons/neo4j-migrations/actions/runs/12987143055/job/36215407194?pr=1575#step:12:2957
Notice the lack of commas!
Also, the arg-line is actually duplicated, sort of.
Command that Quarkus 3.17.7 runs
Quarkus 3.18
Do reproduce with above project:
Quarkus does a couple of odd things: It duplicates the
quarkus.test.arg
so that is passed to the original call to Java, and than as Quarkus property. I guess the latter can be omitted.The former is that what breaks: Prior to 3.18, it just worked, now something replaces single
,
with blanks.You can reproduce this without JaCoCo too, by just setting it to
<quarkus.test.arg-line>asd,asd</quarkus.test.arg-line>
,Giving you something like this
Output of
uname -a
orver
24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 19:01:59 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6000 arm64
Output of
java -version
Quarkus version or git rev
3.18.0
Build tool (ie. output of
mvnw --version
orgradlew --version
)The text was updated successfully, but these errors were encountered: