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-4593] Improve testing strategy and coverage for Processes #1587

Closed
wants to merge 1 commit into from

Conversation

elguardian
Copy link
Contributor

@kie-ci
Copy link
Contributor

kie-ci commented Sep 6, 2021

The (build) Examples check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 6, 2021

The (build) Apps check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 6, 2021

The (build) Optaplanner check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 6, 2021

The (build) Runtimes check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 7, 2021

The (build) Runtimes check has failed. Please check the logs.

@elguardian elguardian force-pushed the KOGITO-4593 branch 2 times, most recently from 602c0e7 to dbf731f Compare September 7, 2021 11:04
@kie-ci
Copy link
Contributor

kie-ci commented Sep 7, 2021

The (build) Examples check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 7, 2021

The (build) Runtimes check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 7, 2021

The (build) Runtimes check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 7, 2021

The (build) Runtimes check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 7, 2021

The (build) Apps check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 7, 2021

The (build) Examples check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 7, 2021

The (build) Apps check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 7, 2021

The (build) Runtimes check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 7, 2021

The (build) Examples check has failed. Please check the logs.

@elguardian
Copy link
Contributor Author

Jenkins retest this please

@kie-ci
Copy link
Contributor

kie-ci commented Sep 8, 2021

The (build) Runtimes check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 8, 2021

The (build) Apps check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 8, 2021

The (build) Examples check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 13, 2021

The (build) Runtimes check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 13, 2021

The (build) Apps check has failed. Please check the logs.

@elguardian elguardian marked this pull request as ready for review September 14, 2021 09:05
@elguardian
Copy link
Contributor Author

failures not related

@elguardian
Copy link
Contributor Author

Jenkins retest this please

@kie-ci
Copy link
Contributor

kie-ci commented Sep 16, 2021

The (build) Runtimes check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 16, 2021

The (build) Examples check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Sep 16, 2021

The (build) Apps check has failed. Please check the logs.

@elguardian
Copy link
Contributor Author

Jenkins retest this please

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

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

61.6% 61.6% Coverage
0.0% 0.0% Duplication

@kie-ci
Copy link
Contributor

kie-ci commented Sep 28, 2021

The (build) Examples check has failed. Please check the logs.

@cristianonicolai
Copy link
Contributor

Jenkins rerun examples tests

@@ -233,6 +233,10 @@ public void setProcessInstancesFactory(ProcessInstancesFactory processInstancesF
this.processInstancesFactory = processInstancesFactory;
}

public ProcessInstancesFactory getProcessInstancesFactory() {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure we should expose the ProcessInstancesFactory in the Process, the way to create instances is probably with methods in the Process itself.

Comment on lines +33 to +44
default Optional<ProcessInstance<T>> findByBusinessKey(String businessKey) {
return findByBusinessKey(businessKey, ProcessInstanceReadMode.READ_ONLY);
}

default Optional<ProcessInstance<T>> findByBusinessKey(String businessKey, ProcessInstanceReadMode mode) {
for (ProcessInstance<T> instance : values(mode)) {
if (businessKey.equals(instance.businessKey())) {
return Optional.of(instance);
}
}
return Optional.empty();
}
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO it should not expose this kind of method, the way to interact using business key would be using data index to find a process instance, in the runtime the only possible query would be using the ID. Besides we cannot expose any query in-memory on the top of values() that returns all existing instances. TBH I think we should remove the values() from the interface =/, @cristianonicolai this was already discussed in the past, right?

Copy link
Contributor

@fjtirado fjtirado May 22, 2023

Choose a reason for hiding this comment

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

@@ -90,6 +97,27 @@ public CompilationUnit compilationUnit() {
CompilationUnit compilationUnit = templatedGenerator.compilationUnitOrThrow("Invalid Template: No CompilationUnit");

registerProcessesExplicitly(compilationUnit);
if (context.getAddonsConfig().usePersistence() && !context.hasDI()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

In general, I'm not sure adding conditions like hasDI() during the code generation is the best approach, and to TBH the use cases where we don't have DI is not properly handled in kogito, so should we step back and design these scenarios with no DI? @evacchi @danielezonca since you have more experience with this area, what are your opinion?

Comment on lines -208 to +211
completePhase.apply(workItem, transition);
if (handler instanceof HumanTaskWorkItemHandler) {
completePhase.apply(workItem, transition);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

This is probably not strictly related with this PR but what if handler is not instanceof HumanTaskWorkItemHandler? Is it ok just to skip this code?

Comment on lines +37 to +41
default Optional<ProcessInstance<T>> findByBusinessKey(String businessKey, ProcessInstanceReadMode mode) {
for (ProcessInstance<T> instance : values(mode)) {
if (businessKey.equals(instance.businessKey())) {
return Optional.of(instance);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

This method is probably highly inefficient because it loads the ~whole db and perform the filter manually.
I think we should not publicly expose it or find a more efficient way to implement it (this probably requires to review runtime persistence in general because we only have "technical ID" as key for now 🤔 ).
Is it possible to avoid to include this in the current PR?

Comment on lines +37 to +39
default ProcessInstancesFactory processInstancesFactory() {
return null;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure if ProcessInstancesFactory is expected to be exposed to users: as far as I know the expected approach to create a process instance should be using Process<? extends Model> methods. The idea is to get Process<...> using processById method of Processes using processId.

@elguardian
What is the reason why you had to expose this method? If this is necessary probably it means current public API is not flexible enough so we should consider a followup ticket to revisit it or at least consider this use case in the new programmatic API (/cc @evacchi @tiagodolphine )

}

@Test
@Disabled
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this broken? If so can you please create a ticket and mention it here as reason for the annotation?

* obtain this DataObject in parameters.
*/
@Test
@Disabled
Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment about disabled test

@@ -140,6 +140,7 @@ public ProcessInstance startProcess(String processId, Map<String, Object> parame
private ProcessInstance startProcess(String processId, Map<String, Object> parameters, String trigger, AgendaFilter agendaFilter) {
KogitoProcessInstance processInstance = createProcessInstance(processId, parameters);
if (processInstance != null) {
runtimeContext.setupParameters((org.jbpm.process.instance.ProcessInstance) processInstance, parameters);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this a bugfix?

@@ -154,7 +155,8 @@ public KogitoProcessInstance createProcessInstance(String processId, Map<String,
public KogitoProcessInstance startProcess(String processId, CorrelationKey correlationKey, Map<String, Object> parameters) {
KogitoProcessInstance processInstance = createProcessInstance(processId, correlationKey, parameters);
if (processInstance != null) {
return kogitoProcessRuntime.startProcessInstance(processInstance.getStringId());
runtimeContext.setupParameters((org.jbpm.process.instance.ProcessInstance) processInstance, parameters);
Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment

Comment on lines +30 to +52
Process<? extends Model> processById(String processId);

@SuppressWarnings("unchecked")
default Optional<ProcessInstance<? extends Model>> findById(String processId, String id) {
Optional<?> pi = processById(processId).instances().findById(id);
return (Optional<ProcessInstance<? extends Model>>) pi;
}

@SuppressWarnings("unchecked")
default Optional<ProcessInstance<? extends Model>> findByBusinessKey(String processId, String businessKey) {
Optional<?> pi = processById(processId).instances().findByBusinessKey(businessKey);
return (Optional<ProcessInstance<? extends Model>>) pi;
}

void destroy();

Map<String, KogitoWorkItemHandler> getWorkItemHandlers();

List<Object> getProcessEventListeners();

void registerWorkItemHandler(String name, KogitoWorkItemHandler handler);

void register(Object defaultProcessEventListener);
Copy link
Contributor

Choose a reason for hiding this comment

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

@tiagodolphine
Same comment about long term idea: is this intended to become generic?


private static final JavaCompiler JAVA_COMPILER = JavaCompilerFactory.loadCompiler(JavaConfiguration.CompilerType.NATIVE, "8");

private static final String DUMMY_PROCESS_RUNTIME =
Copy link
Contributor

Choose a reason for hiding this comment

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

As far as I remember this is a trick to make process compile without rule but it is not working for actual execution. There is already a ticket to improve this so if we keep the same code here we just need to add this additional usage to the ticket


package org.kie.kogito.junit.api;

public @interface KogitoUnitTestResource {
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't necessary to @Retention and @Type?

@MarianMacik
Copy link
Member

@elguardian Can we close this?

@kie-ci3
Copy link
Contributor

kie-ci3 commented May 22, 2023

(tests) - kogito-springboot-examples job #981 was: FAILURE
Possible explanation: Pipeline failure or project build failure

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/1587 --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/981/display/redirect
See console log:

Console Logs Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token
> git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/main^{commit} # timeout=10
Checking out Revision e91f6eaba901315d56073188c7a79bb549c1e594 (origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
Commit message: "Add release branch 1.39.x after cut-off"
> git rev-list --no-walk e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
Loading library jenkins-pipeline-shared-libraries@main
Attempting to resolve main from remote references...
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space
[INFO] Currently running in a labeled security context
> /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3277516130782428674.key
Verifying host key using manually-configured host key entries
> git ls-remote -h -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10
Found match: refs/heads/main revision 0510a173ee21200297790c8e7a18835f47d32d17
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential kie-ci-user-key
> git rev-parse --resolve-git-dir /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-springboot-examples/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/kiegroup/jenkins-pipeline-shared-libraries
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space
[INFO] Currently running in a labeled security context
> /usr/bin/chcon --type=ssh_home_t /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-springboot-examples/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb@tmp/jenkins-gitclient-ssh5260667505564062470.key
Verifying host key using manually-configured host key entries
> git fetch --no-tags --force --progress -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision 0510a173ee21200297790c8e7a18835f47d32d17 (main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0510a173ee21200297790c8e7a18835f47d32d17 # timeout=10
Commit message: "KOGITO-8455: create release with release notes (#273)"
> git rev-list --no-walk 0510a173ee21200297790c8e7a18835f47d32d17 # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] node
Running on rhos-01-kie-psi-rhel7-xlarge-48 in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-springboot-examples
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential kie-ci3
Cloning the remote Git repository
Cloning repository https://github.com/kiegroup/kogito-pipelines.git
> git init /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-springboot-examples # timeout=10
Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git
> git --version # timeout=10
> git --version # 'git version 2.39.2'
using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token
> git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision e91f6eaba901315d56073188c7a79bb549c1e594 (origin/main)
Commit message: "Add release branch 1.39.x after cut-off"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] timeout
[2023-05-22T14:10:23.982Z] Timeout set to expire in 3 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] }
> git config remote.origin.url https://github.com/kiegroup/kogito-pipelines.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/main^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Initialize)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-05-22T14:10:24.944Z] + printenv
[Pipeline] archiveArtifacts
[2023-05-22T14:10:24.973Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (check space before build)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] dir
[2023-05-22T14:10:25.958Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-springboot-examples
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:26.049Z] [INFO] space left on the machine
[Pipeline] sh
[2023-05-22T14:10:26.345Z] + df -h
[2023-05-22T14:10:26.345Z] Filesystem Size Used Avail Use% Mounted on
[2023-05-22T14:10:26.345Z] devtmpfs 7.8G 0 7.8G 0% /dev
[2023-05-22T14:10:26.345Z] tmpfs 7.8G 0 7.8G 0% /dev/shm
[2023-05-22T14:10:26.345Z] tmpfs 7.8G 17M 7.8G 1% /run
[2023-05-22T14:10:26.345Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
[2023-05-22T14:10:26.345Z] /dev/vda1 80G 21G 60G 26% /
[2023-05-22T14:10:26.345Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000
[2023-05-22T14:10:26.345Z] tmpfs 1.6G 0 1.6G 0% /run/user/0
[Pipeline] echo
[2023-05-22T14:10:26.371Z] [INFO] space of /home/jenkins
[Pipeline] sh
[2023-05-22T14:10:26.661Z] + du -h -d1 /home/jenkins
[2023-05-22T14:10:26.661Z] 4.0K /home/jenkins/.ssh
[2023-05-22T14:10:26.661Z] 0 /home/jenkins/go
[2023-05-22T14:10:26.661Z] 8.0K /home/jenkins/.vnc
[2023-05-22T14:10:26.661Z] 8.0K /home/jenkins/.m2
[2023-05-22T14:10:26.661Z] 2.2G /home/jenkins/git-repos
[2023-05-22T14:10:26.661Z] 12K /home/jenkins/.config
[2023-05-22T14:10:26.661Z] 128M /home/jenkins/virtenvs
[2023-05-22T14:10:26.661Z] 4.0K /home/jenkins/.cekit
[2023-05-22T14:10:26.661Z] 33M /home/jenkins/remoting
[2023-05-22T14:10:26.661Z] 86M /home/jenkins/.cache
[2023-05-22T14:10:26.661Z] 7.3M /home/jenkins/workspace
[2023-05-22T14:10:26.661Z] 0 /home/jenkins/.pki
[2023-05-22T14:10:26.661Z] 148M /home/jenkins/tools
[2023-05-22T14:10:26.661Z] 0 /home/jenkins/caches
[2023-05-22T14:10:26.661Z] 19M /home/jenkins/.npm
[2023-05-22T14:10:26.661Z] 8.0K /home/jenkins/.docker
[2023-05-22T14:10:26.661Z] 2.6G /home/jenkins
[Pipeline] echo
[2023-05-22T14:10:26.686Z] [INFO] space of workspace
[Pipeline] sh
[2023-05-22T14:10:27.007Z] + du -h -d3 /home/jenkins/workspace
[2023-05-22T14:10:27.008Z] 7.3M /home/jenkins/workspace/KIE/kogito/main
[2023-05-22T14:10:27.008Z] 7.3M /home/jenkins/workspace/KIE/kogito
[2023-05-22T14:10:27.008Z] 7.3M /home/jenkins/workspace/KIE
[2023-05-22T14:10:27.008Z] 7.3M /home/jenkins/workspace
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Install build-chain tool)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:27.761Z] [INFO] Getting build-chain version from composite action file
[Pipeline] readFile
[Pipeline] echo
[2023-05-22T14:10:27.885Z] [INFO] build-chain version recovered '^v3'
[Pipeline] sh
[2023-05-22T14:10:28.214Z] + npm install -g '@kie/build-chain-action@^v3' -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/
[2023-05-22T14:10:30.123Z]
[2023-05-22T14:10:30.123Z] changed 96 packages, and audited 97 packages in 2s
[2023-05-22T14:10:30.123Z]
[2023-05-22T14:10:30.123Z] 5 packages are looking for funding
[2023-05-22T14:10:30.123Z] run `npm fund` for details
[2023-05-22T14:10:30.123Z]
[2023-05-22T14:10:30.123Z] found 0 vulnerabilities
[Pipeline] sh
[2023-05-22T14:10:30.422Z] + npm list -g
[2023-05-22T14:10:30.422Z] + grep build-chain
[2023-05-22T14:10:30.677Z] ├── @kie/build-chain-action@3.1.0
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build projects)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:31.195Z] BUILD_MVN_OPTS_CURRENT =
[Pipeline] configFileProvider
[2023-05-22T14:10:31.211Z] provisioning config files...
[2023-05-22T14:10:31.216Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-springboot-examples@tmp/config4155385554260242439tmp
[Pipeline] {
[Pipeline] withCredentials
[2023-05-22T14:10:31.282Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:31.368Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-springboot-examples@tmp/config4155385554260242439tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true
[Pipeline] sh
[2023-05-22T14:10:31.389Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2023-05-22T14:10:31.390Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2023-05-22T14:10:31.390Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2023-05-22T14:10:31.658Z] + build-chain build cross_pr --token **** -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/1587 --skipParallelCheckout
[2023-05-22T14:10:32.610Z] # Executing pre section
[2023-05-22T14:10:32.611Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-springboot-examples@tmp/config4155385554260242439tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-05-22T14:10:32.611Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-springboot-examples@tmp/config4155385554260242439tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-05-22T14:10:32.611Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT=
[2023-05-22T14:10:32.611Z] BUILD_MVN_OPTS_CURRENT=
[2023-05-22T14:10:32.611Z] [command]/usr/bin/echo QUARKUS_VERSION=
[2023-05-22T14:10:32.611Z] QUARKUS_VERSION=
[2023-05-22T14:10:32.611Z] [command]/usr/bin/echo ENABLE_DEPLOY=
[2023-05-22T14:10:32.611Z] ENABLE_DEPLOY=
[2023-05-22T14:10:32.611Z]
[2023-05-22T14:10:32.611Z] # Execution Plan
[2023-05-22T14:10:32.611Z] [INFO] 4 projects will be executed
[2023-05-22T14:10:32.611Z] [INFO] [kiegroup/drools]
[2023-05-22T14:10:32.611Z] [INFO] Level type: upstream
[2023-05-22T14:10:32.611Z] [INFO] [before]
[2023-05-22T14:10:32.611Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-05-22T14:10:32.611Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-05-22T14:10:32.611Z] [INFO] [commands]
[2023-05-22T14:10:32.611Z] [INFO] mvn dependency:tree clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-05-22T14:10:32.611Z] [INFO] [after]
[2023-05-22T14:10:32.611Z] [INFO] docker system prune -f
[2023-05-22T14:10:32.611Z] [INFO] [kiegroup/kogito-runtimes]
[2023-05-22T14:10:32.611Z] [INFO] Level type: upstream
[2023-05-22T14:10:32.611Z] [INFO] [before]
[2023-05-22T14:10:32.611Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-05-22T14:10:32.611Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-05-22T14:10:32.611Z] [INFO] [commands]
[2023-05-22T14:10:32.611Z] [INFO] mvn dependency:tree clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }}
[2023-05-22T14:10:32.611Z] [INFO] [after]
[2023-05-22T14:10:32.611Z] [INFO] docker system prune -f
[2023-05-22T14:10:32.611Z] [INFO] [kiegroup/kogito-apps]
[2023-05-22T14:10:32.611Z] [INFO] Level type: upstream
[2023-05-22T14:10:32.611Z] [INFO] [before]
[2023-05-22T14:10:32.611Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-05-22T14:10:32.611Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-05-22T14:10:32.611Z] [INFO] [commands]
[2023-05-22T14:10:32.611Z] [INFO] mvn dependency:tree clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-05-22T14:10:32.611Z] [INFO] [after]
[2023-05-22T14:10:32.611Z] [INFO] docker system prune -f
[2023-05-22T14:10:32.611Z] [INFO] [kiegroup/kogito-examples]
[2023-05-22T14:10:32.611Z] [INFO] Level type: current
[2023-05-22T14:10:32.611Z] [INFO] [before]
[2023-05-22T14:10:32.611Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }}
[2023-05-22T14:10:32.611Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_CURRENT }}; fi"
[2023-05-22T14:10:32.611Z] [INFO] [commands]
[2023-05-22T14:10:32.611Z] [INFO] export MVN_CMD=`bash -c "if [ '${{ env.ENABLE_DEPLOY }}' = 'true' ]; then printf 'deploy ${{ env.DEPLOY_MVN_OPTS }} ${{ env.KOGITO_EXAMPLES_DEPLOY_MVN_OPTS }}'; else printf 'install'; fi"`
[2023-05-22T14:10:32.611Z] mvn dependency:tree -pl :kogito-examples clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}
[2023-05-22T14:10:32.611Z] mvn dependency:tree -f ${{ env.KOGITO_EXAMPLES_SUBFOLDER_POM }}pom.xml clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}
[2023-05-22T14:10:32.611Z] [INFO] [after]
[2023-05-22T14:10:32.611Z] [INFO] docker system prune -f
[2023-05-22T14:10:32.611Z]
[2023-05-22T14:10:32.611Z] # Checking out kiegroup/kogito-examples and its dependencies (4 projects in total). It can take some time.
[2023-05-22T14:10:47.437Z] [INFO] kiegroup/drools checked out
[2023-05-22T14:11:02.255Z] [ERROR] [kiegroup/kogito-runtimes] Error merging elguardian/kogito-runtimes:KOGITO-4593
[2023-05-22T14:11:02.255Z] into kiegroup/kogito-runtimes:main
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2023-05-22T14:11:02.326Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] junit
[2023-05-22T14:11:02.434Z] Recording test results
[2023-05-22T14:11:02.995Z] [Checks API] No suitable checks publisher found.
[Pipeline] archiveArtifacts
[2023-05-22T14:11:03.029Z] Archiving artifacts
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-05-22T14:11:02.627Z] No test report files were found. Configuration error?
[2023-05-22T14:11:03.608Z] + rm -rf console.log
[Pipeline] sh

@kie-ci3
Copy link
Contributor

kie-ci3 commented May 22, 2023

(tests) - kogito-runtimes job #2543 was: FAILURE
Possible explanation: Pipeline failure or project build failure

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/1587 --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/2543/display/redirect
See console log:

Console Logs GitHub pull request #1587 of commit f8f0173, has merge conflicts.
Setting status of f8f0173 to PENDING with url 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/2543/display/redirect and message: 'Build started.'
Using context: (build) kogito-runtimes
Checking out git https://github.com/kiegroup/kogito-pipelines.git into /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.kogito-runtimes/workspace@script/ee10b829cbd0ac763d0be6f0356db3418b2d4469e9daa1842e842313521cde92 to read .ci/jenkins/Jenkinsfile.buildchain
The recommended git tool is: NONE
using credential kie-ci3
> git rev-parse --resolve-git-dir /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.kogito-runtimes/workspace@script/ee10b829cbd0ac763d0be6f0356db3418b2d4469e9daa1842e842313521cde92/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/kiegroup/kogito-pipelines.git # timeout=10
Cleaning workspace
> git rev-parse --verify HEAD # timeout=10
Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token
> git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/main^{commit} # timeout=10
Checking out Revision e91f6eaba901315d56073188c7a79bb549c1e594 (origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
Commit message: "Add release branch 1.39.x after cut-off"
> git rev-list --no-walk e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
Loading library jenkins-pipeline-shared-libraries@main
Attempting to resolve main from remote references...
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space
[INFO] Currently running in a labeled security context
> /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6890270998014876253.key
Verifying host key using manually-configured host key entries
> git ls-remote -h -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10
Found match: refs/heads/main revision 0510a173ee21200297790c8e7a18835f47d32d17
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential kie-ci-user-key
> git rev-parse --resolve-git-dir /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.kogito-runtimes/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/kiegroup/jenkins-pipeline-shared-libraries
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space
[INFO] Currently running in a labeled security context
> /usr/bin/chcon --type=ssh_home_t /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.kogito-runtimes/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb@tmp/jenkins-gitclient-ssh3467130729260549064.key
Verifying host key using manually-configured host key entries
> git fetch --no-tags --force --progress -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision 0510a173ee21200297790c8e7a18835f47d32d17 (main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0510a173ee21200297790c8e7a18835f47d32d17 # timeout=10
Commit message: "KOGITO-8455: create release with release notes (#273)"
> git rev-list --no-walk 0510a173ee21200297790c8e7a18835f47d32d17 # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] node
Running on rhos-01-kie-psi-rhel7-xlarge-61 in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential kie-ci3
Cloning the remote Git repository
Cloning repository https://github.com/kiegroup/kogito-pipelines.git
> git init /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes # timeout=10
Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git
> git --version # timeout=10
> git --version # 'git version 2.39.2'
using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token
> git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision e91f6eaba901315d56073188c7a79bb549c1e594 (origin/main)
Commit message: "Add release branch 1.39.x after cut-off"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] timeout
[2023-05-22T14:10:24.766Z] Timeout set to expire in 3 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] }
> git config remote.origin.url https://github.com/kiegroup/kogito-pipelines.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/main^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Initialize)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-05-22T14:10:25.745Z] + printenv
[Pipeline] archiveArtifacts
[2023-05-22T14:10:25.772Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (check space before build)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] dir
[2023-05-22T14:10:26.666Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:26.700Z] [INFO] space left on the machine
[Pipeline] sh
[2023-05-22T14:10:27.043Z] + df -h
[2023-05-22T14:10:27.044Z] Filesystem Size Used Avail Use% Mounted on
[2023-05-22T14:10:27.044Z] devtmpfs 7.8G 0 7.8G 0% /dev
[2023-05-22T14:10:27.044Z] tmpfs 7.8G 0 7.8G 0% /dev/shm
[2023-05-22T14:10:27.044Z] tmpfs 7.8G 17M 7.8G 1% /run
[2023-05-22T14:10:27.044Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
[2023-05-22T14:10:27.044Z] /dev/vda1 80G 20G 61G 25% /
[2023-05-22T14:10:27.044Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000
[2023-05-22T14:10:27.044Z] tmpfs 1.6G 0 1.6G 0% /run/user/0
[Pipeline] echo
[2023-05-22T14:10:27.067Z] [INFO] space of /home/jenkins
[Pipeline] sh
[2023-05-22T14:10:27.343Z] + du -h -d1 /home/jenkins
[2023-05-22T14:10:27.344Z] 4.0K /home/jenkins/.ssh
[2023-05-22T14:10:27.344Z] 0 /home/jenkins/go
[2023-05-22T14:10:27.344Z] 8.0K /home/jenkins/.vnc
[2023-05-22T14:10:27.344Z] 8.0K /home/jenkins/.m2
[2023-05-22T14:10:27.344Z] 2.2G /home/jenkins/git-repos
[2023-05-22T14:10:27.344Z] 12K /home/jenkins/.config
[2023-05-22T14:10:27.344Z] 128M /home/jenkins/virtenvs
[2023-05-22T14:10:27.344Z] 4.0K /home/jenkins/.cekit
[2023-05-22T14:10:27.344Z] 33M /home/jenkins/remoting
[2023-05-22T14:10:27.344Z] 86M /home/jenkins/.cache
[2023-05-22T14:10:27.344Z] 7.3M /home/jenkins/workspace
[2023-05-22T14:10:27.344Z] 0 /home/jenkins/.pki
[2023-05-22T14:10:27.344Z] 148M /home/jenkins/tools
[2023-05-22T14:10:27.344Z] 0 /home/jenkins/caches
[2023-05-22T14:10:27.344Z] 19M /home/jenkins/.npm
[2023-05-22T14:10:27.344Z] 8.0K /home/jenkins/.docker
[2023-05-22T14:10:27.344Z] 2.6G /home/jenkins
[Pipeline] echo
[2023-05-22T14:10:27.370Z] [INFO] space of workspace
[Pipeline] sh
[2023-05-22T14:10:27.648Z] + du -h -d3 /home/jenkins/workspace
[2023-05-22T14:10:27.649Z] 7.3M /home/jenkins/workspace/KIE/kogito/main
[2023-05-22T14:10:27.649Z] 7.3M /home/jenkins/workspace/KIE/kogito
[2023-05-22T14:10:27.649Z] 0 /home/jenkins/workspace/KIE/drools/main
[2023-05-22T14:10:27.649Z] 0 /home/jenkins/workspace/KIE/drools
[2023-05-22T14:10:27.649Z] 7.3M /home/jenkins/workspace/KIE
[2023-05-22T14:10:27.649Z] 7.3M /home/jenkins/workspace
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Install build-chain tool)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:28.352Z] [INFO] Getting build-chain version from composite action file
[Pipeline] readFile
[Pipeline] echo
[2023-05-22T14:10:28.464Z] [INFO] build-chain version recovered '^v3'
[Pipeline] sh
[2023-05-22T14:10:28.745Z] + npm install -g '@kie/build-chain-action@^v3' -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/
[2023-05-22T14:10:30.626Z]
[2023-05-22T14:10:30.626Z] changed 96 packages, and audited 97 packages in 2s
[2023-05-22T14:10:30.626Z]
[2023-05-22T14:10:30.626Z] 5 packages are looking for funding
[2023-05-22T14:10:30.626Z] run `npm fund` for details
[2023-05-22T14:10:30.626Z]
[2023-05-22T14:10:30.626Z] found 0 vulnerabilities
[Pipeline] sh
[2023-05-22T14:10:30.946Z] + npm list -g
[2023-05-22T14:10:30.947Z] + grep build-chain
[2023-05-22T14:10:31.505Z] ├── @kie/build-chain-action@3.1.0
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build projects)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:32.083Z] BUILD_MVN_OPTS_CURRENT = -T 1C -Dvalidate-formatting -Prun-code-coverage
[Pipeline] configFileProvider
[2023-05-22T14:10:32.095Z] provisioning config files...
[2023-05-22T14:10:32.099Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes@tmp/config13320289973064931606tmp
[Pipeline] {
[Pipeline] withCredentials
[2023-05-22T14:10:32.189Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:32.257Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes@tmp/config13320289973064931606tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true
[Pipeline] sh
[2023-05-22T14:10:32.276Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2023-05-22T14:10:32.276Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2023-05-22T14:10:32.276Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2023-05-22T14:10:32.546Z] + build-chain build cross_pr --token **** -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/1587 --skipParallelCheckout
[2023-05-22T14:10:33.469Z] # Executing pre section
[2023-05-22T14:10:33.469Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes@tmp/config13320289973064931606tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-05-22T14:10:33.469Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.kogito-runtimes@tmp/config13320289973064931606tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-05-22T14:10:33.469Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage
[2023-05-22T14:10:33.469Z] BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage
[2023-05-22T14:10:33.469Z] [command]/usr/bin/echo QUARKUS_VERSION=
[2023-05-22T14:10:33.469Z] QUARKUS_VERSION=
[2023-05-22T14:10:33.469Z] [command]/usr/bin/echo ENABLE_DEPLOY=
[2023-05-22T14:10:33.469Z] ENABLE_DEPLOY=
[2023-05-22T14:10:33.469Z]
[2023-05-22T14:10:33.724Z] # Execution Plan
[2023-05-22T14:10:33.724Z] [INFO] 2 projects will be executed
[2023-05-22T14:10:33.724Z] [INFO] [kiegroup/drools]
[2023-05-22T14:10:33.724Z] [INFO] Level type: upstream
[2023-05-22T14:10:33.724Z] [INFO] [before]
[2023-05-22T14:10:33.724Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-05-22T14:10:33.724Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-05-22T14:10:33.724Z] [INFO] [commands]
[2023-05-22T14:10:33.724Z] [INFO] mvn dependency:tree clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-05-22T14:10:33.724Z] [INFO] [after]
[2023-05-22T14:10:33.724Z] [INFO] docker system prune -f
[2023-05-22T14:10:33.724Z] [INFO] [kiegroup/kogito-runtimes]
[2023-05-22T14:10:33.724Z] [INFO] Level type: current
[2023-05-22T14:10:33.724Z] [INFO] [before]
[2023-05-22T14:10:33.724Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }}
[2023-05-22T14:10:33.724Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_CURRENT }}; fi"
[2023-05-22T14:10:33.724Z] [INFO] [commands]
[2023-05-22T14:10:33.724Z] [INFO] export MVN_CMD=`bash -c "if [ '${{ env.ENABLE_DEPLOY }}' = 'true' ]; then printf 'deploy ${{ env.DEPLOY_MVN_OPTS }} ${{ env.KOGITO_RUNTIMES_DEPLOY_MVN_OPTS }}'; else printf 'install'; fi"`
[2023-05-22T14:10:33.724Z] mvn dependency:tree clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS }}
[2023-05-22T14:10:33.724Z] [INFO] [after]
[2023-05-22T14:10:33.724Z] [INFO] docker system prune -f
[2023-05-22T14:10:33.724Z]
[2023-05-22T14:10:33.724Z] # Checking out kiegroup/kogito-runtimes and its dependencies (2 projects in total). It can take some time.
[2023-05-22T14:10:48.537Z] [INFO] kiegroup/drools checked out
[2023-05-22T14:11:03.349Z] [ERROR] [kiegroup/kogito-runtimes] Error merging elguardian/kogito-runtimes:KOGITO-4593
[2023-05-22T14:11:03.349Z] into kiegroup/kogito-runtimes:main
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2023-05-22T14:11:03.425Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] junit
[2023-05-22T14:11:03.531Z] Recording test results
[2023-05-22T14:11:03.816Z] [Checks API] No suitable checks publisher found.
[Pipeline] archiveArtifacts
[2023-05-22T14:11:03.832Z] Archiving artifacts
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-05-22T14:11:04.411Z] + rm -rf console.log
[Pipeline] sh

@kie-ci3
Copy link
Contributor

kie-ci3 commented May 22, 2023

(tests) - kogito-quarkus-examples job #970 was: FAILURE
Possible explanation: Pipeline failure or project build failure

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/1587 --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/970/display/redirect
See console log:

Console Logs > git reset --hard # timeout=10
> git clean -fdx # timeout=10
Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token
> git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/main^{commit} # timeout=10
Checking out Revision e91f6eaba901315d56073188c7a79bb549c1e594 (origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
Commit message: "Add release branch 1.39.x after cut-off"
> git rev-list --no-walk e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
Loading library jenkins-pipeline-shared-libraries@main
Attempting to resolve main from remote references...
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space
[INFO] Currently running in a labeled security context
> /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17891110971997852476.key
Verifying host key using manually-configured host key entries
> git ls-remote -h -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10
Found match: refs/heads/main revision 0510a173ee21200297790c8e7a18835f47d32d17
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential kie-ci-user-key
> git rev-parse --resolve-git-dir /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-quarkus-examples/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/kiegroup/jenkins-pipeline-shared-libraries
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space
[INFO] Currently running in a labeled security context
> /usr/bin/chcon --type=ssh_home_t /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-quarkus-examples/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb@tmp/jenkins-gitclient-ssh4399608584019288251.key
Verifying host key using manually-configured host key entries
> git fetch --no-tags --force --progress -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision 0510a173ee21200297790c8e7a18835f47d32d17 (main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0510a173ee21200297790c8e7a18835f47d32d17 # timeout=10
Commit message: "KOGITO-8455: create release with release notes (#273)"
> git rev-list --no-walk 0510a173ee21200297790c8e7a18835f47d32d17 # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] node
Running on rhos-01-kie-psi-rhel7-xlarge-58 in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-quarkus-examples
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential kie-ci3
Cloning the remote Git repository
Cloning repository https://github.com/kiegroup/kogito-pipelines.git
> git init /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-quarkus-examples # timeout=10
Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git
> git --version # timeout=10
> git --version # 'git version 2.39.2'
using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token
> git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision e91f6eaba901315d56073188c7a79bb549c1e594 (origin/main)
Commit message: "Add release branch 1.39.x after cut-off"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] timeout
[2023-05-22T14:10:25.392Z] Timeout set to expire in 3 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
> git config remote.origin.url https://github.com/kiegroup/kogito-pipelines.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/main^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Initialize)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-05-22T14:10:26.544Z] + printenv
[Pipeline] archiveArtifacts
[2023-05-22T14:10:26.592Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (check space before build)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] dir
[2023-05-22T14:10:27.443Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-quarkus-examples
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:27.478Z] [INFO] space left on the machine
[Pipeline] sh
[2023-05-22T14:10:27.865Z] + df -h
[2023-05-22T14:10:27.866Z] Filesystem Size Used Avail Use% Mounted on
[2023-05-22T14:10:27.866Z] devtmpfs 7.8G 0 7.8G 0% /dev
[2023-05-22T14:10:27.866Z] tmpfs 7.8G 0 7.8G 0% /dev/shm
[2023-05-22T14:10:27.866Z] tmpfs 7.8G 17M 7.8G 1% /run
[2023-05-22T14:10:27.866Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
[2023-05-22T14:10:27.866Z] /dev/vda1 80G 21G 60G 26% /
[2023-05-22T14:10:27.866Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000
[2023-05-22T14:10:27.866Z] tmpfs 1.6G 0 1.6G 0% /run/user/0
[Pipeline] echo
[2023-05-22T14:10:27.891Z] [INFO] space of /home/jenkins
[Pipeline] sh
[2023-05-22T14:10:28.245Z] + du -h -d1 /home/jenkins
[2023-05-22T14:10:28.246Z] 4.0K /home/jenkins/.ssh
[2023-05-22T14:10:28.246Z] 0 /home/jenkins/go
[2023-05-22T14:10:28.246Z] 8.0K /home/jenkins/.vnc
[2023-05-22T14:10:28.246Z] 19M /home/jenkins/.m2
[2023-05-22T14:10:28.246Z] 2.2G /home/jenkins/git-repos
[2023-05-22T14:10:28.246Z] 12K /home/jenkins/.config
[2023-05-22T14:10:28.246Z] 128M /home/jenkins/virtenvs
[2023-05-22T14:10:28.246Z] 4.0K /home/jenkins/.cekit
[2023-05-22T14:10:28.246Z] 33M /home/jenkins/remoting
[2023-05-22T14:10:28.246Z] 65M /home/jenkins/.cache
[2023-05-22T14:10:28.246Z] 7.3M /home/jenkins/workspace
[2023-05-22T14:10:28.246Z] 0 /home/jenkins/.pki
[2023-05-22T14:10:28.246Z] 148M /home/jenkins/tools
[2023-05-22T14:10:28.246Z] 0 /home/jenkins/caches
[2023-05-22T14:10:28.246Z] 19M /home/jenkins/.npm
[2023-05-22T14:10:28.246Z] 431M /home/jenkins/.gradle
[2023-05-22T14:10:28.246Z] 451M /home/jenkins/.sonar
[2023-05-22T14:10:28.246Z] 3.4G /home/jenkins
[Pipeline] echo
[2023-05-22T14:10:28.272Z] [INFO] space of workspace
[Pipeline] sh
[2023-05-22T14:10:28.556Z] + du -h -d3 /home/jenkins/workspace
[2023-05-22T14:10:28.556Z] 7.3M /home/jenkins/workspace/KIE/kogito/main
[2023-05-22T14:10:28.556Z] 7.3M /home/jenkins/workspace/KIE/kogito
[2023-05-22T14:10:28.556Z] 7.3M /home/jenkins/workspace/KIE
[2023-05-22T14:10:28.556Z] 7.3M /home/jenkins/workspace
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Install build-chain tool)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:29.084Z] [INFO] Getting build-chain version from composite action file
[Pipeline] readFile
[Pipeline] echo
[2023-05-22T14:10:29.174Z] [INFO] build-chain version recovered '^v3'
[Pipeline] sh
[2023-05-22T14:10:29.456Z] + npm install -g '@kie/build-chain-action@^v3' -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/
[2023-05-22T14:10:31.968Z]
[2023-05-22T14:10:31.968Z] changed 96 packages, and audited 97 packages in 2s
[2023-05-22T14:10:31.968Z]
[2023-05-22T14:10:31.968Z] 5 packages are looking for funding
[2023-05-22T14:10:31.968Z] run `npm fund` for details
[2023-05-22T14:10:31.968Z]
[2023-05-22T14:10:31.968Z] found 0 vulnerabilities
[Pipeline] sh
[2023-05-22T14:10:32.306Z] + npm list -g
[2023-05-22T14:10:32.306Z] + grep build-chain
[2023-05-22T14:10:32.865Z] ├── @kie/build-chain-action@3.1.0
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build projects)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:33.365Z] BUILD_MVN_OPTS_CURRENT =
[Pipeline] configFileProvider
[2023-05-22T14:10:33.378Z] provisioning config files...
[2023-05-22T14:10:33.382Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-quarkus-examples@tmp/config17688865615696378102tmp
[Pipeline] {
[Pipeline] withCredentials
[2023-05-22T14:10:33.417Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:33.457Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-quarkus-examples@tmp/config17688865615696378102tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true
[Pipeline] sh
[2023-05-22T14:10:33.475Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2023-05-22T14:10:33.476Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2023-05-22T14:10:33.476Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2023-05-22T14:10:33.745Z] + build-chain build cross_pr --token **** -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/1587 --skipParallelCheckout
[2023-05-22T14:10:34.668Z] # Executing pre section
[2023-05-22T14:10:34.668Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-quarkus-examples@tmp/config17688865615696378102tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-05-22T14:10:34.668Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-quarkus-examples@tmp/config17688865615696378102tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-05-22T14:10:34.668Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT=
[2023-05-22T14:10:34.668Z] BUILD_MVN_OPTS_CURRENT=
[2023-05-22T14:10:34.668Z] [command]/usr/bin/echo QUARKUS_VERSION=
[2023-05-22T14:10:34.668Z] QUARKUS_VERSION=
[2023-05-22T14:10:34.668Z] [command]/usr/bin/echo ENABLE_DEPLOY=
[2023-05-22T14:10:34.668Z] ENABLE_DEPLOY=
[2023-05-22T14:10:34.668Z]
[2023-05-22T14:10:34.668Z] # Execution Plan
[2023-05-22T14:10:34.668Z] [INFO] 4 projects will be executed
[2023-05-22T14:10:34.668Z] [INFO] [kiegroup/drools]
[2023-05-22T14:10:34.668Z] [INFO] Level type: upstream
[2023-05-22T14:10:34.668Z] [INFO] [before]
[2023-05-22T14:10:34.668Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-05-22T14:10:34.668Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-05-22T14:10:34.668Z] [INFO] [commands]
[2023-05-22T14:10:34.668Z] [INFO] mvn dependency:tree clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-05-22T14:10:34.668Z] [INFO] [after]
[2023-05-22T14:10:34.668Z] [INFO] docker system prune -f
[2023-05-22T14:10:34.668Z] [INFO] [kiegroup/kogito-runtimes]
[2023-05-22T14:10:34.668Z] [INFO] Level type: upstream
[2023-05-22T14:10:34.668Z] [INFO] [before]
[2023-05-22T14:10:34.669Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-05-22T14:10:34.669Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-05-22T14:10:34.669Z] [INFO] [commands]
[2023-05-22T14:10:34.669Z] [INFO] mvn dependency:tree clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }}
[2023-05-22T14:10:34.669Z] [INFO] [after]
[2023-05-22T14:10:34.669Z] [INFO] docker system prune -f
[2023-05-22T14:10:34.669Z] [INFO] [kiegroup/kogito-apps]
[2023-05-22T14:10:34.669Z] [INFO] Level type: upstream
[2023-05-22T14:10:34.669Z] [INFO] [before]
[2023-05-22T14:10:34.669Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-05-22T14:10:34.669Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-05-22T14:10:34.669Z] [INFO] [commands]
[2023-05-22T14:10:34.669Z] [INFO] mvn dependency:tree clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-05-22T14:10:34.669Z] [INFO] [after]
[2023-05-22T14:10:34.669Z] [INFO] docker system prune -f
[2023-05-22T14:10:34.669Z] [INFO] [kiegroup/kogito-examples]
[2023-05-22T14:10:34.669Z] [INFO] Level type: current
[2023-05-22T14:10:34.669Z] [INFO] [before]
[2023-05-22T14:10:34.669Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }}
[2023-05-22T14:10:34.669Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_CURRENT }}; fi"
[2023-05-22T14:10:34.669Z] [INFO] [commands]
[2023-05-22T14:10:34.669Z] [INFO] export MVN_CMD=`bash -c "if [ '${{ env.ENABLE_DEPLOY }}' = 'true' ]; then printf 'deploy ${{ env.DEPLOY_MVN_OPTS }} ${{ env.KOGITO_EXAMPLES_DEPLOY_MVN_OPTS }}'; else printf 'install'; fi"`
[2023-05-22T14:10:34.669Z] mvn dependency:tree -pl :kogito-examples clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}
[2023-05-22T14:10:34.669Z] mvn dependency:tree -f ${{ env.KOGITO_EXAMPLES_SUBFOLDER_POM }}pom.xml clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}
[2023-05-22T14:10:34.669Z] [INFO] [after]
[2023-05-22T14:10:34.669Z] [INFO] docker system prune -f
[2023-05-22T14:10:34.669Z]
[2023-05-22T14:10:34.669Z] # Checking out kiegroup/kogito-examples and its dependencies (4 projects in total). It can take some time.
[2023-05-22T14:10:49.484Z] [INFO] kiegroup/drools checked out
[2023-05-22T14:11:04.305Z] [ERROR] [kiegroup/kogito-runtimes] Error merging elguardian/kogito-runtimes:KOGITO-4593
[2023-05-22T14:11:04.305Z] into kiegroup/kogito-runtimes:main
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2023-05-22T14:11:04.373Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] junit
[2023-05-22T14:11:04.483Z] Recording test results
[2023-05-22T14:11:04.820Z] [Checks API] No suitable checks publisher found.
[Pipeline] archiveArtifacts
[2023-05-22T14:11:04.836Z] Archiving artifacts
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-05-22T14:11:05.483Z] + rm -rf console.log
[2023-05-22T14:11:03.705Z] No test report files were found. Configuration error?
[Pipeline] sh

@kie-ci3
Copy link
Contributor

kie-ci3 commented May 22, 2023

(tests) - kogito-apps job #2606 was: FAILURE
Possible explanation: Pipeline failure or project build failure

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/1587 --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/2606/display/redirect
See console log:

Console Logs Checking out git https://github.com/kiegroup/kogito-pipelines.git into /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-apps/workspace@script/ee10b829cbd0ac763d0be6f0356db3418b2d4469e9daa1842e842313521cde92 to read .ci/jenkins/Jenkinsfile.buildchain
The recommended git tool is: NONE
using credential kie-ci3
> git rev-parse --resolve-git-dir /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-apps/workspace@script/ee10b829cbd0ac763d0be6f0356db3418b2d4469e9daa1842e842313521cde92/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/kiegroup/kogito-pipelines.git # timeout=10
Cleaning workspace
> git rev-parse --verify HEAD # timeout=10
Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token
> git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/main^{commit} # timeout=10
Checking out Revision e91f6eaba901315d56073188c7a79bb549c1e594 (origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
Commit message: "Add release branch 1.39.x after cut-off"
> git rev-list --no-walk e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
Loading library jenkins-pipeline-shared-libraries@main
Attempting to resolve main from remote references...
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space
[INFO] Currently running in a labeled security context
> /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1057158984140632003.key
Verifying host key using manually-configured host key entries
> git ls-remote -h -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10
Found match: refs/heads/main revision 0510a173ee21200297790c8e7a18835f47d32d17
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential kie-ci-user-key
> git rev-parse --resolve-git-dir /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-apps/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/kiegroup/jenkins-pipeline-shared-libraries
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space
[INFO] Currently running in a labeled security context
> /usr/bin/chcon --type=ssh_home_t /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.kogito-apps/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb@tmp/jenkins-gitclient-ssh5146883449527464046.key
Verifying host key using manually-configured host key entries
> git fetch --no-tags --force --progress -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision 0510a173ee21200297790c8e7a18835f47d32d17 (main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0510a173ee21200297790c8e7a18835f47d32d17 # timeout=10
Commit message: "KOGITO-8455: create release with release notes (#273)"
> git rev-list --no-walk 0510a173ee21200297790c8e7a18835f47d32d17 # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] node
Running on rhos-01-kie-psi-rhel7-xlarge-65 in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential kie-ci3
Cloning the remote Git repository
Cloning repository https://github.com/kiegroup/kogito-pipelines.git
> git init /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps # timeout=10
Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git
> git --version # timeout=10
> git --version # 'git version 2.39.2'
using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token
> git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision e91f6eaba901315d56073188c7a79bb549c1e594 (origin/main)
Commit message: "Add release branch 1.39.x after cut-off"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
> git config remote.origin.url https://github.com/kiegroup/kogito-pipelines.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/main^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] timeout
[2023-05-22T14:10:25.175Z] Timeout set to expire in 3 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Initialize)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-05-22T14:10:26.311Z] + printenv
[Pipeline] archiveArtifacts
[2023-05-22T14:10:26.370Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (check space before build)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] dir
[2023-05-22T14:10:27.252Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:27.292Z] [INFO] space left on the machine
[Pipeline] sh
[2023-05-22T14:10:27.613Z] + df -h
[2023-05-22T14:10:27.613Z] Filesystem Size Used Avail Use% Mounted on
[2023-05-22T14:10:27.613Z] devtmpfs 7.8G 0 7.8G 0% /dev
[2023-05-22T14:10:27.613Z] tmpfs 7.8G 0 7.8G 0% /dev/shm
[2023-05-22T14:10:27.613Z] tmpfs 7.8G 17M 7.8G 1% /run
[2023-05-22T14:10:27.613Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
[2023-05-22T14:10:27.613Z] /dev/vda1 80G 20G 61G 25% /
[2023-05-22T14:10:27.613Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000
[2023-05-22T14:10:27.613Z] tmpfs 1.6G 0 1.6G 0% /run/user/0
[Pipeline] echo
[2023-05-22T14:10:27.664Z] [INFO] space of /home/jenkins
[Pipeline] sh
[2023-05-22T14:10:27.945Z] + du -h -d1 /home/jenkins
[2023-05-22T14:10:27.946Z] 4.0K /home/jenkins/.ssh
[2023-05-22T14:10:27.946Z] 0 /home/jenkins/go
[2023-05-22T14:10:27.946Z] 8.0K /home/jenkins/.vnc
[2023-05-22T14:10:27.946Z] 8.0K /home/jenkins/.m2
[2023-05-22T14:10:27.947Z] 2.2G /home/jenkins/git-repos
[2023-05-22T14:10:27.947Z] 12K /home/jenkins/.config
[2023-05-22T14:10:27.947Z] 128M /home/jenkins/virtenvs
[2023-05-22T14:10:27.947Z] 4.0K /home/jenkins/.cekit
[2023-05-22T14:10:27.947Z] 33M /home/jenkins/remoting
[2023-05-22T14:10:27.947Z] 86M /home/jenkins/.cache
[2023-05-22T14:10:27.947Z] 7.3M /home/jenkins/workspace
[2023-05-22T14:10:27.947Z] 0 /home/jenkins/.pki
[2023-05-22T14:10:27.947Z] 148M /home/jenkins/tools
[2023-05-22T14:10:27.947Z] 0 /home/jenkins/caches
[2023-05-22T14:10:27.947Z] 19M /home/jenkins/.npm
[2023-05-22T14:10:27.947Z] 8.0K /home/jenkins/.docker
[2023-05-22T14:10:27.947Z] 2.6G /home/jenkins
[Pipeline] echo
[2023-05-22T14:10:27.983Z] [INFO] space of workspace
[Pipeline] sh
[2023-05-22T14:10:28.298Z] + du -h -d3 /home/jenkins/workspace
[2023-05-22T14:10:28.299Z] 7.3M /home/jenkins/workspace/KIE/kogito/main
[2023-05-22T14:10:28.299Z] 7.3M /home/jenkins/workspace/KIE/kogito
[2023-05-22T14:10:28.299Z] 0 /home/jenkins/workspace/KIE/drools/main
[2023-05-22T14:10:28.299Z] 0 /home/jenkins/workspace/KIE/drools
[2023-05-22T14:10:28.299Z] 7.3M /home/jenkins/workspace/KIE
[2023-05-22T14:10:28.299Z] 7.3M /home/jenkins/workspace
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Install build-chain tool)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:28.881Z] [INFO] Getting build-chain version from composite action file
[Pipeline] readFile
[Pipeline] echo
[2023-05-22T14:10:28.995Z] [INFO] build-chain version recovered '^v3'
[Pipeline] sh
[2023-05-22T14:10:29.315Z] + npm install -g '@kie/build-chain-action@^v3' -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/
[2023-05-22T14:10:31.205Z]
[2023-05-22T14:10:31.205Z] changed 96 packages, and audited 97 packages in 2s
[2023-05-22T14:10:31.205Z]
[2023-05-22T14:10:31.205Z] 5 packages are looking for funding
[2023-05-22T14:10:31.205Z] run `npm fund` for details
[2023-05-22T14:10:31.205Z]
[2023-05-22T14:10:31.205Z] found 0 vulnerabilities
[Pipeline] sh
[2023-05-22T14:10:31.520Z] + npm list -g
[2023-05-22T14:10:31.520Z] + grep build-chain
[2023-05-22T14:10:31.775Z] ├── @kie/build-chain-action@3.1.0
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build projects)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:32.386Z] BUILD_MVN_OPTS_CURRENT =
[Pipeline] configFileProvider
[2023-05-22T14:10:32.402Z] provisioning config files...
[2023-05-22T14:10:32.405Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps@tmp/config4820069456918316734tmp
[Pipeline] {
[Pipeline] withCredentials
[2023-05-22T14:10:32.473Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:32.520Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps@tmp/config4820069456918316734tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true
[Pipeline] sh
[2023-05-22T14:10:32.555Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2023-05-22T14:10:32.555Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2023-05-22T14:10:32.556Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2023-05-22T14:10:32.822Z] + build-chain build cross_pr --token **** -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/1587 --skipParallelCheckout
[2023-05-22T14:10:33.749Z] # Executing pre section
[2023-05-22T14:10:33.749Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps@tmp/config4820069456918316734tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-05-22T14:10:33.749Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-apps@tmp/config4820069456918316734tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-05-22T14:10:33.749Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT=
[2023-05-22T14:10:33.749Z] BUILD_MVN_OPTS_CURRENT=
[2023-05-22T14:10:33.749Z] [command]/usr/bin/echo QUARKUS_VERSION=
[2023-05-22T14:10:33.749Z] QUARKUS_VERSION=
[2023-05-22T14:10:33.749Z] [command]/usr/bin/echo ENABLE_DEPLOY=
[2023-05-22T14:10:33.749Z] ENABLE_DEPLOY=
[2023-05-22T14:10:33.749Z]
[2023-05-22T14:10:33.749Z] # Execution Plan
[2023-05-22T14:10:33.749Z] [INFO] 3 projects will be executed
[2023-05-22T14:10:33.749Z] [INFO] [kiegroup/drools]
[2023-05-22T14:10:33.749Z] [INFO] Level type: upstream
[2023-05-22T14:10:33.749Z] [INFO] [before]
[2023-05-22T14:10:33.749Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-05-22T14:10:33.749Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-05-22T14:10:33.749Z] [INFO] [commands]
[2023-05-22T14:10:33.749Z] [INFO] mvn dependency:tree clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-05-22T14:10:33.749Z] [INFO] [after]
[2023-05-22T14:10:33.749Z] [INFO] docker system prune -f
[2023-05-22T14:10:33.749Z] [INFO] [kiegroup/kogito-runtimes]
[2023-05-22T14:10:33.749Z] [INFO] Level type: upstream
[2023-05-22T14:10:33.749Z] [INFO] [before]
[2023-05-22T14:10:33.749Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-05-22T14:10:33.749Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-05-22T14:10:33.749Z] [INFO] [commands]
[2023-05-22T14:10:33.749Z] [INFO] mvn dependency:tree clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }}
[2023-05-22T14:10:33.749Z] [INFO] [after]
[2023-05-22T14:10:33.749Z] [INFO] docker system prune -f
[2023-05-22T14:10:33.749Z] [INFO] [kiegroup/kogito-apps]
[2023-05-22T14:10:33.749Z] [INFO] Level type: current
[2023-05-22T14:10:33.749Z] [INFO] [before]
[2023-05-22T14:10:33.750Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }}
[2023-05-22T14:10:33.750Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_CURRENT }}; fi"
[2023-05-22T14:10:33.750Z] [INFO] [commands]
[2023-05-22T14:10:33.750Z] [INFO] export MVN_CMD=`bash -c "if [ '${{ env.ENABLE_DEPLOY }}' = 'true' ]; then printf 'deploy ${{ env.DEPLOY_MVN_OPTS }} ${{ env.KOGITO_APPS_DEPLOY_MVN_OPTS }}'; else printf 'install'; fi"`
[2023-05-22T14:10:33.750Z] mvn dependency:tree clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS }}
[2023-05-22T14:10:33.750Z] [INFO] [after]
[2023-05-22T14:10:33.750Z] [INFO] docker system prune -f
[2023-05-22T14:10:33.750Z]
[2023-05-22T14:10:33.750Z] # Checking out kiegroup/kogito-apps and its dependencies (3 projects in total). It can take some time.
[2023-05-22T14:10:55.611Z] [INFO] kiegroup/drools checked out
[2023-05-22T14:11:10.846Z] [ERROR] [kiegroup/kogito-runtimes] Error merging elguardian/kogito-runtimes:KOGITO-4593
[2023-05-22T14:11:10.846Z] into kiegroup/kogito-runtimes:main
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2023-05-22T14:11:12.247Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] junit
[2023-05-22T14:11:16.344Z] Recording test results
[2023-05-22T14:11:17.344Z] [Checks API] No suitable checks publisher found.
[2023-05-22T14:11:16.147Z] No test report files were found. Configuration error?
[Pipeline] archiveArtifacts
[2023-05-22T14:11:18.044Z] Archiving artifacts
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-05-22T14:11:20.649Z] + rm -rf console.log
[Pipeline] sh

@kie-ci3
Copy link
Contributor

kie-ci3 commented May 22, 2023

(tests) - serverless-workflow-examples job #955 was: FAILURE
Possible explanation: Pipeline failure or project build failure

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/1587 --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/955/display/redirect
See console log:

Console Logs Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token
> git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/main^{commit} # timeout=10
Checking out Revision e91f6eaba901315d56073188c7a79bb549c1e594 (origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
Commit message: "Add release branch 1.39.x after cut-off"
> git rev-list --no-walk e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
Loading library jenkins-pipeline-shared-libraries@main
Attempting to resolve main from remote references...
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space
[INFO] Currently running in a labeled security context
> /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12734535885534689046.key
Verifying host key using manually-configured host key entries
> git ls-remote -h -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10
Found match: refs/heads/main revision 0510a173ee21200297790c8e7a18835f47d32d17
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential kie-ci-user-key
> git rev-parse --resolve-git-dir /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.serverless-workflow-examples/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/kiegroup/jenkins-pipeline-shared-libraries # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/kiegroup/jenkins-pipeline-shared-libraries
> git --version # timeout=10
> git --version # 'git version 2.31.1'
using GIT_SSH to set credentials SSH: kie-ci service account with access to jboss-integration private github space
[INFO] Currently running in a labeled security context
> /usr/bin/chcon --type=ssh_home_t /var/jenkins_home/jobs/KIE/jobs/kogito/jobs/main/jobs/pullrequest/jobs/kogito-runtimes.tests.downstream.serverless-workflow-examples/workspace@libs/d03f8b53ef89e88ec2b15428a250a4b1fb7910bfcdd3e1c33e4e95c3adb758bb@tmp/jenkins-gitclient-ssh8894921518704793813.key
Verifying host key using manually-configured host key entries
> git fetch --no-tags --force --progress -- https://github.com/kiegroup/jenkins-pipeline-shared-libraries +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision 0510a173ee21200297790c8e7a18835f47d32d17 (main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0510a173ee21200297790c8e7a18835f47d32d17 # timeout=10
Commit message: "KOGITO-8455: create release with release notes (#273)"
> git rev-list --no-walk 0510a173ee21200297790c8e7a18835f47d32d17 # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] node
Running on rhos-01-kie-psi-rhel7-xlarge-54 in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential kie-ci3
Cloning the remote Git repository
Cloning repository https://github.com/kiegroup/kogito-pipelines.git
> git init /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples # timeout=10
Fetching upstream changes from https://github.com/kiegroup/kogito-pipelines.git
> git --version # timeout=10
> git --version # 'git version 2.39.2'
using GIT_ASKPASS to set credentials PSSWD: kie-ci3 account to access GitHub via token
> git fetch --tags --force --progress -- https://github.com/kiegroup/kogito-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision e91f6eaba901315d56073188c7a79bb549c1e594 (origin/main)
Commit message: "Add release branch 1.39.x after cut-off"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] timeout
[2023-05-22T14:10:24.089Z] Timeout set to expire in 3 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
[Pipeline] tool
[Pipeline] envVarsForTool
> git config remote.origin.url https://github.com/kiegroup/kogito-pipelines.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse origin/main^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f e91f6eaba901315d56073188c7a79bb549c1e594 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Initialize)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-05-22T14:10:25.024Z] + printenv
[Pipeline] archiveArtifacts
[2023-05-22T14:10:25.071Z] Archiving artifacts
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (check space before build)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] dir
[2023-05-22T14:10:25.991Z] Running in /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:26.075Z] [INFO] space left on the machine
[Pipeline] sh
[2023-05-22T14:10:26.444Z] + df -h
[2023-05-22T14:10:26.445Z] Filesystem Size Used Avail Use% Mounted on
[2023-05-22T14:10:26.445Z] devtmpfs 7.8G 0 7.8G 0% /dev
[2023-05-22T14:10:26.445Z] tmpfs 7.8G 0 7.8G 0% /dev/shm
[2023-05-22T14:10:26.445Z] tmpfs 7.8G 17M 7.8G 1% /run
[2023-05-22T14:10:26.445Z] tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
[2023-05-22T14:10:26.445Z] /dev/vda1 80G 21G 60G 26% /
[2023-05-22T14:10:26.445Z] tmpfs 1.6G 0 1.6G 0% /run/user/1000
[2023-05-22T14:10:26.445Z] tmpfs 1.6G 0 1.6G 0% /run/user/0
[Pipeline] echo
[2023-05-22T14:10:26.474Z] [INFO] space of /home/jenkins
[Pipeline] sh
[2023-05-22T14:10:26.842Z] + du -h -d1 /home/jenkins
[2023-05-22T14:10:26.843Z] 4.0K /home/jenkins/.ssh
[2023-05-22T14:10:26.843Z] 0 /home/jenkins/go
[2023-05-22T14:10:26.843Z] 8.0K /home/jenkins/.vnc
[2023-05-22T14:10:26.843Z] 8.0K /home/jenkins/.m2
[2023-05-22T14:10:26.843Z] 2.2G /home/jenkins/git-repos
[2023-05-22T14:10:26.843Z] 12K /home/jenkins/.config
[2023-05-22T14:10:26.843Z] 128M /home/jenkins/virtenvs
[2023-05-22T14:10:26.843Z] 4.0K /home/jenkins/.cekit
[2023-05-22T14:10:26.843Z] 33M /home/jenkins/remoting
[2023-05-22T14:10:26.843Z] 86M /home/jenkins/.cache
[2023-05-22T14:10:26.843Z] 7.3M /home/jenkins/workspace
[2023-05-22T14:10:26.843Z] 0 /home/jenkins/.pki
[2023-05-22T14:10:26.843Z] 148M /home/jenkins/tools
[2023-05-22T14:10:26.843Z] 0 /home/jenkins/caches
[2023-05-22T14:10:26.843Z] 19M /home/jenkins/.npm
[2023-05-22T14:10:26.843Z] 8.0K /home/jenkins/.docker
[2023-05-22T14:10:26.843Z] 2.6G /home/jenkins
[Pipeline] echo
[2023-05-22T14:10:26.866Z] [INFO] space of workspace
[Pipeline] sh
[2023-05-22T14:10:27.146Z] + du -h -d3 /home/jenkins/workspace
[2023-05-22T14:10:27.146Z] 7.3M /home/jenkins/workspace/KIE/kogito/main
[2023-05-22T14:10:27.146Z] 7.3M /home/jenkins/workspace/KIE/kogito
[2023-05-22T14:10:27.146Z] 7.3M /home/jenkins/workspace/KIE
[2023-05-22T14:10:27.146Z] 7.3M /home/jenkins/workspace
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Install build-chain tool)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:27.870Z] [INFO] Getting build-chain version from composite action file
[Pipeline] readFile
[Pipeline] echo
[2023-05-22T14:10:27.997Z] [INFO] build-chain version recovered '^v3'
[Pipeline] sh
[2023-05-22T14:10:28.344Z] + npm install -g '@kie/build-chain-action@^v3' -registry=https://repository.engineering.redhat.com/nexus/repository/registry.npmjs.org/
[2023-05-22T14:10:30.245Z]
[2023-05-22T14:10:30.245Z] changed 96 packages, and audited 97 packages in 2s
[2023-05-22T14:10:30.245Z]
[2023-05-22T14:10:30.245Z] 5 packages are looking for funding
[2023-05-22T14:10:30.245Z] run `npm fund` for details
[2023-05-22T14:10:30.245Z]
[2023-05-22T14:10:30.245Z] found 0 vulnerabilities
[Pipeline] sh
[2023-05-22T14:10:30.531Z] + npm list -g
[2023-05-22T14:10:30.532Z] + grep build-chain
[2023-05-22T14:10:31.089Z] ├── @kie/build-chain-action@3.1.0
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build projects)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:31.662Z] BUILD_MVN_OPTS_CURRENT =
[Pipeline] configFileProvider
[2023-05-22T14:10:31.676Z] provisioning config files...
[2023-05-22T14:10:31.680Z] copy managed file [kogito_pr_settings] to file:/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples@tmp/config6547690708634947576tmp
[Pipeline] {
[Pipeline] withCredentials
[2023-05-22T14:10:31.753Z] Masking supported pattern matches of $GITHUB_TOKEN
[Pipeline] {
[Pipeline] echo
[2023-05-22T14:10:31.795Z] BUILD_MVN_OPTS = -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples@tmp/config6547690708634947576tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true
[Pipeline] sh
[2023-05-22T14:10:31.854Z] Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
[2023-05-22T14:10:31.855Z] Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
[2023-05-22T14:10:31.855Z] See https://jenkins.io/redirect/groovy-string-interpolation for details.
[2023-05-22T14:10:32.145Z] + build-chain build cross_pr --token **** -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/1587 --skipParallelCheckout
[2023-05-22T14:10:33.078Z] # Executing pre section
[2023-05-22T14:10:33.078Z] [command]/usr/bin/echo BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples@tmp/config6547690708634947576tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-05-22T14:10:33.078Z] BUILD_MVN_OPTS= -s /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.serverless-workflow-examples@tmp/config6547690708634947576tmp -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3
[2023-05-22T14:10:33.078Z] [command]/usr/bin/echo BUILD_MVN_OPTS_CURRENT=
[2023-05-22T14:10:33.078Z] BUILD_MVN_OPTS_CURRENT=
[2023-05-22T14:10:33.078Z] [command]/usr/bin/echo QUARKUS_VERSION=
[2023-05-22T14:10:33.078Z] QUARKUS_VERSION=
[2023-05-22T14:10:33.078Z] [command]/usr/bin/echo ENABLE_DEPLOY=
[2023-05-22T14:10:33.078Z] ENABLE_DEPLOY=
[2023-05-22T14:10:33.078Z]
[2023-05-22T14:10:33.078Z] # Execution Plan
[2023-05-22T14:10:33.078Z] [INFO] 4 projects will be executed
[2023-05-22T14:10:33.078Z] [INFO] [kiegroup/drools]
[2023-05-22T14:10:33.078Z] [INFO] Level type: upstream
[2023-05-22T14:10:33.078Z] [INFO] [before]
[2023-05-22T14:10:33.078Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-05-22T14:10:33.078Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-05-22T14:10:33.078Z] [INFO] [commands]
[2023-05-22T14:10:33.078Z] [INFO] mvn dependency:tree clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-05-22T14:10:33.078Z] [INFO] [after]
[2023-05-22T14:10:33.078Z] [INFO] docker system prune -f
[2023-05-22T14:10:33.078Z] [INFO] [kiegroup/kogito-runtimes]
[2023-05-22T14:10:33.078Z] [INFO] Level type: upstream
[2023-05-22T14:10:33.078Z] [INFO] [before]
[2023-05-22T14:10:33.078Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-05-22T14:10:33.078Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-05-22T14:10:33.078Z] [INFO] [commands]
[2023-05-22T14:10:33.078Z] [INFO] mvn dependency:tree clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_RUNTIMES_BUILD_MVN_OPTS_UPSTREAM }}
[2023-05-22T14:10:33.078Z] [INFO] [after]
[2023-05-22T14:10:33.078Z] [INFO] docker system prune -f
[2023-05-22T14:10:33.078Z] [INFO] [kiegroup/kogito-apps]
[2023-05-22T14:10:33.078Z] [INFO] Level type: upstream
[2023-05-22T14:10:33.078Z] [INFO] [before]
[2023-05-22T14:10:33.078Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_UPSTREAM }}
[2023-05-22T14:10:33.078Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_UPSTREAM }}; fi"
[2023-05-22T14:10:33.078Z] [INFO] [commands]
[2023-05-22T14:10:33.078Z] [INFO] mvn dependency:tree clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.KOGITO_APPS_BUILD_MVN_OPTS_UPSTREAM }}
[2023-05-22T14:10:33.078Z] [INFO] [after]
[2023-05-22T14:10:33.078Z] [INFO] docker system prune -f
[2023-05-22T14:10:33.078Z] [INFO] [kiegroup/kogito-examples]
[2023-05-22T14:10:33.078Z] [INFO] Level type: current
[2023-05-22T14:10:33.078Z] [INFO] [before]
[2023-05-22T14:10:33.078Z] [INFO] export INTEGRATION_BRANCH=${{ env.INTEGRATION_BRANCH_CURRENT }}
[2023-05-22T14:10:33.078Z] bash -c "if [ ! -z '${{ env.BUILD_ENVIRONMENT }}' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh ${{ env.BUILD_ENVIRONMENT }} ${{ env.BUILD_ENVIRONMENT_OPTIONS_CURRENT }}; fi"
[2023-05-22T14:10:33.078Z] [INFO] [commands]
[2023-05-22T14:10:33.078Z] [INFO] export MVN_CMD=`bash -c "if [ '${{ env.ENABLE_DEPLOY }}' = 'true' ]; then printf 'deploy ${{ env.DEPLOY_MVN_OPTS }} ${{ env.KOGITO_EXAMPLES_DEPLOY_MVN_OPTS }}'; else printf 'install'; fi"`
[2023-05-22T14:10:33.078Z] mvn dependency:tree -pl :kogito-examples clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}
[2023-05-22T14:10:33.078Z] mvn dependency:tree -f ${{ env.KOGITO_EXAMPLES_SUBFOLDER_POM }}pom.xml clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.KOGITO_EXAMPLES_BUILD_MVN_OPTS }}
[2023-05-22T14:10:33.078Z] [INFO] [after]
[2023-05-22T14:10:33.078Z] [INFO] docker system prune -f
[2023-05-22T14:10:33.078Z]
[2023-05-22T14:10:33.078Z] # Checking out kiegroup/kogito-examples and its dependencies (4 projects in total). It can take some time.
[2023-05-22T14:10:51.096Z] [INFO] kiegroup/drools checked out
[2023-05-22T14:11:13.543Z] [ERROR] [kiegroup/kogito-runtimes] Error merging elguardian/kogito-runtimes:KOGITO-4593
[2023-05-22T14:11:13.543Z] into kiegroup/kogito-runtimes:main
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[2023-05-22T14:11:18.047Z] Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] junit
[2023-05-22T14:11:20.287Z] Recording test results
[2023-05-22T14:11:20.690Z] [Checks API] No suitable checks publisher found.
[Pipeline] archiveArtifacts
[2023-05-22T14:11:20.706Z] Archiving artifacts
[Pipeline] script
[Pipeline] {
[Pipeline] sh
[2023-05-22T14:11:20.598Z] No test report files were found. Configuration error?
[2023-05-22T14:11:21.354Z] + rm -rf console.log
[Pipeline] sh

@elguardian elguardian closed this May 21, 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.

8 participants