Skip to content

Instantly share code, notes, and snippets.

View mbiarnes's full-sized avatar

Michael Biarnés Kiefer mbiarnes

  • Red Hat
  • Cardedeu - Barcelona
View GitHub Profile
{
"url": "https://api.github.com/repos/kiegroup/kogito-runtimes/pulls/3123",
"id": 1436884613,
"node_id": "PR_kwDOCmO1Vc5VpR6F",
"html_url": "https://github.com/kiegroup/kogito-runtimes/pull/3123",
"diff_url": "https://github.com/kiegroup/kogito-runtimes/pull/3123.diff",
"patch_url": "https://github.com/kiegroup/kogito-runtimes/pull/3123.patch",
"issue_url": "https://api.github.com/repos/kiegroup/kogito-runtimes/issues/3123",
"number": 3123,
"state": "open",
[2023-07-18T07:55:00.933Z] + printenv
[2023-07-18T07:55:00.933Z] ghprbPullId=3123
[2023-07-18T07:55:00.933Z] BUILD_MAVEN_TOOL=kie-maven-3.8.7
[2023-07-18T07:55:00.933Z] BUILDCHAIN_CONFIG_FILE_PATH=.ci/pull-request-config.yaml
[2023-07-18T07:55:00.933Z] RUN_DISPLAY_URL=https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/custom/job/mbiarnes/job/send-umb-bridge/239/display/redirect
[2023-07-18T07:55:00.933Z] JENKINS_URL=https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/
[2023-07-18T07:55:00.933Z] EXECUTOR_NUMBER=0
[2023-07-18T07:55:00.933Z] SSH_CONNECTION=10.0.180.74 54832 10.0.201.194 22
[2023-07-18T07:55:00.933Z] RCM_GUEST_FOLDER=/mnt/rcm-guest/staging
[2023-07-18T07:55:00.933Z] SRCCLR_INVOKER_REPO_URL=https://github.com/project-ncl/sourceclear-invoker
[jenkins@rhos-d-kie-rhel8-large-osbs-docker-1778 _logs]$ cat 2023-05-30T13_59_33_231Z-debug.log
0 info it worked if it ends with ok
1 warn npm npm does not support Node.js v18.16.0
2 warn npm You should probably upgrade to a newer version of node as we
3 warn npm can't make any promises that npm will work with this version.
4 warn npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12.
5 warn npm You can find the latest version at https://nodejs.org/
6 verbose cli [
6 verbose cli '/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-apps.tests.kogito-apps/bc/kiegroup_kogito-apps/ui-packages/node/node',
6 verbose cli '/home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-apps.tests.kogito-apps/bc/kiegroup_kogito-apps/ui-packages/node/node_modules/npm/bin/npm-cli.js',
java.lang.AssertionError: /home/mbiarnes/.gradle/caches/modules-2/files-2.1/org.jenkins-ci.main/jenkins-core/2.387.1/d60c28351aa7be2fb667188ea5e711edecd9de5b/jenkins-core-2.387.1.jar is not in the expected location, and jenkins-war-*.war was not in /home/mbiarnes/.gradle/caches/7.0/workerMain/gradle-worker.jar:/home/mbiarnes/Development/git/others/kie-ci/job-dsls/build/classes/java/test:/home/mbiarnes/Development/git/others/kie-ci/job-dsls/build/classes/groovy/test:/home/mbiarnes/Development/git/others/kie-ci/job-dsls/build/resources/test:/home/mbiarnes/Development/git/others/kie-ci/job-dsls/build/classes/java/main:/home/mbiarnes/Development/git/others/kie-ci/job-dsls/build/classes/groovy/main:/home/mbiarnes/Development/git/others/kie-ci/job-dsls/build/resources/main:/home/mbiarnes/.gradle/caches/modules-2/files-2.1/org.jenkins-ci.plugins/job-dsl/1.77/9095009f807e9c5c2e11c0640227c608687f0123/job-dsl-1.77.hpi:/home/mbiarnes/.gradle/caches/modules-2/files-2.1/org.jenkins-ci.plugins/job-dsl/1.77/3dd0795f5d7a2885
kiegroup/drools-website (until now only https://smee.io/4Jzifn795JvucEh)
kiegroup/jbpm-website (until now only https://smee.io/4Jzifn795JvucEh)
kiegroup/optaplanner-website (until now only https://smee.io/4Jzifn795JvucEh)
errai/errai
kiegroup/jenkins-pipeline-shared-libraries
kiegroup/kie-ci
kiegroup/kiebot
kiegroup/kie-tools
kiegroup/kogito-apps
kiegroup/kogito-examples
method:
boolean isReleaseExist(String tagName, String credentialsId = 'kie-ci') {
withCredentials([usernamePassword(credentialsId: "${credentialsId}", usernameVariable: 'GH_USER', passwordVariable: 'GH_TOKEN')]) {
// checks if the release is already existing
return sh(script: "gh release view ${tagName}", returnStatus: true) == 0
}
}
@mbiarnes
mbiarnes / log
Created February 23, 2023 14:02
[ERROR] Failures:
[ERROR] GithubScmSpec.[githubscm.groovy] createRelease with all params and tag exist:765 Too few invocations for:
1 * getPipelineMock("sh")(['returnStdout': true, 'script': "gh release create tagName --target buildBranch --title tagName --notes \"create release when tag exists\""]) >> 'shResult' (0 invocations)
Unmatched invocations (ordered by similarity):
1 * getPipelineMock("sh").call(gh release create tagName --target buildBranch --title tagName --notes "release tagName")
1 * getPipelineMock("echo").call(removing release tagName)
1 * getPipelineMock("echo").call(release tagName already exist)
7.67.x jdk8 + jdk 11 ..:
[INFO] [REGEX COMMAND REPLACEMENT] Replacing command: 'mvn -B -e -U clean deploy -Dfull -Drelease -DaltDeploymentRepository=local::default::file:///home/jenkins/workspace/KIE/7.67.x/daily-build-jdk8/jdk8-db-7.67.x/deploy-dir -Dmaven.test.redirectTestOutputToFile=true -Dmaven.test.failure.ignore=true -Dgwt.memory.settings=-Xmx10g -Prun-code-coverage -Dcontainer.profile=wildfly -Dcontainer=wildfly -Dintegration-tests=true
-Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B' by expressions: '(^mvn .*)||$1 -s /home/jenkins/workspace/KIE/7.67.x/daily-build-jdk8/jdk8-db-7.67.x@tmp/config5596808018006141146tmp -Dkie.maven.settings.custom=/home/jenkins/workspace/KIE/7.67.x/daily-build-jdk8/jdk8-db-7.67.x@tmp/config5596808018006141146tmp
-Dmaven.wagon.http.ssl.insecure=true null'
main jdk11 ..:
[INFO] [REGEX COMMAND REPLACEMENT] Replacing command: 'mvn -B -e -
@mbiarnes
mbiarnes / gist:7de28d368b9fd76f03cbeddb9ea8fa7a
Created December 19, 2022 09:44
command line logs - kogito-examples
mbiarnes@mbiarnes ~/Development/git/kogito/kogito-examples (KOGITO-8115)$ .ci/jenkins/dsl/test.sh .ci/jenkins/dsl
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 20647 100 20647 0 0 240k 0 --:--:-- --:--:-- --:--:-- 240k
--------- Start configuration ---------
-----------------------------------------------------------------
-- GLOBAL CONFIGURATION
--
-- Git info
0.270 [id=20] INFO o.jvnet.hudson.test.WarExploder#explode: Exploding /home/mbiarnes/.gradle/caches/modules-2/files-2.1/org.jenkins-ci.main/jenkins-war/2.361.2/9b06767a2ca1cd96aa9686c766e4a83a2254e857/jenkins-war-2.361.2.war into /tmp/tmp.dHPcngUyog/dsl/seed/build/jenkins-for-test
2.190 [id=20] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer: Running on http://localhost:34185/jenkins/
2.510 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
3.282 [id=41] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /tmp/jenkins13604044354312686761/plugins/command-launcher.jpi
3.298 [id=41] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /tmp/jenkins13604044354312686761/plugins/jdk-tool.jpi
3.317 [id=41] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /tmp/jenkins13604044354312686761/plugins/sshd.jpi
6.255 [id=34] INFO jenkins.InitReactorRunner