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

[10.0.x] CI duplicate maven configuration entries #2119

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

jstastny-cz
Copy link
Contributor

@jstastny-cz jstastny-cz commented Oct 18, 2024

Adjusting branch.yaml configuration to split maven related configurations for nightly and release.

Part of ensemble:

The scope of changes:

  • maven settings.xml reference (config file id pointing at pre-defined config file in jenkins)
  • artifacts upload repository
    • url - mostly informational, should not be needed for deploy itself (inheriting that configuration from apache parent)
    • credentials-id - the important part, allowing to configure different credentials for nightly and release.

Notes:

  • in some places the configuration variants denoted as nightly are used in other places too (e.g. setup-branch).

Follow-up:

  • after this gets merged, incubator-kie-kogito-pipelines PR needs to be backported also into branches:
    • seed-drools-10.0.x
    • seed-kogito-10.0.x
    • seed-optaplanner-10.0.x

@jstastny-cz jstastny-cz merged commit 633f51e into apache:10.0.x Oct 18, 2024
1 of 2 checks passed
@jstastny-cz jstastny-cz deleted the split-maven-config branch October 18, 2024 10:19
@kie-ci3
Copy link
Contributor

kie-ci3 commented Oct 18, 2024

PR job #1 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-apps -u #2119 --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://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-2119/1/display/redirect

Test results:

  • PASSED: 1663
  • FAILED: 2

Those are the test failures:

org.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents 1 expectation failed.
JSON path errors doesn't match.
Expected: null
Actual: <[{message=Exception while fetching data (/UserTaskInstances[0]/schema) : Runtime service URL not defined, please review the kogito.service.url system property to point the public URL for this runtime., locations=[{line=1, column=85}], path=[UserTaskInstances, 0, schema], extensions={classification=DataFetchingException}}]>
org.kie.kogito.jobs.embedded.EmbeddedJobsServiceTest.testJobService java.util.ConcurrentModificationException
at java.base/java.util.ArrayList.forEach(ArrayList.java:1513)
at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092)
at org.kie.kogito.jobs.embedded.EmbeddedJobsServiceTest.testJobService(EmbeddedJobsServiceTest.java:99)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:1013)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:827)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

jstastny-cz added a commit to jstastny-cz/incubator-kie-kogito-apps that referenced this pull request Oct 18, 2024
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