Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 119be5743e00329d34d55769b1b512288156e580 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-32697’ is offline Running on prd-centos7-docker-4c-2g-32708 in /w/workspace/dgexfoundry_device-sdk-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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 119be5743e00329d34d55769b1b512288156e580 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 119be5743e00329d34d55769b1b512288156e580 # timeout=10 Commit message: "Merge pull request #851 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.28" > git rev-list --no-walk 4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-04T07:11:25.727Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-04T07:11:25.951Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-04T07:11:26.038Z] ========================================================= [2021-04-04T07:11:26.038Z] EdgeX Global Pipelines Version Info [2021-04-04T07:11:26.038Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:11:27.574Z] ------------------- [2021-04-04T07:11:27.574Z] stable info: [2021-04-04T07:11:27.574Z] ------------------- [2021-04-04T07:11:27.574Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-04T07:11:27.574Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-04T07:11:27.574Z] Message: update stable to v1.0.186 [2021-04-04T07:11:28.520Z] ------------------- [2021-04-04T07:11:28.520Z] experimental info: [2021-04-04T07:11:28.520Z] ------------------- [2021-04-04T07:11:28.520Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-04T07:11:28.520Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-04T07:11:28.520Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-04T07:11:28.756Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-04T07:11:28.841Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-04T07:11:28.931Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-04T07:11:29.012Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-04T07:11:29.093Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-04T07:11:29.175Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-04T07:11:29.261Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-04T07:11:29.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-04T07:11:29.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-04T07:11:29.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-04T07:11:29.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-04T07:11:29.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-04T07:11:29.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-04T07:11:29.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-04T07:11:29.918Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-04T07:11:30.002Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-04T07:11:30.084Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-04T07:11:30.195Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-04T07:11:30.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-04T07:11:30.380Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-04T07:11:30.467Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-04T07:11:30.562Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-04T07:11:30.660Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-04T07:11:30.748Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-04T07:11:30.843Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-04T07:11:30.998Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-04T07:11:31.141Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-04T07:11:31.220Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-04T07:11:31.300Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-04T07:11:31.380Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 119be5743e00329d34d55769b1b512288156e580 [Pipeline] echo [2021-04-04T07:11:31.461Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 119be57 [Pipeline] echo [2021-04-04T07:11:31.544Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-04T07:11:31.722Z] provisioning config files... [2021-04-04T07:11:31.750Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3132475068117739929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:11:32.136Z] ---> docker-login.sh [2021-04-04T07:11:32.136Z] nexus3.edgexfoundry.org:10001 [2021-04-04T07:11:32.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:11:32.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:11:32.663Z] Configure a credential helper to remove this warning. See [2021-04-04T07:11:32.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:11:32.663Z] [2021-04-04T07:11:32.663Z] Login Succeeded [2021-04-04T07:11:32.663Z] nexus3.edgexfoundry.org:10002 [2021-04-04T07:11:32.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:11:32.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:11:32.663Z] Configure a credential helper to remove this warning. See [2021-04-04T07:11:32.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:11:32.663Z] [2021-04-04T07:11:32.663Z] Login Succeeded [2021-04-04T07:11:32.663Z] nexus3.edgexfoundry.org:10003 [2021-04-04T07:11:32.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:11:32.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:11:32.926Z] Configure a credential helper to remove this warning. See [2021-04-04T07:11:32.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:11:32.926Z] [2021-04-04T07:11:32.926Z] Login Succeeded [2021-04-04T07:11:32.926Z] nexus3.edgexfoundry.org:10004 [2021-04-04T07:11:32.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:11:33.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:11:33.188Z] Configure a credential helper to remove this warning. See [2021-04-04T07:11:33.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:11:33.188Z] [2021-04-04T07:11:33.188Z] Login Succeeded [2021-04-04T07:11:33.188Z] docker.io [2021-04-04T07:11:33.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:11:33.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:11:33.453Z] Configure a credential helper to remove this warning. See [2021-04-04T07:11:33.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:11:33.453Z] [2021-04-04T07:11:33.453Z] Login Succeeded [2021-04-04T07:11:33.453Z] ---> docker-login.sh ends [Pipeline] } [2021-04-04T07:11:33.463Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-04T07:11:34.267Z] + git log --format=format:%s -1 119be5743e00329d34d55769b1b512288156e580 [Pipeline] echo [2021-04-04T07:11:34.358Z] GIT_COMMIT: 119be5743e00329d34d55769b1b512288156e580, Commit Message: Merge pull request #851 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.28 [Pipeline] echo [2021-04-04T07:11:34.416Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:11:35.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-04T07:11:35.576Z] [2021-04-04T07:11:35.576Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:11:35.922Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-04T07:11:35.922Z] latest: Pulling from edgex-devops/git-semver [2021-04-04T07:11:35.922Z] 31603596830f: Pulling fs layer [2021-04-04T07:11:35.922Z] 2a8b12db71e7: Pulling fs layer [2021-04-04T07:11:35.922Z] 6ca5941a6612: Pulling fs layer [2021-04-04T07:11:35.922Z] ecc8261a40a4: Pulling fs layer [2021-04-04T07:11:35.922Z] ecc8261a40a4: Waiting [2021-04-04T07:11:35.922Z] 2a8b12db71e7: Download complete [2021-04-04T07:11:36.189Z] 31603596830f: Download complete [2021-04-04T07:11:36.189Z] 6ca5941a6612: Verifying Checksum [2021-04-04T07:11:36.189Z] 6ca5941a6612: Download complete [2021-04-04T07:11:36.189Z] ecc8261a40a4: Verifying Checksum [2021-04-04T07:11:36.189Z] ecc8261a40a4: Download complete [2021-04-04T07:11:36.453Z] 31603596830f: Pull complete [2021-04-04T07:11:36.715Z] 2a8b12db71e7: Pull complete [2021-04-04T07:11:37.295Z] 6ca5941a6612: Pull complete [2021-04-04T07:11:37.563Z] ecc8261a40a4: Pull complete [2021-04-04T07:11:37.563Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-04T07:11:37.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-04T07:11:37.563Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-04T07:11:37.671Z] prd-centos7-docker-4c-2g-32708 does not seem to be running inside a container [2021-04-04T07:11:37.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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 [2021-04-04T07:11:39.595Z] $ docker top 71cd1c631927dd3e5246d915de161ee0af843cfff3597916cd58f5b223e0631e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-04T07:11:39.870Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-04T07:11:39.870Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-04T07:11:40.084Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-04T07:11:40.086Z] $ docker exec 71cd1c631927dd3e5246d915de161ee0af843cfff3597916cd58f5b223e0631e ssh-agent [2021-04-04T07:11:40.251Z] SSH_AUTH_SOCK=/tmp/ssh-JH6Tv3ZtzJq8/agent.12 [2021-04-04T07:11:40.251Z] SSH_AGENT_PID=17 [2021-04-04T07:11:40.262Z] Running ssh-add (command line suppressed) [2021-04-04T07:11:40.383Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_95212571190736680.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_95212571190736680.key) [2021-04-04T07:11:40.432Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-04T07:11:40.765Z] + git tag --points-at HEAD [Pipeline] } [2021-04-04T07:11:40.784Z] $ docker exec --env ******** --env ******** 71cd1c631927dd3e5246d915de161ee0af843cfff3597916cd58f5b223e0631e ssh-agent -k [2021-04-04T07:11:40.912Z] unset SSH_AUTH_SOCK; [2021-04-04T07:11:40.913Z] unset SSH_AGENT_PID; [2021-04-04T07:11:40.913Z] echo Agent pid 17 killed; [2021-04-04T07:11:40.956Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-04T07:11:41.141Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-04T07:11:41.141Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-04T07:11:41.304Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-04T07:11:41.305Z] $ docker exec 71cd1c631927dd3e5246d915de161ee0af843cfff3597916cd58f5b223e0631e ssh-agent [2021-04-04T07:11:41.458Z] SSH_AUTH_SOCK=/tmp/ssh-AkmeXp1WhMCI/agent.45 [2021-04-04T07:11:41.458Z] SSH_AGENT_PID=50 [2021-04-04T07:11:41.464Z] Running ssh-add (command line suppressed) [2021-04-04T07:11:41.576Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1182342932799714550.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1182342932799714550.key) [2021-04-04T07:11:41.630Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-04T07:11:41.976Z] + git semver init [2021-04-04T07:11:41.976Z] # -> Open(): unable to determine branch for HEAD [2021-04-04T07:11:41.976Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-04-04T07:11:41.976Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-04-04T07:11:41.976Z] # $SEMVER_REMOTE_NAME = origin [2021-04-04T07:11:41.976Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-04T07:11:41.976Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-04T07:11:41.976Z] # $SEMVER_BRANCH = master [2021-04-04T07:11:41.976Z] # $SEMVER_TEMP = /tmp/semver-648689035 [2021-04-04T07:11:41.976Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-04T07:11:42.549Z] # '/tmp/semver-648689035' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-04-04T07:11:42.549Z] # -> Force: false [2021-04-04T07:11:42.549Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-04-04T07:11:42.559Z] $ docker exec --env ******** --env ******** 71cd1c631927dd3e5246d915de161ee0af843cfff3597916cd58f5b223e0631e ssh-agent -k [2021-04-04T07:11:42.669Z] unset SSH_AUTH_SOCK; [2021-04-04T07:11:42.669Z] unset SSH_AGENT_PID; [2021-04-04T07:11:42.669Z] echo Agent pid 50 killed; [2021-04-04T07:11:42.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-04T07:11:43.170Z] + git semver [Pipeline] } [2021-04-04T07:11:43.185Z] $ docker stop --time=1 71cd1c631927dd3e5246d915de161ee0af843cfff3597916cd58f5b223e0631e [2021-04-04T07:11:44.640Z] $ docker rm -f 71cd1c631927dd3e5246d915de161ee0af843cfff3597916cd58f5b223e0631e [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-04T07:11:45.104Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-04T07:11:45.465Z] Stashed 1 file(s) [Pipeline] echo [2021-04-04T07:11:45.467Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.33 [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 [2021-04-04T07:12:00.972Z] Still waiting to schedule task [2021-04-04T07:12:00.972Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-04T07:12:00.974Z] Still waiting to schedule task [2021-04-04T07:12:00.974Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-04T07:13:48.251Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32709 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-04T07:13:48.303Z] Running in /w/workspace/device-sdk-go/138 [Pipeline] { [Pipeline] checkout [2021-04-04T07:13:53.411Z] using credential edgex-jenkins-ssh [2021-04-04T07:13:53.485Z] Cloning the remote Git repository [2021-04-04T07:13:53.541Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-04T07:13:53.640Z] > git init /w/workspace/device-sdk-go/138 # timeout=10 [2021-04-04T07:13:53.718Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-04T07:13:53.719Z] > git --version # timeout=10 [2021-04-04T07:13:53.737Z] > git --version # 'git version 2.17.1' [2021-04-04T07:13:53.739Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-04T07:13:53.815Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-04T07:13:55.590Z] Checking out Revision 119be5743e00329d34d55769b1b512288156e580 (master) [2021-04-04T07:13:55.031Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-04T07:13:55.048Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-04T07:13:55.082Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-04T07:13:55.126Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-04T07:13:55.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-04T07:13:55.138Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-04T07:13:55.606Z] > git config core.sparsecheckout # timeout=10 [2021-04-04T07:13:55.684Z] > git checkout -f 119be5743e00329d34d55769b1b512288156e580 # timeout=10 [2021-04-04T07:13:59.656Z] Running on prd-centos7-docker-4c-2g-32711 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-04T07:13:59.709Z] Running in /w/workspace/device-sdk-go/138 [Pipeline] { [Pipeline] checkout [2021-04-04T07:14:00.114Z] Commit message: "Merge pull request #851 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.28" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-04T07:14:01.528Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-04T07:14:02.029Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-04T07:14:02.346Z] using credential edgex-jenkins-ssh [2021-04-04T07:14:02.384Z] + true [2021-04-04T07:14:02.385Z] + sudo service docker restart [2021-04-04T07:14:02.398Z] Cloning the remote Git repository [2021-04-04T07:14:02.429Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-04T07:14:02.498Z] > git init /w/workspace/device-sdk-go/138 # timeout=10 [2021-04-04T07:14:02.560Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-04T07:14:02.560Z] > git --version # timeout=10 [2021-04-04T07:14:02.566Z] > git --version # 'git version 2.24.3' [2021-04-04T07:14:02.567Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-04T07:14:02.603Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-04T07:14:04.023Z] Checking out Revision 119be5743e00329d34d55769b1b512288156e580 (master) [2021-04-04T07:14:03.471Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-04T07:14:03.477Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-04T07:14:03.492Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-04T07:14:03.511Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-04T07:14:03.512Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-04T07:14:03.517Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-04T07:14:04.032Z] > git config core.sparsecheckout # timeout=10 [2021-04-04T07:14:04.042Z] > git checkout -f 119be5743e00329d34d55769b1b512288156e580 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-04T07:14:05.079Z] provisioning config files... [2021-04-04T07:14:05.118Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/138@tmp/config4127465689709884080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:14:05.536Z] ---> docker-login.sh [2021-04-04T07:14:05.536Z] nexus3.edgexfoundry.org:10001 [2021-04-04T07:14:06.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:14:06.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:14:06.736Z] Configure a credential helper to remove this warning. See [2021-04-04T07:14:06.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:14:06.736Z] [2021-04-04T07:14:06.736Z] Login Succeeded [2021-04-04T07:14:06.736Z] nexus3.edgexfoundry.org:10002 [2021-04-04T07:14:07.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:14:07.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:14:07.288Z] Configure a credential helper to remove this warning. See [2021-04-04T07:14:07.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:14:07.288Z] [2021-04-04T07:14:07.288Z] Login Succeeded [2021-04-04T07:14:07.288Z] nexus3.edgexfoundry.org:10003 [2021-04-04T07:14:07.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:14:07.740Z] Commit message: "Merge pull request #851 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.28" [2021-04-04T07:14:07.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:14:07.836Z] Configure a credential helper to remove this warning. See [2021-04-04T07:14:07.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:14:07.836Z] [2021-04-04T07:14:07.836Z] Login Succeeded [2021-04-04T07:14:07.836Z] nexus3.edgexfoundry.org:10004 [Pipeline] withEnv [Pipeline] { [2021-04-04T07:14:08.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:14:08.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:14:08.108Z] Configure a credential helper to remove this warning. See [2021-04-04T07:14:08.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:14:08.108Z] [2021-04-04T07:14:08.108Z] Login Succeeded [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-04T07:14:08.398Z] docker.io [2021-04-04T07:14:08.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:14:08.839Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-04T07:14:08.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:14:08.951Z] Configure a credential helper to remove this warning. See [2021-04-04T07:14:08.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:14:08.951Z] [2021-04-04T07:14:08.951Z] Login Succeeded [2021-04-04T07:14:08.951Z] ---> docker-login.sh ends [Pipeline] } [2021-04-04T07:14:08.995Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-04-04T07:14:09.204Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] echo [2021-04-04T07:14:09.463Z] ========================================================= [2021-04-04T07:14:09.463Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-04T07:14:09.463Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:14:09.540Z] + sudo service docker restart [2021-04-04T07:14:09.541Z] + true [2021-04-04T07:14:09.541Z] Redirecting to /bin/systemctl restart docker.service [2021-04-04T07:14:09.842Z] + 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 . [2021-04-04T07:14:10.116Z] Sending build context to Docker daemon 2.34MB [2021-04-04T07:14:10.390Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-04T07:14:10.390Z] Step 2/8 : FROM ${BASE} [2021-04-04T07:14:10.390Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-04T07:14:10.390Z] 5f621e34cdf4: Pulling fs layer [2021-04-04T07:14:10.390Z] a4357932f1b6: Pulling fs layer [2021-04-04T07:14:10.390Z] 18c013af1878: Pulling fs layer [2021-04-04T07:14:10.390Z] 00ac8860ef70: Pulling fs layer [2021-04-04T07:14:10.390Z] 63d7cb157983: Pulling fs layer [2021-04-04T07:14:10.390Z] b116817d02f9: Pulling fs layer [2021-04-04T07:14:10.390Z] 745a02a5169b: Pulling fs layer [2021-04-04T07:14:10.390Z] b116817d02f9: Waiting [2021-04-04T07:14:10.390Z] 00ac8860ef70: Waiting [2021-04-04T07:14:10.390Z] 745a02a5169b: Waiting [2021-04-04T07:14:10.390Z] 63d7cb157983: Waiting [2021-04-04T07:14:10.390Z] 18c013af1878: Verifying Checksum [2021-04-04T07:14:10.390Z] 18c013af1878: Download complete [2021-04-04T07:14:10.390Z] a4357932f1b6: Verifying Checksum [2021-04-04T07:14:10.390Z] a4357932f1b6: Download complete [2021-04-04T07:14:10.390Z] 63d7cb157983: Download complete [2021-04-04T07:14:10.390Z] b116817d02f9: Verifying Checksum [2021-04-04T07:14:10.390Z] b116817d02f9: Download complete [2021-04-04T07:14:10.390Z] 5f621e34cdf4: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-04T07:14:10.545Z] provisioning config files... [2021-04-04T07:14:11.971Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/138@tmp/config4910822794026032594tmp [2021-04-04T07:14:11.975Z] 5f621e34cdf4: Pull complete [2021-04-04T07:14:11.975Z] a4357932f1b6: Pull complete [2021-04-04T07:14:11.975Z] 18c013af1878: Pull complete [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:14:12.350Z] ---> docker-login.sh [2021-04-04T07:14:12.350Z] nexus3.edgexfoundry.org:10001 [2021-04-04T07:14:12.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:14:12.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:14:12.889Z] Configure a credential helper to remove this warning. See [2021-04-04T07:14:12.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:14:12.889Z] [2021-04-04T07:14:12.889Z] Login Succeeded [2021-04-04T07:14:12.889Z] nexus3.edgexfoundry.org:10002 [2021-04-04T07:14:12.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:14:12.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:14:12.889Z] Configure a credential helper to remove this warning. See [2021-04-04T07:14:12.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:14:12.889Z] [2021-04-04T07:14:12.889Z] Login Succeeded [2021-04-04T07:14:12.889Z] nexus3.edgexfoundry.org:10003 [2021-04-04T07:14:13.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:14:13.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:14:13.159Z] Configure a credential helper to remove this warning. See [2021-04-04T07:14:13.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:14:13.159Z] [2021-04-04T07:14:13.159Z] Login Succeeded [2021-04-04T07:14:13.159Z] nexus3.edgexfoundry.org:10004 [2021-04-04T07:14:13.410Z] 745a02a5169b: Verifying Checksum [2021-04-04T07:14:13.410Z] 745a02a5169b: Download complete [2021-04-04T07:14:13.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:14:13.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:14:13.421Z] Configure a credential helper to remove this warning. See [2021-04-04T07:14:13.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:14:13.421Z] [2021-04-04T07:14:13.421Z] Login Succeeded [2021-04-04T07:14:13.421Z] docker.io [2021-04-04T07:14:13.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-04T07:14:13.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-04T07:14:13.685Z] Configure a credential helper to remove this warning. See [2021-04-04T07:14:13.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-04T07:14:13.685Z] [2021-04-04T07:14:13.685Z] Login Succeeded [2021-04-04T07:14:13.685Z] ---> docker-login.sh ends [Pipeline] } [2021-04-04T07:14:13.696Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-04T07:14:14.050Z] ========================================================= [2021-04-04T07:14:14.051Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-04T07:14:14.051Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:14:14.403Z] + 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 . [2021-04-04T07:14:14.671Z] Sending build context to Docker daemon 2.341MB [2021-04-04T07:14:14.671Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-04T07:14:14.671Z] Step 2/8 : FROM ${BASE} [2021-04-04T07:14:14.671Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-04T07:14:14.671Z] 188c0c94c7c5: Pulling fs layer [2021-04-04T07:14:14.671Z] 0ef7d3d256c8: Pulling fs layer [2021-04-04T07:14:14.671Z] de9db76c5a1d: Pulling fs layer [2021-04-04T07:14:14.671Z] bca2f99d35d6: Pulling fs layer [2021-04-04T07:14:14.671Z] 93359f2a8cfa: Pulling fs layer [2021-04-04T07:14:14.671Z] 7c6f9722023f: Pulling fs layer [2021-04-04T07:14:14.671Z] a35cf1a2eb13: Pulling fs layer [2021-04-04T07:14:14.671Z] 93359f2a8cfa: Waiting [2021-04-04T07:14:14.671Z] 7c6f9722023f: Waiting [2021-04-04T07:14:14.671Z] a35cf1a2eb13: Waiting [2021-04-04T07:14:14.671Z] bca2f99d35d6: Waiting [2021-04-04T07:14:14.671Z] de9db76c5a1d: Verifying Checksum [2021-04-04T07:14:14.671Z] de9db76c5a1d: Download complete [2021-04-04T07:14:14.671Z] 0ef7d3d256c8: Download complete [2021-04-04T07:14:14.671Z] 93359f2a8cfa: Download complete [2021-04-04T07:14:14.671Z] 188c0c94c7c5: Verifying Checksum [2021-04-04T07:14:14.671Z] 188c0c94c7c5: Download complete [2021-04-04T07:14:14.671Z] 7c6f9722023f: Verifying Checksum [2021-04-04T07:14:14.671Z] 7c6f9722023f: Download complete [2021-04-04T07:14:14.859Z] 00ac8860ef70: Verifying Checksum [2021-04-04T07:14:14.859Z] 00ac8860ef70: Download complete [2021-04-04T07:14:14.935Z] 188c0c94c7c5: Pull complete [2021-04-04T07:14:15.198Z] 0ef7d3d256c8: Pull complete [2021-04-04T07:14:15.462Z] de9db76c5a1d: Pull complete [2021-04-04T07:14:16.427Z] a35cf1a2eb13: Verifying Checksum [2021-04-04T07:14:16.427Z] a35cf1a2eb13: Download complete [2021-04-04T07:14:17.376Z] bca2f99d35d6: Verifying Checksum [2021-04-04T07:14:17.376Z] bca2f99d35d6: Download complete [2021-04-04T07:14:22.714Z] bca2f99d35d6: Pull complete [2021-04-04T07:14:22.714Z] 93359f2a8cfa: Pull complete [2021-04-04T07:14:23.291Z] 7c6f9722023f: Pull complete [2021-04-04T07:14:25.049Z] 00ac8860ef70: Pull complete [2021-04-04T07:14:25.322Z] 63d7cb157983: Pull complete [2021-04-04T07:14:25.596Z] b116817d02f9: Pull complete [2021-04-04T07:14:27.534Z] a35cf1a2eb13: Pull complete [2021-04-04T07:14:27.535Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-04T07:14:27.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-04T07:14:27.535Z] ---> a62c8e92a672 [2021-04-04T07:14:27.535Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-04T07:14:27.801Z] ---> Running in 479679e0ecc0 [2021-04-04T07:14:28.066Z] Removing intermediate container 479679e0ecc0 [2021-04-04T07:14:28.066Z] ---> 73133c7b84cd [2021-04-04T07:14:28.066Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-04T07:14:28.066Z] ---> Running in e20238975673 [2021-04-04T07:14:29.013Z] 745a02a5169b: Pull complete [2021-04-04T07:14:29.013Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-04T07:14:29.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-04T07:14:29.013Z] ---> b7e6874047d6 [2021-04-04T07:14:29.013Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-04T07:14:29.014Z] Removing intermediate container e20238975673 [2021-04-04T07:14:29.014Z] ---> d994e54dade8 [2021-04-04T07:14:29.014Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-04T07:14:29.014Z] ---> Running in 4efc1939e33d [2021-04-04T07:14:30.408Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-04T07:14:30.984Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-04T07:14:31.559Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-04T07:14:31.560Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-04T07:14:31.560Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-04T07:14:31.823Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-04T07:14:31.823Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-04T07:14:32.086Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-04T07:14:32.086Z] Executing busybox-1.31.1-r19.trigger [2021-04-04T07:14:32.086Z] OK: 167 MiB in 45 packages [2021-04-04T07:14:32.422Z] ---> Running in 94fb6c63cf5c [2021-04-04T07:14:32.422Z] Removing intermediate container 94fb6c63cf5c [2021-04-04T07:14:32.422Z] ---> c0143c87d136 [2021-04-04T07:14:32.422Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-04T07:14:32.422Z] ---> Running in 539cf22d702d [2021-04-04T07:14:32.662Z] Removing intermediate container 4efc1939e33d [2021-04-04T07:14:32.662Z] ---> e8c0c41a1742 [2021-04-04T07:14:32.662Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-04T07:14:32.662Z] ---> Running in 2681293b2dc7 [2021-04-04T07:14:32.925Z] Removing intermediate container 2681293b2dc7 [2021-04-04T07:14:32.925Z] ---> e4733d9dfe2e [2021-04-04T07:14:32.925Z] Step 7/8 : COPY . . [2021-04-04T07:14:34.318Z] ---> 4aefcd8e5520 [2021-04-04T07:14:34.318Z] Step 8/8 : RUN go mod download [2021-04-04T07:14:34.318Z] ---> Running in e81f42344739 [2021-04-04T07:14:35.062Z] Removing intermediate container 539cf22d702d [2021-04-04T07:14:35.062Z] ---> 6d8c028e2279 [2021-04-04T07:14:35.062Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-04T07:14:35.062Z] ---> Running in 189096cbe8d2 [2021-04-04T07:14:36.045Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-04T07:14:36.635Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-04T07:14:37.224Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-04T07:14:37.224Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-04T07:14:37.495Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-04T07:14:37.495Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-04T07:14:37.495Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-04T07:14:37.765Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-04T07:14:37.765Z] Executing busybox-1.31.1-r19.trigger [2021-04-04T07:14:37.765Z] OK: 144 MiB in 45 packages [2021-04-04T07:14:39.205Z] Removing intermediate container 189096cbe8d2 [2021-04-04T07:14:39.205Z] ---> ab91d011c9a6 [2021-04-04T07:14:39.205Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-04T07:14:39.205Z] ---> Running in a2de1b214283 [2021-04-04T07:14:39.803Z] Removing intermediate container a2de1b214283 [2021-04-04T07:14:39.803Z] ---> b4da8f3f06cc [2021-04-04T07:14:39.803Z] Step 7/8 : COPY . . [2021-04-04T07:14:41.247Z] ---> c829c01c676e [2021-04-04T07:14:41.247Z] Step 8/8 : RUN go mod download [2021-04-04T07:14:41.247Z] ---> Running in c0da94efcf21 [2021-04-04T07:15:00.969Z] Removing intermediate container e81f42344739 [2021-04-04T07:15:00.969Z] ---> 09751ce51bee [2021-04-04T07:15:00.969Z] Successfully built 09751ce51bee [2021-04-04T07:15:00.969Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:15:01.284Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-04T07:15:01.284Z] . [Pipeline] withDockerContainer [2021-04-04T07:15:01.518Z] prd-centos7-docker-4c-2g-32711 does not seem to be running inside a container [2021-04-04T07:15:01.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/138 -v /w/workspace/device-sdk-go/138:/w/workspace/device-sdk-go/138:rw,z -v /w/workspace/device-sdk-go/138@tmp:/w/workspace/device-sdk-go/138@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 [2021-04-04T07:15:02.532Z] $ docker top 2af3ffade694a14eda6d34e496b53bd5f5a4b73b039f150d7b7ccf47b8fff63f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-04T07:15:03.074Z] + go version [2021-04-04T07:15:03.074Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-04T07:15:03.087Z] $ docker stop --time=1 2af3ffade694a14eda6d34e496b53bd5f5a4b73b039f150d7b7ccf47b8fff63f [2021-04-04T07:15:04.433Z] $ docker rm -f 2af3ffade694a14eda6d34e496b53bd5f5a4b73b039f150d7b7ccf47b8fff63f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:15:05.295Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-04T07:15:05.295Z] . [Pipeline] withDockerContainer [2021-04-04T07:15:05.392Z] prd-centos7-docker-4c-2g-32711 does not seem to be running inside a container [2021-04-04T07:15:05.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/138 -v /w/workspace/device-sdk-go/138:/w/workspace/device-sdk-go/138:rw,z -v /w/workspace/device-sdk-go/138@tmp:/w/workspace/device-sdk-go/138@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 [2021-04-04T07:15:06.071Z] $ docker top 452aad2e82cd7941d00360e28ed04999a2c6915be717bd51ecdff413bff6d9e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-04T07:15:06.547Z] + make test [2021-04-04T07:15:06.547Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-04T07:15:08.045Z] Removing intermediate container c0da94efcf21 [2021-04-04T07:15:08.045Z] ---> 798a6454fc54 [2021-04-04T07:15:08.045Z] Successfully built 798a6454fc54 [2021-04-04T07:15:08.045Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:15:08.393Z] + docker inspect -f . ci-base-image-arm64 [2021-04-04T07:15:08.393Z] . [Pipeline] withDockerContainer [2021-04-04T07:15:08.660Z] prd-ubuntu18.04-docker-arm64-4c-16g-32709 does not seem to be running inside a container [2021-04-04T07:15:08.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/138 -v /w/workspace/device-sdk-go/138:/w/workspace/device-sdk-go/138:rw,z -v /w/workspace/device-sdk-go/138@tmp:/w/workspace/device-sdk-go/138@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 [2021-04-04T07:15:10.292Z] $ docker top 1aae0d45f461c8f84afb855294f5df9b088e3304f098d9fee8ec8beb1c3e7b30 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-04T07:15:11.323Z] + go version [2021-04-04T07:15:11.323Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-04T07:15:11.354Z] $ docker stop --time=1 1aae0d45f461c8f84afb855294f5df9b088e3304f098d9fee8ec8beb1c3e7b30 [2021-04-04T07:15:13.308Z] $ docker rm -f 1aae0d45f461c8f84afb855294f5df9b088e3304f098d9fee8ec8beb1c3e7b30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:15:14.286Z] + docker inspect -f . ci-base-image-arm64 [2021-04-04T07:15:14.286Z] . [Pipeline] withDockerContainer [2021-04-04T07:15:14.544Z] prd-ubuntu18.04-docker-arm64-4c-16g-32709 does not seem to be running inside a container [2021-04-04T07:15:14.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/138 -v /w/workspace/device-sdk-go/138:/w/workspace/device-sdk-go/138:rw,z -v /w/workspace/device-sdk-go/138@tmp:/w/workspace/device-sdk-go/138@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 [2021-04-04T07:15:14.752Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-04T07:15:16.159Z] $ docker top 581ca230b58e2ba11ba9f5c12803536e5c705a6b4c3992b82a99994dab413698 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-04T07:15:17.191Z] + make test [2021-04-04T07:15:17.191Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-04T07:15:33.033Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-04T07:15:33.033Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-04T07:15:33.033Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-04T07:15:33.033Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-04T07:15:33.033Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-04T07:15:38.391Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.072s coverage: 28.1% of statements [2021-04-04T07:15:38.391Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.082s coverage: 81.2% of statements [2021-04-04T07:15:38.391Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.083s coverage: 7.8% of statements [2021-04-04T07:15:38.391Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-04T07:15:38.391Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-04T07:15:38.391Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-04T07:15:38.391Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.095s coverage: 32.5% of statements [2021-04-04T07:15:38.391Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-04T07:15:38.391Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-04T07:15:38.391Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-04T07:15:39.396Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-04T07:15:39.807Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 57.3% of statements [2021-04-04T07:15:40.382Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.192s coverage: 6.6% of statements [2021-04-04T07:15:40.382Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-04T07:15:40.382Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-04T07:15:40.382Z] GO111MODULE=on go vet ./... [2021-04-04T07:15:55.423Z] gofmt -l . [2021-04-04T07:15:55.423Z] [ "`gofmt -l .`" = "" ] [2021-04-04T07:15:55.423Z] ./bin/test-attribution-txt.sh [2021-04-04T07:15:55.998Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-04T07:15:56.277Z] $ docker stop --time=1 452aad2e82cd7941d00360e28ed04999a2c6915be717bd51ecdff413bff6d9e6 [2021-04-04T07:15:58.525Z] $ docker rm -f 452aad2e82cd7941d00360e28ed04999a2c6915be717bd51ecdff413bff6d9e6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-04T07:15:59.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-04T07:15:59.558Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-04T07:16:02.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-04T07:16:02.656Z] + ls -al . [2021-04-04T07:16:02.656Z] total 188 [2021-04-04T07:16:02.656Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 4 07:15 . [2021-04-04T07:16:02.656Z] drwxrwxr-x. 4 jenkins jenkins 32 Apr 4 07:14 .. [2021-04-04T07:16:02.656Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 4 07:14 bin [2021-04-04T07:16:02.656Z] -rw-r--r--. 1 jenkins jenkins 101239 Apr 4 07:15 coverage.out [2021-04-04T07:16:02.656Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 4 07:14 Dockerfile.build [2021-04-04T07:16:02.656Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 4 07:14 .dockerignore [2021-04-04T07:16:02.656Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 4 07:14 example [2021-04-04T07:16:02.656Z] drwxrwxr-x. 8 jenkins jenkins 162 Apr 4 07:14 .git [2021-04-04T07:16:02.656Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 4 07:14 .github [2021-04-04T07:16:02.656Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 4 07:14 .gitignore [2021-04-04T07:16:02.656Z] -rw-r--r--. 1 jenkins jenkins 537 Apr 4 07:15 go.mod [2021-04-04T07:16:02.656Z] -rw-r--r--. 1 jenkins jenkins 20946 Apr 4 07:15 go.sum [2021-04-04T07:16:02.656Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 4 07:14 internal [2021-04-04T07:16:02.656Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 4 07:14 Jenkinsfile [2021-04-04T07:16:02.656Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 4 07:14 LICENSE [2021-04-04T07:16:02.656Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 4 07:14 Makefile [2021-04-04T07:16:02.656Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 4 07:14 openapi [2021-04-04T07:16:02.656Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 4 07:14 pkg [2021-04-04T07:16:02.656Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 4 07:14 README.md [2021-04-04T07:16:02.656Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 4 07:14 RELEASE-NOTES.txt [2021-04-04T07:16:02.656Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 4 07:14 snap [2021-04-04T07:16:02.656Z] -rw-rw-r--. 1 jenkins jenkins 12 Apr 4 07:11 VERSION [2021-04-04T07:16:02.656Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 4 07:14 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:16:02.966Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=119be5743e00329d34d55769b1b512288156e580 --label arch=amd64 --label version=2.0.0-dev.33 . [2021-04-04T07:16:03.228Z] Sending build context to Docker daemon 2.443MB [2021-04-04T07:16:03.228Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-04T07:16:03.228Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-04T07:16:03.228Z] ---> 09751ce51bee [2021-04-04T07:16:03.228Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-04T07:16:03.806Z] ---> Running in e5e8256046c0 [2021-04-04T07:16:04.069Z] Removing intermediate container e5e8256046c0 [2021-04-04T07:16:04.069Z] ---> 421bac515dfa [2021-04-04T07:16:04.069Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-04T07:16:04.069Z] ---> Running in 57bbc20387f8 [2021-04-04T07:16:04.069Z] Removing intermediate container 57bbc20387f8 [2021-04-04T07:16:04.069Z] ---> 3719bcf093df [2021-04-04T07:16:04.069Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-04T07:16:04.332Z] ---> Running in 8c770d560de3 [2021-04-04T07:16:04.907Z] Removing intermediate container 8c770d560de3 [2021-04-04T07:16:04.907Z] ---> 4bd5fe8741d2 [2021-04-04T07:16:04.907Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-04T07:16:05.171Z] ---> Running in e2a1de5848ce [2021-04-04T07:16:05.434Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-04T07:16:06.380Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-04T07:16:06.643Z] OK: 167 MiB in 45 packages [2021-04-04T07:16:07.219Z] Removing intermediate container e2a1de5848ce [2021-04-04T07:16:07.219Z] ---> 9b1e5a6f5be3 [2021-04-04T07:16:07.219Z] Step 7/23 : COPY . . [2021-04-04T07:16:08.168Z] ---> b8755d25bbee [2021-04-04T07:16:08.168Z] Step 8/23 : RUN go mod download [2021-04-04T07:16:08.168Z] ---> Running in d72f03beb4cb [2021-04-04T07:16:09.570Z] Removing intermediate container d72f03beb4cb [2021-04-04T07:16:09.570Z] ---> b9bc7ea1e733 [2021-04-04T07:16:09.570Z] Step 9/23 : RUN make build [2021-04-04T07:16:09.570Z] ---> Running in 4f11595b14dd [2021-04-04T07:16:09.839Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.33" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-04T07:16:22.174Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-04T07:16:22.437Z] Removing intermediate container 4f11595b14dd [2021-04-04T07:16:22.437Z] ---> 680e746bd766 [2021-04-04T07:16:22.437Z] Step 10/23 : FROM alpine:3.12 [2021-04-04T07:16:22.700Z] 3.12: Pulling from library/alpine [2021-04-04T07:16:22.963Z] 532819f3e44c: Pulling fs layer [2021-04-04T07:16:22.963Z] 532819f3e44c: Verifying Checksum [2021-04-04T07:16:22.963Z] 532819f3e44c: Download complete [2021-04-04T07:16:23.228Z] 532819f3e44c: Pull complete [2021-04-04T07:16:23.228Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-04T07:16:23.228Z] Status: Downloaded newer image for alpine:3.12 [2021-04-04T07:16:23.228Z] ---> 7230e588e954 [2021-04-04T07:16:23.228Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-04T07:16:24.191Z] ---> Running in c78513918b55 [2021-04-04T07:16:24.460Z] Removing intermediate container c78513918b55 [2021-04-04T07:16:24.460Z] ---> 290808e2a6a9 [2021-04-04T07:16:24.460Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-04T07:16:24.460Z] ---> Running in 8691e0a7dcff [2021-04-04T07:16:25.409Z] Removing intermediate container 8691e0a7dcff [2021-04-04T07:16:25.409Z] ---> d89198b1850e [2021-04-04T07:16:25.409Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-04T07:16:25.409Z] ---> Running in 5b7d894209fd [2021-04-04T07:16:26.003Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-04T07:16:26.954Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-04T07:16:30.269Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-04T07:16:30.269Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-04T07:16:30.269Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-04T07:16:31.664Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-04T07:16:32.240Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-04T07:16:32.240Z] Executing busybox-1.31.1-r20.trigger [2021-04-04T07:16:32.506Z] OK: 8 MiB in 19 packages [2021-04-04T07:16:32.769Z] Removing intermediate container 5b7d894209fd [2021-04-04T07:16:32.769Z] ---> 2fe31d3d69d1 [2021-04-04T07:16:32.769Z] Step 14/23 : WORKDIR / [2021-04-04T07:16:33.031Z] ---> Running in f35a3b1a487d [2021-04-04T07:16:33.031Z] Removing intermediate container f35a3b1a487d [2021-04-04T07:16:33.031Z] ---> 93b247d7e295 [2021-04-04T07:16:33.031Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-04T07:16:33.297Z] ---> 0af956e1217e [2021-04-04T07:16:33.297Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-04T07:16:33.875Z] ---> 0e6b731c58bb [2021-04-04T07:16:33.875Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-04T07:16:34.460Z] ---> df5defc3d261 [2021-04-04T07:16:34.460Z] Step 18/23 : EXPOSE 49990 [2021-04-04T07:16:34.460Z] ---> Running in 89d4031afd25 [2021-04-04T07:16:34.460Z] Removing intermediate container 89d4031afd25 [2021-04-04T07:16:34.460Z] ---> 4a3751285888 [2021-04-04T07:16:34.460Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-04T07:16:34.723Z] ---> Running in e625cc155865 [2021-04-04T07:16:34.723Z] Removing intermediate container e625cc155865 [2021-04-04T07:16:34.723Z] ---> 21fc939e7cf0 [2021-04-04T07:16:34.723Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-04T07:16:34.723Z] ---> Running in 6ad43559d939 [2021-04-04T07:16:34.989Z] Removing intermediate container 6ad43559d939 [2021-04-04T07:16:34.989Z] ---> 398d7e885259 [2021-04-04T07:16:34.989Z] Step 21/23 : LABEL arch=amd64 [2021-04-04T07:16:34.989Z] ---> Running in 641f75e448dc [2021-04-04T07:16:35.254Z] Removing intermediate container 641f75e448dc [2021-04-04T07:16:35.254Z] ---> cc8a6404ae9a [2021-04-04T07:16:35.254Z] Step 22/23 : LABEL git_sha=119be5743e00329d34d55769b1b512288156e580 [2021-04-04T07:16:35.254Z] ---> Running in e1797520ad8d [2021-04-04T07:16:35.518Z] Removing intermediate container e1797520ad8d [2021-04-04T07:16:35.518Z] ---> 93e3fdb67827 [2021-04-04T07:16:35.518Z] Step 23/23 : LABEL version=2.0.0-dev.33 [2021-04-04T07:16:35.518Z] ---> Running in dad9616326fd [2021-04-04T07:16:35.781Z] Removing intermediate container dad9616326fd [2021-04-04T07:16:35.781Z] ---> c054962f7ae3 [2021-04-04T07:16:35.781Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-04T07:16:35.781Z] Successfully built c054962f7ae3 [2021-04-04T07:16:35.781Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-04-04T07:16:35.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-04T07:16:35.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-04T07:16:35.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-04T07:16:35.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-04T07:16:35.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:16:36.818Z] ---> job-cost.sh [2021-04-04T07:16:36.818Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xRN8 [2021-04-04T07:16:37.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.145s coverage: 28.1% of statements [2021-04-04T07:16:39.411Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.234s coverage: 81.2% of statements [2021-04-04T07:16:39.411Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.142s coverage: 7.8% of statements [2021-04-04T07:16:39.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-04T07:16:39.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-04T07:16:39.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-04T07:16:40.013Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.254s coverage: 32.5% of statements [2021-04-04T07:16:40.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-04T07:16:40.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-04T07:16:40.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-04T07:16:44.346Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.279s coverage: 57.3% of statements [2021-04-04T07:16:44.346Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.036s coverage: 6.6% of statements [2021-04-04T07:16:44.616Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements [2021-04-04T07:16:44.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-04T07:16:44.886Z] GO111MODULE=on go vet ./... [2021-04-04T07:16:51.752Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-04T07:17:18.382Z] lf-activate-venv(): INFO: Adding /tmp/venv-xRN8/bin to PATH [2021-04-04T07:17:18.382Z] INFO: No Stack... [2021-04-04T07:17:19.772Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-04T07:17:20.345Z] INFO: Archiving Costs [Pipeline] sh [2021-04-04T07:17:20.650Z] + cat /w/workspace/device-sdk-go/138/archives/cost.csv [2021-04-04T07:17:20.650Z] + cut -d, -f6 [Pipeline] lock [2021-04-04T07:17:20.726Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-138-stack-cost] [2021-04-04T07:17:20.740Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-138-stack-cost] did not exist. Created. [2021-04-04T07:17:20.740Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-04T07:17:21.138Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-04T07:17:21.308Z] Stashed 1 file(s) [Pipeline] } [2021-04-04T07:17:21.322Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-138-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-04T07:17:31.969Z] gofmt -l . [2021-04-04T07:17:31.969Z] [ "`gofmt -l .`" = "" ] [2021-04-04T07:17:31.969Z] ./bin/test-attribution-txt.sh [2021-04-04T07:17:32.566Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-04T07:17:33.215Z] $ docker stop --time=1 581ca230b58e2ba11ba9f5c12803536e5c705a6b4c3992b82a99994dab413698 [2021-04-04T07:17:35.654Z] $ docker rm -f 581ca230b58e2ba11ba9f5c12803536e5c705a6b4c3992b82a99994dab413698 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-04T07:17:36.824Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-04T07:17:36.887Z] Warning: overwriting stash ‘coverage-report’ [2021-04-04T07:17:37.699Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-04T07:17:38.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-04T07:17:38.679Z] + ls -al . [2021-04-04T07:17:38.679Z] total 224 [2021-04-04T07:17:38.679Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 07:17 . [2021-04-04T07:17:38.679Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 07:13 .. [2021-04-04T07:17:38.679Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 4 07:13 .dockerignore [2021-04-04T07:17:38.679Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 07:13 .git [2021-04-04T07:17:38.679Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 07:13 .github [2021-04-04T07:17:38.679Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 4 07:13 .gitignore [2021-04-04T07:17:38.679Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 4 07:13 Dockerfile.build [2021-04-04T07:17:38.679Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 4 07:13 Jenkinsfile [2021-04-04T07:17:38.679Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 4 07:13 LICENSE [2021-04-04T07:17:38.680Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 4 07:13 Makefile [2021-04-04T07:17:38.680Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 4 07:13 README.md [2021-04-04T07:17:38.680Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 4 07:13 RELEASE-NOTES.txt [2021-04-04T07:17:38.680Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 4 07:11 VERSION [2021-04-04T07:17:38.680Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 07:13 bin [2021-04-04T07:17:38.680Z] -rw-r--r-- 1 jenkins jenkins 101239 Apr 4 07:16 coverage.out [2021-04-04T07:17:38.680Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 4 07:13 example [2021-04-04T07:17:38.680Z] -rw-r--r-- 1 jenkins jenkins 537 Apr 4 07:17 go.mod [2021-04-04T07:17:38.680Z] -rw-r--r-- 1 jenkins jenkins 20946 Apr 4 07:17 go.sum [2021-04-04T07:17:38.680Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 4 07:13 internal [2021-04-04T07:17:38.680Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 07:13 openapi [2021-04-04T07:17:38.680Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 4 07:13 pkg [2021-04-04T07:17:38.680Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 07:13 snap [2021-04-04T07:17:38.680Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 4 07:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:17:39.028Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=119be5743e00329d34d55769b1b512288156e580 --label arch=arm64 --label version=2.0.0-dev.33 . [2021-04-04T07:17:39.625Z] Sending build context to Docker daemon 2.442MB [2021-04-04T07:17:39.625Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-04T07:17:39.625Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-04T07:17:39.625Z] ---> 798a6454fc54 [2021-04-04T07:17:39.625Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-04T07:17:39.897Z] ---> Running in 47f1db2df76d [2021-04-04T07:17:40.500Z] Removing intermediate container 47f1db2df76d [2021-04-04T07:17:40.500Z] ---> 37af9b591912 [2021-04-04T07:17:40.500Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-04T07:17:40.500Z] ---> Running in 72cd4b34a21d [2021-04-04T07:17:41.093Z] Removing intermediate container 72cd4b34a21d [2021-04-04T07:17:41.093Z] ---> 076a744d72da [2021-04-04T07:17:41.094Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-04T07:17:41.094Z] ---> Running in 61a4308e985e [2021-04-04T07:17:43.711Z] Removing intermediate container 61a4308e985e [2021-04-04T07:17:43.711Z] ---> 3899eae2640e [2021-04-04T07:17:43.711Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-04T07:17:43.711Z] ---> Running in c5b918dbc41c [2021-04-04T07:17:44.685Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-04T07:17:45.660Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-04T07:17:46.632Z] OK: 144 MiB in 45 packages [2021-04-04T07:17:47.619Z] Removing intermediate container c5b918dbc41c [2021-04-04T07:17:47.619Z] ---> 20ef2bd4b6eb [2021-04-04T07:17:47.619Z] Step 7/23 : COPY . . [2021-04-04T07:17:49.050Z] ---> 06d75deb0d8c [2021-04-04T07:17:49.050Z] Step 8/23 : RUN go mod download [2021-04-04T07:17:49.050Z] ---> Running in 8c55378246b3 [2021-04-04T07:17:51.680Z] Removing intermediate container 8c55378246b3 [2021-04-04T07:17:51.680Z] ---> 8079d9778047 [2021-04-04T07:17:51.680Z] Step 9/23 : RUN make build [2021-04-04T07:17:51.680Z] ---> Running in bda3cfa6b563 [2021-04-04T07:17:52.659Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.33" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-04T07:18:25.041Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-04T07:18:27.023Z] Removing intermediate container bda3cfa6b563 [2021-04-04T07:18:27.023Z] ---> 8794397769cc [2021-04-04T07:18:27.023Z] Step 10/23 : FROM alpine:3.12 [2021-04-04T07:18:27.615Z] 3.12: Pulling from library/alpine [2021-04-04T07:18:27.615Z] 9a219e8acc52: Pulling fs layer [2021-04-04T07:18:27.887Z] 9a219e8acc52: Verifying Checksum [2021-04-04T07:18:27.887Z] 9a219e8acc52: Download complete [2021-04-04T07:18:28.478Z] 9a219e8acc52: Pull complete [2021-04-04T07:18:28.478Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-04T07:18:28.478Z] Status: Downloaded newer image for alpine:3.12 [2021-04-04T07:18:28.478Z] ---> d75e27dfc0a0 [2021-04-04T07:18:28.478Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-04T07:18:28.752Z] ---> Running in f5de9f7f65a6 [2021-04-04T07:18:29.024Z] Removing intermediate container f5de9f7f65a6 [2021-04-04T07:18:29.024Z] ---> 04d7eaa5d85b [2021-04-04T07:18:29.024Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-04T07:18:29.309Z] ---> Running in ead005f014fb [2021-04-04T07:18:31.291Z] Removing intermediate container ead005f014fb [2021-04-04T07:18:31.291Z] ---> e719e3664eaa [2021-04-04T07:18:31.291Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-04T07:18:31.291Z] ---> Running in 943acf8ce262 [2021-04-04T07:18:32.724Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-04T07:18:33.312Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-04T07:18:34.282Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-04T07:18:34.282Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-04T07:18:34.282Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-04T07:18:34.554Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-04T07:18:34.824Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-04T07:18:34.824Z] Executing busybox-1.31.1-r20.trigger [2021-04-04T07:18:34.824Z] OK: 8 MiB in 19 packages [2021-04-04T07:18:36.255Z] Removing intermediate container 943acf8ce262 [2021-04-04T07:18:36.255Z] ---> c3bdfeaf3c55 [2021-04-04T07:18:36.255Z] Step 14/23 : WORKDIR / [2021-04-04T07:18:36.255Z] ---> Running in 1bc942310f9a [2021-04-04T07:18:36.849Z] Removing intermediate container 1bc942310f9a [2021-04-04T07:18:36.849Z] ---> f5ff4f1c307f [2021-04-04T07:18:36.849Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-04T07:18:37.445Z] ---> 6df494ad8b1a [2021-04-04T07:18:37.445Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-04T07:18:38.881Z] ---> 5e438799a91c [2021-04-04T07:18:38.881Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-04T07:18:39.477Z] ---> 9d7df6133678 [2021-04-04T07:18:39.477Z] Step 18/23 : EXPOSE 49990 [2021-04-04T07:18:39.477Z] ---> Running in 3ee4987df30b [2021-04-04T07:18:39.750Z] Removing intermediate container 3ee4987df30b [2021-04-04T07:18:39.750Z] ---> d93a8f0b1e2a [2021-04-04T07:18:39.750Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-04T07:18:40.024Z] ---> Running in 04e9b136b233 [2021-04-04T07:18:40.615Z] Removing intermediate container 04e9b136b233 [2021-04-04T07:18:40.615Z] ---> 78a916ccb494 [2021-04-04T07:18:40.615Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-04T07:18:40.615Z] ---> Running in b060f1d52dca [2021-04-04T07:18:40.887Z] Removing intermediate container b060f1d52dca [2021-04-04T07:18:40.887Z] ---> a3706fcfc570 [2021-04-04T07:18:40.887Z] Step 21/23 : LABEL arch=arm64 [2021-04-04T07:18:41.158Z] ---> Running in 93c583d10152 [2021-04-04T07:18:41.750Z] Removing intermediate container 93c583d10152 [2021-04-04T07:18:41.750Z] ---> 8fd3fd71af04 [2021-04-04T07:18:41.750Z] Step 22/23 : LABEL git_sha=119be5743e00329d34d55769b1b512288156e580 [2021-04-04T07:18:41.750Z] ---> Running in 02ba816cd1aa [2021-04-04T07:18:42.020Z] Removing intermediate container 02ba816cd1aa [2021-04-04T07:18:42.020Z] ---> 7c337a3b52d2 [2021-04-04T07:18:42.020Z] Step 23/23 : LABEL version=2.0.0-dev.33 [2021-04-04T07:18:42.296Z] ---> Running in ffa01fb744d6 [2021-04-04T07:18:42.572Z] Removing intermediate container ffa01fb744d6 [2021-04-04T07:18:42.572Z] ---> fc0ba96e9a79 [2021-04-04T07:18:42.572Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-04T07:18:42.842Z] Successfully built fc0ba96e9a79 [2021-04-04T07:18:42.842Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:18:43.611Z] ---> job-cost.sh [2021-04-04T07:18:43.611Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RZHN [2021-04-04T07:19:22.558Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-04T07:20:44.284Z] lf-activate-venv(): INFO: Adding /tmp/venv-RZHN/bin to PATH [2021-04-04T07:20:44.284Z] INFO: No Stack... [2021-04-04T07:20:45.262Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-04T07:20:45.532Z] INFO: Archiving Costs [Pipeline] sh [2021-04-04T07:20:45.873Z] + cat /w/workspace/device-sdk-go/138/archives/cost.csv [2021-04-04T07:20:45.873Z] + cut -d, -f6 [Pipeline] lock [2021-04-04T07:20:45.983Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-138-stack-cost] [2021-04-04T07:20:45.992Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-138-stack-cost] did not exist. Created. [2021-04-04T07:20:45.992Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-04T07:20:46.444Z] /w/workspace/device-sdk-go/138@tmp/durable-996a7f8f/script.sh: 1: /w/workspace/device-sdk-go/138@tmp/durable-996a7f8f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-04T07:20:46.793Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-04T07:20:46.860Z] Warning: overwriting stash ‘stack-cost’ [2021-04-04T07:20:47.014Z] Stashed 1 file(s) [Pipeline] } [2021-04-04T07:20:47.032Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-138-stack-cost] [Pipeline] // lock [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 [2021-04-04T07:20:48.499Z] provisioning config files... [2021-04-04T07:20:48.513Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config564947165212399795tmp [Pipeline] { [Pipeline] sh [2021-04-04T07:20:48.887Z] + set +x [2021-04-04T07:20:48.888Z] + curl -s https://codecov.io/bash [2021-04-04T07:20:48.888Z] + bash -s -- [2021-04-04T07:20:49.151Z] [2021-04-04T07:20:49.151Z] _____ _ [2021-04-04T07:20:49.151Z] / ____| | | [2021-04-04T07:20:49.151Z] | | ___ __| | ___ ___ _____ __ [2021-04-04T07:20:49.151Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-04T07:20:49.151Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-04T07:20:49.151Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-04T07:20:49.151Z] Bash-20210309-2b87ace [2021-04-04T07:20:49.151Z] [2021-04-04T07:20:49.151Z] [2021-04-04T07:20:49.151Z] ==> git version 2.24.3 found [2021-04-04T07:20:49.151Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-04T07:20:49.151Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-04T07:20:49.151Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-04T07:20:49.151Z] ==> Jenkins CI detected. [2021-04-04T07:20:49.151Z] project root: . [2021-04-04T07:20:49.151Z] --> token set from env [2021-04-04T07:20:49.151Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-04T07:20:49.151Z] ==> Running gcov in . (disable via -X gcov) [2021-04-04T07:20:49.151Z] ==> Python coveragepy not found [2021-04-04T07:20:49.151Z] ==> Searching for coverage reports in: [2021-04-04T07:20:49.151Z] + . [2021-04-04T07:20:49.151Z] -> Found 1 reports [2021-04-04T07:20:49.151Z] ==> Detecting git/mercurial file structure [2021-04-04T07:20:49.151Z] ==> Reading reports [2021-04-04T07:20:49.151Z] + ./coverage.out bytes=101239 [2021-04-04T07:20:49.151Z] ==> Appending adjustments [2021-04-04T07:20:49.151Z] https://docs.codecov.io/docs/fixing-reports [2021-04-04T07:20:49.416Z] + Found adjustments [2021-04-04T07:20:49.416Z] ==> Gzipping contents [2021-04-04T07:20:49.416Z] 16K /tmp/codecov.61m8Yt.gz [2021-04-04T07:20:49.416Z] ==> Uploading reports [2021-04-04T07:20:49.416Z] url: https://codecov.io [2021-04-04T07:20:49.416Z] query: branch=master&commit=119be5743e00329d34d55769b1b512288156e580&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-04T07:20:49.416Z] -> Pinging Codecov [2021-04-04T07:20:49.416Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=119be5743e00329d34d55769b1b512288156e580&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-04T07:20:49.991Z] -> Uploading to [2021-04-04T07:20:49.991Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-04/7E55EF52A471D76F132DFD9A03CDDE97/119be5743e00329d34d55769b1b512288156e580/04d084aa-e8ba-411e-9ce9-e8a04e6d2d6b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210404T072049Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d32b5a9a82d9efd85f37f083d5bff660150b91af4bfbd65f63f69b7e733dec57 [2021-04-04T07:20:49.991Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-04T07:20:49.991Z] Dload Upload Total Spent Left Speed [2021-04-04T07:20:50.254Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13686 0 0 100 13686 0 34842 --:--:-- --:--:-- --:--:-- 34913 [2021-04-04T07:20:50.254Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/119be5743e00329d34d55769b1b512288156e580 [Pipeline] } [2021-04-04T07:20:50.264Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-04T07:20:51.151Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-04T07:20:51.207Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:20:51.551Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-04T07:20:51.551Z] [2021-04-04T07:20:51.551Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:20:51.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-04T07:20:51.907Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-04T07:20:51.907Z] 188c0c94c7c5: Pulling fs layer [2021-04-04T07:20:51.907Z] 0ef7d3d256c8: Pulling fs layer [2021-04-04T07:20:51.907Z] de9db76c5a1d: Pulling fs layer [2021-04-04T07:20:51.907Z] 0eba1c9be4d2: Pulling fs layer [2021-04-04T07:20:51.907Z] 0d57e429df01: Pulling fs layer [2021-04-04T07:20:51.907Z] 4e4be7b47b0d: Pulling fs layer [2021-04-04T07:20:51.907Z] e1f770b5df2f: Pulling fs layer [2021-04-04T07:20:51.907Z] 85a0685a4137: Pulling fs layer [2021-04-04T07:20:51.907Z] 0d57e429df01: Waiting [2021-04-04T07:20:51.907Z] 4e4be7b47b0d: Waiting [2021-04-04T07:20:51.907Z] e1f770b5df2f: Waiting [2021-04-04T07:20:51.907Z] 85a0685a4137: Waiting [2021-04-04T07:20:51.907Z] 0eba1c9be4d2: Waiting [2021-04-04T07:20:51.907Z] de9db76c5a1d: Verifying Checksum [2021-04-04T07:20:51.907Z] de9db76c5a1d: Download complete [2021-04-04T07:20:51.907Z] 0ef7d3d256c8: Verifying Checksum [2021-04-04T07:20:51.907Z] 0ef7d3d256c8: Download complete [2021-04-04T07:20:51.907Z] 0d57e429df01: Verifying Checksum [2021-04-04T07:20:51.907Z] 0d57e429df01: Download complete [2021-04-04T07:20:51.907Z] 188c0c94c7c5: Verifying Checksum [2021-04-04T07:20:51.907Z] 188c0c94c7c5: Download complete [2021-04-04T07:20:51.907Z] 4e4be7b47b0d: Download complete [2021-04-04T07:20:52.485Z] 188c0c94c7c5: Pull complete [2021-04-04T07:20:52.485Z] 0ef7d3d256c8: Pull complete [2021-04-04T07:20:52.747Z] de9db76c5a1d: Pull complete [2021-04-04T07:20:54.138Z] e1f770b5df2f: Verifying Checksum [2021-04-04T07:20:54.138Z] e1f770b5df2f: Download complete [2021-04-04T07:20:55.569Z] 0eba1c9be4d2: Verifying Checksum [2021-04-04T07:20:55.569Z] 0eba1c9be4d2: Download complete [2021-04-04T07:20:56.150Z] 85a0685a4137: Verifying Checksum [2021-04-04T07:20:56.150Z] 85a0685a4137: Download complete [2021-04-04T07:21:00.378Z] 0eba1c9be4d2: Pull complete [2021-04-04T07:21:00.641Z] 0d57e429df01: Pull complete [2021-04-04T07:21:00.641Z] 4e4be7b47b0d: Pull complete [2021-04-04T07:21:03.204Z] e1f770b5df2f: Pull complete [2021-04-04T07:21:11.389Z] 85a0685a4137: Pull complete [2021-04-04T07:21:11.389Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-04T07:21:11.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-04T07:21:11.389Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-04T07:21:11.587Z] prd-centos7-docker-4c-2g-32708 does not seem to be running inside a container [2021-04-04T07:21:11.640Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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-devops/edgex-snyk-go:1.410.4 cat [2021-04-04T07:21:13.167Z] $ docker top c7d4225efd623cb2c4d5b809014e11aa304e2af245525c48a07af04f900f7a8b -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-04T07:21:13.407Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-04T07:21:13.702Z] + set -o pipefail [2021-04-04T07:21:13.702Z] + snyk monitor '--org=edgex-jenkins' [2021-04-04T07:21:21.900Z] [2021-04-04T07:21:21.900Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-04-04T07:21:21.900Z] [2021-04-04T07:21:21.900Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/6955b985-f537-461b-9a7a-d3981466269a [2021-04-04T07:21:21.900Z] [2021-04-04T07:21:21.900Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-04T07:21:21.900Z] [2021-04-04T07:21:21.900Z] [2021-04-04T07:21:21.900Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2021-04-04T07:21:21.900Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-04-04T07:21:21.914Z] $ docker stop --time=1 c7d4225efd623cb2c4d5b809014e11aa304e2af245525c48a07af04f900f7a8b [2021-04-04T07:21:24.622Z] $ docker rm -f c7d4225efd623cb2c4d5b809014e11aa304e2af245525c48a07af04f900f7a8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-04-04T07:21:25.886Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-04T07:21:25.937Z] provisioning config files... [2021-04-04T07:21:25.953Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5764703112351374165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:21:26.322Z] --> edgex-publish-swagger.sh [2021-04-04T07:21:26.322Z] === Publish openapi/v1 API === [2021-04-04T07:21:26.322Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-04-04T07:21:26.322Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-04-04T07:21:26.322Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-04T07:21:26.322Z] Dload Upload Total Spent Left Speed [2021-04-04T07:21:26.896Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 30437 --:--:-- --:--:-- --:--:-- 30453 100 19947 0 0 100 19947 0 30429 --:--:-- --:--:-- --:--:-- 30453 [2021-04-04T07:21:26.896Z] [2021-04-04T07:21:26.896Z] [2021-04-04T07:21:26.896Z] === Publish openapi/v2 API === [2021-04-04T07:21:26.896Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-04-04T07:21:26.896Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-04-04T07:21:26.896Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-04T07:21:26.896Z] Dload Upload Total Spent Left Speed [2021-04-04T07:21:27.470Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 90152 --:--:-- --:--:-- --:--:-- 90321 [2021-04-04T07:21:27.470Z] [2021-04-04T07:21:27.470Z] [Pipeline] } [2021-04-04T07:21:27.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-04T07:21:28.286Z] + git log --format=format:%s -1 119be5743e00329d34d55769b1b512288156e580 [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:21:28.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-04T07:21:28.627Z] . [Pipeline] withDockerContainer [2021-04-04T07:21:28.764Z] prd-centos7-docker-4c-2g-32708 does not seem to be running inside a container [2021-04-04T07:21:28.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-04T07:21:29.639Z] $ docker top 2813208cc32e8a2df4c77fdfdc809f2e690548e2cd174f1f380f98dd3a79bc3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-04T07:21:29.943Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-04T07:21:29.944Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-04T07:21:30.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-04T07:21:30.166Z] $ docker exec 2813208cc32e8a2df4c77fdfdc809f2e690548e2cd174f1f380f98dd3a79bc3d ssh-agent [2021-04-04T07:21:30.329Z] SSH_AUTH_SOCK=/tmp/ssh-AAtBvEJFMOmZ/agent.13 [2021-04-04T07:21:30.329Z] SSH_AGENT_PID=18 [2021-04-04T07:21:30.336Z] Running ssh-add (command line suppressed) [2021-04-04T07:21:30.462Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3511793010991209298.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3511793010991209298.key) [2021-04-04T07:21:30.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-04T07:21:30.882Z] + git semver tag [2021-04-04T07:21:30.882Z] # -> Open(): unable to determine branch for HEAD [2021-04-04T07:21:30.882Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-04-04T07:21:30.882Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-04-04T07:21:30.882Z] # $SEMVER_REMOTE_NAME = origin [2021-04-04T07:21:30.882Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-04T07:21:30.882Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-04T07:21:30.882Z] # $SEMVER_BRANCH = master [2021-04-04T07:21:30.882Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-04-04T07:21:30.882Z] # 119be5743e00329d34d55769b1b512288156e580 HEAD [2021-04-04T07:21:31.150Z] # -> Force: false [2021-04-04T07:21:31.150Z] # f5b0d25521dae247725fdc2085ca7862c6da872f refs/tags/v2.0.0-dev.33 [Pipeline] } [2021-04-04T07:21:31.162Z] $ docker exec --env ******** --env ******** 2813208cc32e8a2df4c77fdfdc809f2e690548e2cd174f1f380f98dd3a79bc3d ssh-agent -k [2021-04-04T07:21:31.331Z] unset SSH_AUTH_SOCK; [2021-04-04T07:21:31.332Z] unset SSH_AGENT_PID; [2021-04-04T07:21:31.332Z] echo Agent pid 18 killed; [2021-04-04T07:21:31.385Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-04T07:21:31.837Z] + git semver [Pipeline] } [2021-04-04T07:21:31.851Z] $ docker stop --time=1 2813208cc32e8a2df4c77fdfdc809f2e690548e2cd174f1f380f98dd3a79bc3d [2021-04-04T07:21:33.195Z] $ docker rm -f 2813208cc32e8a2df4c77fdfdc809f2e690548e2cd174f1f380f98dd3a79bc3d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:21:33.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-04T07:21:33.842Z] [2021-04-04T07:21:33.842Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:21:34.241Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-04T07:21:34.241Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-04T07:21:34.241Z] ab5ef0e58194: Pulling fs layer [2021-04-04T07:21:34.241Z] 9712f1f96733: Pulling fs layer [2021-04-04T07:21:34.241Z] 63f879dbbcfc: Pulling fs layer [2021-04-04T07:21:34.241Z] 0d9ebad4ef96: Pulling fs layer [2021-04-04T07:21:34.241Z] e9a5061849ea: Pulling fs layer [2021-04-04T07:21:34.241Z] d747dcd14b5f: Pulling fs layer [2021-04-04T07:21:34.241Z] 2de7ff778b66: Pulling fs layer [2021-04-04T07:21:34.241Z] d747dcd14b5f: Waiting [2021-04-04T07:21:34.241Z] 2de7ff778b66: Waiting [2021-04-04T07:21:34.241Z] 0d9ebad4ef96: Waiting [2021-04-04T07:21:34.241Z] e9a5061849ea: Waiting [2021-04-04T07:21:34.241Z] 9712f1f96733: Download complete [2021-04-04T07:21:35.635Z] 63f879dbbcfc: Verifying Checksum [2021-04-04T07:21:35.635Z] 63f879dbbcfc: Download complete [2021-04-04T07:21:35.635Z] e9a5061849ea: Verifying Checksum [2021-04-04T07:21:35.635Z] e9a5061849ea: Download complete [2021-04-04T07:21:35.635Z] d747dcd14b5f: Download complete [2021-04-04T07:21:36.210Z] 2de7ff778b66: Verifying Checksum [2021-04-04T07:21:36.210Z] 2de7ff778b66: Download complete [2021-04-04T07:21:36.210Z] 0d9ebad4ef96: Verifying Checksum [2021-04-04T07:21:36.210Z] 0d9ebad4ef96: Download complete [2021-04-04T07:21:36.475Z] ab5ef0e58194: Download complete [2021-04-04T07:21:41.806Z] ab5ef0e58194: Pull complete [2021-04-04T07:21:41.806Z] 9712f1f96733: Pull complete [2021-04-04T07:21:43.790Z] 63f879dbbcfc: Pull complete [2021-04-04T07:21:50.463Z] 0d9ebad4ef96: Pull complete [2021-04-04T07:21:51.862Z] e9a5061849ea: Pull complete [2021-04-04T07:21:51.862Z] d747dcd14b5f: Pull complete [2021-04-04T07:21:54.432Z] 2de7ff778b66: Pull complete [2021-04-04T07:21:54.432Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-04T07:21:54.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-04T07:21:54.432Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-04T07:21:54.616Z] prd-centos7-docker-4c-2g-32708 does not seem to be running inside a container [2021-04-04T07:21:54.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-04-04T07:21:58.490Z] $ docker top 5dbea6531b251f69ae645ccdfcb3f9a2b9c27b13d9b1ebdad14ed7a4b1d72dde -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-04T07:21:58.756Z] provisioning config files... [2021-04-04T07:21:58.766Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config9128382244054152756tmp [2021-04-04T07:21:58.786Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8560910638500879022tmp [2021-04-04T07:21:58.801Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5122936591328335408tmp [Pipeline] { [Pipeline] echo [2021-04-04T07:21:58.864Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:21:59.162Z] ---> sigul-configuration.sh [2021-04-04T07:21:59.162Z] gpg: directory `/root/.gnupg' created [2021-04-04T07:21:59.162Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-04T07:21:59.162Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-04T07:21:59.162Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-04T07:21:59.162Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-04T07:21:59.162Z] gpg: CAST5 encrypted data [2021-04-04T07:21:59.423Z] gpg: encrypted with 1 passphrase [2021-04-04T07:21:59.423Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-04T07:21:59.728Z] + mkdir /home/jenkins [2021-04-04T07:21:59.728Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-04T07:22:00.030Z] + 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 [2021-04-04T07:22:00.042Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:22:00.340Z] ---> sigul-install.sh [2021-04-04T07:22:06.958Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-04T07:22:07.264Z] + git tag --list [2021-04-04T07:22:07.264Z] 0.7.1 [2021-04-04T07:22:07.264Z] delhi-tag [2021-04-04T07:22:07.264Z] v1.0.0 [2021-04-04T07:22:07.264Z] v1.1.0 [2021-04-04T07:22:07.264Z] v1.1.1 [2021-04-04T07:22:07.264Z] v1.1.2 [2021-04-04T07:22:07.264Z] v1.2.0 [2021-04-04T07:22:07.264Z] v1.2.1 [2021-04-04T07:22:07.264Z] v1.2.2 [2021-04-04T07:22:07.264Z] v1.2.3 [2021-04-04T07:22:07.264Z] v1.3.0 [2021-04-04T07:22:07.264Z] v1.4.0 [2021-04-04T07:22:07.264Z] v2.0.0-dev.1 [2021-04-04T07:22:07.264Z] v2.0.0-dev.10 [2021-04-04T07:22:07.264Z] v2.0.0-dev.11 [2021-04-04T07:22:07.264Z] v2.0.0-dev.12 [2021-04-04T07:22:07.264Z] v2.0.0-dev.13 [2021-04-04T07:22:07.264Z] v2.0.0-dev.14 [2021-04-04T07:22:07.264Z] v2.0.0-dev.15 [2021-04-04T07:22:07.264Z] v2.0.0-dev.16 [2021-04-04T07:22:07.264Z] v2.0.0-dev.17 [2021-04-04T07:22:07.264Z] v2.0.0-dev.18 [2021-04-04T07:22:07.264Z] v2.0.0-dev.19 [2021-04-04T07:22:07.264Z] v2.0.0-dev.2 [2021-04-04T07:22:07.264Z] v2.0.0-dev.20 [2021-04-04T07:22:07.264Z] v2.0.0-dev.21 [2021-04-04T07:22:07.264Z] v2.0.0-dev.22 [2021-04-04T07:22:07.264Z] v2.0.0-dev.23 [2021-04-04T07:22:07.264Z] v2.0.0-dev.24 [2021-04-04T07:22:07.264Z] v2.0.0-dev.25 [2021-04-04T07:22:07.264Z] v2.0.0-dev.26 [2021-04-04T07:22:07.264Z] v2.0.0-dev.27 [2021-04-04T07:22:07.264Z] v2.0.0-dev.28 [2021-04-04T07:22:07.264Z] v2.0.0-dev.29 [2021-04-04T07:22:07.264Z] v2.0.0-dev.3 [2021-04-04T07:22:07.264Z] v2.0.0-dev.30 [2021-04-04T07:22:07.264Z] v2.0.0-dev.31 [2021-04-04T07:22:07.264Z] v2.0.0-dev.32 [2021-04-04T07:22:07.264Z] v2.0.0-dev.33 [2021-04-04T07:22:07.264Z] v2.0.0-dev.4 [2021-04-04T07:22:07.264Z] v2.0.0-dev.5 [2021-04-04T07:22:07.264Z] v2.0.0-dev.6 [2021-04-04T07:22:07.264Z] v2.0.0-dev.7 [2021-04-04T07:22:07.264Z] v2.0.0-dev.8 [2021-04-04T07:22:07.264Z] v2.0.0-dev.9 [Pipeline] sh [2021-04-04T07:22:07.567Z] + lftools sign git-tag v2.0.0-dev.33 [2021-04-04T07:22:08.959Z] Signing Git tag with Sigul... [2021-04-04T07:22:08.959Z] Signing v2.0.0-dev.33 [Pipeline] echo [2021-04-04T07:22:09.916Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:22:10.218Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-04T07:22:10.228Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-04T07:22:10.341Z] $ docker stop --time=1 5dbea6531b251f69ae645ccdfcb3f9a2b9c27b13d9b1ebdad14ed7a4b1d72dde [2021-04-04T07:22:12.524Z] $ docker rm -f 5dbea6531b251f69ae645ccdfcb3f9a2b9c27b13d9b1ebdad14ed7a4b1d72dde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:22:13.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-04T07:22:13.413Z] . [Pipeline] withDockerContainer [2021-04-04T07:22:13.521Z] prd-centos7-docker-4c-2g-32708 does not seem to be running inside a container [2021-04-04T07:22:13.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-04T07:22:14.259Z] $ docker top 0700245d5f96fce9dca97777333356e5bbc1a2f49e2caeddb3f63244c65d7985 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-04T07:22:14.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-04T07:22:14.568Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-04T07:22:14.742Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-04T07:22:14.744Z] $ docker exec 0700245d5f96fce9dca97777333356e5bbc1a2f49e2caeddb3f63244c65d7985 ssh-agent [2021-04-04T07:22:14.920Z] SSH_AUTH_SOCK=/tmp/ssh-HFCsFU7flc0B/agent.12 [2021-04-04T07:22:14.920Z] SSH_AGENT_PID=17 [2021-04-04T07:22:14.927Z] Running ssh-add (command line suppressed) [2021-04-04T07:22:15.044Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1045026676623573396.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1045026676623573396.key) [2021-04-04T07:22:15.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-04T07:22:15.445Z] + git semver bump pre [2021-04-04T07:22:15.445Z] # -> Open(): unable to determine branch for HEAD [2021-04-04T07:22:15.445Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-04-04T07:22:15.445Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-04-04T07:22:15.445Z] # $SEMVER_REMOTE_NAME = origin [2021-04-04T07:22:15.445Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-04T07:22:15.445Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-04T07:22:15.445Z] # $SEMVER_BRANCH = master [2021-04-04T07:22:15.445Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-04-04T07:22:15.445Z] 2.0.0-dev.34 [Pipeline] } [2021-04-04T07:22:15.457Z] $ docker exec --env ******** --env ******** 0700245d5f96fce9dca97777333356e5bbc1a2f49e2caeddb3f63244c65d7985 ssh-agent -k [2021-04-04T07:22:15.590Z] unset SSH_AUTH_SOCK; [2021-04-04T07:22:15.590Z] unset SSH_AGENT_PID; [2021-04-04T07:22:15.590Z] echo Agent pid 17 killed; [2021-04-04T07:22:15.641Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-04T07:22:16.108Z] + git semver [Pipeline] } [2021-04-04T07:22:16.124Z] $ docker stop --time=1 0700245d5f96fce9dca97777333356e5bbc1a2f49e2caeddb3f63244c65d7985 [2021-04-04T07:22:17.471Z] $ docker rm -f 0700245d5f96fce9dca97777333356e5bbc1a2f49e2caeddb3f63244c65d7985 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:22:18.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-04T07:22:18.026Z] . [Pipeline] withDockerContainer [2021-04-04T07:22:18.127Z] prd-centos7-docker-4c-2g-32708 does not seem to be running inside a container [2021-04-04T07:22:18.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-04T07:22:18.865Z] $ docker top 36fbf39b113408e0ccc67156e98ebbbd0a292c26cef0746e36837a8d77e588fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-04T07:22:19.240Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-04T07:22:19.240Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-04T07:22:19.443Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-04T07:22:19.446Z] $ docker exec 36fbf39b113408e0ccc67156e98ebbbd0a292c26cef0746e36837a8d77e588fc ssh-agent [2021-04-04T07:22:19.620Z] SSH_AUTH_SOCK=/tmp/ssh-Q3spXkca4EkK/agent.11 [2021-04-04T07:22:19.620Z] SSH_AGENT_PID=16 [2021-04-04T07:22:19.630Z] Running ssh-add (command line suppressed) [2021-04-04T07:22:19.767Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8279431911021136012.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8279431911021136012.key) [2021-04-04T07:22:19.824Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-04T07:22:20.157Z] + git semver push [2021-04-04T07:22:20.157Z] # -> Open(): unable to determine branch for HEAD [2021-04-04T07:22:20.157Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-04-04T07:22:20.157Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-04-04T07:22:20.157Z] # $SEMVER_REMOTE_NAME = origin [2021-04-04T07:22:20.157Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-04T07:22:20.157Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-04T07:22:20.157Z] # $SEMVER_BRANCH = master [2021-04-04T07:22:20.157Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-04-04T07:22:23.486Z] $ docker exec --env ******** --env ******** 36fbf39b113408e0ccc67156e98ebbbd0a292c26cef0746e36837a8d77e588fc ssh-agent -k [2021-04-04T07:22:23.634Z] unset SSH_AUTH_SOCK; [2021-04-04T07:22:23.635Z] unset SSH_AGENT_PID; [2021-04-04T07:22:23.635Z] echo Agent pid 16 killed; [2021-04-04T07:22:23.696Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-04T07:22:24.171Z] + git semver [Pipeline] } [2021-04-04T07:22:24.187Z] $ docker stop --time=1 36fbf39b113408e0ccc67156e98ebbbd0a292c26cef0746e36837a8d77e588fc [2021-04-04T07:22:25.540Z] $ docker rm -f 36fbf39b113408e0ccc67156e98ebbbd0a292c26cef0746e36837a8d77e588fc [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 [2021-04-04T07:22:27.355Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:22:27.993Z] ---> package-listing.sh [2021-04-04T07:22:27.993Z] ++ facter osfamily [2021-04-04T07:22:27.993Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-04T07:22:27.993Z] + OS_FAMILY=redhat [2021-04-04T07:22:27.993Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-04-04T07:22:27.993Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-04T07:22:27.993Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-04T07:22:27.993Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-04T07:22:27.993Z] + PACKAGES=/tmp/packages_start.txt [2021-04-04T07:22:27.993Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-04-04T07:22:27.993Z] + PACKAGES=/tmp/packages_end.txt [2021-04-04T07:22:27.993Z] + case "${OS_FAMILY}" in [2021-04-04T07:22:27.993Z] + rpm -qa [2021-04-04T07:22:27.993Z] + sort [2021-04-04T07:22:33.323Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-04T07:22:33.323Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-04T07:22:33.323Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-04T07:22:33.323Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-04-04T07:22:33.323Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-04-04T07:22:33.323Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2021-04-04T07:22:33.336Z] 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/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-04T07:22:33.626Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:22:33.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-04T07:22:33.936Z] [2021-04-04T07:22:33.936Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-04T07:22:34.310Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-04T07:22:34.310Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-04T07:22:34.310Z] df20fa9351a1: Pulling fs layer [2021-04-04T07:22:34.310Z] 36b3adc4ff6f: Pulling fs layer [2021-04-04T07:22:34.310Z] 8ad3a11d3b57: Pulling fs layer [2021-04-04T07:22:34.310Z] 46f8f816bc3b: Pulling fs layer [2021-04-04T07:22:34.310Z] 93b61091891f: Pulling fs layer [2021-04-04T07:22:34.310Z] 93b9cdb0e59b: Pulling fs layer [2021-04-04T07:22:34.310Z] 5e14af77c1be: Pulling fs layer [2021-04-04T07:22:34.310Z] 01666e4c0597: Pulling fs layer [2021-04-04T07:22:34.310Z] aa168da1d23b: Pulling fs layer [2021-04-04T07:22:34.310Z] 46f8f816bc3b: Waiting [2021-04-04T07:22:34.310Z] 93b61091891f: Waiting [2021-04-04T07:22:34.310Z] 93b9cdb0e59b: Waiting [2021-04-04T07:22:34.310Z] 5e14af77c1be: Waiting [2021-04-04T07:22:34.310Z] 01666e4c0597: Waiting [2021-04-04T07:22:34.310Z] aa168da1d23b: Waiting [2021-04-04T07:22:34.310Z] 36b3adc4ff6f: Verifying Checksum [2021-04-04T07:22:34.310Z] 46f8f816bc3b: Download complete [2021-04-04T07:22:34.310Z] df20fa9351a1: Verifying Checksum [2021-04-04T07:22:34.575Z] 93b9cdb0e59b: Verifying Checksum [2021-04-04T07:22:34.575Z] 93b9cdb0e59b: Download complete [2021-04-04T07:22:34.575Z] 93b61091891f: Download complete [2021-04-04T07:22:34.575Z] 5e14af77c1be: Download complete [2021-04-04T07:22:34.575Z] 01666e4c0597: Verifying Checksum [2021-04-04T07:22:34.575Z] 01666e4c0597: Download complete [2021-04-04T07:22:34.575Z] 8ad3a11d3b57: Verifying Checksum [2021-04-04T07:22:34.575Z] 8ad3a11d3b57: Download complete [2021-04-04T07:22:35.156Z] df20fa9351a1: Pull complete [2021-04-04T07:22:35.432Z] 36b3adc4ff6f: Pull complete [2021-04-04T07:22:36.384Z] aa168da1d23b: Verifying Checksum [2021-04-04T07:22:36.384Z] aa168da1d23b: Download complete [2021-04-04T07:22:37.339Z] 8ad3a11d3b57: Pull complete [2021-04-04T07:22:37.339Z] 46f8f816bc3b: Pull complete [2021-04-04T07:22:37.601Z] 93b61091891f: Pull complete [2021-04-04T07:22:37.601Z] 93b9cdb0e59b: Pull complete [2021-04-04T07:22:37.863Z] 5e14af77c1be: Pull complete [2021-04-04T07:22:37.863Z] 01666e4c0597: Pull complete [2021-04-04T07:22:46.051Z] aa168da1d23b: Pull complete [2021-04-04T07:22:46.051Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-04T07:22:46.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-04T07:22:46.051Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-04T07:22:46.238Z] prd-centos7-docker-4c-2g-32708 does not seem to be running inside a container [2021-04-04T07:22:46.284Z] $ 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/dgexfoundry_device-sdk-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/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-04T07:22:49.144Z] $ docker top 72e078b95d995369b2990ccf3067d87c179347eeb2215284f43d5f22dea3db68 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-04T07:22:49.629Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-04T07:22:49.929Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-04T07:22:50.226Z] + ls /var/log/sa-host [2021-04-04T07:22:50.226Z] + sadf -c /var/log/sa-host/sa04 [2021-04-04T07:22:50.226Z] file_magic: OK [2021-04-04T07:22:50.226Z] HZ: Using current value: 100 [2021-04-04T07:22:50.226Z] file_header: OK [2021-04-04T07:22:50.226Z] 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 [2021-04-04T07:22:50.226Z] Statistics: [2021-04-04T07:22:50.226Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-04T07:22:50.226Z] File successfully converted to sysstat format version 12.2.1 [2021-04-04T07:22:50.226Z] + sadf -c /var/log/sa-host/sa23 [2021-04-04T07:22:50.226Z] file_magic: OK [2021-04-04T07:22:50.226Z] HZ: Using current value: 100 [2021-04-04T07:22:50.226Z] file_header: OK [2021-04-04T07:22:50.226Z] 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 [2021-04-04T07:22:50.226Z] Statistics: [2021-04-04T07:22:50.226Z] Hnuu...uuuununununu... [2021-04-04T07:22:50.226Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-04T07:22:50.846Z] provisioning config files... [2021-04-04T07:22:50.893Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7347679070113723355tmp [Pipeline] { [Pipeline] echo [2021-04-04T07:22:51.017Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:22:51.318Z] ---> create-netrc.sh [Pipeline] } [2021-04-04T07:22:51.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-04T07:22:51.435Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:22:51.736Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-04T07:22:51.748Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:22:52.043Z] ---> sudo-logs.sh [2021-04-04T07:22:52.043Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-04T07:22:52.134Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:22:52.431Z] ---> job-cost.sh [2021-04-04T07:22:52.431Z] lf-activate-venv: SKIPPING [2021-04-04T07:22:52.431Z] DEBUG: total: 0.20999999344348907 [2021-04-04T07:22:52.431Z] INFO: Retrieving Stack Cost... [2021-04-04T07:22:53.377Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-04T07:22:53.640Z] INFO: Archiving Costs [Pipeline] echo [2021-04-04T07:22:53.656Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-04T07:22:53.953Z] ---> logs-deploy.sh [2021-04-04T07:22:53.953Z] lf-activate-venv: SKIPPING [2021-04-04T07:22:53.953Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/138 [2021-04-04T07:22:53.953Z] INFO: archiving workspace using pattern(s): [2021-04-04T07:22:55.874Z] Archives upload complete. [2021-04-04T07:22:55.874Z] INFO: archiving logs to Nexus