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
@mbiarnes
mbiarnes / gist:a04b5f9e52bac5d171a199e5191e874b
Created April 14, 2022 10:19
optaplanner-deploy_ws-cleanup_
Resource
State
Tracked since
Workspace rhos-01-kie-psi-rhel7-xlarge-331:/home/jenkins/workspace/KIE/kogito/1.13.x/nightly/optaplanner-deploy_ws-cleanup_1649819726271
Also: java.nio.file.FileSystemException: /home/jenkins/workspace/KIE/kogito/1.13.x/nightly/optaplanner-deploy_ws-cleanup_1649819726271/optaweb-employee-rostering/optaweb-employee-rostering-frontend/cypress/videos/newTenantBasicWorkflow.js.mp4: Operation not permitted
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileAttributeViews$Posix.setMode(UnixFileAttributeViews.java:238)
curl 'http://localhost:8080/business-central/out.35557-5612.erraiBus?z=35&clientId=35557-5612' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/json; charset=utf-8' -H 'Errai-CSRF-Token: 56a47072d2c67ef7c7e4ef51a1076b8d9cb76583427b781f312e46c9edc32' -H 'Origin: http://localhost:8080' -H 'Connection: keep-alive' -H 'Referer: http://localhost:8080/business-central/kie-wb.jsp' -H 'Cookie: krisv_Mortgages_lastBranch=; krisv_lastSpace=MySpace; krisv_lastProject=; JSESSIONID=0W_1rg8_Uhmk-eNot4c-md01RWA2ePMQKHv6C5Cc.1a254c640ff8' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' --data-raw '[{"ToSubject":"org.kie.workbench.common.screens.examples.service.ExamplesService:RPC","CommandType":"setupExamples:org.kie.workbench.common.screens.examples.model.ExampleOrganizationalUnit:java.util.List:","Qualifiers":{"^En
curl 'http://localhost:8080/business-central/out.61487-21637.erraiBus?z=43&clientId=61487-21637' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/json; charset=utf-8' -H 'Errai-CSRF-Token: 7849a2515878b6bd6e6a5f96ea91d8e74c5fe313d1e526374f2265efb5c6737' -H 'Origin: http://localhost:8080' -H 'Connection: keep-alive' -H 'Referer: http://localhost:8080/business-central/kie-wb.jsp?locale=en_US' -H 'Cookie: krisv_Mortgages_lastBranch=master; krisv_lastSpace=LoqueSea; JSESSIONID=rBUFcampsoli2Q28oV1mqB2H3LJWtXmL3lGpj0AH.390f6600f075' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' --data-raw '[{"ToSubject":"org.kie.workbench.common.screens.examples.service.ExamplesService:RPC","CommandType":"setupExamples:org.kie.workbench.common.screens.examples.model.ExampleOrganizationalUnit:java.util.List:","Qualifiers":{
@mbiarnes
mbiarnes / gist:efc4a4a595a3f925820db67dbfbd3f23
Created March 24, 2022 08:32
directly on node VS Jenkins job on node
directly on kie-rhel8-priority ..:
[jenkins@rhos-01-kie-rhel8-priority-42 business-central]$ podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[jenkins@rhos-01-kie-rhel8-priority-42 business-central]$ podman run -p 8080:8080 -p 8001:8001 -d localhost/kiegroup/business-central-workbench:7.67.0.Final
766f2a42894e644eef94f8b5e8752a6adcc6f1b7bd8856e5970f7471731895cf
[jenkins@rhos-01-kie-rhel8-priority-42 business-central]$ podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
766f2a42894e localhost/kiegroup/business-central-workbench:7.67.0.Final ./start_business-... 11 seconds ago Up 11 seconds ago 0.0.0.0:8001->8001/tcp, 0.0.0.0:8080->8080/tcp inspiring_bardeen
@mbiarnes
mbiarnes / gist:b32ccad16174ff41cbac793c5297e248
Created March 23, 2022 15:48
/usr/share/containers/containers.conf
mbiarnes@mbiarnes ~ $ cat /usr/share/containers/containers.conf
# The containers configuration file specifies all of the available configuration
# command-line options/flags for container engine tools like Podman & Buildah,
# but in a TOML format that can be easily modified and versioned.
# Please refer to containers.conf(5) for details of all configuration options.
# Not all container engines implement all of the options.
# All of the options have hard coded defaults and these options will override
# the built in defaults. Users can then override these options via the command
# line. Container engines will read containers.conf files in up to three
[jenkins@rhos-01-kie-rhel7-priority-40 business-central]$ podman run -p 8080:8080 -p 8001:8001 -i -t localhost/kiegroup/business-central-workbench:7.67.0.Final
Running business-central workbench on JBoss Wildfly...
JAVA_OPTS already set in environment; overriding default settings with values: -Xms256m -Xmx2048m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=512m -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/jboss/wildfly
JAVA: /usr/lib/jvm/java/bin/java
curl 'http://localhost:8080/business-central/out.72231-613.erraiBus?z=28&clientId=72231-613' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Content-Type: application/json; charset=utf-8' -H 'Errai-CSRF-Token: 45f3244b2cb0cea8853ffd2f36af9e96873c2679cd4dbc4d8cf8b952e453' -H 'Origin: http://localhost:8080' -H 'Connection: keep-alive' -H 'Referer: http://localhost:8080/business-central/kie-wb.jsp' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' --data-raw '[{"ToSubject":"org.dashbuilder.dataset.service.DataSetLookupServices:RPC","CommandType":"lookupDataSet:org.dashbuilder.dataset.DataSetLookup:","Qualifiers":{"^EncodedType":"java.util.ArrayList","^ObjectID":"1","^Value":[]},"MethodParms":{"^EncodedType":"java.util.Arrays$ArrayList","^ObjectID":"2","^Value":[{"^EncodedType":"org.dashbuilder.dataset.DataSetLookup","^ObjectID":"3"
12:16:41 + mvn -B -s /home/jenkins/workspace/KIE/kogito/1.19.x/release/kogito-runtimes-deploy/maven-settings.xml -fae -ntp --projects :kogito-runtimes org.sonatype.plugins:nexus-staging-maven-plugin:1.6.5:deploy-staged-repository -Dfull -DnexusUrl=https://repository.jboss.org/nexus -DserverId=jboss-releases-repository '-DstagingDescription=kogito-runtimes 1.19.0.Final' -DkeepStagingRepositoryOnCloseRuleFailure=true -DstagingProgressTimeoutMinutes=10 -DrepositoryDirectory=/home/jenkins/workspace/KIE/kogito/1.19.x/release/kogito-runtimes-deploy/maven_deploy_dir/kogito-runtimes -DstagingProfileId=2161b7b8da0080
12:16:42 [INFO] Scanning for projects...
12:16:45 [INFO]
12:16:45 [INFO] -------------------< org.kie.kogito:kogito-runtimes >-------------------
12:16:45 [INFO] Building Kogito Runtimes 1.19.0.Final
12:16:45 [INFO] --------------------------------[ pom ]---------------------------------
12:16:45 [INFO]
12:16:45 [INFO] --- nexus-staging-maven-plugin:1.6.5:deploy-staged-repository (default-cli) @
@mbiarnes
mbiarnes / gist:43538e651bd41d3fdaf8d30e94260c43
Created March 8, 2022 07:31
daily build jdk 11 of main branch
00:37:22 [INFO] ---------------------< org.jbpm:jbpm-wb-showcase >----------------------
00:37:22 [INFO] Building jBPM Workbench - Showcase 7.67.0.220307-05 [38/38]
00:37:22 [INFO] --------------------------------[ war ]---------------------------------
00:37:23 [INFO]
00:37:23 [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ jbpm-wb-showcase ---
00:37:23 [INFO] Deleting /home/jenkins/workspace/KIE/main/daily-build-jdk11/jdk11-db-main/bc/kiegroup_jbpm_wb/jbpm-wb-showcase (includes = [src/main/webapp/org.jbpm.workbench.jBPMShowcase/, src/main/webapp/WEB-INF/deploy/, src/main/webapp/WEB-INF/classes/, src/main/webapp/WEB-INF/lib/, src/main/webapp/WEB-INF/tlds/, .errai/, .niogit/**, .niogit-caseapp/**, .index/**, .security/**, .kie-wb-playground/**], excludes = [])
00:37:23 [INFO]
00:37:23 [INFO] --- gwt-maven-plugin:2.9.0:clean (gwt-clean) @ jbpm-wb-showcase ---
00:37:23 [INFO]
00:37:23 [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-plugin-versions) @ jbpm-wb-show
@mbiarnes
mbiarnes / gist:44fadec5ab367e26baef5db627f2de37
Created March 3, 2022 12:20
log del checkout - no debería hacer el checkoput de los optawebs*
13:12:07 Warning: A secret was passed to "sh" using Groovy String interpolation, which is insecure.
13:12:07 Affected argument(s) used the following variable(s): [GITHUB_TOKEN]
13:12:07 See https://jenkins.io/redirect/groovy-string-interpolation for details.
13:12:07 + build-chain-action -token=**** -df=https://raw.githubusercontent.com/mbiarnes/droolsjbpm-build-bootstrap/communityReleaseTests/.ci/release-config.yaml -folder=bc build branch -p=mbiarnes/droolsjbpm-build-bootstrap -sp=mbiarnes/droolsjbpm-build-bootstrap -b=r7.77.7.Test --fullProjectDependencyTree --skipParallelCheckout -spc mbiarnes/optaweb-employee-rostering=./ mbiarnes/optaweb-vehicle-routing=./ -cct '(^mvn .*)||$1 -s /home/jenkins/workspace/custom/mbiarnes/KIE/main/release/kie-release@tmp/config354627499262834529tmp -Dkie.maven.settings.custom=/home/jenkins/workspace/custom/mbiarnes/KIE/main/release/kie-release@tmp/config354627499262834529tmp -Dmaven.wagon.http.ssl.insecure=true'
13:12:07 [INFO] Executing branch flow for mbiarnes