Open wx-yz opened 3 years ago
Description: Trying out petstore sample with sample value file from here https://github.com/wso2/kubernetes-pipeline/blob/master/kubernetes-pipeline/samples/values-mgw.yaml.
I'm seeing following error in Jenkins.
Started by an SCM change Running as SYSTEM Building in workspace /var/jenkins_home/jobs/wso2mgw/jobs/petstore-image/workspace using credential github_credentials Wiping out workspace first. Cloning the remote Git repository Cloning repository https://github.com/wso2-incubator/microgateway-petstore > git init /var/jenkins_home/jobs/wso2mgw/jobs/petstore-image/workspace/petstore # timeout=10 Fetching upstream changes from https://github.com/wso2-incubator/microgateway-petstore > git --version # timeout=10 using GIT_ASKPASS to set credentials > git fetch --tags --progress -- https://github.com/wso2-incubator/microgateway-petstore +refs/heads/*:refs/remotes/docker-repo/* # timeout=10 > git config remote.docker-repo.url https://github.com/wso2-incubator/microgateway-petstore # timeout=10 > git config --add remote.docker-repo.fetch +refs/heads/*:refs/remotes/docker-repo/* # timeout=10 > git config remote.docker-repo.url https://github.com/wso2-incubator/microgateway-petstore # timeout=10 Fetching upstream changes from https://github.com/wso2-incubator/microgateway-petstore using GIT_ASKPASS to set credentials > git fetch --tags --progress -- https://github.com/wso2-incubator/microgateway-petstore +refs/heads/*:refs/remotes/docker-repo/* # timeout=10 Seen branch in repository docker-repo/master Seen 1 remote branch > git show-ref --tags -d # timeout=10 Checking out Revision e039f084b39dd40e284b082935709d45fd686981 (docker-repo/master) > git config core.sparsecheckout # timeout=10 > git checkout -f e039f084b39dd40e284b082935709d45fd686981 # timeout=10 Commit message: "Merge pull request #3 from Aaquiff/master-cleanup-toml" First time build. Skipping changelog. [workspace] $ /bin/sh -xe /tmp/jenkins7308119964528350064.sh + cat petstore/conf/deployment-config.toml + grep tag + awk {print $3} + sed s/'//g + TAG=v1 + sed -i s|$MICROGW_TOOLKIT_HOME|/wso2am-micro-gw-toolkit-3.0.1| petstore/conf/deployment-config.toml + micro-gw build petstore --deployment-config petstore/conf/deployment-config.toml JAVA_HOME: /usr/local/openjdk-8 Initializing Toolkit... Generating sources...[0;1m[DONE] [0m .................................................................................................................................................... There are 17 updates available for the product 'wso2am-micro-gw-toolkit-linux-3.2.0'.[WARNING] There are 4 critical security updates for the product 'wso2am-micro-gw-toolkit-linux-3.2.0'. WSO2 strongly recommends to apply these updates in production as soon as possible. .................................................................................................................................................... Compiling source wso2/petstore:3.2.0 error: wso2/petstore:3.2.0::extension_filter.bal:18:1: unused import module 'ballerina/log' error: wso2/petstore:3.2.0::extension_filter.bal:19:1: unused import module 'ballerina/auth' error: wso2/petstore:3.2.0::extension_filter.bal:20:1: unused import module 'ballerina/config' error: wso2/petstore:3.2.0::extension_filter.bal:21:1: unused import module 'ballerina/runtime' error: wso2/petstore:3.2.0::extension_filter.bal:22:1: unused import module 'ballerina/system' error: wso2/petstore:3.2.0::extension_filter.bal:23:1: unused import module 'ballerina/time' error: wso2/petstore:3.2.0::extension_filter.bal:24:1: unused import module 'ballerina/io' error: wso2/petstore:3.2.0::extension_filter.bal:25:1: unused import module 'ballerina/reflect' error: wso2/petstore:3.2.0::token_revocation_extension.bal:17:1: unused import module 'ballerina/http' error: wso2/petstore:3.2.0::token_revocation_extension.bal:18:1: unused import module 'ballerina/log' error: wso2/petstore:3.2.0::token_revocation_extension.bal:19:1: unused import module 'ballerina/auth' error: wso2/petstore:3.2.0::token_revocation_extension.bal:20:1: unused import module 'ballerina/config' error: wso2/petstore:3.2.0::token_revocation_extension.bal:21:1: unused import module 'ballerina/runtime' error: wso2/petstore:3.2.0::token_revocation_extension.bal:22:1: unused import module 'ballerina/system' error: wso2/petstore:3.2.0::token_revocation_extension.bal:23:1: unused import module 'ballerina/time' error: wso2/petstore:3.2.0::token_revocation_extension.bal:24:1: unused import module 'ballerina/io' error: wso2/petstore:3.2.0::token_revocation_extension.bal:25:1: unused import module 'ballerina/reflect' error: wso2/petstore:3.2.0::token_revocation_extension.bal:26:1: unused import module 'wso2/gateway' warning: wso2/petstore:3.2.0::extension_filter.bal:37:36: undocumented parameter 'caller' warning: wso2/petstore:3.2.0::extension_filter.bal:37:56: undocumented parameter 'request' warning: wso2/petstore:3.2.0::extension_filter.bal:37:78: undocumented parameter 'context' [0;31m[1mBUILD FAILED[0m Build step 'Execute shell' marked build as failure Finished: FAILURE
Description: Trying out petstore sample with sample value file from here https://github.com/wso2/kubernetes-pipeline/blob/master/kubernetes-pipeline/samples/values-mgw.yaml.
I'm seeing following error in Jenkins.