Pull request #455 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/edgex-ui-go Loading trusted files from base branch main at f2ec88548ec71f6c1ecfd18bd98758aef15b856d rather than e75c29a2d0bef6b051838b2269990771e191d022 Obtained Jenkinsfile from f2ec88548ec71f6c1ecfd18bd98758aef15b856d Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2350180841534795173.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4190356139235472579.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-455/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-455/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4288161691626188349.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8479942535424927573.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-455/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-455/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2129337313011888171.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:edgex-ui-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-ui-go-settings PROJECT: edgex-ui-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: edgex-ui DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1355 in /w/workspace/edgexfoundry_edgex-ui-go_PR-455 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git > git init /w/workspace/edgexfoundry_edgex-ui-go_PR-455 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_edgex-ui-go_PR-455@tmp/jenkins-gitclient-ssh8970637860523720587.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_edgex-ui-go_PR-455@tmp/jenkins-gitclient-ssh7147295391461240160.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/455/head:refs/remotes/origin/PR-455 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f2ec88548ec71f6c1ecfd18bd98758aef15b856d into PR head commit e75c29a2d0bef6b051838b2269990771e191d022 Merge succeeded, producing e75c29a2d0bef6b051838b2269990771e191d022 Checking out Revision e75c29a2d0bef6b051838b2269990771e191d022 (PR-455) > git config core.sparsecheckout # timeout=10 > git checkout -f e75c29a2d0bef6b051838b2269990771e191d022 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_edgex-ui-go_PR-455@tmp/jenkins-gitclient-ssh7653952586272864720.key > git merge f2ec88548ec71f6c1ecfd18bd98758aef15b856d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e75c29a2d0bef6b051838b2269990771e191d022 # timeout=10 Commit message: "Merge branch 'fix-snap-version' of https://github.com/MonicaisHer/edgex-ui-go into fix-snap-version" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:18:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:18:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:18:09 ========================================================= 07:18:09 EdgeX Global Pipelines Version Info 07:18:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c99145039874bc6b3edca881330a1d1904a3ce77 # timeout=10 07:18:10 ------------------- 07:18:10 stable info: 07:18:10 ------------------- 07:18:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:18:10 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 07:18:10 Message: update stable to v1.0.210 07:18:11 ------------------- 07:18:11 experimental info: 07:18:11 ------------------- 07:18:11 Commited By: **** collab-it+edgex@linuxfoundation.org 07:18:11 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 07:18:11 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-455 [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-455 [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-455 [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e75c29a2d0bef6b051838b2269990771e191d022 [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e75c29a [Pipeline] echo 07:18:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:18:11 provisioning config files... 07:18:11 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-455@tmp/config8863334892129900421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:11 ---> docker-login.sh 07:18:11 nexus3.edgexfoundry.org:10001 07:18:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:12 Configure a credential helper to remove this warning. See 07:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:12 07:18:12 Login Succeeded 07:18:12 nexus3.edgexfoundry.org:10002 07:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:12 Configure a credential helper to remove this warning. See 07:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:12 07:18:12 Login Succeeded 07:18:12 nexus3.edgexfoundry.org:10003 07:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:12 Configure a credential helper to remove this warning. See 07:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:12 07:18:12 Login Succeeded 07:18:12 nexus3.edgexfoundry.org:10004 07:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:12 Configure a credential helper to remove this warning. See 07:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:12 07:18:12 Login Succeeded 07:18:12 docker.io 07:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:13 Configure a credential helper to remove this warning. See 07:18:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:13 07:18:13 Login Succeeded 07:18:13 ---> docker-login.sh ends [Pipeline] } 07:18:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:18:13 + git log --format=format:%s -1 e75c29a2d0bef6b051838b2269990771e191d022 [Pipeline] echo 07:18:13 GIT_COMMIT: e75c29a2d0bef6b051838b2269990771e191d022, Commit Message: Merge branch 'fix-snap-version' of https://github.com/MonicaisHer/edgex-ui-go into fix-snap-version [Pipeline] echo 07:18:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:18:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:18:13 07:18:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:18:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:18:14 latest: Pulling from edgex-devops/git-semver 07:18:14 a0d0a0d46f8b: Pulling fs layer 07:18:14 3e5f54012d9b: Pulling fs layer 07:18:14 4c7163046ea9: Pulling fs layer 07:18:14 0c2d73faf560: Pulling fs layer 07:18:14 0c2d73faf560: Waiting 07:18:14 3e5f54012d9b: Verifying Checksum 07:18:14 3e5f54012d9b: Download complete 07:18:14 a0d0a0d46f8b: Verifying Checksum 07:18:14 a0d0a0d46f8b: Download complete 07:18:14 0c2d73faf560: Verifying Checksum 07:18:14 0c2d73faf560: Download complete 07:18:14 4c7163046ea9: Verifying Checksum 07:18:14 4c7163046ea9: Download complete 07:18:14 a0d0a0d46f8b: Pull complete 07:18:14 3e5f54012d9b: Pull complete 07:18:14 4c7163046ea9: Pull complete 07:18:15 0c2d73faf560: Pull complete 07:18:15 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:18:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:18:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:18:15 prd-centos7-docker-4c-2g-1355 does not seem to be running inside a container 07:18:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-455 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-455:/w/workspace/edgexfoundry_edgex-ui-go_PR-455:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-455@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-455@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:18:15 $ docker top a87a2734b15604137f7beaf9d068a6b834eec4669c350a356327f1f0b90cee2b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:18:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:18:15 [ssh-agent] Looking for ssh-agent implementation... 07:18:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:18:15 $ docker exec a87a2734b15604137f7beaf9d068a6b834eec4669c350a356327f1f0b90cee2b ssh-agent 07:18:16 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgipdGh/agent.14 07:18:16 SSH_AGENT_PID=20 07:18:16 Running ssh-add (command line suppressed) 07:18:16 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-455@tmp/private_key_4695583587569704653.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-455@tmp/private_key_4695583587569704653.key) 07:18:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:18:16 + git tag --points-at HEAD [Pipeline] } 07:18:16 $ docker exec --env ******** --env ******** a87a2734b15604137f7beaf9d068a6b834eec4669c350a356327f1f0b90cee2b ssh-agent -k 07:18:16 unset SSH_AUTH_SOCK; 07:18:16 unset SSH_AGENT_PID; 07:18:16 echo Agent pid 20 killed; 07:18:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:18:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:18:16 [ssh-agent] Looking for ssh-agent implementation... 07:18:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:18:16 $ docker exec a87a2734b15604137f7beaf9d068a6b834eec4669c350a356327f1f0b90cee2b ssh-agent 07:18:16 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeMkoEe/agent.55 07:18:16 SSH_AGENT_PID=61 07:18:16 Running ssh-add (command line suppressed) 07:18:16 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-455@tmp/private_key_2939989207983932000.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-455@tmp/private_key_2939989207983932000.key) 07:18:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:18:17 + git semver init 07:18:17 # -> Open(): unable to determine branch for HEAD 07:18:17 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-455/.git 07:18:17 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-455 07:18:17 # $SEMVER_REMOTE_NAME = origin 07:18:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:18:17 # $SEMVER_USER_NAME = edgex-jenkins 07:18:17 # $SEMVER_BRANCH = PR-455 07:18:17 # $SEMVER_TEMP = /tmp/semver-071866930 07:18:17 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 07:18:19 # '/tmp/semver-071866930' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-455/.semver' 07:18:19 # -> Force: false 07:18:19 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-455/.semver [Pipeline] } 07:18:19 $ docker exec --env ******** --env ******** a87a2734b15604137f7beaf9d068a6b834eec4669c350a356327f1f0b90cee2b ssh-agent -k 07:18:19 unset SSH_AUTH_SOCK; 07:18:19 unset SSH_AGENT_PID; 07:18:19 echo Agent pid 61 killed; 07:18:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:18:19 + git semver [Pipeline] } 07:18:19 $ docker stop --time=1 a87a2734b15604137f7beaf9d068a6b834eec4669c350a356327f1f0b90cee2b 07:18:20 $ docker rm -f a87a2734b15604137f7beaf9d068a6b834eec4669c350a356327f1f0b90cee2b [Pipeline] // withDockerContainer [Pipeline] sh 07:18:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:18:21 Stashed 1 file(s) [Pipeline] echo 07:18:21 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 07:18:36 Still waiting to schedule task 07:18:36 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:18:36 Still waiting to schedule task 07:18:36 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:19:27 Running on prd-centos7-docker-4c-2g-1359 in /w/workspace/edgexfoundry_edgex-ui-go_PR-455 [Pipeline] { [Pipeline] ws 07:19:27 Running in /w/workspace/edgex-ui-go/7 [Pipeline] { [Pipeline] checkout 07:19:27 The recommended git tool is: git 07:19:29 using credential edgex-jenkins-ssh 07:19:29 Cloning the remote Git repository 07:19:28 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 07:19:28 > git init /w/workspace/edgex-ui-go/7 # timeout=10 07:19:28 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 07:19:28 > git --version # timeout=10 07:19:28 > git --version # 'git version 2.24.4' 07:19:28 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:28 [INFO] Currently running in a labeled security context 07:19:28 [INFO] Currently SELinux is 'enforcing' on the host 07:19:28 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-ui-go/7@tmp/jenkins-gitclient-ssh4558483701477278339.key 07:19:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:19:31 Merging remotes/origin/main commit f2ec88548ec71f6c1ecfd18bd98758aef15b856d into PR head commit e75c29a2d0bef6b051838b2269990771e191d022 07:19:31 Merge succeeded, producing e75c29a2d0bef6b051838b2269990771e191d022 07:19:31 Checking out Revision e75c29a2d0bef6b051838b2269990771e191d022 (PR-455) 07:19:29 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 07:19:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:19:29 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 07:19:29 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 07:19:29 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:29 [INFO] Currently running in a labeled security context 07:19:29 [INFO] Currently SELinux is 'enforcing' on the host 07:19:29 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-ui-go/7@tmp/jenkins-gitclient-ssh7905529660759598503.key 07:19:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/455/head:refs/remotes/origin/PR-455 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:19:30 > git config core.sparsecheckout # timeout=10 07:19:30 > git checkout -f e75c29a2d0bef6b051838b2269990771e191d022 # timeout=10 07:19:30 > git remote # timeout=10 07:19:30 > git config --get remote.origin.url # timeout=10 07:19:30 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:30 [INFO] Currently running in a labeled security context 07:19:30 [INFO] Currently SELinux is 'enforcing' on the host 07:19:30 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-ui-go/7@tmp/jenkins-gitclient-ssh198801570428472922.key 07:19:30 > git merge f2ec88548ec71f6c1ecfd18bd98758aef15b856d # timeout=10 07:19:30 > git rev-parse HEAD^{commit} # timeout=10 07:19:30 > git config core.sparsecheckout # timeout=10 07:19:30 > git checkout -f e75c29a2d0bef6b051838b2269990771e191d022 # timeout=10 07:19:34 Commit message: "Merge branch 'fix-snap-version' of https://github.com/MonicaisHer/edgex-ui-go into fix-snap-version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:35 provisioning config files... 07:19:35 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/7@tmp/config3525020933351931067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:35 ---> docker-login.sh 07:19:35 nexus3.edgexfoundry.org:10001 07:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:35 Configure a credential helper to remove this warning. See 07:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:35 07:19:35 Login Succeeded 07:19:35 nexus3.edgexfoundry.org:10002 07:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:35 Configure a credential helper to remove this warning. See 07:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:35 07:19:35 Login Succeeded 07:19:35 nexus3.edgexfoundry.org:10003 07:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:35 Configure a credential helper to remove this warning. See 07:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:35 07:19:35 Login Succeeded 07:19:35 nexus3.edgexfoundry.org:10004 07:19:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:36 Configure a credential helper to remove this warning. See 07:19:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:36 07:19:36 Login Succeeded 07:19:36 docker.io 07:19:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:36 Configure a credential helper to remove this warning. See 07:19:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:36 07:19:36 Login Succeeded 07:19:36 ---> docker-login.sh ends [Pipeline] } 07:19:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:19:36 ========================================================= 07:19:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 07:19:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:19:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 07:19:36 Sending build context to Docker daemon 20.59MB 07:19:36 Step 1/14 : ARG BASE=golang:1.16-alpine3.14 07:19:36 Step 2/14 : FROM ${BASE} AS builder 07:19:37 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 07:19:37 a0d0a0d46f8b: Pulling fs layer 07:19:37 31adcdaf11c8: Pulling fs layer 07:19:37 b8b176561691: Pulling fs layer 07:19:37 4527c011a84f: Pulling fs layer 07:19:37 5d74067f8e1e: Pulling fs layer 07:19:37 e0aca202a116: Pulling fs layer 07:19:37 3a43be97a3b4: Pulling fs layer 07:19:37 34cad66bf833: Pulling fs layer 07:19:37 b4e3c513aaa6: Pulling fs layer 07:19:37 4527c011a84f: Waiting 07:19:37 5d74067f8e1e: Waiting 07:19:37 e0aca202a116: Waiting 07:19:37 3a43be97a3b4: Waiting 07:19:37 34cad66bf833: Waiting 07:19:37 b4e3c513aaa6: Waiting 07:19:37 b8b176561691: Verifying Checksum 07:19:37 b8b176561691: Download complete 07:19:37 31adcdaf11c8: Verifying Checksum 07:19:37 31adcdaf11c8: Download complete 07:19:37 5d74067f8e1e: Verifying Checksum 07:19:37 5d74067f8e1e: Download complete 07:19:37 e0aca202a116: Verifying Checksum 07:19:37 e0aca202a116: Download complete 07:19:37 a0d0a0d46f8b: Verifying Checksum 07:19:37 a0d0a0d46f8b: Download complete 07:19:37 3a43be97a3b4: Verifying Checksum 07:19:37 3a43be97a3b4: Download complete 07:19:37 34cad66bf833: Verifying Checksum 07:19:37 34cad66bf833: Download complete 07:19:37 a0d0a0d46f8b: Pull complete 07:19:37 31adcdaf11c8: Pull complete 07:19:38 b8b176561691: Pull complete 07:19:38 4527c011a84f: Verifying Checksum 07:19:38 4527c011a84f: Download complete 07:19:38 b4e3c513aaa6: Verifying Checksum 07:19:38 b4e3c513aaa6: Download complete 07:19:42 4527c011a84f: Pull complete 07:19:42 5d74067f8e1e: Pull complete 07:19:42 e0aca202a116: Pull complete 07:19:42 3a43be97a3b4: Pull complete 07:19:42 34cad66bf833: Pull complete 07:19:45 b4e3c513aaa6: Pull complete 07:19:45 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 07:19:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 07:19:45 ---> 9f6097aaca64 07:19:45 Step 3/14 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:19:47 ---> Running in 591df414a455 07:19:47 Removing intermediate container 591df414a455 07:19:47 ---> e0bd2b5efe44 07:19:47 Step 4/14 : ARG ALPINE_PKG_BASE="make git" 07:19:47 ---> Running in 5ddd73b07026 07:19:47 Removing intermediate container 5ddd73b07026 07:19:47 ---> e93eebe1344d 07:19:47 Step 5/14 : ARG ALPINE_PKG_EXTRA="" 07:19:47 ---> Running in 6b2b3e2e13dc 07:19:47 Removing intermediate container 6b2b3e2e13dc 07:19:47 ---> adec53890ff4 07:19:47 Step 6/14 : LABEL Name=edgex-ui-go 07:19:47 ---> Running in 17dab85cffc7 07:19:47 Removing intermediate container 17dab85cffc7 07:19:47 ---> 4260bde9f2b0 07:19:47 Step 7/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:19:47 ---> Running in bdf0035a45ba 07:19:47 Removing intermediate container bdf0035a45ba 07:19:47 ---> 61282a1ed36f 07:19:47 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:19:47 ---> Running in 78f6a0283104 07:19:48 Removing intermediate container 78f6a0283104 07:19:48 ---> 9f67d8a37b8e 07:19:48 Step 9/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:19:48 ---> Running in 278250ad6558 07:19:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:19:49 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:19:50 OK: 220 MiB in 52 packages 07:19:50 Removing intermediate container 278250ad6558 07:19:50 ---> 6beccd0fac81 07:19:50 Step 10/14 : ENV GO111MODULE=on 07:19:50 ---> Running in 84863e4b7422 07:19:50 Removing intermediate container 84863e4b7422 07:19:50 ---> 4812f5aad429 07:19:50 Step 11/14 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:19:50 ---> Running in 6f8e65f6aa12 07:19:50 Removing intermediate container 6f8e65f6aa12 07:19:50 ---> fd951a75523a 07:19:50 Step 12/14 : COPY . . 07:19:51 ---> 819cc10bec33 07:19:51 Step 13/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:19:51 ---> Running in cbad8c9e351b 07:20:01 Removing intermediate container cbad8c9e351b 07:20:01 ---> 236d14282dca 07:20:01 Step 14/14 : RUN ${MAKE} 07:20:01 ---> Running in fac2958df92d 07:20:01 noop 07:20:01 Removing intermediate container fac2958df92d 07:20:01 ---> 8909b9fd17dd 07:20:01 Successfully built 8909b9fd17dd 07:20:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:20:01 + docker inspect -f . ci-base-image-x86_64 07:20:01 . [Pipeline] withDockerContainer 07:20:01 prd-centos7-docker-4c-2g-1359 does not seem to be running inside a container 07:20:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/7 -v /w/workspace/edgex-ui-go/7:/w/workspace/edgex-ui-go/7:rw,z -v /w/workspace/edgex-ui-go/7@tmp:/w/workspace/edgex-ui-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:20:02 $ docker top 32d60948002e7128fbba27b9f4799ac118cad0e651fb59ad375c6404cd6aa4fc -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:02 + go version 07:20:02 go version go1.16.8 linux/amd64 [Pipeline] } 07:20:02 $ docker stop --time=1 32d60948002e7128fbba27b9f4799ac118cad0e651fb59ad375c6404cd6aa4fc 07:20:03 $ docker rm -f 32d60948002e7128fbba27b9f4799ac118cad0e651fb59ad375c6404cd6aa4fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:20:04 + docker inspect -f . ci-base-image-x86_64 07:20:04 . [Pipeline] withDockerContainer 07:20:04 prd-centos7-docker-4c-2g-1359 does not seem to be running inside a container 07:20:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/7 -v /w/workspace/edgex-ui-go/7:/w/workspace/edgex-ui-go/7:rw,z -v /w/workspace/edgex-ui-go/7@tmp:/w/workspace/edgex-ui-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:20:04 $ docker top 5433ba1876bab78c4880acb333cf1176e374adb59ced266ad3bc70b0b21a668e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:20:05 + make test 07:20:05 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:20:05 ? github.com/edgexfoundry/edgex-ui-go [no test files] 07:20:20 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 07:20:20 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 07:20:20 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 07:20:20 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 07:20:20 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 07:20:20 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 07:20:20 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 07:20:20 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 07:20:20 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 07:20:20 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 07:20:20 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 07:20:20 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 07:20:20 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:20:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:20:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 07:20:23 $ docker stop --time=1 5433ba1876bab78c4880acb333cf1176e374adb59ced266ad3bc70b0b21a668e 07:20:25 $ docker rm -f 5433ba1876bab78c4880acb333cf1176e374adb59ced266ad3bc70b0b21a668e [Pipeline] // withDockerContainer [Pipeline] sh 07:20:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:20:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:20:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:20:26 + ls -al . 07:20:26 total 88 07:20:26 drwxrwxr-x. 12 jenkins jenkins 4096 Oct 14 07:20 . 07:20:26 drwxrwxr-x. 4 jenkins jenkins 28 Oct 14 07:19 .. 07:20:26 drwxrwxr-x. 3 jenkins jenkins 20 Oct 14 07:19 assets 07:20:26 drwxrwxr-x. 2 jenkins jenkins 66 Oct 14 07:19 bin 07:20:26 drwxrwxr-x. 3 jenkins jenkins 29 Oct 14 07:19 cmd 07:20:26 -rw-rw-r--. 1 jenkins jenkins 3959 Oct 14 07:19 CONTRIBUTING.md 07:20:26 -rw-r--r--. 1 jenkins jenkins 10 Oct 14 07:20 coverage.out 07:20:26 -rw-rw-r--. 1 jenkins jenkins 1526 Oct 14 07:19 Dockerfile 07:20:26 drwxrwxr-x. 2 jenkins jenkins 23 Oct 14 07:19 docs 07:20:26 drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 07:19 .git 07:20:26 drwxrwxr-x. 2 jenkins jenkins 103 Oct 14 07:19 .github 07:20:26 -rw-rw-r--. 1 jenkins jenkins 155 Oct 14 07:19 .gitignore 07:20:26 -rw-rw-r--. 1 jenkins jenkins 880 Oct 14 07:19 go.mod 07:20:26 -rw-rw-r--. 1 jenkins jenkins 24176 Oct 14 07:19 go.sum 07:20:26 drwxrwxr-x. 9 jenkins jenkins 125 Oct 14 07:19 internal 07:20:26 -rw-rw-r--. 1 jenkins jenkins 652 Oct 14 07:19 Jenkinsfile 07:20:26 -rw-rw-r--. 1 jenkins jenkins 11357 Oct 14 07:19 LICENSE 07:20:26 -rw-rw-r--. 1 jenkins jenkins 1212 Oct 14 07:19 Makefile 07:20:26 drwxrwxr-x. 3 jenkins jenkins 19 Oct 14 07:19 pkg 07:20:26 -rw-rw-r--. 1 jenkins jenkins 5509 Oct 14 07:19 README.md 07:20:26 drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 07:19 snap 07:20:26 -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 07:18 VERSION 07:20:26 -rw-rw-r--. 1 jenkins jenkins 155 Oct 14 07:19 version.go 07:20:26 drwxrwxr-x. 4 jenkins jenkins 4096 Oct 14 07:19 web [Pipeline] isUnix [Pipeline] sh 07:20:27 + docker build -t edgex-ui -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e75c29a2d0bef6b051838b2269990771e191d022 --label arch=amd64 --label version=0.0.0 . 07:20:27 Sending build context to Docker daemon 20.59MB 07:20:27 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 07:20:27 Step 2/22 : FROM ${BASE} AS builder 07:20:27 ---> 8909b9fd17dd 07:20:27 Step 3/22 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:20:27 ---> Running in 138272d8a4f1 07:20:27 Removing intermediate container 138272d8a4f1 07:20:27 ---> 1ee3077ca4b1 07:20:27 Step 4/22 : ARG ALPINE_PKG_BASE="make git" 07:20:27 ---> Running in 37a0a29e6a26 07:20:27 Removing intermediate container 37a0a29e6a26 07:20:27 ---> 93e5d55f6a44 07:20:27 Step 5/22 : ARG ALPINE_PKG_EXTRA="" 07:20:27 ---> Running in c087eb138890 07:20:27 Removing intermediate container c087eb138890 07:20:27 ---> 8606cdf8c2b3 07:20:27 Step 6/22 : LABEL Name=edgex-ui-go 07:20:27 ---> Running in 96679234d0bf 07:20:27 Removing intermediate container 96679234d0bf 07:20:27 ---> aecd35589795 07:20:27 Step 7/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:20:27 ---> Running in 746a2d38bf95 07:20:27 Removing intermediate container 746a2d38bf95 07:20:27 ---> e21a93ff845f 07:20:27 Step 8/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:20:27 ---> Running in 7b260b186435 07:20:28 Removing intermediate container 7b260b186435 07:20:28 ---> d8ebbe40b6a8 07:20:28 Step 9/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:20:28 ---> Running in bc1675d2da53 07:20:28 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:20:29 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:20:29 OK: 220 MiB in 52 packages 07:20:30 Removing intermediate container bc1675d2da53 07:20:30 ---> 2132c00d7ac4 07:20:30 Step 10/22 : ENV GO111MODULE=on 07:20:30 ---> Running in 7fa8a1f8f7aa 07:20:30 Removing intermediate container 7fa8a1f8f7aa 07:20:30 ---> 41114649baac 07:20:30 Step 11/22 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:20:30 ---> Running in 77c9904d9d70 07:20:30 Removing intermediate container 77c9904d9d70 07:20:30 ---> 35da69d999a6 07:20:30 Step 12/22 : COPY . . 07:20:31 ---> db5b57c94615 07:20:31 Step 13/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:20:31 ---> Running in b8c10b07e6da 07:20:31 Removing intermediate container b8c10b07e6da 07:20:31 ---> 1cb2caa44793 07:20:31 Step 14/22 : RUN ${MAKE} 07:20:31 ---> Running in 340d86ac6cec 07:20:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=0.0.0" -o cmd/edgex-ui-server/edgex-ui-server ./cmd/edgex-ui-server 07:20:41 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:20:43 Removing intermediate container 340d86ac6cec 07:20:43 ---> fa0f20f842dc 07:20:43 Step 15/22 : FROM alpine:3.14 07:20:43 3.14: Pulling from library/alpine 07:20:43 a0d0a0d46f8b: Already exists 07:20:44 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 07:20:44 Status: Downloaded newer image for alpine:3.14 07:20:44 ---> 14119a10abf4 07:20:44 Step 16/22 : EXPOSE 4000 07:20:44 ---> Running in 38dad0b0fc74 07:20:44 Removing intermediate container 38dad0b0fc74 07:20:44 ---> c75e66121ca8 07:20:44 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:20:44 ---> 3188dd3f00a9 07:20:44 Step 18/22 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:20:44 ---> Running in 57b919fe4ae2 07:20:44 Removing intermediate container 57b919fe4ae2 07:20:44 ---> d0ee99a9d10a 07:20:44 Step 19/22 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 07:20:44 ---> Running in 891cdebcf01f 07:20:44 Removing intermediate container 891cdebcf01f 07:20:44 ---> 86d7dbac9ea6 07:20:44 Step 20/22 : LABEL arch=amd64 07:20:44 ---> Running in 6131f5ba5179 07:20:44 Removing intermediate container 6131f5ba5179 07:20:44 ---> 5107120edd39 07:20:44 Step 21/22 : LABEL git_sha=e75c29a2d0bef6b051838b2269990771e191d022 07:20:44 ---> Running in 685a0ac52e21 07:20:44 Removing intermediate container 685a0ac52e21 07:20:44 ---> 361d7cd8972e 07:20:44 Step 22/22 : LABEL version=0.0.0 07:20:44 ---> Running in de167e1b7262 07:20:44 Removing intermediate container de167e1b7262 07:20:44 ---> a4f02a13d425 07:20:44 [Warning] One or more build-args [ARCH] were not consumed 07:20:45 Successfully built a4f02a13d425 07:20:45 Successfully tagged edgex-ui:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:20:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:20:45 07:20:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:20:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:20:45 latest: Pulling from edgex-lftools-log-publisher 07:20:45 b4d181a07f80: Pulling fs layer 07:20:45 a1111a8f2ec3: Pulling fs layer 07:20:45 ed53099fbce6: Pulling fs layer 07:20:45 dc539afda2c1: Pulling fs layer 07:20:45 77bc0d833cb6: Pulling fs layer 07:20:45 9065ff56babe: Pulling fs layer 07:20:45 d287ab97295c: Pulling fs layer 07:20:45 dc539afda2c1: Waiting 07:20:45 77bc0d833cb6: Waiting 07:20:45 9065ff56babe: Waiting 07:20:45 d287ab97295c: Waiting 07:20:45 a1111a8f2ec3: Verifying Checksum 07:20:45 a1111a8f2ec3: Download complete 07:20:45 dc539afda2c1: Verifying Checksum 07:20:45 dc539afda2c1: Download complete 07:20:45 ed53099fbce6: Verifying Checksum 07:20:45 ed53099fbce6: Download complete 07:20:46 9065ff56babe: Verifying Checksum 07:20:46 9065ff56babe: Download complete 07:20:46 77bc0d833cb6: Verifying Checksum 07:20:46 77bc0d833cb6: Download complete 07:20:46 b4d181a07f80: Verifying Checksum 07:20:46 b4d181a07f80: Download complete 07:20:46 d287ab97295c: Verifying Checksum 07:20:46 d287ab97295c: Download complete 07:20:47 b4d181a07f80: Pull complete 07:20:47 a1111a8f2ec3: Pull complete 07:20:48 ed53099fbce6: Pull complete 07:20:48 dc539afda2c1: Pull complete 07:20:48 77bc0d833cb6: Pull complete 07:20:48 9065ff56babe: Pull complete 07:20:55 d287ab97295c: Pull complete 07:20:55 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 07:20:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:20:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:20:55 prd-centos7-docker-4c-2g-1359 does not seem to be running inside a container 07:20:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-ui-go/7 -v /w/workspace/edgex-ui-go/7:/w/workspace/edgex-ui-go/7:rw,z -v /w/workspace/edgex-ui-go/7@tmp:/w/workspace/edgex-ui-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:20:57 $ docker top b659d312f765954fbd7675e4eb107b980caf57cee49f25d040608733ea393cb5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:58 ---> job-cost.sh 07:20:58 lf-activate-venv: SKIPPING 07:20:58 INFO: No Stack... 07:20:59 INFO: Retrieving Pricing Info for: v3-standard-2 07:20:59 INFO: Archiving Costs [Pipeline] sh 07:20:59 + cut -d, -f6 07:20:59 + cat /w/workspace/edgex-ui-go/7/archives/cost.csv [Pipeline] lock 07:20:59 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-455-7-stack-cost] 07:20:59 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-455-7-stack-cost] did not exist. Created. 07:20:59 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-455-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:20:59 + echo total: 0.05999999865889549 [Pipeline] stash 07:20:59 Stashed 1 file(s) [Pipeline] } 07:20:59 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-455-7-stack-cost] [Pipeline] // lock [Pipeline] } 07:20:59 $ docker stop --time=1 b659d312f765954fbd7675e4eb107b980caf57cee49f25d040608733ea393cb5 07:21:01 $ docker rm -f b659d312f765954fbd7675e4eb107b980caf57cee49f25d040608733ea393cb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:21:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1361 in /w/workspace/edgexfoundry_edgex-ui-go_PR-455 [Pipeline] { [Pipeline] ws 07:21:51 Running in /w/workspace/edgex-ui-go/7 [Pipeline] { [Pipeline] checkout 07:21:52 The recommended git tool is: git 07:21:57 using credential edgex-jenkins-ssh 07:21:57 Cloning the remote Git repository 07:21:57 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 07:21:57 > git init /w/workspace/edgex-ui-go/7 # timeout=10 07:21:57 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 07:21:57 > git --version # timeout=10 07:21:57 > git --version # 'git version 2.17.1' 07:21:57 using GIT_SSH to set credentials SSH Credentials for GitHub 07:21:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:00 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 07:22:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:00 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 07:22:00 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 07:22:00 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/455/head:refs/remotes/origin/PR-455 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:22:01 Merging remotes/origin/main commit f2ec88548ec71f6c1ecfd18bd98758aef15b856d into PR head commit e75c29a2d0bef6b051838b2269990771e191d022 07:22:02 Merge succeeded, producing e75c29a2d0bef6b051838b2269990771e191d022 07:22:02 Checking out Revision e75c29a2d0bef6b051838b2269990771e191d022 (PR-455) 07:22:01 > git config core.sparsecheckout # timeout=10 07:22:01 > git checkout -f e75c29a2d0bef6b051838b2269990771e191d022 # timeout=10 07:22:01 > git remote # timeout=10 07:22:01 > git config --get remote.origin.url # timeout=10 07:22:01 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:01 > git merge f2ec88548ec71f6c1ecfd18bd98758aef15b856d # timeout=10 07:22:02 > git rev-parse HEAD^{commit} # timeout=10 07:22:02 > git config core.sparsecheckout # timeout=10 07:22:02 > git checkout -f e75c29a2d0bef6b051838b2269990771e191d022 # timeout=10 07:22:06 Commit message: "Merge branch 'fix-snap-version' of https://github.com/MonicaisHer/edgex-ui-go into fix-snap-version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:22:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:22:07 % Total % Received % Xferd Average Speed Time Time Time Current 07:22:07 Dload Upload Total Spent Left Speed 07:22:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 67181 0 --:--:-- --:--:-- --:--:-- 67181 [Pipeline] sh 07:22:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:22:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:22:08 + sudo tee /etc/docker/daemon.new 07:22:08 { 07:22:08 "registry-mirrors": [ 07:22:08 "https://nexus3.edgexfoundry.org:10001" 07:22:08 ], 07:22:08 "bip": "10.250.0.254/24", 07:22:08 "hosts": [ 07:22:08 "tcp://0.0.0.0:5555", 07:22:08 "unix:///var/run/docker.sock" 07:22:08 ], 07:22:08 "mtu": 1458, 07:22:08 "selinux-enabled": true, 07:22:08 "seccomp-profile": "/etc/docker/seccomp.json" 07:22:08 } [Pipeline] sh 07:22:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:22:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:22:27 provisioning config files... 07:22:27 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/7@tmp/config2281947675010651050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:27 ---> docker-login.sh 07:22:27 nexus3.edgexfoundry.org:10001 07:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:29 Configure a credential helper to remove this warning. See 07:22:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:29 07:22:29 Login Succeeded 07:22:29 nexus3.edgexfoundry.org:10002 07:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:30 Configure a credential helper to remove this warning. See 07:22:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:30 07:22:30 Login Succeeded 07:22:30 nexus3.edgexfoundry.org:10003 07:22:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:30 Configure a credential helper to remove this warning. See 07:22:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:30 07:22:30 Login Succeeded 07:22:30 nexus3.edgexfoundry.org:10004 07:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:31 Configure a credential helper to remove this warning. See 07:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:31 07:22:31 Login Succeeded 07:22:31 docker.io 07:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:32 Configure a credential helper to remove this warning. See 07:22:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:32 07:22:32 Login Succeeded 07:22:32 ---> docker-login.sh ends [Pipeline] } 07:22:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:22:32 ========================================================= 07:22:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 07:22:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:22:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 07:22:34 Sending build context to Docker daemon 20.59MB 07:22:34 Step 1/14 : ARG BASE=golang:1.16-alpine3.14 07:22:34 Step 2/14 : FROM ${BASE} AS builder 07:22:34 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:22:34 552d1f2373af: Pulling fs layer 07:22:34 ea3f2d53f512: Pulling fs layer 07:22:34 9e70ebbbe112: Pulling fs layer 07:22:34 7a9cfe048b4a: Pulling fs layer 07:22:34 72dc09318566: Pulling fs layer 07:22:34 f4f7b4309257: Pulling fs layer 07:22:34 0ac9a79272e3: Pulling fs layer 07:22:34 b78e95d17946: Pulling fs layer 07:22:34 7a9cfe048b4a: Waiting 07:22:34 72dc09318566: Waiting 07:22:34 0ac9a79272e3: Waiting 07:22:34 b78e95d17946: Waiting 07:22:34 f4f7b4309257: Waiting 07:22:34 9e70ebbbe112: Verifying Checksum 07:22:34 9e70ebbbe112: Download complete 07:22:34 ea3f2d53f512: Verifying Checksum 07:22:34 ea3f2d53f512: Download complete 07:22:34 72dc09318566: Verifying Checksum 07:22:34 72dc09318566: Download complete 07:22:34 f4f7b4309257: Verifying Checksum 07:22:34 f4f7b4309257: Download complete 07:22:34 0ac9a79272e3: Download complete 07:22:34 552d1f2373af: Verifying Checksum 07:22:34 552d1f2373af: Download complete 07:22:35 552d1f2373af: Pull complete 07:22:36 ea3f2d53f512: Pull complete 07:22:36 9e70ebbbe112: Pull complete 07:22:36 b78e95d17946: Verifying Checksum 07:22:36 b78e95d17946: Download complete 07:22:37 7a9cfe048b4a: Verifying Checksum 07:22:37 7a9cfe048b4a: Download complete 07:22:47 7a9cfe048b4a: Pull complete 07:22:47 72dc09318566: Pull complete 07:22:47 f4f7b4309257: Pull complete 07:22:47 0ac9a79272e3: Pull complete 07:22:52 b78e95d17946: Pull complete 07:22:52 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 07:22:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 07:22:52 ---> 8b459fc5aaf0 07:22:52 Step 3/14 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:22:57 ---> Running in 2db9b6e5b98a 07:22:57 Removing intermediate container 2db9b6e5b98a 07:22:57 ---> 0b6b190d6fed 07:22:57 Step 4/14 : ARG ALPINE_PKG_BASE="make git" 07:22:57 ---> Running in 0e9b87ed670e 07:22:57 Removing intermediate container 0e9b87ed670e 07:22:57 ---> dc2e142d3c3b 07:22:57 Step 5/14 : ARG ALPINE_PKG_EXTRA="" 07:22:57 ---> Running in 18b152a5a8cf 07:22:58 Removing intermediate container 18b152a5a8cf 07:22:58 ---> f6a8f502d9d8 07:22:58 Step 6/14 : LABEL Name=edgex-ui-go 07:22:58 ---> Running in 6b8071690e53 07:22:59 Removing intermediate container 6b8071690e53 07:22:59 ---> c1547830df93 07:22:59 Step 7/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:22:59 ---> Running in e804444d5dac 07:22:59 Removing intermediate container e804444d5dac 07:22:59 ---> 972dce270902 07:22:59 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:22:59 ---> Running in 8ceb140190d8 07:23:02 Removing intermediate container 8ceb140190d8 07:23:02 ---> 8a4c55876da1 07:23:02 Step 9/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:23:02 ---> Running in 5cb2268b3330 07:23:03 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:23:04 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:23:05 OK: 219 MiB in 52 packages 07:23:06 Removing intermediate container 5cb2268b3330 07:23:06 ---> 291fe185af93 07:23:06 Step 10/14 : ENV GO111MODULE=on 07:23:06 ---> Running in 08c480309776 07:23:07 Removing intermediate container 08c480309776 07:23:07 ---> 9976fcc2109f 07:23:07 Step 11/14 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:23:07 ---> Running in 38a363869b7f 07:23:08 Removing intermediate container 38a363869b7f 07:23:08 ---> 862fa7226062 07:23:08 Step 12/14 : COPY . . 07:23:10 ---> a116a99b343d 07:23:10 Step 13/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:23:10 ---> Running in 0d0ba40ec5f8 07:23:37 Removing intermediate container 0d0ba40ec5f8 07:23:37 ---> 911c8bb15cdf 07:23:37 Step 14/14 : RUN ${MAKE} 07:23:37 ---> Running in 51ba8b060a5b 07:23:38 noop 07:23:39 Removing intermediate container 51ba8b060a5b 07:23:39 ---> 6099d655131f 07:23:39 Successfully built 6099d655131f 07:23:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:23:39 + docker inspect -f . ci-base-image-arm64 07:23:39 . [Pipeline] withDockerContainer 07:23:40 prd-ubuntu18.04-docker-arm64-4c-16g-1361 does not seem to be running inside a container 07:23:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/7 -v /w/workspace/edgex-ui-go/7:/w/workspace/edgex-ui-go/7:rw,z -v /w/workspace/edgex-ui-go/7@tmp:/w/workspace/edgex-ui-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:23:41 $ docker top fbadeda8d31714ebdd9ab7e34b6d5da61253a59a1ee8e1cda73f816216123630 -eo pid,comm [Pipeline] { [Pipeline] sh 07:23:42 + go version 07:23:42 go version go1.16.8 linux/arm64 [Pipeline] } 07:23:42 $ docker stop --time=1 fbadeda8d31714ebdd9ab7e34b6d5da61253a59a1ee8e1cda73f816216123630 07:23:44 $ docker rm -f fbadeda8d31714ebdd9ab7e34b6d5da61253a59a1ee8e1cda73f816216123630 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:23:45 + docker inspect -f . ci-base-image-arm64 07:23:45 . [Pipeline] withDockerContainer 07:23:45 prd-ubuntu18.04-docker-arm64-4c-16g-1361 does not seem to be running inside a container 07:23:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/7 -v /w/workspace/edgex-ui-go/7:/w/workspace/edgex-ui-go/7:rw,z -v /w/workspace/edgex-ui-go/7@tmp:/w/workspace/edgex-ui-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:23:47 $ docker top a290b0b46dc40bf1b58a65b1dd0bdfd9d5efde546aae84292d5fba163bc0fbd5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:23:48 + make test 07:23:48 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:23:49 ? github.com/edgexfoundry/edgex-ui-go [no test files] 07:24:28 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 07:24:28 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 07:24:28 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 07:24:28 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 07:24:28 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 07:24:28 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 07:24:28 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 07:24:28 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 07:24:28 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 07:24:28 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 07:24:28 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 07:24:28 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 07:24:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:24:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:24:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 07:24:50 $ docker stop --time=1 a290b0b46dc40bf1b58a65b1dd0bdfd9d5efde546aae84292d5fba163bc0fbd5 07:24:52 $ docker rm -f a290b0b46dc40bf1b58a65b1dd0bdfd9d5efde546aae84292d5fba163bc0fbd5 [Pipeline] // withDockerContainer [Pipeline] sh 07:24:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:24:53 Warning: overwriting stash ‘coverage-report’ 07:24:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:24:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:24:54 + ls -al . 07:24:54 total 128 07:24:54 drwxrwxr-x 12 jenkins jenkins 4096 Oct 14 07:23 . 07:24:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:21 .. 07:24:54 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:22 .git 07:24:54 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:22 .github 07:24:54 -rw-rw-r-- 1 jenkins jenkins 155 Oct 14 07:22 .gitignore 07:24:54 -rw-rw-r-- 1 jenkins jenkins 3959 Oct 14 07:22 CONTRIBUTING.md 07:24:54 -rw-rw-r-- 1 jenkins jenkins 1526 Oct 14 07:22 Dockerfile 07:24:54 -rw-rw-r-- 1 jenkins jenkins 652 Oct 14 07:22 Jenkinsfile 07:24:54 -rw-rw-r-- 1 jenkins jenkins 11357 Oct 14 07:22 LICENSE 07:24:54 -rw-rw-r-- 1 jenkins jenkins 1212 Oct 14 07:22 Makefile 07:24:54 -rw-rw-r-- 1 jenkins jenkins 5509 Oct 14 07:22 README.md 07:24:54 -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 07:18 VERSION 07:24:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:22 assets 07:24:54 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:22 bin 07:24:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:22 cmd 07:24:54 -rw-r--r-- 1 jenkins jenkins 10 Oct 14 07:23 coverage.out 07:24:54 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:22 docs 07:24:54 -rw-rw-r-- 1 jenkins jenkins 880 Oct 14 07:22 go.mod 07:24:54 -rw-rw-r-- 1 jenkins jenkins 24176 Oct 14 07:22 go.sum 07:24:54 drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 07:22 internal 07:24:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:22 pkg 07:24:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:22 snap 07:24:54 -rw-rw-r-- 1 jenkins jenkins 155 Oct 14 07:22 version.go 07:24:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:22 web [Pipeline] isUnix [Pipeline] sh 07:24:55 + docker build -t edgex-ui-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e75c29a2d0bef6b051838b2269990771e191d022 --label arch=arm64 --label version=0.0.0 . 07:24:56 Sending build context to Docker daemon 20.59MB 07:24:56 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 07:24:56 Step 2/22 : FROM ${BASE} AS builder 07:24:56 ---> 6099d655131f 07:24:56 Step 3/22 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:24:56 ---> Running in a84048b24ce3 07:24:56 Removing intermediate container a84048b24ce3 07:24:56 ---> 5385f86477c1 07:24:56 Step 4/22 : ARG ALPINE_PKG_BASE="make git" 07:24:56 ---> Running in 6949cd904b8e 07:24:57 Removing intermediate container 6949cd904b8e 07:24:57 ---> 90eb995303b2 07:24:57 Step 5/22 : ARG ALPINE_PKG_EXTRA="" 07:24:57 ---> Running in 99e6c37c1e30 07:24:57 Removing intermediate container 99e6c37c1e30 07:24:57 ---> 3e3414dc0a98 07:24:57 Step 6/22 : LABEL Name=edgex-ui-go 07:24:57 ---> Running in 0464074f99de 07:24:58 Removing intermediate container 0464074f99de 07:24:58 ---> 975d877477b6 07:24:58 Step 7/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:24:58 ---> Running in 6eafe48bdd53 07:24:59 Removing intermediate container 6eafe48bdd53 07:24:59 ---> 3aa8b96f13df 07:24:59 Step 8/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:24:59 ---> Running in 9ba9cd8f1a5b 07:25:01 Removing intermediate container 9ba9cd8f1a5b 07:25:01 ---> 698de60d46ba 07:25:01 Step 9/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:25:01 ---> Running in 6ee753155729 07:25:02 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:25:03 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:25:04 OK: 219 MiB in 52 packages 07:25:05 Removing intermediate container 6ee753155729 07:25:05 ---> 0ab7281840fc 07:25:05 Step 10/22 : ENV GO111MODULE=on 07:25:05 ---> Running in 0398f93b710f 07:25:06 Removing intermediate container 0398f93b710f 07:25:06 ---> 0a83eff4ce6f 07:25:06 Step 11/22 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:25:06 ---> Running in 7b1be0bec071 07:25:06 Removing intermediate container 7b1be0bec071 07:25:06 ---> 6394a038817e 07:25:06 Step 12/22 : COPY . . 07:25:09 ---> af40b236c5a9 07:25:09 Step 13/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:25:09 ---> Running in a9de022057b6 07:25:12 Removing intermediate container a9de022057b6 07:25:12 ---> 95e2295ce908 07:25:12 Step 14/22 : RUN ${MAKE} 07:25:12 ---> Running in 731b8f9d33e9 07:25:13 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=0.0.0" -o cmd/edgex-ui-server/edgex-ui-server ./cmd/edgex-ui-server 07:25:39 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:25:44 Removing intermediate container 731b8f9d33e9 07:25:44 ---> b5c38fa0966c 07:25:44 Step 15/22 : FROM alpine:3.14 07:25:44 3.14: Pulling from library/alpine 07:25:44 552d1f2373af: Already exists 07:25:45 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 07:25:45 Status: Downloaded newer image for alpine:3.14 07:25:45 ---> bb3de5531c18 07:25:45 Step 16/22 : EXPOSE 4000 07:25:45 ---> Running in 4a5dbced3333 07:25:45 Removing intermediate container 4a5dbced3333 07:25:45 ---> a66870eef40b 07:25:45 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:25:47 ---> 9eddf624278b 07:25:47 Step 18/22 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:25:47 ---> Running in 5e17d2561fc0 07:25:47 Removing intermediate container 5e17d2561fc0 07:25:47 ---> 2c04ae8643be 07:25:47 Step 19/22 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 07:25:47 ---> Running in a0042a2018bf 07:25:48 Removing intermediate container a0042a2018bf 07:25:48 ---> 1ee4d9053ba3 07:25:48 Step 20/22 : LABEL arch=arm64 07:25:48 ---> Running in 46e335c9d5ef 07:25:48 Removing intermediate container 46e335c9d5ef 07:25:48 ---> 8ac088c97ba6 07:25:48 Step 21/22 : LABEL git_sha=e75c29a2d0bef6b051838b2269990771e191d022 07:25:48 ---> Running in 1af94f124987 07:25:49 Removing intermediate container 1af94f124987 07:25:49 ---> 577fdaa7ee43 07:25:49 Step 22/22 : LABEL version=0.0.0 07:25:49 ---> Running in 706ef87f3b58 07:25:49 Removing intermediate container 706ef87f3b58 07:25:49 ---> b1df7cfcb9bf 07:25:49 [Warning] One or more build-args [ARCH] were not consumed 07:25:49 Successfully built b1df7cfcb9bf 07:25:49 Successfully tagged edgex-ui-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:25:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:25:50 07:25:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:25:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:25:51 arm64: Pulling from edgex-lftools-log-publisher 07:25:51 448f6bf000e3: Pulling fs layer 07:25:51 f757da607395: Pulling fs layer 07:25:51 05883995daec: Pulling fs layer 07:25:51 8603b9c90790: Pulling fs layer 07:25:51 1560dd03e051: Pulling fs layer 07:25:51 27f5ce0e4adf: Pulling fs layer 07:25:51 c2d8d7efcc4b: Pulling fs layer 07:25:51 1560dd03e051: Waiting 07:25:51 27f5ce0e4adf: Waiting 07:25:51 c2d8d7efcc4b: Waiting 07:25:51 8603b9c90790: Waiting 07:25:51 f757da607395: Verifying Checksum 07:25:51 f757da607395: Download complete 07:25:51 8603b9c90790: Verifying Checksum 07:25:51 8603b9c90790: Download complete 07:25:51 05883995daec: Verifying Checksum 07:25:51 05883995daec: Download complete 07:25:51 27f5ce0e4adf: Verifying Checksum 07:25:51 27f5ce0e4adf: Download complete 07:25:51 1560dd03e051: Verifying Checksum 07:25:51 1560dd03e051: Download complete 07:25:52 448f6bf000e3: Verifying Checksum 07:25:52 448f6bf000e3: Download complete 07:25:54 c2d8d7efcc4b: Download complete 07:25:55 448f6bf000e3: Pull complete 07:25:56 f757da607395: Pull complete 07:25:57 05883995daec: Pull complete 07:25:58 8603b9c90790: Pull complete 07:25:59 1560dd03e051: Pull complete 07:25:59 27f5ce0e4adf: Pull complete 07:26:14 c2d8d7efcc4b: Pull complete 07:26:14 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 07:26:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:26:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:26:14 prd-ubuntu18.04-docker-arm64-4c-16g-1361 does not seem to be running inside a container 07:26:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-ui-go/7 -v /w/workspace/edgex-ui-go/7:/w/workspace/edgex-ui-go/7:rw,z -v /w/workspace/edgex-ui-go/7@tmp:/w/workspace/edgex-ui-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:26:18 $ docker top 1c6d4942e4eb647d443504f13825864aaacdfb368c6c0dff933c8e2612934fd7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:26:19 ---> job-cost.sh 07:26:19 lf-activate-venv: SKIPPING 07:26:19 INFO: No Stack... 07:26:20 INFO: Retrieving Pricing Info for: v3-standard-4 07:26:21 INFO: Archiving Costs [Pipeline] sh 07:26:21 + cut -d, -f6 07:26:21 + cat /w/workspace/edgex-ui-go/7/archives/cost.csv [Pipeline] lock 07:26:21 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-455-7-stack-cost] 07:26:21 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-455-7-stack-cost] did not exist. Created. 07:26:21 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-455-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:26:22 /w/workspace/edgex-ui-go/7@tmp/durable-d2a19a15/script.sh: 1: /w/workspace/edgex-ui-go/7@tmp/durable-d2a19a15/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:26:23 + echo total: 0.10999999940395355 [Pipeline] stash 07:26:23 Warning: overwriting stash ‘stack-cost’ 07:26:23 Stashed 1 file(s) [Pipeline] } 07:26:23 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-455-7-stack-cost] [Pipeline] // lock [Pipeline] } 07:26:23 $ docker stop --time=1 1c6d4942e4eb647d443504f13825864aaacdfb368c6c0dff933c8e2612934fd7 07:26:25 $ docker rm -f 1c6d4942e4eb647d443504f13825864aaacdfb368c6c0dff933c8e2612934fd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:26:25 provisioning config files... 07:26:25 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-455@tmp/config8232502604401058261tmp [Pipeline] { [Pipeline] sh 07:26:26 + set +x 07:26:26 + curl -s https://codecov.io/bash 07:26:26 + bash -s -- 07:26:26 07:26:26 _____ _ 07:26:26 / ____| | | 07:26:26 | | ___ __| | ___ ___ _____ __ 07:26:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:26:26 | |___| (_) | (_| | __/ (_| (_) \ V / 07:26:26 \_____\___/ \__,_|\___|\___\___/ \_/ 07:26:26 Bash-1.0.6 07:26:26 07:26:26 07:26:26 ==> git version 2.24.4 found 07:26:26 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 07:26:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:26:26 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:26:26 ==> Jenkins CI detected. 07:26:26 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-455 07:26:26 project root: . 07:26:26 --> token set from env 07:26:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:26:26 ==> Running gcov in . (disable via -X gcov) 07:26:26 ==> Python coveragepy not found 07:26:26 ==> Searching for coverage reports in: 07:26:26 + . 07:26:26 -> Found 1 reports 07:26:26 ==> Detecting git/mercurial file structure 07:26:26 ==> Reading reports 07:26:26 + ./coverage.out bytes=10 07:26:26 ==> Appending adjustments 07:26:26 https://docs.codecov.io/docs/fixing-reports 07:26:26 + Found adjustments 07:26:26 ==> Gzipping contents 07:26:26 4.0K /tmp/codecov.fNsuah.gz 07:26:26 ==> Uploading reports 07:26:26 url: https://codecov.io 07:26:26 query: branch=PR-455&commit=e75c29a2d0bef6b051838b2269990771e191d022&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-455%2F7%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=455&job=&cmd_args= 07:26:26 -> Pinging Codecov 07:26:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-455&commit=e75c29a2d0bef6b051838b2269990771e191d022&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-455%2F7%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=455&job=&cmd_args= 07:26:26 -> Uploading to 07:26:26 https://storage.googleapis.com/codecov/v4/raw/2021-10-14/FB506323287CE973F263BFD2A0EB1F37/e75c29a2d0bef6b051838b2269990771e191d022/ed8126e0-08e6-4125-887b-2d5658203789.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T072626Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8ac9f43293fc5aadef28aab145fe720dc4c09712cf1859952ac1e5565af915c0 07:26:26 % Total % Received % Xferd Average Speed Time Time Time Current 07:26:26 Dload Upload Total Spent Left Speed 07:26:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3422 0 0 100 3422 0 11561 --:--:-- --:--:-- --:--:-- 11600 07:26:26 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/e75c29a2d0bef6b051838b2269990771e191d022 [Pipeline] } 07:26:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:26:28 + '[' -d /w/workspace/edgexfoundry_edgex-ui-go_PR-455/archives ']' [Pipeline] libraryResource [Pipeline] sh 07:26:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:26:29 ---> package-listing.sh 07:26:29 ++ facter osfamily 07:26:29 ++ tr '[:upper:]' '[:lower:]' 07:26:29 + OS_FAMILY=redhat 07:26:29 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-455 07:26:29 + START_PACKAGES=/tmp/packages_start.txt 07:26:29 + END_PACKAGES=/tmp/packages_end.txt 07:26:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:26:29 + PACKAGES=/tmp/packages_start.txt 07:26:29 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-455 ']' 07:26:29 + PACKAGES=/tmp/packages_end.txt 07:26:29 + case "${OS_FAMILY}" in 07:26:29 + rpm -qa 07:26:29 + sort 07:26:29 + '[' -f /tmp/packages_start.txt ']' 07:26:29 + '[' -f /tmp/packages_end.txt ']' 07:26:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:26:29 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-455 ']' 07:26:29 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-455/archives/ 07:26:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-455/archives/ [Pipeline] echo 07:26:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-455/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:26:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:26:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:30 07:26:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:26:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:31 latest: Pulling from edgex-lftools-log-publisher 07:26:31 b4d181a07f80: Pulling fs layer 07:26:31 a1111a8f2ec3: Pulling fs layer 07:26:31 ed53099fbce6: Pulling fs layer 07:26:31 dc539afda2c1: Pulling fs layer 07:26:31 77bc0d833cb6: Pulling fs layer 07:26:31 9065ff56babe: Pulling fs layer 07:26:31 d287ab97295c: Pulling fs layer 07:26:31 dc539afda2c1: Waiting 07:26:31 77bc0d833cb6: Waiting 07:26:31 9065ff56babe: Waiting 07:26:31 d287ab97295c: Waiting 07:26:31 a1111a8f2ec3: Verifying Checksum 07:26:31 a1111a8f2ec3: Download complete 07:26:31 dc539afda2c1: Download complete 07:26:31 77bc0d833cb6: Verifying Checksum 07:26:31 77bc0d833cb6: Download complete 07:26:31 ed53099fbce6: Verifying Checksum 07:26:31 ed53099fbce6: Download complete 07:26:31 9065ff56babe: Verifying Checksum 07:26:31 9065ff56babe: Download complete 07:26:31 b4d181a07f80: Verifying Checksum 07:26:31 b4d181a07f80: Download complete 07:26:31 d287ab97295c: Verifying Checksum 07:26:31 d287ab97295c: Download complete 07:26:32 b4d181a07f80: Pull complete 07:26:32 a1111a8f2ec3: Pull complete 07:26:33 ed53099fbce6: Pull complete 07:26:33 dc539afda2c1: Pull complete 07:26:33 77bc0d833cb6: Pull complete 07:26:33 9065ff56babe: Pull complete 07:26:39 d287ab97295c: Pull complete 07:26:39 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 07:26:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:26:39 prd-centos7-docker-4c-2g-1355 does not seem to be running inside a container 07:26:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-455/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_edgex-ui-go_PR-455 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-455:/w/workspace/edgexfoundry_edgex-ui-go_PR-455:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-455@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-455@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:26:41 $ docker top 21b227cb4df2569c583c0766efeaa1dbfe884ca98f820019f322002947e4ce35 -eo pid,comm [Pipeline] { [Pipeline] sh 07:26:41 + touch /tmp/pre-build-complete [Pipeline] sh 07:26:42 + mkdir -p /var/log/sysstat [Pipeline] sh 07:26:42 + ls /var/log/sa-host 07:26:42 + sadf -c /var/log/sa-host/sa14 07:26:42 file_magic: OK 07:26:42 HZ: Using current value: 100 07:26:42 file_header: OK 07:26:42 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:26:42 Statistics: 07:26:42 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:26:42 File successfully converted to sysstat format version 12.0.3 07:26:42 + sadf -c /var/log/sa-host/sa30 07:26:42 file_magic: OK 07:26:42 HZ: Using current value: 100 07:26:42 file_header: OK 07:26:42 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:26:42 Statistics: 07:26:42 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:26:42 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:26:42 provisioning config files... 07:26:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-455@tmp/config5128642441357339421tmp [Pipeline] { [Pipeline] echo 07:26:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:26:42 ---> create-netrc.sh [Pipeline] } 07:26:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:26:43 ---> python-tools-install.sh [Pipeline] echo 07:26:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:26:43 ---> sudo-logs.sh 07:26:43 Archiving 'sudo' log.. 07:26:43 sudo: unable to resolve host prd-centos7-docker-4c-2g-1355.novalocal: Name or service not known 07:26:43 sudo: unable to resolve host prd-centos7-docker-4c-2g-1355.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 07:26:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:26:43 ---> job-cost.sh 07:26:43 lf-activate-venv: SKIPPING 07:26:43 DEBUG: total: 0.10999999940395355 07:26:43 INFO: Retrieving Stack Cost... 07:26:44 INFO: Retrieving Pricing Info for: v3-standard-2 07:26:44 INFO: Archiving Costs [Pipeline] echo 07:26:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:26:44 ---> logs-deploy.sh 07:26:44 lf-activate-venv: SKIPPING 07:26:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-455/7 07:26:44 INFO: archiving workspace using pattern(s): 07:26:45 Archives upload complete. 07:26:45 INFO: archiving logs to Nexus