Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9c99b3ad7d2e4ca826a6fb04090188d28e886681 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27303 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 9c99b3ad7d2e4ca826a6fb04090188d28e886681 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9c99b3ad7d2e4ca826a6fb04090188d28e886681 # timeout=10 Commit message: "Merge pull request #795 from hahattan/issue-669" > git rev-list --no-walk 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-23T08:55:51.449Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-23T08:55:51.726Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-23T08:55:51.829Z] ========================================================= [2021-02-23T08:55:51.829Z] EdgeX Global Pipelines Version Info [2021-02-23T08:55:51.829Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-23T08:55:53.330Z] ------------------- [2021-02-23T08:55:53.330Z] stable info: [2021-02-23T08:55:53.330Z] ------------------- [2021-02-23T08:55:53.330Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-23T08:55:53.330Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-23T08:55:53.330Z] Message: update stable to v1.0.179 [2021-02-23T08:55:54.274Z] ------------------- [2021-02-23T08:55:54.274Z] experimental info: [2021-02-23T08:55:54.274Z] ------------------- [2021-02-23T08:55:54.274Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-23T08:55:54.274Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-23T08:55:54.274Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-23T08:55:54.571Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-23T08:55:54.686Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-23T08:55:54.814Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-23T08:55:54.950Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-23T08:55:55.077Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-23T08:55:55.201Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-23T08:55:55.330Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-23T08:55:55.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-23T08:55:55.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-23T08:55:55.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-23T08:55:55.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-23T08:55:55.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-23T08:55:55.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-23T08:55:56.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-23T08:55:56.171Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-23T08:55:56.266Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T08:55:56.376Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T08:55:56.467Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T08:55:56.564Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-23T08:55:56.653Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-23T08:55:56.746Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-23T08:55:56.838Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-23T08:55:56.932Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-23T08:55:57.021Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-23T08:55:57.117Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-23T08:55:57.213Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-23T08:55:57.311Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-23T08:55:57.405Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-23T08:55:57.522Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-23T08:55:57.610Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-23T08:55:57.695Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c99b3ad7d2e4ca826a6fb04090188d28e886681 [Pipeline] echo [2021-02-23T08:55:57.812Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c99b3a [Pipeline] echo [2021-02-23T08:55:57.898Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T08:55:58.066Z] provisioning config files... [2021-02-23T08:55:58.092Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6861724807947934598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T08:55:58.446Z] ---> docker-login.sh [2021-02-23T08:55:58.446Z] nexus3.edgexfoundry.org:10001 [2021-02-23T08:55:58.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:55:58.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:55:58.972Z] Configure a credential helper to remove this warning. See [2021-02-23T08:55:58.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:55:58.972Z] [2021-02-23T08:55:58.972Z] Login Succeeded [2021-02-23T08:55:58.972Z] nexus3.edgexfoundry.org:10002 [2021-02-23T08:55:58.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:55:58.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:55:58.972Z] Configure a credential helper to remove this warning. See [2021-02-23T08:55:58.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:55:58.972Z] [2021-02-23T08:55:58.972Z] Login Succeeded [2021-02-23T08:55:58.972Z] nexus3.edgexfoundry.org:10003 [2021-02-23T08:55:59.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:55:59.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:55:59.233Z] Configure a credential helper to remove this warning. See [2021-02-23T08:55:59.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:55:59.233Z] [2021-02-23T08:55:59.233Z] Login Succeeded [2021-02-23T08:55:59.233Z] nexus3.edgexfoundry.org:10004 [2021-02-23T08:55:59.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:55:59.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:55:59.495Z] Configure a credential helper to remove this warning. See [2021-02-23T08:55:59.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:55:59.495Z] [2021-02-23T08:55:59.495Z] Login Succeeded [2021-02-23T08:55:59.495Z] docker.io [2021-02-23T08:55:59.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:55:59.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:55:59.757Z] Configure a credential helper to remove this warning. See [2021-02-23T08:55:59.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:55:59.757Z] [2021-02-23T08:55:59.757Z] Login Succeeded [2021-02-23T08:55:59.757Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T08:55:59.766Z] 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-23T08:56:00.614Z] + git log --format=format:%s -1 9c99b3ad7d2e4ca826a6fb04090188d28e886681 [Pipeline] echo [2021-02-23T08:56:00.679Z] GIT_COMMIT: 9c99b3ad7d2e4ca826a6fb04090188d28e886681, Commit Message: Merge pull request #795 from hahattan/issue-669 [Pipeline] echo [2021-02-23T08:56:00.726Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:56:01.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T08:56:01.759Z] [2021-02-23T08:56:01.759Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:56:02.123Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T08:56:02.124Z] latest: Pulling from edgex-devops/git-semver [2021-02-23T08:56:02.124Z] 31603596830f: Pulling fs layer [2021-02-23T08:56:02.124Z] 2a8b12db71e7: Pulling fs layer [2021-02-23T08:56:02.124Z] 6ca5941a6612: Pulling fs layer [2021-02-23T08:56:02.124Z] ecc8261a40a4: Pulling fs layer [2021-02-23T08:56:02.124Z] ecc8261a40a4: Waiting [2021-02-23T08:56:02.124Z] 2a8b12db71e7: Verifying Checksum [2021-02-23T08:56:02.124Z] 2a8b12db71e7: Download complete [2021-02-23T08:56:02.386Z] 31603596830f: Download complete [2021-02-23T08:56:02.386Z] ecc8261a40a4: Verifying Checksum [2021-02-23T08:56:02.386Z] ecc8261a40a4: Download complete [2021-02-23T08:56:02.386Z] 6ca5941a6612: Verifying Checksum [2021-02-23T08:56:02.386Z] 6ca5941a6612: Download complete [2021-02-23T08:56:02.651Z] 31603596830f: Pull complete [2021-02-23T08:56:02.918Z] 2a8b12db71e7: Pull complete [2021-02-23T08:56:03.500Z] 6ca5941a6612: Pull complete [2021-02-23T08:56:04.073Z] ecc8261a40a4: Pull complete [2021-02-23T08:56:04.073Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-23T08:56:04.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T08:56:04.073Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-23T08:56:04.185Z] prd-centos7-docker-4c-2g-27303 does not seem to be running inside a container [2021-02-23T08:56:04.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-23T08:56:06.293Z] $ docker top 6aff9fdcb4236f9cb9c340e0f4134b28e7ebfbe26d495c4724118bb143c93038 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-23T08:56:06.584Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T08:56:06.584Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T08:56:06.801Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T08:56:06.804Z] $ docker exec 6aff9fdcb4236f9cb9c340e0f4134b28e7ebfbe26d495c4724118bb143c93038 ssh-agent [2021-02-23T08:56:06.975Z] SSH_AUTH_SOCK=/tmp/ssh-OABLdFWx2oVZ/agent.11 [2021-02-23T08:56:06.975Z] SSH_AGENT_PID=17 [2021-02-23T08:56:06.987Z] Running ssh-add (command line suppressed) [2021-02-23T08:56:07.104Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5623982972243627132.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5623982972243627132.key) [2021-02-23T08:56:07.156Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T08:56:07.489Z] + git tag --points-at HEAD [Pipeline] } [2021-02-23T08:56:07.509Z] $ docker exec --env ******** --env ******** 6aff9fdcb4236f9cb9c340e0f4134b28e7ebfbe26d495c4724118bb143c93038 ssh-agent -k [2021-02-23T08:56:07.620Z] unset SSH_AUTH_SOCK; [2021-02-23T08:56:07.620Z] unset SSH_AGENT_PID; [2021-02-23T08:56:07.621Z] echo Agent pid 17 killed; [2021-02-23T08:56:07.666Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-23T08:56:07.803Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T08:56:07.803Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T08:56:07.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T08:56:07.967Z] $ docker exec 6aff9fdcb4236f9cb9c340e0f4134b28e7ebfbe26d495c4724118bb143c93038 ssh-agent [2021-02-23T08:56:08.122Z] SSH_AUTH_SOCK=/tmp/ssh-QxLocbVEbx4E/agent.46 [2021-02-23T08:56:08.122Z] SSH_AGENT_PID=51 [2021-02-23T08:56:08.129Z] Running ssh-add (command line suppressed) [2021-02-23T08:56:08.243Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7031995179936447482.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7031995179936447482.key) [2021-02-23T08:56:08.295Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T08:56:08.628Z] + git semver init [2021-02-23T08:56:08.628Z] # -> Open(): unable to determine branch for HEAD [2021-02-23T08:56:08.628Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-23T08:56:08.628Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-23T08:56:08.628Z] # $SEMVER_REMOTE_NAME = origin [2021-02-23T08:56:08.628Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-23T08:56:08.628Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-23T08:56:08.628Z] # $SEMVER_BRANCH = master [2021-02-23T08:56:08.628Z] # $SEMVER_TEMP = /tmp/semver-831837509 [2021-02-23T08:56:08.628Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-23T08:56:09.204Z] # '/tmp/semver-831837509' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-02-23T08:56:09.204Z] # -> Force: false [2021-02-23T08:56:09.205Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-02-23T08:56:09.217Z] $ docker exec --env ******** --env ******** 6aff9fdcb4236f9cb9c340e0f4134b28e7ebfbe26d495c4724118bb143c93038 ssh-agent -k [2021-02-23T08:56:09.330Z] unset SSH_AUTH_SOCK; [2021-02-23T08:56:09.330Z] unset SSH_AGENT_PID; [2021-02-23T08:56:09.330Z] echo Agent pid 51 killed; [2021-02-23T08:56:09.376Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-23T08:56:09.866Z] + git semver [Pipeline] } [2021-02-23T08:56:09.882Z] $ docker stop --time=1 6aff9fdcb4236f9cb9c340e0f4134b28e7ebfbe26d495c4724118bb143c93038 [2021-02-23T08:56:11.241Z] $ docker rm -f 6aff9fdcb4236f9cb9c340e0f4134b28e7ebfbe26d495c4724118bb143c93038 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T08:56:11.688Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-23T08:56:12.092Z] Stashed 1 file(s) [Pipeline] echo [2021-02-23T08:56:12.096Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.15 [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-23T08:56:27.628Z] Still waiting to schedule task [2021-02-23T08:56:27.628Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27303’ [2021-02-23T08:56:27.630Z] Still waiting to schedule task [2021-02-23T08:56:27.630Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline [2021-02-23T08:58:18.147Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27304 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-02-23T08:58:18.258Z] Running in /w/workspace/device-sdk-go/120 [Pipeline] { [Pipeline] checkout [2021-02-23T08:58:23.425Z] using credential edgex-jenkins-ssh [2021-02-23T08:58:23.482Z] Cloning the remote Git repository [2021-02-23T08:58:23.572Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T08:58:23.679Z] > git init /w/workspace/device-sdk-go/120 # timeout=10 [2021-02-23T08:58:23.753Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T08:58:23.754Z] > git --version # timeout=10 [2021-02-23T08:58:23.770Z] > git --version # 'git version 2.17.1' [2021-02-23T08:58:23.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T08:58:23.825Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T08:58:25.567Z] Checking out Revision 9c99b3ad7d2e4ca826a6fb04090188d28e886681 (master) [2021-02-23T08:58:24.976Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T08:58:24.998Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T08:58:25.029Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T08:58:25.069Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T08:58:25.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T08:58:25.081Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-23T08:58:25.621Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T08:58:25.635Z] > git checkout -f 9c99b3ad7d2e4ca826a6fb04090188d28e886681 # timeout=10 [2021-02-23T08:58:30.042Z] Commit message: "Merge pull request #795 from hahattan/issue-669" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T08:58:31.662Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-23T08:58:32.072Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-23T08:58:32.412Z] + sudo service docker restart [2021-02-23T08:58:32.412Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T08:58:35.114Z] provisioning config files... [2021-02-23T08:58:35.159Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/120@tmp/config7067948507554135745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T08:58:35.577Z] ---> docker-login.sh [2021-02-23T08:58:35.577Z] nexus3.edgexfoundry.org:10001 [2021-02-23T08:58:36.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:58:36.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:58:36.790Z] Configure a credential helper to remove this warning. See [2021-02-23T08:58:36.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:58:36.790Z] [2021-02-23T08:58:36.790Z] Login Succeeded [2021-02-23T08:58:36.790Z] nexus3.edgexfoundry.org:10002 [2021-02-23T08:58:37.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:58:37.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:58:37.340Z] Configure a credential helper to remove this warning. See [2021-02-23T08:58:37.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:58:37.340Z] [2021-02-23T08:58:37.340Z] Login Succeeded [2021-02-23T08:58:37.340Z] nexus3.edgexfoundry.org:10003 [2021-02-23T08:58:37.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:58:37.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:58:37.899Z] Configure a credential helper to remove this warning. See [2021-02-23T08:58:37.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:58:37.899Z] [2021-02-23T08:58:37.899Z] Login Succeeded [2021-02-23T08:58:37.899Z] nexus3.edgexfoundry.org:10004 [2021-02-23T08:58:38.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:58:38.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:58:38.446Z] Configure a credential helper to remove this warning. See [2021-02-23T08:58:38.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:58:38.446Z] [2021-02-23T08:58:38.446Z] Login Succeeded [2021-02-23T08:58:38.446Z] docker.io [2021-02-23T08:58:38.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:58:38.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:58:38.997Z] Configure a credential helper to remove this warning. See [2021-02-23T08:58:38.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:58:38.997Z] [2021-02-23T08:58:38.997Z] Login Succeeded [2021-02-23T08:58:38.997Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T08:58:39.015Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-23T08:58:39.513Z] ========================================================= [2021-02-23T08:58:39.513Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-23T08:58:39.513Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:58:39.903Z] + 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-23T08:58:40.197Z] Sending build context to Docker daemon 2.393MB [2021-02-23T08:58:40.472Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T08:58:40.472Z] Step 2/8 : FROM ${BASE} [2021-02-23T08:58:40.472Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-23T08:58:40.472Z] 5f621e34cdf4: Pulling fs layer [2021-02-23T08:58:40.473Z] a4357932f1b6: Pulling fs layer [2021-02-23T08:58:40.473Z] 18c013af1878: Pulling fs layer [2021-02-23T08:58:40.473Z] 00ac8860ef70: Pulling fs layer [2021-02-23T08:58:40.473Z] 63d7cb157983: Pulling fs layer [2021-02-23T08:58:40.473Z] b116817d02f9: Pulling fs layer [2021-02-23T08:58:40.473Z] 745a02a5169b: Pulling fs layer [2021-02-23T08:58:40.473Z] 00ac8860ef70: Waiting [2021-02-23T08:58:40.473Z] 63d7cb157983: Waiting [2021-02-23T08:58:40.473Z] b116817d02f9: Waiting [2021-02-23T08:58:40.473Z] 745a02a5169b: Waiting [2021-02-23T08:58:40.473Z] 18c013af1878: Download complete [2021-02-23T08:58:40.473Z] a4357932f1b6: Verifying Checksum [2021-02-23T08:58:40.473Z] a4357932f1b6: Download complete [2021-02-23T08:58:40.473Z] 63d7cb157983: Verifying Checksum [2021-02-23T08:58:40.473Z] 63d7cb157983: Download complete [2021-02-23T08:58:40.473Z] b116817d02f9: Verifying Checksum [2021-02-23T08:58:40.473Z] b116817d02f9: Download complete [2021-02-23T08:58:40.473Z] 5f621e34cdf4: Verifying Checksum [2021-02-23T08:58:40.473Z] 5f621e34cdf4: Download complete [2021-02-23T08:58:41.479Z] 5f621e34cdf4: Pull complete [2021-02-23T08:58:42.096Z] a4357932f1b6: Pull complete [2021-02-23T08:58:42.388Z] 18c013af1878: Pull complete [2021-02-23T08:58:42.989Z] 745a02a5169b: Verifying Checksum [2021-02-23T08:58:42.989Z] 745a02a5169b: Download complete [2021-02-23T08:58:43.973Z] 00ac8860ef70: Verifying Checksum [2021-02-23T08:58:43.973Z] 00ac8860ef70: Download complete [2021-02-23T08:58:56.400Z] 00ac8860ef70: Pull complete [2021-02-23T08:58:56.400Z] 63d7cb157983: Pull complete [2021-02-23T08:58:56.400Z] b116817d02f9: Pull complete [2021-02-23T08:58:59.059Z] 745a02a5169b: Pull complete [2021-02-23T08:58:59.059Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-23T08:58:59.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-23T08:58:59.059Z] ---> b7e6874047d6 [2021-02-23T08:58:59.059Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T08:59:01.677Z] ---> Running in 3736582b3624 [2021-02-23T08:59:02.271Z] Removing intermediate container 3736582b3624 [2021-02-23T08:59:02.271Z] ---> 52e31da7427d [2021-02-23T08:59:02.271Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T08:59:02.271Z] ---> Running in 27b4341a33fc [2021-02-23T08:59:04.895Z] Removing intermediate container 27b4341a33fc [2021-02-23T08:59:04.895Z] ---> 767364814a84 [2021-02-23T08:59:04.895Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-23T08:59:04.895Z] ---> Running in acf13dd0e4b4 [2021-02-23T08:59:05.493Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-23T08:59:06.464Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-23T08:59:07.441Z] OK: 142 MiB in 39 packages [2021-02-23T08:59:08.424Z] Removing intermediate container acf13dd0e4b4 [2021-02-23T08:59:08.424Z] ---> 3954c29ed451 [2021-02-23T08:59:08.424Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-23T08:59:08.697Z] ---> Running in baa3b14228b5 [2021-02-23T08:59:09.298Z] Removing intermediate container baa3b14228b5 [2021-02-23T08:59:09.298Z] ---> f0eae2cad46c [2021-02-23T08:59:09.298Z] Step 7/8 : COPY . . [2021-02-23T08:59:10.291Z] ---> 41ced3d6c6fa [2021-02-23T08:59:10.291Z] Step 8/8 : RUN go mod download [2021-02-23T08:59:10.567Z] ---> Running in 7dfffb256f87 [2021-02-23T08:59:37.368Z] Removing intermediate container 7dfffb256f87 [2021-02-23T08:59:37.368Z] ---> 116f939e3ee1 [2021-02-23T08:59:37.368Z] Successfully built 116f939e3ee1 [2021-02-23T08:59:37.368Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:59:37.722Z] + docker inspect -f . ci-base-image-arm64 [2021-02-23T08:59:37.722Z] . [Pipeline] withDockerContainer [2021-02-23T08:59:37.969Z] prd-ubuntu18.04-docker-arm64-4c-16g-27304 does not seem to be running inside a container [2021-02-23T08:59:38.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/120 -v /w/workspace/device-sdk-go/120:/w/workspace/device-sdk-go/120:rw,z -v /w/workspace/device-sdk-go/120@tmp:/w/workspace/device-sdk-go/120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-23T08:59:39.704Z] $ docker top a227cf9e1d33ed3fb4cabdab8c8569cbba58c54c5dafa2aaf8f4f7c61878770e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T08:59:40.794Z] + go version [2021-02-23T08:59:40.794Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-23T08:59:40.868Z] $ docker stop --time=1 a227cf9e1d33ed3fb4cabdab8c8569cbba58c54c5dafa2aaf8f4f7c61878770e [2021-02-23T08:59:42.800Z] $ docker rm -f a227cf9e1d33ed3fb4cabdab8c8569cbba58c54c5dafa2aaf8f4f7c61878770e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:59:43.779Z] + docker inspect -f . ci-base-image-arm64 [2021-02-23T08:59:43.780Z] . [Pipeline] withDockerContainer [2021-02-23T08:59:44.021Z] prd-ubuntu18.04-docker-arm64-4c-16g-27304 does not seem to be running inside a container [2021-02-23T08:59:44.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/120 -v /w/workspace/device-sdk-go/120:/w/workspace/device-sdk-go/120:rw,z -v /w/workspace/device-sdk-go/120@tmp:/w/workspace/device-sdk-go/120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-23T08:59:45.564Z] $ docker top d03721d9f73fe6c88af88a47db5ba3c158dd351da5918fb49815c8b712029378 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T08:59:46.559Z] + make test [2021-02-23T08:59:46.559Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-23T08:59:59.052Z] Running on prd-centos7-docker-4c-2g-27305 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-02-23T08:59:59.208Z] Running in /w/workspace/device-sdk-go/120 [Pipeline] { [Pipeline] checkout [2021-02-23T09:00:08.739Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-23T09:00:13.127Z] using credential edgex-jenkins-ssh [2021-02-23T09:00:13.190Z] Cloning the remote Git repository [2021-02-23T09:00:13.286Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T09:00:13.476Z] > git init /w/workspace/device-sdk-go/120 # timeout=10 [2021-02-23T09:00:13.672Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T09:00:13.672Z] > git --version # timeout=10 [2021-02-23T09:00:13.705Z] > git --version # 'git version 2.24.3' [2021-02-23T09:00:13.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T09:00:13.836Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T09:00:15.221Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T09:00:15.237Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T09:00:15.281Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T09:00:15.383Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T09:00:15.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T09:00:15.416Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-23T09:00:16.103Z] Checking out Revision 9c99b3ad7d2e4ca826a6fb04090188d28e886681 (master) [2021-02-23T09:00:16.123Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T09:00:16.219Z] > git checkout -f 9c99b3ad7d2e4ca826a6fb04090188d28e886681 # timeout=10 [2021-02-23T09:00:22.544Z] Commit message: "Merge pull request #795 from hahattan/issue-669" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T09:00:25.546Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-23T09:00:26.514Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-23T09:00:26.999Z] + sudo service docker restart [2021-02-23T09:00:26.999Z] + true [2021-02-23T09:00:26.999Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T09:00:29.351Z] provisioning config files... [2021-02-23T09:00:29.439Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/120@tmp/config6049343532414785430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T09:00:30.256Z] ---> docker-login.sh [2021-02-23T09:00:30.256Z] nexus3.edgexfoundry.org:10001 [2021-02-23T09:00:32.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T09:00:32.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T09:00:32.964Z] Configure a credential helper to remove this warning. See [2021-02-23T09:00:32.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T09:00:32.964Z] [2021-02-23T09:00:32.964Z] Login Succeeded [2021-02-23T09:00:32.964Z] nexus3.edgexfoundry.org:10002 [2021-02-23T09:00:33.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T09:00:34.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T09:00:34.033Z] Configure a credential helper to remove this warning. See [2021-02-23T09:00:34.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T09:00:34.033Z] [2021-02-23T09:00:34.033Z] Login Succeeded [2021-02-23T09:00:34.033Z] nexus3.edgexfoundry.org:10003 [2021-02-23T09:00:35.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T09:00:35.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T09:00:35.170Z] Configure a credential helper to remove this warning. See [2021-02-23T09:00:35.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T09:00:35.170Z] [2021-02-23T09:00:35.170Z] Login Succeeded [2021-02-23T09:00:35.170Z] nexus3.edgexfoundry.org:10004 [2021-02-23T09:00:36.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T09:00:36.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T09:00:36.154Z] Configure a credential helper to remove this warning. See [2021-02-23T09:00:36.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T09:00:36.154Z] [2021-02-23T09:00:36.154Z] Login Succeeded [2021-02-23T09:00:36.154Z] docker.io [2021-02-23T09:00:37.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T09:00:37.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T09:00:37.756Z] Configure a credential helper to remove this warning. See [2021-02-23T09:00:37.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T09:00:37.756Z] [2021-02-23T09:00:37.756Z] Login Succeeded [2021-02-23T09:00:37.756Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T09:00:37.818Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-23T09:00:40.082Z] ========================================================= [2021-02-23T09:00:40.082Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-23T09:00:40.082Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-23T09:00:41.547Z] + 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-23T09:00:42.940Z] Sending build context to Docker daemon 2.403MB [2021-02-23T09:00:42.940Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T09:00:42.940Z] Step 2/8 : FROM ${BASE} [2021-02-23T09:00:42.940Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-23T09:00:42.940Z] 188c0c94c7c5: Pulling fs layer [2021-02-23T09:00:42.940Z] 0ef7d3d256c8: Pulling fs layer [2021-02-23T09:00:42.940Z] de9db76c5a1d: Pulling fs layer [2021-02-23T09:00:42.940Z] bca2f99d35d6: Pulling fs layer [2021-02-23T09:00:42.940Z] 93359f2a8cfa: Pulling fs layer [2021-02-23T09:00:42.940Z] 7c6f9722023f: Pulling fs layer [2021-02-23T09:00:42.940Z] a35cf1a2eb13: Pulling fs layer [2021-02-23T09:00:42.940Z] bca2f99d35d6: Waiting [2021-02-23T09:00:42.940Z] 93359f2a8cfa: Waiting [2021-02-23T09:00:42.940Z] 7c6f9722023f: Waiting [2021-02-23T09:00:42.940Z] a35cf1a2eb13: Waiting [2021-02-23T09:00:42.940Z] de9db76c5a1d: Verifying Checksum [2021-02-23T09:00:42.940Z] de9db76c5a1d: Download complete [2021-02-23T09:00:43.226Z] 0ef7d3d256c8: Verifying Checksum [2021-02-23T09:00:43.226Z] 0ef7d3d256c8: Download complete [2021-02-23T09:00:43.226Z] 93359f2a8cfa: Download complete [2021-02-23T09:00:43.226Z] 7c6f9722023f: Download complete [2021-02-23T09:00:43.566Z] 188c0c94c7c5: Verifying Checksum [2021-02-23T09:00:43.566Z] 188c0c94c7c5: Download complete [2021-02-23T09:00:44.825Z] 188c0c94c7c5: Pull complete [2021-02-23T09:00:44.825Z] 0ef7d3d256c8: Pull complete [2021-02-23T09:00:45.926Z] de9db76c5a1d: Pull complete [2021-02-23T09:00:54.601Z] a35cf1a2eb13: Verifying Checksum [2021-02-23T09:00:54.601Z] a35cf1a2eb13: Download complete [2021-02-23T09:00:55.803Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-23T09:00:55.803Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-23T09:00:55.803Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-23T09:00:55.803Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.149s coverage: 25.5% of statements [2021-02-23T09:00:58.237Z] bca2f99d35d6: Verifying Checksum [2021-02-23T09:00:58.237Z] bca2f99d35d6: Download complete [2021-02-23T09:01:11.720Z] bca2f99d35d6: Pull complete [2021-02-23T09:01:11.720Z] 93359f2a8cfa: Pull complete [2021-02-23T09:01:11.720Z] 7c6f9722023f: Pull complete [2021-02-23T09:01:20.617Z] a35cf1a2eb13: Pull complete [2021-02-23T09:01:20.617Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-23T09:01:20.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-23T09:01:20.617Z] ---> a62c8e92a672 [2021-02-23T09:01:20.617Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T09:01:20.617Z] ---> Running in 6ba134177af8 [2021-02-23T09:01:21.926Z] Removing intermediate container 6ba134177af8 [2021-02-23T09:01:21.926Z] ---> f6c1a191f480 [2021-02-23T09:01:21.926Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T09:01:21.926Z] ---> Running in 80c68a0f0dcb [2021-02-23T09:01:22.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.152s coverage: 10.1% of statements [2021-02-23T09:01:22.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.123s coverage: 12.5% of statements [2021-02-23T09:01:22.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-23T09:01:22.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.183s coverage: 84.8% of statements [2021-02-23T09:01:22.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-23T09:01:22.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-23T09:01:22.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-23T09:01:22.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-23T09:01:22.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.246s coverage: 49.2% of statements [2021-02-23T09:01:22.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-23T09:01:22.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.159s coverage: 81.3% of statements [2021-02-23T09:01:22.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.171s coverage: 24.8% of statements [2021-02-23T09:01:22.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.667s coverage: 83.5% of statements [2021-02-23T09:01:22.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 5.3% of statements [2021-02-23T09:01:22.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-23T09:01:22.670Z] GO111MODULE=on go vet ./... [2021-02-23T09:01:25.033Z] Removing intermediate container 80c68a0f0dcb [2021-02-23T09:01:25.034Z] ---> adb9d28862a4 [2021-02-23T09:01:25.034Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-23T09:01:25.034Z] ---> Running in 943613c7252e [2021-02-23T09:01:26.621Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-23T09:01:27.426Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-23T09:01:28.357Z] OK: 166 MiB in 39 packages [2021-02-23T09:01:29.192Z] Removing intermediate container 943613c7252e [2021-02-23T09:01:29.192Z] ---> 1c2a1a4d6b37 [2021-02-23T09:01:29.192Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-23T09:01:29.192Z] ---> Running in 682fdac41532 [2021-02-23T09:01:29.615Z] Removing intermediate container 682fdac41532 [2021-02-23T09:01:29.615Z] ---> 0cd3206b28a4 [2021-02-23T09:01:29.615Z] Step 7/8 : COPY . . [2021-02-23T09:01:31.904Z] ---> aa3ec5101079 [2021-02-23T09:01:31.904Z] Step 8/8 : RUN go mod download [2021-02-23T09:01:31.904Z] ---> Running in 43208aea53c9 [2021-02-23T09:01:55.094Z] gofmt -l . [2021-02-23T09:01:55.094Z] [ "`gofmt -l .`" = "" ] [2021-02-23T09:01:55.094Z] ./bin/test-attribution-txt.sh [2021-02-23T09:01:56.079Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-23T09:01:56.783Z] $ docker stop --time=1 d03721d9f73fe6c88af88a47db5ba3c158dd351da5918fb49815c8b712029378 [2021-02-23T09:01:58.973Z] $ docker rm -f d03721d9f73fe6c88af88a47db5ba3c158dd351da5918fb49815c8b712029378 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T09:02:00.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-23T09:02:00.906Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T09:02:03.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-23T09:02:04.099Z] + ls -al . [2021-02-23T09:02:04.099Z] total 220 [2021-02-23T09:02:04.099Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 09:01 . [2021-02-23T09:02:04.099Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 08:58 .. [2021-02-23T09:02:04.099Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 08:58 .dockerignore [2021-02-23T09:02:04.099Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 08:58 .git [2021-02-23T09:02:04.099Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 08:58 .github [2021-02-23T09:02:04.099Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 23 08:58 .gitignore [2021-02-23T09:02:04.099Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 23 08:58 Dockerfile.build [2021-02-23T09:02:04.099Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 23 08:58 Jenkinsfile [2021-02-23T09:02:04.099Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 08:58 LICENSE [2021-02-23T09:02:04.099Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 23 08:58 Makefile [2021-02-23T09:02:04.099Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 23 08:58 README.md [2021-02-23T09:02:04.099Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 23 08:58 RELEASE-NOTES.txt [2021-02-23T09:02:04.099Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 23 08:56 VERSION [2021-02-23T09:02:04.099Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 08:58 bin [2021-02-23T09:02:04.099Z] -rw-r--r-- 1 jenkins jenkins 101757 Feb 23 09:01 coverage.out [2021-02-23T09:02:04.099Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 08:58 example [2021-02-23T09:02:04.099Z] -rw-r--r-- 1 jenkins jenkins 515 Feb 23 09:01 go.mod [2021-02-23T09:02:04.099Z] -rw-r--r-- 1 jenkins jenkins 19062 Feb 23 09:01 go.sum [2021-02-23T09:02:04.099Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 23 08:58 internal [2021-02-23T09:02:04.099Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 08:58 openapi [2021-02-23T09:02:04.099Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 08:58 pkg [2021-02-23T09:02:04.099Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 08:58 snap [2021-02-23T09:02:04.099Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 08:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-23T09:02:04.445Z] + 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=9c99b3ad7d2e4ca826a6fb04090188d28e886681 --label arch=arm64 --label version=2.0.0-dev.15 . [2021-02-23T09:02:05.045Z] Sending build context to Docker daemon 2.495MB [2021-02-23T09:02:05.045Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T09:02:05.045Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-23T09:02:05.045Z] ---> 116f939e3ee1 [2021-02-23T09:02:05.045Z] Step 3/24 : ARG MAKE='make build' [2021-02-23T09:02:05.045Z] ---> Running in 3f357383c17d [2021-02-23T09:02:05.641Z] Removing intermediate container 3f357383c17d [2021-02-23T09:02:05.641Z] ---> f66503f717aa [2021-02-23T09:02:05.641Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-23T09:02:05.641Z] ---> Running in c222a857293d [2021-02-23T09:02:06.255Z] Removing intermediate container c222a857293d [2021-02-23T09:02:06.255Z] ---> 35995555ab89 [2021-02-23T09:02:06.255Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T09:02:06.255Z] ---> Running in 60cd34968334 [2021-02-23T09:02:06.850Z] Removing intermediate container 60cd34968334 [2021-02-23T09:02:06.850Z] ---> 140d433b99f7 [2021-02-23T09:02:06.850Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T09:02:06.850Z] ---> Running in 846ac470d2fa [2021-02-23T09:02:08.822Z] Removing intermediate container 846ac470d2fa [2021-02-23T09:02:08.822Z] ---> eb2f03bbeec0 [2021-02-23T09:02:08.822Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-23T09:02:09.093Z] ---> Running in 247dcdff82ef [2021-02-23T09:02:10.074Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-23T09:02:11.501Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-23T09:02:12.927Z] OK: 142 MiB in 39 packages [2021-02-23T09:02:13.906Z] Removing intermediate container 247dcdff82ef [2021-02-23T09:02:13.906Z] ---> 4e6afa363ccd [2021-02-23T09:02:13.906Z] Step 8/24 : COPY . . [2021-02-23T09:02:15.355Z] ---> 035a9445f0a6 [2021-02-23T09:02:15.355Z] Step 9/24 : RUN ${MAKE} [2021-02-23T09:02:15.355Z] ---> Running in 8191781c4174 [2021-02-23T09:02:16.348Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.15" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-23T09:02:20.608Z] Removing intermediate container 43208aea53c9 [2021-02-23T09:02:20.608Z] ---> 48a25ce6fdcf [2021-02-23T09:02:20.608Z] Successfully built 48a25ce6fdcf [2021-02-23T09:02:20.608Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T09:02:21.191Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-23T09:02:21.537Z] . [Pipeline] withDockerContainer [2021-02-23T09:02:22.363Z] prd-centos7-docker-4c-2g-27305 does not seem to be running inside a container [2021-02-23T09:02:23.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/120 -v /w/workspace/device-sdk-go/120:/w/workspace/device-sdk-go/120:rw,z -v /w/workspace/device-sdk-go/120@tmp:/w/workspace/device-sdk-go/120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-23T09:02:26.319Z] $ docker top 76e457ad42e3eeabb7d65385e40c9739bc1d3b7748bd5fa20e4f69edc9324839 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T09:02:28.033Z] + go version [2021-02-23T09:02:28.033Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-23T09:02:28.105Z] $ docker stop --time=1 76e457ad42e3eeabb7d65385e40c9739bc1d3b7748bd5fa20e4f69edc9324839 [2021-02-23T09:02:29.790Z] $ docker rm -f 76e457ad42e3eeabb7d65385e40c9739bc1d3b7748bd5fa20e4f69edc9324839 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T09:02:31.482Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-23T09:02:31.482Z] . [Pipeline] withDockerContainer [2021-02-23T09:02:31.945Z] prd-centos7-docker-4c-2g-27305 does not seem to be running inside a container [2021-02-23T09:02:32.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/120 -v /w/workspace/device-sdk-go/120:/w/workspace/device-sdk-go/120:rw,z -v /w/workspace/device-sdk-go/120@tmp:/w/workspace/device-sdk-go/120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-23T09:02:34.268Z] $ docker top 3b3355d2d593081174b6aabc76d5f2f59afca63548e2bbe5c68f692236482788 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T09:02:35.278Z] + make test [2021-02-23T09:02:35.278Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-23T09:02:43.167Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-23T09:02:43.763Z] Removing intermediate container 8191781c4174 [2021-02-23T09:02:43.763Z] ---> cc9f2ac16e40 [2021-02-23T09:02:43.763Z] Step 10/24 : FROM scratch [2021-02-23T09:02:43.763Z] ---> [2021-02-23T09:02:43.763Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T09:02:44.041Z] ---> Running in 159a8d01a2a4 [2021-02-23T09:02:44.315Z] Removing intermediate container 159a8d01a2a4 [2021-02-23T09:02:44.315Z] ---> 52625e8e1f0c [2021-02-23T09:02:44.315Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-23T09:02:44.315Z] ---> Running in f925a666b53b [2021-02-23T09:02:44.913Z] Removing intermediate container f925a666b53b [2021-02-23T09:02:44.913Z] ---> 668e43c5d91b [2021-02-23T09:02:44.913Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-23T09:02:44.913Z] ---> Running in 997edfc32fd9 [2021-02-23T09:02:45.186Z] Removing intermediate container 997edfc32fd9 [2021-02-23T09:02:45.186Z] ---> 197fc9233f33 [2021-02-23T09:02:45.186Z] Step 14/24 : WORKDIR / [2021-02-23T09:02:45.460Z] ---> Running in 5f112dd136a9 [2021-02-23T09:02:45.739Z] Removing intermediate container 5f112dd136a9 [2021-02-23T09:02:45.739Z] ---> ae879f620424 [2021-02-23T09:02:45.739Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-23T09:02:47.185Z] ---> 5f2c05be4550 [2021-02-23T09:02:47.185Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-23T09:02:47.777Z] ---> e5886d4a68f6 [2021-02-23T09:02:47.777Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-23T09:02:48.368Z] ---> 89e0d9db2497 [2021-02-23T09:02:48.368Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-23T09:02:48.961Z] ---> c2161874ca79 [2021-02-23T09:02:48.961Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-23T09:02:49.935Z] ---> e38d02595296 [2021-02-23T09:02:49.935Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-23T09:02:49.935Z] ---> Running in 089e7a2f4f48 [2021-02-23T09:02:50.206Z] Removing intermediate container 089e7a2f4f48 [2021-02-23T09:02:50.206Z] ---> 93e27fac5043 [2021-02-23T09:02:50.206Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-23T09:02:50.479Z] ---> Running in 3985ded41c8b [2021-02-23T09:02:50.750Z] Removing intermediate container 3985ded41c8b [2021-02-23T09:02:50.750Z] ---> 829c01be1e2e [2021-02-23T09:02:50.750Z] Step 22/24 : LABEL arch=arm64 [2021-02-23T09:02:51.024Z] ---> Running in 6bcc7d8a2be4 [2021-02-23T09:02:51.297Z] Removing intermediate container 6bcc7d8a2be4 [2021-02-23T09:02:51.297Z] ---> da54a57c9379 [2021-02-23T09:02:51.297Z] Step 23/24 : LABEL git_sha=9c99b3ad7d2e4ca826a6fb04090188d28e886681 [2021-02-23T09:02:51.569Z] ---> Running in 3ef8eac835fd [2021-02-23T09:02:51.845Z] Removing intermediate container 3ef8eac835fd [2021-02-23T09:02:51.845Z] ---> 4ae9d0f4bc0b [2021-02-23T09:02:51.845Z] Step 24/24 : LABEL version=2.0.0-dev.15 [2021-02-23T09:02:52.119Z] ---> Running in eaecf223b2f4 [2021-02-23T09:02:52.709Z] Removing intermediate container eaecf223b2f4 [2021-02-23T09:02:52.709Z] ---> 6e644d59ecbe [2021-02-23T09:02:52.709Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-23T09:02:52.709Z] Successfully built 6e644d59ecbe [2021-02-23T09:02:52.709Z] 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-23T09:02:54.283Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-23T09:03:28.074Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-23T09:03:28.074Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-23T09:03:28.074Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-23T09:03:38.962Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.157s coverage: 25.5% of statements [2021-02-23T09:04:01.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.291s coverage: 10.1% of statements [2021-02-23T09:04:01.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.138s coverage: 12.5% of statements [2021-02-23T09:04:01.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-23T09:04:01.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.252s coverage: 84.8% of statements [2021-02-23T09:04:01.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-23T09:04:01.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-23T09:04:01.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-23T09:04:01.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-23T09:04:01.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.165s coverage: 49.2% of statements [2021-02-23T09:04:01.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-23T09:04:01.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.123s coverage: 81.3% of statements [2021-02-23T09:04:01.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.207s coverage: 24.8% of statements [2021-02-23T09:04:01.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.648s coverage: 83.5% of statements [2021-02-23T09:04:01.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.333s coverage: 5.3% of statements [2021-02-23T09:04:01.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-23T09:04:01.827Z] GO111MODULE=on go vet ./... [2021-02-23T09:04:30.351Z] gofmt -l . [2021-02-23T09:04:30.351Z] [ "`gofmt -l .`" = "" ] [2021-02-23T09:04:30.351Z] ./bin/test-attribution-txt.sh [2021-02-23T09:04:30.351Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-23T09:04:30.865Z] $ docker stop --time=1 3b3355d2d593081174b6aabc76d5f2f59afca63548e2bbe5c68f692236482788 [2021-02-23T09:04:33.404Z] $ docker rm -f 3b3355d2d593081174b6aabc76d5f2f59afca63548e2bbe5c68f692236482788 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T09:04:34.648Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-23T09:04:34.673Z] Warning: overwriting stash ‘coverage-report’ [2021-02-23T09:04:36.327Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-23T09:04:37.092Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-23T09:04:37.557Z] + ls -al . [2021-02-23T09:04:37.558Z] total 184 [2021-02-23T09:04:37.558Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 23 09:04 . [2021-02-23T09:04:37.558Z] drwxrwxr-x. 4 jenkins jenkins 32 Feb 23 09:00 .. [2021-02-23T09:04:37.558Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 23 09:00 bin [2021-02-23T09:04:37.558Z] -rw-r--r--. 1 jenkins jenkins 101757 Feb 23 09:04 coverage.out [2021-02-23T09:04:37.558Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 23 09:00 Dockerfile.build [2021-02-23T09:04:37.558Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 23 09:00 .dockerignore [2021-02-23T09:04:37.558Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 23 09:00 example [2021-02-23T09:04:37.558Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 23 09:00 .git [2021-02-23T09:04:37.558Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 23 09:00 .github [2021-02-23T09:04:37.558Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 23 09:00 .gitignore [2021-02-23T09:04:37.558Z] -rw-r--r--. 1 jenkins jenkins 515 Feb 23 09:04 go.mod [2021-02-23T09:04:37.558Z] -rw-r--r--. 1 jenkins jenkins 19062 Feb 23 09:04 go.sum [2021-02-23T09:04:37.558Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 23 09:00 internal [2021-02-23T09:04:37.558Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 23 09:00 Jenkinsfile [2021-02-23T09:04:37.558Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 23 09:00 LICENSE [2021-02-23T09:04:37.558Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 23 09:00 Makefile [2021-02-23T09:04:37.558Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 23 09:00 openapi [2021-02-23T09:04:37.558Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 23 09:00 pkg [2021-02-23T09:04:37.558Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 23 09:00 README.md [2021-02-23T09:04:37.558Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 23 09:00 RELEASE-NOTES.txt [2021-02-23T09:04:37.558Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 23 09:00 snap [2021-02-23T09:04:37.558Z] -rw-rw-r--. 1 jenkins jenkins 12 Feb 23 08:56 VERSION [2021-02-23T09:04:37.558Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 23 09:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-23T09:04:38.187Z] + 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=9c99b3ad7d2e4ca826a6fb04090188d28e886681 --label arch=amd64 --label version=2.0.0-dev.15 . [2021-02-23T09:04:38.836Z] Sending build context to Docker daemon 2.505MB [2021-02-23T09:04:38.836Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T09:04:38.836Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-23T09:04:38.836Z] ---> 48a25ce6fdcf [2021-02-23T09:04:38.836Z] Step 3/24 : ARG MAKE='make build' [2021-02-23T09:04:39.102Z] ---> Running in 34f78bc8172c [2021-02-23T09:04:39.375Z] Removing intermediate container 34f78bc8172c [2021-02-23T09:04:39.375Z] ---> c6a7e451d7bc [2021-02-23T09:04:39.375Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-23T09:04:39.375Z] ---> Running in 262bed06aaaf [2021-02-23T09:04:39.642Z] Removing intermediate container 262bed06aaaf [2021-02-23T09:04:39.642Z] ---> 699d26a13bf1 [2021-02-23T09:04:39.642Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T09:04:39.642Z] ---> Running in f155786957d6 [2021-02-23T09:04:39.981Z] Removing intermediate container f155786957d6 [2021-02-23T09:04:39.981Z] ---> e5200608b9f7 [2021-02-23T09:04:39.981Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T09:04:40.328Z] ---> Running in 595b22fa4bf5 [2021-02-23T09:04:43.316Z] Removing intermediate container 595b22fa4bf5 [2021-02-23T09:04:43.316Z] ---> fb52a401581d [2021-02-23T09:04:43.316Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-23T09:04:43.316Z] ---> Running in cf684f6817dc [2021-02-23T09:04:45.081Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-23T09:04:45.876Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-23T09:04:46.849Z] OK: 166 MiB in 39 packages [2021-02-23T09:04:47.563Z] Removing intermediate container cf684f6817dc [2021-02-23T09:04:47.563Z] ---> 99f65043f74e [2021-02-23T09:04:47.563Z] Step 8/24 : COPY . . [2021-02-23T09:04:48.588Z] ---> db3331e7a5a3 [2021-02-23T09:04:48.588Z] Step 9/24 : RUN ${MAKE} [2021-02-23T09:04:48.588Z] ---> Running in 6e67fe65bd07 [2021-02-23T09:04:49.266Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.15" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-23T09:05:18.146Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-23T09:05:18.740Z] Removing intermediate container 6e67fe65bd07 [2021-02-23T09:05:18.740Z] ---> 4c067083b9b1 [2021-02-23T09:05:18.740Z] Step 10/24 : FROM scratch [2021-02-23T09:05:18.740Z] ---> [2021-02-23T09:05:18.740Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T09:05:19.044Z] ---> Running in 0146f566e2be [2021-02-23T09:05:19.525Z] Removing intermediate container 0146f566e2be [2021-02-23T09:05:19.525Z] ---> 26ef3ca6419b [2021-02-23T09:05:19.525Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-23T09:05:19.525Z] ---> Running in 91a270a11237 [2021-02-23T09:05:19.817Z] Removing intermediate container 91a270a11237 [2021-02-23T09:05:19.818Z] ---> a11c56d0866f [2021-02-23T09:05:19.818Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-23T09:05:19.818Z] ---> Running in c2625d8b10ed [2021-02-23T09:05:19.818Z] Removing intermediate container c2625d8b10ed [2021-02-23T09:05:19.818Z] ---> f4c35717105f [2021-02-23T09:05:19.818Z] Step 14/24 : WORKDIR / [2021-02-23T09:05:20.083Z] ---> Running in 457eadcaf076 [2021-02-23T09:05:20.445Z] Removing intermediate container 457eadcaf076 [2021-02-23T09:05:20.445Z] ---> 07a9773ef2f8 [2021-02-23T09:05:20.445Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-23T09:05:21.483Z] ---> e6d4268c29a7 [2021-02-23T09:05:21.483Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-23T09:05:21.763Z] ---> 84b162284a69 [2021-02-23T09:05:21.763Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-23T09:05:22.565Z] ---> b5457cf6a039 [2021-02-23T09:05:22.565Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-23T09:05:23.254Z] ---> a64a58c00c99 [2021-02-23T09:05:23.254Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-23T09:05:23.943Z] ---> 08037e17a8fb [2021-02-23T09:05:23.943Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-23T09:05:23.943Z] ---> Running in 48c6bbdd3464 [2021-02-23T09:05:23.943Z] Removing intermediate container 48c6bbdd3464 [2021-02-23T09:05:23.943Z] ---> d3b0955f4bd6 [2021-02-23T09:05:23.943Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-23T09:05:24.295Z] ---> Running in b42e3a2caac0 [2021-02-23T09:05:24.295Z] Removing intermediate container b42e3a2caac0 [2021-02-23T09:05:24.295Z] ---> e161aaccb255 [2021-02-23T09:05:24.295Z] Step 22/24 : LABEL arch=amd64 [2021-02-23T09:05:24.612Z] ---> Running in 0c35c4d08d1b [2021-02-23T09:05:24.969Z] Removing intermediate container 0c35c4d08d1b [2021-02-23T09:05:24.969Z] ---> a610a349e9ca [2021-02-23T09:05:24.969Z] Step 23/24 : LABEL git_sha=9c99b3ad7d2e4ca826a6fb04090188d28e886681 [2021-02-23T09:05:24.969Z] ---> Running in 9f4c6fe90034 [2021-02-23T09:05:25.304Z] Removing intermediate container 9f4c6fe90034 [2021-02-23T09:05:25.304Z] ---> 1d79006519d7 [2021-02-23T09:05:25.304Z] Step 24/24 : LABEL version=2.0.0-dev.15 [2021-02-23T09:05:25.638Z] ---> Running in 828866dd2024 [2021-02-23T09:05:26.349Z] Removing intermediate container 828866dd2024 [2021-02-23T09:05:26.349Z] ---> c4924e7aa5d1 [2021-02-23T09:05:26.349Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-23T09:05:26.349Z] Successfully built c4924e7aa5d1 [2021-02-23T09:05:26.349Z] 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 [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-23T09:05:28.436Z] provisioning config files... [2021-02-23T09:05:28.448Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5901821793207045276tmp [Pipeline] { [Pipeline] sh [2021-02-23T09:05:28.832Z] + set +x [2021-02-23T09:05:28.832Z] + curl -s https://codecov.io/bash [2021-02-23T09:05:28.832Z] + bash -s -- [2021-02-23T09:05:29.095Z] [2021-02-23T09:05:29.095Z] _____ _ [2021-02-23T09:05:29.095Z] / ____| | | [2021-02-23T09:05:29.095Z] | | ___ __| | ___ ___ _____ __ [2021-02-23T09:05:29.095Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-23T09:05:29.095Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-23T09:05:29.095Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-23T09:05:29.095Z] Bash-20210129-7c25fce [2021-02-23T09:05:29.095Z] [2021-02-23T09:05:29.095Z] [2021-02-23T09:05:29.095Z] ==> git version 2.24.3 found [2021-02-23T09:05:29.095Z] ==> 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-23T09:05:29.095Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-23T09:05:29.095Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-23T09:05:29.095Z] ==> Jenkins CI detected. [2021-02-23T09:05:29.095Z] project root: . [2021-02-23T09:05:29.095Z] --> token set from env [2021-02-23T09:05:29.095Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-23T09:05:29.095Z] ==> Running gcov in . (disable via -X gcov) [2021-02-23T09:05:29.095Z] ==> Python coveragepy not found [2021-02-23T09:05:29.095Z] ==> Searching for coverage reports in: [2021-02-23T09:05:29.095Z] + . [2021-02-23T09:05:29.095Z] -> Found 1 reports [2021-02-23T09:05:29.095Z] ==> Detecting git/mercurial file structure [2021-02-23T09:05:29.095Z] ==> Reading reports [2021-02-23T09:05:29.095Z] + ./coverage.out bytes=101757 [2021-02-23T09:05:29.095Z] ==> Appending adjustments [2021-02-23T09:05:29.095Z] https://docs.codecov.io/docs/fixing-reports [2021-02-23T09:05:29.670Z] + Found adjustments [2021-02-23T09:05:29.670Z] ==> Gzipping contents [2021-02-23T09:05:29.670Z] 20K /tmp/codecov.caT216.gz [2021-02-23T09:05:29.670Z] ==> Uploading reports [2021-02-23T09:05:29.670Z] url: https://codecov.io [2021-02-23T09:05:29.670Z] query: branch=master&commit=9c99b3ad7d2e4ca826a6fb04090188d28e886681&build=120&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F120%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-23T09:05:29.670Z] -> Pinging Codecov [2021-02-23T09:05:29.670Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=9c99b3ad7d2e4ca826a6fb04090188d28e886681&build=120&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F120%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-23T09:05:29.933Z] -> Uploading to [2021-02-23T09:05:29.933Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-23/7E55EF52A471D76F132DFD9A03CDDE97/9c99b3ad7d2e4ca826a6fb04090188d28e886681/83e3edc8-9b41-4939-bb85-5cbe4b6c7cc2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210223T090529Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=58cdd3dcfc074c4d152cec02b4cd223ac0c2cb9c1fbfe94a30425095a895ff8b [2021-02-23T09:05:29.933Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-23T09:05:29.933Z] Dload Upload Total Spent Left Speed [2021-02-23T09:05:30.507Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16469 0 0 100 16469 0 35249 --:--:-- --:--:-- --:--:-- 35265 [2021-02-23T09:05:30.507Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9c99b3ad7d2e4ca826a6fb04090188d28e886681 [Pipeline] } [2021-02-23T09:05:30.518Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-02-23T09:05:31.381Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-02-23T09:05:31.435Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T09:05:31.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-23T09:05:31.790Z] [2021-02-23T09:05:31.790Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-02-23T09:05:32.197Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-23T09:05:32.197Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-02-23T09:05:32.197Z] 188c0c94c7c5: Pulling fs layer [2021-02-23T09:05:32.197Z] 0ef7d3d256c8: Pulling fs layer [2021-02-23T09:05:32.197Z] de9db76c5a1d: Pulling fs layer [2021-02-23T09:05:32.197Z] 0eba1c9be4d2: Pulling fs layer [2021-02-23T09:05:32.197Z] 0d57e429df01: Pulling fs layer [2021-02-23T09:05:32.197Z] 4e4be7b47b0d: Pulling fs layer [2021-02-23T09:05:32.197Z] e1f770b5df2f: Pulling fs layer [2021-02-23T09:05:32.197Z] 85a0685a4137: Pulling fs layer [2021-02-23T09:05:32.197Z] 0d57e429df01: Waiting [2021-02-23T09:05:32.197Z] 4e4be7b47b0d: Waiting [2021-02-23T09:05:32.197Z] e1f770b5df2f: Waiting [2021-02-23T09:05:32.197Z] 85a0685a4137: Waiting [2021-02-23T09:05:32.197Z] 0eba1c9be4d2: Waiting [2021-02-23T09:05:32.197Z] de9db76c5a1d: Verifying Checksum [2021-02-23T09:05:32.197Z] de9db76c5a1d: Download complete [2021-02-23T09:05:32.197Z] 0ef7d3d256c8: Verifying Checksum [2021-02-23T09:05:32.197Z] 0ef7d3d256c8: Download complete [2021-02-23T09:05:33.140Z] 0d57e429df01: Verifying Checksum [2021-02-23T09:05:33.140Z] 0d57e429df01: Download complete [2021-02-23T09:05:33.140Z] 4e4be7b47b0d: Verifying Checksum [2021-02-23T09:05:33.140Z] 4e4be7b47b0d: Download complete [2021-02-23T09:05:33.140Z] 188c0c94c7c5: Verifying Checksum [2021-02-23T09:05:33.140Z] 188c0c94c7c5: Download complete [2021-02-23T09:05:33.401Z] 188c0c94c7c5: Pull complete [2021-02-23T09:05:33.663Z] 0ef7d3d256c8: Pull complete [2021-02-23T09:05:33.925Z] de9db76c5a1d: Pull complete [2021-02-23T09:05:34.500Z] e1f770b5df2f: Verifying Checksum [2021-02-23T09:05:34.500Z] e1f770b5df2f: Download complete [2021-02-23T09:05:36.434Z] 0eba1c9be4d2: Verifying Checksum [2021-02-23T09:05:36.434Z] 0eba1c9be4d2: Download complete [2021-02-23T09:05:37.018Z] 85a0685a4137: Verifying Checksum [2021-02-23T09:05:37.018Z] 85a0685a4137: Download complete [2021-02-23T09:05:41.254Z] 0eba1c9be4d2: Pull complete [2021-02-23T09:05:41.254Z] 0d57e429df01: Pull complete [2021-02-23T09:05:41.515Z] 4e4be7b47b0d: Pull complete [2021-02-23T09:05:45.743Z] e1f770b5df2f: Pull complete [2021-02-23T09:05:52.365Z] 85a0685a4137: Pull complete [2021-02-23T09:05:52.365Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-02-23T09:05:52.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-23T09:05:52.365Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-02-23T09:05:52.578Z] prd-centos7-docker-4c-2g-27303 does not seem to be running inside a container [2021-02-23T09:05:52.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-02-23T09:05:53.551Z] $ docker top 2c60d789ad8cf0780e99fe95d83ee67cbaedc65b4a95c9d8449e2b7f685e9d70 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-23T09:05:53.803Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-02-23T09:05:54.095Z] + set -o pipefail [2021-02-23T09:05:54.095Z] + snyk monitor '--org=edgex-jenkins' [2021-02-23T09:06:09.017Z] [2021-02-23T09:06:09.017Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-02-23T09:06:09.017Z] [2021-02-23T09:06:09.017Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/fe6ac9f9-1653-4540-a00f-c77abebb415e [2021-02-23T09:06:09.017Z] [2021-02-23T09:06:09.017Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-02-23T09:06:09.017Z] [2021-02-23T09:06:09.017Z] [2021-02-23T09:06:09.017Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2021-02-23T09:06:09.017Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-02-23T09:06:09.032Z] $ docker stop --time=1 2c60d789ad8cf0780e99fe95d83ee67cbaedc65b4a95c9d8449e2b7f685e9d70 [2021-02-23T09:06:12.048Z] $ docker rm -f 2c60d789ad8cf0780e99fe95d83ee67cbaedc65b4a95c9d8449e2b7f685e9d70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-02-23T09:06:13.452Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-23T09:06:13.505Z] provisioning config files... [2021-02-23T09:06:13.514Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5075547141280615344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T09:06:13.899Z] --> edgex-publish-swagger.sh [2021-02-23T09:06:13.899Z] === Publish openapi/v1 API === [2021-02-23T09:06:13.899Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-02-23T09:06:13.899Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-02-23T09:06:13.899Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-23T09:06:13.899Z] Dload Upload Total Spent Left Speed [2021-02-23T09:06:14.470Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 26475 --:--:-- --:--:-- --:--:-- 26490 [2021-02-23T09:06:14.470Z] [2021-02-23T09:06:14.470Z] [2021-02-23T09:06:14.470Z] === Publish openapi/v2 API === [2021-02-23T09:06:14.470Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-02-23T09:06:14.470Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-02-23T09:06:14.470Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-23T09:06:14.470Z] Dload Upload Total Spent Left Speed [2021-02-23T09:06:15.414Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52256 0 0 100 52256 0 65018 --:--:-- --:--:-- --:--:-- 64995 100 52256 0 0 100 52256 0 65005 --:--:-- --:--:-- --:--:-- 64995 [2021-02-23T09:06:15.414Z] [2021-02-23T09:06:15.414Z] [Pipeline] } [2021-02-23T09:06:15.423Z] 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-23T09:06:16.284Z] + git log --format=format:%s -1 9c99b3ad7d2e4ca826a6fb04090188d28e886681 [Pipeline] isUnix [Pipeline] sh [2021-02-23T09:06:16.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T09:06:16.590Z] . [Pipeline] withDockerContainer [2021-02-23T09:06:16.695Z] prd-centos7-docker-4c-2g-27303 does not seem to be running inside a container [2021-02-23T09:06:16.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-23T09:06:17.538Z] $ docker top a34494d02a8cb04ba2939a2947f3da8985e37249e620baa4aaa1b7dbc72ba8be -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-23T09:06:17.876Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T09:06:17.876Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T09:06:18.120Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T09:06:18.121Z] $ docker exec a34494d02a8cb04ba2939a2947f3da8985e37249e620baa4aaa1b7dbc72ba8be ssh-agent [2021-02-23T09:06:18.289Z] SSH_AUTH_SOCK=/tmp/ssh-OCFPJZ5fZrHX/agent.12 [2021-02-23T09:06:18.289Z] SSH_AGENT_PID=17 [2021-02-23T09:06:18.296Z] Running ssh-add (command line suppressed) [2021-02-23T09:06:18.424Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_423135840834570694.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_423135840834570694.key) [2021-02-23T09:06:18.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T09:06:18.924Z] + git semver tag [2021-02-23T09:06:18.924Z] # -> Open(): unable to determine branch for HEAD [2021-02-23T09:06:18.924Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-23T09:06:18.924Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-23T09:06:18.924Z] # $SEMVER_REMOTE_NAME = origin [2021-02-23T09:06:18.924Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-23T09:06:18.924Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-23T09:06:18.924Z] # $SEMVER_BRANCH = master [2021-02-23T09:06:18.924Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-02-23T09:06:18.924Z] # 9c99b3ad7d2e4ca826a6fb04090188d28e886681 HEAD [2021-02-23T09:06:18.924Z] # -> Force: false [2021-02-23T09:06:18.924Z] # 76a078e6091e330073a56f79582c69d2cefe0271 refs/tags/v2.0.0-dev.15 [Pipeline] } [2021-02-23T09:06:18.963Z] $ docker exec --env ******** --env ******** a34494d02a8cb04ba2939a2947f3da8985e37249e620baa4aaa1b7dbc72ba8be ssh-agent -k [2021-02-23T09:06:19.101Z] unset SSH_AUTH_SOCK; [2021-02-23T09:06:19.102Z] unset SSH_AGENT_PID; [2021-02-23T09:06:19.102Z] echo Agent pid 17 killed; [2021-02-23T09:06:19.150Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-23T09:06:19.630Z] + git semver [Pipeline] } [2021-02-23T09:06:19.645Z] $ docker stop --time=1 a34494d02a8cb04ba2939a2947f3da8985e37249e620baa4aaa1b7dbc72ba8be [2021-02-23T09:06:21.014Z] $ docker rm -f a34494d02a8cb04ba2939a2947f3da8985e37249e620baa4aaa1b7dbc72ba8be [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-23T09:06:21.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-23T09:06:21.664Z] [2021-02-23T09:06:21.664Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-23T09:06:22.014Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-23T09:06:22.015Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-23T09:06:22.015Z] ab5ef0e58194: Pulling fs layer [2021-02-23T09:06:22.015Z] 9712f1f96733: Pulling fs layer [2021-02-23T09:06:22.015Z] 63f879dbbcfc: Pulling fs layer [2021-02-23T09:06:22.015Z] 0d9ebad4ef96: Pulling fs layer [2021-02-23T09:06:22.015Z] e9a5061849ea: Pulling fs layer [2021-02-23T09:06:22.015Z] d747dcd14b5f: Pulling fs layer [2021-02-23T09:06:22.015Z] 2de7ff778b66: Pulling fs layer [2021-02-23T09:06:22.015Z] e9a5061849ea: Waiting [2021-02-23T09:06:22.015Z] 2de7ff778b66: Waiting [2021-02-23T09:06:22.015Z] d747dcd14b5f: Waiting [2021-02-23T09:06:22.015Z] 0d9ebad4ef96: Waiting [2021-02-23T09:06:22.015Z] 9712f1f96733: Verifying Checksum [2021-02-23T09:06:22.015Z] 9712f1f96733: Download complete [2021-02-23T09:06:23.944Z] 63f879dbbcfc: Verifying Checksum [2021-02-23T09:06:23.944Z] 63f879dbbcfc: Download complete [2021-02-23T09:06:24.207Z] e9a5061849ea: Verifying Checksum [2021-02-23T09:06:24.207Z] e9a5061849ea: Download complete [2021-02-23T09:06:24.207Z] d747dcd14b5f: Verifying Checksum [2021-02-23T09:06:24.207Z] d747dcd14b5f: Download complete [2021-02-23T09:06:24.469Z] 0d9ebad4ef96: Verifying Checksum [2021-02-23T09:06:24.469Z] 0d9ebad4ef96: Download complete [2021-02-23T09:06:24.469Z] 2de7ff778b66: Verifying Checksum [2021-02-23T09:06:24.469Z] 2de7ff778b66: Download complete [2021-02-23T09:06:24.732Z] ab5ef0e58194: Verifying Checksum [2021-02-23T09:06:24.732Z] ab5ef0e58194: Download complete [2021-02-23T09:06:28.976Z] ab5ef0e58194: Pull complete [2021-02-23T09:06:28.976Z] 9712f1f96733: Pull complete [2021-02-23T09:06:32.312Z] 63f879dbbcfc: Pull complete [2021-02-23T09:06:38.974Z] 0d9ebad4ef96: Pull complete [2021-02-23T09:06:38.974Z] e9a5061849ea: Pull complete [2021-02-23T09:06:38.974Z] d747dcd14b5f: Pull complete [2021-02-23T09:06:43.209Z] 2de7ff778b66: Pull complete [2021-02-23T09:06:43.209Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-23T09:06:43.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-23T09:06:43.209Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-23T09:06:43.397Z] prd-centos7-docker-4c-2g-27303 does not seem to be running inside a container [2021-02-23T09:06:43.466Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-02-23T09:06:47.215Z] $ docker top b6b56a8ce2e35ee473001270e6a5a2895a745614881fc220ea017333acd167cc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-23T09:06:47.498Z] provisioning config files... [2021-02-23T09:06:47.510Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4399892532591371115tmp [2021-02-23T09:06:47.527Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8355716494799964642tmp [2021-02-23T09:06:47.561Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7039184182815957876tmp [Pipeline] { [Pipeline] echo [2021-02-23T09:06:47.628Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T09:06:47.928Z] ---> sigul-configuration.sh [2021-02-23T09:06:47.929Z] gpg: directory `/root/.gnupg' created [2021-02-23T09:06:47.929Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-23T09:06:47.929Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-23T09:06:47.929Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-23T09:06:47.929Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-23T09:06:47.929Z] gpg: CAST5 encrypted data [2021-02-23T09:06:48.194Z] gpg: encrypted with 1 passphrase [2021-02-23T09:06:48.194Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-23T09:06:48.497Z] + mkdir /home/jenkins [2021-02-23T09:06:48.498Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-23T09:06:48.802Z] + 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-23T09:06:48.813Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T09:06:49.113Z] ---> sigul-install.sh [2021-02-23T09:06:54.428Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-23T09:06:54.731Z] + git tag --list [2021-02-23T09:06:54.731Z] 0.7.1 [2021-02-23T09:06:54.731Z] delhi-tag [2021-02-23T09:06:54.731Z] v1.0.0 [2021-02-23T09:06:54.731Z] v1.1.0 [2021-02-23T09:06:54.731Z] v1.1.1 [2021-02-23T09:06:54.731Z] v1.1.2 [2021-02-23T09:06:54.731Z] v1.2.0 [2021-02-23T09:06:54.731Z] v1.2.1 [2021-02-23T09:06:54.731Z] v1.2.2 [2021-02-23T09:06:54.731Z] v1.2.3 [2021-02-23T09:06:54.731Z] v1.3.0 [2021-02-23T09:06:54.731Z] v1.4.0 [2021-02-23T09:06:54.731Z] v2.0.0-dev.1 [2021-02-23T09:06:54.731Z] v2.0.0-dev.10 [2021-02-23T09:06:54.731Z] v2.0.0-dev.11 [2021-02-23T09:06:54.731Z] v2.0.0-dev.12 [2021-02-23T09:06:54.731Z] v2.0.0-dev.13 [2021-02-23T09:06:54.731Z] v2.0.0-dev.14 [2021-02-23T09:06:54.731Z] v2.0.0-dev.15 [2021-02-23T09:06:54.731Z] v2.0.0-dev.2 [2021-02-23T09:06:54.731Z] v2.0.0-dev.3 [2021-02-23T09:06:54.731Z] v2.0.0-dev.4 [2021-02-23T09:06:54.731Z] v2.0.0-dev.5 [2021-02-23T09:06:54.731Z] v2.0.0-dev.6 [2021-02-23T09:06:54.731Z] v2.0.0-dev.7 [2021-02-23T09:06:54.731Z] v2.0.0-dev.8 [2021-02-23T09:06:54.731Z] v2.0.0-dev.9 [Pipeline] sh [2021-02-23T09:06:55.032Z] + lftools sign git-tag v2.0.0-dev.15 [2021-02-23T09:06:56.431Z] Signing Git tag with Sigul... [2021-02-23T09:06:56.431Z] Signing v2.0.0-dev.15 [Pipeline] echo [2021-02-23T09:06:57.390Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T09:06:57.688Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-23T09:06:57.697Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-23T09:06:57.798Z] $ docker stop --time=1 b6b56a8ce2e35ee473001270e6a5a2895a745614881fc220ea017333acd167cc [2021-02-23T09:06:59.850Z] $ docker rm -f b6b56a8ce2e35ee473001270e6a5a2895a745614881fc220ea017333acd167cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-23T09:07:00.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T09:07:00.940Z] . [Pipeline] withDockerContainer [2021-02-23T09:07:01.058Z] prd-centos7-docker-4c-2g-27303 does not seem to be running inside a container [2021-02-23T09:07:01.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-23T09:07:01.766Z] $ docker top 29fbc9a2a4e737a9185530112f5143bcf023024ce0d198e653ec6741f1af2c00 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-23T09:07:02.105Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T09:07:02.105Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T09:07:02.302Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T09:07:02.304Z] $ docker exec 29fbc9a2a4e737a9185530112f5143bcf023024ce0d198e653ec6741f1af2c00 ssh-agent [2021-02-23T09:07:02.477Z] SSH_AUTH_SOCK=/tmp/ssh-E6gDcFWOeSUw/agent.12 [2021-02-23T09:07:02.477Z] SSH_AGENT_PID=18 [2021-02-23T09:07:02.486Z] Running ssh-add (command line suppressed) [2021-02-23T09:07:02.606Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9086273112174619284.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9086273112174619284.key) [2021-02-23T09:07:02.672Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T09:07:03.021Z] + git semver bump pre [2021-02-23T09:07:03.021Z] # -> Open(): unable to determine branch for HEAD [2021-02-23T09:07:03.021Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-23T09:07:03.021Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-23T09:07:03.021Z] # $SEMVER_REMOTE_NAME = origin [2021-02-23T09:07:03.021Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-23T09:07:03.021Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-23T09:07:03.021Z] # $SEMVER_BRANCH = master [2021-02-23T09:07:03.021Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-02-23T09:07:03.021Z] 2.0.0-dev.16 [Pipeline] } [2021-02-23T09:07:03.032Z] $ docker exec --env ******** --env ******** 29fbc9a2a4e737a9185530112f5143bcf023024ce0d198e653ec6741f1af2c00 ssh-agent -k [2021-02-23T09:07:03.150Z] unset SSH_AUTH_SOCK; [2021-02-23T09:07:03.151Z] unset SSH_AGENT_PID; [2021-02-23T09:07:03.151Z] echo Agent pid 18 killed; [2021-02-23T09:07:03.205Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-23T09:07:03.717Z] + git semver [Pipeline] } [2021-02-23T09:07:03.733Z] $ docker stop --time=1 29fbc9a2a4e737a9185530112f5143bcf023024ce0d198e653ec6741f1af2c00 [2021-02-23T09:07:05.111Z] $ docker rm -f 29fbc9a2a4e737a9185530112f5143bcf023024ce0d198e653ec6741f1af2c00 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-23T09:07:05.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T09:07:05.871Z] . [Pipeline] withDockerContainer [2021-02-23T09:07:05.975Z] prd-centos7-docker-4c-2g-27303 does not seem to be running inside a container [2021-02-23T09:07:06.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-23T09:07:06.651Z] $ docker top 23b709cf012a487e76c47f1bdbf754d903fa79aebd313996626a5fd2fcfdd748 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-23T09:07:06.947Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T09:07:06.947Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T09:07:07.137Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T09:07:07.138Z] $ docker exec 23b709cf012a487e76c47f1bdbf754d903fa79aebd313996626a5fd2fcfdd748 ssh-agent [2021-02-23T09:07:07.312Z] SSH_AUTH_SOCK=/tmp/ssh-LprhummHjZ1u/agent.11 [2021-02-23T09:07:07.312Z] SSH_AGENT_PID=16 [2021-02-23T09:07:07.320Z] Running ssh-add (command line suppressed) [2021-02-23T09:07:07.441Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3558116942393308775.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3558116942393308775.key) [2021-02-23T09:07:07.501Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T09:07:07.841Z] + git semver push [2021-02-23T09:07:07.841Z] # -> Open(): unable to determine branch for HEAD [2021-02-23T09:07:07.841Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-23T09:07:07.841Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-23T09:07:07.841Z] # $SEMVER_REMOTE_NAME = origin [2021-02-23T09:07:07.841Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-23T09:07:07.841Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-23T09:07:07.841Z] # $SEMVER_BRANCH = master [2021-02-23T09:07:07.841Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-02-23T09:07:14.467Z] $ docker exec --env ******** --env ******** 23b709cf012a487e76c47f1bdbf754d903fa79aebd313996626a5fd2fcfdd748 ssh-agent -k [2021-02-23T09:07:14.618Z] unset SSH_AUTH_SOCK; [2021-02-23T09:07:14.618Z] unset SSH_AGENT_PID; [2021-02-23T09:07:14.618Z] echo Agent pid 16 killed; [2021-02-23T09:07:14.676Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-23T09:07:15.171Z] + git semver [Pipeline] } [2021-02-23T09:07:15.187Z] $ docker stop --time=1 23b709cf012a487e76c47f1bdbf754d903fa79aebd313996626a5fd2fcfdd748 [2021-02-23T09:07:16.545Z] $ docker rm -f 23b709cf012a487e76c47f1bdbf754d903fa79aebd313996626a5fd2fcfdd748 [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-23T09:07:18.193Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T09:07:18.766Z] ---> package-listing.sh [2021-02-23T09:07:18.766Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-23T09:07:18.766Z] ++ facter osfamily [2021-02-23T09:07:18.766Z] + OS_FAMILY=redhat [2021-02-23T09:07:18.766Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-02-23T09:07:18.766Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-23T09:07:18.766Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-23T09:07:18.766Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-23T09:07:18.766Z] + PACKAGES=/tmp/packages_start.txt [2021-02-23T09:07:18.766Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-02-23T09:07:18.766Z] + PACKAGES=/tmp/packages_end.txt [2021-02-23T09:07:18.766Z] + case "${OS_FAMILY}" in [2021-02-23T09:07:18.766Z] + rpm -qa [2021-02-23T09:07:18.766Z] + sort [2021-02-23T09:07:24.093Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-23T09:07:24.093Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-23T09:07:24.093Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-23T09:07:24.093Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-02-23T09:07:24.093Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-02-23T09:07:24.093Z] + 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-23T09:07:24.111Z] 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-23T09:07:24.404Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-23T09:07:24.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T09:07:24.713Z] [2021-02-23T09:07:24.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-23T09:07:25.064Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T09:07:25.064Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-23T09:07:25.064Z] df20fa9351a1: Pulling fs layer [2021-02-23T09:07:25.064Z] 36b3adc4ff6f: Pulling fs layer [2021-02-23T09:07:25.064Z] 8ad3a11d3b57: Pulling fs layer [2021-02-23T09:07:25.064Z] 46f8f816bc3b: Pulling fs layer [2021-02-23T09:07:25.064Z] 93b61091891f: Pulling fs layer [2021-02-23T09:07:25.064Z] 93b9cdb0e59b: Pulling fs layer [2021-02-23T09:07:25.064Z] 5e14af77c1be: Pulling fs layer [2021-02-23T09:07:25.064Z] 01666e4c0597: Pulling fs layer [2021-02-23T09:07:25.064Z] aa168da1d23b: Pulling fs layer [2021-02-23T09:07:25.064Z] 46f8f816bc3b: Waiting [2021-02-23T09:07:25.064Z] 93b61091891f: Waiting [2021-02-23T09:07:25.064Z] 93b9cdb0e59b: Waiting [2021-02-23T09:07:25.064Z] 5e14af77c1be: Waiting [2021-02-23T09:07:25.064Z] 01666e4c0597: Waiting [2021-02-23T09:07:25.064Z] aa168da1d23b: Waiting [2021-02-23T09:07:25.064Z] 36b3adc4ff6f: Download complete [2021-02-23T09:07:25.328Z] 46f8f816bc3b: Verifying Checksum [2021-02-23T09:07:25.328Z] 46f8f816bc3b: Download complete [2021-02-23T09:07:25.328Z] df20fa9351a1: Download complete [2021-02-23T09:07:25.328Z] 93b9cdb0e59b: Verifying Checksum [2021-02-23T09:07:25.328Z] 93b9cdb0e59b: Download complete [2021-02-23T09:07:25.328Z] 5e14af77c1be: Verifying Checksum [2021-02-23T09:07:25.328Z] 5e14af77c1be: Download complete [2021-02-23T09:07:25.329Z] 93b61091891f: Verifying Checksum [2021-02-23T09:07:25.329Z] 93b61091891f: Download complete [2021-02-23T09:07:25.329Z] 01666e4c0597: Verifying Checksum [2021-02-23T09:07:25.329Z] 01666e4c0597: Download complete [2021-02-23T09:07:25.329Z] 8ad3a11d3b57: Verifying Checksum [2021-02-23T09:07:25.329Z] 8ad3a11d3b57: Download complete [2021-02-23T09:07:25.591Z] df20fa9351a1: Pull complete [2021-02-23T09:07:25.856Z] 36b3adc4ff6f: Pull complete [2021-02-23T09:07:26.443Z] 8ad3a11d3b57: Pull complete [2021-02-23T09:07:26.708Z] 46f8f816bc3b: Pull complete [2021-02-23T09:07:27.660Z] aa168da1d23b: Verifying Checksum [2021-02-23T09:07:27.660Z] aa168da1d23b: Download complete [2021-02-23T09:07:27.924Z] 93b61091891f: Pull complete [2021-02-23T09:07:28.188Z] 93b9cdb0e59b: Pull complete [2021-02-23T09:07:28.188Z] 5e14af77c1be: Pull complete [2021-02-23T09:07:28.451Z] 01666e4c0597: Pull complete [2021-02-23T09:07:35.070Z] aa168da1d23b: Pull complete [2021-02-23T09:07:35.070Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-23T09:07:35.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T09:07:35.070Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-23T09:07:35.252Z] prd-centos7-docker-4c-2g-27303 does not seem to be running inside a container [2021-02-23T09:07:35.311Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-23T09:07:38.137Z] $ docker top 96f93910d9a945ef7729df09d85cf37b4ebfe02c72be8e899cc7fe16c53be6ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T09:07:38.667Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-23T09:07:38.969Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-23T09:07:39.276Z] + ls /var/log/sa-host [2021-02-23T09:07:39.276Z] + sadf -c /var/log/sa-host/sa23 [2021-02-23T09:07:39.276Z] file_magic: OK [2021-02-23T09:07:39.276Z] HZ: Using current value: 100 [2021-02-23T09:07:39.276Z] file_header: OK [2021-02-23T09:07:39.276Z] 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-23T09:07:39.276Z] Statistics: [2021-02-23T09:07:39.276Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-23T09:07:39.276Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-23T09:07:39.959Z] provisioning config files... [2021-02-23T09:07:39.981Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4041562560499414056tmp [Pipeline] { [Pipeline] echo [2021-02-23T09:07:40.058Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T09:07:40.357Z] ---> create-netrc.sh [Pipeline] } [2021-02-23T09:07:40.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-23T09:07:40.459Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T09:07:40.756Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-23T09:07:40.767Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T09:07:41.065Z] ---> sudo-logs.sh [2021-02-23T09:07:41.065Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-23T09:07:41.159Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T09:07:41.458Z] ---> job-cost.sh [2021-02-23T09:07:41.458Z] lf-activate-venv: SKIPPING [2021-02-23T09:07:41.458Z] INFO: No Stack... [2021-02-23T09:07:42.415Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-23T09:07:42.993Z] INFO: Archiving Costs [Pipeline] echo [2021-02-23T09:07:43.011Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T09:07:43.311Z] ---> logs-deploy.sh [2021-02-23T09:07:43.311Z] lf-activate-venv: SKIPPING [2021-02-23T09:07:43.311Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/120 [2021-02-23T09:07:43.311Z] INFO: archiving workspace using pattern(s): [2021-02-23T09:07:44.725Z] Archives upload complete. [2021-02-23T09:07:44.725Z] INFO: archiving logs to Nexus