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

[KOGITO-5823] Supporting uppercase properties #3210

Merged
merged 3 commits into from
Sep 5, 2023

Conversation

fjtirado
Copy link
Contributor

@fjtirado fjtirado commented Sep 1, 2023

BeanInstrospector does not work with uppercase (both Message and message fields are mapped to message property, hence the issue). Lets take benefit that the generated code is annotated with JsonProperty annotation with the right case and use jackson for serialization/deserialization of Map into Model and Model into Map.
@tarilabs Im including you because as core Java developer your feedback is appreciated
I commented some of the decissions inline in the code.

* clashes with a predefined Java keyword (e.g. `static`)
*/
private static final String VAR_PREFIX = "v$";
private static final ObjectMapper mapper = JsonMapper.builder().disable(MapperFeature.AUTO_DETECT_CREATORS,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are only using JsonPRoperty annotated fields, see for example the generated model class from codegen

@org.kie.kogito.codegen.Generated(value = "kogito-codegen", reference = "scripts", name = "Scripts", hidden = false)
public class ScriptsModel implements org.kie.kogito.Model, MapInput, MapInputId, MapOutput, MappableToModel<ScriptsModelOutput> {

    private String id;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return this.id;
    }

    @org.kie.kogito.codegen.VariableInfo(tags = "")
    @com.fasterxml.jackson.annotation.JsonProperty(value = "Message")
    @javax.validation.Valid()
    private java.lang.String Message;

    public java.lang.String getMessage() {
        return Message;
    }

    public void setMessage(java.lang.String Message) {
        this.Message = Message;
    }

    @org.kie.kogito.codegen.VariableInfo(tags = "")
    @com.fasterxml.jackson.annotation.JsonProperty(value = "name")
    @javax.validation.Valid()
    private java.lang.String name;

    public java.lang.String getName() {
        return name;
    }

    public void setName(java.lang.String name) {
        this.name = name;
    }

    @Override()
    public ScriptsModelOutput toModel() {
        ScriptsModelOutput result = new ScriptsModelOutput();
        result.setId(getId());
        result.setMessage(getMessage());
        result.setName(getName());
        return result;
    }
}

if (jsonAnnotation != null) {
String name = jsonAnnotation.value();
if (map.containsKey(name)) {
field.setAccessible(true);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The setter is ignored to use the field, but they are equivalent, therefore same result expected

"No `id` property found for class `%s`. Have you defined getters and setters?",
m.getClass().getCanonicalName()));
} catch (IntrospectionException | ReflectiveOperationException e) {
m.getClass().getMethod("setId", String.class).invoke(m, id);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming there is always a setId method in the model class


for (Map.Entry<String, PropertyDescriptor> e : descriptors.entrySet()) {
String k = e.getKey();
if (isIdentifier(k)) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Id is not annotated, so not specific logic to handle it is longer needed

LOGGER.trace("Models#toMap: Skipping `id` property for class `{}`", m.getClass().getCanonicalName());
continue;
}
k = unprefixVar(k);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are using the JacksonProperty name (which matched the map one), so not need to handle $vprefix either

@tarilabs
Copy link
Member

tarilabs commented Sep 1, 2023

Thank you for including me, but I feel this kind of overall decisions/improvements should also be oversight by @baldimir as Tech Lead for DMN as for the impact it has on integration of process and decisions for DMN models and case sensitivity of FEEL/DMN identifiers.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 1, 2023

(tests) - kogito-springboot-examples job #1456 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-examples -u https://github.com/kiegroup/kogito-runtimes/pull/3210 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-springboot-examples/1456/display/redirect

Test results:

  • PASSED: 78
  • FAILED: 52

Those are the test failures:

org.kie.kogito.flexible.example.springboot.ServiceDeskProcessTest.testSupportCaseExample 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessNewUserUS 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessUserAlreadyExists 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travels.PersonsProcessTest.testAdult No serializer found for class org.acme.travels.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.PersonsModel["person"])
org.acme.travels.PersonsProcessTest.testChild No serializer found for class org.acme.travels.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.PersonsModel["person"])
org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestWIHDecisionOnSprinboot 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestServiceDecisionOnSprinboot 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnQuarkus 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnSprinboot 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travel.tests.multimessaging.springboot.MultiMessagingIT.testProcess expected: <0> but was: <3>
org.acme.travel.tests.messaging.springboot.MessagingIT.testProcess expected: <0> but was: <3>
org.kie.kogito.examples.springboot.ProcessMetricsTest.testProcessMetricsSpringboot 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.springboot.outbox.OutboxIT.testSendProcessEvents 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travels.springboot.TravellersProcessTest.testOrderProcess No serializer found for class org.acme.travels.springboot.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.TravellersModel["traveller"])
org.kie.kogito.examples.demo.OrdersProcessIT.testOrderProcess No serializer found for class org.kie.kogito.examples.demo.Order and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.OrdersModel["order"])
org.kie.kogito.examples.demo.OrdersProcessIT.testOrderProcessWithError No serializer found for class org.kie.kogito.examples.demo.Order and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.OrdersModel["order"])
org.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithErrorRest 1 expectation failed.
Expected status code <500> but was <400>.
org.kie.kogito.examples.demo.OrdersRestIT.testOrdersRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.OrdersRestIT.testCreateAndUpdateOrders 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithOrderItemsAbortedRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithOrderItemsRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.PersonProcessIT.testChildWithSecurityPolicy No serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])
org.kie.kogito.examples.demo.PersonProcessIT.testChildWithSecurityPolicyNotAuthorized No serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])
org.kie.kogito.examples.demo.PersonProcessIT.testPersonsProcessIsAdult No serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])
org.kie.kogito.examples.demo.PersonProcessIT.testPersonsProcessIsChild No serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicyAndLifeCycles 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestRetriggerNodeViaMgmtInterface 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.PersonsRestIT.testAdultPersonsRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.PersonsRestIT.testPersonsRestStartFromUserTask 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestCancelAndTriggerNodeViaMgmtInterface 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicyNotAuthorized 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestAbortViaMgmtInterface 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicy 1 expectation failed.
Expected status code <201> but was <400>.
org.acme.travels.custom.lifecycle.springboot.ApprovalsProcessTest.testApprovalProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.custom.lifecycle.springboot.ApprovalsProcessTest.testApprovalProcessViaPhases No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.ApprovalsTestIT.testApprovalProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.ApprovalsTestIT.testApprovalProcessViaPhases No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.springboot.ApprovalsProcessTest.testApprovalProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.springboot.ApprovalsProcessTest.testApprovalProcessViaPhases No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.ApprovalsProcessTestIT.testApprovalProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.ApprovalsProcessTestIT.testApprovalProcessViaPhases No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized 1 expectation failed.
Expected status code <201> but was <400>.
Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travels.security.oidc.springboot.ApprovalsProcessTest.testApprovalProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.security.oidc.springboot.ApprovalsProcessTest.testApprovalProcessViaPhases No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.security.springboot.ApprovalsProcessTest.testApprovalProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.security.springboot.ApprovalsProcessTest.testApprovalProcessViaPhases No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.security.springboot.ApprovalsRestTest.testStartApprovalAuthorized 1 expectation failed.
Expected status code <201> but was <500>.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 1, 2023

(tests) - serverless-workflow-examples job #1437 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-examples -u https://github.com/kiegroup/kogito-runtimes/pull/3210 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.serverless-workflow-examples/1437/display/redirect

Test results:

  • PASSED: 81
  • FAILED: 1

Those are the test failures:

org.kogito.serverless.examples.CountryServiceWorkflowTest.testJsonServiceCallWorkflow expected: <2> but was: <5>

@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 1, 2023

(tests) - kogito-runtimes job #3146 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-runtimes -u https://github.com/kiegroup/kogito-runtimes/pull/3210 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/3146/display/redirect

Test results:

  • PASSED: 3256
  • FAILED: 69

Those are the test failures:

org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBasicBusinessRuleTask No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.BusinessRuleTaskModel["person"])
org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBusinessRuleTaskWithIOExpression No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.BusinessRuleTaskModel["person"])
org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBasicBusinessRuleTaskWithAgendaListener No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.BusinessRuleTaskModel["person"])
org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBasicBusinessRuleTaskControlledByUnitOfWork No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.BusinessRuleTaskModel["person"])
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitWithAgendaListener(String)[1] No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.codegen.tests.BusinessRuleUnitModel["person"])
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitWithAgendaListener(String)[2] No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.codegen.tests.BusinessRuleUnitModel["person"])
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnit(String)[1] No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.codegen.tests.BusinessRuleUnitModel["person"])
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnit(String)[2] No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.codegen.tests.BusinessRuleUnitModel["person"])
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitControlledByUnitOfWork(String)[1] No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.codegen.tests.BusinessRuleUnitModel["person"])
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitControlledByUnitOfWork(String)[2] No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.codegen.tests.BusinessRuleUnitModel["person"])
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.ioMappingAutoGeneratedRuleUnit No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: ruletask.ExampleGeneratedModel["singlePerson"])
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testSettingOtherVariableFromAutoGeneratedRuleUnit No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: ruletask.ExampleGeneratedModel["singlePerson"])
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.inputMappingNullCollection No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: ruletask.ExamplePModel["singlePerson"])
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.outputMappingNullCollection No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: ruletask.ExamplePModel["singlePerson"])
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testRemovingOtherVariableFromAutoGeneratedRuleUnit No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: ruletask.ExampleGeneratedModel["singlePerson"])
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.ioMapping No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: ruletask.ExamplePModel["singlePerson"])
org.kie.kogito.codegen.rules.PublishEventBusinessRuleIT.testBusinessRuleProcessStartToEndWithVariableTracked No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.BusinessRuleTaskModel["person"])
org.kie.kogito.codegen.rules.PublishEventBusinessRuleIT.testBusinessRuleProcessStartToEndAbortOfUoW No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.BusinessRuleTaskModel["person"])
org.kie.kogito.codegen.rules.PublishEventBusinessRuleIT.testBusinessRuleProcessStartToEnd No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.BusinessRuleTaskModel["person"])
org.kie.kogito.codegen.tests.CallActivityTaskIT.testCallActivityTaskWithExpressionsForIO No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.drools.bpmn2.ParentProcessModel["person"])
org.kie.kogito.codegen.tests.CallActivityTaskIT.testCallActivityTaskWithExpressionsForIONested No serializer found for class org.kie.kogito.codegen.data.PersonWithAddress and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.drools.bpmn2.ParentProcessModel["person"])
org.kie.kogito.codegen.tests.EmbeddedSubProcessIT.testEmbeddedSubProcessWithUserTaskAndVariableScopes No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.drools.bpmn2.EmbeddedWithUserTaskModel["person"])
org.kie.kogito.codegen.tests.EmbeddedSubProcessIT.testEmbeddedSubProcess No serializer found for class org.drools.bpmn2.SubProcessModel and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)
org.kie.kogito.codegen.tests.EventSubProcessIT.testEventSignalSubProcessWithData No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.EventSubprocessSignalModel["person"])
org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testBasicServiceWorkflow(String)[1]
expected: 2
but was: 5
org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testBasicServiceWorkflow(String)[2]
expected: 2
but was: 5
org.kie.kogito.codegen.tests.TimerEventIT.testBoundaryDurationTimerEventOnSubProcess No serializer found for class org.drools.bpmn2.TimerBoundaryEventModel and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)
org.kie.kogito.codegen.tests.TimerEventIT.testBoundaryDurationTimerEventOnTask No serializer found for class org.drools.bpmn2.TimerBoundaryEventModel and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)
org.kie.kogito.codegen.tests.TimerEventIT.testBoundaryCycleTimerEventOnTask No serializer found for class org.drools.bpmn2.TimerBoundaryEventModel and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)
org.kie.kogito.codegen.tests.UserTaskIT.testUserTaskWithIOexpressionProcess No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.drools.bpmn2.UserTaskModel["person"])
org.kie.kogito.quarkus.jbpm.OrdersProcessIT.testOrdersRest 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.StatefulProcessResourceTest.updateProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.StatefulProcessResourceTest.completeTask No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.StatefulProcessResourceTest.getProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.StatefulProcessResourceTest.abortProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.StatefulProcessResourceTest.completeProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.StatefulProcessResourceTest.signalTaskProcess No serializer found for class com.example.Payload and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.example.FlexibleModel["test"])
org.acme.StatefulProcessResourceTest.completeProcessTask No serializer found for class com.example.Payload and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.example.SignalModel["test"])
org.acme.StatefulProcessResourceTest.createProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.PersonProcessTest.testAdult No serializer found for class org.acme.travels.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.PersonsModel["person"])
org.acme.travels.PersonProcessTest.testChild No serializer found for class org.acme.travels.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.PersonsModel["person"])
org.kie.kogito.it.FilesystemPersistenceIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
Build projects / org.kie.kogito.it.InfinispanOptimisticLockingIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
Build projects / org.kie.kogito.it.InfinispanOptimisticLockingIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
Build projects / org.kie.kogito.it.InfinispanPersistenceIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
Build projects / org.kie.kogito.it.InfinispanPersistenceIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.it.JDBCOptimisticLockingIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.it.JDBCPersistenceIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.it.KafkaPersistenceIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.it.MongoDBOptimisticLockingIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.it.MongoDBPersistenceIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.it.PostgreSQLPersistenceIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.reactive.ProcessIT.testStartProcess 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.integrationtests.quarkus.EnumsIT.testSubmitMovie 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.ProcessEventIT.testSaveTask 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.ProcessIT.testStartProcess 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.TaskIT.testSaveTask 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.TaskIT.testUpdateTaskInfo 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.TaskIT.testUpdateExcludedUsers 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.TaskIT.testJsonSchema 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.TaskIT.testCommentAndAttachment 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.springboot.EnumsTest.testSubmitMovie 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.springboot.ProcessTest.testStartProcess 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.springboot.TaskTest.testSaveTask 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.springboot.TaskTest.testUpdateTaskInfo 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.springboot.TaskTest.testUpdateExcludedUsers 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.springboot.TaskTest.testJsonSchema 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.springboot.TaskTest.testCommentAndAttachment 1 expectation failed.
Expected status code <201> but was <400>.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 1, 2023

(tests) - kogito-quarkus-examples job #1448 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-examples -u https://github.com/kiegroup/kogito-runtimes/pull/3210 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-quarkus-examples/1448/display/redirect

Test results:

  • PASSED: 102
  • FAILED: 65

Those are the test failures:

org.kie.kogito.flexible.example.quarkus.ServiceDeskProcessTest.testSupportCaseExample 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travel.BookFlightTest.testBookingFlight No serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.FlightBookingModel["trip"])
org.acme.travel.BookHotelTest.testBookingHotel No serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.HotelBookingModel["trip"])
org.acme.travel.TravelTest.testTravelVisaRequired No serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.TravelsModel["trip"])
org.acme.travel.TravelTest.testTravelNoVisaRequired No serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.TravelsModel["trip"])
org.acme.travel.BookFlightIT.testBookingFlight No serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.FlightBookingModel["trip"])
org.acme.travel.BookHotelIT.testBookingHotel No serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.HotelBookingModel["trip"])
org.acme.travel.TravelIT.testTravelVisaRequired No serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.TravelsModel["trip"])
org.acme.travel.TravelIT.testProcessMetrics No serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.TravelsModel["trip"])
org.acme.travel.TravelIT.testTravelNoVisaRequired No serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.TravelsModel["trip"])
org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessNewUserUS 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessUserAlreadyExists 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travels.PersonProcessTest.testAdult No serializer found for class org.acme.travels.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.PersonsModel["person"])
org.acme.travels.PersonProcessTest.testChild No serializer found for class org.acme.travels.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.PersonsModel["person"])
Build projects / org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnQuarkus 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestServiceDecisionOnQuarkus 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestWIHDecisionOnQuarkus 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnQuarkus 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travel.tests.avro.quarkus.MultiMessagingIT.testProcess expected: <0> but was: <3>
org.acme.travel.tests.multimessaging.quarkus.MultiMessagingIT.testProcess expected: <0> but was: <3>
org.acme.travel.tests.messaging.quarkus.MessagingIT.testProcess expected: <0> but was: <3>
org.acme.travel.CloudEventListenerTest.checkStartNewProcessInstanceWithCE Assertion condition defined as a org.acme.travel.CloudEventListenerTest Expected at least one request matching: {
"url" : "/",
"method" : "POST",
"headers" : {
"Content-Type" : {
"contains" : "application/cloudevents+json"
}
},
"bodyPatterns" : [ {
"contains" : "[email protected]"
}, {
"contains" : "\"source\":\"/process/Travelers\""
} ]
}
Requests received: [ ] within 2 seconds.
org.acme.travel.CloudEventListenerTest.checkStartNewProcessInstanceWithSourceField Assertion condition defined as a org.acme.travel.CloudEventListenerTest Expected at least one request matching: {
"url" : "/",
"method" : "POST",
"headers" : {
"Content-Type" : {
"contains" : "application/cloudevents+json"
}
},
"bodyPatterns" : [ {
"contains" : "[email protected]"
}, {
"contains" : "\"source\":\"/process/Travelers\""
} ]
}
Requests received: [ ] within 2 seconds.
org.kie.kogito.examples.quarkus.ProcessMetricsTest.testProcessMetricsQuarkus No serializer found for class org.kie.kogito.examples.quarkus.demo.Order and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.quarkus.OrdersModel["order"])
org.kie.kogito.quarkus.outbox.OutboxIT.testSendProcessEvents 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.examples.OrdersProcessIT.testOrderProcess No serializer found for class org.kie.kogito.examples.demo.Order and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.OrdersModel["order"])
org.kie.kogito.examples.OrdersProcessIT.testOrderProcessWithError No serializer found for class org.kie.kogito.examples.demo.Order and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.OrdersModel["order"])
org.kie.kogito.examples.OrdersRestIT.testOrdersWithErrorRest 1 expectation failed.
Expected status code <500> but was <400>.
org.kie.kogito.examples.OrdersRestIT.testOrdersRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.OrdersRestIT.testCreateAndUpdateOrders 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.OrdersRestIT.testOrdersWithOrderItemsAbortedRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.OrdersRestIT.testOrdersWithOrderItemsRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.PersonProcessIT.testAdult No serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])
org.kie.kogito.examples.PersonProcessIT.testChild No serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])
org.kie.kogito.examples.PersonProcessIT.testChildWithSecurityPolicy No serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])
org.kie.kogito.examples.PersonProcessIT.testChildWithSecurityPolicyNotAuthorized No serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicyAndLifeCycles 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestRetriggerNodeViaMgmtInterface 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.PersonsRestIT.testAdultPersonsRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.PersonsRestIT.testPersonsRestStartFromUserTask 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestCancelAndTriggerNodeViaMgmtInterface 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicyNotAuthorized 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestAbortViaMgmtInterface 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicy 1 expectation failed.
Expected status code <201> but was <400>.
org.acme.travels.quarkus.TravellersProcessTest.testNewTraveller No serializer found for class org.acme.travels.quarkus.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.TravellersModel["traveller"])
org.acme.travels.custom.lifecycle.quarkus.ApprovalsProcessTest.testApprovalProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.custom.lifecycle.quarkus.ApprovalsProcessTest.testApprovalProcessViaPhases No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
Build projects / org.kie.kogito.hr.HiringProcessIT.testApprovalProcess No serializer found for class org.kie.kogito.hr.Candidate and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.hr.HiringModel["candidate"])
Build projects / org.kie.kogito.hr.HiringProcessIT.testApprovalProcess No serializer found for class org.kie.kogito.hr.Candidate and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.hr.HiringModel["candidate"])
org.acme.travels.quarkus.ApprovalsProcessTest.testApprovalProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.quarkus.ApprovalsProcessTest.testApprovalProcessViaPhases No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
Build projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
Build projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcessViaPhases No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
Build projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
Build projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcessViaPhases No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized 1 expectation failed.
Expected status code <201> but was <400>.
Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travels.security.quarkus.ApprovalsProcessTest.testApprovalProcess No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.security.quarkus.ApprovalsProcessTest.testApprovalProcessViaPhases No serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])
org.acme.travels.security.quarkus.ApprovalsRestTest.testStartApprovalAuthorized 1 expectation failed.
Expected status code <201> but was <500>.

@fjtirado fjtirado marked this pull request as draft September 1, 2023 12:07
@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 1, 2023

(tests) - kogito-apps job #3095 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-apps -u https://github.com/kiegroup/kogito-runtimes/pull/3210 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-apps/3095/display/redirect

Test results:

  • PASSED: 2782
  • FAILED: 13

Those are the test failures:

org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanHttpIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanKafkaIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBHttpIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBKafkaIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.oracle.ProcessDataIndexOracleKafkaIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlKafkaIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.ProcessDataIndexInfinispanIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.ProcessDataIndexPostgreSqlIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.

BeanInstrospector does not work with uppercase. Lets take benefit that
the generated code is annotated with JsonProperty and use jackson for
serialization/deserialization of Map into Model and Model into Map
@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 1, 2023

(tests) - kogito-springboot-examples job #1457 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-examples -u https://github.com/kiegroup/kogito-runtimes/pull/3210 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-springboot-examples/1457/display/redirect

Test results:

  • PASSED: 78
  • FAILED: 52

Those are the test failures:

org.kie.kogito.flexible.example.springboot.ServiceDeskProcessTest.testSupportCaseExample 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessNewUserUS 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessUserAlreadyExists 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travels.PersonsProcessTest.testAdult expected: <2> but was: <1>
org.acme.travels.PersonsProcessTest.testChild class java.util.LinkedHashMap cannot be cast to class org.acme.travels.Person (java.util.LinkedHashMap is in module java.base of loader 'bootstrap'; org.acme.travels.Person is in unnamed module of loader 'app')
org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestWIHDecisionOnSprinboot 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestServiceDecisionOnSprinboot 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnQuarkus 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnSprinboot 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travel.tests.multimessaging.springboot.MultiMessagingIT.testProcess expected: <0> but was: <3>
org.acme.travel.tests.messaging.springboot.MessagingIT.testProcess expected: <0> but was: <3>
org.kie.kogito.examples.springboot.ProcessMetricsTest.testProcessMetricsSpringboot 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.springboot.outbox.OutboxIT.testSendProcessEvents 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travels.springboot.TravellersProcessTest.testOrderProcess Can not set org.acme.travels.springboot.Traveller field org.acme.travels.TravellersModel.traveller to java.util.LinkedHashMap
org.kie.kogito.examples.demo.OrdersProcessIT.testOrderProcess Can not set org.kie.kogito.examples.demo.Order field org.kie.kogito.examples.OrdersModel.order to java.util.LinkedHashMap
org.kie.kogito.examples.demo.OrdersProcessIT.testOrderProcessWithError Can not set org.kie.kogito.examples.demo.Order field org.kie.kogito.examples.OrdersModel.order to java.util.LinkedHashMap
org.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithErrorRest 1 expectation failed.
Expected status code <500> but was <400>.
org.kie.kogito.examples.demo.OrdersRestIT.testOrdersRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.OrdersRestIT.testCreateAndUpdateOrders 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithOrderItemsAbortedRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithOrderItemsRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.PersonProcessIT.testChildWithSecurityPolicy Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.demo.PersonProcessIT.testChildWithSecurityPolicyNotAuthorized Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.demo.PersonProcessIT.testPersonsProcessIsAdult Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.demo.PersonProcessIT.testPersonsProcessIsChild Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicyAndLifeCycles Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestRetriggerNodeViaMgmtInterface Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.demo.PersonsRestIT.testAdultPersonsRest Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.demo.PersonsRestIT.testPersonsRestStartFromUserTask Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestCancelAndTriggerNodeViaMgmtInterface 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicyNotAuthorized 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestAbortViaMgmtInterface 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicy 1 expectation failed.
Expected status code <201> but was <400>.
org.acme.travels.custom.lifecycle.springboot.ApprovalsProcessTest.testApprovalProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.custom.lifecycle.springboot.ApprovalsProcessTest.testApprovalProcessViaPhases Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.ApprovalsTestIT.testApprovalProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.ApprovalsTestIT.testApprovalProcessViaPhases Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.springboot.ApprovalsProcessTest.testApprovalProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.springboot.ApprovalsProcessTest.testApprovalProcessViaPhases Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.ApprovalsProcessTestIT.testApprovalProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.ApprovalsProcessTestIT.testApprovalProcessViaPhases Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized 1 expectation failed.
Expected status code <201> but was <400>.
Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travels.security.oidc.springboot.ApprovalsProcessTest.testApprovalProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.security.oidc.springboot.ApprovalsProcessTest.testApprovalProcessViaPhases Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.security.springboot.ApprovalsProcessTest.testApprovalProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.security.springboot.ApprovalsProcessTest.testApprovalProcessViaPhases Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.security.springboot.ApprovalsRestTest.testStartApprovalAuthorized 1 expectation failed.
Expected status code <201> but was <500>.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 1, 2023

(tests) - kogito-runtimes job #3148 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-runtimes -u https://github.com/kiegroup/kogito-runtimes/pull/3210 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/3148/display/redirect

Test results:

  • PASSED: 3260
  • FAILED: 65

Those are the test failures:

org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBasicBusinessRuleTask
Expecting
{}
to have a property or a field named "adult"
(static and synthetic fields are ignored)
org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBusinessRuleTaskWithIOExpression Can not set org.kie.kogito.codegen.data.Person field defaultPackage.BusinessRuleTaskModel.person to java.util.LinkedHashMap
org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBasicBusinessRuleTaskWithAgendaListener
Expecting
{}
to have a property or a field named "adult"
(static and synthetic fields are ignored)
org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBasicBusinessRuleTaskControlledByUnitOfWork
Expecting
{}
to have a property or a field named "adult"
(static and synthetic fields are ignored)
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitWithAgendaListener(String)[1] Can not set org.kie.kogito.codegen.data.Person field org.kie.kogito.codegen.tests.BusinessRuleUnitModel.person to java.util.LinkedHashMap
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitWithAgendaListener(String)[2] Can not set org.kie.kogito.codegen.data.Person field org.kie.kogito.codegen.tests.BusinessRuleUnitModel.person to java.util.LinkedHashMap
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnit(String)[1] Can not set org.kie.kogito.codegen.data.Person field org.kie.kogito.codegen.tests.BusinessRuleUnitModel.person to java.util.LinkedHashMap
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnit(String)[2] Can not set org.kie.kogito.codegen.data.Person field org.kie.kogito.codegen.tests.BusinessRuleUnitModel.person to java.util.LinkedHashMap
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitControlledByUnitOfWork(String)[1] Can not set org.kie.kogito.codegen.data.Person field org.kie.kogito.codegen.tests.BusinessRuleUnitModel.person to java.util.LinkedHashMap
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitControlledByUnitOfWork(String)[2] Can not set org.kie.kogito.codegen.data.Person field org.kie.kogito.codegen.tests.BusinessRuleUnitModel.person to java.util.LinkedHashMap
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.ioMappingAutoGeneratedRuleUnit Can not set org.kie.kogito.codegen.data.Person field ruletask.ExampleGeneratedModel.singlePerson to java.util.LinkedHashMap
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testSettingOtherVariableFromAutoGeneratedRuleUnit Can not set org.kie.kogito.codegen.data.Person field ruletask.ExampleGeneratedModel.singlePerson to java.util.LinkedHashMap
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.inputMappingNullCollection Can not set org.kie.kogito.codegen.data.Person field ruletask.ExamplePModel.singlePerson to java.util.LinkedHashMap
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.outputMappingNullCollection Can not set org.kie.kogito.codegen.data.Person field ruletask.ExamplePModel.singlePerson to java.util.LinkedHashMap
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testRemovingOtherVariableFromAutoGeneratedRuleUnit Can not set org.kie.kogito.codegen.data.Person field ruletask.ExampleGeneratedModel.singlePerson to java.util.LinkedHashMap
org.kie.kogito.codegen.rules.BusinessRuleUnitIT.ioMapping Can not set org.kie.kogito.codegen.data.Person field ruletask.ExamplePModel.singlePerson to java.util.LinkedHashMap
org.kie.kogito.codegen.rules.PublishEventBusinessRuleIT.testBusinessRuleProcessStartToEndWithVariableTracked
Expecting
{}
to have a property or a field named "adult"
(static and synthetic fields are ignored)
org.kie.kogito.codegen.rules.PublishEventBusinessRuleIT.testBusinessRuleProcessStartToEndAbortOfUoW
Expecting
{}
to have a property or a field named "adult"
(static and synthetic fields are ignored)
org.kie.kogito.codegen.rules.PublishEventBusinessRuleIT.testBusinessRuleProcessStartToEnd
Expecting
{}
to have a property or a field named "adult"
(static and synthetic fields are ignored)
org.kie.kogito.codegen.tests.CallActivityTaskIT.testCallActivityTaskWithExpressionsForIO Can not set org.kie.kogito.codegen.data.Person field org.drools.bpmn2.ParentProcessModel.person to java.util.LinkedHashMap
org.kie.kogito.codegen.tests.CallActivityTaskIT.testCallActivityTaskWithExpressionsForIONested Can not set org.kie.kogito.codegen.data.PersonWithAddress field org.drools.bpmn2.ParentProcessModel.person to java.util.LinkedHashMap
org.kie.kogito.codegen.tests.EmbeddedSubProcessIT.testEmbeddedSubProcessWithUserTaskAndVariableScopes Can not set org.kie.kogito.codegen.data.Person field org.drools.bpmn2.EmbeddedWithUserTaskModel.person to java.util.LinkedHashMap
org.kie.kogito.codegen.tests.EventSubProcessIT.testEventSignalSubProcessWithData class java.util.LinkedHashMap cannot be cast to class org.kie.kogito.codegen.data.Person (java.util.LinkedHashMap is in module java.base of loader 'bootstrap'; org.kie.kogito.codegen.data.Person is in unnamed module of loader 'app')
org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testBasicServiceWorkflow(String)[1]
expected: 2
but was: 5
org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testBasicServiceWorkflow(String)[2]
expected: 2
but was: 5
org.kie.kogito.codegen.tests.UserTaskIT.testUserTaskWithIOexpressionProcess Can not set org.kie.kogito.codegen.data.Person field org.drools.bpmn2.UserTaskModel.person to java.util.LinkedHashMap
org.kie.kogito.quarkus.jbpm.OrdersProcessIT.testOrdersRest 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.StatefulProcessResourceTest.updateProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.StatefulProcessResourceTest.completeTask Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.StatefulProcessResourceTest.getProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.StatefulProcessResourceTest.abortProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.StatefulProcessResourceTest.completeProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.StatefulProcessResourceTest.signalTaskProcess Can not set com.example.Payload field com.example.FlexibleModel.test to java.util.LinkedHashMap
org.acme.StatefulProcessResourceTest.completeProcessTask Can not set com.example.Payload field com.example.SignalModel.test to java.util.LinkedHashMap
org.acme.StatefulProcessResourceTest.createProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.PersonProcessTest.testAdult Can not set org.acme.travels.Person field org.acme.travels.PersonsModel.person to java.util.LinkedHashMap
org.acme.travels.PersonProcessTest.testChild Can not set org.acme.travels.Person field org.acme.travels.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.it.FilesystemPersistenceIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
Build projects / org.kie.kogito.it.InfinispanOptimisticLockingIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
Build projects / org.kie.kogito.it.InfinispanOptimisticLockingIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
Build projects / org.kie.kogito.it.InfinispanPersistenceIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
Build projects / org.kie.kogito.it.InfinispanPersistenceIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.it.JDBCOptimisticLockingIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.it.JDBCPersistenceIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.it.KafkaPersistenceIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.it.MongoDBOptimisticLockingIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.it.MongoDBPersistenceIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.it.PostgreSQLPersistenceIT.testPersistence 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.reactive.ProcessIT.testStartProcess 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.integrationtests.quarkus.EnumsIT.testSubmitMovie 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.ProcessEventIT.testSaveTask 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.ProcessIT.testStartProcess 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.TaskIT.testSaveTask 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.TaskIT.testUpdateTaskInfo 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.TaskIT.testUpdateExcludedUsers 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.TaskIT.testJsonSchema 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.quarkus.TaskIT.testCommentAndAttachment 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.springboot.EnumsTest.testSubmitMovie 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.springboot.ProcessTest.testStartProcess 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.springboot.TaskTest.testSaveTask 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.springboot.TaskTest.testUpdateTaskInfo 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.springboot.TaskTest.testUpdateExcludedUsers 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.springboot.TaskTest.testJsonSchema 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.integrationtests.springboot.TaskTest.testCommentAndAttachment 1 expectation failed.
Expected status code <201> but was <400>.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 1, 2023

(tests) - kogito-quarkus-examples job #1449 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-examples -u https://github.com/kiegroup/kogito-runtimes/pull/3210 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-quarkus-examples/1449/display/redirect

Test results:

  • PASSED: 102
  • FAILED: 65

Those are the test failures:

org.kie.kogito.flexible.example.quarkus.ServiceDeskProcessTest.testSupportCaseExample 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travel.BookFlightTest.testBookingFlight Can not set org.acme.travels.Trip field org.acme.travels.FlightBookingModel.trip to java.util.LinkedHashMap
org.acme.travel.BookHotelTest.testBookingHotel Can not set org.acme.travels.Trip field org.acme.travels.HotelBookingModel.trip to java.util.LinkedHashMap
org.acme.travel.TravelTest.testTravelVisaRequired Can not set org.acme.travels.Traveller field org.acme.travels.TravelsModel.traveller to java.util.LinkedHashMap
org.acme.travel.TravelTest.testTravelNoVisaRequired Can not set org.acme.travels.Traveller field org.acme.travels.TravelsModel.traveller to java.util.LinkedHashMap
org.acme.travel.BookFlightIT.testBookingFlight Can not set org.acme.travels.Trip field org.acme.travels.FlightBookingModel.trip to java.util.LinkedHashMap
org.acme.travel.BookHotelIT.testBookingHotel Can not set org.acme.travels.Trip field org.acme.travels.HotelBookingModel.trip to java.util.LinkedHashMap
org.acme.travel.TravelIT.testTravelVisaRequired Can not set org.acme.travels.Traveller field org.acme.travels.TravelsModel.traveller to java.util.LinkedHashMap
org.acme.travel.TravelIT.testProcessMetrics Error while unmarshalling process instance
org.acme.travel.TravelIT.testTravelNoVisaRequired Error while unmarshalling process instance
org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessNewUserUS 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessUserAlreadyExists 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travels.PersonProcessTest.testAdult Can not set org.acme.travels.Person field org.acme.travels.PersonsModel.person to java.util.LinkedHashMap
org.acme.travels.PersonProcessTest.testChild Can not set org.acme.travels.Person field org.acme.travels.PersonsModel.person to java.util.LinkedHashMap
Build projects / org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnQuarkus 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestServiceDecisionOnQuarkus 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestWIHDecisionOnQuarkus 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnQuarkus 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
Expected status code <201> but was <500>.
Build projects / org.acme.deals.DealsRestIT.testDealsRest 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travel.tests.avro.quarkus.MultiMessagingIT.testProcess expected: <0> but was: <3>
org.acme.travel.tests.multimessaging.quarkus.MultiMessagingIT.testProcess expected: <0> but was: <3>
org.acme.travel.tests.messaging.quarkus.MessagingIT.testProcess expected: <0> but was: <3>
org.acme.travel.CloudEventListenerTest.checkStartNewProcessInstanceWithCE Assertion condition defined as a org.acme.travel.CloudEventListenerTest Expected at least one request matching: {
"url" : "/",
"method" : "POST",
"headers" : {
"Content-Type" : {
"contains" : "application/cloudevents+json"
}
},
"bodyPatterns" : [ {
"contains" : "[email protected]"
}, {
"contains" : "\"source\":\"/process/Travelers\""
} ]
}
Requests received: [ ] within 2 seconds.
org.acme.travel.CloudEventListenerTest.checkStartNewProcessInstanceWithSourceField Assertion condition defined as a org.acme.travel.CloudEventListenerTest Expected at least one request matching: {
"url" : "/",
"method" : "POST",
"headers" : {
"Content-Type" : {
"contains" : "application/cloudevents+json"
}
},
"bodyPatterns" : [ {
"contains" : "[email protected]"
}, {
"contains" : "\"source\":\"/process/Travelers\""
} ]
}
Requests received: [ ] within 2 seconds.
org.kie.kogito.examples.quarkus.ProcessMetricsTest.testProcessMetricsQuarkus Can not set org.kie.kogito.examples.quarkus.demo.Order field org.kie.kogito.examples.quarkus.OrdersModel.order to java.util.LinkedHashMap
org.kie.kogito.quarkus.outbox.OutboxIT.testSendProcessEvents 1 expectation failed.
Expected status code <201> but was <500>.
org.kie.kogito.examples.OrdersProcessIT.testOrderProcess Can not set org.kie.kogito.examples.demo.Order field org.kie.kogito.examples.OrdersModel.order to java.util.LinkedHashMap
org.kie.kogito.examples.OrdersProcessIT.testOrderProcessWithError Can not set org.kie.kogito.examples.demo.Order field org.kie.kogito.examples.OrdersModel.order to java.util.LinkedHashMap
org.kie.kogito.examples.OrdersRestIT.testOrdersWithErrorRest 1 expectation failed.
Expected status code <500> but was <400>.
org.kie.kogito.examples.OrdersRestIT.testOrdersRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.OrdersRestIT.testCreateAndUpdateOrders 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.OrdersRestIT.testOrdersWithOrderItemsAbortedRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.OrdersRestIT.testOrdersWithOrderItemsRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.PersonProcessIT.testAdult Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.PersonProcessIT.testChild Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.PersonProcessIT.testChildWithSecurityPolicy Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.PersonProcessIT.testChildWithSecurityPolicyNotAuthorized Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicyAndLifeCycles Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestRetriggerNodeViaMgmtInterface Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.PersonsRestIT.testAdultPersonsRest Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.PersonsRestIT.testPersonsRestStartFromUserTask Can not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMap
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRest 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestCancelAndTriggerNodeViaMgmtInterface 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicyNotAuthorized 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestAbortViaMgmtInterface 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicy 1 expectation failed.
Expected status code <201> but was <400>.
org.acme.travels.quarkus.TravellersProcessTest.testNewTraveller Can not set org.acme.travels.quarkus.Traveller field org.acme.travels.TravellersModel.traveller to java.util.LinkedHashMap
org.acme.travels.custom.lifecycle.quarkus.ApprovalsProcessTest.testApprovalProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.custom.lifecycle.quarkus.ApprovalsProcessTest.testApprovalProcessViaPhases Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
Build projects / org.kie.kogito.hr.HiringProcessIT.testApprovalProcess Can not set org.kie.kogito.hr.Candidate field org.kie.kogito.hr.HiringModel.candidate to java.util.LinkedHashMap
Build projects / org.kie.kogito.hr.HiringProcessIT.testApprovalProcess Can not set org.kie.kogito.hr.Candidate field org.kie.kogito.hr.HiringModel.candidate to java.util.LinkedHashMap
org.acme.travels.quarkus.ApprovalsProcessTest.testApprovalProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.quarkus.ApprovalsProcessTest.testApprovalProcessViaPhases Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
Build projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
Build projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcessViaPhases Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
Build projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
Build projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcessViaPhases Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized 1 expectation failed.
Expected status code <201> but was <400>.
Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized 1 expectation failed.
Expected status code <201> but was <500>.
org.acme.travels.security.quarkus.ApprovalsProcessTest.testApprovalProcess Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.security.quarkus.ApprovalsProcessTest.testApprovalProcessViaPhases Can not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMap
org.acme.travels.security.quarkus.ApprovalsRestTest.testStartApprovalAuthorized 1 expectation failed.
Expected status code <201> but was <500>.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 1, 2023

(tests) - serverless-workflow-examples job #1438 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-examples -u https://github.com/kiegroup/kogito-runtimes/pull/3210 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.serverless-workflow-examples/1438/display/redirect

Test results:

  • PASSED: 81
  • FAILED: 1

Those are the test failures:

org.kogito.serverless.examples.CountryServiceWorkflowTest.testJsonServiceCallWorkflow expected: <2> but was: <5>

@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 1, 2023

(tests) - kogito-runtimes job #3150 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-runtimes -u https://github.com/kiegroup/kogito-runtimes/pull/3210 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/3150/display/redirect

Test results:

  • PASSED: 3368
  • FAILED: 2

Those are the test failures:

org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testBasicServiceWorkflow(String)[1]
expected: 2
but was: 5
org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testBasicServiceWorkflow(String)[2]
expected: 2
but was: 5

@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 1, 2023

(tests) - kogito-apps job #3096 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-apps -u https://github.com/kiegroup/kogito-runtimes/pull/3210 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-apps/3096/display/redirect

Test results:

  • PASSED: 2782
  • FAILED: 13

Those are the test failures:

org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanHttpIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanKafkaIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBHttpIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBKafkaIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.oracle.ProcessDataIndexOracleKafkaIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlKafkaIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.ProcessDataIndexInfinispanIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.
org.kie.kogito.index.ProcessDataIndexPostgreSqlIT.testProcessInstanceEvents 1 expectation failed.
Expected status code <201> but was <400>.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Sep 1, 2023

(tests) - serverless-workflow-examples job #1440 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-examples -u https://github.com/kiegroup/kogito-runtimes/pull/3210 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.serverless-workflow-examples/1440/display/redirect

Test results:

  • PASSED: 81
  • FAILED: 1

Those are the test failures:

org.kogito.serverless.examples.CountryServiceWorkflowTest.testJsonServiceCallWorkflow expected: <2> but was: <5>

@fjtirado fjtirado marked this pull request as ready for review September 5, 2023 12:50
It is better for it to not depend on Models
@sonarcloud
Copy link

sonarcloud bot commented Sep 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

87.5% 87.5% Coverage
0.0% 0.0% Duplication

@fjtirado fjtirado merged commit 5297d67 into apache:main Sep 5, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants