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

2.2.2 backports 1 #19929

Merged
merged 60 commits into from
Sep 7, 2021
Merged

2.2.2 backports 1 #19929

merged 60 commits into from
Sep 7, 2021

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Sep 6, 2021

Please don't merge, I will merge it myself.

stuartwdouglas and others added 30 commits September 6, 2021 11:18
The max attribute size changed in vert.x

(cherry picked from commit a3d5b90)
(cherry picked from commit f78e00a)
Signed-off-by: Marc Nuri <[email protected]>
(cherry picked from commit 7142e79)
(cherry picked from commit bac9ee0)
…ovider constructor

Relates to: quarkusio#19750

Co-authored-by: George Gastaldi <[email protected]>
(cherry picked from commit 12ca7eb)
- resolves quarkusio#19642

(cherry picked from commit 57d2f7c)
Signed-off-by:Phillip Kruger <[email protected]>

(cherry picked from commit fab4d70)
Signed-off-by: Marc Nuri <[email protected]>
(cherry picked from commit 679561e)
Essentially the fact that ClientTracingFilter was using a static
field for TextMapPropagator was causing GraalVM to initialize
the entire telemetry infrastructure at build time

Fixes: quarkusio#19877
(cherry picked from commit d142b2f)
Before this fix, the implementations where actually
eligible for bean removal

Fixes: quarkusio#19900
(cherry picked from commit 3614947)
- Fixes quarkusio#18251
- Add test to Micrometer integration test. Verified not a problem with RESTEasy Reactive
- Add test to OpenTelemetry integration test to very fix for RESTEasy Classic

(cherry picked from commit d57ddba)
…mmended for new projects

Moved io.quarkus.maven.StreamCoords to io.quarkus.registry.catalog.PlatformStreamCoords

(cherry picked from commit 9a15b82)
@famod
Copy link
Member

famod commented Sep 6, 2021

Looking at

2021-09-06T15:48:46.2416937Z [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.939 s - in io.quarkus.gradle.devmode.BasicJavaPlatformModuleDevModeTest
2021-09-06T15:48:46.2420421Z [INFO] Running io.quarkus.gradle.devmode.BasicKotlinApplicationModuleDevModeTest
2021-09-06T15:49:48.0619555Z BELOW IS THE CAPTURED LOGGING OF THE FAILED GRADLE TEST PROJECT BUILD
2021-09-06T15:49:48.0658927Z $ D:\a\quarkus\quarkus\integration-tests\gradle\gradlew.bat --no-daemon -D=maven.repo.local=C:\Users\runneradmin\.m2\repository --stacktrace clean quarkusDev -s
2021-09-06T15:49:48.0840477Z To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.9/userguide/gradle_daemon.html#sec:disabling_the_daemon.
2021-09-06T15:49:48.0842939Z [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 61.806 s <<< FAILURE! - in io.quarkus.gradle.devmode.BasicKotlinApplicationModuleDevModeTest
2021-09-06T15:49:48.1158709Z Daemon will be stopped at the end of the build 
2021-09-06T15:49:48.1351250Z [ERROR] io.quarkus.gradle.devmode.BasicKotlinApplicationModuleDevModeTest.main  Time elapsed: 61.799 s  <<< ERROR!

I wonder whether this is due to #19584 not having been backported as well. /cc @glefloch

@gsmet
Copy link
Member Author

gsmet commented Sep 6, 2021

I have no idea but tbh I'm by far more concerned about the other failures :/

jmartisk and others added 12 commits September 6, 2021 21:52
(cherry picked from commit 40ced5e)
…ions for all OIDC extensions

(cherry picked from commit 61ef8d8)
…pdates

Co-authored-by: Guillaume Smet <[email protected]>
(cherry picked from commit 05b4d36)
(cherry picked from commit ab82e7a)
The upload-artifact action takes the common ancestor as the root path of
the archive which will lead to issues when we have only one file.

Always uploading a file from the root of the repository should fix this.

(cherry picked from commit 370d944)
@quarkus-bot quarkus-bot bot added area/core area/graphql area/infra-automation anything related to CI, bots, etc. that are used to automated our infrastructure area/maven labels Sep 6, 2021
This can cause a false positive in the vertx-http-deployment tests where
a continuous test fails to start, then spits out a hang detection
warning a minute later.

(cherry picked from commit ebddbc3)
@quarkus-bot
Copy link

quarkus-bot bot commented Sep 7, 2021

This workflow status is outdated as a new workflow run has been triggered.

Failing Jobs - Building f64385b

Status Name Step Failures Logs Raw logs
Gradle Tests - JDK 11 Windows Build Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
✔️ JVM Tests - JDK 16

Full information is available in the Build summary check run.

Failures

⚙️ Gradle Tests - JDK 11 Windows #

- Failing: integration-tests/gradle 

📦 integration-tests/gradle

io.quarkus.gradle.devmode.BasicKotlinApplicationModuleDevModeTest.main line 18 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Condition with lambda expression in io.quarkus.test.devmode.util.DevModeTestUtils that uses java.util.function.Supplier, java.util.function.Supplierjava.util.concurrent.atomic.AtomicReference, java.util.concurrent.atomic.AtomicReferencejava.lang.String, java.lang.Stringboolean was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:166)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)

⚙️ JVM Tests - JDK 11 #

- Failing: extensions/hibernate-orm/deployment 
! Skipped: docs extensions/hibernate-envers/deployment extensions/hibernate-reactive/deployment and 80 more

📦 extensions/hibernate-orm/deployment

io.quarkus.hibernate.orm.ExcludePersistenceXmlConfigTest. - More details - Source on GitHub

java.lang.RuntimeException: java.lang.RuntimeException: Unable to create the archive
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:553)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$8(ClassBasedTestDescriptor.java:368)

io.quarkus.hibernate.orm.HibernateHotReloadTestCase.testAddNewFieldToEntity - More details - Source on GitHub

org.junit.jupiter.api.extension.TestInstantiationException: TestInstanceFactory [io.quarkus.test.QuarkusDevModeTest] failed to instantiate test class [io.quarkus.hibernate.orm.HibernateHotReloadTestCase]: io.quarkus.runtime.test.TestHttpEndpointProvider: io.quarkus.resteasy.server.common.runtime.RESTEasyTestHttpProvider not a subtype
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstanceFactory(ClassBasedTestDescriptor.java:313)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateTestClass(ClassBasedTestDescriptor.java:288)

io.quarkus.hibernate.orm.HibernateHotReloadTestCase.testImportSqlWithContinuousTesting - More details - Source on GitHub

org.junit.jupiter.api.extension.TestInstantiationException: TestInstanceFactory [io.quarkus.test.QuarkusDevModeTest] failed to instantiate test class [io.quarkus.hibernate.orm.HibernateHotReloadTestCase]: io.quarkus.runtime.test.TestHttpEndpointProvider: io.quarkus.resteasy.server.common.runtime.RESTEasyTestHttpProvider not a subtype
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstanceFactory(ClassBasedTestDescriptor.java:313)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateTestClass(ClassBasedTestDescriptor.java:288)

io.quarkus.hibernate.orm.HibernateHotReloadTestCase.testAddEntity - More details - Source on GitHub

org.junit.jupiter.api.extension.TestInstantiationException: TestInstanceFactory [io.quarkus.test.QuarkusDevModeTest] failed to instantiate test class [io.quarkus.hibernate.orm.HibernateHotReloadTestCase]: io.quarkus.runtime.test.TestHttpEndpointProvider: io.quarkus.resteasy.server.common.runtime.RESTEasyTestHttpProvider not a subtype
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstanceFactory(ClassBasedTestDescriptor.java:313)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateTestClass(ClassBasedTestDescriptor.java:288)

io.quarkus.hibernate.orm.HibernateMetricsTestCase. - More details - Source on GitHub

java.lang.RuntimeException: java.lang.RuntimeException: Unable to create the archive
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:553)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$8(ClassBasedTestDescriptor.java:368)

io.quarkus.hibernate.orm.HibernateSchemaRecreateDevConsoleTestCase.testCleanDatabase - More details - Source on GitHub

org.junit.jupiter.api.extension.TestInstantiationException: TestInstanceFactory [io.quarkus.test.QuarkusDevModeTest] failed to instantiate test class [io.quarkus.hibernate.orm.HibernateSchemaRecreateDevConsoleTestCase]: io.quarkus.runtime.test.TestHttpEndpointProvider: io.quarkus.resteasy.server.common.runtime.RESTEasyTestHttpProvider not a subtype
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstanceFactory(ClassBasedTestDescriptor.java:313)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateTestClass(ClassBasedTestDescriptor.java:288)

io.quarkus.hibernate.orm.batch.BatchFetchSizeTest. - More details - Source on GitHub

java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:553)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$8(ClassBasedTestDescriptor.java:368)

io.quarkus.hibernate.orm.logsql.LogSqlFormatSqlDefaultValueTest. - More details - Source on GitHub

java.lang.RuntimeException: java.lang.RuntimeException: Unable to create the archive
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:553)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$8(ClassBasedTestDescriptor.java:368)

io.quarkus.hibernate.orm.logsql.LogSqlFormatSqlFalseTest. - More details - Source on GitHub

java.lang.RuntimeException: java.lang.RuntimeException: Unable to create the archive
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:553)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$8(ClassBasedTestDescriptor.java:368)

io.quarkus.hibernate.orm.packages.PackageLevelAnnotationTest. - More details - Source on GitHub

java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:553)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$8(ClassBasedTestDescriptor.java:368)

io.quarkus.hibernate.orm.publicfields.PublicFieldAccessAssociationsTest. - More details - Source on GitHub

java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:553)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$8(ClassBasedTestDescriptor.java:368)

io.quarkus.hibernate.orm.publicfields.PublicFieldAccessFieldTypesTest. - More details - Source on GitHub

java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:553)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$8(ClassBasedTestDescriptor.java:368)

io.quarkus.hibernate.orm.publicfields.PublicFieldAccessInheritanceTest. - More details - Source on GitHub

java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:553)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$8(ClassBasedTestDescriptor.java:368)

io.quarkus.hibernate.orm.quoted_indentifiers.JPAQuotedTestCase.testQuotedIdentifiers - More details - Source on GitHub

org.junit.jupiter.api.extension.TestInstantiationException: TestInstanceFactory [io.quarkus.test.QuarkusDevModeTest] failed to instantiate test class [io.quarkus.hibernate.orm.quoted_indentifiers.JPAQuotedTestCase]: io.quarkus.runtime.test.TestHttpEndpointProvider: io.quarkus.resteasy.server.common.runtime.RESTEasyTestHttpProvider not a subtype
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstanceFactory(ClassBasedTestDescriptor.java:313)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateTestClass(ClassBasedTestDescriptor.java:288)

io.quarkus.hibernate.orm.scripts.GenerateScriptNotAppendedTestCase.verifyScriptIsOverwritten - More details - Source on GitHub

org.junit.jupiter.api.extension.TestInstantiationException: TestInstanceFactory [io.quarkus.test.QuarkusDevModeTest] failed to instantiate test class [io.quarkus.hibernate.orm.scripts.GenerateScriptNotAppendedTestCase]: io.quarkus.runtime.test.TestHttpEndpointProvider: io.quarkus.resteasy.server.common.runtime.RESTEasyTestHttpProvider not a subtype
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstanceFactory(ClassBasedTestDescriptor.java:313)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateTestClass(ClassBasedTestDescriptor.java:288)

io.quarkus.hibernate.orm.scripts.GenerateScriptNotAppendedTestCase.verifyScriptIsOverwritten - More details - Source on GitHub

org.junit.jupiter.api.extension.TestInstantiationException: TestInstanceFactory [io.quarkus.test.QuarkusDevModeTest] failed to instantiate test class [io.quarkus.hibernate.orm.scripts.GenerateScriptNotAppendedTestCase]: io.quarkus.runtime.test.TestHttpEndpointProvider: io.quarkus.resteasy.server.common.runtime.RESTEasyTestHttpProvider not a subtype
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstanceFactory(ClassBasedTestDescriptor.java:313)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateTestClass(ClassBasedTestDescriptor.java:288)

io.quarkus.hibernate.orm.transaction.UserTransactionLifecycleTest. - More details - Source on GitHub

java.lang.AssertionError: 

Expecting empty but was: ["Thread Thread[vert.x-eventloop-thread-2,5,main] has been blocked for 2630 ms, time limit is 2000 ms",

io.quarkus.hibernate.orm.validation.JPAValidationTestCase. - More details - Source on GitHub

java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:553)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$8(ClassBasedTestDescriptor.java:368)

stuartwdouglas and others added 4 commits September 7, 2021 08:30
Files to watch must be updated before the listeners are notified,
otherwise the test may modify the config file before the file set has
been updated, and the tests will not be run.

(cherry picked from commit 1885233)
This should not prevent Quarkus from shutting down

(cherry picked from commit 31138b0)
@gsmet gsmet merged commit f5e57a5 into quarkusio:2.2 Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/agroal area/amazon-lambda area/arc Issue related to ARC (dependency injection) area/cli Related to quarkus cli (not maven/gradle/etc.) area/config area/core area/dependencies Pull requests that update a dependency file area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/documentation area/gradle Gradle area/graphql area/grpc gRPC area/hibernate-validator Hibernate Validator area/infra internal and infrastructure related issues area/infra-automation anything related to CI, bots, etc. that are used to automated our infrastructure area/kubernetes area/maven area/mutiny area/oidc area/platform Issues related to definition and interaction with Quarkus Platform area/reactive-messaging area/rest area/scheduler area/security area/smallrye area/testing area/tracing area/undertow area/vertx area/websockets
Projects
None yet
Development

Successfully merging this pull request may close these issues.