quarkiverse / quarkus-pact

Pact is a widely-recommended framework for consumer-driven contract testing. This Quarkus extension gives the best Pact integration with Quarkus.
https://pact.io/
Apache License 2.0
11 stars 6 forks source link

Ref #136: Re-add Groovy as parent-first artifact #137

Closed essobedo closed 1 year ago

essobedo commented 1 year ago

fixes #136

Motivation

With the latest snapshot of Quarkus, the tests fail with ClassNotFoundException: groovy.lang.Closure due to https://github.com/quarkusio/quarkus/pull/34447

Modifications:

Result

The tests pass again

mvn clean install -Dnative
...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Quarkus - Pact - Parent 1.1-SNAPSHOT:
[INFO] 
[INFO] Quarkus - Pact - Parent ............................ SUCCESS [  0.991 s]
[INFO] Quarkus Pact Provider - Parent ..................... SUCCESS [  0.021 s]
[INFO] Quarkus Pact Provider - Runtime .................... SUCCESS [  1.560 s]
[INFO] Quarkus Pact Provider - Deployment ................. SUCCESS [ 29.659 s]
[INFO] Quarkus Pact Provider - Integration Tests .......... SUCCESS [02:49 min]
[INFO] Quarkus Pact Consumer - Parent ..................... SUCCESS [  0.029 s]
[INFO] Quarkus Pact Consumer - Runtime .................... SUCCESS [  0.402 s]
[INFO] Quarkus Pact Consumer - Deployment ................. SUCCESS [ 13.054 s]
[INFO] Quarkus Pact Consumer - Integration Tests .......... SUCCESS [03:17 min]
[INFO] Quarkus Pact - Documentation ....................... SUCCESS [  6.526 s]
[INFO] Quarkus Pact - Cross-extension Integration Tests ... SUCCESS [03:01 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10:01 min
[INFO] Finished at: 2023-07-10T15:38:38+02:00
[INFO] ------------------------------------------------------------------------
holly-cummins commented 1 year ago

I wonder why it fails when the provider and consumer are used together, but not when the provider is used on its own? From the stack trace, it does seem to be a provider test which is failing.

However, I agree that this is a pragmatic fix, given how much other parent-first the provider extension has to do (for now, until we can sort out the xstream/deep clone issues).

Thanks for the fix!

holly-cummins commented 1 year ago

@all-contributors add @essobedo for code.

essobedo commented 1 year ago

I wonder why it fails when the provider and consumer are used together, but not when the provider is used on its own? From the stack trace, it does seem to be a provider test which is failing.

Are you sure that it is not failing with the provider alone? Unless I miss something but if we check closely to the log file we can see:

2023-07-10T06:36:23.7000112Z Status: Downloaded newer image for quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-17
2023-07-10T06:36:23.7023811Z quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-17
2023-07-10T06:36:24.8946792Z [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on native-image 17.0.7 2023-04-18
2023-07-10T06:36:24.8947836Z OpenJDK Runtime Environment Mandrel-23.0.0.0-Final (build 17.0.7+7)
2023-07-10T06:36:24.8948571Z OpenJDK 64-Bit Server VM Mandrel-23.0.0.0-Final (build 17.0.7+7, mixed mode)
2023-07-10T06:36:24.9021434Z [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] docker run --env LANG=C --rm --user 1001:123 -v /home/runner/work/quarkus-pact/quarkus-pact/current-repo/quarkus-pact-provider/integration-tests/target/quarkus-pact-provider-integration-tests-1.1-SNAPSHOT-native-image-source-jar:/project:z --name build-native-OHWGH quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-17 -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dlogging.initial-configurator.min-level=500 -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=3 -J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver=true -J-Duser.language=en -J-Dfile.encoding=UTF-8 --features=io.quarkus.runner.Feature,io.quarkus.runtime.graal.DisableLoggingFeature -J--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED -J--add-opens=java.base/java.text=ALL-UNNAMED -J--add-opens=java.base/java.io=ALL-UNNAMED -J--add-opens=java.base/java.lang.invoke=ALL-UNNAMED -J--add-opens=java.base/java.util=ALL-UNNAMED -H:BuildOutputJSONFile=quarkus-pact-provider-integration-tests-1.1-SNAPSHOT-runner-build-output-stats.json -H:+AllowFoldMethods -J-Djava.awt.headless=true --no-fallback --link-at-build-time -H:+ReportExceptionStackTraces -H:-AddAllCharsets --enable-url-protocols=http -H:-UseServiceLoaderFeature -H:+StackTrace -J--add-exports=org.graalvm.sdk/org.graalvm.nativeimage.impl=ALL-UNNAMED --exclude-config io\.netty\.netty-codec /META-INF/native-image/io\.netty/netty-codec/generated/handlers/reflect-config\.json --exclude-config io\.netty\.netty-handler /META-INF/native-image/io\.netty/netty-handler/generated/handlers/reflect-config\.json quarkus-pact-provider-integration-tests-1.1-SNAPSHOT-runner -jar quarkus-pact-provider-integration-tests-1.1-SNAPSHOT-runner.jar
2023-07-10T06:36:38.9729488Z ========================================================================================================================
2023-07-10T06:36:38.9756185Z GraalVM Native Image: Generating 'quarkus-pact-provider-integration-tests-1.1-SNAPSHOT-runner' (executable)...
2023-07-10T06:36:38.9762193Z ========================================================================================================================
2023-07-10T06:36:43.5338715Z [1/8] Initializing...                                                                                   (16.5s @ 0.29GB)
2023-07-10T06:36:43.5371061Z  Java version: 17.0.7+7, vendor version: Mandrel-23.0.0.0-Final
2023-07-10T06:36:43.5379565Z  Graal compiler: optimization level: 2, target machine: x86-64-v3
2023-07-10T06:36:43.5381633Z  C compiler: gcc (redhat, x86_64, 8.5.0)
2023-07-10T06:36:43.5388062Z  Garbage collector: Serial GC (max heap size: 80% of RAM)
2023-07-10T06:36:43.5400842Z  4 user-specific feature(s)
2023-07-10T06:36:43.5407697Z  - com.oracle.svm.thirdparty.gson.GsonFeature
2023-07-10T06:36:43.5408261Z  - io.quarkus.runner.Feature: Auto-generated class by Quarkus from the existing extensions
2023-07-10T06:36:43.5408933Z  - io.quarkus.runtime.graal.DisableLoggingFeature: Disables INFO logging during the analysis phase
2023-07-10T06:36:43.5409561Z  - org.eclipse.angus.activation.nativeimage.AngusActivationFeature
2023-07-10T06:38:19.3109185Z [2/8] Performing analysis...  [******]                                                                  (95.4s @ 1.41GB)
2023-07-10T06:38:19.3141418Z   11,397 (87.15%) of 13,078 types reachable
2023-07-10T06:38:19.3197263Z   16,216 (57.98%) of 27,969 fields reachable
2023-07-10T06:38:19.3653591Z   56,263 (55.89%) of 100,661 methods reachable
2023-07-10T06:38:19.3654403Z    3,476 types,   133 fields, and 2,558 methods registered for reflection
2023-07-10T06:38:19.3654851Z       63 types,    68 fields, and    55 methods registered for JNI access
2023-07-10T06:38:19.3655339Z        4 native libraries: dl, pthread, rt, z
2023-07-10T06:38:31.1008926Z [3/8] Building universe...                                                                              (11.7s @ 1.66GB)
2023-07-10T06:38:41.0549163Z [4/8] Parsing methods...      [***]                                                                      (9.9s @ 1.14GB)
2023-07-10T06:38:47.2301661Z [5/8] Inlining methods...     [***]                                                                      (5.8s @ 1.79GB)
2023-07-10T06:40:04.6634291Z [6/8] Compiling methods...    [*********]                                                               (77.4s @ 1.24GB)
2023-07-10T06:40:09.2984029Z [7/8] Layouting methods...    [**]                                                                       (4.6s @ 1.17GB)
2023-07-10T06:40:15.4274136Z [8/8] Creating image...       [***]                                                                      (5.9s @ 1.74GB)
2023-07-10T06:40:15.4289853Z   22.63MB (48.84%) for code area:    36,008 compilation units
2023-07-10T06:40:15.4300000Z   23.38MB (50.46%) for image heap:  295,688 objects and 56 resources
2023-07-10T06:40:15.4311776Z  332.87kB ( 0.70%) for other data
2023-07-10T06:40:15.4318138Z   46.33MB in total
2023-07-10T06:40:15.4324355Z ------------------------------------------------------------------------------------------------------------------------
2023-07-10T06:40:15.4341663Z Top 10 origins of code area:                                Top 10 object types in image heap:
2023-07-10T06:40:15.4377837Z   12.30MB java.base                                            5.18MB byte[] for code metadata
2023-07-10T06:40:15.4387859Z    1.24MB svm.jar (Native Image)                               2.79MB java.lang.Class
2023-07-10T06:40:15.4398293Z  867.49kB modified-io.vertx.vertx-core-4.4.4.jar               2.65MB java.lang.String
2023-07-10T06:40:15.4408859Z  700.92kB q.1-SNAPSHOT-runner.jar                              2.43MB byte[] for general heap data
2023-07-10T06:40:15.4419395Z  682.58kB org.jboss.resteasy.resteasy-core-6.2.4.Final.jar     2.22MB byte[] for java.lang.String
2023-07-10T06:40:15.4430789Z  521.32kB org.eclipse.yasson-3.0.3.jar                       979.43kB com.oracle.svm.core.hub.DynamicHubCompanion
2023-07-10T06:40:15.4441420Z  421.40kB io.netty.netty-buffer-4.1.94.Final.jar             651.52kB java.util.HashMap$Node
2023-07-10T06:40:15.4450506Z  412.67kB com.fasterxml.jackson.core.jackson-core-2.15.2.jar 611.27kB byte[] for reflection metadata
2023-07-10T06:40:15.4514995Z  398.56kB io.netty.netty-codec-http-4.1.94.Final.jar         512.38kB java.lang.String[]
2023-07-10T06:40:15.4515699Z  362.89kB io.netty.netty-codec-http2-4.1.94.Final.jar        411.25kB c.o.svm.core.hub.DynamicHub$ReflectionMetadata
2023-07-10T06:40:15.4516190Z    4.57MB for 81 more packages                                 4.60MB for 2921 more object types
2023-07-10T06:40:15.4516989Z ------------------------------------------------------------------------------------------------------------------------
2023-07-10T06:40:15.4517375Z Recommendations:
2023-07-10T06:40:15.4517683Z  HEAP: Set max heap for improved and more predictable memory usage.
2023-07-10T06:40:15.4518173Z  CPU:  Enable more CPU features with '-march=native' for improved performance.
2023-07-10T06:40:15.4600325Z ------------------------------------------------------------------------------------------------------------------------
2023-07-10T06:40:15.4627307Z                        25.2s (11.0% of total time) in 114 GCs | Peak RSS: 3.21GB | CPU load: 1.94
2023-07-10T06:40:15.4651701Z ------------------------------------------------------------------------------------------------------------------------
2023-07-10T06:40:15.4657892Z Produced artifacts:
2023-07-10T06:40:15.4676177Z  /project/quarkus-pact-provider-integration-tests-1.1-SNAPSHOT-runner (executable)
2023-07-10T06:40:15.4687036Z  /project/quarkus-pact-provider-integration-tests-1.1-SNAPSHOT-runner-build-output-stats.json (build_info)
2023-07-10T06:40:15.4692461Z ========================================================================================================================
2023-07-10T06:40:15.4705356Z Finished generating 'quarkus-pact-provider-integration-tests-1.1-SNAPSHOT-runner' in 3m 48s.
2023-07-10T06:40:15.7511283Z [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] docker run --env LANG=C --rm --user 1001:123 -v /home/runner/work/quarkus-pact/quarkus-pact/current-repo/quarkus-pact-provider/integration-tests/target/quarkus-pact-provider-integration-tests-1.1-SNAPSHOT-native-image-source-jar:/project:z --entrypoint /bin/bash quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-17 -c objcopy --strip-debug quarkus-pact-provider-integration-tests-1.1-SNAPSHOT-runner
2023-07-10T06:40:16.3565746Z [INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 257499ms
2023-07-10T06:40:16.3657518Z [INFO] 
2023-07-10T06:40:16.3659539Z [INFO] --- maven-failsafe-plugin:3.1.2:integration-test (default) @ quarkus-pact-provider-integration-tests ---
2023-07-10T06:40:16.4486952Z [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
2023-07-10T06:40:16.4757554Z [INFO] 
2023-07-10T06:40:16.4758621Z [INFO] -------------------------------------------------------
2023-07-10T06:40:16.4759234Z [INFO]  T E S T S
2023-07-10T06:40:16.4760368Z [INFO] -------------------------------------------------------
2023-07-10T06:40:17.8609663Z [INFO] Running io.quarkiverse.pact.it.NormalModeContractIT
2023-07-10T06:40:24.6268533Z 2023-07-10 06:40:24,595 INFO  [io.quarkus] (main) quarkus-pact-provider-integration-tests 1.1-SNAPSHOT on JVM (powered by Quarkus 999-SNAPSHOT) started in 3.249s. Listening on: http://localhost:8081
2023-07-10T06:40:24.6269840Z 2023-07-10 06:40:24,598 INFO  [io.quarkus] (main) Profile test activated. 
2023-07-10T06:40:24.6270817Z 2023-07-10 06:40:24,599 INFO  [io.quarkus] (main) Installed features: [cdi, kotlin, pact-provider, resteasy, resteasy-jsonb, smallrye-context-propagation, vertx]
2023-07-10T06:40:25.9220179Z 
2023-07-10T06:40:25.9220965Z Verifying a pact between Knitter and Farm
2023-07-10T06:40:25.9222126Z   [Using File /home/runner/work/quarkus-pact/quarkus-pact/current-repo/quarkus-pact-provider/integration-tests/target/test-classes/pacts/knitter-farm.json]
2023-07-10T06:40:25.9222830Z   a request for the alpaca
2023-07-10T06:40:25.9223573Z 2023-07-10 06:40:25,896 WARN  [au.com.diu.pac.cor.sup.Metrics] (Thread-94) 
2023-07-10T06:40:25.9224573Z             Please note: we are tracking events anonymously to gather important usage statistics like JVM version
2023-07-10T06:40:25.9471761Z             and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment
2023-07-10T06:40:25.9472209Z             variable to 'true'.
2023-07-10T06:40:25.9472442Z             
2023-07-10T06:40:26.5350405Z     returns a response which
2023-07-10T06:40:26.5351047Z       has status code 200 (OK)
2023-07-10T06:40:26.5352048Z       has a matching body (OK)
2023-07-10T06:40:26.5353180Z 2023-07-10 06:40:26,525 WARN  [au.com.diu.pac.pro.DefaultTestResultAccumulator] (main) Skipping publishing of verification results as it has been disabled (pact.verifier.publishResults is not 'true')
2023-07-10T06:40:26.6191755Z [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.705 s -- in io.quarkiverse.pact.it.NormalModeContractIT
2023-07-10T06:40:26.6199722Z [INFO] Running io.quarkiverse.pact.it.DevModeContractTestIT
2023-07-10T06:40:27.9553031Z [INFO] Scanning for projects...
2023-07-10T06:40:29.6610796Z [INFO] 
2023-07-10T06:40:29.6612007Z [INFO] --------------------< test-application:happy-farm >---------------------
2023-07-10T06:40:29.6612562Z [INFO] Building happy-farm 1.1-SNAPSHOT
2023-07-10T06:40:29.6612912Z [INFO]   from pom.xml
2023-07-10T06:40:29.6613385Z [INFO] --------------------------------[ jar ]---------------------------------
...
2023-07-10T06:40:34.2800711Z [INFO] Invoking resources:2.6:testResources (default-testResources) @ happy-farm
2023-07-10T06:40:34.2801248Z [INFO] Using 'UTF-8' encoding to copy filtered resources.
2023-07-10T06:40:34.2801556Z [INFO] Copying 1 resource
2023-07-10T06:40:34.2802371Z [INFO] Invoking compiler:3.8.1:testCompile (default-testCompile) @ happy-farm
2023-07-10T06:40:34.2802811Z [INFO] Changes detected - recompiling the module!
2023-07-10T06:40:34.2803604Z [INFO] Compiling 2 source files to /home/runner/work/quarkus-pact/quarkus-pact/current-repo/quarkus-pact-provider/integration-tests/target/test-classes/projects/happy-farm-processed/target/test-classes
2023-07-10T06:40:38.1916635Z Press [e] to edit command line args (currently ''), [h] for more options>
2023-07-10T06:40:38.1916957Z Tests paused
2023-07-10T06:40:38.1917341Z Press [e] to edit command line args (currently ''), [r] to resume testing, [h] for more options>
2023-07-10T06:40:38.1917881Z Press [e] to edit command line args (currently ''), [r] to resume testing, [o] Toggle test output, [h] for more options>
2023-07-10T06:40:40.9002675Z Running tests for the first time
2023-07-10T06:40:40.9003750Z Press [e] to edit command line args (currently ''), [h] for more options>
2023-07-10T06:40:40.9004932Z Press [e] to edit command line args (currently ''), [o] Toggle test output, [h] for more options>
2023-07-10T06:40:41.7026910Z Starting test run, 1 tests to run.
2023-07-10T06:40:41.7027885Z Running 1/1. Running: #JUnit Jupiter
2023-07-10T06:40:41.8035431Z Running 1/1. Running: io.quarkiverse.pact.devmodetest.farm.FarmContractTest#FarmContractTest
2023-07-10T06:40:42.2046137Z __  ____  __  _____   ___  __ ____  ______ 
2023-07-10T06:40:42.2047045Z  --/ __ \/ / / / _ | / _ \/ //_/ / / / __/ 
2023-07-10T06:40:42.2047613Z  -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \   
2023-07-10T06:40:42.2048096Z --\___\_\____/_/ |_/_/|_/_/|_|\____/___/   
2023-07-10T06:40:42.2049256Z 2023-07-10 06:40:42,148 INFO  [io.quarkus] (Quarkus Main Thread) happy-farm 1.1-SNAPSHOT on JVM (powered by Quarkus 999-SNAPSHOT) started in 5.161s. Listening on: http://localhost:8080
2023-07-10T06:40:42.2050073Z 2023-07-10 06:40:42,152 INFO  [io.quarkus] (Quarkus Main Thread) Profile dev activated. Live Coding activated.
2023-07-10T06:40:42.2050913Z 2023-07-10 06:40:42,152 INFO  [io.quarkus] (Quarkus Main Thread) Installed features: [cdi, resteasy, resteasy-jsonb, smallrye-context-propagation, vertx]
2023-07-10T06:40:43.7124534Z Running 1/1. Running: io.quarkiverse.pact.devmodetest.farm.FarmContractTest#pactVerificationTestTemplate(PactVerificationContext)
2023-07-10T06:40:44.2134839Z Running 1/1. Running: io.quarkiverse.pact.devmodetest.farm.FarmContractTest#Knitter - a request for the alpaca
2023-07-10T06:40:44.3136279Z Running 2/1. 1 failure so far. Running: io.quarkiverse.pact.devmodetest.farm.DummyAlpacaTest#DummyAlpacaTest
2023-07-10T06:40:44.3137332Z Running 2/1. 1 failure so far. Running: io.quarkiverse.pact.devmodetest.farm.DummyAlpacaTest#visitShouldReturnSomething()
2023-07-10T06:40:44.4231098Z Press [e] to edit command line args (currently ''), [r] to re-run, [h] for more options>
2023-07-10T06:40:44.4232399Z Press [e] to edit command line args (currently ''), [r] to re-run, [o] Toggle test output, [h] for more options>
2023-07-10T06:40:44.4233267Z 2023-07-10 06:40:44,323 ERROR [io.qua.test] (Test runner thread) ==================== TEST REPORT #1 ====================
2023-07-10T06:40:44.4234140Z 2023-07-10 06:40:44,325 ERROR [io.qua.test] (Test runner thread) Test FarmContractTest#Knitter - a request for the alpaca failed 
2023-07-10T06:40:44.4234743Z : java.lang.NoClassDefFoundError: groovy/lang/Closure
2023-07-10T06:40:44.4235375Z    at au.com.dius.pact.provider.ProviderClient$Companion.invokeIfClosure(ProviderClient.kt:261)
2023-07-10T06:40:44.4236131Z    at au.com.dius.pact.provider.ProviderClient$Companion.access$invokeIfClosure(ProviderClient.kt:252)
2023-07-10T06:40:44.4236879Z    at au.com.dius.pact.provider.ProviderClient.newRequest(ProviderClient.kt:478)
2023-07-10T06:40:44.4237531Z    at au.com.dius.pact.provider.ProviderClient.prepareRequest(ProviderClient.kt:304)
2023-07-10T06:40:44.4238223Z    at au.com.dius.pact.provider.junit5.HttpTestTarget.prepareRequest(TestTarget.kt:96)
2023-07-10T06:40:44.4239033Z    at au.com.dius.pact.provider.junit5.PactVerificationExtension.beforeTestExecution(PactVerificationExtension.kt:136)
2023-07-10T06:40:44.4240384Z    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeTestExecutionCallbacks$5(TestMethodTestDescriptor.java:191)
2023-07-10T06:40:44.4241453Z    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:202)
2023-07-10T06:40:44.4242573Z    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2023-07-10T06:40:44.4243698Z    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:202)
2023-07-10T06:40:44.4244945Z    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeTestExecutionCallbacks(TestMethodTestDescriptor.java:190)
2023-07-10T06:40:44.4245944Z    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:136)
2023-07-10T06:40:44.4246883Z    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
2023-07-10T06:40:44.4247824Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
2023-07-10T06:40:44.4248680Z    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2023-07-10T06:40:44.4249525Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
2023-07-10T06:40:44.4250258Z    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
2023-07-10T06:40:44.4251002Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
2023-07-10T06:40:44.4251823Z    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2023-07-10T06:40:44.4252688Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
2023-07-10T06:40:44.4253507Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
2023-07-10T06:40:44.4254538Z    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
2023-07-10T06:40:44.4255599Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:226)
2023-07-10T06:40:44.4256434Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:204)
2023-07-10T06:40:44.4257304Z    at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:142)
2023-07-10T06:40:44.4258192Z    at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.lambda$execute$2(TestTemplateTestDescriptor.java:110)
2023-07-10T06:40:44.4258920Z    at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
2023-07-10T06:40:44.4259502Z    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
2023-07-10T06:40:44.4260093Z    at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
2023-07-10T06:40:44.4260673Z    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
2023-07-10T06:40:44.4261277Z    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
2023-07-10T06:40:44.4261892Z    at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
2023-07-10T06:40:44.4262479Z    at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274)
2023-07-10T06:40:44.4263214Z    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
2023-07-10T06:40:44.4263827Z    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
2023-07-10T06:40:44.4264545Z    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
2023-07-10T06:40:44.4265191Z    at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
2023-07-10T06:40:44.4265802Z    at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
2023-07-10T06:40:44.4266407Z    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
2023-07-10T06:40:44.4267094Z    at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
2023-07-10T06:40:44.4267843Z    at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:110)
2023-07-10T06:40:44.4268719Z    at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:44)
2023-07-10T06:40:44.4269734Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
2023-07-10T06:40:44.4270669Z    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2023-07-10T06:40:44.4271641Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
2023-07-10T06:40:44.4272376Z    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
2023-07-10T06:40:44.4273116Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
2023-07-10T06:40:44.4273954Z    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2023-07-10T06:40:44.4274840Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
2023-07-10T06:40:44.4275652Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
2023-07-10T06:40:44.4276268Z    at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
2023-07-10T06:40:44.4277159Z    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
2023-07-10T06:40:44.4278229Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
2023-07-10T06:40:44.4279051Z    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2023-07-10T06:40:44.4279888Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
2023-07-10T06:40:44.4280614Z    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
2023-07-10T06:40:44.4281374Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
2023-07-10T06:40:44.4282211Z    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2023-07-10T06:40:44.4283072Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
2023-07-10T06:40:44.4283889Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
2023-07-10T06:40:44.4284507Z    at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
2023-07-10T06:40:44.4285413Z    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
2023-07-10T06:40:44.4286484Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
2023-07-10T06:40:44.4287316Z    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2023-07-10T06:40:44.4288153Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
2023-07-10T06:40:44.4288877Z    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
2023-07-10T06:40:44.4289693Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
2023-07-10T06:40:44.4290529Z    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
2023-07-10T06:40:44.4291391Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
2023-07-10T06:40:44.4292276Z    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
2023-07-10T06:40:44.4293299Z    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
2023-07-10T06:40:44.4294411Z    at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
2023-07-10T06:40:44.4295390Z    at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
2023-07-10T06:40:44.4296363Z    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147)
2023-07-10T06:40:44.4297278Z    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127)
2023-07-10T06:40:44.4298141Z    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90)
2023-07-10T06:40:44.4299008Z    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55)
2023-07-10T06:40:44.4299958Z    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102)
2023-07-10T06:40:44.4300893Z    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54)
2023-07-10T06:40:44.4301653Z    at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
2023-07-10T06:40:44.4308606Z    at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:95)
2023-07-10T06:40:44.4314059Z    at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:91)
2023-07-10T06:40:44.4314824Z    at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:60)
2023-07-10T06:40:44.4315483Z    at io.quarkus.deployment.dev.testing.JunitTestRunner$2.run(JunitTestRunner.java:224)
2023-07-10T06:40:44.4316054Z    at io.quarkus.deployment.dev.testing.ModuleTestRunner$2.run(ModuleTestRunner.java:89)
2023-07-10T06:40:44.4316638Z    at io.quarkus.deployment.dev.testing.TestSupport.runInternal(TestSupport.java:462)
2023-07-10T06:40:44.4317177Z    at io.quarkus.deployment.dev.testing.TestSupport$3.run(TestSupport.java:382)
2023-07-10T06:40:44.4317599Z    at java.base/java.lang.Thread.run(Thread.java:829)
2023-07-10T06:40:44.4317998Z Caused by: java.lang.ClassNotFoundException: groovy.lang.Closure
2023-07-10T06:40:44.4318508Z    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
2023-07-10T06:40:44.4319083Z    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
2023-07-10T06:40:44.4319555Z    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
2023-07-10T06:40:44.4320114Z    at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:516)
2023-07-10T06:40:44.4320785Z    at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:466)
2023-07-10T06:40:44.4321220Z    ... 88 more
holly-cummins commented 1 year ago

Are you sure that it is not failing with the provider alone? Unless I miss something but we check closely to the log we can see: ...

Yes, that looks pretty bad. I guess I'd better make sure a test failure isn't being masked. The only way to check the tests ran is to count them, which is a bit brittle, but usually basically works.

essobedo commented 1 year ago

@all-contributors add @essobedo for code.

You forgot the magic word "please" 😅 , I think it should be "@all-contributors please add @essobedo for code"

allcontributors[bot] commented 1 year ago

@essobedo

I've put up a pull request to add @essobedo! :tada:

essobedo commented 1 year ago

Oops, I triggered it see, the doc https://allcontributors.org/docs/en/bot/usage But thanks for sharing, I've just used it for my extension