quarkus icon indicating copy to clipboard operation
quarkus copied to clipboard

Implementation of optimistic lock control to mongodb-panache, both reactive and non reactive

Open diogocarleto opened this issue 3 years ago • 25 comments

This PR is intent to bring optimist lock control to mongodb-panache, similar what we have in JPA/Hibernate. It is both supported for reactive and non reactive.

To use that we just need to use the annotation @Version in a entity field, such as:

public class Person {
  public String name

  @Version
  public Long version;
}

The optimistic lock control is supported for the methods persist/persistOrUpdate/update for one single entity or many entities, we can check that in the tests in io.quarkus.it.mongodb.panache.OptimisticLockControlRepositoryIntegrationTests and io.quarkus.it.mongodb.panache.OptimisticLockControlEntityIntegrationTests.

The changes mainly resides in io.quarkus.mongodb.panache.common.runtime.MongoOperations.

Like in jpa/hibernate, every persist/update will increment the version value. If an update fail a io.quarkus.mongodb.panache.common.exception.OptimisticLockException is raised, also similar to jpa/hibernate.

Let me know what do you think and improvements we should do here.

Fix #15124

diogocarleto avatar Sep 15 '22 15:09 diogocarleto

Thanks for your pull request!

The title of your pull request does not follow our editorial rules. Could you have a look?

  • title should not contain an issue number (use Fix #1234 in the description instead)

This message is automatically generated by a bot.

quarkus-bot[bot] avatar Sep 15 '22 15:09 quarkus-bot[bot]


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


Failing Jobs - Building e66648d9f2954a9e3a5f3833f4c900dd047b145c

Status Name Step Failures Logs Raw logs
Quickstarts Compilation - JDK 17 Compile Quickstarts Failures Logs Raw logs

Failures

:gear: Quickstarts Compilation - JDK 17 #

- Failing: optaplanner-quickstart 

:package: optaplanner-quickstart

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:build (default) on project optaplanner-quickstart: Failed to build quarkus application

quarkus-bot[bot] avatar Sep 16 '22 22:09 quarkus-bot[bot]


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


Failing Jobs - Building 7dbb71cf54ba8c764255d3748a41d7e497e53a64

Status Name Step Failures Logs Raw logs
Quickstarts Compilation - JDK 17 Compile Quickstarts Failures Logs Raw logs

Failures

:gear: Quickstarts Compilation - JDK 17 #

- Failing: optaplanner-quickstart 

:package: optaplanner-quickstart

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:build (default) on project optaplanner-quickstart: Failed to build quarkus application

quarkus-bot[bot] avatar Sep 18 '22 02:09 quarkus-bot[bot]


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


Failing Jobs - Building 98e685eaf7e8345e6b1f21ac062dcbabedaed68f

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
JVM Tests - JDK 18 Build Failures Logs Raw logs
Native Tests - Data4 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 #

- Failing: integration-tests/mongodb-rest-data-panache 

:package: integration-tests/mongodb-rest-data-panache

io.quarkus.it.mongodb.rest.data.panache.MongoDbRestDataPanacheTest.shouldNotCreateDuplicateBook line 194 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Expected status code <409> but was <500>.

:gear: JVM Tests - JDK 17 #

- Failing: integration-tests/mongodb-rest-data-panache 

:package: integration-tests/mongodb-rest-data-panache

io.quarkus.it.mongodb.rest.data.panache.MongoDbRestDataPanacheTest.shouldNotCreateDuplicateBook line 194 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Expected status code <409> but was <500>.

:gear: JVM Tests - JDK 18 #

- Failing: integration-tests/mongodb-rest-data-panache 

:package: integration-tests/mongodb-rest-data-panache

io.quarkus.it.mongodb.rest.data.panache.MongoDbRestDataPanacheTest.shouldNotCreateDuplicateBook line 194 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Expected status code <409> but was <500>.

:gear: Native Tests - Data4 #

- Failing: integration-tests/mongodb-rest-data-panache 

:package: integration-tests/mongodb-rest-data-panache

io.quarkus.it.mongodb.rest.data.panache.MongoDbRestDataPanacheIT.shouldNotCreateDuplicateBook - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Expected status code <409> but was <500>.

quarkus-bot[bot] avatar Sep 28 '22 19:09 quarkus-bot[bot]


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


Failing Jobs - Building af9326c8458c51f8b5360c203799d6427321a898

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

quarkus-bot[bot] avatar Sep 28 '22 20:09 quarkus-bot[bot]


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


Failing Jobs - Building d317f873a0eb019f4870dcb673bf54258692b2b6

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
JVM Tests - JDK 18 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 18 #

- Failing: integration-tests/mongodb-panache 

:package: integration-tests/mongodb-panache

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlEntityIntegrationTests.persistManyWithNullVersionAndSameId line 401 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <0> but was: <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

quarkus-bot[bot] avatar Sep 29 '22 15:09 quarkus-bot[bot]


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


Failing Jobs - Building 1901099839b0ba9a4c6a7ea45e7a29cc32ff00f4

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

quarkus-bot[bot] avatar Sep 29 '22 17:09 quarkus-bot[bot]


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


:no_entry_sign: This workflow run has been cancelled.

Failing Jobs - Building 273e47dbc3b040f23ccb140b4996c8ab141f092c

Status Name Step Failures Logs Raw logs
:hourglass: Initial JDK 11 Build :warning: Check → Logs Raw logs
:hourglass: Attach pull request number :warning: Check → Logs Raw logs
:hourglass: CI Sanity Check :warning: Check → Logs Raw logs

quarkus-bot[bot] avatar Sep 30 '22 10:09 quarkus-bot[bot]


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


Failing Jobs - Building 16713a8930aea239e95c952240c3da53687c3c1d

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
JVM Tests - JDK 11 Windows Build Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 Windows #

- Failing: integration-tests/mongodb-panache-kotlin 

:package: integration-tests/mongodb-panache-kotlin

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlRepositoryIntegrationTests.persistManyWithNullVersionAndSameId line 326 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <0> but was: <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

quarkus-bot[bot] avatar Sep 30 '22 11:09 quarkus-bot[bot]


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


Failing Jobs - Building 83c17802052f5ba11c47dec962c20e61d66e0ad6

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 17 #

- Failing: integration-tests/mongodb-panache 

:package: integration-tests/mongodb-panache

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlEntityIntegrationTests.persistManyWithNullVersionAndSameId line 401 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <0> but was: <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlEntityIntegrationTests.persistOrUpdateOneConcurrentReqs line 243 - More details - Source on GitHub

java.util.ServiceConfigurationError: org.eclipse.microprofile.context.spi.ThreadContextProvider: io.smallrye.context.jta.context.propagation.JtaContextProvider not a subtype
	at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593)
	at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1244)

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlEntityIntegrationTests.updateOneConcurrentReqs line 277 - More details - Source on GitHub

java.util.ServiceConfigurationError: org.eclipse.microprofile.context.spi.ThreadContextProvider: io.smallrye.context.jta.context.propagation.JtaContextProvider not a subtype
	at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593)
	at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1244)

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlRepositoryIntegrationTests.persistOrUpdateOneConcurrentReqs line 204 - More details - Source on GitHub

java.util.ServiceConfigurationError: org.eclipse.microprofile.context.spi.ThreadContextProvider: io.smallrye.context.jta.context.propagation.JtaContextProvider not a subtype
	at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593)
	at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1244)

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlRepositoryIntegrationTests.updateOneConcurrentReqs line 237 - More details - Source on GitHub

java.util.ServiceConfigurationError: org.eclipse.microprofile.context.spi.ThreadContextProvider: io.smallrye.context.jta.context.propagation.JtaContextProvider not a subtype
	at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593)
	at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1244)

quarkus-bot[bot] avatar Sep 30 '22 14:09 quarkus-bot[bot]


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


Failing Jobs - Building 1fcb029c0e31edfe00aaf31e86348431745c1d0a

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

quarkus-bot[bot] avatar Sep 30 '22 15:09 quarkus-bot[bot]


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


Failing Jobs - Building cb529a5869a1a970de6f46a61bf1bf792f5519f4

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

quarkus-bot[bot] avatar Sep 30 '22 17:09 quarkus-bot[bot]


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


Failing Jobs - Building 08e28567cee5555e79599e80f91db78468814731

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
JVM Tests - JDK 11 Windows Build Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 Windows #

- Failing: integration-tests/mongodb-panache 

:package: integration-tests/mongodb-panache

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlRepositoryIntegrationTests.persistManyWithNullVersionAndSameId line 354 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <0> but was: <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

quarkus-bot[bot] avatar Oct 01 '22 11:10 quarkus-bot[bot]


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


Failing Jobs - Building 7f2e9628590d4b3b01f28a27918301f0ddc35e24

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 #

- Failing: integration-tests/mongodb-panache-kotlin 

:package: integration-tests/mongodb-panache-kotlin

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlRepositoryIntegrationTests.persistManyWithNullVersionAndSameId line 326 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <0> but was: <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

quarkus-bot[bot] avatar Oct 01 '22 12:10 quarkus-bot[bot]


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


Failing Jobs - Building acbf28ef1356794b1909cccd27a1b80ea7693b20

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

quarkus-bot[bot] avatar Oct 03 '22 10:10 quarkus-bot[bot]


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


Failing Jobs - Building 8f66a6c92374a67a646f6874dd1a9304f26b1327

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

quarkus-bot[bot] avatar Oct 03 '22 16:10 quarkus-bot[bot]


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


Failing Jobs - Building 0d65c2c32d30b69f6a446788a409520843f8443d

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

quarkus-bot[bot] avatar Oct 04 '22 13:10 quarkus-bot[bot]


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


Failing Jobs - Building a19eee1d90fdb0e4d82fa3ce985f4b237f893b56

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Add quarkusio remote :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

quarkus-bot[bot] avatar Oct 05 '22 03:10 quarkus-bot[bot]


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


Failing Jobs - Building 7258b4a52875b391cdc5beecd98dcbb92bfe7d3b

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

quarkus-bot[bot] avatar Oct 06 '22 22:10 quarkus-bot[bot]


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


Failing Jobs - Building f55489452d621e71ed13563f0d7012f4574321e3

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

quarkus-bot[bot] avatar Oct 07 '22 22:10 quarkus-bot[bot]


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


Failing Jobs - Building 4bbd5c036f69b4a169d0db1fb32541cb92d0bd5a

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

quarkus-bot[bot] avatar Oct 10 '22 12:10 quarkus-bot[bot]


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


Failing Jobs - Building 32bcda20355d267225089993d4adb967dbf5c5a1

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Set up runner :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

quarkus-bot[bot] avatar Oct 12 '22 13:10 quarkus-bot[bot]


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


Failing Jobs - Building b91bb7369bf61913525641dd2381004d057e439a

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
JVM Tests - JDK 17 Build Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 17 MacOS M1
JVM Tests - JDK 18 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 17 #

- Failing: integration-tests/mongodb-panache 

:package: integration-tests/mongodb-panache

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlEntityIntegrationTests.persistOrUpdateManyWithVersion line 471 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <1> but was: <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

:gear: JVM Tests - JDK 18 #

- Failing: integration-tests/mongodb-panache 

:package: integration-tests/mongodb-panache

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlEntityIntegrationTests.persistOrUpdateManyWithVersion line 471 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <1> but was: <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

quarkus-bot[bot] avatar Oct 14 '22 16:10 quarkus-bot[bot]


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


Failing Jobs - Building 511f1d164ecb46bf9f162a43c622c04b440e00df

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
JVM Tests - JDK 17 Build Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 17 MacOS M1
:heavy_check_mark: JVM Tests - JDK 18

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 17 #

- Failing: integration-tests/mongodb-panache 

:package: integration-tests/mongodb-panache

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlEntityIntegrationTests.persistOrUpdateManyWithVersion line 471 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <1> but was: <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

quarkus-bot[bot] avatar Oct 14 '22 21:10 quarkus-bot[bot]


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


Failing Jobs - Building 7573c267a37f35a7b2fc99b25701d15f0bebc4d4

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Build Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 17 MacOS M1 #

- Failing: integration-tests/mongodb-panache 

:package: integration-tests/mongodb-panache

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlRepositoryIntegrationTests.persistManyWithNullVersionAndSameId line 354 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <0> but was: <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

quarkus-bot[bot] avatar Oct 15 '22 05:10 quarkus-bot[bot]


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


Failing Jobs - Building de39d4a634a1e61f5f2c81f2ba4ed89aa7867495

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
:heavy_check_mark: JVM Tests - JDK 17 MacOS M1
JVM Tests - JDK 18 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 18 #

- Failing: integration-tests/mongodb-panache 

:package: integration-tests/mongodb-panache

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlEntityIntegrationTests.persistOrUpdateManyWithVersion line 471 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <1> but was: <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

quarkus-bot[bot] avatar Oct 17 '22 20:10 quarkus-bot[bot]


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


Failing Jobs - Building cd2e2ea819841d2f53dd75ae71bcfba73439a30a

Status Name Step Failures Logs Raw logs
Initial JDK 11 Build Build Failures Logs Raw logs

Failures

:gear: Initial JDK 11 Build #

- Failing: integration-tests/mongodb-panache 

:package: integration-tests/mongodb-panache

Failed to execute goal net.revelc.code:impsort-maven-plugin:1.7.0:check (check-imports) on project quarkus-integration-test-mongodb-panache: Imports are not sorted in /home/runner/work/quarkus/quarkus/integration-tests/mongodb-panache/src/test/java/io/quarkus/it/mongodb/panache/reactive/ReactiveOptimisticLockControlEntityIntegrationTests.java

quarkus-bot[bot] avatar Oct 18 '22 13:10 quarkus-bot[bot]


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


:no_entry_sign: This workflow run has been cancelled.

Failing Jobs - Building 4933d489db1926615bf1ab7c2ba35f1ef77f6c32

Status Name Step Failures Logs Raw logs
:hourglass: Initial JDK 11 Build :warning: Check → Logs Raw logs
:hourglass: Attach pull request number :warning: Check → Logs Raw logs
:hourglass: CI Sanity Check :warning: Check → Logs Raw logs

quarkus-bot[bot] avatar Oct 18 '22 13:10 quarkus-bot[bot]


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


Failing Jobs - Building 550a2effcf5d1c61099990394a0f38a4f7f4aa69

Status Name Step Failures Logs Raw logs
Initial JDK 11 Build Build Failures Logs Raw logs

Failures

:gear: Initial JDK 11 Build #

- Failing: integration-tests/mongodb-panache 

:package: integration-tests/mongodb-panache

Failed to execute goal net.revelc.code:impsort-maven-plugin:1.7.0:check (check-imports) on project quarkus-integration-test-mongodb-panache: Imports are not sorted in /home/runner/work/quarkus/quarkus/integration-tests/mongodb-panache/src/test/java/io/quarkus/it/mongodb/panache/reactive/ReactiveOptimisticLockControlEntityIntegrationTests.java

quarkus-bot[bot] avatar Oct 18 '22 14:10 quarkus-bot[bot]


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


Failing Jobs - Building 3db01f00f88688abead5b1915978b2b6fc1531da

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 17 MacOS M1 Build Failures Logs Raw logs
JVM Tests - JDK 18 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 #

- Failing: integration-tests/mongodb-panache 

:package: integration-tests/mongodb-panache

io.quarkus.it.mongodb.panache.OptimisticLockControlEntityIntegrationTests.persistOrUpdateManyWithVersion line 403 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <1> but was: <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

:gear: JVM Tests - JDK 17 #

- Failing: integration-tests/mongodb-panache 

:package: integration-tests/mongodb-panache

io.quarkus.it.mongodb.panache.OptimisticLockControlEntityIntegrationTests.persistOrUpdateManyWithVersion line 403 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <1> but was: <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

:gear: JVM Tests - JDK 17 MacOS M1 #

- Failing: integration-tests/mongodb-panache 

:package: integration-tests/mongodb-panache

io.quarkus.it.mongodb.panache.reactive.ReactiveOptimisticLockControlRepositoryIntegrationTests.persistOrUpdateOneConcurrentReqs line 219 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <1> but was: <0>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

:gear: JVM Tests - JDK 18 #

- Failing: integration-tests/mongodb-panache 

:package: integration-tests/mongodb-panache

io.quarkus.it.mongodb.panache.OptimisticLockControlEntityIntegrationTests.persistOrUpdateManyWithVersion line 403 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <1> but was: <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

quarkus-bot[bot] avatar Oct 21 '22 07:10 quarkus-bot[bot]