Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d38291b108151c678147caa989c3776b19aa5fc1 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27630’ Running on prd-centos7-docker-4c-2g-27636 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 d38291b108151c678147caa989c3776b19aa5fc1 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 Commit message: "Merge pull request #798 from hahattan/issue-573" > git rev-list --no-walk 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-25T10:06:33.764Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-25T10:06:34.015Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-25T10:06:34.114Z] ========================================================= [2021-02-25T10:06:34.114Z] EdgeX Global Pipelines Version Info [2021-02-25T10:06:34.114Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:06:35.587Z] ------------------- [2021-02-25T10:06:35.587Z] stable info: [2021-02-25T10:06:35.587Z] ------------------- [2021-02-25T10:06:35.587Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-25T10:06:35.587Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-25T10:06:35.587Z] Message: update stable to v1.0.181 [2021-02-25T10:06:36.534Z] ------------------- [2021-02-25T10:06:36.534Z] experimental info: [2021-02-25T10:06:36.534Z] ------------------- [2021-02-25T10:06:36.534Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-02-25T10:06:36.534Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-25T10:06:36.534Z] Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-25T10:06:36.788Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-25T10:06:36.879Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-25T10:06:36.968Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-25T10:06:37.054Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-25T10:06:37.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-25T10:06:37.232Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-25T10:06:37.323Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-25T10:06:37.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-25T10:06:37.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-25T10:06:37.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-25T10:06:37.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-25T10:06:37.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-25T10:06:37.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-25T10:06:37.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-25T10:06:38.025Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-25T10:06:38.114Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-25T10:06:38.198Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-25T10:06:38.281Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-25T10:06:38.361Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-25T10:06:38.439Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-25T10:06:38.535Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-25T10:06:38.647Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-25T10:06:38.732Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-25T10:06:38.819Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-25T10:06:38.925Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-25T10:06:39.024Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-25T10:06:39.108Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-25T10:06:39.195Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-25T10:06:39.273Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d38291b108151c678147caa989c3776b19aa5fc1 [Pipeline] echo [2021-02-25T10:06:39.361Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d38291b [Pipeline] echo [2021-02-25T10:06:39.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-25T10:06:39.606Z] provisioning config files... [2021-02-25T10:06:39.652Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3475128852978104287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:06:40.046Z] ---> docker-login.sh [2021-02-25T10:06:40.046Z] nexus3.edgexfoundry.org:10001 [2021-02-25T10:06:40.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:06:40.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:06:40.576Z] Configure a credential helper to remove this warning. See [2021-02-25T10:06:40.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:06:40.576Z] [2021-02-25T10:06:40.576Z] Login Succeeded [2021-02-25T10:06:40.576Z] nexus3.edgexfoundry.org:10002 [2021-02-25T10:06:40.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:06:40.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:06:40.576Z] Configure a credential helper to remove this warning. See [2021-02-25T10:06:40.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:06:40.576Z] [2021-02-25T10:06:40.576Z] Login Succeeded [2021-02-25T10:06:40.576Z] nexus3.edgexfoundry.org:10003 [2021-02-25T10:06:40.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:06:40.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:06:40.839Z] Configure a credential helper to remove this warning. See [2021-02-25T10:06:40.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:06:40.839Z] [2021-02-25T10:06:40.839Z] Login Succeeded [2021-02-25T10:06:40.839Z] nexus3.edgexfoundry.org:10004 [2021-02-25T10:06:41.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:06:41.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:06:41.101Z] Configure a credential helper to remove this warning. See [2021-02-25T10:06:41.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:06:41.101Z] [2021-02-25T10:06:41.101Z] Login Succeeded [2021-02-25T10:06:41.101Z] docker.io [2021-02-25T10:06:41.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:06:41.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:06:41.366Z] Configure a credential helper to remove this warning. See [2021-02-25T10:06:41.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:06:41.366Z] [2021-02-25T10:06:41.366Z] Login Succeeded [2021-02-25T10:06:41.366Z] ---> docker-login.sh ends [Pipeline] } [2021-02-25T10:06:41.377Z] 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-02-25T10:06:42.150Z] + git log --format=format:%s -1 d38291b108151c678147caa989c3776b19aa5fc1 [Pipeline] echo [2021-02-25T10:06:42.223Z] GIT_COMMIT: d38291b108151c678147caa989c3776b19aa5fc1, Commit Message: Merge pull request #798 from hahattan/issue-573 [Pipeline] echo [2021-02-25T10:06:42.265Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:06:43.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T10:06:43.133Z] [2021-02-25T10:06:43.133Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:06:43.476Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T10:06:43.476Z] latest: Pulling from edgex-devops/git-semver [2021-02-25T10:06:43.476Z] 31603596830f: Pulling fs layer [2021-02-25T10:06:43.476Z] 2a8b12db71e7: Pulling fs layer [2021-02-25T10:06:43.476Z] 6ca5941a6612: Pulling fs layer [2021-02-25T10:06:43.476Z] ecc8261a40a4: Pulling fs layer [2021-02-25T10:06:43.476Z] ecc8261a40a4: Waiting [2021-02-25T10:06:43.476Z] 2a8b12db71e7: Verifying Checksum [2021-02-25T10:06:43.476Z] 2a8b12db71e7: Download complete [2021-02-25T10:06:43.744Z] 31603596830f: Verifying Checksum [2021-02-25T10:06:43.744Z] 31603596830f: Download complete [2021-02-25T10:06:43.744Z] 6ca5941a6612: Verifying Checksum [2021-02-25T10:06:43.744Z] 6ca5941a6612: Download complete [2021-02-25T10:06:43.744Z] ecc8261a40a4: Verifying Checksum [2021-02-25T10:06:43.744Z] ecc8261a40a4: Download complete [2021-02-25T10:06:44.008Z] 31603596830f: Pull complete [2021-02-25T10:06:44.270Z] 2a8b12db71e7: Pull complete [2021-02-25T10:06:45.222Z] 6ca5941a6612: Pull complete [2021-02-25T10:06:45.222Z] ecc8261a40a4: Pull complete [2021-02-25T10:06:45.222Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-25T10:06:45.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T10:06:45.222Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-25T10:06:45.335Z] prd-centos7-docker-4c-2g-27636 does not seem to be running inside a container [2021-02-25T10:06:45.383Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-25T10:06:47.319Z] $ docker top e8da76827ee96a06065f1bddc1553389d24b623fd4c2dbc9d75cf2a0164aac59 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-25T10:06:47.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T10:06:47.592Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T10:06:47.808Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T10:06:47.810Z] $ docker exec e8da76827ee96a06065f1bddc1553389d24b623fd4c2dbc9d75cf2a0164aac59 ssh-agent [2021-02-25T10:06:47.974Z] SSH_AUTH_SOCK=/tmp/ssh-aINyHKj2LvMb/agent.11 [2021-02-25T10:06:47.974Z] SSH_AGENT_PID=16 [2021-02-25T10:06:47.983Z] Running ssh-add (command line suppressed) [2021-02-25T10:06:48.093Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6715283432874362765.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6715283432874362765.key) [2021-02-25T10:06:48.145Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T10:06:48.473Z] + git tag --points-at HEAD [Pipeline] } [2021-02-25T10:06:48.490Z] $ docker exec --env ******** --env ******** e8da76827ee96a06065f1bddc1553389d24b623fd4c2dbc9d75cf2a0164aac59 ssh-agent -k [2021-02-25T10:06:48.606Z] unset SSH_AUTH_SOCK; [2021-02-25T10:06:48.606Z] unset SSH_AGENT_PID; [2021-02-25T10:06:48.607Z] echo Agent pid 16 killed; [2021-02-25T10:06:48.658Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-25T10:06:48.798Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T10:06:48.798Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T10:06:48.969Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T10:06:48.971Z] $ docker exec e8da76827ee96a06065f1bddc1553389d24b623fd4c2dbc9d75cf2a0164aac59 ssh-agent [2021-02-25T10:06:49.135Z] SSH_AUTH_SOCK=/tmp/ssh-HaDGIC4qLutK/agent.47 [2021-02-25T10:06:49.135Z] SSH_AGENT_PID=52 [2021-02-25T10:06:49.141Z] Running ssh-add (command line suppressed) [2021-02-25T10:06:49.253Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4318955297605937776.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4318955297605937776.key) [2021-02-25T10:06:49.307Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T10:06:49.634Z] + git semver init [2021-02-25T10:06:49.634Z] # -> Open(): unable to determine branch for HEAD [2021-02-25T10:06:49.634Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-25T10:06:49.634Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-25T10:06:49.634Z] # $SEMVER_REMOTE_NAME = origin [2021-02-25T10:06:49.634Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-25T10:06:49.634Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-25T10:06:49.634Z] # $SEMVER_BRANCH = master [2021-02-25T10:06:49.634Z] # $SEMVER_TEMP = /tmp/semver-735801355 [2021-02-25T10:06:49.634Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-25T10:06:50.210Z] # '/tmp/semver-735801355' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-02-25T10:06:50.210Z] # -> Force: false [2021-02-25T10:06:50.210Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-02-25T10:06:50.219Z] $ docker exec --env ******** --env ******** e8da76827ee96a06065f1bddc1553389d24b623fd4c2dbc9d75cf2a0164aac59 ssh-agent -k [2021-02-25T10:06:50.334Z] unset SSH_AUTH_SOCK; [2021-02-25T10:06:50.335Z] unset SSH_AGENT_PID; [2021-02-25T10:06:50.335Z] echo Agent pid 52 killed; [2021-02-25T10:06:50.384Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-25T10:06:50.834Z] + git semver [Pipeline] } [2021-02-25T10:06:50.852Z] $ docker stop --time=1 e8da76827ee96a06065f1bddc1553389d24b623fd4c2dbc9d75cf2a0164aac59 [2021-02-25T10:06:52.331Z] $ docker rm -f e8da76827ee96a06065f1bddc1553389d24b623fd4c2dbc9d75cf2a0164aac59 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-25T10:06:52.788Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-25T10:06:53.197Z] Stashed 1 file(s) [Pipeline] echo [2021-02-25T10:06:53.199Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.17 [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-02-25T10:07:08.724Z] Still waiting to schedule task [2021-02-25T10:07:08.724Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-25T10:07:08.726Z] Still waiting to schedule task [2021-02-25T10:07:08.727Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-25T10:09:43.975Z] Running on prd-centos7-docker-4c-2g-27637 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-02-25T10:09:44.043Z] Running in /w/workspace/device-sdk-go/122 [Pipeline] { [Pipeline] checkout [2021-02-25T10:09:46.319Z] using credential edgex-jenkins-ssh [2021-02-25T10:09:46.370Z] Cloning the remote Git repository [2021-02-25T10:09:45.667Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-25T10:09:45.751Z] > git init /w/workspace/device-sdk-go/122 # timeout=10 [2021-02-25T10:09:45.818Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-25T10:09:45.819Z] > git --version # timeout=10 [2021-02-25T10:09:45.825Z] > git --version # 'git version 2.24.3' [2021-02-25T10:09:45.825Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T10:09:45.858Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T10:09:46.619Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-25T10:09:46.625Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T10:09:46.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-25T10:09:46.657Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-25T10:09:46.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T10:09:46.662Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-25T10:09:47.697Z] Checking out Revision d38291b108151c678147caa989c3776b19aa5fc1 (master) [2021-02-25T10:09:47.086Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T10:09:47.092Z] > git checkout -f d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [2021-02-25T10:09:51.094Z] Commit message: "Merge pull request #798 from hahattan/issue-573" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-25T10:09:52.536Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-25T10:09:52.861Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-25T10:09:53.159Z] + sudo service docker restart [2021-02-25T10:09:53.159Z] + true [2021-02-25T10:09:53.159Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-25T10:09:54.174Z] provisioning config files... [2021-02-25T10:09:54.200Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/122@tmp/config1533979858956467832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:09:54.572Z] ---> docker-login.sh [2021-02-25T10:09:54.572Z] nexus3.edgexfoundry.org:10001 [2021-02-25T10:09:54.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:09:54.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:09:54.835Z] Configure a credential helper to remove this warning. See [2021-02-25T10:09:54.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:09:54.835Z] [2021-02-25T10:09:54.835Z] Login Succeeded [2021-02-25T10:09:54.835Z] nexus3.edgexfoundry.org:10002 [2021-02-25T10:09:55.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:09:55.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:09:55.098Z] Configure a credential helper to remove this warning. See [2021-02-25T10:09:55.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:09:55.098Z] [2021-02-25T10:09:55.098Z] Login Succeeded [2021-02-25T10:09:55.098Z] nexus3.edgexfoundry.org:10003 [2021-02-25T10:09:55.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:09:55.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:09:55.359Z] Configure a credential helper to remove this warning. See [2021-02-25T10:09:55.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:09:55.359Z] [2021-02-25T10:09:55.359Z] Login Succeeded [2021-02-25T10:09:55.359Z] nexus3.edgexfoundry.org:10004 [2021-02-25T10:09:55.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:09:55.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:09:55.359Z] Configure a credential helper to remove this warning. See [2021-02-25T10:09:55.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:09:55.359Z] [2021-02-25T10:09:55.359Z] Login Succeeded [2021-02-25T10:09:55.359Z] docker.io [2021-02-25T10:09:55.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:09:55.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:09:55.883Z] Configure a credential helper to remove this warning. See [2021-02-25T10:09:55.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:09:55.883Z] [2021-02-25T10:09:55.883Z] Login Succeeded [2021-02-25T10:09:55.883Z] ---> docker-login.sh ends [Pipeline] } [2021-02-25T10:09:55.892Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-25T10:09:56.224Z] ========================================================= [2021-02-25T10:09:56.224Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-25T10:09:56.224Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:09:56.564Z] + 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-02-25T10:09:56.564Z] Sending build context to Docker daemon 2.411MB [2021-02-25T10:09:56.564Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-25T10:09:56.564Z] Step 2/8 : FROM ${BASE} [2021-02-25T10:09:56.564Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-25T10:09:56.564Z] 188c0c94c7c5: Pulling fs layer [2021-02-25T10:09:56.564Z] 0ef7d3d256c8: Pulling fs layer [2021-02-25T10:09:56.564Z] de9db76c5a1d: Pulling fs layer [2021-02-25T10:09:56.564Z] bca2f99d35d6: Pulling fs layer [2021-02-25T10:09:56.564Z] 93359f2a8cfa: Pulling fs layer [2021-02-25T10:09:56.564Z] 7c6f9722023f: Pulling fs layer [2021-02-25T10:09:56.564Z] a35cf1a2eb13: Pulling fs layer [2021-02-25T10:09:56.564Z] bca2f99d35d6: Waiting [2021-02-25T10:09:56.564Z] 93359f2a8cfa: Waiting [2021-02-25T10:09:56.564Z] 7c6f9722023f: Waiting [2021-02-25T10:09:56.564Z] a35cf1a2eb13: Waiting [2021-02-25T10:09:56.826Z] de9db76c5a1d: Download complete [2021-02-25T10:09:56.826Z] 0ef7d3d256c8: Download complete [2021-02-25T10:09:56.826Z] 93359f2a8cfa: Verifying Checksum [2021-02-25T10:09:56.826Z] 93359f2a8cfa: Download complete [2021-02-25T10:09:56.826Z] 188c0c94c7c5: Verifying Checksum [2021-02-25T10:09:56.826Z] 188c0c94c7c5: Download complete [2021-02-25T10:09:56.826Z] 7c6f9722023f: Verifying Checksum [2021-02-25T10:09:56.826Z] 7c6f9722023f: Download complete [2021-02-25T10:09:57.087Z] 188c0c94c7c5: Pull complete [2021-02-25T10:09:57.087Z] 0ef7d3d256c8: Pull complete [2021-02-25T10:09:57.350Z] de9db76c5a1d: Pull complete [2021-02-25T10:09:59.268Z] a35cf1a2eb13: Verifying Checksum [2021-02-25T10:09:59.268Z] a35cf1a2eb13: Download complete [2021-02-25T10:09:59.530Z] bca2f99d35d6: Verifying Checksum [2021-02-25T10:09:59.530Z] bca2f99d35d6: Download complete [2021-02-25T10:10:04.986Z] bca2f99d35d6: Pull complete [2021-02-25T10:10:04.986Z] 93359f2a8cfa: Pull complete [2021-02-25T10:10:04.986Z] 7c6f9722023f: Pull complete [2021-02-25T10:10:11.615Z] a35cf1a2eb13: Pull complete [2021-02-25T10:10:11.615Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-25T10:10:11.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-25T10:10:11.615Z] ---> a62c8e92a672 [2021-02-25T10:10:11.615Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-25T10:10:11.615Z] ---> Running in a3323c37a0d9 [2021-02-25T10:10:11.615Z] Removing intermediate container a3323c37a0d9 [2021-02-25T10:10:11.615Z] ---> 5c7c2b3ffb31 [2021-02-25T10:10:11.615Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-25T10:10:11.615Z] ---> Running in 50c6bc5a695a [2021-02-25T10:10:12.214Z] Removing intermediate container 50c6bc5a695a [2021-02-25T10:10:12.214Z] ---> 73caf3260e88 [2021-02-25T10:10:12.214Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-25T10:10:12.214Z] ---> Running in e6d17b84b2d2 [2021-02-25T10:10:12.791Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-25T10:10:13.745Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-25T10:10:14.704Z] OK: 166 MiB in 39 packages [2021-02-25T10:10:14.969Z] Removing intermediate container e6d17b84b2d2 [2021-02-25T10:10:14.969Z] ---> aaa03af5cf23 [2021-02-25T10:10:14.969Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-25T10:10:14.969Z] ---> Running in 041d6dc183fc [2021-02-25T10:10:15.231Z] Removing intermediate container 041d6dc183fc [2021-02-25T10:10:15.231Z] ---> 41f14b440ca5 [2021-02-25T10:10:15.231Z] Step 7/8 : COPY . . [2021-02-25T10:10:16.622Z] ---> dbaf46f41106 [2021-02-25T10:10:16.622Z] Step 8/8 : RUN go mod download [2021-02-25T10:10:16.622Z] ---> Running in a814e37f6dd0 [2021-02-25T10:10:38.626Z] Removing intermediate container a814e37f6dd0 [2021-02-25T10:10:38.626Z] ---> 24e6c2c294f2 [2021-02-25T10:10:38.626Z] Successfully built 24e6c2c294f2 [2021-02-25T10:10:38.626Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:10:38.954Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-25T10:10:38.954Z] . [Pipeline] withDockerContainer [2021-02-25T10:10:39.342Z] prd-centos7-docker-4c-2g-27637 does not seem to be running inside a container [2021-02-25T10:10:39.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/122 -v /w/workspace/device-sdk-go/122:/w/workspace/device-sdk-go/122:rw,z -v /w/workspace/device-sdk-go/122@tmp:/w/workspace/device-sdk-go/122@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 ******** ci-base-image-x86_64 cat [2021-02-25T10:10:40.670Z] $ docker top 77e9f0563fc6601b55d91f8fb43a2bc2c33d3a67e909094f02d7f2bae2b4226b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T10:10:41.222Z] + go version [2021-02-25T10:10:41.222Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-25T10:10:41.239Z] $ docker stop --time=1 77e9f0563fc6601b55d91f8fb43a2bc2c33d3a67e909094f02d7f2bae2b4226b [2021-02-25T10:10:42.582Z] $ docker rm -f 77e9f0563fc6601b55d91f8fb43a2bc2c33d3a67e909094f02d7f2bae2b4226b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:10:43.407Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-25T10:10:43.407Z] . [Pipeline] withDockerContainer [2021-02-25T10:10:43.499Z] prd-centos7-docker-4c-2g-27637 does not seem to be running inside a container [2021-02-25T10:10:43.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/122 -v /w/workspace/device-sdk-go/122:/w/workspace/device-sdk-go/122:rw,z -v /w/workspace/device-sdk-go/122@tmp:/w/workspace/device-sdk-go/122@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 ******** ci-base-image-x86_64 cat [2021-02-25T10:10:44.190Z] $ docker top 0624a5860ede91d54451427f19bd09fd103fe172d81a619292975af2b43ca876 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T10:10:44.764Z] + make test [2021-02-25T10:10:44.764Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-25T10:10:46.815Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27638 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-02-25T10:10:46.866Z] Running in /w/workspace/device-sdk-go/122 [Pipeline] { [Pipeline] checkout [2021-02-25T10:10:51.399Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-25T10:10:51.592Z] using credential edgex-jenkins-ssh [2021-02-25T10:10:51.657Z] Cloning the remote Git repository [2021-02-25T10:10:51.705Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-25T10:10:51.817Z] > git init /w/workspace/device-sdk-go/122 # timeout=10 [2021-02-25T10:10:51.885Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-25T10:10:51.886Z] > git --version # timeout=10 [2021-02-25T10:10:51.900Z] > git --version # 'git version 2.17.1' [2021-02-25T10:10:51.902Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T10:10:51.963Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T10:10:53.128Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-25T10:10:53.153Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T10:10:53.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-25T10:10:53.213Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-25T10:10:53.214Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T10:10:53.707Z] Checking out Revision d38291b108151c678147caa989c3776b19aa5fc1 (master) [2021-02-25T10:10:53.226Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-25T10:10:53.720Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T10:10:53.736Z] > git checkout -f d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [2021-02-25T10:10:58.178Z] Commit message: "Merge pull request #798 from hahattan/issue-573" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-25T10:10:59.594Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-25T10:11:00.016Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-25T10:11:00.460Z] + + sudo servicetrue docker [2021-02-25T10:11:00.460Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-25T10:11:03.169Z] provisioning config files... [2021-02-25T10:11:03.209Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/122@tmp/config3674545890097285381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:11:03.688Z] ---> docker-login.sh [2021-02-25T10:11:03.689Z] nexus3.edgexfoundry.org:10001 [2021-02-25T10:11:04.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:11:04.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:11:04.948Z] Configure a credential helper to remove this warning. See [2021-02-25T10:11:04.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:11:04.949Z] [2021-02-25T10:11:04.949Z] Login Succeeded [2021-02-25T10:11:04.949Z] nexus3.edgexfoundry.org:10002 [2021-02-25T10:11:05.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:11:05.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:11:05.547Z] Configure a credential helper to remove this warning. See [2021-02-25T10:11:05.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:11:05.547Z] [2021-02-25T10:11:05.547Z] Login Succeeded [2021-02-25T10:11:05.547Z] nexus3.edgexfoundry.org:10003 [2021-02-25T10:11:06.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:11:06.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:11:06.144Z] Configure a credential helper to remove this warning. See [2021-02-25T10:11:06.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:11:06.144Z] [2021-02-25T10:11:06.144Z] Login Succeeded [2021-02-25T10:11:06.144Z] nexus3.edgexfoundry.org:10004 [2021-02-25T10:11:06.414Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-25T10:11:06.414Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-25T10:11:06.414Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-25T10:11:06.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:11:06.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:11:06.744Z] Configure a credential helper to remove this warning. See [2021-02-25T10:11:06.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:11:06.744Z] [2021-02-25T10:11:06.744Z] Login Succeeded [2021-02-25T10:11:06.744Z] docker.io [2021-02-25T10:11:07.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-25T10:11:07.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-25T10:11:07.612Z] Configure a credential helper to remove this warning. See [2021-02-25T10:11:07.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-25T10:11:07.612Z] [2021-02-25T10:11:07.612Z] Login Succeeded [2021-02-25T10:11:07.612Z] ---> docker-login.sh ends [Pipeline] } [2021-02-25T10:11:07.630Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-25T10:11:08.024Z] ========================================================= [2021-02-25T10:11:08.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-25T10:11:08.024Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:11:08.405Z] + 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-02-25T10:11:08.695Z] Sending build context to Docker daemon 2.401MB [2021-02-25T10:11:08.969Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-25T10:11:08.969Z] Step 2/8 : FROM ${BASE} [2021-02-25T10:11:08.969Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-25T10:11:08.969Z] 5f621e34cdf4: Pulling fs layer [2021-02-25T10:11:08.969Z] a4357932f1b6: Pulling fs layer [2021-02-25T10:11:08.969Z] 18c013af1878: Pulling fs layer [2021-02-25T10:11:08.969Z] 00ac8860ef70: Pulling fs layer [2021-02-25T10:11:08.969Z] 63d7cb157983: Pulling fs layer [2021-02-25T10:11:08.969Z] b116817d02f9: Pulling fs layer [2021-02-25T10:11:08.969Z] 745a02a5169b: Pulling fs layer [2021-02-25T10:11:08.969Z] 63d7cb157983: Waiting [2021-02-25T10:11:08.969Z] b116817d02f9: Waiting [2021-02-25T10:11:08.969Z] 745a02a5169b: Waiting [2021-02-25T10:11:08.969Z] 00ac8860ef70: Waiting [2021-02-25T10:11:08.969Z] 18c013af1878: Verifying Checksum [2021-02-25T10:11:08.969Z] 18c013af1878: Download complete [2021-02-25T10:11:08.969Z] a4357932f1b6: Verifying Checksum [2021-02-25T10:11:08.969Z] a4357932f1b6: Download complete [2021-02-25T10:11:08.969Z] 63d7cb157983: Verifying Checksum [2021-02-25T10:11:08.969Z] 63d7cb157983: Download complete [2021-02-25T10:11:08.969Z] 5f621e34cdf4: Verifying Checksum [2021-02-25T10:11:08.969Z] 5f621e34cdf4: Download complete [2021-02-25T10:11:08.992Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 25.5% of statements [2021-02-25T10:11:09.245Z] b116817d02f9: Download complete [2021-02-25T10:11:09.845Z] 5f621e34cdf4: Pull complete [2021-02-25T10:11:10.118Z] a4357932f1b6: Pull complete [2021-02-25T10:11:10.722Z] 18c013af1878: Pull complete [2021-02-25T10:11:11.699Z] 745a02a5169b: Verifying Checksum [2021-02-25T10:11:11.699Z] 745a02a5169b: Download complete [2021-02-25T10:11:13.126Z] 00ac8860ef70: Download complete [2021-02-25T10:11:23.289Z] 00ac8860ef70: Pull complete [2021-02-25T10:11:23.289Z] 63d7cb157983: Pull complete [2021-02-25T10:11:23.563Z] b116817d02f9: Pull complete [2021-02-25T10:11:27.891Z] 745a02a5169b: Pull complete [2021-02-25T10:11:27.891Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-25T10:11:27.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-25T10:11:27.891Z] ---> b7e6874047d6 [2021-02-25T10:11:27.891Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-25T10:11:30.515Z] ---> Running in 66536a5abeaf [2021-02-25T10:11:30.516Z] Removing intermediate container 66536a5abeaf [2021-02-25T10:11:30.516Z] ---> e6b2c762564e [2021-02-25T10:11:30.516Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-25T10:11:30.788Z] ---> Running in f8f13b3d4ccd [2021-02-25T10:11:32.767Z] Removing intermediate container f8f13b3d4ccd [2021-02-25T10:11:32.767Z] ---> 3ce66ba4d2de [2021-02-25T10:11:32.767Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-25T10:11:33.042Z] ---> Running in b5c88e31de24 [2021-02-25T10:11:34.040Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-25T10:11:35.011Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-25T10:11:35.625Z] OK: 142 MiB in 39 packages [2021-02-25T10:11:36.602Z] Removing intermediate container b5c88e31de24 [2021-02-25T10:11:36.602Z] ---> 85dc6006253c [2021-02-25T10:11:36.602Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-25T10:11:36.602Z] ---> Running in 396d081287fc [2021-02-25T10:11:37.200Z] Removing intermediate container 396d081287fc [2021-02-25T10:11:37.200Z] ---> ef7a23f55195 [2021-02-25T10:11:37.200Z] Step 7/8 : COPY . . [2021-02-25T10:11:38.636Z] ---> 07f8d8c48ea5 [2021-02-25T10:11:38.636Z] Step 8/8 : RUN go mod download [2021-02-25T10:11:38.636Z] ---> Running in a06dec138af3 [2021-02-25T10:11:41.148Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.056s coverage: 10.1% of statements [2021-02-25T10:11:41.148Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.047s coverage: 12.5% of statements [2021-02-25T10:11:41.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-25T10:11:41.148Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.060s coverage: 84.8% of statements [2021-02-25T10:11:41.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-25T10:11:41.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-25T10:11:41.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-25T10:11:41.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-25T10:11:41.148Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.073s coverage: 48.7% of statements [2021-02-25T10:11:41.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-25T10:11:41.148Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.060s coverage: 81.3% of statements [2021-02-25T10:11:41.148Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.074s coverage: 24.8% of statements [2021-02-25T10:11:41.148Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.485s coverage: 83.5% of statements [2021-02-25T10:11:41.148Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 5.3% of statements [2021-02-25T10:11:41.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-25T10:11:41.148Z] GO111MODULE=on go vet ./... [2021-02-25T10:11:47.812Z] gofmt -l . [2021-02-25T10:11:47.812Z] [ "`gofmt -l .`" = "" ] [2021-02-25T10:11:47.812Z] ./bin/test-attribution-txt.sh [2021-02-25T10:11:48.394Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-25T10:11:48.680Z] $ docker stop --time=1 0624a5860ede91d54451427f19bd09fd103fe172d81a619292975af2b43ca876 [2021-02-25T10:11:50.640Z] $ docker rm -f 0624a5860ede91d54451427f19bd09fd103fe172d81a619292975af2b43ca876 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-25T10:11:51.303Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-25T10:11:51.740Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-25T10:11:53.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-25T10:11:53.777Z] + ls -al . [2021-02-25T10:11:53.777Z] total 184 [2021-02-25T10:11:53.777Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 25 10:11 . [2021-02-25T10:11:53.777Z] drwxrwxr-x. 4 jenkins jenkins 32 Feb 25 10:09 .. [2021-02-25T10:11:53.777Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 25 10:09 bin [2021-02-25T10:11:53.777Z] -rw-r--r--. 1 jenkins jenkins 102310 Feb 25 10:11 coverage.out [2021-02-25T10:11:53.777Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 25 10:09 Dockerfile.build [2021-02-25T10:11:53.777Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 25 10:09 .dockerignore [2021-02-25T10:11:53.777Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 25 10:09 example [2021-02-25T10:11:53.777Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 25 10:09 .git [2021-02-25T10:11:53.777Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 25 10:09 .github [2021-02-25T10:11:53.777Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 25 10:09 .gitignore [2021-02-25T10:11:53.777Z] -rw-r--r--. 1 jenkins jenkins 516 Feb 25 10:11 go.mod [2021-02-25T10:11:53.777Z] -rw-r--r--. 1 jenkins jenkins 17254 Feb 25 10:11 go.sum [2021-02-25T10:11:53.777Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 25 10:09 internal [2021-02-25T10:11:53.777Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 25 10:09 Jenkinsfile [2021-02-25T10:11:53.777Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 25 10:09 LICENSE [2021-02-25T10:11:53.777Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 25 10:09 Makefile [2021-02-25T10:11:53.777Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 25 10:09 openapi [2021-02-25T10:11:53.777Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 25 10:09 pkg [2021-02-25T10:11:53.777Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 25 10:09 README.md [2021-02-25T10:11:53.777Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 25 10:09 RELEASE-NOTES.txt [2021-02-25T10:11:53.777Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 25 10:09 snap [2021-02-25T10:11:53.777Z] -rw-rw-r--. 1 jenkins jenkins 12 Feb 25 10:06 VERSION [2021-02-25T10:11:53.777Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 25 10:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:11:54.083Z] + 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=d38291b108151c678147caa989c3776b19aa5fc1 --label arch=amd64 --label version=2.0.0-dev.17 . [2021-02-25T10:11:54.083Z] Sending build context to Docker daemon 2.514MB [2021-02-25T10:11:54.083Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-25T10:11:54.083Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-25T10:11:54.083Z] ---> 24e6c2c294f2 [2021-02-25T10:11:54.083Z] Step 3/24 : ARG MAKE='make build' [2021-02-25T10:11:55.029Z] ---> Running in 79557e6bce6b [2021-02-25T10:11:55.029Z] Removing intermediate container 79557e6bce6b [2021-02-25T10:11:55.029Z] ---> 88f0b468457d [2021-02-25T10:11:55.029Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-25T10:11:55.029Z] ---> Running in 0826bc9029f1 [2021-02-25T10:11:55.292Z] Removing intermediate container 0826bc9029f1 [2021-02-25T10:11:55.292Z] ---> 75dfba69d21f [2021-02-25T10:11:55.292Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-25T10:11:55.292Z] ---> Running in 4b44ff706107 [2021-02-25T10:11:55.555Z] Removing intermediate container 4b44ff706107 [2021-02-25T10:11:55.555Z] ---> b82bbd4d6d26 [2021-02-25T10:11:55.555Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-25T10:11:55.555Z] ---> Running in 1d1715d7015b [2021-02-25T10:11:56.505Z] Removing intermediate container 1d1715d7015b [2021-02-25T10:11:56.505Z] ---> 6f9ec14ab9fa [2021-02-25T10:11:56.505Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-25T10:11:56.505Z] ---> Running in bbdc97fd2be9 [2021-02-25T10:11:57.083Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-25T10:11:57.656Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-25T10:11:58.231Z] OK: 166 MiB in 39 packages [2021-02-25T10:11:58.813Z] Removing intermediate container bbdc97fd2be9 [2021-02-25T10:11:58.814Z] ---> 4e0b8c521ae6 [2021-02-25T10:11:58.814Z] Step 8/24 : COPY . . [2021-02-25T10:11:59.761Z] ---> 0dfd50c98da8 [2021-02-25T10:11:59.761Z] Step 9/24 : RUN ${MAKE} [2021-02-25T10:11:59.761Z] ---> Running in f366ef82d0e2 [2021-02-25T10:12:00.025Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.17" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-25T10:12:05.434Z] Removing intermediate container a06dec138af3 [2021-02-25T10:12:05.434Z] ---> 50ed8016336d [2021-02-25T10:12:05.434Z] Successfully built 50ed8016336d [2021-02-25T10:12:05.434Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:12:05.787Z] + docker inspect -f . ci-base-image-arm64 [2021-02-25T10:12:05.787Z] . [Pipeline] withDockerContainer [2021-02-25T10:12:06.063Z] prd-ubuntu18.04-docker-arm64-4c-16g-27638 does not seem to be running inside a container [2021-02-25T10:12:06.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/122 -v /w/workspace/device-sdk-go/122:/w/workspace/device-sdk-go/122:rw,z -v /w/workspace/device-sdk-go/122@tmp:/w/workspace/device-sdk-go/122@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-02-25T10:12:07.671Z] $ docker top a8b1c415970fcd2f4bc9e33b15e75adecb75d648f9dc3bdcd13305105f151261 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T10:12:08.306Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-25T10:12:08.700Z] + go version [2021-02-25T10:12:08.700Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-25T10:12:08.726Z] $ docker stop --time=1 a8b1c415970fcd2f4bc9e33b15e75adecb75d648f9dc3bdcd13305105f151261 [2021-02-25T10:12:10.611Z] $ docker rm -f a8b1c415970fcd2f4bc9e33b15e75adecb75d648f9dc3bdcd13305105f151261 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:12:11.608Z] + docker inspect -f . ci-base-image-arm64 [2021-02-25T10:12:11.608Z] . [2021-02-25T10:12:11.619Z] Removing intermediate container f366ef82d0e2 [2021-02-25T10:12:11.619Z] ---> 8a1e770bddbf [2021-02-25T10:12:11.619Z] Step 10/24 : FROM scratch [2021-02-25T10:12:11.619Z] ---> [2021-02-25T10:12:11.619Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-25T10:12:11.619Z] ---> Running in 94c43ba90c32 [2021-02-25T10:12:11.619Z] Removing intermediate container 94c43ba90c32 [2021-02-25T10:12:11.619Z] ---> d9d522fd824b [2021-02-25T10:12:11.619Z] Step 12/24 : ENV APP_PORT=49990 [Pipeline] withDockerContainer [2021-02-25T10:12:11.868Z] prd-ubuntu18.04-docker-arm64-4c-16g-27638 does not seem to be running inside a container [2021-02-25T10:12:11.881Z] ---> Running in c6b8fc7ecda8 [2021-02-25T10:12:11.881Z] Removing intermediate container c6b8fc7ecda8 [2021-02-25T10:12:11.881Z] ---> 855e2c2f28a1 [2021-02-25T10:12:11.881Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-25T10:12:11.881Z] ---> Running in ef06345815d0 [2021-02-25T10:12:11.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/122 -v /w/workspace/device-sdk-go/122:/w/workspace/device-sdk-go/122:rw,z -v /w/workspace/device-sdk-go/122@tmp:/w/workspace/device-sdk-go/122@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-02-25T10:12:12.145Z] Removing intermediate container ef06345815d0 [2021-02-25T10:12:12.145Z] ---> 5f5138863bc9 [2021-02-25T10:12:12.145Z] Step 14/24 : WORKDIR / [2021-02-25T10:12:12.145Z] ---> Running in ded94dadf1e5 [2021-02-25T10:12:12.407Z] Removing intermediate container ded94dadf1e5 [2021-02-25T10:12:12.407Z] ---> 33679cfb804b [2021-02-25T10:12:12.407Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-25T10:12:12.982Z] ---> 99bfd575f069 [2021-02-25T10:12:12.982Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-25T10:12:12.982Z] ---> e6e73e6ac6c5 [2021-02-25T10:12:12.982Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-25T10:12:13.244Z] ---> e68f3a1cbc19 [2021-02-25T10:12:13.244Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-25T10:12:13.425Z] $ docker top c13dcb3c725f0bf4b71dac966a1410aea2598bdaea0b85b816c6fb9a6eb5c640 -eo pid,comm [2021-02-25T10:12:13.507Z] ---> 7d4164b0f33f [2021-02-25T10:12:13.507Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [Pipeline] { [2021-02-25T10:12:13.768Z] ---> cf9ccc45eb86 [2021-02-25T10:12:13.768Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-25T10:12:13.768Z] ---> Running in ea727105925d [Pipeline] sh [2021-02-25T10:12:14.031Z] Removing intermediate container ea727105925d [2021-02-25T10:12:14.031Z] ---> 26f401658069 [2021-02-25T10:12:14.031Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-25T10:12:14.031Z] ---> Running in d403356de667 [2021-02-25T10:12:14.295Z] Removing intermediate container d403356de667 [2021-02-25T10:12:14.295Z] ---> 4f1e1b6ea1e5 [2021-02-25T10:12:14.295Z] Step 22/24 : LABEL arch=amd64 [2021-02-25T10:12:14.295Z] ---> Running in a2b265694b2b [2021-02-25T10:12:14.295Z] Removing intermediate container a2b265694b2b [2021-02-25T10:12:14.295Z] ---> ece98c3a2e06 [2021-02-25T10:12:14.295Z] Step 23/24 : LABEL git_sha=d38291b108151c678147caa989c3776b19aa5fc1 [2021-02-25T10:12:14.461Z] + make test [2021-02-25T10:12:14.461Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-25T10:12:14.557Z] ---> Running in 13fdd17ea089 [2021-02-25T10:12:14.558Z] Removing intermediate container 13fdd17ea089 [2021-02-25T10:12:14.558Z] ---> d59866855415 [2021-02-25T10:12:14.558Z] Step 24/24 : LABEL version=2.0.0-dev.17 [2021-02-25T10:12:14.820Z] ---> Running in 7fd0a53f0df5 [2021-02-25T10:12:14.820Z] Removing intermediate container 7fd0a53f0df5 [2021-02-25T10:12:14.820Z] ---> f222e24e0b5e [2021-02-25T10:12:14.820Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-25T10:12:14.820Z] Successfully built f222e24e0b5e [2021-02-25T10:12:14.820Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:12:15.725Z] ---> job-cost.sh [2021-02-25T10:12:15.725Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9hRk [2021-02-25T10:12:30.655Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-25T10:12:36.638Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-25T10:12:57.337Z] lf-activate-venv(): INFO: Adding /tmp/venv-9hRk/bin to PATH [2021-02-25T10:12:57.337Z] INFO: No Stack... [2021-02-25T10:12:57.337Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-25T10:12:57.955Z] INFO: Archiving Costs [Pipeline] sh [2021-02-25T10:12:58.302Z] + cat /w/workspace/device-sdk-go/122/archives/cost.csv [2021-02-25T10:12:58.303Z] + cut -d, -f6 [Pipeline] lock [2021-02-25T10:12:58.427Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] [2021-02-25T10:12:58.437Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] did not exist. Created. [2021-02-25T10:12:58.437Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-25T10:12:58.848Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-02-25T10:12:58.957Z] Stashed 1 file(s) [Pipeline] } [2021-02-25T10:12:58.969Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-25T10:13:15.674Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-25T10:13:15.674Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-25T10:13:15.674Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-25T10:13:22.416Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.156s coverage: 25.5% of statements [2021-02-25T10:13:49.265Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.133s coverage: 10.1% of statements [2021-02-25T10:13:49.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.170s coverage: 12.5% of statements [2021-02-25T10:13:49.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-25T10:13:49.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.153s coverage: 84.8% of statements [2021-02-25T10:13:49.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-25T10:13:49.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-25T10:13:49.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-25T10:13:49.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-25T10:13:49.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 48.7% of statements [2021-02-25T10:13:49.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-25T10:13:49.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.153s coverage: 81.3% of statements [2021-02-25T10:13:49.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.176s coverage: 24.8% of statements [2021-02-25T10:13:49.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.783s coverage: 83.5% of statements [2021-02-25T10:13:49.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.3% of statements [2021-02-25T10:13:49.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-25T10:13:49.266Z] GO111MODULE=on go vet ./... [2021-02-25T10:14:21.773Z] gofmt -l . [2021-02-25T10:14:21.773Z] [ "`gofmt -l .`" = "" ] [2021-02-25T10:14:21.773Z] ./bin/test-attribution-txt.sh [2021-02-25T10:14:21.773Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-25T10:14:22.070Z] $ docker stop --time=1 c13dcb3c725f0bf4b71dac966a1410aea2598bdaea0b85b816c6fb9a6eb5c640 [2021-02-25T10:14:24.333Z] $ docker rm -f c13dcb3c725f0bf4b71dac966a1410aea2598bdaea0b85b816c6fb9a6eb5c640 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-25T10:14:25.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-25T10:14:25.491Z] Warning: overwriting stash ‘coverage-report’ [2021-02-25T10:14:26.264Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-25T10:14:27.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-25T10:14:27.417Z] + ls -al . [2021-02-25T10:14:27.417Z] total 220 [2021-02-25T10:14:27.417Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 25 10:14 . [2021-02-25T10:14:27.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 10:10 .. [2021-02-25T10:14:27.417Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 25 10:10 .dockerignore [2021-02-25T10:14:27.417Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 10:10 .git [2021-02-25T10:14:27.417Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 10:10 .github [2021-02-25T10:14:27.417Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 25 10:10 .gitignore [2021-02-25T10:14:27.417Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 25 10:10 Dockerfile.build [2021-02-25T10:14:27.417Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 25 10:10 Jenkinsfile [2021-02-25T10:14:27.417Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 25 10:10 LICENSE [2021-02-25T10:14:27.417Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 25 10:10 Makefile [2021-02-25T10:14:27.417Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 25 10:10 README.md [2021-02-25T10:14:27.417Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 25 10:10 RELEASE-NOTES.txt [2021-02-25T10:14:27.417Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 25 10:06 VERSION [2021-02-25T10:14:27.417Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 10:10 bin [2021-02-25T10:14:27.417Z] -rw-r--r-- 1 jenkins jenkins 102310 Feb 25 10:13 coverage.out [2021-02-25T10:14:27.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 10:10 example [2021-02-25T10:14:27.417Z] -rw-r--r-- 1 jenkins jenkins 516 Feb 25 10:14 go.mod [2021-02-25T10:14:27.417Z] -rw-r--r-- 1 jenkins jenkins 17254 Feb 25 10:14 go.sum [2021-02-25T10:14:27.417Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 25 10:10 internal [2021-02-25T10:14:27.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 10:10 openapi [2021-02-25T10:14:27.417Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 25 10:10 pkg [2021-02-25T10:14:27.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 10:10 snap [2021-02-25T10:14:27.417Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 25 10:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:14:27.757Z] + 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=d38291b108151c678147caa989c3776b19aa5fc1 --label arch=arm64 --label version=2.0.0-dev.17 . [2021-02-25T10:14:28.351Z] Sending build context to Docker daemon 2.504MB [2021-02-25T10:14:28.351Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-25T10:14:28.351Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-25T10:14:28.351Z] ---> 50ed8016336d [2021-02-25T10:14:28.351Z] Step 3/24 : ARG MAKE='make build' [2021-02-25T10:14:28.623Z] ---> Running in ceaa5ce14a8a [2021-02-25T10:14:28.897Z] Removing intermediate container ceaa5ce14a8a [2021-02-25T10:14:28.897Z] ---> 68920b41b15e [2021-02-25T10:14:28.897Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-25T10:14:29.170Z] ---> Running in 39554981cae6 [2021-02-25T10:14:29.762Z] Removing intermediate container 39554981cae6 [2021-02-25T10:14:29.762Z] ---> 711c94f46f1b [2021-02-25T10:14:29.762Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-25T10:14:29.762Z] ---> Running in 296c6acd4d59 [2021-02-25T10:14:30.033Z] Removing intermediate container 296c6acd4d59 [2021-02-25T10:14:30.033Z] ---> ce8ea1e088f1 [2021-02-25T10:14:30.033Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-25T10:14:30.304Z] ---> Running in 7c090ac954dc [2021-02-25T10:14:32.296Z] Removing intermediate container 7c090ac954dc [2021-02-25T10:14:32.296Z] ---> 0a772b473648 [2021-02-25T10:14:32.296Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-25T10:14:32.296Z] ---> Running in eee4f6081f86 [2021-02-25T10:14:33.278Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-25T10:14:34.254Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-25T10:14:35.239Z] OK: 142 MiB in 39 packages [2021-02-25T10:14:36.225Z] Removing intermediate container eee4f6081f86 [2021-02-25T10:14:36.225Z] ---> 8e54be5a1339 [2021-02-25T10:14:36.225Z] Step 8/24 : COPY . . [2021-02-25T10:14:37.657Z] ---> f17a0e1fdd5a [2021-02-25T10:14:37.657Z] Step 9/24 : RUN ${MAKE} [2021-02-25T10:14:37.657Z] ---> Running in a5715b7389b4 [2021-02-25T10:14:38.635Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.17" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-25T10:15:05.444Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-25T10:15:06.056Z] Removing intermediate container a5715b7389b4 [2021-02-25T10:15:06.056Z] ---> 1a4c3e37a4ef [2021-02-25T10:15:06.056Z] Step 10/24 : FROM scratch [2021-02-25T10:15:06.056Z] ---> [2021-02-25T10:15:06.056Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-25T10:15:06.056Z] ---> Running in f988638fcfa6 [2021-02-25T10:15:06.329Z] Removing intermediate container f988638fcfa6 [2021-02-25T10:15:06.329Z] ---> 5f80f19b16b4 [2021-02-25T10:15:06.329Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-25T10:15:06.606Z] ---> Running in 87845dbe0f58 [2021-02-25T10:15:06.877Z] Removing intermediate container 87845dbe0f58 [2021-02-25T10:15:06.877Z] ---> 9d8509e08580 [2021-02-25T10:15:06.877Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-25T10:15:07.149Z] ---> Running in e24454ba66f9 [2021-02-25T10:15:07.420Z] Removing intermediate container e24454ba66f9 [2021-02-25T10:15:07.420Z] ---> 0113e655f77e [2021-02-25T10:15:07.420Z] Step 14/24 : WORKDIR / [2021-02-25T10:15:07.420Z] ---> Running in 2f3a27889450 [2021-02-25T10:15:08.014Z] Removing intermediate container 2f3a27889450 [2021-02-25T10:15:08.014Z] ---> 86b6d7af41ec [2021-02-25T10:15:08.014Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-25T10:15:08.995Z] ---> d02b92c4e0c6 [2021-02-25T10:15:08.995Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-25T10:15:09.968Z] ---> f9804d4291f3 [2021-02-25T10:15:09.968Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-25T10:15:10.560Z] ---> 317d0d1576db [2021-02-25T10:15:10.561Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-25T10:15:11.155Z] ---> 648675e5f40e [2021-02-25T10:15:11.155Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-25T10:15:12.159Z] ---> 250ca6e183a1 [2021-02-25T10:15:12.159Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-25T10:15:12.159Z] ---> Running in 98df3a331de8 [2021-02-25T10:15:12.762Z] Removing intermediate container 98df3a331de8 [2021-02-25T10:15:12.762Z] ---> 8688eb40eac6 [2021-02-25T10:15:12.762Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-25T10:15:12.762Z] ---> Running in d32a89443be9 [2021-02-25T10:15:13.357Z] Removing intermediate container d32a89443be9 [2021-02-25T10:15:13.357Z] ---> 5d9b3c9f35a0 [2021-02-25T10:15:13.357Z] Step 22/24 : LABEL arch=arm64 [2021-02-25T10:15:13.357Z] ---> Running in 9bca29bc04b7 [2021-02-25T10:15:13.950Z] Removing intermediate container 9bca29bc04b7 [2021-02-25T10:15:13.950Z] ---> 28ef498045eb [2021-02-25T10:15:13.950Z] Step 23/24 : LABEL git_sha=d38291b108151c678147caa989c3776b19aa5fc1 [2021-02-25T10:15:13.950Z] ---> Running in bd982ef860b2 [2021-02-25T10:15:14.544Z] Removing intermediate container bd982ef860b2 [2021-02-25T10:15:14.544Z] ---> a95701f63483 [2021-02-25T10:15:14.544Z] Step 24/24 : LABEL version=2.0.0-dev.17 [2021-02-25T10:15:14.544Z] ---> Running in 9add670be91c [2021-02-25T10:15:15.135Z] Removing intermediate container 9add670be91c [2021-02-25T10:15:15.135Z] ---> e21e1e5fe9de [2021-02-25T10:15:15.135Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-25T10:15:15.135Z] Successfully built e21e1e5fe9de [2021-02-25T10:15:15.135Z] 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-02-25T10:15:16.021Z] ---> job-cost.sh [2021-02-25T10:15:16.021Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-04oP [2021-02-25T10:15:54.955Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-25T10:18:01.726Z] lf-activate-venv(): INFO: Adding /tmp/venv-04oP/bin to PATH [2021-02-25T10:18:01.726Z] INFO: No Stack... [2021-02-25T10:18:01.726Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-02-25T10:18:01.726Z] INFO: Archiving Costs [Pipeline] sh [2021-02-25T10:18:02.060Z] + + cutcat -d, /w/workspace/device-sdk-go/122/archives/cost.csv -f6 [2021-02-25T10:18:02.060Z] [Pipeline] lock [2021-02-25T10:18:02.171Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] [2021-02-25T10:18:02.183Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] did not exist. Created. [2021-02-25T10:18:02.184Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-25T10:18:02.659Z] /w/workspace/device-sdk-go/122@tmp/durable-5ed10eed/script.sh: 1: /w/workspace/device-sdk-go/122@tmp/durable-5ed10eed/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-02-25T10:18:03.002Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-02-25T10:18:03.020Z] Warning: overwriting stash ‘stack-cost’ [2021-02-25T10:18:03.187Z] Stashed 1 file(s) [Pipeline] } [2021-02-25T10:18:03.197Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-122-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-02-25T10:18:04.677Z] provisioning config files... [2021-02-25T10:18:04.688Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6047142472423369086tmp [Pipeline] { [Pipeline] sh [2021-02-25T10:18:05.078Z] + set +x [2021-02-25T10:18:05.078Z] + curl -s https://codecov.io/bash [2021-02-25T10:18:05.078Z] + bash -s -- [2021-02-25T10:18:05.340Z] [2021-02-25T10:18:05.340Z] _____ _ [2021-02-25T10:18:05.340Z] / ____| | | [2021-02-25T10:18:05.340Z] | | ___ __| | ___ ___ _____ __ [2021-02-25T10:18:05.340Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-25T10:18:05.340Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-25T10:18:05.340Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-25T10:18:05.340Z] Bash-20210129-7c25fce [2021-02-25T10:18:05.340Z] [2021-02-25T10:18:05.340Z] [2021-02-25T10:18:05.340Z] ==> git version 2.24.3 found [2021-02-25T10:18:05.340Z] ==> 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-02-25T10:18:05.340Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-25T10:18:05.340Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-25T10:18:05.340Z] ==> Jenkins CI detected. [2021-02-25T10:18:05.340Z] project root: . [2021-02-25T10:18:05.340Z] --> token set from env [2021-02-25T10:18:05.340Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-25T10:18:05.340Z] ==> Running gcov in . (disable via -X gcov) [2021-02-25T10:18:05.340Z] ==> Python coveragepy not found [2021-02-25T10:18:05.340Z] ==> Searching for coverage reports in: [2021-02-25T10:18:05.340Z] + . [2021-02-25T10:18:05.340Z] -> Found 1 reports [2021-02-25T10:18:05.340Z] ==> Detecting git/mercurial file structure [2021-02-25T10:18:05.340Z] ==> Reading reports [2021-02-25T10:18:05.340Z] + ./coverage.out bytes=102310 [2021-02-25T10:18:05.340Z] ==> Appending adjustments [2021-02-25T10:18:05.340Z] https://docs.codecov.io/docs/fixing-reports [2021-02-25T10:18:05.912Z] + Found adjustments [2021-02-25T10:18:05.913Z] ==> Gzipping contents [2021-02-25T10:18:05.913Z] 20K /tmp/codecov.8Kg0b1.gz [2021-02-25T10:18:05.913Z] ==> Uploading reports [2021-02-25T10:18:05.913Z] url: https://codecov.io [2021-02-25T10:18:05.913Z] query: branch=master&commit=d38291b108151c678147caa989c3776b19aa5fc1&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F122%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-25T10:18:05.913Z] -> Pinging Codecov [2021-02-25T10:18:05.913Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=d38291b108151c678147caa989c3776b19aa5fc1&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F122%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-25T10:18:06.175Z] -> Uploading to [2021-02-25T10:18:06.175Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-25/7E55EF52A471D76F132DFD9A03CDDE97/d38291b108151c678147caa989c3776b19aa5fc1/3a51474d-2819-4f82-8a04-ea28f950eb49.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210225%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210225T101805Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1dd9eeb6c01d3f34f3497d905500d5164c797c494f3d78ba2026077c643af206 [2021-02-25T10:18:06.175Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-25T10:18:06.175Z] Dload Upload Total Spent Left Speed [2021-02-25T10:18:06.750Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16522 0 0 100 16522 0 35473 --:--:-- --:--:-- --:--:-- 35531 [2021-02-25T10:18:06.750Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d38291b108151c678147caa989c3776b19aa5fc1 [Pipeline] } [2021-02-25T10:18:06.761Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-02-25T10:18:07.656Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-02-25T10:18:07.715Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:18:08.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-25T10:18:08.058Z] [2021-02-25T10:18:08.058Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:18:08.413Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-25T10:18:08.413Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-02-25T10:18:08.413Z] 188c0c94c7c5: Pulling fs layer [2021-02-25T10:18:08.413Z] 0ef7d3d256c8: Pulling fs layer [2021-02-25T10:18:08.413Z] de9db76c5a1d: Pulling fs layer [2021-02-25T10:18:08.413Z] 0eba1c9be4d2: Pulling fs layer [2021-02-25T10:18:08.413Z] 0d57e429df01: Pulling fs layer [2021-02-25T10:18:08.413Z] 4e4be7b47b0d: Pulling fs layer [2021-02-25T10:18:08.413Z] e1f770b5df2f: Pulling fs layer [2021-02-25T10:18:08.413Z] 85a0685a4137: Pulling fs layer [2021-02-25T10:18:08.413Z] 0eba1c9be4d2: Waiting [2021-02-25T10:18:08.413Z] 0d57e429df01: Waiting [2021-02-25T10:18:08.413Z] 4e4be7b47b0d: Waiting [2021-02-25T10:18:08.413Z] e1f770b5df2f: Waiting [2021-02-25T10:18:08.413Z] 85a0685a4137: Waiting [2021-02-25T10:18:08.413Z] de9db76c5a1d: Verifying Checksum [2021-02-25T10:18:08.413Z] de9db76c5a1d: Download complete [2021-02-25T10:18:08.413Z] 0ef7d3d256c8: Verifying Checksum [2021-02-25T10:18:08.413Z] 0ef7d3d256c8: Download complete [2021-02-25T10:18:08.413Z] 0d57e429df01: Verifying Checksum [2021-02-25T10:18:08.413Z] 0d57e429df01: Download complete [2021-02-25T10:18:08.413Z] 188c0c94c7c5: Download complete [2021-02-25T10:18:08.413Z] 4e4be7b47b0d: Verifying Checksum [2021-02-25T10:18:08.413Z] 4e4be7b47b0d: Download complete [2021-02-25T10:18:08.990Z] 188c0c94c7c5: Pull complete [2021-02-25T10:18:08.990Z] 0ef7d3d256c8: Pull complete [2021-02-25T10:18:09.252Z] de9db76c5a1d: Pull complete [2021-02-25T10:18:10.643Z] e1f770b5df2f: Verifying Checksum [2021-02-25T10:18:10.643Z] e1f770b5df2f: Download complete [2021-02-25T10:18:12.595Z] 0eba1c9be4d2: Verifying Checksum [2021-02-25T10:18:12.595Z] 0eba1c9be4d2: Download complete [2021-02-25T10:18:12.595Z] 85a0685a4137: Verifying Checksum [2021-02-25T10:18:12.595Z] 85a0685a4137: Download complete [2021-02-25T10:18:19.223Z] 0eba1c9be4d2: Pull complete [2021-02-25T10:18:19.223Z] 0d57e429df01: Pull complete [2021-02-25T10:18:19.223Z] 4e4be7b47b0d: Pull complete [2021-02-25T10:18:20.618Z] e1f770b5df2f: Pull complete [2021-02-25T10:18:28.788Z] 85a0685a4137: Pull complete [2021-02-25T10:18:28.788Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-02-25T10:18:28.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-25T10:18:28.788Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-02-25T10:18:29.006Z] prd-centos7-docker-4c-2g-27636 does not seem to be running inside a container [2021-02-25T10:18:29.052Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-02-25T10:18:30.023Z] $ docker top 4032267a527489ddedf5cb6f8685486fce04d00d011820db0a5d20bb77099e89 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-25T10:18:30.311Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-02-25T10:18:30.602Z] + set -o pipefail [2021-02-25T10:18:30.602Z] + snyk monitor '--org=edgex-jenkins' [2021-02-25T10:18:38.764Z] [2021-02-25T10:18:38.764Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-02-25T10:18:38.764Z] [2021-02-25T10:18:38.764Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/f73582b9-488e-42b1-a5af-dcfe384fdca6 [2021-02-25T10:18:38.764Z] [2021-02-25T10:18:38.764Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-02-25T10:18:38.764Z] [2021-02-25T10:18:38.764Z] [2021-02-25T10:18:38.764Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2021-02-25T10:18:38.764Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-02-25T10:18:38.781Z] $ docker stop --time=1 4032267a527489ddedf5cb6f8685486fce04d00d011820db0a5d20bb77099e89 [2021-02-25T10:18:41.515Z] $ docker rm -f 4032267a527489ddedf5cb6f8685486fce04d00d011820db0a5d20bb77099e89 [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-02-25T10:18:42.822Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-25T10:18:42.873Z] provisioning config files... [2021-02-25T10:18:42.886Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3038520223501436899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:18:43.257Z] --> edgex-publish-swagger.sh [2021-02-25T10:18:43.257Z] === Publish openapi/v1 API === [2021-02-25T10:18:43.257Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-02-25T10:18:43.257Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-02-25T10:18:43.257Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-25T10:18:43.257Z] Dload Upload Total Spent Left Speed [2021-02-25T10:18:43.830Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 28208 --:--:-- --:--:-- --:--:-- 28253 [2021-02-25T10:18:43.830Z] [2021-02-25T10:18:43.830Z] [2021-02-25T10:18:43.830Z] === Publish openapi/v2 API === [2021-02-25T10:18:43.830Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-02-25T10:18:43.830Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-02-25T10:18:43.830Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-25T10:18:43.830Z] Dload Upload Total Spent Left Speed [2021-02-25T10:18:44.667Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52256 0 0 100 52256 0 80334 --:--:-- --:--:-- --:--:-- 80270 [2021-02-25T10:18:44.667Z] [2021-02-25T10:18:44.667Z] [Pipeline] } [2021-02-25T10:18:44.678Z] 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-02-25T10:18:45.485Z] + git log --format=format:%s -1 d38291b108151c678147caa989c3776b19aa5fc1 [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:18:45.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T10:18:45.793Z] . [Pipeline] withDockerContainer [2021-02-25T10:18:45.884Z] prd-centos7-docker-4c-2g-27636 does not seem to be running inside a container [2021-02-25T10:18:45.953Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-25T10:18:46.590Z] $ docker top 2d0a828c4f2fa584faad0a1b2889f55deb5b80ed40b9fd37bc4bba9631492406 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-25T10:18:46.914Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T10:18:46.914Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T10:18:47.110Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T10:18:47.112Z] $ docker exec 2d0a828c4f2fa584faad0a1b2889f55deb5b80ed40b9fd37bc4bba9631492406 ssh-agent [2021-02-25T10:18:47.281Z] SSH_AUTH_SOCK=/tmp/ssh-sehJwvCfJmd8/agent.12 [2021-02-25T10:18:47.281Z] SSH_AGENT_PID=17 [2021-02-25T10:18:47.288Z] Running ssh-add (command line suppressed) [2021-02-25T10:18:47.413Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7733619975204841976.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7733619975204841976.key) [2021-02-25T10:18:47.469Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T10:18:47.808Z] + git semver tag [2021-02-25T10:18:47.808Z] # -> Open(): unable to determine branch for HEAD [2021-02-25T10:18:47.808Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-25T10:18:47.808Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-25T10:18:47.808Z] # $SEMVER_REMOTE_NAME = origin [2021-02-25T10:18:47.808Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-25T10:18:47.808Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-25T10:18:47.808Z] # $SEMVER_BRANCH = master [2021-02-25T10:18:47.808Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-02-25T10:18:47.808Z] # d38291b108151c678147caa989c3776b19aa5fc1 HEAD [2021-02-25T10:18:47.808Z] # -> Force: false [2021-02-25T10:18:47.808Z] # 5c1c20d6281efc060e243ea66dec009cd7a9642c refs/tags/v2.0.0-dev.17 [Pipeline] } [2021-02-25T10:18:47.819Z] $ docker exec --env ******** --env ******** 2d0a828c4f2fa584faad0a1b2889f55deb5b80ed40b9fd37bc4bba9631492406 ssh-agent -k [2021-02-25T10:18:47.939Z] unset SSH_AUTH_SOCK; [2021-02-25T10:18:47.939Z] unset SSH_AGENT_PID; [2021-02-25T10:18:47.939Z] echo Agent pid 17 killed; [2021-02-25T10:18:47.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-25T10:18:48.447Z] + git semver [Pipeline] } [2021-02-25T10:18:48.462Z] $ docker stop --time=1 2d0a828c4f2fa584faad0a1b2889f55deb5b80ed40b9fd37bc4bba9631492406 [2021-02-25T10:18:49.811Z] $ docker rm -f 2d0a828c4f2fa584faad0a1b2889f55deb5b80ed40b9fd37bc4bba9631492406 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:18:50.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-25T10:18:50.445Z] [2021-02-25T10:18:50.445Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:18:50.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-25T10:18:50.812Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-25T10:18:50.812Z] ab5ef0e58194: Pulling fs layer [2021-02-25T10:18:50.812Z] 9712f1f96733: Pulling fs layer [2021-02-25T10:18:50.812Z] 63f879dbbcfc: Pulling fs layer [2021-02-25T10:18:50.812Z] 0d9ebad4ef96: Pulling fs layer [2021-02-25T10:18:50.812Z] e9a5061849ea: Pulling fs layer [2021-02-25T10:18:50.812Z] d747dcd14b5f: Pulling fs layer [2021-02-25T10:18:50.812Z] 2de7ff778b66: Pulling fs layer [2021-02-25T10:18:50.812Z] e9a5061849ea: Waiting [2021-02-25T10:18:50.812Z] d747dcd14b5f: Waiting [2021-02-25T10:18:50.812Z] 2de7ff778b66: Waiting [2021-02-25T10:18:50.812Z] 0d9ebad4ef96: Waiting [2021-02-25T10:18:50.812Z] 9712f1f96733: Verifying Checksum [2021-02-25T10:18:50.812Z] 9712f1f96733: Download complete [2021-02-25T10:18:52.242Z] 63f879dbbcfc: Verifying Checksum [2021-02-25T10:18:52.242Z] 63f879dbbcfc: Download complete [2021-02-25T10:18:52.511Z] e9a5061849ea: Verifying Checksum [2021-02-25T10:18:52.511Z] e9a5061849ea: Download complete [2021-02-25T10:18:52.511Z] d747dcd14b5f: Verifying Checksum [2021-02-25T10:18:52.511Z] d747dcd14b5f: Download complete [2021-02-25T10:18:52.774Z] 2de7ff778b66: Verifying Checksum [2021-02-25T10:18:52.774Z] 2de7ff778b66: Download complete [2021-02-25T10:18:53.356Z] 0d9ebad4ef96: Verifying Checksum [2021-02-25T10:18:53.356Z] 0d9ebad4ef96: Download complete [2021-02-25T10:18:53.356Z] ab5ef0e58194: Verifying Checksum [2021-02-25T10:18:53.356Z] ab5ef0e58194: Download complete [2021-02-25T10:18:57.591Z] ab5ef0e58194: Pull complete [2021-02-25T10:18:57.591Z] 9712f1f96733: Pull complete [2021-02-25T10:19:00.190Z] 63f879dbbcfc: Pull complete [2021-02-25T10:19:06.864Z] 0d9ebad4ef96: Pull complete [2021-02-25T10:19:08.254Z] e9a5061849ea: Pull complete [2021-02-25T10:19:08.254Z] d747dcd14b5f: Pull complete [2021-02-25T10:19:10.807Z] 2de7ff778b66: Pull complete [2021-02-25T10:19:10.807Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-25T10:19:10.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-25T10:19:10.807Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-25T10:19:11.007Z] prd-centos7-docker-4c-2g-27636 does not seem to be running inside a container [2021-02-25T10:19:11.054Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-02-25T10:19:14.534Z] $ docker top 7e930d31a5810314c31de5fda5235916deefa81e5a8676e741824d28ffc84059 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-25T10:19:14.791Z] provisioning config files... [2021-02-25T10:19:14.805Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5168619683096256142tmp [2021-02-25T10:19:14.821Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5029723075568112728tmp [2021-02-25T10:19:14.835Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8170944397627365569tmp [Pipeline] { [Pipeline] echo [2021-02-25T10:19:14.894Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:19:15.195Z] ---> sigul-configuration.sh [2021-02-25T10:19:15.195Z] gpg: directory `/root/.gnupg' created [2021-02-25T10:19:15.195Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-25T10:19:15.195Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-25T10:19:15.195Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-25T10:19:15.195Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-25T10:19:15.195Z] gpg: CAST5 encrypted data [2021-02-25T10:19:15.458Z] gpg: encrypted with 1 passphrase [2021-02-25T10:19:15.458Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-25T10:19:15.766Z] + mkdir /home/jenkins [2021-02-25T10:19:15.766Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-25T10:19:16.065Z] + 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-02-25T10:19:16.077Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:19:16.381Z] ---> sigul-install.sh [2021-02-25T10:19:22.988Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-25T10:19:23.328Z] + git tag --list [2021-02-25T10:19:23.328Z] 0.7.1 [2021-02-25T10:19:23.328Z] delhi-tag [2021-02-25T10:19:23.328Z] v1.0.0 [2021-02-25T10:19:23.328Z] v1.1.0 [2021-02-25T10:19:23.328Z] v1.1.1 [2021-02-25T10:19:23.328Z] v1.1.2 [2021-02-25T10:19:23.328Z] v1.2.0 [2021-02-25T10:19:23.328Z] v1.2.1 [2021-02-25T10:19:23.328Z] v1.2.2 [2021-02-25T10:19:23.328Z] v1.2.3 [2021-02-25T10:19:23.328Z] v1.3.0 [2021-02-25T10:19:23.328Z] v1.4.0 [2021-02-25T10:19:23.328Z] v2.0.0-dev.1 [2021-02-25T10:19:23.328Z] v2.0.0-dev.10 [2021-02-25T10:19:23.328Z] v2.0.0-dev.11 [2021-02-25T10:19:23.328Z] v2.0.0-dev.12 [2021-02-25T10:19:23.328Z] v2.0.0-dev.13 [2021-02-25T10:19:23.328Z] v2.0.0-dev.14 [2021-02-25T10:19:23.328Z] v2.0.0-dev.15 [2021-02-25T10:19:23.328Z] v2.0.0-dev.16 [2021-02-25T10:19:23.328Z] v2.0.0-dev.17 [2021-02-25T10:19:23.328Z] v2.0.0-dev.2 [2021-02-25T10:19:23.328Z] v2.0.0-dev.3 [2021-02-25T10:19:23.328Z] v2.0.0-dev.4 [2021-02-25T10:19:23.328Z] v2.0.0-dev.5 [2021-02-25T10:19:23.328Z] v2.0.0-dev.6 [2021-02-25T10:19:23.328Z] v2.0.0-dev.7 [2021-02-25T10:19:23.328Z] v2.0.0-dev.8 [2021-02-25T10:19:23.328Z] v2.0.0-dev.9 [Pipeline] sh [2021-02-25T10:19:23.628Z] + lftools sign git-tag v2.0.0-dev.17 [2021-02-25T10:19:25.017Z] Signing Git tag with Sigul... [2021-02-25T10:19:25.017Z] Signing v2.0.0-dev.17 [Pipeline] echo [2021-02-25T10:19:25.978Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:19:26.273Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-25T10:19:26.282Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-25T10:19:26.403Z] $ docker stop --time=1 7e930d31a5810314c31de5fda5235916deefa81e5a8676e741824d28ffc84059 [2021-02-25T10:19:28.438Z] $ docker rm -f 7e930d31a5810314c31de5fda5235916deefa81e5a8676e741824d28ffc84059 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:19:29.377Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T10:19:29.377Z] . [Pipeline] withDockerContainer [2021-02-25T10:19:29.480Z] prd-centos7-docker-4c-2g-27636 does not seem to be running inside a container [2021-02-25T10:19:29.526Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-25T10:19:30.199Z] $ docker top 46b3362e2439765f307b6685b65e29412f5f9915979d0353eccaef164f38a9bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-25T10:19:30.502Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T10:19:30.502Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T10:19:30.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T10:19:30.690Z] $ docker exec 46b3362e2439765f307b6685b65e29412f5f9915979d0353eccaef164f38a9bb ssh-agent [2021-02-25T10:19:30.858Z] SSH_AUTH_SOCK=/tmp/ssh-4MXGJFL2sK6P/agent.12 [2021-02-25T10:19:30.858Z] SSH_AGENT_PID=18 [2021-02-25T10:19:30.865Z] Running ssh-add (command line suppressed) [2021-02-25T10:19:30.987Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2873897536529080119.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2873897536529080119.key) [2021-02-25T10:19:31.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T10:19:31.389Z] + git semver bump pre [2021-02-25T10:19:31.389Z] # -> Open(): unable to determine branch for HEAD [2021-02-25T10:19:31.389Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-25T10:19:31.389Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-25T10:19:31.389Z] # $SEMVER_REMOTE_NAME = origin [2021-02-25T10:19:31.389Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-25T10:19:31.389Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-25T10:19:31.389Z] # $SEMVER_BRANCH = master [2021-02-25T10:19:31.389Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-02-25T10:19:31.389Z] 2.0.0-dev.18 [Pipeline] } [2021-02-25T10:19:31.401Z] $ docker exec --env ******** --env ******** 46b3362e2439765f307b6685b65e29412f5f9915979d0353eccaef164f38a9bb ssh-agent -k [2021-02-25T10:19:31.525Z] unset SSH_AUTH_SOCK; [2021-02-25T10:19:31.525Z] unset SSH_AGENT_PID; [2021-02-25T10:19:31.525Z] echo Agent pid 18 killed; [2021-02-25T10:19:31.583Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-25T10:19:32.078Z] + git semver [Pipeline] } [2021-02-25T10:19:32.094Z] $ docker stop --time=1 46b3362e2439765f307b6685b65e29412f5f9915979d0353eccaef164f38a9bb [2021-02-25T10:19:33.474Z] $ docker rm -f 46b3362e2439765f307b6685b65e29412f5f9915979d0353eccaef164f38a9bb [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:19:34.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T10:19:34.014Z] . [Pipeline] withDockerContainer [2021-02-25T10:19:34.116Z] prd-centos7-docker-4c-2g-27636 does not seem to be running inside a container [2021-02-25T10:19:34.161Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-25T10:19:34.784Z] $ docker top edd51cd0ac95a79a70b254b567edc3fa077d5cf76e05ee903e7b836ee6467056 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-25T10:19:35.065Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T10:19:35.065Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T10:19:35.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T10:19:35.257Z] $ docker exec edd51cd0ac95a79a70b254b567edc3fa077d5cf76e05ee903e7b836ee6467056 ssh-agent [2021-02-25T10:19:35.439Z] SSH_AUTH_SOCK=/tmp/ssh-Eu7RRmAWM5es/agent.12 [2021-02-25T10:19:35.439Z] SSH_AGENT_PID=18 [2021-02-25T10:19:35.446Z] Running ssh-add (command line suppressed) [2021-02-25T10:19:35.573Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4372938254379350235.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4372938254379350235.key) [2021-02-25T10:19:35.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T10:19:35.961Z] + git semver push [2021-02-25T10:19:35.962Z] # -> Open(): unable to determine branch for HEAD [2021-02-25T10:19:35.962Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-25T10:19:35.962Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-25T10:19:35.962Z] # $SEMVER_REMOTE_NAME = origin [2021-02-25T10:19:35.962Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-25T10:19:35.962Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-25T10:19:35.962Z] # $SEMVER_BRANCH = master [2021-02-25T10:19:35.962Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-02-25T10:19:42.568Z] $ docker exec --env ******** --env ******** edd51cd0ac95a79a70b254b567edc3fa077d5cf76e05ee903e7b836ee6467056 ssh-agent -k [2021-02-25T10:19:42.720Z] unset SSH_AUTH_SOCK; [2021-02-25T10:19:42.720Z] unset SSH_AGENT_PID; [2021-02-25T10:19:42.720Z] echo Agent pid 18 killed; [2021-02-25T10:19:42.777Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-25T10:19:43.295Z] + git semver [Pipeline] } [2021-02-25T10:19:43.310Z] $ docker stop --time=1 edd51cd0ac95a79a70b254b567edc3fa077d5cf76e05ee903e7b836ee6467056 [2021-02-25T10:19:44.681Z] $ docker rm -f edd51cd0ac95a79a70b254b567edc3fa077d5cf76e05ee903e7b836ee6467056 [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-02-25T10:19:46.450Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:19:47.048Z] ---> package-listing.sh [2021-02-25T10:19:47.048Z] ++ facter osfamily [2021-02-25T10:19:47.048Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-25T10:19:47.048Z] + OS_FAMILY=redhat [2021-02-25T10:19:47.048Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-02-25T10:19:47.048Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-25T10:19:47.048Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-25T10:19:47.048Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-25T10:19:47.048Z] + PACKAGES=/tmp/packages_start.txt [2021-02-25T10:19:47.048Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-02-25T10:19:47.048Z] + PACKAGES=/tmp/packages_end.txt [2021-02-25T10:19:47.048Z] + case "${OS_FAMILY}" in [2021-02-25T10:19:47.048Z] + rpm -qa [2021-02-25T10:19:47.048Z] + sort [2021-02-25T10:19:52.354Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-25T10:19:52.354Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-25T10:19:52.354Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-25T10:19:52.354Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-02-25T10:19:52.354Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-02-25T10:19:52.354Z] + 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-02-25T10:19:52.368Z] 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-02-25T10:19:52.749Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:19:53.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T10:19:53.113Z] [2021-02-25T10:19:53.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-25T10:19:53.502Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T10:19:53.503Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-25T10:19:53.503Z] df20fa9351a1: Pulling fs layer [2021-02-25T10:19:53.503Z] 36b3adc4ff6f: Pulling fs layer [2021-02-25T10:19:53.503Z] 8ad3a11d3b57: Pulling fs layer [2021-02-25T10:19:53.503Z] 46f8f816bc3b: Pulling fs layer [2021-02-25T10:19:53.503Z] 93b61091891f: Pulling fs layer [2021-02-25T10:19:53.503Z] 93b9cdb0e59b: Pulling fs layer [2021-02-25T10:19:53.503Z] 5e14af77c1be: Pulling fs layer [2021-02-25T10:19:53.503Z] 01666e4c0597: Pulling fs layer [2021-02-25T10:19:53.503Z] aa168da1d23b: Pulling fs layer [2021-02-25T10:19:53.503Z] 93b9cdb0e59b: Waiting [2021-02-25T10:19:53.503Z] 5e14af77c1be: Waiting [2021-02-25T10:19:53.503Z] 01666e4c0597: Waiting [2021-02-25T10:19:53.503Z] aa168da1d23b: Waiting [2021-02-25T10:19:53.503Z] 46f8f816bc3b: Waiting [2021-02-25T10:19:53.503Z] 93b61091891f: Waiting [2021-02-25T10:19:53.503Z] 36b3adc4ff6f: Verifying Checksum [2021-02-25T10:19:53.503Z] 36b3adc4ff6f: Download complete [2021-02-25T10:19:53.503Z] 46f8f816bc3b: Verifying Checksum [2021-02-25T10:19:53.503Z] 46f8f816bc3b: Download complete [2021-02-25T10:19:53.503Z] df20fa9351a1: Verifying Checksum [2021-02-25T10:19:53.503Z] df20fa9351a1: Download complete [2021-02-25T10:19:53.766Z] 93b9cdb0e59b: Verifying Checksum [2021-02-25T10:19:53.766Z] 93b9cdb0e59b: Download complete [2021-02-25T10:19:53.766Z] 93b61091891f: Download complete [2021-02-25T10:19:53.766Z] 5e14af77c1be: Verifying Checksum [2021-02-25T10:19:53.766Z] 5e14af77c1be: Download complete [2021-02-25T10:19:53.766Z] 01666e4c0597: Verifying Checksum [2021-02-25T10:19:53.766Z] 01666e4c0597: Download complete [2021-02-25T10:19:54.346Z] df20fa9351a1: Pull complete [2021-02-25T10:19:54.346Z] 8ad3a11d3b57: Verifying Checksum [2021-02-25T10:19:54.617Z] 36b3adc4ff6f: Pull complete [2021-02-25T10:19:56.019Z] aa168da1d23b: Download complete [2021-02-25T10:19:56.019Z] 8ad3a11d3b57: Pull complete [2021-02-25T10:19:56.593Z] 46f8f816bc3b: Pull complete [2021-02-25T10:19:56.856Z] 93b61091891f: Pull complete [2021-02-25T10:19:57.117Z] 93b9cdb0e59b: Pull complete [2021-02-25T10:19:57.117Z] 5e14af77c1be: Pull complete [2021-02-25T10:19:57.390Z] 01666e4c0597: Pull complete [2021-02-25T10:20:05.585Z] aa168da1d23b: Pull complete [2021-02-25T10:20:05.585Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-25T10:20:05.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T10:20:05.585Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-25T10:20:05.781Z] prd-centos7-docker-4c-2g-27636 does not seem to be running inside a container [2021-02-25T10:20:05.834Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-25T10:20:08.541Z] $ docker top cccf219d1a9fac2b97cfe8ccd08fcfc0915d2239165a876b4e14568612baee86 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T10:20:09.029Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-25T10:20:09.333Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-25T10:20:09.648Z] + ls /var/log/sa-host [2021-02-25T10:20:09.648Z] + sadf -c /var/log/sa-host/sa23 [2021-02-25T10:20:09.648Z] file_magic: OK [2021-02-25T10:20:09.648Z] HZ: Using current value: 100 [2021-02-25T10:20:09.648Z] file_header: OK [2021-02-25T10:20:09.648Z] 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-02-25T10:20:09.648Z] Statistics: [2021-02-25T10:20:09.648Z] Hnuu...uuuununununu... [2021-02-25T10:20:09.648Z] File successfully converted to sysstat format version 12.2.1 [2021-02-25T10:20:09.648Z] + sadf -c /var/log/sa-host/sa25 [2021-02-25T10:20:09.648Z] file_magic: OK [2021-02-25T10:20:09.648Z] HZ: Using current value: 100 [2021-02-25T10:20:09.648Z] file_header: OK [2021-02-25T10:20:09.648Z] 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-02-25T10:20:09.648Z] Statistics: [2021-02-25T10:20:09.648Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-25T10:20:09.648Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-25T10:20:10.350Z] provisioning config files... [2021-02-25T10:20:10.371Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6148972629667374818tmp [Pipeline] { [Pipeline] echo [2021-02-25T10:20:10.503Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:20:10.801Z] ---> create-netrc.sh [Pipeline] } [2021-02-25T10:20:10.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-25T10:20:10.926Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:20:11.221Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-25T10:20:11.232Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:20:11.532Z] ---> sudo-logs.sh [2021-02-25T10:20:11.532Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-25T10:20:11.602Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:20:11.901Z] ---> job-cost.sh [2021-02-25T10:20:11.901Z] lf-activate-venv: SKIPPING [2021-02-25T10:20:11.901Z] DEBUG: total: 0.20999999344348907 [2021-02-25T10:20:11.901Z] INFO: Retrieving Stack Cost... [2021-02-25T10:20:13.294Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-25T10:20:13.556Z] INFO: Archiving Costs [Pipeline] echo [2021-02-25T10:20:13.594Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T10:20:13.891Z] ---> logs-deploy.sh [2021-02-25T10:20:13.891Z] lf-activate-venv: SKIPPING [2021-02-25T10:20:13.891Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/122 [2021-02-25T10:20:13.891Z] INFO: archiving workspace using pattern(s): [2021-02-25T10:20:15.836Z] Archives upload complete. [2021-02-25T10:20:15.836Z] INFO: archiving logs to Nexus