Pull request #461 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 19f5669d3786e7d2cad440c35d99bcce041c2fef+7f732f65f6f0ad045ed56d5bdbc73b2ddd0883a2 (a38c1bfea7541fb231d0c42ce4dc7408c3f3a09d) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh874425843663721130.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2679582801155688654.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-461/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-461/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2627346422823960037.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6574601926595085987.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-461/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-461/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh238882797085361453.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:edgex-ui-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-ui-go-settings PROJECT: edgex-ui-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: edgex-ui DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2266 in /w/workspace/edgexfoundry_edgex-ui-go_PR-461 [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-461 # 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-461@tmp/jenkins-gitclient-ssh3621324679443616854.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_edgex-ui-go_PR-461@tmp/jenkins-gitclient-ssh5633538810385108609.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7f732f65f6f0ad045ed56d5bdbc73b2ddd0883a2 into PR head commit 19f5669d3786e7d2cad440c35d99bcce041c2fef Merge succeeded, producing 19f5669d3786e7d2cad440c35d99bcce041c2fef Checking out Revision 19f5669d3786e7d2cad440c35d99bcce041c2fef (PR-461) > git config core.sparsecheckout # timeout=10 > git checkout -f 19f5669d3786e7d2cad440c35d99bcce041c2fef # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_edgex-ui-go_PR-461@tmp/jenkins-gitclient-ssh8248812618908827283.key > git merge 7f732f65f6f0ad045ed56d5bdbc73b2ddd0883a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 19f5669d3786e7d2cad440c35d99bcce041c2fef # timeout=10 Commit message: "Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.0.1-dev.9" > git rev-list --no-walk a01d74a938c33c0ab8f81077a47ab6205adc52a7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:09:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:09:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:09:18 ========================================================= 09:09:18 EdgeX Global Pipelines Version Info 09:09:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:09:19 ------------------- 09:09:19 stable info: 09:09:19 ------------------- 09:09:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:09:19 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 09:09:19 Message: update stable to v1.0.210 09:09:19 ------------------- 09:09:19 experimental info: 09:09:19 ------------------- 09:09:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:09:19 Commit SHA: 6722a7c1c8ebe94597741d4fbba21f45702e0c7d 09:09:19 Message: testing jakarta lts changes [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:09:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 09:09:19 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 09:09:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:09:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:09:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:09:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 09:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 09:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 09:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:09:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-461 [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-461 [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-461 [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 19f5669d3786e7d2cad440c35d99bcce041c2fef [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 19f5669 [Pipeline] echo 09:09:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:09:21 provisioning config files... 09:09:21 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-461@tmp/config7519937218542239647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:21 ---> docker-login.sh 09:09:21 nexus3.edgexfoundry.org:10001 09:09:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:21 Configure a credential helper to remove this warning. See 09:09:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:21 09:09:21 Login Succeeded 09:09:21 nexus3.edgexfoundry.org:10002 09:09:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:22 Configure a credential helper to remove this warning. See 09:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:22 09:09:22 Login Succeeded 09:09:22 nexus3.edgexfoundry.org:10003 09:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:22 Configure a credential helper to remove this warning. See 09:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:22 09:09:22 Login Succeeded 09:09:22 nexus3.edgexfoundry.org:10004 09:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:22 Configure a credential helper to remove this warning. See 09:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:22 09:09:22 Login Succeeded 09:09:22 docker.io 09:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:22 Configure a credential helper to remove this warning. See 09:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:22 09:09:22 Login Succeeded 09:09:22 ---> docker-login.sh ends [Pipeline] } 09:09:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:09:23 + git log --format=format:%s -1 19f5669d3786e7d2cad440c35d99bcce041c2fef [Pipeline] echo 09:09:23 GIT_COMMIT: 19f5669d3786e7d2cad440c35d99bcce041c2fef, Commit Message: Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.0.1-dev.9 [Pipeline] echo 09:09:23 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:09:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:09:23 09:09:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:09:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:09:23 latest: Pulling from edgex-devops/git-semver 09:09:23 a0d0a0d46f8b: Pulling fs layer 09:09:23 3e5f54012d9b: Pulling fs layer 09:09:23 4c7163046ea9: Pulling fs layer 09:09:23 0c2d73faf560: Pulling fs layer 09:09:23 0c2d73faf560: Waiting 09:09:23 3e5f54012d9b: Verifying Checksum 09:09:23 3e5f54012d9b: Download complete 09:09:23 a0d0a0d46f8b: Verifying Checksum 09:09:23 a0d0a0d46f8b: Download complete 09:09:23 4c7163046ea9: Verifying Checksum 09:09:23 4c7163046ea9: Download complete 09:09:24 0c2d73faf560: Verifying Checksum 09:09:24 0c2d73faf560: Download complete 09:09:24 a0d0a0d46f8b: Pull complete 09:09:24 3e5f54012d9b: Pull complete 09:09:24 4c7163046ea9: Pull complete 09:09:24 0c2d73faf560: Pull complete 09:09:24 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:09:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:09:24 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:09:24 prd-centos7-docker-4c-2g-2266 does not seem to be running inside a container 09:09:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-461 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-461:/w/workspace/edgexfoundry_edgex-ui-go_PR-461:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-461@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-461@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 09:09:25 $ docker top 0737c44332c3d3a783e164022d93ea884adca08865799b68792c28c2e841ec3c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:09:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:09:25 [ssh-agent] Looking for ssh-agent implementation... 09:09:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:09:25 $ docker exec 0737c44332c3d3a783e164022d93ea884adca08865799b68792c28c2e841ec3c ssh-agent 09:09:25 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNanIcN/agent.13 09:09:25 SSH_AGENT_PID=20 09:09:26 Running ssh-add (command line suppressed) 09:09:26 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-461@tmp/private_key_1378240325251947100.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-461@tmp/private_key_1378240325251947100.key) 09:09:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:09:26 + git tag --points-at HEAD [Pipeline] } 09:09:26 $ docker exec --env ******** --env ******** 0737c44332c3d3a783e164022d93ea884adca08865799b68792c28c2e841ec3c ssh-agent -k 09:09:26 unset SSH_AUTH_SOCK; 09:09:26 unset SSH_AGENT_PID; 09:09:26 echo Agent pid 20 killed; 09:09:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:09:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:09:26 [ssh-agent] Looking for ssh-agent implementation... 09:09:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:09:26 $ docker exec 0737c44332c3d3a783e164022d93ea884adca08865799b68792c28c2e841ec3c ssh-agent 09:09:26 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXINAKnB/agent.55 09:09:26 SSH_AGENT_PID=61 09:09:26 Running ssh-add (command line suppressed) 09:09:26 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-461@tmp/private_key_337668673013126470.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-461@tmp/private_key_337668673013126470.key) 09:09:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:09:27 + git semver init 09:09:27 # -> Open(): unable to determine branch for HEAD 09:09:27 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-461/.git 09:09:27 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-461 09:09:27 # $SEMVER_REMOTE_NAME = origin 09:09:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:09:27 # $SEMVER_USER_NAME = edgex-jenkins 09:09:27 # $SEMVER_BRANCH = PR-461 09:09:27 # $SEMVER_TEMP = /tmp/semver-148906651 09:09:27 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 09:09:29 # '/tmp/semver-148906651' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-461/.semver' 09:09:29 # -> Force: false 09:09:29 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-461/.semver [Pipeline] } 09:09:29 $ docker exec --env ******** --env ******** 0737c44332c3d3a783e164022d93ea884adca08865799b68792c28c2e841ec3c ssh-agent -k 09:09:29 unset SSH_AUTH_SOCK; 09:09:29 unset SSH_AGENT_PID; 09:09:29 echo Agent pid 61 killed; 09:09:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:09:30 + git semver [Pipeline] } 09:09:30 $ docker stop --time=1 0737c44332c3d3a783e164022d93ea884adca08865799b68792c28c2e841ec3c 09:09:31 $ docker rm -f 0737c44332c3d3a783e164022d93ea884adca08865799b68792c28c2e841ec3c [Pipeline] // withDockerContainer [Pipeline] sh 09:09:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:09:32 Stashed 1 file(s) [Pipeline] echo 09:09:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 09:09:47 Still waiting to schedule task 09:09:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:09:47 Still waiting to schedule task 09:09:47 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2265’ is offline 09:11:40 Running on prd-centos7-docker-4c-2g-2269 in /w/workspace/edgexfoundry_edgex-ui-go_PR-461 [Pipeline] { [Pipeline] ws 09:11:40 Running in /w/workspace/edgex-ui-go/2 [Pipeline] { [Pipeline] checkout 09:11:40 The recommended git tool is: git 09:11:43 using credential edgex-jenkins-ssh 09:11:43 Cloning the remote Git repository 09:11:43 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 09:11:43 > git init /w/workspace/edgex-ui-go/2 # timeout=10 09:11:44 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 09:11:44 > git --version # timeout=10 09:11:44 > git --version # 'git version 2.24.4' 09:11:44 using GIT_SSH to set credentials SSH Credentials for GitHub 09:11:44 [INFO] Currently running in a labeled security context 09:11:44 [INFO] Currently SELinux is 'enforcing' on the host 09:11:44 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-ui-go/2@tmp/jenkins-gitclient-ssh7375375932955025455.key 09:11:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:11:46 Merging remotes/origin/main commit 7f732f65f6f0ad045ed56d5bdbc73b2ddd0883a2 into PR head commit 19f5669d3786e7d2cad440c35d99bcce041c2fef 09:11:45 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 09:11:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:11:45 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 09:11:45 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 09:11:45 using GIT_SSH to set credentials SSH Credentials for GitHub 09:11:45 [INFO] Currently running in a labeled security context 09:11:45 [INFO] Currently SELinux is 'enforcing' on the host 09:11:45 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-ui-go/2@tmp/jenkins-gitclient-ssh3157282338833360677.key 09:11:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:11:46 > git config core.sparsecheckout # timeout=10 09:11:46 > git checkout -f 19f5669d3786e7d2cad440c35d99bcce041c2fef # timeout=10 09:11:46 > git remote # timeout=10 09:11:46 > git config --get remote.origin.url # timeout=10 09:11:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:11:46 [INFO] Currently running in a labeled security context 09:11:46 [INFO] Currently SELinux is 'enforcing' on the host 09:11:46 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-ui-go/2@tmp/jenkins-gitclient-ssh6422130573636305811.key 09:11:46 Merge succeeded, producing 19f5669d3786e7d2cad440c35d99bcce041c2fef 09:11:46 Checking out Revision 19f5669d3786e7d2cad440c35d99bcce041c2fef (PR-461) 09:11:46 > git merge 7f732f65f6f0ad045ed56d5bdbc73b2ddd0883a2 # timeout=10 09:11:46 > git rev-parse HEAD^{commit} # timeout=10 09:11:46 > git config core.sparsecheckout # timeout=10 09:11:46 > git checkout -f 19f5669d3786e7d2cad440c35d99bcce041c2fef # timeout=10 09:11:51 Commit message: "Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.0.1-dev.9" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:11:51 provisioning config files... 09:11:51 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/2@tmp/config2113048918581612870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:51 ---> docker-login.sh 09:11:51 nexus3.edgexfoundry.org:10001 09:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:52 Configure a credential helper to remove this warning. See 09:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:52 09:11:52 Login Succeeded 09:11:52 nexus3.edgexfoundry.org:10002 09:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:52 Configure a credential helper to remove this warning. See 09:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:52 09:11:52 Login Succeeded 09:11:52 nexus3.edgexfoundry.org:10003 09:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:52 Configure a credential helper to remove this warning. See 09:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:52 09:11:52 Login Succeeded 09:11:52 nexus3.edgexfoundry.org:10004 09:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:52 Configure a credential helper to remove this warning. See 09:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:52 09:11:52 Login Succeeded 09:11:52 docker.io 09:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:52 Configure a credential helper to remove this warning. See 09:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:52 09:11:52 Login Succeeded 09:11:52 ---> docker-login.sh ends [Pipeline] } 09:11:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:11:53 ========================================================= 09:11:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 09:11:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:11:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 09:11:53 Sending build context to Docker daemon 24.97MB 09:11:53 Step 1/14 : ARG BASE=golang:1.16-alpine3.14 09:11:53 Step 2/14 : FROM ${BASE} AS builder 09:11:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 09:11:53 a0d0a0d46f8b: Pulling fs layer 09:11:53 31adcdaf11c8: Pulling fs layer 09:11:53 b8b176561691: Pulling fs layer 09:11:53 4527c011a84f: Pulling fs layer 09:11:53 5d74067f8e1e: Pulling fs layer 09:11:53 e0aca202a116: Pulling fs layer 09:11:53 3a43be97a3b4: Pulling fs layer 09:11:53 34cad66bf833: Pulling fs layer 09:11:53 b4e3c513aaa6: Pulling fs layer 09:11:53 4527c011a84f: Waiting 09:11:53 5d74067f8e1e: Waiting 09:11:53 e0aca202a116: Waiting 09:11:53 3a43be97a3b4: Waiting 09:11:53 34cad66bf833: Waiting 09:11:53 b4e3c513aaa6: Waiting 09:11:53 b8b176561691: Verifying Checksum 09:11:53 b8b176561691: Download complete 09:11:53 31adcdaf11c8: Verifying Checksum 09:11:53 31adcdaf11c8: Download complete 09:11:53 5d74067f8e1e: Verifying Checksum 09:11:53 5d74067f8e1e: Download complete 09:11:53 e0aca202a116: Verifying Checksum 09:11:53 e0aca202a116: Download complete 09:11:53 a0d0a0d46f8b: Verifying Checksum 09:11:53 a0d0a0d46f8b: Download complete 09:11:53 3a43be97a3b4: Verifying Checksum 09:11:53 3a43be97a3b4: Download complete 09:11:53 34cad66bf833: Verifying Checksum 09:11:53 34cad66bf833: Download complete 09:11:54 b4e3c513aaa6: Verifying Checksum 09:11:54 b4e3c513aaa6: Download complete 09:11:54 4527c011a84f: Verifying Checksum 09:11:54 4527c011a84f: Download complete 09:11:54 a0d0a0d46f8b: Pull complete 09:11:54 31adcdaf11c8: Pull complete 09:11:54 b8b176561691: Pull complete 09:11:58 4527c011a84f: Pull complete 09:11:58 5d74067f8e1e: Pull complete 09:11:58 e0aca202a116: Pull complete 09:11:58 3a43be97a3b4: Pull complete 09:11:59 34cad66bf833: Pull complete 09:12:02 b4e3c513aaa6: Pull complete 09:12:02 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 09:12:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 09:12:02 ---> 9f6097aaca64 09:12:02 Step 3/14 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 09:12:03 ---> Running in 7d0a8818081d 09:12:03 Removing intermediate container 7d0a8818081d 09:12:03 ---> b704a1e913a5 09:12:03 Step 4/14 : ARG ALPINE_PKG_BASE="make git" 09:12:03 ---> Running in 3002c6d43be5 09:12:03 Removing intermediate container 3002c6d43be5 09:12:03 ---> e7e1c94bf451 09:12:03 Step 5/14 : ARG ALPINE_PKG_EXTRA="" 09:12:03 ---> Running in bed541f189bf 09:12:04 Removing intermediate container bed541f189bf 09:12:04 ---> 954ae85cfbd1 09:12:04 Step 6/14 : LABEL Name=edgex-ui-go 09:12:04 ---> Running in a25bebc6bae4 09:12:04 Removing intermediate container a25bebc6bae4 09:12:04 ---> d9937699c1f6 09:12:04 Step 7/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 09:12:04 ---> Running in 4680a775d588 09:12:04 Removing intermediate container 4680a775d588 09:12:04 ---> be2503c7178f 09:12:04 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:12:04 ---> Running in 5cca3e05a9a3 09:12:04 Removing intermediate container 5cca3e05a9a3 09:12:04 ---> f7afe8014fa6 09:12:04 Step 9/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:12:04 ---> Running in 335df128541f 09:12:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:12:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:12:06 OK: 220 MiB in 52 packages 09:12:06 Removing intermediate container 335df128541f 09:12:06 ---> 0b2097828819 09:12:06 Step 10/14 : ENV GO111MODULE=on 09:12:06 ---> Running in 04886789014e 09:12:06 Removing intermediate container 04886789014e 09:12:06 ---> e0f9bc5e7850 09:12:06 Step 11/14 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 09:12:06 ---> Running in 56e01ed27646 09:12:06 Removing intermediate container 56e01ed27646 09:12:06 ---> dc064ed36255 09:12:06 Step 12/14 : COPY . . 09:12:07 ---> 64c68c9494cc 09:12:07 Step 13/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:12:07 ---> Running in 8724a9df36c9 09:12:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2268 in /w/workspace/edgexfoundry_edgex-ui-go_PR-461 [Pipeline] { [Pipeline] ws 09:12:07 Running in /w/workspace/edgex-ui-go/2 [Pipeline] { [Pipeline] checkout 09:12:08 The recommended git tool is: git 09:12:14 using credential edgex-jenkins-ssh 09:12:14 Cloning the remote Git repository 09:12:14 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 09:12:14 > git init /w/workspace/edgex-ui-go/2 # timeout=10 09:12:15 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 09:12:15 > git --version # timeout=10 09:12:15 > git --version # 'git version 2.17.1' 09:12:15 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:12:16 Removing intermediate container 8724a9df36c9 09:12:16 ---> 209b42c30dd7 09:12:16 Step 14/14 : RUN ${MAKE} 09:12:16 ---> Running in 2d4ffaa91a47 09:12:16 noop 09:12:16 Removing intermediate container 2d4ffaa91a47 09:12:16 ---> eee0cf60665f 09:12:16 Successfully built eee0cf60665f 09:12:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:12:16 + docker inspect -f . ci-base-image-x86_64 09:12:16 . [Pipeline] withDockerContainer 09:12:17 prd-centos7-docker-4c-2g-2269 does not seem to be running inside a container 09:12:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@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 09:12:17 $ docker top a5944b5e2dc0584247c20454234d7531fdd5d5dfb4c10aeef9e42e763706b93b -eo pid,comm [Pipeline] { [Pipeline] sh 09:12:17 + go version 09:12:17 go version go1.16.8 linux/amd64 [Pipeline] } 09:12:17 $ docker stop --time=1 a5944b5e2dc0584247c20454234d7531fdd5d5dfb4c10aeef9e42e763706b93b 09:12:18 Merging remotes/origin/main commit 7f732f65f6f0ad045ed56d5bdbc73b2ddd0883a2 into PR head commit 19f5669d3786e7d2cad440c35d99bcce041c2fef 09:12:19 $ docker rm -f a5944b5e2dc0584247c20454234d7531fdd5d5dfb4c10aeef9e42e763706b93b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:12:19 Merge succeeded, producing 19f5669d3786e7d2cad440c35d99bcce041c2fef 09:12:19 Checking out Revision 19f5669d3786e7d2cad440c35d99bcce041c2fef (PR-461) 09:12:18 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 09:12:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:12:18 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 09:12:18 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 09:12:18 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/461/head:refs/remotes/origin/PR-461 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:12:18 > git config core.sparsecheckout # timeout=10 09:12:18 > git checkout -f 19f5669d3786e7d2cad440c35d99bcce041c2fef # timeout=10 09:12:19 > git remote # timeout=10 09:12:19 > git config --get remote.origin.url # timeout=10 09:12:19 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:19 > git merge 7f732f65f6f0ad045ed56d5bdbc73b2ddd0883a2 # timeout=10 09:12:19 > git rev-parse HEAD^{commit} # timeout=10 09:12:19 > git config core.sparsecheckout # timeout=10 09:12:19 > git checkout -f 19f5669d3786e7d2cad440c35d99bcce041c2fef # timeout=10 09:12:19 + docker inspect -f . ci-base-image-x86_64 09:12:19 . [Pipeline] withDockerContainer 09:12:19 prd-centos7-docker-4c-2g-2269 does not seem to be running inside a container 09:12:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@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 09:12:19 $ docker top 97a32e9d76103ad9ed8388e98123bdad4e45aa4e926870ba29b7608be70c0760 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:12:21 + make test 09:12:21 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:12:21 ? github.com/edgexfoundry/edgex-ui-go [no test files] 09:12:24 Commit message: "Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-registry/v2-2.0.1-dev.9" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:12:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:12:25 % Total % Received % Xferd Average Speed Time Time Time Current 09:12:25 Dload Upload Total Spent Left Speed 09:12:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 209k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh 09:12:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:12:26 + sudo tee /etc/docker/daemon.new 09:12:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:12:26 { 09:12:26 "registry-mirrors": [ 09:12:26 "https://nexus3.edgexfoundry.org:10001" 09:12:26 ], 09:12:26 "bip": "10.250.0.254/24", 09:12:26 "hosts": [ 09:12:26 "tcp://0.0.0.0:5555", 09:12:26 "unix:///var/run/docker.sock" 09:12:26 ], 09:12:26 "mtu": 1458, 09:12:26 "selinux-enabled": true, 09:12:26 "seccomp-profile": "/etc/docker/seccomp.json" 09:12:26 } [Pipeline] sh 09:12:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:12:27 + sudo service docker restart 09:12:33 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 09:12:33 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 09:12:33 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 09:12:33 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 09:12:33 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 09:12:33 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 09:12:33 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 09:12:33 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 09:12:33 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 09:12:33 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 09:12:33 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 09:12:33 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 09:12:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:12:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:12:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 09:12:38 $ docker stop --time=1 97a32e9d76103ad9ed8388e98123bdad4e45aa4e926870ba29b7608be70c0760 09:12:39 $ docker rm -f 97a32e9d76103ad9ed8388e98123bdad4e45aa4e926870ba29b7608be70c0760 [Pipeline] // withDockerContainer [Pipeline] sh 09:12:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:12:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:12:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:12:41 + ls -al . 09:12:41 total 88 09:12:41 drwxrwxr-x. 12 jenkins jenkins 4096 Oct 27 09:12 . 09:12:41 drwxrwxr-x. 4 jenkins jenkins 28 Oct 27 09:11 .. 09:12:41 drwxrwxr-x. 3 jenkins jenkins 20 Oct 27 09:11 assets 09:12:41 drwxrwxr-x. 2 jenkins jenkins 66 Oct 27 09:11 bin 09:12:41 drwxrwxr-x. 3 jenkins jenkins 29 Oct 27 09:11 cmd 09:12:41 -rw-rw-r--. 1 jenkins jenkins 3959 Oct 27 09:11 CONTRIBUTING.md 09:12:41 -rw-r--r--. 1 jenkins jenkins 10 Oct 27 09:12 coverage.out 09:12:41 -rw-rw-r--. 1 jenkins jenkins 1526 Oct 27 09:11 Dockerfile 09:12:41 drwxrwxr-x. 2 jenkins jenkins 23 Oct 27 09:11 docs 09:12:41 drwxrwxr-x. 8 jenkins jenkins 179 Oct 27 09:11 .git 09:12:41 drwxrwxr-x. 2 jenkins jenkins 103 Oct 27 09:11 .github 09:12:41 -rw-rw-r--. 1 jenkins jenkins 155 Oct 27 09:11 .gitignore 09:12:41 -rw-rw-r--. 1 jenkins jenkins 880 Oct 27 09:11 go.mod 09:12:41 -rw-rw-r--. 1 jenkins jenkins 24176 Oct 27 09:11 go.sum 09:12:41 drwxrwxr-x. 9 jenkins jenkins 125 Oct 27 09:11 internal 09:12:41 -rw-rw-r--. 1 jenkins jenkins 652 Oct 27 09:11 Jenkinsfile 09:12:41 -rw-rw-r--. 1 jenkins jenkins 11357 Oct 27 09:11 LICENSE 09:12:41 -rw-rw-r--. 1 jenkins jenkins 1212 Oct 27 09:11 Makefile 09:12:41 drwxrwxr-x. 3 jenkins jenkins 19 Oct 27 09:11 pkg 09:12:41 -rw-rw-r--. 1 jenkins jenkins 5509 Oct 27 09:11 README.md 09:12:41 drwxrwxr-x. 4 jenkins jenkins 54 Oct 27 09:11 snap 09:12:41 -rw-rw-r--. 1 jenkins jenkins 5 Oct 27 09:09 VERSION 09:12:41 -rw-rw-r--. 1 jenkins jenkins 155 Oct 27 09:11 version.go 09:12:41 drwxrwxr-x. 4 jenkins jenkins 4096 Oct 27 09:11 web [Pipeline] isUnix [Pipeline] sh 09:12:41 + 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=19f5669d3786e7d2cad440c35d99bcce041c2fef --label arch=amd64 --label version=0.0.0 . 09:12:41 Sending build context to Docker daemon 24.97MB 09:12:41 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 09:12:41 Step 2/22 : FROM ${BASE} AS builder 09:12:41 ---> eee0cf60665f 09:12:41 Step 3/22 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 09:12:41 ---> Running in 8ffcfc06cf7d 09:12:41 Removing intermediate container 8ffcfc06cf7d 09:12:41 ---> 2b4bec766079 09:12:41 Step 4/22 : ARG ALPINE_PKG_BASE="make git" 09:12:41 ---> Running in 01e1cf1b3f8b 09:12:41 Removing intermediate container 01e1cf1b3f8b 09:12:41 ---> 36577ae31a43 09:12:41 Step 5/22 : ARG ALPINE_PKG_EXTRA="" 09:12:41 ---> Running in 877bbea40a66 09:12:41 Removing intermediate container 877bbea40a66 09:12:41 ---> 2191497dcfa2 09:12:41 Step 6/22 : LABEL Name=edgex-ui-go 09:12:42 ---> Running in ad4ab37868d0 09:12:42 Removing intermediate container ad4ab37868d0 09:12:42 ---> a326b88798e1 09:12:42 Step 7/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 09:12:42 ---> Running in 26e9c850ffd1 09:12:42 Removing intermediate container 26e9c850ffd1 09:12:42 ---> fb3a72b7af43 09:12:42 Step 8/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:12:42 ---> Running in 77e11172e240 09:12:43 Removing intermediate container 77e11172e240 09:12:43 ---> bc92826146eb 09:12:43 Step 9/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:12:43 ---> Running in 469ca9d0b65d 09:12:43 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:12:44 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:12:44 OK: 220 MiB in 52 packages 09:12:44 Removing intermediate container 469ca9d0b65d 09:12:44 ---> 4b0f6355fd81 09:12:44 Step 10/22 : ENV GO111MODULE=on 09:12:44 ---> Running in 8be1b0c4f9ce 09:12:44 Removing intermediate container 8be1b0c4f9ce 09:12:44 ---> 6a79e47dc531 09:12:44 Step 11/22 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 09:12:44 ---> Running in d70cbb07dfa0 09:12:44 Removing intermediate container d70cbb07dfa0 09:12:44 ---> c1fb4bad0c6d 09:12:44 Step 12/22 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:12:45 provisioning config files... 09:12:45 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/2@tmp/config8694960660203189414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:12:45 ---> 83ad956fcc5f 09:12:45 Step 13/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:12:45 ---> Running in 8870c494895a 09:12:45 ---> docker-login.sh 09:12:45 nexus3.edgexfoundry.org:10001 09:12:45 Removing intermediate container 8870c494895a 09:12:45 ---> fbd94ef0c42d 09:12:45 Step 14/22 : RUN ${MAKE} 09:12:45 ---> Running in 28db15019c6f 09:12:46 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 09:12:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:46 Configure a credential helper to remove this warning. See 09:12:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:46 09:12:46 Login Succeeded 09:12:46 nexus3.edgexfoundry.org:10002 09:12:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:47 Configure a credential helper to remove this warning. See 09:12:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:47 09:12:47 Login Succeeded 09:12:47 nexus3.edgexfoundry.org:10003 09:12:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:47 Configure a credential helper to remove this warning. See 09:12:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:47 09:12:47 Login Succeeded 09:12:47 nexus3.edgexfoundry.org:10004 09:12:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:48 Configure a credential helper to remove this warning. See 09:12:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:48 09:12:48 Login Succeeded 09:12:48 docker.io 09:12:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:48 Configure a credential helper to remove this warning. See 09:12:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:48 09:12:48 Login Succeeded 09:12:48 ---> docker-login.sh ends [Pipeline] } 09:12:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:12:49 ========================================================= 09:12:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 09:12:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:12:49 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 09:12:50 Sending build context to Docker daemon 24.97MB 09:12:50 Step 1/14 : ARG BASE=golang:1.16-alpine3.14 09:12:50 Step 2/14 : FROM ${BASE} AS builder 09:12:50 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:12:50 552d1f2373af: Pulling fs layer 09:12:50 ea3f2d53f512: Pulling fs layer 09:12:50 9e70ebbbe112: Pulling fs layer 09:12:50 7a9cfe048b4a: Pulling fs layer 09:12:50 72dc09318566: Pulling fs layer 09:12:50 f4f7b4309257: Pulling fs layer 09:12:50 0ac9a79272e3: Pulling fs layer 09:12:50 b78e95d17946: Pulling fs layer 09:12:50 f4f7b4309257: Waiting 09:12:50 7a9cfe048b4a: Waiting 09:12:50 72dc09318566: Waiting 09:12:50 0ac9a79272e3: Waiting 09:12:50 9e70ebbbe112: Verifying Checksum 09:12:50 9e70ebbbe112: Download complete 09:12:50 ea3f2d53f512: Download complete 09:12:50 72dc09318566: Download complete 09:12:50 f4f7b4309257: Verifying Checksum 09:12:50 f4f7b4309257: Download complete 09:12:51 552d1f2373af: Verifying Checksum 09:12:51 552d1f2373af: Download complete 09:12:51 0ac9a79272e3: Verifying Checksum 09:12:51 0ac9a79272e3: Download complete 09:12:51 552d1f2373af: Pull complete 09:12:52 ea3f2d53f512: Pull complete 09:12:52 9e70ebbbe112: Pull complete 09:12:52 b78e95d17946: Verifying Checksum 09:12:52 b78e95d17946: Download complete 09:12:53 7a9cfe048b4a: Verifying Checksum 09:12:53 7a9cfe048b4a: Download complete 09:12:54 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:12:55 Removing intermediate container 28db15019c6f 09:12:55 ---> a1a8cb374742 09:12:55 Step 15/22 : FROM alpine:3.14 09:12:56 3.14: Pulling from library/alpine 09:12:56 a0d0a0d46f8b: Already exists 09:12:56 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 09:12:56 Status: Downloaded newer image for alpine:3.14 09:12:56 ---> 14119a10abf4 09:12:56 Step 16/22 : EXPOSE 4000 09:12:56 ---> Running in 892b10e723f8 09:12:56 Removing intermediate container 892b10e723f8 09:12:56 ---> 3441687fa0c0 09:12:56 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 09:12:57 ---> 63b299c326bd 09:12:57 Step 18/22 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 09:12:57 ---> Running in 6bdbb121085d 09:12:57 Removing intermediate container 6bdbb121085d 09:12:57 ---> 6b58f5901858 09:12:57 Step 19/22 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 09:12:57 ---> Running in f41f1507d737 09:12:57 Removing intermediate container f41f1507d737 09:12:57 ---> 646b1606185d 09:12:57 Step 20/22 : LABEL arch=amd64 09:12:57 ---> Running in 1d578ca8c1d4 09:12:57 Removing intermediate container 1d578ca8c1d4 09:12:57 ---> 86f503fe2405 09:12:57 Step 21/22 : LABEL git_sha=19f5669d3786e7d2cad440c35d99bcce041c2fef 09:12:57 ---> Running in 162a85a9bd9e 09:12:57 Removing intermediate container 162a85a9bd9e 09:12:57 ---> b4025cf4aa04 09:12:57 Step 22/22 : LABEL version=0.0.0 09:12:57 ---> Running in bdfe8199a7e1 09:12:57 Removing intermediate container bdfe8199a7e1 09:12:57 ---> 5295d6ad6162 09:12:57 [Warning] One or more build-args [ARCH] were not consumed 09:12:57 Successfully built 5295d6ad6162 09:12:57 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 09:12:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:12:58 09:12:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:12:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:12:58 latest: Pulling from edgex-lftools-log-publisher 09:12:58 b4d181a07f80: Pulling fs layer 09:12:58 a1111a8f2ec3: Pulling fs layer 09:12:58 ed53099fbce6: Pulling fs layer 09:12:58 dc539afda2c1: Pulling fs layer 09:12:58 77bc0d833cb6: Pulling fs layer 09:12:58 9065ff56babe: Pulling fs layer 09:12:58 d287ab97295c: Pulling fs layer 09:12:58 77bc0d833cb6: Waiting 09:12:58 9065ff56babe: Waiting 09:12:58 d287ab97295c: Waiting 09:12:58 dc539afda2c1: Waiting 09:12:58 a1111a8f2ec3: Verifying Checksum 09:12:58 a1111a8f2ec3: Download complete 09:12:58 dc539afda2c1: Verifying Checksum 09:12:58 dc539afda2c1: Download complete 09:12:58 ed53099fbce6: Verifying Checksum 09:12:58 ed53099fbce6: Download complete 09:12:58 9065ff56babe: Verifying Checksum 09:12:58 9065ff56babe: Download complete 09:12:58 77bc0d833cb6: Verifying Checksum 09:12:58 77bc0d833cb6: Download complete 09:12:58 b4d181a07f80: Verifying Checksum 09:12:58 b4d181a07f80: Download complete 09:12:59 d287ab97295c: Verifying Checksum 09:12:59 d287ab97295c: Download complete 09:13:00 b4d181a07f80: Pull complete 09:13:00 a1111a8f2ec3: Pull complete 09:13:00 ed53099fbce6: Pull complete 09:13:00 dc539afda2c1: Pull complete 09:13:01 77bc0d833cb6: Pull complete 09:13:01 9065ff56babe: Pull complete 09:13:05 7a9cfe048b4a: Pull complete 09:13:05 72dc09318566: Pull complete 09:13:05 f4f7b4309257: Pull complete 09:13:05 0ac9a79272e3: Pull complete 09:13:06 d287ab97295c: Pull complete 09:13:06 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 09:13:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:13:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:13:06 prd-centos7-docker-4c-2g-2269 does not seem to be running inside a container 09:13:06 $ 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/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@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 09:13:09 $ docker top 0c61849599550625a289438c8a77fcd8f70b8f74c0cb681016d2a60790779dc0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:09 ---> job-cost.sh 09:13:09 lf-activate-venv: SKIPPING 09:13:09 INFO: No Stack... 09:13:10 INFO: Retrieving Pricing Info for: v3-standard-2 09:13:10 INFO: Archiving Costs [Pipeline] sh 09:13:10 b78e95d17946: Pull complete 09:13:10 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 09:13:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 09:13:10 ---> 8b459fc5aaf0 09:13:10 Step 3/14 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 09:13:10 + cat /w/workspace/edgex-ui-go/2/archives/cost.csv 09:13:10 + cut -d, -f6 [Pipeline] lock 09:13:10 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-461-2-stack-cost] 09:13:10 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-461-2-stack-cost] did not exist. Created. 09:13:10 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-461-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:13:10 + echo total: 0.05999999865889549 [Pipeline] stash 09:13:11 Stashed 1 file(s) [Pipeline] } 09:13:11 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-461-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:13:11 $ docker stop --time=1 0c61849599550625a289438c8a77fcd8f70b8f74c0cb681016d2a60790779dc0 09:13:12 $ docker rm -f 0c61849599550625a289438c8a77fcd8f70b8f74c0cb681016d2a60790779dc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 09:13:12 ---> Running in ac1a89647464 [Pipeline] // stage [Pipeline] } 09:13:12 Removing intermediate container ac1a89647464 09:13:12 ---> 110356033cdd 09:13:12 Step 4/14 : ARG ALPINE_PKG_BASE="make git" 09:13:12 ---> Running in 394d9bf2e257 09:13:13 Removing intermediate container 394d9bf2e257 09:13:13 ---> 05d941685353 09:13:13 Step 5/14 : ARG ALPINE_PKG_EXTRA="" 09:13:13 ---> Running in e3bc0fc12da4 09:13:13 Removing intermediate container e3bc0fc12da4 09:13:13 ---> 46b57e710f34 09:13:13 Step 6/14 : LABEL Name=edgex-ui-go 09:13:14 ---> Running in 40cd6b453671 09:13:14 Removing intermediate container 40cd6b453671 09:13:14 ---> a80350904725 09:13:14 Step 7/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 09:13:14 ---> Running in be7f0ef0049b 09:13:14 Removing intermediate container be7f0ef0049b 09:13:14 ---> edc6d8f32a31 09:13:14 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:13:15 ---> Running in 60baeb39bf02 09:13:17 Removing intermediate container 60baeb39bf02 09:13:17 ---> b060d6d15fa0 09:13:17 Step 9/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:13:17 ---> Running in 18689fe5a5b3 09:13:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:13:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:13:20 OK: 219 MiB in 52 packages 09:13:21 Removing intermediate container 18689fe5a5b3 09:13:21 ---> d9224b5a390c 09:13:21 Step 10/14 : ENV GO111MODULE=on 09:13:21 ---> Running in 74aeb4cdc8ae 09:13:22 Removing intermediate container 74aeb4cdc8ae 09:13:22 ---> 32bee0e2af72 09:13:22 Step 11/14 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 09:13:22 ---> Running in 0fb8a12c78b3 09:13:22 Removing intermediate container 0fb8a12c78b3 09:13:22 ---> 14380c6f4a64 09:13:22 Step 12/14 : COPY . . 09:13:25 ---> 3eb29a321141 09:13:25 Step 13/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:25 ---> Running in 491be0b451fb 09:13:52 Removing intermediate container 491be0b451fb 09:13:52 ---> e674e9b84bea 09:13:52 Step 14/14 : RUN ${MAKE} 09:13:52 ---> Running in d48f81238f36 09:13:52 noop 09:13:52 Removing intermediate container d48f81238f36 09:13:52 ---> dbf0b2c0fd41 09:13:52 Successfully built dbf0b2c0fd41 09:13:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:13:52 + docker inspect -f . ci-base-image-arm64 09:13:52 . [Pipeline] withDockerContainer 09:13:52 prd-ubuntu18.04-docker-arm64-4c-16g-2268 does not seem to be running inside a container 09:13:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@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 09:13:54 $ docker top 00e16f404a3279eb5bbe3badd41f99be22386efc2c7897e14eb8a5cf48acf60a -eo pid,comm [Pipeline] { [Pipeline] sh 09:13:56 + go version 09:13:56 go version go1.16.8 linux/arm64 [Pipeline] } 09:13:56 $ docker stop --time=1 00e16f404a3279eb5bbe3badd41f99be22386efc2c7897e14eb8a5cf48acf60a 09:13:58 $ docker rm -f 00e16f404a3279eb5bbe3badd41f99be22386efc2c7897e14eb8a5cf48acf60a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:13:58 + docker inspect -f . ci-base-image-arm64 09:13:58 . [Pipeline] withDockerContainer 09:13:59 prd-ubuntu18.04-docker-arm64-4c-16g-2268 does not seem to be running inside a container 09:13:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@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 09:14:00 $ docker top 5f8912bae144c8c58a6df52f7b2f2551f18be0d4e4c6063b91d9cd85b4550ad6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:14:01 + make test 09:14:01 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 09:14:03 ? github.com/edgexfoundry/edgex-ui-go [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 09:14:50 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 09:14:50 CGO_ENABLED=0 GO111MODULE=on go vet ./... 09:15:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:15:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } 09:15:05 $ docker stop --time=1 5f8912bae144c8c58a6df52f7b2f2551f18be0d4e4c6063b91d9cd85b4550ad6 09:15:07 $ docker rm -f 5f8912bae144c8c58a6df52f7b2f2551f18be0d4e4c6063b91d9cd85b4550ad6 [Pipeline] // withDockerContainer [Pipeline] sh 09:15:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:15:07 Warning: overwriting stash ‘coverage-report’ 09:15:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:15:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:15:09 + ls -al . 09:15:09 total 128 09:15:09 drwxrwxr-x 12 jenkins jenkins 4096 Oct 27 09:14 . 09:15:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 09:12 .. 09:15:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 09:12 .git 09:15:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 09:12 .github 09:15:09 -rw-rw-r-- 1 jenkins jenkins 155 Oct 27 09:12 .gitignore 09:15:09 -rw-rw-r-- 1 jenkins jenkins 3959 Oct 27 09:12 CONTRIBUTING.md 09:15:09 -rw-rw-r-- 1 jenkins jenkins 1526 Oct 27 09:12 Dockerfile 09:15:09 -rw-rw-r-- 1 jenkins jenkins 652 Oct 27 09:12 Jenkinsfile 09:15:09 -rw-rw-r-- 1 jenkins jenkins 11357 Oct 27 09:12 LICENSE 09:15:09 -rw-rw-r-- 1 jenkins jenkins 1212 Oct 27 09:12 Makefile 09:15:09 -rw-rw-r-- 1 jenkins jenkins 5509 Oct 27 09:12 README.md 09:15:09 -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 09:09 VERSION 09:15:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 09:12 assets 09:15:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 09:12 bin 09:15:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 09:12 cmd 09:15:09 -rw-r--r-- 1 jenkins jenkins 10 Oct 27 09:14 coverage.out 09:15:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 09:12 docs 09:15:09 -rw-rw-r-- 1 jenkins jenkins 880 Oct 27 09:12 go.mod 09:15:09 -rw-rw-r-- 1 jenkins jenkins 24176 Oct 27 09:12 go.sum 09:15:09 drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 09:12 internal 09:15:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 09:12 pkg 09:15:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 09:12 snap 09:15:09 -rw-rw-r-- 1 jenkins jenkins 155 Oct 27 09:12 version.go 09:15:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 09:12 web [Pipeline] isUnix [Pipeline] sh 09:15:10 + 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=19f5669d3786e7d2cad440c35d99bcce041c2fef --label arch=arm64 --label version=0.0.0 . 09:15:11 Sending build context to Docker daemon 24.97MB 09:15:11 Step 1/22 : ARG BASE=golang:1.16-alpine3.14 09:15:11 Step 2/22 : FROM ${BASE} AS builder 09:15:11 ---> dbf0b2c0fd41 09:15:11 Step 3/22 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 09:15:11 ---> Running in 99c967264301 09:15:11 Removing intermediate container 99c967264301 09:15:11 ---> 7800d9c7cc58 09:15:11 Step 4/22 : ARG ALPINE_PKG_BASE="make git" 09:15:11 ---> Running in a3da80f959d2 09:15:12 Removing intermediate container a3da80f959d2 09:15:12 ---> 233c4972aa14 09:15:12 Step 5/22 : ARG ALPINE_PKG_EXTRA="" 09:15:12 ---> Running in 6b825070c042 09:15:12 Removing intermediate container 6b825070c042 09:15:12 ---> 5665d4b36a09 09:15:12 Step 6/22 : LABEL Name=edgex-ui-go 09:15:13 ---> Running in 3d0d96c3ac94 09:15:13 Removing intermediate container 3d0d96c3ac94 09:15:13 ---> cb0e7596b310 09:15:13 Step 7/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 09:15:13 ---> Running in 01c23258c59d 09:15:13 Removing intermediate container 01c23258c59d 09:15:13 ---> e960374d9608 09:15:13 Step 8/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:15:13 ---> Running in e436c35e4e88 09:15:15 Removing intermediate container e436c35e4e88 09:15:15 ---> b433d8039371 09:15:15 Step 9/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:15:15 ---> Running in 7c0363e6e560 09:15:16 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:15:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:15:18 OK: 219 MiB in 52 packages 09:15:19 Removing intermediate container 7c0363e6e560 09:15:19 ---> f3ec403ae609 09:15:19 Step 10/22 : ENV GO111MODULE=on 09:15:19 ---> Running in 30faf592c756 09:15:20 Removing intermediate container 30faf592c756 09:15:20 ---> 9be40ebaccd0 09:15:20 Step 11/22 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 09:15:20 ---> Running in 626f03c4f817 09:15:20 Removing intermediate container 626f03c4f817 09:15:20 ---> 9655a6adf351 09:15:20 Step 12/22 : COPY . . 09:15:23 ---> 6a8078670ae9 09:15:23 Step 13/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:15:23 ---> Running in ccb29115a061 09:15:25 Removing intermediate container ccb29115a061 09:15:25 ---> 0289f4d7e6de 09:15:25 Step 14/22 : RUN ${MAKE} 09:15:25 ---> Running in 070dec7b5d4d 09:15:26 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 09:15:54 CGO_ENABLED=0 GO111MODULE=on go build ./... 09:15:56 Removing intermediate container 070dec7b5d4d 09:15:56 ---> 214dd7cd2d82 09:15:56 Step 15/22 : FROM alpine:3.14 09:15:57 3.14: Pulling from library/alpine 09:15:57 552d1f2373af: Already exists 09:15:57 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 09:15:57 Status: Downloaded newer image for alpine:3.14 09:15:57 ---> bb3de5531c18 09:15:57 Step 16/22 : EXPOSE 4000 09:15:57 ---> Running in 9cfa2dcbd8f9 09:15:58 Removing intermediate container 9cfa2dcbd8f9 09:15:58 ---> 7108b28f2557 09:15:58 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 09:15:59 ---> b29ee7a73c98 09:15:59 Step 18/22 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 09:15:59 ---> Running in 1f590076e6ab 09:16:00 Removing intermediate container 1f590076e6ab 09:16:00 ---> c332de57d74a 09:16:00 Step 19/22 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 09:16:00 ---> Running in 5d9a2cf547d8 09:16:00 Removing intermediate container 5d9a2cf547d8 09:16:00 ---> e95d0869db47 09:16:00 Step 20/22 : LABEL arch=arm64 09:16:00 ---> Running in fb228a9be541 09:16:01 Removing intermediate container fb228a9be541 09:16:01 ---> 6863bcbfc162 09:16:01 Step 21/22 : LABEL git_sha=19f5669d3786e7d2cad440c35d99bcce041c2fef 09:16:01 ---> Running in c5dddca8f5a9 09:16:01 Removing intermediate container c5dddca8f5a9 09:16:01 ---> 52158048ce7e 09:16:01 Step 22/22 : LABEL version=0.0.0 09:16:01 ---> Running in e5b363cf797c 09:16:02 Removing intermediate container e5b363cf797c 09:16:02 ---> 6d8b5e8b94d2 09:16:02 [Warning] One or more build-args [ARCH] were not consumed 09:16:02 Successfully built 6d8b5e8b94d2 09:16:02 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 09:16:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:02 09:16:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:16:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:03 arm64: Pulling from edgex-lftools-log-publisher 09:16:03 448f6bf000e3: Pulling fs layer 09:16:03 f757da607395: Pulling fs layer 09:16:03 05883995daec: Pulling fs layer 09:16:03 8603b9c90790: Pulling fs layer 09:16:03 1560dd03e051: Pulling fs layer 09:16:03 27f5ce0e4adf: Pulling fs layer 09:16:03 c2d8d7efcc4b: Pulling fs layer 09:16:03 8603b9c90790: Waiting 09:16:03 c2d8d7efcc4b: Waiting 09:16:03 27f5ce0e4adf: Waiting 09:16:03 1560dd03e051: Waiting 09:16:03 f757da607395: Verifying Checksum 09:16:03 f757da607395: Download complete 09:16:03 8603b9c90790: Download complete 09:16:03 1560dd03e051: Verifying Checksum 09:16:03 1560dd03e051: Download complete 09:16:03 05883995daec: Verifying Checksum 09:16:03 05883995daec: Download complete 09:16:04 448f6bf000e3: Verifying Checksum 09:16:04 448f6bf000e3: Download complete 09:16:06 c2d8d7efcc4b: Verifying Checksum 09:16:06 c2d8d7efcc4b: Download complete 09:16:07 448f6bf000e3: Pull complete 09:16:08 f757da607395: Pull complete 09:16:09 05883995daec: Pull complete 09:16:10 8603b9c90790: Pull complete 09:16:11 1560dd03e051: Pull complete 09:16:11 27f5ce0e4adf: Pull complete 09:16:26 c2d8d7efcc4b: Pull complete 09:16:26 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 09:16:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:16:26 prd-ubuntu18.04-docker-arm64-4c-16g-2268 does not seem to be running inside a container 09:16:26 $ 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/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@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 09:16:29 $ docker top 3c596dc1e217f9cc02e8e7d39d3301949d0b4f933b1c1daff3921bc38971c690 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:30 ---> job-cost.sh 09:16:30 lf-activate-venv: SKIPPING 09:16:30 INFO: No Stack... 09:16:30 INFO: Retrieving Pricing Info for: v3-standard-4 09:16:30 INFO: Archiving Costs [Pipeline] sh 09:16:31 + cat /w/workspace/edgex-ui-go/2/archives/cost.csv 09:16:31 + cut -d, -f6 [Pipeline] lock 09:16:31 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-461-2-stack-cost] 09:16:31 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-461-2-stack-cost] did not exist. Created. 09:16:31 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-461-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:16:32 /w/workspace/edgex-ui-go/2@tmp/durable-57e34634/script.sh: 1: /w/workspace/edgex-ui-go/2@tmp/durable-57e34634/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 09:16:32 + echo total: 0.10999999940395355 [Pipeline] stash 09:16:32 Warning: overwriting stash ‘stack-cost’ 09:16:33 Stashed 1 file(s) [Pipeline] } 09:16:33 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-461-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:16:33 $ docker stop --time=1 3c596dc1e217f9cc02e8e7d39d3301949d0b4f933b1c1daff3921bc38971c690 09:16:34 $ docker rm -f 3c596dc1e217f9cc02e8e7d39d3301949d0b4f933b1c1daff3921bc38971c690 [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 09:16:36 provisioning config files... 09:16:36 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-461@tmp/config6432581666982199206tmp [Pipeline] { [Pipeline] sh 09:16:36 + set +x 09:16:36 + curl -s https://codecov.io/bash 09:16:36 + bash -s -- 09:16:36 09:16:36 _____ _ 09:16:36 / ____| | | 09:16:36 | | ___ __| | ___ ___ _____ __ 09:16:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:16:36 | |___| (_) | (_| | __/ (_| (_) \ V / 09:16:36 \_____\___/ \__,_|\___|\___\___/ \_/ 09:16:36 Bash-1.0.6 09:16:36 09:16:36 09:16:36 ==> git version 2.24.4 found 09:16:36 ==> 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 09:16:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:16:36 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:16:36 ==> Jenkins CI detected. 09:16:36 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-461 09:16:36 project root: . 09:16:36 --> token set from env 09:16:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:16:36 ==> Running gcov in . (disable via -X gcov) 09:16:36 ==> Python coveragepy not found 09:16:36 ==> Searching for coverage reports in: 09:16:36 + . 09:16:36 -> Found 1 reports 09:16:36 ==> Detecting git/mercurial file structure 09:16:36 ==> Reading reports 09:16:36 + ./coverage.out bytes=10 09:16:36 ==> Appending adjustments 09:16:36 https://docs.codecov.io/docs/fixing-reports 09:16:36 + Found adjustments 09:16:36 ==> Gzipping contents 09:16:36 4.0K /tmp/codecov.hJ7wOM.gz 09:16:36 ==> Uploading reports 09:16:36 url: https://codecov.io 09:16:36 query: branch=PR-461&commit=19f5669d3786e7d2cad440c35d99bcce041c2fef&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-461%2F2%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=461&job=&cmd_args= 09:16:36 -> Pinging Codecov 09:16:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-461&commit=19f5669d3786e7d2cad440c35d99bcce041c2fef&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-461%2F2%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=461&job=&cmd_args= 09:16:37 -> Uploading to 09:16:37 https://storage.googleapis.com/codecov/v4/raw/2021-10-27/FB506323287CE973F263BFD2A0EB1F37/19f5669d3786e7d2cad440c35d99bcce041c2fef/126d064c-4213-4e2f-99f5-1b871669dcd0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211027T091637Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ac985420d23518cdcb57415aab9d50c7eda89efa9aaeb5755e646890998b23f 09:16:37 % Total % Received % Xferd Average Speed Time Time Time Current 09:16:37 Dload Upload Total Spent Left Speed 09:16:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3670 0 0 100 3670 0 12942 --:--:-- --:--:-- --:--:-- 12968 09:16:38 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/19f5669d3786e7d2cad440c35d99bcce041c2fef [Pipeline] } 09:16:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:16:39 + '[' -d /w/workspace/edgexfoundry_edgex-ui-go_PR-461/archives ']' [Pipeline] libraryResource [Pipeline] sh 09:16:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:16:40 ---> package-listing.sh 09:16:40 ++ facter osfamily 09:16:40 ++ tr '[:upper:]' '[:lower:]' 09:16:40 + OS_FAMILY=redhat 09:16:40 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-461 09:16:40 + START_PACKAGES=/tmp/packages_start.txt 09:16:40 + END_PACKAGES=/tmp/packages_end.txt 09:16:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:16:40 + PACKAGES=/tmp/packages_start.txt 09:16:40 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-461 ']' 09:16:40 + PACKAGES=/tmp/packages_end.txt 09:16:40 + case "${OS_FAMILY}" in 09:16:40 + rpm -qa 09:16:40 + sort 09:16:40 + '[' -f /tmp/packages_start.txt ']' 09:16:40 + '[' -f /tmp/packages_end.txt ']' 09:16:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:16:40 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-461 ']' 09:16:40 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-461/archives/ 09:16:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-461/archives/ [Pipeline] echo 09:16:40 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-461/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:16:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:16:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:41 09:16:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:16:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:42 latest: Pulling from edgex-lftools-log-publisher 09:16:42 b4d181a07f80: Pulling fs layer 09:16:42 a1111a8f2ec3: Pulling fs layer 09:16:42 ed53099fbce6: Pulling fs layer 09:16:42 dc539afda2c1: Pulling fs layer 09:16:42 77bc0d833cb6: Pulling fs layer 09:16:42 9065ff56babe: Pulling fs layer 09:16:42 d287ab97295c: Pulling fs layer 09:16:42 dc539afda2c1: Waiting 09:16:42 77bc0d833cb6: Waiting 09:16:42 9065ff56babe: Waiting 09:16:42 d287ab97295c: Waiting 09:16:42 a1111a8f2ec3: Verifying Checksum 09:16:42 a1111a8f2ec3: Download complete 09:16:42 dc539afda2c1: Verifying Checksum 09:16:42 dc539afda2c1: Download complete 09:16:42 ed53099fbce6: Verifying Checksum 09:16:42 ed53099fbce6: Download complete 09:16:42 9065ff56babe: Verifying Checksum 09:16:42 9065ff56babe: Download complete 09:16:42 77bc0d833cb6: Verifying Checksum 09:16:42 77bc0d833cb6: Download complete 09:16:42 b4d181a07f80: Verifying Checksum 09:16:42 b4d181a07f80: Download complete 09:16:42 d287ab97295c: Verifying Checksum 09:16:42 d287ab97295c: Download complete 09:16:43 b4d181a07f80: Pull complete 09:16:44 a1111a8f2ec3: Pull complete 09:16:44 ed53099fbce6: Pull complete 09:16:44 dc539afda2c1: Pull complete 09:16:45 77bc0d833cb6: Pull complete 09:16:45 9065ff56babe: Pull complete 09:16:50 d287ab97295c: Pull complete 09:16:50 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 09:16:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:16:50 prd-centos7-docker-4c-2g-2266 does not seem to be running inside a container 09:16:50 $ 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-461/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-461 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-461:/w/workspace/edgexfoundry_edgex-ui-go_PR-461:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-461@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-461@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 09:16:54 $ docker top a3f7cb3aba734b6c64a4369bc711ed2bb0b8bf2ab8dbb4004f9a76e4269bdf00 -eo pid,comm [Pipeline] { [Pipeline] sh 09:16:54 + touch /tmp/pre-build-complete [Pipeline] sh 09:16:54 + mkdir -p /var/log/sysstat [Pipeline] sh 09:16:55 + ls /var/log/sa-host 09:16:55 + sadf -c /var/log/sa-host/sa27 09:16:55 file_magic: OK 09:16:55 HZ: Using current value: 100 09:16:55 file_header: OK 09:16:55 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 09:16:55 Statistics: 09:16:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:16:55 File successfully converted to sysstat format version 12.0.3 09:16:55 + sadf -c /var/log/sa-host/sa30 09:16:55 file_magic: OK 09:16:55 HZ: Using current value: 100 09:16:55 file_header: OK 09:16:55 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 09:16:55 Statistics: 09:16:55 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:16:55 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:16:56 provisioning config files... 09:16:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-461@tmp/config276818709720317476tmp [Pipeline] { [Pipeline] echo 09:16:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:16:56 ---> create-netrc.sh [Pipeline] } 09:16:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:16:56 ---> python-tools-install.sh [Pipeline] echo 09:16:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:16:57 ---> sudo-logs.sh 09:16:57 Archiving 'sudo' log.. 09:16:57 sudo: unable to resolve host prd-centos7-docker-4c-2g-2266.novalocal: Name or service not known 09:16:57 sudo: unable to resolve host prd-centos7-docker-4c-2g-2266.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 09:16:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:16:57 ---> job-cost.sh 09:16:57 lf-activate-venv: SKIPPING 09:16:57 DEBUG: total: 0.10999999940395355 09:16:57 INFO: Retrieving Stack Cost... 09:16:57 INFO: Retrieving Pricing Info for: v3-standard-2 09:16:58 INFO: Archiving Costs [Pipeline] echo 09:16:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:16:58 ---> logs-deploy.sh 09:16:58 lf-activate-venv: SKIPPING 09:16:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-461/2 09:16:58 INFO: archiving workspace using pattern(s): 09:16:59 Archives upload complete. 09:16:59 INFO: archiving logs to Nexus