Started by upstream project "edgexfoundry/cd-management/release" build number 39 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cbc1fb126fca16d22f986b5cd5c305caa6710614 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d8dcacb1afd64ffd41a88d498332b01d09cee174 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 d8dcacb1afd64ffd41a88d498332b01d09cee174 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d8dcacb1afd64ffd41a88d498332b01d09cee174 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d8dcacb1afd64ffd41a88d498332b01d09cee174 # timeout=10 Commit message: "Merge pull request #299 from bill-mahoney/releaseStream" > 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 > 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 > git rev-parse --is-inside-work-tree # 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 > 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 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:device-rest-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: device-rest-go-settings PROJECT: device-rest-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-device-rest-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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-12563’ Running on prd-centos7-docker-4c-2g-12568 in /w/workspace/gexfoundry_device-rest-go_master [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/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision cbc1fb126fca16d22f986b5cd5c305caa6710614 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 Commit message: "Merge pull request #58 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" > git rev-list --no-walk cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:34:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:34:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:34:58 ========================================================= 19:34:58 EdgeX Global Pipelines Version Info 19:34:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:35:00 ------------------- 19:35:00 stable info: 19:35:00 ------------------- 19:35:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:35:00 Commit SHA: d8dcacb1afd64ffd41a88d498332b01d09cee174 19:35:00 Message: update stable to v1.0.165 19:35:01 ------------------- 19:35:01 experimental info: 19:35:01 ------------------- 19:35:01 Commited By: **** collab-it+edgex@linuxfoundation.org 19:35:01 Commit SHA: d8dcacb1afd64ffd41a88d498332b01d09cee174 19:35:01 Message: update experimental to v1.0.165 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 19:35:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 19:35:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 19:35:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:35:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:35:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:35:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 19:35:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:35:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 19:35:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:35:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:35:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:35:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 19:35:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:35:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:35:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:35:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:35:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:35:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:35:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:35:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:35:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:35:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:35:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:35:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:35:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:35:04 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 19:35:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 19:35:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 19:35:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 19:35:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] echo 19:35:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbc1fb1 [Pipeline] echo 19:35:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:35:05 provisioning config files... 19:35:05 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7087980917500279599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:35:05 ---> docker-login.sh 19:35:05 nexus3.edgexfoundry.org:10001 19:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:35:06 Configure a credential helper to remove this warning. See 19:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:35:06 19:35:06 Login Succeeded 19:35:06 nexus3.edgexfoundry.org:10002 19:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:35:06 Configure a credential helper to remove this warning. See 19:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:35:06 19:35:06 Login Succeeded 19:35:06 nexus3.edgexfoundry.org:10003 19:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:35:06 Configure a credential helper to remove this warning. See 19:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:35:06 19:35:06 Login Succeeded 19:35:06 nexus3.edgexfoundry.org:10004 19:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:35:06 Configure a credential helper to remove this warning. See 19:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:35:06 19:35:06 Login Succeeded 19:35:06 docker.io 19:35:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:35:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:35:07 Configure a credential helper to remove this warning. See 19:35:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:35:07 19:35:07 Login Succeeded 19:35:07 ---> docker-login.sh ends [Pipeline] } 19:35:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:35:08 + git log --format=format:%s -1 cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] echo 19:35:08 GIT_COMMIT: cbc1fb126fca16d22f986b5cd5c305caa6710614, Commit Message: Merge pull request #58 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0 [Pipeline] echo 19:35:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:35:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:35:09 19:35:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:35:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:35:09 latest: Pulling from edgex-devops/git-semver 19:35:09 31603596830f: Pulling fs layer 19:35:09 2a8b12db71e7: Pulling fs layer 19:35:09 6ca5941a6612: Pulling fs layer 19:35:09 ecc8261a40a4: Pulling fs layer 19:35:09 ecc8261a40a4: Waiting 19:35:09 2a8b12db71e7: Verifying Checksum 19:35:09 2a8b12db71e7: Download complete 19:35:09 31603596830f: Verifying Checksum 19:35:09 31603596830f: Download complete 19:35:09 ecc8261a40a4: Verifying Checksum 19:35:09 ecc8261a40a4: Download complete 19:35:09 6ca5941a6612: Verifying Checksum 19:35:09 6ca5941a6612: Download complete 19:35:10 31603596830f: Pull complete 19:35:10 2a8b12db71e7: Pull complete 19:35:11 6ca5941a6612: Pull complete 19:35:11 ecc8261a40a4: Pull complete 19:35:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 19:35:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:35:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:35:11 prd-centos7-docker-4c-2g-12568 does not seem to be running inside a container 19:35:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:35:14 $ docker top 5792161bedf459f64982d34f30c11d13428f23cbf3cc1b88f94bbaa3f85d8769 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:35:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:35:14 [ssh-agent] Looking for ssh-agent implementation... 19:35:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:35:15 $ docker exec 5792161bedf459f64982d34f30c11d13428f23cbf3cc1b88f94bbaa3f85d8769 ssh-agent 19:35:15 SSH_AUTH_SOCK=/tmp/ssh-9TypBBl0OP4o/agent.11 19:35:15 SSH_AGENT_PID=16 19:35:15 Running ssh-add (command line suppressed) 19:35:15 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8863512032211171869.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_8863512032211171869.key) 19:35:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:35:15 + git tag --points-at HEAD [Pipeline] } 19:35:15 $ docker exec --env ******** --env ******** 5792161bedf459f64982d34f30c11d13428f23cbf3cc1b88f94bbaa3f85d8769 ssh-agent -k 19:35:16 unset SSH_AUTH_SOCK; 19:35:16 unset SSH_AGENT_PID; 19:35:16 echo Agent pid 16 killed; 19:35:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 19:35:16 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.1.3-dev.10|v1.2.0' [Pipeline] sshagent 19:35:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:35:16 [ssh-agent] Looking for ssh-agent implementation... 19:35:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:35:16 $ docker exec 5792161bedf459f64982d34f30c11d13428f23cbf3cc1b88f94bbaa3f85d8769 ssh-agent 19:35:16 SSH_AUTH_SOCK=/tmp/ssh-eXAtpS7ZG2W3/agent.46 19:35:16 SSH_AGENT_PID=51 19:35:16 Running ssh-add (command line suppressed) 19:35:17 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2322469547407142306.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_2322469547407142306.key) 19:35:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:35:17 + git semver init 19:35:17 # -> Open(): unable to determine branch for HEAD 19:35:17 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 19:35:17 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 19:35:17 # $SEMVER_REMOTE_NAME = origin 19:35:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:35:17 # $SEMVER_USER_NAME = edgex-jenkins 19:35:17 # $SEMVER_BRANCH = master 19:35:17 # $SEMVER_TEMP = /tmp/semver-205971946 19:35:17 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 19:35:18 # '/tmp/semver-205971946' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 19:35:18 # -> Force: false 19:35:18 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 19:35:18 $ docker exec --env ******** --env ******** 5792161bedf459f64982d34f30c11d13428f23cbf3cc1b88f94bbaa3f85d8769 ssh-agent -k 19:35:19 unset SSH_AUTH_SOCK; 19:35:19 unset SSH_AGENT_PID; 19:35:19 echo Agent pid 51 killed; 19:35:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:35:19 + git semver [Pipeline] } 19:35:19 $ docker stop --time=1 5792161bedf459f64982d34f30c11d13428f23cbf3cc1b88f94bbaa3f85d8769 19:35:21 $ docker rm -f 5792161bedf459f64982d34f30c11d13428f23cbf3cc1b88f94bbaa3f85d8769 [Pipeline] // withDockerContainer [Pipeline] sh 19:35:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:35:22 Stashed 1 file(s) [Pipeline] echo 19:35:22 [edgeXSemver]: initialized semver on version 1.2.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 19:35:37 Still waiting to schedule task 19:35:37 ‘prd-centos7-docker-4c-2g-12573’ is offline; ‘prd-centos7-docker-4c-2g-12574’ is offline 19:35:37 Still waiting to schedule task 19:35:37 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 19:36:30 Running on prd-centos7-docker-4c-2g-12578 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 19:36:30 Running in /w/workspace/device-rest-go/27 [Pipeline] { [Pipeline] checkout 19:36:34 using credential edgex-jenkins-ssh 19:36:34 Cloning the remote Git repository 19:36:35 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:36:35 > git init /w/workspace/device-rest-go/27 # timeout=10 19:36:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:36:35 > git --version # timeout=10 19:36:35 > git --version # 'git version 2.16.5' 19:36:35 using GIT_SSH to set credentials SSH Credentials for GitHub 19:36:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:36:37 Checking out Revision cbc1fb126fca16d22f986b5cd5c305caa6710614 (master) 19:36:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:36:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:36:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:36:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:36:37 using GIT_SSH to set credentials SSH Credentials for GitHub 19:36:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 19:36:37 > git config core.sparsecheckout # timeout=10 19:36:37 > git checkout -f cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 19:36:41 Commit message: "Merge pull request #58 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:36:42 provisioning config files... 19:36:42 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/27@tmp/config2410538321894769368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:36:43 ---> docker-login.sh 19:36:43 nexus3.edgexfoundry.org:10001 19:36:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:43 Configure a credential helper to remove this warning. See 19:36:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:43 19:36:43 Login Succeeded 19:36:43 nexus3.edgexfoundry.org:10002 19:36:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:44 Configure a credential helper to remove this warning. See 19:36:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:44 19:36:44 Login Succeeded 19:36:44 nexus3.edgexfoundry.org:10003 19:36:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:44 Configure a credential helper to remove this warning. See 19:36:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:44 19:36:44 Login Succeeded 19:36:44 nexus3.edgexfoundry.org:10004 19:36:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:44 Configure a credential helper to remove this warning. See 19:36:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:44 19:36:44 Login Succeeded 19:36:44 docker.io 19:36:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:36:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:36:44 Configure a credential helper to remove this warning. See 19:36:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:36:44 19:36:44 Login Succeeded 19:36:45 ---> docker-login.sh ends [Pipeline] } 19:36:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:36:45 ========================================================= 19:36:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 19:36:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:36:46 + 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 . 19:36:46 Sending build context to Docker daemon 79.87kB 19:36:46 Step 1/10 : ARG BASE=golang:1.15-alpine 19:36:46 Step 2/10 : FROM ${BASE} 19:36:46 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 19:36:46 df20fa9351a1: Pulling fs layer 19:36:46 ed8968b2872e: Pulling fs layer 19:36:46 a92cc7c5fd73: Pulling fs layer 19:36:46 e871e8e8d7a9: Pulling fs layer 19:36:46 e73272ec9a57: Pulling fs layer 19:36:46 1e910a182e73: Pulling fs layer 19:36:46 4e634b169226: Pulling fs layer 19:36:46 e871e8e8d7a9: Waiting 19:36:46 e73272ec9a57: Waiting 19:36:46 1e910a182e73: Waiting 19:36:46 4e634b169226: Waiting 19:36:46 a92cc7c5fd73: Verifying Checksum 19:36:46 a92cc7c5fd73: Download complete 19:36:46 ed8968b2872e: Verifying Checksum 19:36:46 ed8968b2872e: Download complete 19:36:46 e73272ec9a57: Verifying Checksum 19:36:46 e73272ec9a57: Download complete 19:36:46 df20fa9351a1: Verifying Checksum 19:36:46 1e910a182e73: Download complete 19:36:46 df20fa9351a1: Pull complete 19:36:47 ed8968b2872e: Pull complete 19:36:47 a92cc7c5fd73: Pull complete 19:36:48 4e634b169226: Verifying Checksum 19:36:48 4e634b169226: Download complete 19:36:49 e871e8e8d7a9: Verifying Checksum 19:36:49 e871e8e8d7a9: Download complete 19:36:56 e871e8e8d7a9: Pull complete 19:36:56 e73272ec9a57: Pull complete 19:36:56 1e910a182e73: Pull complete 19:37:02 4e634b169226: Pull complete 19:37:02 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 19:37:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 19:37:02 ---> f7629b54cfaa 19:37:02 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 19:37:02 ---> Running in 9341d666da48 19:37:02 Removing intermediate container 9341d666da48 19:37:02 ---> f812322f285d 19:37:02 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 19:37:02 ---> Running in 0d32521c7e9f 19:37:03 Removing intermediate container 0d32521c7e9f 19:37:03 ---> 512b0750260a 19:37:03 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:37:03 ---> Running in b8ca3f054293 19:37:03 Removing intermediate container b8ca3f054293 19:37:03 ---> f6706c9f3820 19:37:03 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:37:03 ---> Running in 4b793c1a39a4 19:37:05 Removing intermediate container 4b793c1a39a4 19:37:05 ---> c68975e4eab6 19:37:05 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:37:05 ---> Running in a1b7a97299f6 19:37:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:37:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:37:07 OK: 166 MiB in 39 packages 19:37:08 Removing intermediate container a1b7a97299f6 19:37:08 ---> 1d48104ecfdf 19:37:08 Step 8/10 : WORKDIR /device-rest-go 19:37:08 ---> Running in fbf9ae53efc8 19:37:08 Removing intermediate container fbf9ae53efc8 19:37:08 ---> 5d4141f0774f 19:37:08 Step 9/10 : COPY . . 19:37:08 ---> a995eed01948 19:37:08 Step 10/10 : RUN go mod download 19:37:08 ---> Running in 203d2cab6dbe 19:37:31 Removing intermediate container 203d2cab6dbe 19:37:31 ---> a70100308e6e 19:37:31 Successfully built a70100308e6e 19:37:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:37:31 + docker inspect -f . ci-base-image-x86_64 19:37:31 . [Pipeline] withDockerContainer 19:37:31 prd-centos7-docker-4c-2g-12578 does not seem to be running inside a container 19:37:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/27 -v /w/workspace/device-rest-go/27:/w/workspace/device-rest-go/27:rw,z -v /w/workspace/device-rest-go/27@tmp:/w/workspace/device-rest-go/27@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 ******** ci-base-image-x86_64 cat 19:37:32 $ docker top cb0843efb0d477f87a25fb02bb7344bb12f22eb19ced6b96a669403e56eb345a -eo pid,comm [Pipeline] { [Pipeline] sh 19:37:33 + go version 19:37:33 go version go1.15.2 linux/amd64 [Pipeline] } 19:37:33 $ docker stop --time=1 cb0843efb0d477f87a25fb02bb7344bb12f22eb19ced6b96a669403e56eb345a 19:37:34 $ docker rm -f cb0843efb0d477f87a25fb02bb7344bb12f22eb19ced6b96a669403e56eb345a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:37:35 + docker inspect -f . ci-base-image-x86_64 19:37:35 . [Pipeline] withDockerContainer 19:37:36 prd-centos7-docker-4c-2g-12578 does not seem to be running inside a container 19:37:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/27 -v /w/workspace/device-rest-go/27:/w/workspace/device-rest-go/27:rw,z -v /w/workspace/device-rest-go/27@tmp:/w/workspace/device-rest-go/27@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 ******** ci-base-image-x86_64 cat 19:37:37 $ docker top c83ee27decaa83ed2b670354b91d9eafd15603cea32363954d08add36fb4773e -eo pid,comm [Pipeline] { [Pipeline] sh 19:37:37 + make test 19:37:37 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:37:38 ? github.com/edgexfoundry/device-rest-go [no test files] 19:37:51 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:37:51 ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 56.3% of statements 19:37:51 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:37:54 gofmt -l . 19:37:54 [ "`gofmt -l .`" = "" ] 19:37:54 ./bin/test-go-mod-tidy.sh 19:37:54 ./bin/test-attribution-txt.sh [Pipeline] } 19:37:55 $ docker stop --time=1 c83ee27decaa83ed2b670354b91d9eafd15603cea32363954d08add36fb4773e 19:37:57 $ docker rm -f c83ee27decaa83ed2b670354b91d9eafd15603cea32363954d08add36fb4773e [Pipeline] // withDockerContainer [Pipeline] sh 19:37:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:37:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:38:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:38:00 + ls -al . 19:38:00 total 96 19:38:00 drwxrwxr-x. 8 jenkins jenkins 4096 Nov 18 19:37 . 19:38:00 drwxrwxr-x. 4 jenkins jenkins 30 Nov 18 19:36 .. 19:38:00 -rw-rw-r--. 1 jenkins jenkins 5294 Nov 18 19:36 Attribution.txt 19:38:00 drwxrwxr-x. 2 jenkins jenkins 64 Nov 18 19:36 bin 19:38:00 drwxrwxr-x. 3 jenkins jenkins 32 Nov 18 19:36 cmd 19:38:00 -rw-r--r--. 1 jenkins jenkins 9369 Nov 18 19:37 coverage.out 19:38:00 -rw-rw-r--. 1 jenkins jenkins 1519 Nov 18 19:36 Dockerfile 19:38:00 -rw-rw-r--. 1 jenkins jenkins 989 Nov 18 19:36 Dockerfile.build 19:38:00 -rw-rw-r--. 1 jenkins jenkins 151 Nov 18 19:36 .dockerignore 19:38:00 drwxrwxr-x. 2 jenkins jenkins 93 Nov 18 19:37 driver 19:38:00 drwxrwxr-x. 8 jenkins jenkins 162 Nov 18 19:36 .git 19:38:00 drwxrwxr-x. 2 jenkins jenkins 60 Nov 18 19:36 .github 19:38:00 -rw-rw-r--. 1 jenkins jenkins 339 Nov 18 19:36 .gitignore 19:38:00 -rw-r--r--. 1 jenkins jenkins 267 Nov 18 19:37 go.mod 19:38:00 -rw-r--r--. 1 jenkins jenkins 13790 Nov 18 19:37 go.sum 19:38:00 -rw-rw-r--. 1 jenkins jenkins 680 Nov 18 19:36 Jenkinsfile 19:38:00 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 18 19:36 LICENSE 19:38:00 -rw-rw-r--. 1 jenkins jenkins 951 Nov 18 19:36 Makefile 19:38:00 -rw-rw-r--. 1 jenkins jenkins 5917 Nov 18 19:36 README.md 19:38:00 drwxrwxr-x. 4 jenkins jenkins 54 Nov 18 19:36 snap 19:38:00 -rw-rw-r--. 1 jenkins jenkins 5 Nov 18 19:35 VERSION 19:38:00 -rw-rw-r--. 1 jenkins jenkins 713 Nov 18 19:36 version.go [Pipeline] isUnix [Pipeline] sh 19:38:01 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=cbc1fb126fca16d22f986b5cd5c305caa6710614 --label arch=amd64 --label version=1.2.0 . 19:38:01 Sending build context to Docker daemon 91.65kB 19:38:01 Step 1/25 : ARG BASE=golang:1.15-alpine 19:38:01 Step 2/25 : FROM ${BASE} AS builder 19:38:01 ---> a70100308e6e 19:38:01 Step 3/25 : ARG MAKE='make build' 19:38:01 ---> Running in 52eee08f8b6e 19:38:01 Removing intermediate container 52eee08f8b6e 19:38:01 ---> cefc109eb048 19:38:01 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 19:38:01 ---> Running in 60d24da8f96d 19:38:01 Removing intermediate container 60d24da8f96d 19:38:01 ---> 6af0081c83e6 19:38:01 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 19:38:02 ---> Running in 15c1a5f1c640 19:38:02 Removing intermediate container 15c1a5f1c640 19:38:02 ---> 04722ab2fc23 19:38:02 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:38:02 ---> Running in c155783d3e0a 19:38:03 Removing intermediate container c155783d3e0a 19:38:03 ---> 82879b0e1fb8 19:38:03 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:38:03 ---> Running in 85e3e96cdda1 19:38:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:38:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:38:05 OK: 166 MiB in 39 packages 19:38:06 Removing intermediate container 85e3e96cdda1 19:38:06 ---> bf5d746016b9 19:38:06 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 19:38:06 ---> Running in 96b67bdc9ebe 19:38:06 Removing intermediate container 96b67bdc9ebe 19:38:06 ---> 944373e2f36a 19:38:06 Step 9/25 : COPY go.mod . 19:38:06 ---> 8ea0259b9138 19:38:06 Step 10/25 : COPY Makefile . 19:38:07 ---> 1fb4c59786a9 19:38:07 Step 11/25 : RUN make update 19:38:07 ---> Running in f0a914699a01 19:38:07 CGO_ENABLED=0 GO111MODULE=on go mod download 19:38:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-12581 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 19:38:08 Running in /w/workspace/device-rest-go/27 [Pipeline] { [Pipeline] checkout 19:38:08 Removing intermediate container f0a914699a01 19:38:08 ---> 4859a2d7fc3a 19:38:08 Step 12/25 : COPY . . 19:38:08 ---> 7cbfec412ece 19:38:08 Step 13/25 : RUN $MAKE 19:38:08 ---> Running in 65392cb2ae33 19:38:09 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.0" -o cmd/device-rest-go ./cmd 19:38:14 using credential edgex-jenkins-ssh 19:38:14 Cloning the remote Git repository 19:38:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:38:14 > git init /w/workspace/device-rest-go/27 # timeout=10 19:38:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:38:14 > git --version # timeout=10 19:38:14 > git --version # 'git version 2.17.1' 19:38:14 using GIT_SSH to set credentials SSH Credentials for GitHub 19:38:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:38:16 Checking out Revision cbc1fb126fca16d22f986b5cd5c305caa6710614 (master) 19:38:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:38:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:38:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:38:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:38:16 using GIT_SSH to set credentials SSH Credentials for GitHub 19:38:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 19:38:16 > git config core.sparsecheckout # timeout=10 19:38:16 > git checkout -f cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 19:38:21 Commit message: "Merge pull request #58 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:38:22 provisioning config files... 19:38:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/27@tmp/config4194360969071677488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:38:23 ---> docker-login.sh 19:38:23 nexus3.edgexfoundry.org:10001 19:38:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:24 Configure a credential helper to remove this warning. See 19:38:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:24 19:38:24 Login Succeeded 19:38:24 nexus3.edgexfoundry.org:10002 19:38:24 Removing intermediate container 65392cb2ae33 19:38:24 ---> 93488836ed75 19:38:24 Step 14/25 : FROM alpine:latest 19:38:24 latest: Pulling from library/alpine 19:38:24 188c0c94c7c5: Pulling fs layer 19:38:24 188c0c94c7c5: Verifying Checksum 19:38:24 188c0c94c7c5: Download complete 19:38:24 188c0c94c7c5: Pull complete 19:38:24 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 19:38:24 Status: Downloaded newer image for alpine:latest 19:38:24 ---> d6e46aa2470d 19:38:24 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:38:24 ---> Running in 1d3a5fb09684 19:38:24 Removing intermediate container 1d3a5fb09684 19:38:24 ---> 28da28cc35da 19:38:24 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 19:38:24 ---> Running in 721111abd8a4 19:38:24 Removing intermediate container 721111abd8a4 19:38:24 ---> c7aeabc9cc98 19:38:24 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 19:38:24 ---> 7c66859d4c40 19:38:24 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 19:38:24 ---> 7e80e4ac30c4 19:38:24 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 19:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:25 Configure a credential helper to remove this warning. See 19:38:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:25 19:38:25 Login Succeeded 19:38:25 nexus3.edgexfoundry.org:10003 19:38:25 ---> 745767f0878d 19:38:25 Step 20/25 : EXPOSE 49986 19:38:25 ---> Running in fbf36fce22df 19:38:25 Removing intermediate container fbf36fce22df 19:38:25 ---> 30d172da4fde 19:38:25 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 19:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:25 Configure a credential helper to remove this warning. See 19:38:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:25 19:38:25 Login Succeeded 19:38:25 nexus3.edgexfoundry.org:10004 19:38:26 ---> Running in 508c185e1b43 19:38:26 Removing intermediate container 508c185e1b43 19:38:26 ---> 9fbc6df25b3f 19:38:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:38:26 ---> Running in ff42198057ca 19:38:26 Removing intermediate container ff42198057ca 19:38:26 ---> a370d0c3cab4 19:38:26 Step 23/25 : LABEL arch=amd64 19:38:26 ---> Running in cbf7b7230c50 19:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:26 Configure a credential helper to remove this warning. See 19:38:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:26 19:38:26 Login Succeeded 19:38:26 docker.io 19:38:26 Removing intermediate container cbf7b7230c50 19:38:26 ---> 2f67b46fd942 19:38:26 Step 24/25 : LABEL git_sha=cbc1fb126fca16d22f986b5cd5c305caa6710614 19:38:26 ---> Running in 49866ef4e16d 19:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:26 Removing intermediate container 49866ef4e16d 19:38:26 ---> 42f2a3c51dfd 19:38:26 Step 25/25 : LABEL version=1.2.0 19:38:26 ---> Running in 5e74dd971e4d 19:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:26 Configure a credential helper to remove this warning. See 19:38:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:26 19:38:26 Login Succeeded 19:38:26 ---> docker-login.sh ends [Pipeline] } 19:38:27 Deleting 1 temporary files 19:38:27 Removing intermediate container 5e74dd971e4d 19:38:27 ---> ddaa0248c8c1 19:38:27 [Warning] One or more build-args [ARCH] were not consumed 19:38:27 Successfully built ddaa0248c8c1 19:38:27 Successfully tagged docker-device-rest-go:latest [Pipeline] // wrap [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:38:28 provisioning config files... [Pipeline] echo 19:38:28 ========================================================= 19:38:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 19:38:28 ========================================================= 19:38:28 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/27@tmp/config5185943900033033908tmp [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 19:38:28 + 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 . 19:38:28 Sending build context to Docker daemon 79.87kB 19:38:28 ---> docker-login.sh 19:38:28 nexus3.edgexfoundry.org:10001 19:38:28 Step 1/10 : ARG BASE=golang:1.15-alpine 19:38:28 Step 2/10 : FROM ${BASE} 19:38:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:38:28 b538f80385f9: Pulling fs layer 19:38:28 74f711af9a0d: Pulling fs layer 19:38:28 99f96fe45779: Pulling fs layer 19:38:28 8529a6b9a6be: Pulling fs layer 19:38:28 45590311c82a: Pulling fs layer 19:38:28 69ca0ff8b7b3: Pulling fs layer 19:38:28 209524e5b208: Pulling fs layer 19:38:28 45590311c82a: Waiting 19:38:28 69ca0ff8b7b3: Waiting 19:38:28 8529a6b9a6be: Waiting 19:38:28 209524e5b208: Waiting 19:38:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:28 Configure a credential helper to remove this warning. See 19:38:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:28 19:38:28 Login Succeeded 19:38:28 nexus3.edgexfoundry.org:10002 19:38:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:29 99f96fe45779: Verifying Checksum 19:38:29 99f96fe45779: Download complete 19:38:29 74f711af9a0d: Verifying Checksum 19:38:29 74f711af9a0d: Download complete 19:38:29 45590311c82a: Verifying Checksum 19:38:29 45590311c82a: Download complete 19:38:29 69ca0ff8b7b3: Verifying Checksum 19:38:29 69ca0ff8b7b3: Download complete 19:38:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:29 Configure a credential helper to remove this warning. See 19:38:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:29 19:38:29 Login Succeeded 19:38:29 nexus3.edgexfoundry.org:10003 19:38:29 b538f80385f9: Verifying Checksum 19:38:29 b538f80385f9: Download complete 19:38:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:29 Configure a credential helper to remove this warning. See 19:38:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:29 19:38:29 Login Succeeded 19:38:29 nexus3.edgexfoundry.org:10004 19:38:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:30 Configure a credential helper to remove this warning. See 19:38:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:30 19:38:30 Login Succeeded 19:38:30 docker.io 19:38:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:30 Configure a credential helper to remove this warning. See 19:38:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:30 19:38:30 Login Succeeded 19:38:30 ---> docker-login.sh ends [Pipeline] } 19:38:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:38:30 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 19:38:30 cbc1fb126fca16d22f986b5cd5c305caa6710614 19:38:30 latest 19:38:30 1.2.0 19:38:30 cbc1fb126fca16d22f986b5cd5c305caa6710614-1.2.0 19:38:30 master 19:38:30 ===================================================== 19:38:30 b538f80385f9: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:38:31 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] isUnix [Pipeline] sh 19:38:31 74f711af9a0d: Pull complete 19:38:31 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 19:38:31 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 19:38:31 d10b40abc698: Preparing 19:38:31 19d37afcffbc: Preparing 19:38:31 2fc6d8dc10d2: Preparing 19:38:31 ace0eda3e3be: Preparing 19:38:31 99f96fe45779: Pull complete 19:38:32 ace0eda3e3be: Layer already exists 19:38:33 2fc6d8dc10d2: Pushed 19:38:33 19d37afcffbc: Pushed 19:38:34 d10b40abc698: Pushed 19:38:34 209524e5b208: Verifying Checksum 19:38:34 209524e5b208: Download complete 19:38:34 cbc1fb126fca16d22f986b5cd5c305caa6710614: digest: sha256:06e37f67bcc05473bc045f95da8252256a160ff48dacc732dc7ee8814cc03be5 size: 1155 [Pipeline] isUnix [Pipeline] sh 19:38:34 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 19:38:35 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 19:38:35 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 19:38:35 d10b40abc698: Preparing 19:38:35 19d37afcffbc: Preparing 19:38:35 2fc6d8dc10d2: Preparing 19:38:35 ace0eda3e3be: Preparing 19:38:35 2fc6d8dc10d2: Layer already exists 19:38:35 ace0eda3e3be: Layer already exists 19:38:35 d10b40abc698: Layer already exists 19:38:35 19d37afcffbc: Layer already exists 19:38:35 latest: digest: sha256:06e37f67bcc05473bc045f95da8252256a160ff48dacc732dc7ee8814cc03be5 size: 1155 [Pipeline] isUnix [Pipeline] sh 19:38:35 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.0 [Pipeline] isUnix [Pipeline] sh 19:38:35 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.0 19:38:35 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 19:38:35 d10b40abc698: Preparing 19:38:35 19d37afcffbc: Preparing 19:38:35 2fc6d8dc10d2: Preparing 19:38:35 ace0eda3e3be: Preparing 19:38:35 d10b40abc698: Layer already exists 19:38:35 2fc6d8dc10d2: Layer already exists 19:38:35 19d37afcffbc: Layer already exists 19:38:35 ace0eda3e3be: Layer already exists 19:38:35 1.2.0: digest: sha256:06e37f67bcc05473bc045f95da8252256a160ff48dacc732dc7ee8814cc03be5 size: 1155 [Pipeline] isUnix [Pipeline] sh 19:38:36 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.2.0 [Pipeline] isUnix [Pipeline] sh 19:38:36 8529a6b9a6be: Verifying Checksum 19:38:36 8529a6b9a6be: Download complete 19:38:36 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.2.0 19:38:36 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 19:38:36 d10b40abc698: Preparing 19:38:36 19d37afcffbc: Preparing 19:38:36 2fc6d8dc10d2: Preparing 19:38:36 ace0eda3e3be: Preparing 19:38:36 ace0eda3e3be: Layer already exists 19:38:36 d10b40abc698: Layer already exists 19:38:36 2fc6d8dc10d2: Layer already exists 19:38:36 19d37afcffbc: Layer already exists 19:38:36 cbc1fb126fca16d22f986b5cd5c305caa6710614-1.2.0: digest: sha256:06e37f67bcc05473bc045f95da8252256a160ff48dacc732dc7ee8814cc03be5 size: 1155 [Pipeline] isUnix [Pipeline] sh 19:38:36 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 19:38:36 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 19:38:36 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 19:38:36 d10b40abc698: Preparing 19:38:36 19d37afcffbc: Preparing 19:38:36 2fc6d8dc10d2: Preparing 19:38:36 ace0eda3e3be: Preparing 19:38:36 d10b40abc698: Layer already exists 19:38:36 ace0eda3e3be: Layer already exists 19:38:36 2fc6d8dc10d2: Layer already exists 19:38:36 19d37afcffbc: Layer already exists 19:38:36 master: digest: sha256:06e37f67bcc05473bc045f95da8252256a160ff48dacc732dc7ee8814cc03be5 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:38:37 ===================================================== [Pipeline] echo 19:38:37 taggedImages: 19:38:37 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 19:38:37 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 19:38:37 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.0 19:38:37 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.2.0 19:38:37 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] } [Pipeline] // script [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] } 19:38:46 8529a6b9a6be: Pull complete 19:38:46 45590311c82a: Pull complete 19:38:46 69ca0ff8b7b3: Pull complete 19:38:49 209524e5b208: Pull complete 19:38:49 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 19:38:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 19:38:49 ---> 5bddaf1c2fca 19:38:49 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 19:38:53 ---> Running in 284f5da8e868 19:38:53 Removing intermediate container 284f5da8e868 19:38:53 ---> 8b79689333d5 19:38:53 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 19:38:53 ---> Running in c488ae546b08 19:38:54 Removing intermediate container c488ae546b08 19:38:54 ---> 3e1c25132c95 19:38:54 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:38:54 ---> Running in 0d5d8fbad0e3 19:38:54 Removing intermediate container 0d5d8fbad0e3 19:38:54 ---> c3a72efaf456 19:38:54 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:38:54 ---> Running in dd3d0fd47fce 19:38:57 Removing intermediate container dd3d0fd47fce 19:38:57 ---> 14aaf6fb08f1 19:38:57 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:38:57 ---> Running in 2a426bfcb593 19:38:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:39:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:39:02 OK: 142 MiB in 39 packages 19:39:03 Removing intermediate container 2a426bfcb593 19:39:03 ---> 11ce52a3bc53 19:39:03 Step 8/10 : WORKDIR /device-rest-go 19:39:03 ---> Running in 88d7124ee4d7 19:39:03 Removing intermediate container 88d7124ee4d7 19:39:03 ---> 5a6b0f0b41ff 19:39:03 Step 9/10 : COPY . . 19:39:04 ---> c54b54b2489d 19:39:04 Step 10/10 : RUN go mod download 19:39:04 ---> Running in ec4b152cdb42 19:39:31 Removing intermediate container ec4b152cdb42 19:39:31 ---> 19e04b6e6c56 19:39:31 Successfully built 19e04b6e6c56 19:39:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:39:31 + docker inspect -f . ci-base-image-arm64 19:39:31 . [Pipeline] withDockerContainer 19:39:32 prd-ubuntu18.04-docker-arm64-4c-16g-12581 does not seem to be running inside a container 19:39:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/27 -v /w/workspace/device-rest-go/27:/w/workspace/device-rest-go/27:rw,z -v /w/workspace/device-rest-go/27@tmp:/w/workspace/device-rest-go/27@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 ******** ci-base-image-arm64 cat 19:39:34 $ docker top 4719be3e9cec232cf99ffb7f3927074d3bcca7f055adaadde5669d6af756be25 -eo pid,comm [Pipeline] { [Pipeline] sh 19:39:35 + go version 19:39:35 go version go1.15.2 linux/arm64 [Pipeline] } 19:39:35 $ docker stop --time=1 4719be3e9cec232cf99ffb7f3927074d3bcca7f055adaadde5669d6af756be25 19:39:37 $ docker rm -f 4719be3e9cec232cf99ffb7f3927074d3bcca7f055adaadde5669d6af756be25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:39:38 + docker inspect -f . ci-base-image-arm64 19:39:38 . [Pipeline] withDockerContainer 19:39:38 prd-ubuntu18.04-docker-arm64-4c-16g-12581 does not seem to be running inside a container 19:39:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/27 -v /w/workspace/device-rest-go/27:/w/workspace/device-rest-go/27:rw,z -v /w/workspace/device-rest-go/27@tmp:/w/workspace/device-rest-go/27@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 ******** ci-base-image-arm64 cat 19:39:41 $ docker top 85e4a87a71dc811826b7e3b4513b68dc427e04e9997a3e08d28716f71d0c5bfb -eo pid,comm [Pipeline] { [Pipeline] sh 19:39:42 + make test 19:39:42 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:39:43 ? github.com/edgexfoundry/device-rest-go [no test files] 19:40:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:40:31 ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 56.3% of statements 19:40:31 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:40:31 gofmt -l . 19:40:31 [ "`gofmt -l .`" = "" ] 19:40:31 ./bin/test-go-mod-tidy.sh 19:40:31 ./bin/test-attribution-txt.sh [Pipeline] } 19:40:32 $ docker stop --time=1 85e4a87a71dc811826b7e3b4513b68dc427e04e9997a3e08d28716f71d0c5bfb 19:40:34 $ docker rm -f 85e4a87a71dc811826b7e3b4513b68dc427e04e9997a3e08d28716f71d0c5bfb [Pipeline] // withDockerContainer [Pipeline] sh 19:40:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:40:35 Warning: overwriting stash ‘coverage-report’ 19:40:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:40:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:40:38 + ls -al . 19:40:38 total 124 19:40:38 drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 19:40 . 19:40:38 drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 19:38 .. 19:40:38 -rw-rw-r-- 1 jenkins jenkins 151 Nov 18 19:38 .dockerignore 19:40:38 drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 19:38 .git 19:40:38 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 19:38 .github 19:40:38 -rw-rw-r-- 1 jenkins jenkins 339 Nov 18 19:38 .gitignore 19:40:38 -rw-rw-r-- 1 jenkins jenkins 5294 Nov 18 19:38 Attribution.txt 19:40:38 -rw-rw-r-- 1 jenkins jenkins 1519 Nov 18 19:38 Dockerfile 19:40:38 -rw-rw-r-- 1 jenkins jenkins 989 Nov 18 19:38 Dockerfile.build 19:40:38 -rw-rw-r-- 1 jenkins jenkins 680 Nov 18 19:38 Jenkinsfile 19:40:38 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 18 19:38 LICENSE 19:40:38 -rw-rw-r-- 1 jenkins jenkins 951 Nov 18 19:38 Makefile 19:40:38 -rw-rw-r-- 1 jenkins jenkins 5917 Nov 18 19:38 README.md 19:40:38 -rw-rw-r-- 1 jenkins jenkins 5 Nov 18 19:35 VERSION 19:40:38 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 19:38 bin 19:40:38 drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 19:38 cmd 19:40:38 -rw-r--r-- 1 jenkins jenkins 9369 Nov 18 19:40 coverage.out 19:40:38 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 19:40 driver 19:40:38 -rw-r--r-- 1 jenkins jenkins 267 Nov 18 19:40 go.mod 19:40:38 -rw-r--r-- 1 jenkins jenkins 13790 Nov 18 19:40 go.sum 19:40:38 drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 19:38 snap 19:40:38 -rw-rw-r-- 1 jenkins jenkins 713 Nov 18 19:38 version.go [Pipeline] isUnix [Pipeline] sh 19:40:38 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cbc1fb126fca16d22f986b5cd5c305caa6710614 --label arch=arm64 --label version=1.2.0 . 19:40:38 Sending build context to Docker daemon 91.65kB 19:40:39 Step 1/25 : ARG BASE=golang:1.15-alpine 19:40:39 Step 2/25 : FROM ${BASE} AS builder 19:40:39 ---> 19e04b6e6c56 19:40:39 Step 3/25 : ARG MAKE='make build' 19:40:39 ---> Running in 5601418bd78a 19:40:39 Removing intermediate container 5601418bd78a 19:40:39 ---> 0b56c9f76d1e 19:40:39 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 19:40:39 ---> Running in aa5615d61bed 19:40:40 Removing intermediate container aa5615d61bed 19:40:40 ---> a7f2cb2ab957 19:40:40 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 19:40:40 ---> Running in d33afa2b296e 19:40:40 Removing intermediate container d33afa2b296e 19:40:40 ---> 82055d048522 19:40:40 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:40:40 ---> Running in 7e0f4f7d650c 19:40:43 Removing intermediate container 7e0f4f7d650c 19:40:43 ---> cffc6269e87f 19:40:43 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:40:43 ---> Running in d5118d5721fa 19:40:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:40:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:40:46 OK: 142 MiB in 39 packages 19:40:47 Removing intermediate container d5118d5721fa 19:40:47 ---> b7143b8385d9 19:40:47 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 19:40:47 ---> Running in 1bb12c0a2f1c 19:40:47 Removing intermediate container 1bb12c0a2f1c 19:40:47 ---> 48918d7a1b1c 19:40:47 Step 9/25 : COPY go.mod . 19:40:48 ---> ad80e1e2c1f7 19:40:48 Step 10/25 : COPY Makefile . 19:40:49 ---> e5e50d48839c 19:40:49 Step 11/25 : RUN make update 19:40:49 ---> Running in f2fbf6afa899 19:40:50 CGO_ENABLED=0 GO111MODULE=on go mod download 19:40:52 Removing intermediate container f2fbf6afa899 19:40:52 ---> d39bcbe921de 19:40:52 Step 12/25 : COPY . . 19:40:52 ---> 0f3ef8e7da1b 19:40:52 Step 13/25 : RUN $MAKE 19:40:53 ---> Running in db407fbb1ce9 19:40:54 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.0" -o cmd/device-rest-go ./cmd 19:41:27 Removing intermediate container db407fbb1ce9 19:41:27 ---> b6771246fdba 19:41:27 Step 14/25 : FROM alpine:latest 19:41:27 latest: Pulling from library/alpine 19:41:27 5f621e34cdf4: Pulling fs layer 19:41:27 5f621e34cdf4: Verifying Checksum 19:41:27 5f621e34cdf4: Download complete 19:41:27 5f621e34cdf4: Pull complete 19:41:27 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 19:41:27 Status: Downloaded newer image for alpine:latest 19:41:27 ---> 2e77e061c27f 19:41:27 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:41:27 ---> Running in 52613f5fee0c 19:41:28 Removing intermediate container 52613f5fee0c 19:41:28 ---> 784339a4df3e 19:41:28 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 19:41:28 ---> Running in 6eefa2879861 19:41:28 Removing intermediate container 6eefa2879861 19:41:28 ---> 273eae6af8ee 19:41:28 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 19:41:29 ---> 46d2eb36ae78 19:41:29 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 19:41:29 ---> 363d0daa7da6 19:41:29 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 19:41:31 ---> 5f7b31bd1799 19:41:31 Step 20/25 : EXPOSE 49986 19:41:31 ---> Running in 41675fabfb5d 19:41:32 Removing intermediate container 41675fabfb5d 19:41:32 ---> 768d0c42bda4 19:41:32 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 19:41:32 ---> Running in b195ae06957b 19:41:32 Removing intermediate container b195ae06957b 19:41:32 ---> 00a68acc6186 19:41:32 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:41:32 ---> Running in adf74cd1be27 19:41:33 Removing intermediate container adf74cd1be27 19:41:33 ---> 7342c61bcf1a 19:41:33 Step 23/25 : LABEL arch=arm64 19:41:33 ---> Running in c3dc1262c1b3 19:41:34 Removing intermediate container c3dc1262c1b3 19:41:34 ---> 3350f4b50eea 19:41:34 Step 24/25 : LABEL git_sha=cbc1fb126fca16d22f986b5cd5c305caa6710614 19:41:34 ---> Running in d5cf9a581a02 19:41:34 Removing intermediate container d5cf9a581a02 19:41:34 ---> 988f2bff5df1 19:41:34 Step 25/25 : LABEL version=1.2.0 19:41:34 ---> Running in 0ec5e6fc3205 19:41:35 Removing intermediate container 0ec5e6fc3205 19:41:35 ---> d04e561b6bb4 19:41:35 [Warning] One or more build-args [ARCH] were not consumed 19:41:35 Successfully built d04e561b6bb4 19:41:35 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:41:35 provisioning config files... 19:41:35 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/27@tmp/config5477556901322171034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:41:36 ---> docker-login.sh 19:41:36 nexus3.edgexfoundry.org:10001 19:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:41:36 Configure a credential helper to remove this warning. See 19:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:41:36 19:41:36 Login Succeeded 19:41:36 nexus3.edgexfoundry.org:10002 19:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:41:37 Configure a credential helper to remove this warning. See 19:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:41:37 19:41:37 Login Succeeded 19:41:37 nexus3.edgexfoundry.org:10003 19:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:41:38 Configure a credential helper to remove this warning. See 19:41:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:41:38 19:41:38 Login Succeeded 19:41:38 nexus3.edgexfoundry.org:10004 19:41:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:41:38 Configure a credential helper to remove this warning. See 19:41:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:41:38 19:41:38 Login Succeeded 19:41:38 docker.io 19:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:41:39 Configure a credential helper to remove this warning. See 19:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:41:39 19:41:39 Login Succeeded 19:41:39 ---> docker-login.sh ends [Pipeline] } 19:41:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:41:39 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 19:41:39 cbc1fb126fca16d22f986b5cd5c305caa6710614 19:41:39 latest 19:41:39 1.2.0 19:41:39 cbc1fb126fca16d22f986b5cd5c305caa6710614-1.2.0 19:41:39 master 19:41:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:41:40 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] isUnix [Pipeline] sh 19:41:40 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614 19:41:40 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 19:41:40 ed1127f46f44: Preparing 19:41:40 ca3ab80624c9: Preparing 19:41:40 21a0ac159535: Preparing 19:41:40 cd3761cfa1d9: Preparing 19:41:41 cd3761cfa1d9: Layer already exists 19:41:41 ca3ab80624c9: Pushed 19:41:41 21a0ac159535: Pushed 19:41:44 ed1127f46f44: Pushed 19:41:44 cbc1fb126fca16d22f986b5cd5c305caa6710614: digest: sha256:cd44507cb35d4401f63a3bde0ad4ff2f9381452ef3e170805eac5a6df0c6d76e size: 1155 [Pipeline] isUnix [Pipeline] sh 19:41:44 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:41:45 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 19:41:45 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 19:41:45 ed1127f46f44: Preparing 19:41:45 ca3ab80624c9: Preparing 19:41:45 21a0ac159535: Preparing 19:41:45 cd3761cfa1d9: Preparing 19:41:45 ca3ab80624c9: Layer already exists 19:41:45 21a0ac159535: Layer already exists 19:41:45 ed1127f46f44: Layer already exists 19:41:45 cd3761cfa1d9: Layer already exists 19:41:45 latest: digest: sha256:cd44507cb35d4401f63a3bde0ad4ff2f9381452ef3e170805eac5a6df0c6d76e size: 1155 [Pipeline] isUnix [Pipeline] sh 19:41:45 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.0 [Pipeline] isUnix [Pipeline] sh 19:41:46 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.0 19:41:46 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 19:41:46 ed1127f46f44: Preparing 19:41:46 ca3ab80624c9: Preparing 19:41:46 21a0ac159535: Preparing 19:41:46 cd3761cfa1d9: Preparing 19:41:46 cd3761cfa1d9: Layer already exists 19:41:46 21a0ac159535: Layer already exists 19:41:46 ca3ab80624c9: Layer already exists 19:41:46 ed1127f46f44: Layer already exists 19:41:46 1.2.0: digest: sha256:cd44507cb35d4401f63a3bde0ad4ff2f9381452ef3e170805eac5a6df0c6d76e size: 1155 [Pipeline] isUnix [Pipeline] sh 19:41:46 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.2.0 [Pipeline] isUnix [Pipeline] sh 19:41:47 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.2.0 19:41:47 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 19:41:47 ed1127f46f44: Preparing 19:41:47 ca3ab80624c9: Preparing 19:41:47 21a0ac159535: Preparing 19:41:47 cd3761cfa1d9: Preparing 19:41:47 ca3ab80624c9: Layer already exists 19:41:47 cd3761cfa1d9: Layer already exists 19:41:47 ed1127f46f44: Layer already exists 19:41:47 21a0ac159535: Layer already exists 19:41:47 cbc1fb126fca16d22f986b5cd5c305caa6710614-1.2.0: digest: sha256:cd44507cb35d4401f63a3bde0ad4ff2f9381452ef3e170805eac5a6df0c6d76e size: 1155 [Pipeline] isUnix [Pipeline] sh 19:41:47 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 19:41:48 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 19:41:48 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 19:41:48 ed1127f46f44: Preparing 19:41:48 ca3ab80624c9: Preparing 19:41:48 21a0ac159535: Preparing 19:41:48 cd3761cfa1d9: Preparing 19:41:48 ca3ab80624c9: Layer already exists 19:41:48 21a0ac159535: Layer already exists 19:41:48 ed1127f46f44: Layer already exists 19:41:48 cd3761cfa1d9: Layer already exists 19:41:48 master: digest: sha256:cd44507cb35d4401f63a3bde0ad4ff2f9381452ef3e170805eac5a6df0c6d76e size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:41:48 ===================================================== [Pipeline] echo 19:41:48 taggedImages: 19:41:48 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614 19:41:48 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 19:41:48 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.0 19:41:48 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:cbc1fb126fca16d22f986b5cd5c305caa6710614-1.2.0 19:41:48 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [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 19:41:50 provisioning config files... 19:41:50 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8378533027866063687tmp [Pipeline] { [Pipeline] sh 19:41:50 + set +x 19:41:50 + curl -s https://codecov.io/bash 19:41:50 + bash -s -- 19:41:50 19:41:50 _____ _ 19:41:50 / ____| | | 19:41:50 | | ___ __| | ___ ___ _____ __ 19:41:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:41:50 | |___| (_) | (_| | __/ (_| (_) \ V / 19:41:50 \_____\___/ \__,_|\___|\___\___/ \_/ 19:41:50 Bash-20201116-eea08d9 19:41:50 19:41:50 19:41:50 ==> Jenkins CI detected. 19:41:50 project root: . 19:41:50 --> token set from env 19:41:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:41:50 ==> Running gcov in . (disable via -X gcov) 19:41:50 ==> Python coveragepy not found 19:41:50 ==> Searching for coverage reports in: 19:41:50 + . 19:41:50 -> Found 1 reports 19:41:50 ==> Detecting git/mercurial file structure 19:41:50 ==> Reading reports 19:41:50 + ./coverage.out bytes=9369 19:41:50 ==> Appending adjustments 19:41:50 https://docs.codecov.io/docs/fixing-reports 19:41:50 + Found adjustments 19:41:50 ==> Gzipping contents 19:41:50 ==> Uploading reports 19:41:50 url: https://codecov.io 19:41:50 query: branch=master&commit=cbc1fb126fca16d22f986b5cd5c305caa6710614&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:41:50 -> Pinging Codecov 19:41:50 https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=master&commit=cbc1fb126fca16d22f986b5cd5c305caa6710614&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:41:51 -> Uploading to 19:41:51 https://storage.googleapis.com/codecov/v4/raw/2020-11-18/4E5D53B4F1F92C436F7061BF334D961C/cbc1fb126fca16d22f986b5cd5c305caa6710614/0104b16f-2509-4b9e-bb27-4932bc8dab76.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201118T194151Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cb9cbcfd0230e7472c365c60df4f6b39e9763b52acafbd3fe7bd8b6e5f9f42ae 19:41:51 % Total % Received % Xferd Average Speed Time Time Time Current 19:41:51 Dload Upload Total Spent Left Speed 19:41:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1706 0 0 100 1706 0 4385 --:--:-- --:--:-- --:--:-- 4396 19:41:52 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] } 19:41:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:41:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:41:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:41:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:41:53 19:41:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 19:41:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:41:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:41:53 188c0c94c7c5: Pulling fs layer 19:41:53 0ef7d3d256c8: Pulling fs layer 19:41:53 de9db76c5a1d: Pulling fs layer 19:41:53 0eba1c9be4d2: Pulling fs layer 19:41:53 0d57e429df01: Pulling fs layer 19:41:53 4e4be7b47b0d: Pulling fs layer 19:41:53 e1f770b5df2f: Pulling fs layer 19:41:53 85a0685a4137: Pulling fs layer 19:41:53 0d57e429df01: Waiting 19:41:53 4e4be7b47b0d: Waiting 19:41:53 e1f770b5df2f: Waiting 19:41:53 0eba1c9be4d2: Waiting 19:41:53 85a0685a4137: Waiting 19:41:53 de9db76c5a1d: Verifying Checksum 19:41:53 de9db76c5a1d: Download complete 19:41:53 0ef7d3d256c8: Verifying Checksum 19:41:53 0ef7d3d256c8: Download complete 19:41:53 0d57e429df01: Verifying Checksum 19:41:53 0d57e429df01: Download complete 19:41:53 4e4be7b47b0d: Verifying Checksum 19:41:53 4e4be7b47b0d: Download complete 19:41:53 188c0c94c7c5: Verifying Checksum 19:41:53 188c0c94c7c5: Download complete 19:41:54 188c0c94c7c5: Pull complete 19:41:54 0ef7d3d256c8: Pull complete 19:41:54 de9db76c5a1d: Pull complete 19:41:55 e1f770b5df2f: Verifying Checksum 19:41:55 e1f770b5df2f: Download complete 19:41:58 85a0685a4137: Verifying Checksum 19:41:58 85a0685a4137: Download complete 19:41:58 0eba1c9be4d2: Verifying Checksum 19:41:58 0eba1c9be4d2: Download complete 19:42:03 0eba1c9be4d2: Pull complete 19:42:03 0d57e429df01: Pull complete 19:42:03 4e4be7b47b0d: Pull complete 19:42:06 e1f770b5df2f: Pull complete 19:42:14 85a0685a4137: Pull complete 19:42:14 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 19:42:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:42:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 19:42:14 prd-centos7-docker-4c-2g-12568 does not seem to be running inside a container 19:42:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:42:16 $ docker top 1cd84505377832c316c7e53195ed86748133295706c815b1e8f8661a0ce110cc -eo pid,comm [Pipeline] { [Pipeline] echo 19:42:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 19:42:16 + set -o pipefail 19:42:16 + snyk monitor '--org=edgex-jenkins' 19:42:23 19:42:23 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 19:42:23 19:42:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/451c5000-dd31-4dab-983c-777d21b2cd37 19:42:23 19:42:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:42:23 19:42:23 19:42:23 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 19:42:23 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 19:42:23 $ docker stop --time=1 1cd84505377832c316c7e53195ed86748133295706c815b1e8f8661a0ce110cc 19:42:26 $ docker rm -f 1cd84505377832c316c7e53195ed86748133295706c815b1e8f8661a0ce110cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo 19:42:27 [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614, dockerFile=Dockerfile [Pipeline] echo 19:42:27 [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh 19:42:27 + set -o pipefail 19:42:27 + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk 19:42:27 + tee .snyk 19:42:28 # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. 19:42:28 version: v1.14.1 19:42:28 # ignores vulnerabilities until expiry date; change duration by modifying expiry date 19:42:28 ignore: 19:42:28 SNYK-ALPINE312-ONIGURUMA-1017392: # snyk ID for the issue to ignore. Required. 19:42:28 - '*': 19:42:28 reason: does not apply # justification for ignoring 19:42:28 expires: 2021-01-01T00:00:00 # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14)https://snyk.io/vuln/SNYK-ALPINE312-ONIGURUMA-1017392 19:42:28 SNYK-ALPINE312-JQ-588886: 19:42:28 - '*': 19:42:28 reason: false positive 19:42:28 expires: 2021-01-01T00:00:00 19:42:28 # patch: {} [Pipeline] withCredentials 19:42:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:42:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:42:28 . [Pipeline] withDockerContainer 19:42:28 prd-centos7-docker-4c-2g-12568 does not seem to be running inside a container 19:42:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:42:29 $ docker top 91ab4a6b8992ad461432f5dfe8d843366cd8da99495419ca390e23bff0ee7b5e -eo pid,comm [Pipeline] { [Pipeline] sh 19:42:30 + rm -f snykReport.html [Pipeline] echo 19:42:30 [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh 19:42:30 + set -o pipefail 19:42:30 + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-device-rest-go:cbc1fb126fca16d22f986b5cd5c305caa6710614 '--file=./Dockerfile'+ '--severity-threshold=high' '--policy-path=./.snyk'snyk-to-html --json -o 19:42:30 snykReport.html 19:42:39 Vulnerability snapshot saved at snykReport.html [Pipeline] } 19:42:39 $ docker stop --time=1 91ab4a6b8992ad461432f5dfe8d843366cd8da99495419ca390e23bff0ee7b5e 19:42:40 $ docker rm -f 91ab4a6b8992ad461432f5dfe8d843366cd8da99495419ca390e23bff0ee7b5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:42:42 + git log --format=format:%s -1 cbc1fb126fca16d22f986b5cd5c305caa6710614 [Pipeline] isUnix [Pipeline] sh 19:42:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:42:42 . [Pipeline] withDockerContainer 19:42:42 prd-centos7-docker-4c-2g-12568 does not seem to be running inside a container 19:42:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:42:43 $ docker top 0dfaf5883c79031768755dda0206bc71b87e9db2c62bdca0f4656b3905e337a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:42:43 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.1.3-dev.10|v1.2.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:42:44 + git semver [Pipeline] } 19:42:44 $ docker stop --time=1 0dfaf5883c79031768755dda0206bc71b87e9db2c62bdca0f4656b3905e337a6 19:42:45 $ docker rm -f 0dfaf5883c79031768755dda0206bc71b87e9db2c62bdca0f4656b3905e337a6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 19:42:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:42:46 19:42:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 19:42:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:42:46 0.23.1-centos7: Pulling from edgex-lftools 19:42:46 ab5ef0e58194: Pulling fs layer 19:42:46 9712f1f96733: Pulling fs layer 19:42:46 63f879dbbcfc: Pulling fs layer 19:42:46 0d9ebad4ef96: Pulling fs layer 19:42:46 e9a5061849ea: Pulling fs layer 19:42:46 d747dcd14b5f: Pulling fs layer 19:42:46 2de7ff778b66: Pulling fs layer 19:42:46 d747dcd14b5f: Waiting 19:42:46 0d9ebad4ef96: Waiting 19:42:46 e9a5061849ea: Waiting 19:42:46 2de7ff778b66: Waiting 19:42:46 9712f1f96733: Verifying Checksum 19:42:46 9712f1f96733: Download complete 19:42:48 63f879dbbcfc: Verifying Checksum 19:42:48 63f879dbbcfc: Download complete 19:42:49 e9a5061849ea: Verifying Checksum 19:42:49 e9a5061849ea: Download complete 19:42:49 d747dcd14b5f: Verifying Checksum 19:42:49 d747dcd14b5f: Download complete 19:42:49 0d9ebad4ef96: Verifying Checksum 19:42:49 0d9ebad4ef96: Download complete 19:42:49 2de7ff778b66: Verifying Checksum 19:42:49 2de7ff778b66: Download complete 19:42:49 ab5ef0e58194: Verifying Checksum 19:42:49 ab5ef0e58194: Download complete 19:42:54 ab5ef0e58194: Pull complete 19:42:54 9712f1f96733: Pull complete 19:42:56 63f879dbbcfc: Pull complete 19:43:09 0d9ebad4ef96: Pull complete 19:43:09 e9a5061849ea: Pull complete 19:43:09 d747dcd14b5f: Pull complete 19:43:09 2de7ff778b66: Pull complete 19:43:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:43:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:43:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 19:43:09 prd-centos7-docker-4c-2g-12568 does not seem to be running inside a container 19:43:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:43:13 $ docker top 86301aecf6e746d618fe5e495aaa70ccb0e21f52725cfcf370849e8d5755f148 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:43:14 provisioning config files... 19:43:14 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config739202167677592893tmp 19:43:14 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7216020385207213806tmp 19:43:14 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config398434459639000345tmp [Pipeline] { [Pipeline] echo 19:43:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:43:14 ---> sigul-configuration.sh 19:43:14 gpg: directory `/root/.gnupg' created 19:43:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:43:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:43:14 gpg: keyring `/root/.gnupg/secring.gpg' created 19:43:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:43:14 gpg: CAST5 encrypted data 19:43:14 gpg: encrypted with 1 passphrase 19:43:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:43:15 + mkdir /home/jenkins 19:43:15 + mkdir /home/jenkins/sigul [Pipeline] sh 19:43:15 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 19:43:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:43:15 ---> sigul-install.sh 19:43:21 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 19:43:21 + git tag --list 19:43:21 v1.0.0 19:43:21 v1.1.0 19:43:21 v1.1.1 19:43:21 v1.1.2 19:43:21 v1.1.2-dev.1 19:43:21 v1.1.2-dev.2 19:43:21 v1.1.3-dev.1 19:43:21 v1.1.3-dev.10 19:43:21 v1.1.3-dev.2 19:43:21 v1.1.3-dev.3 19:43:21 v1.1.3-dev.4 19:43:21 v1.1.3-dev.5 19:43:21 v1.1.3-dev.6 19:43:21 v1.1.3-dev.7 19:43:21 v1.1.3-dev.8 19:43:21 v1.1.3-dev.9 19:43:21 v1.2.0 [Pipeline] sh 19:43:21 + lftools sign git-tag v1.2.0 19:43:23 Signing Git tag with Sigul... 19:43:23 Signing v1.2.0 [Pipeline] echo 19:43:24 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:43:24 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:43:24 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:43:24 $ docker stop --time=1 86301aecf6e746d618fe5e495aaa70ccb0e21f52725cfcf370849e8d5755f148 19:43:26 $ docker rm -f 86301aecf6e746d618fe5e495aaa70ccb0e21f52725cfcf370849e8d5755f148 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 19:43:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:43:27 . [Pipeline] withDockerContainer 19:43:27 prd-centos7-docker-4c-2g-12568 does not seem to be running inside a container 19:43:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:43:29 $ docker top 2971d8cdf6b89fb94e73e607b76ef72b93fd5d9bdd96b7ab5a1e422d7f5ca4c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:43:29 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.1.3-dev.10|v1.2.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:43:29 + git semver [Pipeline] } 19:43:29 $ docker stop --time=1 2971d8cdf6b89fb94e73e607b76ef72b93fd5d9bdd96b7ab5a1e422d7f5ca4c7 19:43:31 $ docker rm -f 2971d8cdf6b89fb94e73e607b76ef72b93fd5d9bdd96b7ab5a1e422d7f5ca4c7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 19:43:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:43:31 . [Pipeline] withDockerContainer 19:43:31 prd-centos7-docker-4c-2g-12568 does not seem to be running inside a container 19:43:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:43:32 $ docker top 0ee9fb0c91b8c2cbb0f684ad8709d3003a97c545cf34fadb68c33cf8c1c5b3d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:43:32 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.1.3-dev.10|v1.2.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:43:33 + git semver [Pipeline] } 19:43:33 $ docker stop --time=1 0ee9fb0c91b8c2cbb0f684ad8709d3003a97c545cf34fadb68c33cf8c1c5b3d0 19:43:35 $ docker rm -f 0ee9fb0c91b8c2cbb0f684ad8709d3003a97c545cf34fadb68c33cf8c1c5b3d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 19:43:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:43:37 ---> package-listing.sh 19:43:37 ++ facter osfamily 19:43:37 ++ tr '[:upper:]' '[:lower:]' 19:43:37 + OS_FAMILY=redhat 19:43:37 + workspace=/w/workspace/gexfoundry_device-rest-go_master 19:43:37 + START_PACKAGES=/tmp/packages_start.txt 19:43:37 + END_PACKAGES=/tmp/packages_end.txt 19:43:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:43:37 + PACKAGES=/tmp/packages_start.txt 19:43:37 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 19:43:37 + PACKAGES=/tmp/packages_end.txt 19:43:37 + case "${OS_FAMILY}" in 19:43:37 + rpm -qa 19:43:37 + sort 19:43:41 + '[' -f /tmp/packages_start.txt ']' 19:43:41 + '[' -f /tmp/packages_end.txt ']' 19:43:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:43:41 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 19:43:41 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 19:43:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 19:43:41 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/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:43:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:43:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:43:42 19:43:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:43:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:43:42 alpine: Pulling from edgex-lftools-log-publisher 19:43:42 df20fa9351a1: Pulling fs layer 19:43:42 36b3adc4ff6f: Pulling fs layer 19:43:42 8ad3a11d3b57: Pulling fs layer 19:43:42 46f8f816bc3b: Pulling fs layer 19:43:42 93b61091891f: Pulling fs layer 19:43:42 93b9cdb0e59b: Pulling fs layer 19:43:42 5e14af77c1be: Pulling fs layer 19:43:42 01666e4c0597: Pulling fs layer 19:43:42 aa168da1d23b: Pulling fs layer 19:43:42 46f8f816bc3b: Waiting 19:43:42 93b61091891f: Waiting 19:43:42 93b9cdb0e59b: Waiting 19:43:42 01666e4c0597: Waiting 19:43:42 aa168da1d23b: Waiting 19:43:42 5e14af77c1be: Waiting 19:43:42 36b3adc4ff6f: Verifying Checksum 19:43:42 36b3adc4ff6f: Download complete 19:43:42 46f8f816bc3b: Verifying Checksum 19:43:42 46f8f816bc3b: Download complete 19:43:42 93b61091891f: Download complete 19:43:42 93b9cdb0e59b: Verifying Checksum 19:43:42 93b9cdb0e59b: Download complete 19:43:42 df20fa9351a1: Verifying Checksum 19:43:42 5e14af77c1be: Verifying Checksum 19:43:42 5e14af77c1be: Download complete 19:43:42 01666e4c0597: Verifying Checksum 19:43:42 01666e4c0597: Download complete 19:43:43 df20fa9351a1: Pull complete 19:43:43 36b3adc4ff6f: Pull complete 19:43:43 8ad3a11d3b57: Verifying Checksum 19:43:43 8ad3a11d3b57: Download complete 19:43:45 8ad3a11d3b57: Pull complete 19:43:45 46f8f816bc3b: Pull complete 19:43:45 93b61091891f: Pull complete 19:43:46 aa168da1d23b: Verifying Checksum 19:43:46 aa168da1d23b: Download complete 19:43:47 93b9cdb0e59b: Pull complete 19:43:47 5e14af77c1be: Pull complete 19:43:47 01666e4c0597: Pull complete 19:43:55 aa168da1d23b: Pull complete 19:43:55 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:43:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:43:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:43:56 prd-centos7-docker-4c-2g-12568 does not seem to be running inside a container 19:43:56 $ 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/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:43:58 $ docker top 928912f8aa480bdbde692c3683d85b5df4a7b8a73294cbbfb1192d2b3ea30933 -eo pid,comm [Pipeline] { [Pipeline] sh 19:43:59 + touch /tmp/pre-build-complete [Pipeline] sh 19:43:59 + mkdir -p /var/log/sa [Pipeline] sh 19:43:59 + ls /var/log/sa-host 19:43:59 + sadf -c /var/log/sa-host/sa05 19:43:59 file_magic: OK 19:43:59 HZ: Using current value: 100 19:43:59 file_header: OK 19:43:59 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 19:43:59 Statistics: 19:43:59 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:43:59 File successfully converted to sysstat format version 12.2.1 19:43:59 + sadf -c /var/log/sa-host/sa18 19:43:59 file_magic: OK 19:43:59 HZ: Using current value: 100 19:43:59 file_header: OK 19:43:59 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 19:43:59 Statistics: 19:43:59 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:43:59 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:44:00 provisioning config files... 19:44:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config4607158963511786684tmp [Pipeline] { [Pipeline] echo 19:44:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:44:00 ---> create-netrc.sh [Pipeline] } 19:44:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 19:44:00 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 19:44:01 ---> python-tools-install.sh [Pipeline] echo 19:44:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:44:01 ---> sudo-logs.sh 19:44:01 Archiving 'sudo' log.. [Pipeline] echo 19:44:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:44:01 ---> job-cost.sh 19:44:01 lf-activate-venv: SKIPPING 19:44:01 INFO: No Stack... 19:44:02 INFO: Retrieving Pricing Info for: v1-standard-2 19:44:02 INFO: Archiving Costs [Pipeline] echo 19:44:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:44:03 ---> logs-deploy.sh 19:44:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/27 19:44:03 INFO: archiving workspace using pattern(s): 19:44:05 Archives upload complete. 19:44:05 INFO: archiving logs to Nexus