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

Flaky MultiModuleIncludedBuildTest #20315

Closed
famod opened this issue Sep 21, 2021 · 3 comments
Closed

Flaky MultiModuleIncludedBuildTest #20315

famod opened this issue Sep 21, 2021 · 3 comments
Assignees
Labels
area/gradle Gradle area/housekeeping Issue type for generalized tasks not related to bugs or enhancements

Comments

@famod
Copy link
Member

famod commented Sep 21, 2021

Description

This test is failing a lot recently, e.g.:

Usually you can then find something like the following in the log:

2021-09-21T04:39:20.1310473Z BUILD FAILED in 11s
2021-09-21T04:39:20.1311847Z [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.156 s <<< FAILURE! - in io.quarkus.gradle.devmode.MultiModuleIncludedBuildTest
2021-09-21T04:39:20.1314168Z [ERROR] io.quarkus.gradle.devmode.MultiModuleIncludedBuildTest.main  Time elapsed: 16.146 s  <<< FAILURE!
2021-09-21T04:39:20.1315640Z java.lang.AssertionError: 
2021-09-21T04:39:20.1316039Z 
2021-09-21T04:39:20.1316408Z Expecting actual:
2021-09-21T04:39:20.1316928Z   "BROKEN: quarkusDev mode has terminated"
2021-09-21T04:39:20.1317421Z to contain:
2021-09-21T04:39:20.1317762Z   "foo bar" 
2021-09-21T04:39:20.1319639Z 	at io.quarkus.gradle.devmode.MultiModuleIncludedBuildTest.testDevMode(MultiModuleIncludedBuildTest.java:24)

and before that many errors liek the following:

Cause 22: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve io.quarkus:quarkus-vertx:999-SNAPSHOT.
Required by:
    project : > io.quarkus:quarkus-bom:999-SNAPSHOT
Caused by: org.gradle.internal.component.AmbiguousConfigurationSelectionException: Cannot choose between the following variants of io.quarkus:quarkus-vertx:999-SNAPSHOT:
  - io.quarkus:quarkus-vertx-deployment:999-SNAPSHOT
All of them match the consumer attributes:
  - Variant 'io.quarkus:quarkus-vertx-deployment:999-SNAPSHOT' capabilities io.quarkus:quarkus-vertx-deployment-capability:999-SNAPSHOT and io.quarkus:quarkus-vertx-deployment-capability:999-SNAPSHOT:
      - Unmatched attribute:
          - Provides org.gradle.status 'integration' but the consumer didn't ask for it
	at org.gradle.internal.component.model.AttributeConfigurationSelector.selectConfigurationUsingAttributeMatching(AttributeConfigurationSelector.java:105)

Implementation ideas

No response

@famod famod added area/gradle Gradle area/housekeeping Issue type for generalized tasks not related to bugs or enhancements flaky-test labels Sep 21, 2021
@famod
Copy link
Member Author

famod commented Sep 21, 2021

/cc @glefloch

@glefloch glefloch self-assigned this Sep 22, 2021
@glefloch
Copy link
Member

Thanks for creating the issue @famod I will have a look at this test.

@aloubyansky
Copy link
Member

@glefloch i've seen it failing this way locally quite a few times recently but i wasn't sure whether it was due to my local changes or not. It's just FYI, it occasionally can be reproduced locally.

stuartwdouglas added a commit to stuartwdouglas/quarkus that referenced this issue Sep 26, 2021
geoand pushed a commit to geoand/quarkus that referenced this issue Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/gradle Gradle area/housekeeping Issue type for generalized tasks not related to bugs or enhancements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants