Console Output
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on ECS_PRODUCTION-94607044b2c04d (PRODUCT_ECS) in workspace /home/jenkins/workspace/products/delete-micro-intg-test
No credentials specified
Wiping out workspace first.
Cloning the remote Git repository
Using shallow clone with depth 100
Avoid fetching tags
Cloning repository https://github.com/kasunbg/wso2-maven-test-repo.git
> git init /home/jenkins/workspace/products/delete-micro-intg-test # timeout=10
Fetching upstream changes from https://github.com/kasunbg/wso2-maven-test-repo.git
> git --version # timeout=10
> git fetch --no-tags --progress --depth=100 https://github.com/kasunbg/wso2-maven-test-repo.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/kasunbg/wso2-maven-test-repo.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/kasunbg/wso2-maven-test-repo.git # timeout=10
Using shallow fetch with depth 100
Fetching upstream changes from https://github.com/kasunbg/wso2-maven-test-repo.git
> git fetch --no-tags --progress --depth=100 https://github.com/kasunbg/wso2-maven-test-repo.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 1e92165eaaa6db543ab3b6d284e734e52ee8bc34 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 1e92165eaaa6db543ab3b6d284e734e52ee8bc34 # timeout=10
Commit message: "Create Jenkinsfile"
> git rev-list --no-walk 1e92165eaaa6db543ab3b6d284e734e52ee8bc34 # timeout=10
[delete-micro-intg-test] $ /bin/sh -e /tmp/env-delete-micro-intg-test6818777893917172909.sh
[environment-script] Adding variable 'DATE' with value '27/05/2023'
executing script 'Script - Kill Carbon Servers'
[delete-micro-intg-test] $ /bin/bash /tmp/build_step_template20902743471503767.sh
Running port and java processes validation has become successful.
executing script 'Removing M2 repos'
[delete-micro-intg-test] $ /bin/sh /tmp/build_step_template2064034345709171733.sh
Not a docker build
RepoCleaner - ****************************************************************
RepoCleaner - ** Day of the week, repository is scheduled to delete is - 6 **
RepoCleaner - ** No of days to keep the repository is set to - 7 **
RepoCleaner - ****************************************************************
RepoCleaner - current date is - 2023-05-27
RepoCleaner - current day of the week is - 6
RepoCleaner - creating the record file since it doesn't exist, upate the file with current date - 2023-05-27
RepoCleaner - Deleting the local repository since its the scheduled day of the week to delete the repository
RepoCleaner - deleting maven local repos at - /home/jenkins/workspace/products/delete-micro-intg-test/.repository
[delete-micro-intg-test] $ /bin/sh -xe /tmp/jenkins8419735138649795971.sh
+ echo
+ env
JENKINS_HOME=/build/jenkins-home
MAVEN_OPTS=-Xmx1500m -XX:MaxPermSize=1024m -Dorg.apache.maven.global-settings=/build/software/maven/settings/settings.xml -Djava.util.Arrays.useLegacyMergeSort=true
GIT_COMMITTER_NAME=WSO2 Builder
[email protected]
RUN_CHANGES_DISPLAY_URL=https://wso2.org/jenkins/job/products/job/delete-micro-intg-test/1471/display/redirect?page=changes
USER_ID=2000
HOSTNAME=96757c23e6d4
SHLVL=0
NODE_LABELS=ECS_PRODUCTION-94607044b2c04d PRODUCT_ECS
HUDSON_URL=https://wso2.org/jenkins/
GIT_COMMIT=1e92165eaaa6db543ab3b6d284e734e52ee8bc34
HOME=/root
BUILD_URL=https://wso2.org/jenkins/job/products/job/delete-micro-intg-test/1471/
HUDSON_COOKIE=a7d0d12f-9493-4359-a748-c047a43b605d
IS_M2RELEASEBUILD=false
JENKINS_SERVER_COOKIE=c4302a1a3f05f4a6
GIT_AUTHOR_NAME=WSO2 Builder
DATE=27/05/2023
MAVEN_HOME=/build/software/maven/apache-maven-3.5.4
AWS_EXECUTION_ENV=AWS_ECS_EC2
GOROOT=/build/software/go/go-1.12.5
WORKSPACE=/home/jenkins/workspace/products/delete-micro-intg-test
BUILD_CAUSE_TIMERTRIGGER=true
GROUP_ID=2000
NODE_NAME=ECS_PRODUCTION-94607044b2c04d
BUILD_CAUSE=TIMERTRIGGER
GIT_BRANCH=origin/master
EXECUTOR_NUMBER=0
BUILD_DISPLAY_NAME=#1471
ECS_CONTAINER_METADATA_URI=http://169.254.170.2/v3/80080ec4-06c2-4417-9d01-db4f7e99de83
HUDSON_HOME=/build/jenkins-home
JOB_BASE_NAME=delete-micro-intg-test
PATH=/build/software/maven/apache-maven-3.5.4/bin:/build/software/java/jdk1.8.0_144/bin:/build/software/go/go-1.12.5/bin:/build/software/go/go/bin:/build/software/go/go-1.13/bin:/build/software/go/go/bin:/build/software/go/go-1.12.5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
BUILD_ID=1471
BUILD_TAG=jenkins-products-delete-micro-intg-test-1471
SLAVE_NODE_NAME=ECS_PRODUCTION-94607044b2c04d
JENKINS_URL=https://wso2.org/jenkins/
LANG=C.UTF-8
JOB_URL=https://wso2.org/jenkins/job/products/job/delete-micro-intg-test/
GIT_URL=https://github.com/kasunbg/wso2-maven-test-repo.git
ROOT_BUILD_CAUSE_TIMERTRIGGER=true
BUILD_NUMBER=1471
GOPATH=/build/software/go/go
BUILD_TIMESTAMP=2023-05-28 01:14:36 IST
RUN_DISPLAY_URL=https://wso2.org/jenkins/job/products/job/delete-micro-intg-test/1471/display/redirect
micro-integrator-docker-build-token=********
ROOT_BUILD_CAUSE=TIMERTRIGGER
HUDSON_SERVER_COOKIE=c4302a1a3f05f4a6
JOB_DISPLAY_URL=https://wso2.org/jenkins/job/products/job/delete-micro-intg-test/display/redirect
SLAVE_NODE_SECRET=06f7279e51839649d7d6a6bdf414f33ab983f1f18db02057d1939306ac4acf8c
JOB_NAME=products/delete-micro-intg-test
[email protected]
PWD=/home/jenkins/workspace/products/delete-micro-intg-test
LC_ALL=C.UTF-8
JAVA_HOME=/build/software/java/jdk1.8.0_144
M2_HOME=/build/software/maven/apache-maven-3.5.4
GIT_PREVIOUS_COMMIT=1e92165eaaa6db543ab3b6d284e734e52ee8bc34
+ sudo apt-get install -y groovy
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
acl at-spi2-core colord dconf-gsettings-backend dconf-service
libatk-bridge2.0-0 libatspi2.0-0 libcairo-gobject2 libcolord1 libcolorhug1
libdbusmenu-gtk3-4 libdconf1 libexif12 libgd3 libgphoto2-6 libgphoto2-l10n
libgphoto2-port10 libgtk-3-0 libgtk-3-bin libgtk-3-common libgudev-1.0-0
libgusb2 libieee1284-3 libpolkit-agent-1-0 libpolkit-backend-1-0
libpolkit-gobject-1-0 libsane libsane-common libusb-1.0-0 libv4l-0
libv4lconvert0 libvpx1 libwayland-client0 libwayland-cursor0 libxkbcommon0
policykit-1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
antlr ivy junit4 libantlr-java libapache-pom-java libasm3-java libbsf-java
libcommons-cli-java libcommons-lang-java libcommons-logging-java
libcommons-parent-java libhamcrest-java libhawtjni-runtime-java
libjansi-java libjansi-native-java libjline-java libmockobjects-java
libregexp-java libservlet2.5-java libxpp3-java libxstream-java
Suggested packages:
groovy-doc libjsch-java libbcprov-java libbcpg-java ivy-doc bsh
libxalan2-java rhino libavalon-framework-java libcommons-logging-java-doc
libexcalibur-logkit-java liblog4j1.2-java libservlet3.0-java
libjline-java-doc libcglib-java libdom4j-java libjdom1-java libjdom2-java
libjettison-java libjoda-time-java libkxml2-java libstax-java
libstax2-api-java libwoodstox-java libxom-java
The following NEW packages will be installed:
antlr groovy ivy junit4 libantlr-java libapache-pom-java libasm3-java
libbsf-java libcommons-cli-java libcommons-lang-java libcommons-logging-java
libcommons-parent-java libhamcrest-java libhawtjni-runtime-java
libjansi-java libjansi-native-java libjline-java libmockobjects-java
libregexp-java libservlet2.5-java libxpp3-java libxstream-java
0 upgraded, 22 newly installed, 0 to remove and 39 not upgraded.
Need to get 15.2 MB of archives.
After this operation, 20.3 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libantlr-java all 2.7.7+dfsg-5 [427 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main antlr all 2.7.7+dfsg-5 [5646 B]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main libasm3-java all 3.3.2-2 [669 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libapache-pom-java all 10-2build1 [4022 B]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty/main libbsf-java all 1:2.4.0-5build1 [71.2 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main libcommons-lang-java all 2.6-3ubuntu2 [270 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty/main libcommons-cli-java all 1.2-3ubuntu1 [39.0 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main libcommons-parent-java all 22-2build1 [6968 B]
Get:9 http://archive.ubuntu.com/ubuntu/ trusty/main libcommons-logging-java all 1.1.3-1 [120 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ trusty/main libhamcrest-java all 1.3-4 [385 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ trusty/main junit4 all 4.11-2 [227 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ trusty/universe libmockobjects-java all 0.09-5 [52.4 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ trusty/main libregexp-java all 1.5-3build1 [35.1 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe libservlet2.5-java all 6.0.39-1ubuntu0.1 [210 kB]
Get:15 http://archive.ubuntu.com/ubuntu/ trusty/main libjline-java all 1.0-2 [69.4 kB]
Get:16 http://archive.ubuntu.com/ubuntu/ trusty/main libxpp3-java all 1.1.4c-2build1 [364 kB]
Get:17 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe libxstream-java all 1.4.7-1ubuntu0.1 [583 kB]
Get:18 http://archive.ubuntu.com/ubuntu/ trusty/main ivy all 2.3.0-3 [1108 kB]
Get:19 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe libhawtjni-runtime-java all 1.0~+git0c502e20c4-3+deb7u1build0.14.04.1 [53.0 kB]
Get:20 http://archive.ubuntu.com/ubuntu/ trusty/universe libjansi-native-java all 1.0-4 [35.3 kB]
Get:21 http://archive.ubuntu.com/ubuntu/ trusty/universe libjansi-java all 1.4-3 [57.4 kB]
Get:22 http://archive.ubuntu.com/ubuntu/ trusty/universe groovy all 2.0.0~beta2+isreally1.8.6-0ubuntu1 [10.4 MB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 15.2 MB in 3s (4794 kB/s)
Selecting previously unselected package libantlr-java.
(Reading database ... 30378 files and directories currently installed.)
Preparing to unpack .../libantlr-java_2.7.7+dfsg-5_all.deb ...
Unpacking libantlr-java (2.7.7+dfsg-5) ...
Selecting previously unselected package antlr.
Preparing to unpack .../antlr_2.7.7+dfsg-5_all.deb ...
Unpacking antlr (2.7.7+dfsg-5) ...
Selecting previously unselected package libasm3-java.
Preparing to unpack .../libasm3-java_3.3.2-2_all.deb ...
Unpacking libasm3-java (3.3.2-2) ...
Selecting previously unselected package libapache-pom-java.
Preparing to unpack .../libapache-pom-java_10-2build1_all.deb ...
Unpacking libapache-pom-java (10-2build1) ...
Selecting previously unselected package libbsf-java.
Preparing to unpack .../libbsf-java_1%3a2.4.0-5build1_all.deb ...
Unpacking libbsf-java (1:2.4.0-5build1) ...
Selecting previously unselected package libcommons-lang-java.
Preparing to unpack .../libcommons-lang-java_2.6-3ubuntu2_all.deb ...
Unpacking libcommons-lang-java (2.6-3ubuntu2) ...
Selecting previously unselected package libcommons-cli-java.
Preparing to unpack .../libcommons-cli-java_1.2-3ubuntu1_all.deb ...
Unpacking libcommons-cli-java (1.2-3ubuntu1) ...
Selecting previously unselected package libcommons-parent-java.
Preparing to unpack .../libcommons-parent-java_22-2build1_all.deb ...
Unpacking libcommons-parent-java (22-2build1) ...
Selecting previously unselected package libcommons-logging-java.
Preparing to unpack .../libcommons-logging-java_1.1.3-1_all.deb ...
Unpacking libcommons-logging-java (1.1.3-1) ...
Selecting previously unselected package libhamcrest-java.
Preparing to unpack .../libhamcrest-java_1.3-4_all.deb ...
Unpacking libhamcrest-java (1.3-4) ...
Selecting previously unselected package junit4.
Preparing to unpack .../archives/junit4_4.11-2_all.deb ...
Unpacking junit4 (4.11-2) ...
Selecting previously unselected package libmockobjects-java.
Preparing to unpack .../libmockobjects-java_0.09-5_all.deb ...
Unpacking libmockobjects-java (0.09-5) ...
Selecting previously unselected package libregexp-java.
Preparing to unpack .../libregexp-java_1.5-3build1_all.deb ...
Unpacking libregexp-java (1.5-3build1) ...
Selecting previously unselected package libservlet2.5-java.
Preparing to unpack .../libservlet2.5-java_6.0.39-1ubuntu0.1_all.deb ...
Unpacking libservlet2.5-java (6.0.39-1ubuntu0.1) ...
Selecting previously unselected package libjline-java.
Preparing to unpack .../libjline-java_1.0-2_all.deb ...
Unpacking libjline-java (1.0-2) ...
Selecting previously unselected package libxpp3-java.
Preparing to unpack .../libxpp3-java_1.1.4c-2build1_all.deb ...
Unpacking libxpp3-java (1.1.4c-2build1) ...
Selecting previously unselected package libxstream-java.
Preparing to unpack .../libxstream-java_1.4.7-1ubuntu0.1_all.deb ...
Unpacking libxstream-java (1.4.7-1ubuntu0.1) ...
Selecting previously unselected package ivy.
Preparing to unpack .../archives/ivy_2.3.0-3_all.deb ...
Unpacking ivy (2.3.0-3) ...
Selecting previously unselected package libhawtjni-runtime-java.
Preparing to unpack .../libhawtjni-runtime-java_1.0~+git0c502e20c4-3+deb7u1build0.14.04.1_all.deb ...
Unpacking libhawtjni-runtime-java (1.0~+git0c502e20c4-3+deb7u1build0.14.04.1) ...
Selecting previously unselected package libjansi-native-java.
Preparing to unpack .../libjansi-native-java_1.0-4_all.deb ...
Unpacking libjansi-native-java (1.0-4) ...
Selecting previously unselected package libjansi-java.
Preparing to unpack .../libjansi-java_1.4-3_all.deb ...
Unpacking libjansi-java (1.4-3) ...
Selecting previously unselected package groovy.
Preparing to unpack .../groovy_2.0.0~beta2+isreally1.8.6-0ubuntu1_all.deb ...
Unpacking groovy (2.0.0~beta2+isreally1.8.6-0ubuntu1) ...
Setting up libantlr-java (2.7.7+dfsg-5) ...
Setting up antlr (2.7.7+dfsg-5) ...
Setting up libasm3-java (3.3.2-2) ...
Setting up libapache-pom-java (10-2build1) ...
Setting up libbsf-java (1:2.4.0-5build1) ...
Setting up libcommons-lang-java (2.6-3ubuntu2) ...
Setting up libcommons-cli-java (1.2-3ubuntu1) ...
Setting up libcommons-parent-java (22-2build1) ...
Setting up libcommons-logging-java (1.1.3-1) ...
Setting up libhamcrest-java (1.3-4) ...
Setting up junit4 (4.11-2) ...
Setting up libmockobjects-java (0.09-5) ...
Setting up libregexp-java (1.5-3build1) ...
Setting up libservlet2.5-java (6.0.39-1ubuntu0.1) ...
Setting up libjline-java (1.0-2) ...
Setting up libxpp3-java (1.1.4c-2build1) ...
Setting up libxstream-java (1.4.7-1ubuntu0.1) ...
Setting up ivy (2.3.0-3) ...
Setting up libhawtjni-runtime-java (1.0~+git0c502e20c4-3+deb7u1build0.14.04.1) ...
Setting up libjansi-native-java (1.0-4) ...
Setting up libjansi-java (1.4-3) ...
Setting up groovy (2.0.0~beta2+isreally1.8.6-0ubuntu1) ...
[delete-micro-intg-test] $ groovy /home/jenkins/workspace/products/delete-micro-intg-test/hudson1708203803117003528.groovy
################################################ hello
Caught: groovy.lang.MissingPropertyException: No such property: build for class: hudson1708203803117003528
groovy.lang.MissingPropertyException: No such property: build for class: hudson1708203803117003528
at hudson1708203803117003528.run(hudson1708203803117003528.groovy:3)
Build step 'Execute Groovy script' marked build as failure
[delete-micro-intg-test] $ /bin/sh -xe /tmp/jenkins9120794444192387820.sh
+ 1curl -X POST --data-urlencode token=******** --data-urlencode buildNumber=1471 https://wso2.org/jenkins/job/products/job/micro-integrator-docker/buildWithParameters
/tmp/jenkins9120794444192387820.sh: 2: /tmp/jenkins9120794444192387820.sh: 1curl: not found
Build step 'Execute shell' marked build as failure
Archiving artifacts
Finished: FAILURE