it-at-m / digiwf-core

central workflow automation and integration platform based on the free process framework Camunda.
MIT License
19 stars 7 forks source link

Build pipeline fails with test errors #803

Closed lmoesle closed 6 months ago

lmoesle commented 11 months ago

Intermittent Test Failures in digiwf-engine related to Database Operation 'create'

Description:

In the digiwf-engine application, we are occasionally experiencing test failures, especially in the VorgangZAlegenTemplateTest.shouldExecuteWithVorgangGesperrt test. The test fails due to a database operation ('create' action) on the schema.

Error Log:

[ERROR]   VorgangZAlegenTemplateTest.shouldExecuteWithVorgangGesperrt » ProcessEngine ENGINE-03017 Could not perform operation 'create' on database schema for SQL Statement: 'create table ACT_HI_PROCINST ( ... )'.
[INFO] 
[ERROR] Tests run: 70, Failures: 0, Errors: 26, Skipped: 0
[INFO] 

Steps to Reproduce:

  1. Run the test suite in digiwf-engine - mvn clean verify two times in parallel
  2. Observe intermittent test failures in e.g. VorgangZAlegenTemplateTest.

Expected Result:

All tests, including VorgangZAlegenTemplateTest, should pass consistently without any errors.

Actual Result:

The VorgangZAlegenTemplateTest.shouldExecuteWithVorgangGesperrt test intermittently fails with an error related to a 'create' database operation.

Additional Information:

darenegade commented 10 months ago

@zambrovski Hier ist das Issue zur Pipe

darenegade commented 8 months ago

Timebox 1 Tag Fehlersuche - Wenn der Fehler nicht gefunden wird, dann erstmal per Retry umgehen (Flaky-Test Bib)

simonhir commented 7 months ago

Issue from camunda library with the same problem: https://github.com/camunda/camunda-bpm-spring-boot-starter/issues/61 In the testing documentation there is mentioned that ProvidedProcessEngineRule should be used. See https://github.com/camunda/camunda-bpm-platform/blob/master/TESTING.md