Pull request #501 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 256496f41e6ce7e18bc0867f10d248ccc24b08bb+32872baef5fb4a4c6b230a80c5260eed34fae8bb (2d94b43663b8efac67386ac2a651725334c7b9dd) 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-ssh7211439205892285617.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh3767758127802233980.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-501/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-501/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15827936926347540336.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh12394954338835009083.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-501/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-501/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7335993570256449602.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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.17 USE_ALPINE: true 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-6756 in /w/workspace/edgexfoundry_edgex-ui-go_PR-501 [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-501 # 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-501@tmp/jenkins-gitclient-ssh8054999338463101773.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 32872baef5fb4a4c6b230a80c5260eed34fae8bb into PR head commit 256496f41e6ce7e18bc0867f10d248ccc24b08bb > 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-501@tmp/jenkins-gitclient-ssh6382908242184262620.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/501/head:refs/remotes/origin/PR-501 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 256496f41e6ce7e18bc0867f10d248ccc24b08bb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 256496f41e6ce7e18bc0867f10d248ccc24b08bb Checking out Revision 256496f41e6ce7e18bc0867f10d248ccc24b08bb (PR-501) 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-501@tmp/jenkins-gitclient-ssh7961006499477244056.key > git merge 32872baef5fb4a4c6b230a80c5260eed34fae8bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 256496f41e6ce7e18bc0867f10d248ccc24b08bb # timeout=10 Commit message: "Merge branch 'main' into dependabot/npm_and_yarn/web/karma-6.3.16" > git rev-list --no-walk e00a3151d5b7688aaa8b110c4e38115b205e0564 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:33:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:33:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:33:14 ========================================================= 06:33:14 EdgeX Global Pipelines Version Info 06:33:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:33:15 ------------------- 06:33:15 stable info: 06:33:15 ------------------- 06:33:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:33:15 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 06:33:15 Message: update stable to v1.0.220 06:33:16 ------------------- 06:33:16 experimental info: 06:33:16 ------------------- 06:33:16 Commited By: **** collab-it+edgex@linuxfoundation.org 06:33:16 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 06:33:16 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:33:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:33:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:33:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:33:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:33:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:33:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-501 [Pipeline] echo 06:33:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-501 [Pipeline] echo 06:33:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-501 [Pipeline] echo 06:33:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 256496f41e6ce7e18bc0867f10d248ccc24b08bb [Pipeline] echo 06:33:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 256496f [Pipeline] echo 06:33:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:33:17 provisioning config files... 06:33:17 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-501@tmp/config4974855186772694531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:17 ---> docker-login.sh 06:33:17 nexus3.edgexfoundry.org:10001 06:33:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:17 Configure a credential helper to remove this warning. See 06:33:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:17 06:33:17 Login Succeeded 06:33:17 nexus3.edgexfoundry.org:10002 06:33:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:17 Configure a credential helper to remove this warning. See 06:33:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:17 06:33:17 Login Succeeded 06:33:17 nexus3.edgexfoundry.org:10003 06:33:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:18 Configure a credential helper to remove this warning. See 06:33:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:18 06:33:18 Login Succeeded 06:33:18 nexus3.edgexfoundry.org:10004 06:33:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:18 Configure a credential helper to remove this warning. See 06:33:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:18 06:33:18 Login Succeeded 06:33:18 docker.io 06:33:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:18 Configure a credential helper to remove this warning. See 06:33:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:18 06:33:18 Login Succeeded 06:33:18 ---> docker-login.sh ends [Pipeline] } 06:33:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:33:18 + git rev-list -1 --merges 256496f41e6ce7e18bc0867f10d248ccc24b08bb~1..256496f41e6ce7e18bc0867f10d248ccc24b08bb [Pipeline] echo 06:33:19 -----------> git rev-list -1 --merges 256496f41e6ce7e18bc0867f10d248ccc24b08bb~1..256496f41e6ce7e18bc0867f10d248ccc24b08bb 256496f41e6ce7e18bc0867f10d248ccc24b08bb 06:33:19 256496f41e6ce7e18bc0867f10d248ccc24b08bb [false] [Pipeline] sh 06:33:19 + git log --format=format:%s -1 256496f41e6ce7e18bc0867f10d248ccc24b08bb [Pipeline] echo 06:33:19 ========================================================= 06:33:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:33:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:33:19 + git log --format=format:%s -1 256496f41e6ce7e18bc0867f10d248ccc24b08bb [Pipeline] echo 06:33:19 [semverPrep] GIT_COMMIT: 256496f41e6ce7e18bc0867f10d248ccc24b08bb, Commit Message: Merge branch 'main' into dependabot/npm_and_yarn/web/karma-6.3.16 [Pipeline] echo 06:33:19 [semverPrep] This is not a build commit. [Pipeline] sh 06:33:20 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 06:33:20 + grep -v github /etc/ssh/ssh_known_hosts 06:33:20 + '[' -e /tmp/ssh_known_hosts ']' 06:33:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:33:20 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 06:33:20 + sudo tee -a /etc/ssh/ssh_known_hosts 06:33:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:33:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:33:20 06:33:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:33:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:33:20 latest: Pulling from edgex-devops/git-semver 06:33:20 a0d0a0d46f8b: Pulling fs layer 06:33:20 3e5f54012d9b: Pulling fs layer 06:33:20 4c7163046ea9: Pulling fs layer 06:33:20 0c2d73faf560: Pulling fs layer 06:33:20 0c2d73faf560: Waiting 06:33:20 3e5f54012d9b: Verifying Checksum 06:33:20 3e5f54012d9b: Download complete 06:33:20 a0d0a0d46f8b: Verifying Checksum 06:33:20 a0d0a0d46f8b: Download complete 06:33:20 0c2d73faf560: Verifying Checksum 06:33:20 0c2d73faf560: Download complete 06:33:20 4c7163046ea9: Verifying Checksum 06:33:20 4c7163046ea9: Download complete 06:33:21 a0d0a0d46f8b: Pull complete 06:33:21 3e5f54012d9b: Pull complete 06:33:21 4c7163046ea9: Pull complete 06:33:21 0c2d73faf560: Pull complete 06:33:21 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 06:33:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:33:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:33:21 prd-centos7-docker-4c-2g-6756 does not seem to be running inside a container 06:33:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-501 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-501:/w/workspace/edgexfoundry_edgex-ui-go_PR-501:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-501@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-501@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:33:22 $ docker top 86d74b433a01263467f00ee5cb03f5ebb5a9db474bb9418b265f5fb8f75e7d1a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:33:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:22 [ssh-agent] Looking for ssh-agent implementation... 06:33:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:22 $ docker exec 86d74b433a01263467f00ee5cb03f5ebb5a9db474bb9418b265f5fb8f75e7d1a ssh-agent 06:33:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCNCkPb/agent.13 06:33:22 SSH_AGENT_PID=20 06:33:22 Running ssh-add (command line suppressed) 06:33:22 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-501@tmp/private_key_9078516085590933645.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-501@tmp/private_key_9078516085590933645.key) 06:33:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:23 + git tag --points-at HEAD [Pipeline] } 06:33:23 $ docker exec --env ******** --env ******** 86d74b433a01263467f00ee5cb03f5ebb5a9db474bb9418b265f5fb8f75e7d1a ssh-agent -k 06:33:23 unset SSH_AUTH_SOCK; 06:33:23 unset SSH_AGENT_PID; 06:33:23 echo Agent pid 20 killed; 06:33:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:33:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:23 [ssh-agent] Looking for ssh-agent implementation... 06:33:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:23 $ docker exec 86d74b433a01263467f00ee5cb03f5ebb5a9db474bb9418b265f5fb8f75e7d1a ssh-agent 06:33:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGLceCb/agent.53 06:33:23 SSH_AGENT_PID=60 06:33:23 Running ssh-add (command line suppressed) 06:33:23 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-501@tmp/private_key_3999681214979162292.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-501@tmp/private_key_3999681214979162292.key) 06:33:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:24 + git semver init 06:33:24 # -> Open(): unable to determine branch for HEAD 06:33:24 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-501/.git 06:33:24 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-501 06:33:24 # $SEMVER_REMOTE_NAME = origin 06:33:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:33:24 # $SEMVER_USER_NAME = edgex-jenkins 06:33:24 # $SEMVER_BRANCH = PR-501 06:33:24 # $SEMVER_TEMP = /tmp/semver-465796795 06:33:24 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 06:33:26 # '/tmp/semver-465796795' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-501/.semver' 06:33:26 # -> Force: false 06:33:26 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-501/.semver [Pipeline] } 06:33:26 $ docker exec --env ******** --env ******** 86d74b433a01263467f00ee5cb03f5ebb5a9db474bb9418b265f5fb8f75e7d1a ssh-agent -k 06:33:26 unset SSH_AUTH_SOCK; 06:33:26 unset SSH_AGENT_PID; 06:33:26 echo Agent pid 60 killed; 06:33:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:33:27 + git semver [Pipeline] } 06:33:27 $ docker stop --time=1 86d74b433a01263467f00ee5cb03f5ebb5a9db474bb9418b265f5fb8f75e7d1a 06:33:28 $ docker rm -f 86d74b433a01263467f00ee5cb03f5ebb5a9db474bb9418b265f5fb8f75e7d1a [Pipeline] // withDockerContainer [Pipeline] sh 06:33:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:33:29 Stashed 1 file(s) [Pipeline] echo 06:33:29 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:33:29 provisioning config files... 06:33:29 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-501@tmp/config7337534770512893843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:29 ---> docker-login.sh 06:33:29 nexus3.edgexfoundry.org:10001 06:33:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:29 Configure a credential helper to remove this warning. See 06:33:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:29 06:33:29 Login Succeeded 06:33:29 nexus3.edgexfoundry.org:10002 06:33:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:29 Configure a credential helper to remove this warning. See 06:33:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:29 06:33:29 Login Succeeded 06:33:29 nexus3.edgexfoundry.org:10003 06:33:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:29 Configure a credential helper to remove this warning. See 06:33:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:29 06:33:29 Login Succeeded 06:33:29 nexus3.edgexfoundry.org:10004 06:33:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:30 Configure a credential helper to remove this warning. See 06:33:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:30 06:33:30 Login Succeeded 06:33:30 docker.io 06:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:30 Configure a credential helper to remove this warning. See 06:33:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:30 06:33:30 Login Succeeded 06:33:30 ---> docker-login.sh ends [Pipeline] } 06:33:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:33:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:33:30 ========================================================= 06:33:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:33:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:33:30 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 06:33:30 Sending build context to Docker daemon 42.89MB 06:33:30 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 06:33:30 Step 2/15 : FROM ${BASE} AS builder 06:33:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:33:30 59bf1c3509f3: Pulling fs layer 06:33:30 666ba61612fd: Pulling fs layer 06:33:30 8ed8ca486205: Pulling fs layer 06:33:30 4fe6c5a15a65: Pulling fs layer 06:33:30 22a0e8bec74d: Pulling fs layer 06:33:30 640e595b4fbd: Pulling fs layer 06:33:30 763cafe07f6e: Pulling fs layer 06:33:30 0c0b528cf693: Pulling fs layer 06:33:30 10935f4eaf8b: Pulling fs layer 06:33:30 640e595b4fbd: Waiting 06:33:30 4fe6c5a15a65: Waiting 06:33:30 22a0e8bec74d: Waiting 06:33:30 10935f4eaf8b: Waiting 06:33:30 0c0b528cf693: Waiting 06:33:30 763cafe07f6e: Waiting 06:33:30 8ed8ca486205: Verifying Checksum 06:33:30 8ed8ca486205: Download complete 06:33:30 666ba61612fd: Verifying Checksum 06:33:30 666ba61612fd: Download complete 06:33:30 22a0e8bec74d: Verifying Checksum 06:33:30 22a0e8bec74d: Download complete 06:33:31 640e595b4fbd: Verifying Checksum 06:33:31 640e595b4fbd: Download complete 06:33:31 763cafe07f6e: Verifying Checksum 06:33:31 763cafe07f6e: Download complete 06:33:31 59bf1c3509f3: Verifying Checksum 06:33:31 59bf1c3509f3: Download complete 06:33:31 0c0b528cf693: Verifying Checksum 06:33:31 0c0b528cf693: Download complete 06:33:31 59bf1c3509f3: Pull complete 06:33:31 666ba61612fd: Pull complete 06:33:31 4fe6c5a15a65: Verifying Checksum 06:33:31 4fe6c5a15a65: Download complete 06:33:31 8ed8ca486205: Pull complete 06:33:31 10935f4eaf8b: Verifying Checksum 06:33:31 10935f4eaf8b: Download complete 06:33:36 4fe6c5a15a65: Pull complete 06:33:36 22a0e8bec74d: Pull complete 06:33:36 640e595b4fbd: Pull complete 06:33:36 763cafe07f6e: Pull complete 06:33:36 0c0b528cf693: Pull complete 06:33:39 10935f4eaf8b: Pull complete 06:33:39 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 06:33:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:33:39 ---> 99d49a6021b9 06:33:39 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 06:33:41 ---> Running in 3d21eccbf965 06:33:41 Removing intermediate container 3d21eccbf965 06:33:41 ---> 18aa64d08895 06:33:41 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 06:33:41 ---> Running in 0af746b5a42d 06:33:41 Removing intermediate container 0af746b5a42d 06:33:41 ---> 3439efc4503f 06:33:41 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 06:33:41 ---> Running in 7dbb73c9a949 06:33:41 Removing intermediate container 7dbb73c9a949 06:33:41 ---> 1c2660172c7d 06:33:41 Step 6/15 : LABEL Name=edgex-ui-go 06:33:41 ---> Running in 98cfb3cf6e87 06:33:41 Removing intermediate container 98cfb3cf6e87 06:33:41 ---> ca2e5c52f383 06:33:41 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 06:33:41 ---> Running in ea00d1fe3cad 06:33:41 Removing intermediate container ea00d1fe3cad 06:33:41 ---> 9fc9d957803d 06:33:41 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:33:41 ---> Running in 5b408f52c3a3 06:33:42 Removing intermediate container 5b408f52c3a3 06:33:42 ---> 6d86cf827d14 06:33:42 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:33:42 ---> Running in 2544a95399c0 06:33:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:33:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:33:43 OK: 221 MiB in 52 packages 06:33:43 Removing intermediate container 2544a95399c0 06:33:43 ---> 480fccf337aa 06:33:43 Step 10/15 : ENV GO111MODULE=on 06:33:43 ---> Running in c99f561b9a6b 06:33:43 Removing intermediate container c99f561b9a6b 06:33:43 ---> e1267ee992b0 06:33:43 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 06:33:43 ---> Running in f0b49dd83e6e 06:33:44 Removing intermediate container f0b49dd83e6e 06:33:44 ---> 9fa0573e214a 06:33:44 Step 12/15 : COPY go.mod vendor* ./ 06:33:44 ---> 579d6465c413 06:33:44 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:33:44 ---> Running in 8a271ad38383 06:33:44 Still waiting to schedule task 06:33:44 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-6755’ 06:34:16 Removing intermediate container 8a271ad38383 06:34:16 ---> 57ea6229972f 06:34:16 Step 14/15 : COPY . . 06:34:16 ---> 41e3233d836e 06:34:16 Step 15/15 : RUN ${MAKE} 06:34:16 ---> Running in 249801d51d86 06:34:16 noop 06:34:16 Removing intermediate container 249801d51d86 06:34:16 ---> 44bee4acd487 06:34:16 Successfully built 44bee4acd487 06:34:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:34:16 + docker inspect -f . ci-base-image-x86_64 06:34:16 . [Pipeline] withDockerContainer 06:34:16 prd-centos7-docker-4c-2g-6756 does not seem to be running inside a container 06:34:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-501 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-501:/w/workspace/edgexfoundry_edgex-ui-go_PR-501:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-501@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-501@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 ******** ci-base-image-x86_64 cat 06:34:17 $ docker top 20a46c51698e00c262495f5a53a8811b6241e60c67a92d620de37d5c901da64f -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:17 + go version 06:34:17 go version go1.17.6 linux/amd64 [Pipeline] } 06:34:17 $ docker stop --time=1 20a46c51698e00c262495f5a53a8811b6241e60c67a92d620de37d5c901da64f 06:34:18 $ docker rm -f 20a46c51698e00c262495f5a53a8811b6241e60c67a92d620de37d5c901da64f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:34:19 + docker inspect -f . ci-base-image-x86_64 06:34:19 . [Pipeline] withDockerContainer 06:34:19 prd-centos7-docker-4c-2g-6756 does not seem to be running inside a container 06:34:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-501 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-501:/w/workspace/edgexfoundry_edgex-ui-go_PR-501:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-501@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-501@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 ******** ci-base-image-x86_64 cat 06:34:19 $ docker top f66b0c7f6e23079b7ea901fd8579106600cc05cf8ec06c99270d63beca3d7d07 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:34:19 + make test 06:34:19 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:34:20 ? github.com/edgexfoundry/edgex-ui-go [no test files] 06:34:32 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 06:34:32 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 06:34:32 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 06:34:32 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 06:34:32 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 06:34:32 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 06:34:32 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 06:34:32 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 06:34:32 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 06:34:32 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 06:34:32 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 06:34:32 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 06:34:32 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:34:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:34:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 06:34:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:34:35 $ docker stop --time=1 f66b0c7f6e23079b7ea901fd8579106600cc05cf8ec06c99270d63beca3d7d07 06:34:36 $ docker rm -f f66b0c7f6e23079b7ea901fd8579106600cc05cf8ec06c99270d63beca3d7d07 [Pipeline] // withDockerContainer [Pipeline] sh 06:34:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:34:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:34:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:34:37 + ls -al . 06:34:37 total 112 06:34:37 drwxrwxr-x. 13 jenkins jenkins 4096 Mar 10 06:34 . 06:34:37 drwxrwxr-x. 4 jenkins jenkins 110 Mar 10 06:33 .. 06:34:37 drwxrwxr-x. 3 jenkins jenkins 20 Mar 10 06:33 assets 06:34:37 drwxrwxr-x. 2 jenkins jenkins 66 Mar 10 06:33 bin 06:34:37 drwxrwxr-x. 3 jenkins jenkins 29 Mar 10 06:33 cmd 06:34:37 -rw-rw-r--. 1 jenkins jenkins 3959 Mar 10 06:33 CONTRIBUTING.md 06:34:37 -rw-r--r--. 1 jenkins jenkins 10 Mar 10 06:34 coverage.out 06:34:37 -rw-rw-r--. 1 jenkins jenkins 1549 Mar 10 06:33 Dockerfile 06:34:37 drwxrwxr-x. 2 jenkins jenkins 23 Mar 10 06:33 docs 06:34:37 drwxrwxr-x. 8 jenkins jenkins 179 Mar 10 06:33 .git 06:34:37 drwxrwxr-x. 2 jenkins jenkins 103 Mar 10 06:33 .github 06:34:37 -rw-rw-r--. 1 jenkins jenkins 155 Mar 10 06:33 .gitignore 06:34:37 -rw-rw-r--. 1 jenkins jenkins 1944 Mar 10 06:33 go.mod 06:34:37 -rw-rw-r--. 1 jenkins jenkins 48565 Mar 10 06:33 go.sum 06:34:37 drwxrwxr-x. 9 jenkins jenkins 125 Mar 10 06:33 internal 06:34:37 -rw-rw-r--. 1 jenkins jenkins 652 Mar 10 06:33 Jenkinsfile 06:34:37 -rw-rw-r--. 1 jenkins jenkins 11357 Mar 10 06:33 LICENSE 06:34:37 -rw-rw-r--. 1 jenkins jenkins 1212 Mar 10 06:33 Makefile 06:34:37 drwxrwxr-x. 3 jenkins jenkins 19 Mar 10 06:33 pkg 06:34:37 -rw-rw-r--. 1 jenkins jenkins 4450 Mar 10 06:33 README.md 06:34:37 drwx------. 3 jenkins jenkins 56 Mar 10 06:33 .semver 06:34:37 drwxrwxr-x. 4 jenkins jenkins 71 Mar 10 06:33 snap 06:34:37 -rw-rw-r--. 1 jenkins jenkins 5 Mar 10 06:33 VERSION 06:34:37 -rw-rw-r--. 1 jenkins jenkins 155 Mar 10 06:33 version.go 06:34:37 drwxrwxr-x. 4 jenkins jenkins 4096 Mar 10 06:33 web [Pipeline] isUnix [Pipeline] sh 06:34:38 + 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=256496f41e6ce7e18bc0867f10d248ccc24b08bb --label arch=amd64 --label version=0.0.0 . 06:34:38 Sending build context to Docker daemon 42.9MB 06:34:38 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 06:34:38 Step 2/23 : FROM ${BASE} AS builder 06:34:38 ---> 44bee4acd487 06:34:38 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 06:34:38 ---> Running in 153d01cff268 06:34:38 Removing intermediate container 153d01cff268 06:34:38 ---> 6909f17d989f 06:34:38 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 06:34:38 ---> Running in 36aa706389d0 06:34:39 Removing intermediate container 36aa706389d0 06:34:39 ---> 5410faa7b2ab 06:34:39 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 06:34:39 ---> Running in 6b2310a5692e 06:34:39 Removing intermediate container 6b2310a5692e 06:34:39 ---> 2d8fa44f78ec 06:34:39 Step 6/23 : LABEL Name=edgex-ui-go 06:34:39 ---> Running in 2cbfad50c0b5 06:34:39 Removing intermediate container 2cbfad50c0b5 06:34:39 ---> 8d3ccf860139 06:34:39 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 06:34:39 ---> Running in b574b68e84f4 06:34:39 Removing intermediate container b574b68e84f4 06:34:39 ---> 7143a62edf3c 06:34:39 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:34:39 ---> Running in be78813a89b6 06:34:39 Removing intermediate container be78813a89b6 06:34:39 ---> b8861429c4db 06:34:39 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:34:39 ---> Running in b11282b18ef2 06:34:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:34:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:34:41 OK: 221 MiB in 52 packages 06:34:41 Removing intermediate container b11282b18ef2 06:34:41 ---> 5df394525d67 06:34:41 Step 10/23 : ENV GO111MODULE=on 06:34:41 ---> Running in 3c03e2428116 06:34:41 Removing intermediate container 3c03e2428116 06:34:41 ---> f0467ec07c78 06:34:41 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 06:34:41 ---> Running in 4b488969ab38 06:34:41 Removing intermediate container 4b488969ab38 06:34:41 ---> 056befb1629e 06:34:41 Step 12/23 : COPY go.mod vendor* ./ 06:34:41 ---> 25d036fd4293 06:34:41 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:34:41 ---> Running in 8ac2d8ed9364 06:34:42 Removing intermediate container 8ac2d8ed9364 06:34:42 ---> f4dcd2e34d35 06:34:42 Step 14/23 : COPY . . 06:34:43 ---> 7ce63c054a56 06:34:43 Step 15/23 : RUN ${MAKE} 06:34:43 ---> Running in 32e828015e2d 06:34:43 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 06:34:53 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:34:54 Removing intermediate container 32e828015e2d 06:34:54 ---> bd0be7252265 06:34:54 Step 16/23 : FROM alpine:3.14 06:34:54 3.14: Pulling from library/alpine 06:34:54 97518928ae5f: Pulling fs layer 06:34:55 97518928ae5f: Verifying Checksum 06:34:55 97518928ae5f: Download complete 06:34:55 97518928ae5f: Pull complete 06:34:55 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 06:34:55 Status: Downloaded newer image for alpine:3.14 06:34:55 ---> 0a97eee8041e 06:34:55 Step 17/23 : EXPOSE 4000 06:34:55 ---> Running in 337107d68f49 06:34:55 Removing intermediate container 337107d68f49 06:34:55 ---> 7bf50bb024d0 06:34:55 Step 18/23 : 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 06:34:55 ---> 07935f1381cf 06:34:55 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 06:34:55 ---> Running in 6439fd8d8eac 06:34:55 Removing intermediate container 6439fd8d8eac 06:34:55 ---> a6f7a3ddca96 06:34:55 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 06:34:55 ---> Running in 77763605a5e0 06:34:55 Removing intermediate container 77763605a5e0 06:34:55 ---> 5012c22118d4 06:34:55 Step 21/23 : LABEL arch=amd64 06:34:55 ---> Running in e30270e5956b 06:34:56 Removing intermediate container e30270e5956b 06:34:56 ---> 680987803792 06:34:56 Step 22/23 : LABEL git_sha=256496f41e6ce7e18bc0867f10d248ccc24b08bb 06:34:56 ---> Running in 3980e33438e9 06:34:56 Removing intermediate container 3980e33438e9 06:34:56 ---> 6af24a7fc65a 06:34:56 Step 23/23 : LABEL version=0.0.0 06:34:56 ---> Running in c158b4fab112 06:34:56 Removing intermediate container c158b4fab112 06:34:56 ---> 67a0525b3c2e 06:34:56 [Warning] One or more build-args [ARCH] were not consumed 06:34:56 Successfully built 67a0525b3c2e 06:34:56 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 06:34:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:34:56 06:34:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:34:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:34:57 latest: Pulling from edgex-lftools-log-publisher 06:34:57 5eb5b503b376: Pulling fs layer 06:34:57 5c69ac0246d0: Pulling fs layer 06:34:57 ec43610c2a17: Pulling fs layer 06:34:57 3a2ae6a8a46f: Pulling fs layer 06:34:57 33b1e0a273af: Pulling fs layer 06:34:57 5d3b04190fa2: Pulling fs layer 06:34:57 2f39f015ded8: Pulling fs layer 06:34:57 33b1e0a273af: Waiting 06:34:57 5d3b04190fa2: Waiting 06:34:57 2f39f015ded8: Waiting 06:34:57 3a2ae6a8a46f: Waiting 06:34:57 5c69ac0246d0: Download complete 06:34:57 3a2ae6a8a46f: Verifying Checksum 06:34:57 3a2ae6a8a46f: Download complete 06:34:57 ec43610c2a17: Verifying Checksum 06:34:57 ec43610c2a17: Download complete 06:34:57 5d3b04190fa2: Verifying Checksum 06:34:57 5d3b04190fa2: Download complete 06:34:57 33b1e0a273af: Verifying Checksum 06:34:57 33b1e0a273af: Download complete 06:34:57 5eb5b503b376: Download complete 06:34:58 2f39f015ded8: Verifying Checksum 06:34:58 2f39f015ded8: Download complete 06:34:59 5eb5b503b376: Pull complete 06:34:59 5c69ac0246d0: Pull complete 06:34:59 ec43610c2a17: Pull complete 06:34:59 3a2ae6a8a46f: Pull complete 06:35:00 33b1e0a273af: Pull complete 06:35:00 5d3b04190fa2: Pull complete 06:35:05 2f39f015ded8: Pull complete 06:35:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:35:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:35:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:35:05 prd-centos7-docker-4c-2g-6756 does not seem to be running inside a container 06:35:05 $ 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/edgexfoundry_edgex-ui-go_PR-501 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-501:/w/workspace/edgexfoundry_edgex-ui-go_PR-501:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-501@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-501@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:10003/edgex-lftools-log-publisher:latest cat 06:35:08 $ docker top e8e8e6cc4187a174e6ad9dca21dd83974bd68e753606ac088215722b32e35d9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:35:08 ---> job-cost.sh 06:35:08 lf-activate-venv: SKIPPING 06:35:08 INFO: No Stack... 06:35:08 INFO: Retrieving Pricing Info for: v3-standard-2 06:35:09 INFO: Archiving Costs [Pipeline] sh 06:35:09 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-501/archives/cost.csv 06:35:09 + cut -d, -f6 [Pipeline] lock 06:35:09 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-501-4-stack-cost] 06:35:09 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-501-4-stack-cost] did not exist. Created. 06:35:09 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-501-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:35:09 + echo total: 0.05999999865889549 [Pipeline] stash 06:35:09 Stashed 1 file(s) [Pipeline] } 06:35:09 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-501-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:35:09 $ docker stop --time=1 e8e8e6cc4187a174e6ad9dca21dd83974bd68e753606ac088215722b32e35d9c 06:35:11 $ docker rm -f e8e8e6cc4187a174e6ad9dca21dd83974bd68e753606ac088215722b32e35d9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:35:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6757 in /w/workspace/edgexfoundry_edgex-ui-go_PR-501 [Pipeline] { [Pipeline] ws 06:35:57 Running in /w/workspace/edgex-ui-go/4 [Pipeline] { [Pipeline] checkout 06:35:58 The recommended git tool is: git 06:36:03 using credential edgex-jenkins-ssh 06:36:03 Cloning the remote Git repository 06:36:03 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 06:36:03 > git init /w/workspace/edgex-ui-go/4 # timeout=10 06:36:03 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 06:36:03 > git --version # timeout=10 06:36:03 > git --version # 'git version 2.17.1' 06:36:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:07 Merging remotes/origin/main commit 32872baef5fb4a4c6b230a80c5260eed34fae8bb into PR head commit 256496f41e6ce7e18bc0867f10d248ccc24b08bb 06:36:07 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 06:36:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:07 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 06:36:07 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 06:36:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/501/head:refs/remotes/origin/PR-501 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:36:07 > git config core.sparsecheckout # timeout=10 06:36:07 > git checkout -f 256496f41e6ce7e18bc0867f10d248ccc24b08bb # timeout=10 06:36:08 > git remote # timeout=10 06:36:08 > git config --get remote.origin.url # timeout=10 06:36:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:08 > git merge 32872baef5fb4a4c6b230a80c5260eed34fae8bb # timeout=10 06:36:08 Merge succeeded, producing 256496f41e6ce7e18bc0867f10d248ccc24b08bb 06:36:08 Checking out Revision 256496f41e6ce7e18bc0867f10d248ccc24b08bb (PR-501) 06:36:08 > git rev-parse HEAD^{commit} # timeout=10 06:36:08 > git config core.sparsecheckout # timeout=10 06:36:08 > git checkout -f 256496f41e6ce7e18bc0867f10d248ccc24b08bb # timeout=10 06:36:12 Commit message: "Merge branch 'main' into dependabot/npm_and_yarn/web/karma-6.3.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:36:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:36:13 % Total % Received % Xferd Average Speed Time Time Time Current 06:36:13 Dload Upload Total Spent Left Speed 06:36:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 06:36:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:36:14 + sudo+ jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 06:36:14 06:36:14 { 06:36:14 "registry-mirrors": [ 06:36:14 "https://nexus3.edgexfoundry.org:10001" 06:36:14 ], 06:36:14 "bip": "10.250.0.254/24", 06:36:14 "hosts": [ 06:36:14 "tcp://0.0.0.0:5555", 06:36:14 "unix:///var/run/docker.sock" 06:36:14 ], 06:36:14 "mtu": 1458, 06:36:14 "selinux-enabled": true, 06:36:14 "seccomp-profile": "/etc/docker/seccomp.json" 06:36:14 } [Pipeline] sh 06:36:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:36:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:36:34 provisioning config files... 06:36:34 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/4@tmp/config8810933817997629564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:34 ---> docker-login.sh 06:36:34 nexus3.edgexfoundry.org:10001 06:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:35 Configure a credential helper to remove this warning. See 06:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:35 06:36:35 Login Succeeded 06:36:35 nexus3.edgexfoundry.org:10002 06:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:35 Configure a credential helper to remove this warning. See 06:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:35 06:36:35 Login Succeeded 06:36:35 nexus3.edgexfoundry.org:10003 06:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:36 Configure a credential helper to remove this warning. See 06:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:36 06:36:36 Login Succeeded 06:36:36 nexus3.edgexfoundry.org:10004 06:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:36 Configure a credential helper to remove this warning. See 06:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:36 06:36:36 Login Succeeded 06:36:36 docker.io 06:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:37 Configure a credential helper to remove this warning. See 06:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:37 06:36:37 Login Succeeded 06:36:37 ---> docker-login.sh ends [Pipeline] } 06:36:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:36:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:36:38 ========================================================= 06:36:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:36:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:36:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:36:39 Sending build context to Docker daemon 26.92MB 06:36:39 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 06:36:39 Step 2/15 : FROM ${BASE} AS builder 06:36:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:36:39 9b3977197b4f: Pulling fs layer 06:36:39 1a89e8eeedd5: Pulling fs layer 06:36:39 94645a83ff95: Pulling fs layer 06:36:39 3f3a8bcf1eab: Pulling fs layer 06:36:39 0c92f367c5e7: Pulling fs layer 06:36:39 f7c0051592d6: Pulling fs layer 06:36:39 a227ed2f7395: Pulling fs layer 06:36:39 7b1c46037f91: Pulling fs layer 06:36:39 f7c0051592d6: Waiting 06:36:39 a227ed2f7395: Waiting 06:36:39 0c92f367c5e7: Waiting 06:36:39 7b1c46037f91: Waiting 06:36:39 94645a83ff95: Verifying Checksum 06:36:39 94645a83ff95: Download complete 06:36:39 1a89e8eeedd5: Verifying Checksum 06:36:39 1a89e8eeedd5: Download complete 06:36:39 0c92f367c5e7: Verifying Checksum 06:36:39 0c92f367c5e7: Download complete 06:36:39 f7c0051592d6: Verifying Checksum 06:36:39 f7c0051592d6: Download complete 06:36:39 9b3977197b4f: Download complete 06:36:39 a227ed2f7395: Verifying Checksum 06:36:39 a227ed2f7395: Download complete 06:36:40 9b3977197b4f: Pull complete 06:36:41 1a89e8eeedd5: Pull complete 06:36:41 94645a83ff95: Pull complete 06:36:41 7b1c46037f91: Verifying Checksum 06:36:41 7b1c46037f91: Download complete 06:36:42 3f3a8bcf1eab: Verifying Checksum 06:36:54 3f3a8bcf1eab: Pull complete 06:36:54 0c92f367c5e7: Pull complete 06:36:54 f7c0051592d6: Pull complete 06:36:54 a227ed2f7395: Pull complete 06:37:01 7b1c46037f91: Pull complete 06:37:01 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 06:37:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:37:01 ---> f79e39bc4007 06:37:01 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 06:37:02 ---> Running in 4b7ade0aa68f 06:37:03 Removing intermediate container 4b7ade0aa68f 06:37:03 ---> cba200dd0b9c 06:37:03 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 06:37:03 ---> Running in 0266538ce3c1 06:37:03 Removing intermediate container 0266538ce3c1 06:37:03 ---> 6c8ce1f7a17c 06:37:03 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 06:37:03 ---> Running in 244f9ebe73e0 06:37:04 Removing intermediate container 244f9ebe73e0 06:37:04 ---> 13070dd09bd4 06:37:04 Step 6/15 : LABEL Name=edgex-ui-go 06:37:04 ---> Running in 870df46b4edd 06:37:04 Removing intermediate container 870df46b4edd 06:37:04 ---> f72b35738216 06:37:04 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 06:37:04 ---> Running in 423168e5aa01 06:37:05 Removing intermediate container 423168e5aa01 06:37:05 ---> d410e05e4df3 06:37:05 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:37:05 ---> Running in 49810693e1e3 06:37:07 Removing intermediate container 49810693e1e3 06:37:07 ---> 9eab2007cf5b 06:37:07 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:37:07 ---> Running in 31ca456784c8 06:37:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:37:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:37:10 OK: 220 MiB in 52 packages 06:37:11 Removing intermediate container 31ca456784c8 06:37:11 ---> b822b345e79c 06:37:11 Step 10/15 : ENV GO111MODULE=on 06:37:11 ---> Running in 874beb959105 06:37:11 Removing intermediate container 874beb959105 06:37:11 ---> b3fc96511b27 06:37:11 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 06:37:11 ---> Running in e4467efa3c79 06:37:12 Removing intermediate container e4467efa3c79 06:37:12 ---> f8dd7683df43 06:37:12 Step 12/15 : COPY go.mod vendor* ./ 06:37:12 ---> 3b022cf10f58 06:37:12 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:37:13 ---> Running in e8f465f1fd05 06:38:34 Removing intermediate container e8f465f1fd05 06:38:34 ---> ed41dca493d2 06:38:34 Step 14/15 : COPY . . 06:38:34 ---> 1bf759945031 06:38:34 Step 15/15 : RUN ${MAKE} 06:38:34 ---> Running in 02592eadcf54 06:38:34 noop 06:38:34 Removing intermediate container 02592eadcf54 06:38:34 ---> 7c1df74c6f13 06:38:34 Successfully built 7c1df74c6f13 06:38:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:38:35 + docker inspect -f . ci-base-image-arm64 06:38:35 . [Pipeline] withDockerContainer 06:38:35 prd-ubuntu18.04-docker-arm64-4c-16g-6757 does not seem to be running inside a container 06:38:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/4 -v /w/workspace/edgex-ui-go/4:/w/workspace/edgex-ui-go/4:rw,z -v /w/workspace/edgex-ui-go/4@tmp:/w/workspace/edgex-ui-go/4@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 ******** ci-base-image-arm64 cat 06:38:36 $ docker top 8768e6eda132a90d7fb50c217cca25cf400da6b78e31aa675684f308d8df4f8e -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:37 + go version 06:38:37 go version go1.17.6 linux/arm64 [Pipeline] } 06:38:37 $ docker stop --time=1 8768e6eda132a90d7fb50c217cca25cf400da6b78e31aa675684f308d8df4f8e 06:38:39 $ docker rm -f 8768e6eda132a90d7fb50c217cca25cf400da6b78e31aa675684f308d8df4f8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:38:40 + docker inspect -f . ci-base-image-arm64 06:38:40 . [Pipeline] withDockerContainer 06:38:40 prd-ubuntu18.04-docker-arm64-4c-16g-6757 does not seem to be running inside a container 06:38:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/4 -v /w/workspace/edgex-ui-go/4:/w/workspace/edgex-ui-go/4:rw,z -v /w/workspace/edgex-ui-go/4@tmp:/w/workspace/edgex-ui-go/4@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 ******** ci-base-image-arm64 cat 06:38:41 $ docker top e3bafcc018f250198577d50ebcc23b05863d8cc3805fd53b3becbd46fca76954 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:38:42 + make test 06:38:42 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:38:43 ? github.com/edgexfoundry/edgex-ui-go [no test files] 06:39:30 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 06:39:30 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 06:39:30 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 06:39:30 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 06:39:30 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 06:39:30 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 06:39:30 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 06:39:30 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 06:39:30 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 06:39:30 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 06:39:30 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 06:39:30 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 06:39:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:39:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:39:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 06:39:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:39:43 $ docker stop --time=1 e3bafcc018f250198577d50ebcc23b05863d8cc3805fd53b3becbd46fca76954 06:39:45 $ docker rm -f e3bafcc018f250198577d50ebcc23b05863d8cc3805fd53b3becbd46fca76954 [Pipeline] // withDockerContainer [Pipeline] sh 06:39:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:39:45 Warning: overwriting stash ‘coverage-report’ 06:39:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:39:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:39:47 + ls -al . 06:39:47 total 152 06:39:47 drwxrwxr-x 12 jenkins jenkins 4096 Mar 10 06:38 . 06:39:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:36 .. 06:39:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 06:36 .git 06:39:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 06:36 .github 06:39:47 -rw-rw-r-- 1 jenkins jenkins 155 Mar 10 06:36 .gitignore 06:39:47 -rw-rw-r-- 1 jenkins jenkins 3959 Mar 10 06:36 CONTRIBUTING.md 06:39:47 -rw-rw-r-- 1 jenkins jenkins 1549 Mar 10 06:36 Dockerfile 06:39:47 -rw-rw-r-- 1 jenkins jenkins 652 Mar 10 06:36 Jenkinsfile 06:39:47 -rw-rw-r-- 1 jenkins jenkins 11357 Mar 10 06:36 LICENSE 06:39:47 -rw-rw-r-- 1 jenkins jenkins 1212 Mar 10 06:36 Makefile 06:39:47 -rw-rw-r-- 1 jenkins jenkins 4450 Mar 10 06:36 README.md 06:39:47 -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 06:33 VERSION 06:39:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 06:36 assets 06:39:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 06:36 bin 06:39:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 06:36 cmd 06:39:47 -rw-r--r-- 1 jenkins jenkins 10 Mar 10 06:38 coverage.out 06:39:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 06:36 docs 06:39:47 -rw-rw-r-- 1 jenkins jenkins 1944 Mar 10 06:36 go.mod 06:39:47 -rw-rw-r-- 1 jenkins jenkins 48565 Mar 10 06:36 go.sum 06:39:47 drwxrwxr-x 9 jenkins jenkins 4096 Mar 10 06:36 internal 06:39:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 06:36 pkg 06:39:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:36 snap 06:39:47 -rw-rw-r-- 1 jenkins jenkins 155 Mar 10 06:36 version.go 06:39:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:36 web [Pipeline] isUnix [Pipeline] sh 06:39:47 + 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=256496f41e6ce7e18bc0867f10d248ccc24b08bb --label arch=arm64 --label version=0.0.0 . 06:39:48 Sending build context to Docker daemon 26.92MB 06:39:48 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 06:39:48 Step 2/23 : FROM ${BASE} AS builder 06:39:48 ---> 7c1df74c6f13 06:39:48 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 06:39:49 ---> Running in 612b7ed83686 06:39:49 Removing intermediate container 612b7ed83686 06:39:49 ---> cf274ec6ec08 06:39:49 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 06:39:49 ---> Running in ef4ff60128b5 06:39:49 Removing intermediate container ef4ff60128b5 06:39:49 ---> 7e0cb97ab231 06:39:49 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 06:39:50 ---> Running in 5b0165b7f2c5 06:39:50 Removing intermediate container 5b0165b7f2c5 06:39:50 ---> 4d81d696b11d 06:39:50 Step 6/23 : LABEL Name=edgex-ui-go 06:39:50 ---> Running in be3a0f281657 06:39:50 Removing intermediate container be3a0f281657 06:39:50 ---> bd5ea791b310 06:39:50 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 06:39:51 ---> Running in 2ab3f2d454fc 06:39:51 Removing intermediate container 2ab3f2d454fc 06:39:51 ---> 5e2680a5397c 06:39:51 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:39:51 ---> Running in f698dd1319e9 06:39:53 Removing intermediate container f698dd1319e9 06:39:53 ---> 0b0d84669340 06:39:53 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:39:53 ---> Running in 8abd616e6538 06:39:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:39:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:39:56 OK: 220 MiB in 52 packages 06:39:56 Removing intermediate container 8abd616e6538 06:39:56 ---> b14c8927df00 06:39:56 Step 10/23 : ENV GO111MODULE=on 06:39:57 ---> Running in 7db6f8daec41 06:39:57 Removing intermediate container 7db6f8daec41 06:39:57 ---> 6380db3b5f38 06:39:57 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 06:39:57 ---> Running in 3ca0f50433d3 06:39:57 Removing intermediate container 3ca0f50433d3 06:39:57 ---> 8800d5caf25e 06:39:57 Step 12/23 : COPY go.mod vendor* ./ 06:39:58 ---> d5f996f1d6e4 06:39:58 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:39:58 ---> Running in abe6281223af 06:40:01 Removing intermediate container abe6281223af 06:40:01 ---> f86e42bb28ba 06:40:01 Step 14/23 : COPY . . 06:40:03 ---> 606708ee0b70 06:40:03 Step 15/23 : RUN ${MAKE} 06:40:03 ---> Running in 1cdd04042347 06:40:04 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 06:40:37 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:40:42 Removing intermediate container 1cdd04042347 06:40:42 ---> f53a50d174ca 06:40:42 Step 16/23 : FROM alpine:3.14 06:40:42 3.14: Pulling from library/alpine 06:40:42 be307f383ecc: Pulling fs layer 06:40:42 be307f383ecc: Verifying Checksum 06:40:42 be307f383ecc: Download complete 06:40:43 be307f383ecc: Pull complete 06:40:43 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 06:40:43 Status: Downloaded newer image for alpine:3.14 06:40:43 ---> 5b8b7b635229 06:40:43 Step 17/23 : EXPOSE 4000 06:40:43 ---> Running in 0f691362534e 06:40:43 Removing intermediate container 0f691362534e 06:40:43 ---> 6cf6062dbfbb 06:40:43 Step 18/23 : 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 06:40:45 ---> 07a51562ee24 06:40:45 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 06:40:45 ---> Running in 831db6183748 06:40:45 Removing intermediate container 831db6183748 06:40:45 ---> 1d1d8066b252 06:40:45 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 06:40:45 ---> Running in c928441ad769 06:40:45 Removing intermediate container c928441ad769 06:40:45 ---> 377512db51e4 06:40:45 Step 21/23 : LABEL arch=arm64 06:40:45 ---> Running in 68e0e1fa98c9 06:40:46 Removing intermediate container 68e0e1fa98c9 06:40:46 ---> c64e3ab14f26 06:40:46 Step 22/23 : LABEL git_sha=256496f41e6ce7e18bc0867f10d248ccc24b08bb 06:40:46 ---> Running in 167524a45a48 06:40:46 Removing intermediate container 167524a45a48 06:40:46 ---> 80436cf54d3c 06:40:46 Step 23/23 : LABEL version=0.0.0 06:40:47 ---> Running in 2227c4167d1a 06:40:47 Removing intermediate container 2227c4167d1a 06:40:47 ---> 90eef272aa55 06:40:47 [Warning] One or more build-args [ARCH] were not consumed 06:40:47 Successfully built 90eef272aa55 06:40:47 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 06:40:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:40:47 06:40:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:40:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:40:48 arm64: Pulling from edgex-lftools-log-publisher 06:40:48 8998bd30e6a1: Pulling fs layer 06:40:48 04944245beec: Pulling fs layer 06:40:48 699f458cf7ca: Pulling fs layer 06:40:48 765212b225bb: Pulling fs layer 06:40:48 f23df028b6ca: Pulling fs layer 06:40:48 d65c8cfc05b1: Pulling fs layer 06:40:48 2437ff75d9bd: Pulling fs layer 06:40:48 765212b225bb: Waiting 06:40:48 f23df028b6ca: Waiting 06:40:48 d65c8cfc05b1: Waiting 06:40:48 2437ff75d9bd: Waiting 06:40:48 04944245beec: Verifying Checksum 06:40:48 04944245beec: Download complete 06:40:48 765212b225bb: Verifying Checksum 06:40:48 765212b225bb: Download complete 06:40:48 f23df028b6ca: Verifying Checksum 06:40:48 f23df028b6ca: Download complete 06:40:48 d65c8cfc05b1: Verifying Checksum 06:40:48 d65c8cfc05b1: Download complete 06:40:48 699f458cf7ca: Verifying Checksum 06:40:48 699f458cf7ca: Download complete 06:40:48 8998bd30e6a1: Verifying Checksum 06:40:48 8998bd30e6a1: Download complete 06:40:51 2437ff75d9bd: Verifying Checksum 06:40:51 2437ff75d9bd: Download complete 06:40:52 8998bd30e6a1: Pull complete 06:40:53 04944245beec: Pull complete 06:40:55 699f458cf7ca: Pull complete 06:40:55 765212b225bb: Pull complete 06:40:56 f23df028b6ca: Pull complete 06:40:56 d65c8cfc05b1: Pull complete 06:41:11 2437ff75d9bd: Pull complete 06:41:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:41:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:41:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:41:11 prd-ubuntu18.04-docker-arm64-4c-16g-6757 does not seem to be running inside a container 06:41:11 $ 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/4 -v /w/workspace/edgex-ui-go/4:/w/workspace/edgex-ui-go/4:rw,z -v /w/workspace/edgex-ui-go/4@tmp:/w/workspace/edgex-ui-go/4@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:41:14 $ docker top e8af4ba8596ca2860b745a2240651af106f6522efe0c21a904e7d21005442f8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:15 ---> job-cost.sh 06:41:15 lf-activate-venv: SKIPPING 06:41:15 INFO: No Stack... 06:41:15 INFO: Retrieving Pricing Info for: v3-standard-4 06:41:16 INFO: Archiving Costs [Pipeline] sh 06:41:17 + cut -d, -f6 06:41:17 + cat /w/workspace/edgex-ui-go/4/archives/cost.csv [Pipeline] lock 06:41:17 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-501-4-stack-cost] 06:41:17 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-501-4-stack-cost] did not exist. Created. 06:41:17 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-501-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:41:18 /w/workspace/edgex-ui-go/4@tmp/durable-4c9ac47f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:41:18 + echo total: 0.10999999940395355 [Pipeline] stash 06:41:18 Warning: overwriting stash ‘stack-cost’ 06:41:18 Stashed 1 file(s) [Pipeline] } 06:41:18 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-501-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:41:19 $ docker stop --time=1 e8af4ba8596ca2860b745a2240651af106f6522efe0c21a904e7d21005442f8b 06:41:20 $ docker rm -f e8af4ba8596ca2860b745a2240651af106f6522efe0c21a904e7d21005442f8b [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 06:41:21 provisioning config files... 06:41:21 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-501@tmp/config3374204304077963849tmp [Pipeline] { [Pipeline] sh 06:41:21 + set +x 06:41:21 + curl -s https://codecov.io/bash 06:41:21 + bash -s -- 06:41:21 06:41:21 _____ _ 06:41:21 / ____| | | 06:41:21 | | ___ __| | ___ ___ _____ __ 06:41:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:41:21 | |___| (_) | (_| | __/ (_| (_) \ V / 06:41:21 \_____\___/ \__,_|\___|\___\___/ \_/ 06:41:21 Bash-1.0.6 06:41:21 06:41:21 06:41:21 ==> git version 2.24.4 found 06:41:21 ==> 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 06:41:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:41:21 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:41:21 ==> Jenkins CI detected. 06:41:21 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-501 06:41:21 project root: . 06:41:21 --> token set from env 06:41:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:41:21 ==> Running gcov in . (disable via -X gcov) 06:41:21 ==> Python coveragepy not found 06:41:21 ==> Searching for coverage reports in: 06:41:21 + . 06:41:21 -> Found 1 reports 06:41:21 ==> Detecting git/mercurial file structure 06:41:21 ==> Reading reports 06:41:21 + ./coverage.out bytes=10 06:41:21 ==> Appending adjustments 06:41:21 https://docs.codecov.io/docs/fixing-reports 06:41:21 + Found adjustments 06:41:21 ==> Gzipping contents 06:41:21 4.0K /tmp/codecov.AY8X73.gz 06:41:21 ==> Uploading reports 06:41:21 url: https://codecov.io 06:41:21 query: branch=PR-501&commit=256496f41e6ce7e18bc0867f10d248ccc24b08bb&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-501%2F4%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=501&job=&cmd_args= 06:41:21 -> Pinging Codecov 06:41:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-501&commit=256496f41e6ce7e18bc0867f10d248ccc24b08bb&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-501%2F4%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=501&job=&cmd_args= 06:41:22 -> Uploading to 06:41:22 https://storage.googleapis.com/codecov/v4/raw/2022-03-10/FB506323287CE973F263BFD2A0EB1F37/256496f41e6ce7e18bc0867f10d248ccc24b08bb/95e2b265-2d8a-4506-81ff-87f616b974c0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220310%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220310T064121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=430f9b8a369fa8de5b3b33938b97f8d3a3f5ff77131e02110d27ee95b14700cd 06:41:22 % Total % Received % Xferd Average Speed Time Time Time Current 06:41:22 Dload Upload Total Spent Left Speed 06:41:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3960 0 0 100 3960 0 10424 --:--:-- --:--:-- --:--:-- 10448 06:41:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/256496f41e6ce7e18bc0867f10d248ccc24b08bb [Pipeline] } 06:41:22 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:41:22 + '[' -d /w/workspace/edgexfoundry_edgex-ui-go_PR-501/archives ']' 06:41:22 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-501/archives 06:41:22 total 8 06:41:22 drwxr-xr-x. 3 root root 34 Mar 10 06:35 . 06:41:22 drwxrwxr-x. 14 jenkins jenkins 4096 Mar 10 06:35 .. 06:41:22 drwxr-xr-x. 2 root root 6 Mar 10 06:35 cost 06:41:22 -rw-r--r--. 1 root root 82 Mar 10 06:35 cost.csv 06:41:22 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-501/archives 06:41:22 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-501/archives 06:41:22 total 8 06:41:22 drwxr-xr-x. 3 jenkins jenkins 34 Mar 10 06:35 . 06:41:22 drwxrwxr-x. 14 jenkins jenkins 4096 Mar 10 06:35 .. 06:41:22 drwxr-xr-x. 2 jenkins jenkins 6 Mar 10 06:35 cost 06:41:22 -rw-r--r--. 1 jenkins jenkins 82 Mar 10 06:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:41:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:41:23 ---> package-listing.sh 06:41:23 ++ facter osfamily 06:41:23 ++ tr '[:upper:]' '[:lower:]' 06:41:24 + OS_FAMILY=redhat 06:41:24 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-501 06:41:24 + START_PACKAGES=/tmp/packages_start.txt 06:41:24 + END_PACKAGES=/tmp/packages_end.txt 06:41:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:41:24 + PACKAGES=/tmp/packages_start.txt 06:41:24 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-501 ']' 06:41:24 + PACKAGES=/tmp/packages_end.txt 06:41:24 + case "${OS_FAMILY}" in 06:41:24 + rpm -qa 06:41:24 + sort 06:41:24 + '[' -f /tmp/packages_start.txt ']' 06:41:24 + '[' -f /tmp/packages_end.txt ']' 06:41:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:41:24 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-501 ']' 06:41:24 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-501/archives/ 06:41:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-501/archives/ [Pipeline] echo 06:41:24 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-501/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:41:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:41:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:41:25 . [Pipeline] withDockerContainer 06:41:25 prd-centos7-docker-4c-2g-6756 does not seem to be running inside a container 06:41:25 $ 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-501/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-501 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-501:/w/workspace/edgexfoundry_edgex-ui-go_PR-501:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-501@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-501@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:41:25 $ docker top 43a99d96258ccdf33c26a51645df07e3b0a70cef63f0a29d9530929c46927bd9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:26 + touch /tmp/pre-build-complete [Pipeline] sh 06:41:26 + mkdir -p /var/log/sysstat [Pipeline] sh 06:41:26 + ls /var/log/sa-host 06:41:26 + sadf -c /var/log/sa-host/sa10 06:41:26 file_magic: OK 06:41:26 HZ: Using current value: 100 06:41:26 file_header: OK 06:41:26 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 06:41:26 Statistics: 06:41:26 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:41:26 File successfully converted to sysstat format version 12.5.2 06:41:26 + sadf -c /var/log/sa-host/sa17 06:41:26 file_magic: OK 06:41:26 HZ: Using current value: 100 06:41:26 file_header: OK 06:41:26 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 06:41:26 Statistics: 06:41:26 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:41:26 File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:41:26 provisioning config files... 06:41:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-501@tmp/config7207265248473141672tmp [Pipeline] { [Pipeline] echo 06:41:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:41:27 ---> create-netrc.sh [Pipeline] } 06:41:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:41:27 ---> python-tools-install.sh [Pipeline] echo 06:41:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:41:27 ---> sudo-logs.sh 06:41:27 Archiving 'sudo' log.. 06:41:27 sudo: unable to resolve host prd-centos7-docker-4c-2g-6756.novalocal: Name or service not known 06:41:27 sudo: unable to resolve host prd-centos7-docker-4c-2g-6756.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 06:41:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:41:28 ---> job-cost.sh 06:41:28 lf-activate-venv: SKIPPING 06:41:28 DEBUG: total: 0.05999999865889549 06:41:28 INFO: Retrieving Stack Cost... 06:41:28 INFO: Retrieving Pricing Info for: v3-standard-2 06:41:28 INFO: Archiving Costs [Pipeline] echo 06:41:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:41:29 ---> logs-deploy.sh 06:41:29 lf-activate-venv: SKIPPING 06:41:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-501/4 06:41:29 INFO: archiving workspace using pattern(s): 06:41:30 Archives upload complete. 06:41:30 INFO: archiving logs to Nexus