Pull request #266 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/edgex-ui-go Obtained Jenkinsfile from 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95+14c578bc02e93a6d1b64f7a2283637c58eb75556 (710f21bedd337d355511b745c8f8d22e27de52cd) Running in Durability level: MAX_SURVIVABILITY 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-266/workspace@libs/edgex-global-pipelines # timeout=10 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-266/workspace@libs/lf-pipelines # timeout=10 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-edgex-ui-go 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3787 in /w/workspace/edgexfoundry_edgex-ui-go_PR-266 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-266 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 14c578bc02e93a6d1b64f7a2283637c58eb75556 into PR head commit 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 # timeout=10 Merge succeeded, producing 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 Checking out Revision 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 (PR-266) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 14c578bc02e93a6d1b64f7a2283637c58eb75556 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 # timeout=10 Commit message: "build: add supporting files for conventional commits" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:39:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:39:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:39:38 ========================================================= 22:39:38 EdgeX Global Pipelines Version Info 22:39:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:39:40 ------------------- 22:39:40 stable info: 22:39:40 ------------------- 22:39:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:39:40 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 22:39:40 Message: update stable to v1.0.131 22:39:41 ------------------- 22:39:41 experimental info: 22:39:41 ------------------- 22:39:41 Commited By: **** collab-it+edgex@linuxfoundation.org 22:39:41 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 22:39:41 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 22:39:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 22:39:41 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 22:39:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:39:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:39:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:39:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:39:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:39:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:39:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:39:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:39:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:39:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-edgex-ui-go [Pipeline] echo 22:39:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:39:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:39:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:39:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:39:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:39:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:39:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:39:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:39:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:39:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:39:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:39:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:39:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:39:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-266 [Pipeline] echo 22:39:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-266 [Pipeline] echo 22:39:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-266 [Pipeline] echo 22:39:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 [Pipeline] echo 22:39:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 51c5af1 [Pipeline] echo 22:39:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:39:46 + git log --format=format:%s -1 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 [Pipeline] echo 22:39:46 GIT_COMMIT: 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95, Commit Message: build: add supporting files for conventional commits [Pipeline] echo 22:39:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:39:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:39:47 22:39:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:39:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:39:48 latest: Pulling from edgex-devops/git-semver 22:39:48 31603596830f: Pulling fs layer 22:39:48 2a8b12db71e7: Pulling fs layer 22:39:48 6ca5941a6612: Pulling fs layer 22:39:48 ecc8261a40a4: Pulling fs layer 22:39:48 ecc8261a40a4: Waiting 22:39:48 2a8b12db71e7: Verifying Checksum 22:39:48 2a8b12db71e7: Download complete 22:39:48 31603596830f: Verifying Checksum 22:39:48 31603596830f: Download complete 22:39:48 ecc8261a40a4: Verifying Checksum 22:39:48 ecc8261a40a4: Download complete 22:39:48 6ca5941a6612: Verifying Checksum 22:39:48 6ca5941a6612: Download complete 22:39:48 31603596830f: Pull complete 22:39:48 2a8b12db71e7: Pull complete 22:39:49 6ca5941a6612: Pull complete 22:39:49 ecc8261a40a4: Pull complete 22:39:49 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:39:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:39:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:39:49 prd-centos7-docker-4c-2g-3787 does not seem to be running inside a container 22:39:50 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-266 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-266:/w/workspace/edgexfoundry_edgex-ui-go_PR-266:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-266@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-266@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:39:51 $ docker top 69827407b6481e9da76becfd7be4f3122a0956201064cfccb30fc8bc42078e2e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:39:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:52 [ssh-agent] Looking for ssh-agent implementation... 22:39:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:52 $ docker exec 69827407b6481e9da76becfd7be4f3122a0956201064cfccb30fc8bc42078e2e ssh-agent 22:39:52 SSH_AUTH_SOCK=/tmp/ssh-zFGAAzIb0t4W/agent.13 22:39:52 SSH_AGENT_PID=18 22:39:52 Running ssh-add (command line suppressed) 22:39:52 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-266@tmp/private_key_3757050395682357864.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-266@tmp/private_key_3757050395682357864.key) 22:39:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:53 + git describe --exact-match --tags HEAD 22:39:53 fatal: no tag exactly matches '51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95' [Pipeline] } 22:39:53 $ docker exec --env ******** --env ******** 69827407b6481e9da76becfd7be4f3122a0956201064cfccb30fc8bc42078e2e ssh-agent -k 22:39:53 unset SSH_AUTH_SOCK; 22:39:53 unset SSH_AGENT_PID; 22:39:53 echo Agent pid 18 killed; 22:39:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:39:53 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 22:39:53 This usually means this commit has not been tagged. [Pipeline] sshagent 22:39:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:53 [ssh-agent] Looking for ssh-agent implementation... 22:39:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:54 $ docker exec 69827407b6481e9da76becfd7be4f3122a0956201064cfccb30fc8bc42078e2e ssh-agent 22:39:54 SSH_AUTH_SOCK=/tmp/ssh-qqMf1SivDIGO/agent.46 22:39:54 SSH_AGENT_PID=51 22:39:54 Running ssh-add (command line suppressed) 22:39:54 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-266@tmp/private_key_1982936658456318875.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-266@tmp/private_key_1982936658456318875.key) 22:39:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:54 + git semver init 22:39:54 # -> Open(): unable to determine branch for HEAD 22:39:54 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-266/.git 22:39:54 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-266 22:39:54 # $SEMVER_REMOTE_NAME = origin 22:39:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:39:54 # $SEMVER_USER_NAME = edgex-jenkins 22:39:54 # $SEMVER_BRANCH = PR-266 22:39:54 # $SEMVER_TEMP = /tmp/semver-521895750 22:39:54 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 22:39:55 # '/tmp/semver-521895750' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-266/.semver' 22:39:55 # -> Force: false 22:39:55 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-266/.semver [Pipeline] } 22:39:55 $ docker exec --env ******** --env ******** 69827407b6481e9da76becfd7be4f3122a0956201064cfccb30fc8bc42078e2e ssh-agent -k 22:39:56 unset SSH_AUTH_SOCK; 22:39:56 unset SSH_AGENT_PID; 22:39:56 echo Agent pid 51 killed; 22:39:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:39:56 + git semver [Pipeline] } 22:39:56 $ docker stop --time=1 69827407b6481e9da76becfd7be4f3122a0956201064cfccb30fc8bc42078e2e 22:39:58 $ docker rm -f 69827407b6481e9da76becfd7be4f3122a0956201064cfccb30fc8bc42078e2e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 22:39:59 Stashed 27 file(s) [Pipeline] echo 22:39:59 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 22:39:59 Archived original 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 22:40:15 Still waiting to schedule task 22:40:15 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:40:15 Still waiting to schedule task 22:40:15 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3785’ is offline 22:42:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3788 in /w/workspace/edgexfoundry_edgex-ui-go_PR-266 [Pipeline] { [Pipeline] ws 22:42:08 Running in /w/workspace/edgex-ui-go/1 [Pipeline] { [Pipeline] checkout 22:42:13 using credential edgex-jenkins-ssh 22:42:14 Cloning the remote Git repository 22:42:14 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 22:42:14 > git init /w/workspace/edgex-ui-go/1 # timeout=10 22:42:14 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 22:42:14 > git --version # timeout=10 22:42:14 > git --version # 'git version 2.17.1' 22:42:14 using GIT_SSH to set credentials SSH Credentials for GitHub 22:42:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:42:15 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 22:42:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:42:15 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 22:42:15 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 22:42:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:42:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:42:16 Merging remotes/origin/master commit 14c578bc02e93a6d1b64f7a2283637c58eb75556 into PR head commit 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 22:42:17 Merge succeeded, producing 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 22:42:17 Checking out Revision 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 (PR-266) 22:42:16 > git config core.sparsecheckout # timeout=10 22:42:16 > git checkout -f 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 # timeout=10 22:42:16 > git remote # timeout=10 22:42:16 > git config --get remote.origin.url # timeout=10 22:42:16 using GIT_SSH to set credentials SSH Credentials for GitHub 22:42:16 > git merge 14c578bc02e93a6d1b64f7a2283637c58eb75556 # timeout=10 22:42:16 > git rev-parse HEAD^{commit} # timeout=10 22:42:17 > git config core.sparsecheckout # timeout=10 22:42:17 > git checkout -f 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 # timeout=10 22:42:21 Commit message: "build: add supporting files for conventional commits" 22:42:21 > git --version # timeout=10 22:42:21 > git --version # 'git version 2.17.1' 22:42:21 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:42:24 ========================================================= 22:42:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:42:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:42:25 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 22:42:26 Sending build context to Docker daemon 22.08MB 22:42:26 Step 1/8 : ARG BASE=golang:1.15-alpine 22:42:26 Step 2/8 : FROM ${BASE} 22:42:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:42:26 b538f80385f9: Pulling fs layer 22:42:26 74f711af9a0d: Pulling fs layer 22:42:26 99f96fe45779: Pulling fs layer 22:42:26 8529a6b9a6be: Pulling fs layer 22:42:26 45590311c82a: Pulling fs layer 22:42:26 69ca0ff8b7b3: Pulling fs layer 22:42:26 209524e5b208: Pulling fs layer 22:42:26 8529a6b9a6be: Waiting 22:42:26 209524e5b208: Waiting 22:42:26 45590311c82a: Waiting 22:42:26 69ca0ff8b7b3: Waiting 22:42:26 99f96fe45779: Verifying Checksum 22:42:26 99f96fe45779: Download complete 22:42:26 74f711af9a0d: Verifying Checksum 22:42:26 74f711af9a0d: Download complete 22:42:26 45590311c82a: Verifying Checksum 22:42:26 45590311c82a: Download complete 22:42:26 69ca0ff8b7b3: Verifying Checksum 22:42:26 69ca0ff8b7b3: Download complete 22:42:26 b538f80385f9: Verifying Checksum 22:42:26 b538f80385f9: Download complete 22:42:27 b538f80385f9: Pull complete 22:42:28 74f711af9a0d: Pull complete 22:42:28 99f96fe45779: Pull complete 22:42:29 209524e5b208: Verifying Checksum 22:42:29 209524e5b208: Download complete 22:42:30 8529a6b9a6be: Verifying Checksum 22:42:30 8529a6b9a6be: Download complete 22:42:41 8529a6b9a6be: Pull complete 22:42:41 45590311c82a: Pull complete 22:42:41 69ca0ff8b7b3: Pull complete 22:42:45 209524e5b208: Pull complete 22:42:45 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 22:42:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:42:45 ---> 5bddaf1c2fca 22:42:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:42:48 ---> Running in f986343e1923 22:42:48 Removing intermediate container f986343e1923 22:42:48 ---> 7e84718d7ad6 22:42:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:48 ---> Running in a047feba3849 22:42:51 Removing intermediate container a047feba3849 22:42:51 ---> 685af6d1233a 22:42:51 Step 5/8 : RUN apk add --no-cache make git 22:42:51 ---> Running in 7dbab03973a4 22:42:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:42:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:42:54 OK: 142 MiB in 39 packages 22:42:55 Removing intermediate container 7dbab03973a4 22:42:55 ---> efc869fb33ea 22:42:55 Step 6/8 : WORKDIR /edgex-ui-go 22:42:55 ---> Running in f722e3568dd6 22:42:56 Removing intermediate container f722e3568dd6 22:42:56 ---> 22c0f6fe3213 22:42:56 Step 7/8 : COPY . . 22:42:58 ---> 6373fd3679d5 22:42:58 Step 8/8 : RUN go mod download 22:42:58 ---> Running in efb636aa9d20 22:43:08 Running on prd-centos7-docker-4c-2g-3789 in /w/workspace/edgexfoundry_edgex-ui-go_PR-266 [Pipeline] { [Pipeline] ws 22:43:08 Running in /w/workspace/edgex-ui-go/1 [Pipeline] { [Pipeline] checkout 22:43:14 using credential edgex-jenkins-ssh 22:43:15 Cloning the remote Git repository 22:43:15 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 22:43:15 > git init /w/workspace/edgex-ui-go/1 # timeout=10 22:43:15 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 22:43:15 > git --version # timeout=10 22:43:15 > git --version # 'git version 2.16.5' 22:43:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:17 Merging remotes/origin/master commit 14c578bc02e93a6d1b64f7a2283637c58eb75556 into PR head commit 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 22:43:17 Merge succeeded, producing 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 22:43:17 Checking out Revision 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 (PR-266) 22:43:16 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 22:43:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:16 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 22:43:16 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 22:43:16 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:43:17 > git config core.sparsecheckout # timeout=10 22:43:17 > git checkout -f 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 # timeout=10 22:43:17 > git remote # timeout=10 22:43:17 > git config --get remote.origin.url # timeout=10 22:43:17 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:17 > git merge 14c578bc02e93a6d1b64f7a2283637c58eb75556 # timeout=10 22:43:17 > git rev-parse HEAD^{commit} # timeout=10 22:43:17 > git config core.sparsecheckout # timeout=10 22:43:17 > git checkout -f 51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 # timeout=10 22:43:22 Commit message: "build: add supporting files for conventional commits" 22:43:22 > git --version # timeout=10 22:43:22 > git --version # 'git version 2.16.5' 22:43:22 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:43:24 ========================================================= 22:43:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:43:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:43:25 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 22:43:26 Sending build context to Docker daemon 22.08MB 22:43:26 Step 1/8 : ARG BASE=golang:1.15-alpine 22:43:26 Step 2/8 : FROM ${BASE} 22:43:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:43:27 df20fa9351a1: Pulling fs layer 22:43:27 ed8968b2872e: Pulling fs layer 22:43:27 a92cc7c5fd73: Pulling fs layer 22:43:27 e871e8e8d7a9: Pulling fs layer 22:43:27 e73272ec9a57: Pulling fs layer 22:43:27 1e910a182e73: Pulling fs layer 22:43:27 4e634b169226: Pulling fs layer 22:43:27 e73272ec9a57: Waiting 22:43:27 1e910a182e73: Waiting 22:43:27 4e634b169226: Waiting 22:43:27 e871e8e8d7a9: Waiting 22:43:27 a92cc7c5fd73: Verifying Checksum 22:43:27 a92cc7c5fd73: Download complete 22:43:27 ed8968b2872e: Download complete 22:43:27 e73272ec9a57: Verifying Checksum 22:43:27 e73272ec9a57: Download complete 22:43:27 1e910a182e73: Download complete 22:43:27 df20fa9351a1: Verifying Checksum 22:43:27 df20fa9351a1: Download complete 22:43:27 df20fa9351a1: Pull complete 22:43:27 ed8968b2872e: Pull complete 22:43:28 a92cc7c5fd73: Pull complete 22:43:30 Removing intermediate container efb636aa9d20 22:43:30 ---> f5caec653983 22:43:30 Successfully built f5caec653983 22:43:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:43:31 + docker inspect -f . ci-base-image-arm64 22:43:31 . [Pipeline] withDockerContainer 22:43:31 prd-ubuntu18.04-docker-arm64-4c-16g-3788 does not seem to be running inside a container 22:43:31 4e634b169226: Verifying Checksum 22:43:31 4e634b169226: Download complete 22:43:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@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 ******** ci-base-image-arm64 cat 22:43:33 $ docker top c842c5016c681446b6a7fb57ea04cbf7893cc4dc9ea8a743641eb350dc063654 -eo pid,comm 22:43:33 e871e8e8d7a9: Verifying Checksum 22:43:33 e871e8e8d7a9: Download complete [Pipeline] { [Pipeline] sh 22:43:35 + go version 22:43:35 go version go1.15.2 linux/arm64 [Pipeline] } 22:43:35 $ docker stop --time=1 c842c5016c681446b6a7fb57ea04cbf7893cc4dc9ea8a743641eb350dc063654 22:43:37 $ docker rm -f c842c5016c681446b6a7fb57ea04cbf7893cc4dc9ea8a743641eb350dc063654 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:43:39 + docker inspect -f . ci-base-image-arm64 22:43:39 . [Pipeline] withDockerContainer 22:43:39 prd-ubuntu18.04-docker-arm64-4c-16g-3788 does not seem to be running inside a container 22:43:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@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 ******** ci-base-image-arm64 cat 22:43:41 $ docker top 31596789eaf6bb2e71f87cecd5e2c8351595cc4e83014798eb85d23e153ebe86 -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:43 + make test 22:43:43 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:43:44 ? github.com/edgexfoundry/edgex-ui-go [no test files] 22:43:44 e871e8e8d7a9: Pull complete 22:43:44 e73272ec9a57: Pull complete 22:43:44 1e910a182e73: Pull complete 22:43:51 4e634b169226: Pull complete 22:43:51 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 22:43:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:43:51 ---> f7629b54cfaa 22:43:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:43:51 ---> Running in 7337faa9b2e5 22:43:51 Removing intermediate container 7337faa9b2e5 22:43:51 ---> 99e4abf21db9 22:43:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:43:51 ---> Running in 84f0f5800f75 22:43:53 Removing intermediate container 84f0f5800f75 22:43:53 ---> c2657e6deecc 22:43:53 Step 5/8 : RUN apk add --no-cache make git 22:43:53 ---> Running in 3eee9cae60a0 22:43:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:43:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:43:55 OK: 166 MiB in 39 packages 22:43:56 Removing intermediate container 3eee9cae60a0 22:43:56 ---> 5f3b83fdb7d0 22:43:56 Step 6/8 : WORKDIR /edgex-ui-go 22:43:56 ---> Running in 2c7cee8ff8c2 22:43:56 Removing intermediate container 2c7cee8ff8c2 22:43:56 ---> 857de2c0f500 22:43:56 Step 7/8 : COPY . . 22:43:59 ---> 28934045235f 22:43:59 Step 8/8 : RUN go mod download 22:43:59 ---> Running in 7168e70f6ac6 22:44:06 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 22:44:06 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 22:44:06 ? github.com/edgexfoundry/edgex-ui-go/internal/component [no test files] 22:44:06 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 22:44:06 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 22:44:06 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 22:44:06 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 22:44:06 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 22:44:06 ? github.com/edgexfoundry/edgex-ui-go/internal/pkg/usage [no test files] 22:44:06 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 22:44:06 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 22:44:06 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 22:44:06 GO111MODULE=on go vet ./... [Pipeline] stash 22:44:12 Stashed 1 file(s) [Pipeline] } 22:44:12 $ docker stop --time=1 31596789eaf6bb2e71f87cecd5e2c8351595cc4e83014798eb85d23e153ebe86 22:44:14 $ docker rm -f 31596789eaf6bb2e71f87cecd5e2c8351595cc4e83014798eb85d23e153ebe86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:44:19 + ls -al . 22:44:19 total 120 22:44:19 drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 22:43 . 22:44:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 22:42 .. 22:44:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 22:42 .git 22:44:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 22:42 .github 22:44:19 -rw-rw-r-- 1 jenkins jenkins 136 Oct 6 22:42 .gitignore 22:44:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 22:42 .semver 22:44:19 -rw-rw-r-- 1 jenkins jenkins 3959 Oct 6 22:42 CONTRIBUTING.md 22:44:19 -rw-rw-r-- 1 jenkins jenkins 913 Oct 6 22:42 Dockerfile 22:44:19 -rw-rw-r-- 1 jenkins jenkins 898 Oct 6 22:42 Dockerfile.build 22:44:19 -rw-rw-r-- 1 jenkins jenkins 652 Oct 6 22:42 Jenkinsfile 22:44:19 -rw-rw-r-- 1 jenkins jenkins 11357 Oct 6 22:42 LICENSE 22:44:19 -rw-rw-r-- 1 jenkins jenkins 951 Oct 6 22:42 Makefile 22:44:19 -rw-rw-r-- 1 jenkins jenkins 3545 Oct 6 22:42 README.md 22:44:19 -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 22:39 VERSION 22:44:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 22:42 assets 22:44:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 22:42 bin 22:44:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 22:42 cmd 22:44:19 -rw-r--r-- 1 jenkins jenkins 10 Oct 6 22:43 coverage.out 22:44:19 drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 22:42 docs 22:44:19 -rw-rw-r-- 1 jenkins jenkins 1019 Oct 6 22:42 go.mod 22:44:19 -rw-r--r-- 1 jenkins jenkins 20718 Oct 6 22:43 go.sum 22:44:19 drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 22:42 internal 22:44:19 -rw-rw-r-- 1 jenkins jenkins 155 Oct 6 22:42 version.go [Pipeline] isUnix [Pipeline] sh 22:44:20 + docker build -t docker-edgex-ui-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 --label arch=arm64 --label version=0.0.0 . 22:44:20 Sending build context to Docker daemon 22.1MB 22:44:20 Step 1/24 : ARG BASE=golang:1.15-alpine 22:44:20 Step 2/24 : FROM ${BASE} AS builder 22:44:20 ---> f5caec653983 22:44:20 Step 3/24 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 22:44:21 ---> Running in 6daf5e378268 22:44:21 Removing intermediate container 6daf5e378268 22:44:21 ---> 86802416574e 22:44:21 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 22:44:22 ---> Running in 3f163d0d242a 22:44:22 Removing intermediate container 3f163d0d242a 22:44:22 ---> 1a0d73861f2a 22:44:22 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:44:22 ---> Running in 2179750186ed 22:44:22 Removing intermediate container 2179750186ed 22:44:22 ---> 60b71c13b21f 22:44:22 Step 6/24 : LABEL Name=edgex-ui-go 22:44:23 ---> Running in 4ff9b2a67aab 22:44:23 Removing intermediate container 4ff9b2a67aab 22:44:23 ---> b69f7d85a34d 22:44:23 Step 7/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 22:44:23 ---> Running in 9e085db781c6 22:44:24 Removing intermediate container 9e085db781c6 22:44:24 ---> ca2093f3e589 22:44:24 Step 8/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:24 ---> Running in 565dc7e46419 22:44:26 Removing intermediate container 7168e70f6ac6 22:44:26 ---> ecc9f703c9ec 22:44:26 Successfully built ecc9f703c9ec 22:44:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:44:26 + docker inspect -f . ci-base-image-x86_64 22:44:26 . [Pipeline] withDockerContainer 22:44:26 Removing intermediate container 565dc7e46419 22:44:26 ---> f76f36825896 22:44:26 Step 9/24 : RUN apk update && apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:44:26 ---> Running in 27f3b273f900 22:44:27 prd-centos7-docker-4c-2g-3789 does not seem to be running inside a container 22:44:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@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 ******** ci-base-image-x86_64 cat 22:44:28 $ docker top dd7d34aba0ea23e46e149423ef6c0df8e12bb6196a0e403b91f2115bb139c375 -eo pid,comm 22:44:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh 22:44:28 + go version 22:44:28 go version go1.15.2 linux/amd64 [Pipeline] } 22:44:29 $ docker stop --time=1 dd7d34aba0ea23e46e149423ef6c0df8e12bb6196a0e403b91f2115bb139c375 22:44:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:44:30 $ docker rm -f dd7d34aba0ea23e46e149423ef6c0df8e12bb6196a0e403b91f2115bb139c375 [Pipeline] // withDockerContainer [Pipeline] } 22:44:30 v3.12.0-365-g49d48cd6ad [http://nl.alpinelinux.org/alpine/v3.12/main] 22:44:30 v3.12.0-368-g087e7176b9 [http://nl.alpinelinux.org/alpine/v3.12/community] 22:44:30 OK: 12623 distinct packages available 22:44:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:44:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:44:31 + docker inspect -f . ci-base-image-x86_64 22:44:31 . [Pipeline] withDockerContainer 22:44:31 prd-centos7-docker-4c-2g-3789 does not seem to be running inside a container 22:44:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@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 ******** ci-base-image-x86_64 cat 22:44:32 OK: 142 MiB in 39 packages 22:44:32 $ docker top d706d57789a5af16e3c30c8cc1031686701d1f394c6c60591e13cc10614487d7 -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:33 Removing intermediate container 27f3b273f900 22:44:33 ---> d23cbb68d270 22:44:33 Step 10/24 : ENV GO111MODULE=on 22:44:33 ---> Running in 47c032787afe 22:44:33 + make test 22:44:33 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:44:33 Removing intermediate container 47c032787afe 22:44:33 ---> 60ab194b7054 22:44:33 Step 11/24 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 22:44:33 ---> Running in ff6fe6907878 22:44:34 Removing intermediate container ff6fe6907878 22:44:34 ---> dc64b9012db2 22:44:34 Step 12/24 : COPY go.mod . 22:44:35 ---> d01eb391edd9 22:44:35 Step 13/24 : COPY Makefile . 22:44:35 ---> be1a114e0c71 22:44:35 Step 14/24 : RUN make update 22:44:35 ? github.com/edgexfoundry/edgex-ui-go [no test files] 22:44:35 ---> Running in 4e48697dfc96 22:44:37 CGO_ENABLED=0 GO111MODULE=on go mod download 22:44:38 Removing intermediate container 4e48697dfc96 22:44:38 ---> 8651e3f53222 22:44:38 Step 15/24 : COPY . . 22:44:40 ---> f9cfea9cf62a 22:44:40 Step 16/24 : RUN ${MAKE} 22:44:40 ---> Running in 0d8c5002ea84 22:44:42 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 22:44:48 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 22:44:48 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 22:44:48 ? github.com/edgexfoundry/edgex-ui-go/internal/component [no test files] 22:44:48 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 22:44:48 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 22:44:48 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 22:44:48 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 22:44:48 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 22:44:48 ? github.com/edgexfoundry/edgex-ui-go/internal/pkg/usage [no test files] 22:44:48 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 22:44:48 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 22:44:48 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 22:44:48 GO111MODULE=on go vet ./... [Pipeline] stash 22:44:52 Warning: overwriting stash ‘coverage-report’ 22:44:52 Stashed 1 file(s) [Pipeline] } 22:44:52 $ docker stop --time=1 d706d57789a5af16e3c30c8cc1031686701d1f394c6c60591e13cc10614487d7 22:44:54 $ docker rm -f d706d57789a5af16e3c30c8cc1031686701d1f394c6c60591e13cc10614487d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:44:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:44:56 + ls -al . 22:44:56 total 84 22:44:56 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 6 22:44 . 22:44:56 drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 22:43 .. 22:44:56 drwxrwxr-x. 3 jenkins jenkins 20 Oct 6 22:43 assets 22:44:56 drwxrwxr-x. 2 jenkins jenkins 35 Oct 6 22:43 bin 22:44:56 drwxrwxr-x. 3 jenkins jenkins 29 Oct 6 22:43 cmd 22:44:56 -rw-rw-r--. 1 jenkins jenkins 3959 Oct 6 22:43 CONTRIBUTING.md 22:44:56 -rw-r--r--. 1 jenkins jenkins 10 Oct 6 22:44 coverage.out 22:44:56 -rw-rw-r--. 1 jenkins jenkins 913 Oct 6 22:43 Dockerfile 22:44:56 -rw-rw-r--. 1 jenkins jenkins 898 Oct 6 22:43 Dockerfile.build 22:44:56 drwxrwxr-x. 5 jenkins jenkins 104 Oct 6 22:43 docs 22:44:56 drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 22:43 .git 22:44:56 drwxrwxr-x. 2 jenkins jenkins 81 Oct 6 22:43 .github 22:44:56 -rw-rw-r--. 1 jenkins jenkins 136 Oct 6 22:43 .gitignore 22:44:56 -rw-rw-r--. 1 jenkins jenkins 1019 Oct 6 22:43 go.mod 22:44:56 -rw-r--r--. 1 jenkins jenkins 20718 Oct 6 22:44 go.sum 22:44:56 drwxrwxr-x. 10 jenkins jenkins 139 Oct 6 22:43 internal 22:44:56 -rw-rw-r--. 1 jenkins jenkins 652 Oct 6 22:43 Jenkinsfile 22:44:56 -rw-rw-r--. 1 jenkins jenkins 11357 Oct 6 22:43 LICENSE 22:44:56 -rw-rw-r--. 1 jenkins jenkins 951 Oct 6 22:43 Makefile 22:44:56 -rw-rw-r--. 1 jenkins jenkins 3545 Oct 6 22:43 README.md 22:44:56 drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 22:43 .semver 22:44:56 -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 22:39 VERSION 22:44:56 -rw-rw-r--. 1 jenkins jenkins 155 Oct 6 22:43 version.go [Pipeline] isUnix [Pipeline] sh 22:44:56 + docker build -t docker-edgex-ui-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 --label arch=amd64 --label version=0.0.0 . 22:44:57 Sending build context to Docker daemon 22.1MB 22:44:57 Step 1/24 : ARG BASE=golang:1.15-alpine 22:44:57 Step 2/24 : FROM ${BASE} AS builder 22:44:57 ---> ecc9f703c9ec 22:44:57 Step 3/24 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 22:44:57 ---> Running in f17cd0be7348 22:44:57 Removing intermediate container f17cd0be7348 22:44:57 ---> 53407d236f1f 22:44:57 Step 4/24 : ARG ALPINE_PKG_BASE="make git" 22:44:57 ---> Running in 9ec7a68ae408 22:44:58 Removing intermediate container 9ec7a68ae408 22:44:58 ---> 1acb857a65f9 22:44:58 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 22:44:58 ---> Running in a38d4202a933 22:44:58 Removing intermediate container a38d4202a933 22:44:58 ---> 07483be93048 22:44:58 Step 6/24 : LABEL Name=edgex-ui-go 22:44:58 ---> Running in 04ebf675e914 22:44:58 Removing intermediate container 04ebf675e914 22:44:58 ---> 0e4fdcc5617f 22:44:58 Step 7/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 22:44:58 ---> Running in b91128e667df 22:44:58 Removing intermediate container b91128e667df 22:44:58 ---> ec12b1d25a26 22:44:58 Step 8/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:58 ---> Running in 120fd5b5a926 22:45:00 Removing intermediate container 120fd5b5a926 22:45:00 ---> 40945536efaf 22:45:00 Step 9/24 : RUN apk update && apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:45:00 ---> Running in a201d62c7f7d 22:45:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:45:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:45:02 v3.12.0-365-g49d48cd6ad [http://nl.alpinelinux.org/alpine/v3.12/main] 22:45:02 v3.12.0-368-g087e7176b9 [http://nl.alpinelinux.org/alpine/v3.12/community] 22:45:02 OK: 12752 distinct packages available 22:45:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:45:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:45:03 OK: 166 MiB in 39 packages 22:45:04 Removing intermediate container a201d62c7f7d 22:45:04 ---> cdb08cf67fb6 22:45:04 Step 10/24 : ENV GO111MODULE=on 22:45:04 ---> Running in fd9958a285d1 22:45:04 Removing intermediate container fd9958a285d1 22:45:04 ---> 18cc47ec40bc 22:45:04 Step 11/24 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 22:45:04 CGO_ENABLED=0 GO111MODULE=on go build ./... 22:45:04 ---> Running in 1c1670e1028f 22:45:04 Removing intermediate container 1c1670e1028f 22:45:04 ---> 6e3f4221cd37 22:45:04 Step 12/24 : COPY go.mod . 22:45:05 ---> d159a5cd50a2 22:45:05 Step 13/24 : COPY Makefile . 22:45:05 ---> b0387fc70c3f 22:45:05 Step 14/24 : RUN make update 22:45:05 ---> Running in 22446a85fac0 22:45:06 CGO_ENABLED=0 GO111MODULE=on go mod download 22:45:06 Removing intermediate container 22446a85fac0 22:45:06 ---> 24a36b13c03f 22:45:06 Step 15/24 : COPY . . 22:45:08 ---> fb83ab27b5e3 22:45:08 Step 16/24 : RUN ${MAKE} 22:45:08 ---> Running in f493e92c5f08 22:45:09 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 22:45:09 Removing intermediate container 0d8c5002ea84 22:45:09 ---> f95f97f88737 22:45:09 Step 17/24 : FROM alpine 22:45:09 latest: Pulling from library/alpine 22:45:09 b538f80385f9: Already exists 22:45:10 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 22:45:10 Status: Downloaded newer image for alpine:latest 22:45:10 ---> 62ee0e9f8440 22:45:10 Step 18/24 : EXPOSE 4000 22:45:10 ---> Running in ab1ca871fce3 22:45:10 Removing intermediate container ab1ca871fce3 22:45:10 ---> e2aca7a395f9 22:45:10 Step 19/24 : 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 22:45:12 ---> 4d4d2096db31 22:45:12 Step 20/24 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 22:45:12 ---> Running in 93c5d703d2a8 22:45:13 Removing intermediate container 93c5d703d2a8 22:45:13 ---> 2568b307b51c 22:45:13 Step 21/24 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 22:45:13 ---> Running in bdae05fb6450 22:45:13 Removing intermediate container bdae05fb6450 22:45:13 ---> 1c2e585f9083 22:45:13 Step 22/24 : LABEL arch=arm64 22:45:13 ---> Running in b4fbeb45f561 22:45:13 Removing intermediate container b4fbeb45f561 22:45:13 ---> 084408d0d1a0 22:45:13 Step 23/24 : LABEL git_sha=51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 22:45:14 ---> Running in c830d02b4969 22:45:14 Removing intermediate container c830d02b4969 22:45:14 ---> a7013bbdc72c 22:45:14 Step 24/24 : LABEL version=0.0.0 22:45:14 ---> Running in 4e6d5095481e 22:45:14 Removing intermediate container 4e6d5095481e 22:45:14 ---> 4e50fd68190b 22:45:14 [Warning] One or more build-args [ARCH] were not consumed 22:45:14 Successfully built 4e50fd68190b 22:45:15 Successfully tagged docker-edgex-ui-go-arm64:latest [Pipeline] } [Pipeline] // script [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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:45:25 CGO_ENABLED=0 GO111MODULE=on go build ./... 22:45:26 Removing intermediate container f493e92c5f08 22:45:26 ---> 7f2ea00ea713 22:45:26 Step 17/24 : FROM alpine 22:45:26 latest: Pulling from library/alpine 22:45:26 df20fa9351a1: Already exists 22:45:26 Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 22:45:26 Status: Downloaded newer image for alpine:latest 22:45:26 ---> a24bb4013296 22:45:26 Step 18/24 : EXPOSE 4000 22:45:27 ---> Running in 8c27a9cd780c 22:45:27 Removing intermediate container 8c27a9cd780c 22:45:27 ---> 7a635cbb554f 22:45:27 Step 19/24 : 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 22:45:29 ---> bf07af4e5c6b 22:45:29 Step 20/24 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 22:45:29 ---> Running in fbc028c1b78a 22:45:29 Removing intermediate container fbc028c1b78a 22:45:29 ---> a41d3df55db8 22:45:29 Step 21/24 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 22:45:29 ---> Running in 17efa41d2363 22:45:29 Removing intermediate container 17efa41d2363 22:45:29 ---> 5483b7f73b09 22:45:29 Step 22/24 : LABEL arch=amd64 22:45:29 ---> Running in 3b18cc1806a8 22:45:29 Removing intermediate container 3b18cc1806a8 22:45:29 ---> 59963d247f73 22:45:29 Step 23/24 : LABEL git_sha=51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 22:45:29 ---> Running in bb78a31595ae 22:45:29 Removing intermediate container bb78a31595ae 22:45:29 ---> 2067a3f9d745 22:45:29 Step 24/24 : LABEL version=0.0.0 22:45:29 ---> Running in 7bb5885af881 22:45:29 Removing intermediate container 7bb5885af881 22:45:29 ---> 068535f61b58 22:45:29 [Warning] One or more build-args [ARCH] were not consumed 22:45:30 Successfully built 068535f61b58 22:45:30 Successfully tagged docker-edgex-ui-go: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 [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] wrap 22:45:32 provisioning config files... 22:45:32 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-266@tmp/config4386261810216893591tmp [Pipeline] { [Pipeline] sh 22:45:33 + set +x 22:45:33 + curl -s https://codecov.io/bash 22:45:33 + bash -s -- 22:45:33 22:45:33 _____ _ 22:45:33 / ____| | | 22:45:33 | | ___ __| | ___ ___ _____ __ 22:45:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:45:33 | |___| (_) | (_| | __/ (_| (_) \ V / 22:45:33 \_____\___/ \__,_|\___|\___\___/ \_/ 22:45:33 Bash-20200917-4e8f14b 22:45:33 22:45:33 22:45:33 ==> Jenkins CI detected. 22:45:33 project root: . 22:45:33 --> token set from env 22:45:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:45:33 ==> Running gcov in . (disable via -X gcov) 22:45:33 ==> Python coveragepy not found 22:45:33 ==> Searching for coverage reports in: 22:45:33 + . 22:45:33 -> Found 1 reports 22:45:33 ==> Detecting git/mercurial file structure 22:45:33 ==> Reading reports 22:45:33 + ./coverage.out bytes=10 22:45:33 ==> Appending adjustments 22:45:33 https://docs.codecov.io/docs/fixing-reports 22:45:33 + Found adjustments 22:45:33 ==> Gzipping contents 22:45:33 ==> Uploading reports 22:45:33 url: https://codecov.io 22:45:33 query: branch=PR-266&commit=51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-266%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=266&job=&cmd_args= 22:45:33 -> Pinging Codecov 22:45:33 https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-266&commit=51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-266%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=266&job=&cmd_args= 22:45:34 -> Uploading to 22:45:34 22:45:34 % Total % Received % Xferd Average Speed Time Time Time Current 22:45:34 Dload Upload Total Spent Left Speed 22:45:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 22:45:34 X> Failed to upload 22:45:34 ==> Uploading to Codecov 22:45:34 % Total % Received % Xferd Average Speed Time Time Time Current 22:45:34 Dload Upload Total Spent Left Speed 22:45:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 94 1899 0 0 100 1791 0 1859 --:--:-- --:--:-- --:--:-- 1857 100 1899 100 108 100 1791 112 1859 --:--:-- --:--:-- --:--:-- 1857 22:45:35 View reports at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/51c5af1107935b3639fdaf1e1dbbd1a9c1d17a95 [Pipeline] } 22:45:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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] libraryResource [Pipeline] sh 22:45:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:45:39 ---> package-listing.sh 22:45:39 ++ facter osfamily 22:45:39 ++ tr '[:upper:]' '[:lower:]' 22:45:39 + OS_FAMILY=redhat 22:45:39 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-266 22:45:39 + START_PACKAGES=/tmp/packages_start.txt 22:45:39 + END_PACKAGES=/tmp/packages_end.txt 22:45:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:45:39 + PACKAGES=/tmp/packages_start.txt 22:45:39 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-266 ']' 22:45:39 + PACKAGES=/tmp/packages_end.txt 22:45:39 + case "${OS_FAMILY}" in 22:45:39 + rpm -qa 22:45:39 + sort 22:45:44 + '[' -f /tmp/packages_start.txt ']' 22:45:44 + '[' -f /tmp/packages_end.txt ']' 22:45:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:45:44 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-266 ']' 22:45:44 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-266/archives/ 22:45:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-266/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:45:44 provisioning config files... 22:45:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-266@tmp/config8360184999095351287tmp [Pipeline] { [Pipeline] echo 22:45:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:45:44 ---> create-netrc.sh [Pipeline] } 22:45:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:45:45 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:45:45 ---> python-tools-install.sh 22:45:45 Generating Requirements File 22:47:07 Python 3.6.8 22:47:07 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 22:47:07 appdirs==1.4.3 22:47:07 argcomplete==1.12.1 22:47:07 aspy.yaml==1.3.0 22:47:07 attrs==19.3.0 22:47:07 Babel==2.8.0 22:47:07 beautifulsoup4==4.8.2 22:47:07 boto3==1.11.6 22:47:07 botocore==1.14.6 22:47:07 bs4==0.0.1 22:47:07 cachetools==4.1.1 22:47:07 certifi==2019.11.28 22:47:07 cffi==1.14.3 22:47:07 cfgv==2.0.1 22:47:07 chardet==3.0.4 22:47:07 click==7.1 22:47:07 cliff==3.4.0 22:47:07 cmd2==1.3.11 22:47:07 colorama==0.4.3 22:47:07 cryptography==3.1.1 22:47:07 debtcollector==2.2.0 22:47:07 decorator==4.4.2 22:47:07 defusedxml==0.6.0 22:47:07 Deprecated==1.2.7 22:47:07 distlib==0.3.1 22:47:07 distro==1.2.0 22:47:07 dnspython==1.16.0 22:47:07 docker==4.2.0 22:47:07 docutils==0.15.2 22:47:07 dogpile.cache==1.0.2 22:47:07 email-validator==1.0.5 22:47:07 filelock==3.0.12 22:47:07 future==0.18.2 22:47:07 google-auth==1.22.1 22:47:07 httplib2==0.17.0 22:47:07 identify==1.4.11 22:47:07 idna==2.9 22:47:07 importlib-metadata==1.7.0 22:47:07 importlib-resources==1.5.0 22:47:07 iso8601==0.1.13 22:47:07 Jinja2==2.11.1 22:47:07 jmespath==0.10.0 22:47:07 jsonpatch==1.26 22:47:07 jsonpointer==2.0 22:47:07 jsonschema==3.2.0 22:47:07 keystoneauth1==4.2.1 22:47:07 kubernetes==11.0.0 22:47:07 lftools==0.34.2 22:47:07 lxml==4.5.0 22:47:07 MarkupSafe==0.23 22:47:07 msgpack==1.0.0 22:47:07 multi-key-dict==2.0.3 22:47:07 munch==2.5.0 22:47:07 netaddr==0.8.0 22:47:07 netifaces==0.10.9 22:47:07 niet==1.4.2 22:47:07 nodeenv==1.3.5 22:47:07 oauth2client==4.1.3 22:47:07 oauthlib==3.1.0 22:47:07 openstacksdk==0.50.0 22:47:07 os-client-config==2.1.0 22:47:07 os-service-types==1.7.0 22:47:07 osc-lib==2.2.1 22:47:07 oslo.config==8.3.2 22:47:07 oslo.context==3.1.1 22:47:07 oslo.i18n==5.0.1 22:47:07 oslo.log==4.4.0 22:47:07 oslo.serialization==4.0.1 22:47:07 oslo.utils==4.6.0 22:47:07 packaging==20.4 22:47:07 pbr==5.4.4 22:47:07 pluggy==0.13.1 22:47:07 prettytable==0.7.2 22:47:07 py==1.9.0 22:47:07 pyasn1==0.4.8 22:47:07 pyasn1-modules==0.2.8 22:47:07 pycparser==2.20 22:47:07 pygerrit2==2.0.10 22:47:07 PyGithub==1.46 22:47:07 pyinotify==0.9.6 22:47:07 PyJWT==1.7.1 22:47:07 pyparsing==2.4.7 22:47:07 pyperclip==1.8.0 22:47:07 pyroute2==0.4.13 22:47:07 pyrsistent==0.15.7 22:47:07 PySocks==1.6.8 22:47:07 python-cinderclient==7.2.0 22:47:07 python-dateutil==2.8.1 22:47:07 python-heatclient==2.2.1 22:47:07 python-jenkins==1.7.0 22:47:07 python-keystoneclient==4.1.1 22:47:07 python-magnumclient==3.2.1 22:47:07 python-novaclient==17.2.1 22:47:07 python-openstackclient==5.4.0 22:47:07 python-swiftclient==3.10.1 22:47:07 pytz==2020.1 22:47:07 PyYAML==5.3 22:47:07 requests==2.23.0 22:47:07 requests-oauthlib==1.3.0 22:47:07 requestsexceptions==1.4.0 22:47:07 rfc3986==1.4.0 22:47:07 rpm==4.11.3 22:47:07 rsa==4.0 22:47:07 ruamel.yaml==0.16.10 22:47:07 ruamel.yaml.clib==0.2.0 22:47:07 s3transfer==0.3.3 22:47:07 shade==1.27.2 22:47:07 simplejson==3.17.2 22:47:07 six==1.14.0 22:47:07 soupsieve==2.0 22:47:07 stevedore==3.2.2 22:47:07 tabulate==0.8.6 22:47:07 toml==0.10.0 22:47:07 tox==3.20.0 22:47:07 tqdm==4.43.0 22:47:07 urllib3==1.25.8 22:47:07 virtualenv==20.0.33 22:47:07 wcwidth==0.2.5 22:47:07 websocket-client==0.57.0 22:47:07 wrapt==1.12.1 22:47:07 xdg==3.0.2 22:47:07 xmltodict==0.12.0 22:47:07 yq==2.11.1 22:47:07 zipp==3.3.0 22:47:07 Cache entry deserialization failed, entry ignored 22:47:07 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 22:47:07 Python 2.7.5 22:47:07 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 22:47:07 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 22:47:07 ansible==2.9.7 22:47:07 Babel==0.9.6 22:47:07 backports.ssl-match-hostname==3.5.0.1 22:47:07 beautifulsoup4==4.4.1 22:47:07 bodhi==2.11.0 22:47:07 bodhi-client==2.11.0 22:47:07 CCColUtils==1.4 22:47:07 cffi==1.6.0 22:47:07 chardet==2.2.1 22:47:07 click==6.7 22:47:07 cloud-init==18.5 22:47:07 configobj==4.7.2 22:47:07 cryptography==1.7.2 22:47:07 decorator==3.4.0 22:47:07 distro==1.2.0 22:47:07 enum34==1.0.4 22:47:07 fedpkg==1.38 22:47:07 futures==3.1.1 22:47:07 gitdb==0.6.4 22:47:07 GitPython==1.0.1 22:47:07 html5lib==0.999 22:47:07 httplib2==0.9.2 22:47:07 idna==2.4 22:47:07 iniparse==0.4 22:47:07 ipaddress==1.0.16 22:47:07 IPy==0.75 22:47:07 javapackages==1.0.0 22:47:07 Jinja2==2.7.2 22:47:07 jmespath==0.9.4 22:47:07 jsonpatch==1.2 22:47:07 jsonpointer==1.9 22:47:07 kerberos==1.1 22:47:07 kitchen==1.1.1 22:47:07 langtable==0.0.31 22:47:07 lockfile==0.9.1 22:47:07 lxml==3.2.1 22:47:07 MarkupSafe==0.11 22:47:07 munch==2.0.2 22:47:07 offtrac==0.1.0 22:47:07 openidc-client==0.6.0 22:47:07 packagedb-cli==2.14.1 22:47:07 paramiko==2.1.1 22:47:07 perf==0.1 22:47:07 ply==3.4 22:47:07 policycoreutils-default-encoding==0.1 22:47:07 prettytable==0.7.2 22:47:07 pyasn1==0.1.9 22:47:07 pycparser==2.14 22:47:07 pycurl==7.19.0 22:47:07 pygobject==3.22.0 22:47:07 pygpgme==0.3 22:47:07 pyliblzma==0.5.3 22:47:07 pyOpenSSL==0.13.1 22:47:07 pyparsing==1.5.6 22:47:07 pyserial==2.6 22:47:07 python-augeas==0.5.0 22:47:07 python-bugzilla==2.3.0 22:47:07 python-dateutil==1.5 22:47:07 python-fedora==0.10.0 22:47:07 python-linux-procfs==0.4.9 22:47:07 python-yubico==1.2.3 22:47:07 pyudev==0.15 22:47:07 pyusb==1.0.0b1 22:47:07 pyxattr==0.5.1 22:47:07 PyYAML==3.10 22:47:07 requests==2.6.0 22:47:07 requests-kerberos==0.7.0 22:47:07 rpkg==1.60 22:47:07 schedutils==0.4 22:47:07 seobject==0.1 22:47:07 sepolicy==1.1 22:47:07 six==1.9.0 22:47:07 smmap==0.9.0 22:47:07 urlgrabber==3.10 22:47:07 urllib3==1.10.2 22:47:07 virtualenv==15.1.0 22:47:07 yum-langpacks==0.4.2 22:47:07 yum-metadata-parser==1.1.4 [Pipeline] echo 22:47:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:47:07 ---> sudo-logs.sh 22:47:07 Archiving 'sudo' log.. [Pipeline] echo 22:47:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:47:08 ---> job-cost.sh 22:47:08 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NKdu 22:47:18 Cache entry deserialization failed, entry ignored 22:47:18 Cache entry deserialization failed, entry ignored 22:47:19 Cache entry deserialization failed, entry ignored 22:47:19 Cache entry deserialization failed, entry ignored 22:47:19 Cache entry deserialization failed, entry ignored 22:47:19 Cache entry deserialization failed, entry ignored 22:47:20 Cache entry deserialization failed, entry ignored 22:47:20 Cache entry deserialization failed, entry ignored 22:47:20 Cache entry deserialization failed, entry ignored 22:47:20 Cache entry deserialization failed, entry ignored 22:47:20 Cache entry deserialization failed, entry ignored 22:47:20 Cache entry deserialization failed, entry ignored 22:47:25 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:47:52 lf-activate-venv(): INFO: Adding /tmp/venv-NKdu/bin to PATH 22:47:52 INFO: No Stack... 22:47:52 INFO: Retrieving Pricing Info for: v1-standard-2 22:47:52 INFO: Archiving Costs [Pipeline] echo 22:47:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:47:53 ---> logs-deploy.sh 22:47:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-266/1 22:47:53 INFO: archiving workspace using pattern(s): 22:47:56 Archives upload complete. 22:47:56 INFO: archiving logs to Nexus