Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5b084bdeafa1e122a5c890164a05a3ac30530fc3 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-30519 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 Checking out Revision 5b084bdeafa1e122a5c890164a05a3ac30530fc3 (master) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 Commit message: "Merge pull request #827 from hahattan/issue-825" > git rev-list --no-walk e2b795a37b7f4058c403051823a7e04e4e702841 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-19T08:24:38.123Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-19T08:24:38.375Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-19T08:24:38.510Z] ========================================================= [2021-03-19T08:24:38.510Z] EdgeX Global Pipelines Version Info [2021-03-19T08:24:38.510Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:24:39.940Z] ------------------- [2021-03-19T08:24:39.940Z] stable info: [2021-03-19T08:24:39.940Z] ------------------- [2021-03-19T08:24:39.940Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-19T08:24:39.940Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-19T08:24:39.940Z] Message: update stable to v1.0.184 [2021-03-19T08:24:41.335Z] ------------------- [2021-03-19T08:24:41.335Z] experimental info: [2021-03-19T08:24:41.335Z] ------------------- [2021-03-19T08:24:41.335Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-19T08:24:41.335Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-19T08:24:41.335Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-19T08:24:41.613Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-19T08:24:41.702Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-19T08:24:41.790Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-19T08:24:41.877Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-19T08:24:41.968Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-19T08:24:42.059Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-19T08:24:42.164Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-19T08:24:42.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-19T08:24:42.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-19T08:24:42.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-19T08:24:42.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-19T08:24:42.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-19T08:24:42.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-19T08:24:42.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-19T08:24:42.978Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-19T08:24:43.064Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T08:24:43.170Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T08:24:43.255Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T08:24:43.337Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-19T08:24:43.456Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-19T08:24:43.547Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-19T08:24:43.632Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-19T08:24:43.720Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-19T08:24:43.804Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-19T08:24:43.894Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-19T08:24:44.031Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-19T08:24:44.118Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-19T08:24:44.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-19T08:24:44.322Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-19T08:24:44.403Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b084bdeafa1e122a5c890164a05a3ac30530fc3 [Pipeline] echo [2021-03-19T08:24:44.516Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b084bd [Pipeline] echo [2021-03-19T08:24:44.602Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T08:24:44.800Z] provisioning config files... [2021-03-19T08:24:44.827Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7239158384450277723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:24:45.181Z] ---> docker-login.sh [2021-03-19T08:24:45.181Z] nexus3.edgexfoundry.org:10001 [2021-03-19T08:24:45.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:24:45.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:24:45.708Z] Configure a credential helper to remove this warning. See [2021-03-19T08:24:45.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:24:45.708Z] [2021-03-19T08:24:45.708Z] Login Succeeded [2021-03-19T08:24:45.708Z] nexus3.edgexfoundry.org:10002 [2021-03-19T08:24:45.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:24:45.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:24:45.971Z] Configure a credential helper to remove this warning. See [2021-03-19T08:24:45.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:24:45.971Z] [2021-03-19T08:24:45.972Z] Login Succeeded [2021-03-19T08:24:45.972Z] nexus3.edgexfoundry.org:10003 [2021-03-19T08:24:45.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:24:45.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:24:45.972Z] Configure a credential helper to remove this warning. See [2021-03-19T08:24:45.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:24:45.972Z] [2021-03-19T08:24:45.972Z] Login Succeeded [2021-03-19T08:24:45.972Z] nexus3.edgexfoundry.org:10004 [2021-03-19T08:24:46.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:24:46.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:24:46.237Z] Configure a credential helper to remove this warning. See [2021-03-19T08:24:46.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:24:46.237Z] [2021-03-19T08:24:46.237Z] Login Succeeded [2021-03-19T08:24:46.237Z] docker.io [2021-03-19T08:24:46.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:24:46.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:24:46.763Z] Configure a credential helper to remove this warning. See [2021-03-19T08:24:46.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:24:46.763Z] [2021-03-19T08:24:46.763Z] Login Succeeded [2021-03-19T08:24:46.763Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T08:24:46.774Z] 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-03-19T08:24:47.638Z] + git log --format=format:%s -1 5b084bdeafa1e122a5c890164a05a3ac30530fc3 [Pipeline] echo [2021-03-19T08:24:47.713Z] GIT_COMMIT: 5b084bdeafa1e122a5c890164a05a3ac30530fc3, Commit Message: Merge pull request #827 from hahattan/issue-825 [Pipeline] echo [2021-03-19T08:24:47.766Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:24:49.053Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T08:24:49.053Z] [2021-03-19T08:24:49.053Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:24:49.454Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T08:24:49.455Z] latest: Pulling from edgex-devops/git-semver [2021-03-19T08:24:49.455Z] 31603596830f: Pulling fs layer [2021-03-19T08:24:49.455Z] 2a8b12db71e7: Pulling fs layer [2021-03-19T08:24:49.455Z] 6ca5941a6612: Pulling fs layer [2021-03-19T08:24:49.455Z] ecc8261a40a4: Pulling fs layer [2021-03-19T08:24:49.455Z] ecc8261a40a4: Waiting [2021-03-19T08:24:49.455Z] 2a8b12db71e7: Verifying Checksum [2021-03-19T08:24:49.455Z] 2a8b12db71e7: Download complete [2021-03-19T08:24:49.755Z] 31603596830f: Verifying Checksum [2021-03-19T08:24:49.755Z] 31603596830f: Download complete [2021-03-19T08:24:49.755Z] 6ca5941a6612: Verifying Checksum [2021-03-19T08:24:49.755Z] 6ca5941a6612: Download complete [2021-03-19T08:24:49.755Z] ecc8261a40a4: Verifying Checksum [2021-03-19T08:24:49.755Z] ecc8261a40a4: Download complete [2021-03-19T08:24:50.019Z] 31603596830f: Pull complete [2021-03-19T08:24:50.282Z] 2a8b12db71e7: Pull complete [2021-03-19T08:24:51.235Z] 6ca5941a6612: Pull complete [2021-03-19T08:24:51.500Z] ecc8261a40a4: Pull complete [2021-03-19T08:24:51.500Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-19T08:24:51.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T08:24:51.500Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-19T08:24:51.614Z] prd-centos7-docker-4c-2g-30519 does not seem to be running inside a container [2021-03-19T08:24:51.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-19T08:24:53.879Z] $ docker top a0f17f2186e83c16638f64f504b27f8bdc21a932b0b899e4f598e3c666643c97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T08:24:54.217Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T08:24:54.217Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T08:24:54.462Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T08:24:54.466Z] $ docker exec a0f17f2186e83c16638f64f504b27f8bdc21a932b0b899e4f598e3c666643c97 ssh-agent [2021-03-19T08:24:54.639Z] SSH_AUTH_SOCK=/tmp/ssh-RAxCQRqQ9xWe/agent.11 [2021-03-19T08:24:54.639Z] SSH_AGENT_PID=16 [2021-03-19T08:24:54.650Z] Running ssh-add (command line suppressed) [2021-03-19T08:24:54.792Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2053119396516511404.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2053119396516511404.key) [2021-03-19T08:24:54.868Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T08:24:55.210Z] + git tag --points-at HEAD [Pipeline] } [2021-03-19T08:24:55.233Z] $ docker exec --env ******** --env ******** a0f17f2186e83c16638f64f504b27f8bdc21a932b0b899e4f598e3c666643c97 ssh-agent -k [2021-03-19T08:24:55.358Z] unset SSH_AUTH_SOCK; [2021-03-19T08:24:55.359Z] unset SSH_AGENT_PID; [2021-03-19T08:24:55.359Z] echo Agent pid 16 killed; [2021-03-19T08:24:55.422Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-19T08:24:55.556Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T08:24:55.556Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T08:24:55.743Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T08:24:55.748Z] $ docker exec a0f17f2186e83c16638f64f504b27f8bdc21a932b0b899e4f598e3c666643c97 ssh-agent [2021-03-19T08:24:55.931Z] SSH_AUTH_SOCK=/tmp/ssh-tUtc9hGHsDgt/agent.44 [2021-03-19T08:24:55.931Z] SSH_AGENT_PID=49 [2021-03-19T08:24:55.938Z] Running ssh-add (command line suppressed) [2021-03-19T08:24:56.099Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2023457982491436430.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2023457982491436430.key) [2021-03-19T08:24:56.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T08:24:56.496Z] + git semver init [2021-03-19T08:24:56.496Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T08:24:56.496Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-19T08:24:56.496Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-19T08:24:56.496Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T08:24:56.496Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T08:24:56.496Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T08:24:56.496Z] # $SEMVER_BRANCH = master [2021-03-19T08:24:56.496Z] # $SEMVER_TEMP = /tmp/semver-783609135 [2021-03-19T08:24:56.496Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-19T08:24:57.445Z] # '/tmp/semver-783609135' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-03-19T08:24:57.445Z] # -> Force: false [2021-03-19T08:24:57.445Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-19T08:24:57.465Z] $ docker exec --env ******** --env ******** a0f17f2186e83c16638f64f504b27f8bdc21a932b0b899e4f598e3c666643c97 ssh-agent -k [2021-03-19T08:24:57.604Z] unset SSH_AUTH_SOCK; [2021-03-19T08:24:57.604Z] unset SSH_AGENT_PID; [2021-03-19T08:24:57.604Z] echo Agent pid 49 killed; [2021-03-19T08:24:57.674Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T08:24:58.145Z] + git semver [Pipeline] } [2021-03-19T08:24:58.163Z] $ docker stop --time=1 a0f17f2186e83c16638f64f504b27f8bdc21a932b0b899e4f598e3c666643c97 [2021-03-19T08:24:59.708Z] $ docker rm -f a0f17f2186e83c16638f64f504b27f8bdc21a932b0b899e4f598e3c666643c97 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T08:25:00.243Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-19T08:25:00.655Z] Stashed 1 file(s) [Pipeline] echo [2021-03-19T08:25:00.658Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.26 [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-03-19T08:25:16.252Z] Still waiting to schedule task [2021-03-19T08:25:16.252Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-19T08:25:16.256Z] Still waiting to schedule task [2021-03-19T08:25:16.256Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-19T08:28:08.910Z] Running on prd-centos7-docker-4c-2g-30520 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-19T08:28:08.968Z] Running in /w/workspace/device-sdk-go/131 [Pipeline] { [Pipeline] checkout [2021-03-19T08:28:11.758Z] using credential edgex-jenkins-ssh [2021-03-19T08:28:11.818Z] Cloning the remote Git repository [2021-03-19T08:28:11.879Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T08:28:11.966Z] > git init /w/workspace/device-sdk-go/131 # timeout=10 [2021-03-19T08:28:12.027Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T08:28:12.027Z] > git --version # timeout=10 [2021-03-19T08:28:12.033Z] > git --version # 'git version 2.24.3' [2021-03-19T08:28:12.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:28:12.062Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T08:28:13.115Z] Checking out Revision 5b084bdeafa1e122a5c890164a05a3ac30530fc3 (master) [2021-03-19T08:28:12.707Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-19T08:28:12.712Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T08:28:12.725Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-19T08:28:12.741Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T08:28:12.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:28:12.747Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-19T08:28:13.132Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T08:28:13.137Z] > git checkout -f 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 [2021-03-19T08:28:16.791Z] Commit message: "Merge pull request #827 from hahattan/issue-825" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T08:28:18.324Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-19T08:28:18.660Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-19T08:28:18.969Z] + sudo service docker restart [2021-03-19T08:28:18.969Z] + true [2021-03-19T08:28:18.969Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T08:28:19.980Z] provisioning config files... [2021-03-19T08:28:20.016Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/131@tmp/config9190115134345498737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:28:20.436Z] ---> docker-login.sh [2021-03-19T08:28:20.436Z] nexus3.edgexfoundry.org:10001 [2021-03-19T08:28:20.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:28:20.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:28:20.967Z] Configure a credential helper to remove this warning. See [2021-03-19T08:28:20.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:28:20.967Z] [2021-03-19T08:28:20.967Z] Login Succeeded [2021-03-19T08:28:20.967Z] nexus3.edgexfoundry.org:10002 [2021-03-19T08:28:20.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:28:21.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:28:21.242Z] Configure a credential helper to remove this warning. See [2021-03-19T08:28:21.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:28:21.242Z] [2021-03-19T08:28:21.242Z] Login Succeeded [2021-03-19T08:28:21.242Z] nexus3.edgexfoundry.org:10003 [2021-03-19T08:28:21.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:28:21.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:28:21.242Z] Configure a credential helper to remove this warning. See [2021-03-19T08:28:21.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:28:21.242Z] [2021-03-19T08:28:21.242Z] Login Succeeded [2021-03-19T08:28:21.242Z] nexus3.edgexfoundry.org:10004 [2021-03-19T08:28:21.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:28:21.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:28:21.506Z] Configure a credential helper to remove this warning. See [2021-03-19T08:28:21.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:28:21.506Z] [2021-03-19T08:28:21.506Z] Login Succeeded [2021-03-19T08:28:21.506Z] docker.io [2021-03-19T08:28:21.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:28:22.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:28:22.040Z] Configure a credential helper to remove this warning. See [2021-03-19T08:28:22.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:28:22.040Z] [2021-03-19T08:28:22.040Z] Login Succeeded [2021-03-19T08:28:22.040Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T08:28:22.061Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-19T08:28:22.386Z] ========================================================= [2021-03-19T08:28:22.386Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-19T08:28:22.386Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:28:22.758Z] + 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-03-19T08:28:22.758Z] Sending build context to Docker daemon 2.285MB [2021-03-19T08:28:22.758Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T08:28:22.758Z] Step 2/8 : FROM ${BASE} [2021-03-19T08:28:23.023Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-19T08:28:23.023Z] 188c0c94c7c5: Pulling fs layer [2021-03-19T08:28:23.023Z] 0ef7d3d256c8: Pulling fs layer [2021-03-19T08:28:23.023Z] de9db76c5a1d: Pulling fs layer [2021-03-19T08:28:23.023Z] bca2f99d35d6: Pulling fs layer [2021-03-19T08:28:23.023Z] 93359f2a8cfa: Pulling fs layer [2021-03-19T08:28:23.023Z] 7c6f9722023f: Pulling fs layer [2021-03-19T08:28:23.023Z] a35cf1a2eb13: Pulling fs layer [2021-03-19T08:28:23.023Z] bca2f99d35d6: Waiting [2021-03-19T08:28:23.023Z] 93359f2a8cfa: Waiting [2021-03-19T08:28:23.023Z] 7c6f9722023f: Waiting [2021-03-19T08:28:23.023Z] a35cf1a2eb13: Waiting [2021-03-19T08:28:23.023Z] de9db76c5a1d: Verifying Checksum [2021-03-19T08:28:23.023Z] de9db76c5a1d: Download complete [2021-03-19T08:28:23.023Z] 0ef7d3d256c8: Verifying Checksum [2021-03-19T08:28:23.023Z] 0ef7d3d256c8: Download complete [2021-03-19T08:28:23.023Z] 93359f2a8cfa: Verifying Checksum [2021-03-19T08:28:23.023Z] 93359f2a8cfa: Download complete [2021-03-19T08:28:23.023Z] 7c6f9722023f: Verifying Checksum [2021-03-19T08:28:23.023Z] 7c6f9722023f: Download complete [2021-03-19T08:28:23.023Z] 188c0c94c7c5: Verifying Checksum [2021-03-19T08:28:23.023Z] 188c0c94c7c5: Download complete [2021-03-19T08:28:23.289Z] 188c0c94c7c5: Pull complete [2021-03-19T08:28:23.553Z] 0ef7d3d256c8: Pull complete [2021-03-19T08:28:23.553Z] de9db76c5a1d: Pull complete [2021-03-19T08:28:24.973Z] a35cf1a2eb13: Verifying Checksum [2021-03-19T08:28:24.973Z] a35cf1a2eb13: Download complete [2021-03-19T08:28:25.935Z] bca2f99d35d6: Download complete [2021-03-19T08:28:32.593Z] bca2f99d35d6: Pull complete [2021-03-19T08:28:32.593Z] 93359f2a8cfa: Pull complete [2021-03-19T08:28:32.593Z] 7c6f9722023f: Pull complete [2021-03-19T08:28:36.843Z] a35cf1a2eb13: Pull complete [2021-03-19T08:28:36.843Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-19T08:28:36.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-19T08:28:36.843Z] ---> a62c8e92a672 [2021-03-19T08:28:36.843Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T08:28:36.843Z] ---> Running in 27d1cc3dc8bf [2021-03-19T08:28:36.843Z] Removing intermediate container 27d1cc3dc8bf [2021-03-19T08:28:36.843Z] ---> a9f6b90ce280 [2021-03-19T08:28:36.843Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T08:28:36.843Z] ---> Running in 81a861c9aa75 [2021-03-19T08:28:37.440Z] Removing intermediate container 81a861c9aa75 [2021-03-19T08:28:37.440Z] ---> 896cccc0f86e [2021-03-19T08:28:37.440Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-19T08:28:37.440Z] ---> Running in 330843cfb818 [2021-03-19T08:28:38.389Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-19T08:28:38.974Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-19T08:28:39.549Z] OK: 166 MiB in 39 packages [2021-03-19T08:28:40.125Z] Removing intermediate container 330843cfb818 [2021-03-19T08:28:40.125Z] ---> 6ba88c2a97bd [2021-03-19T08:28:40.125Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-19T08:28:40.125Z] ---> Running in 5c2fa97d563f [2021-03-19T08:28:40.125Z] Removing intermediate container 5c2fa97d563f [2021-03-19T08:28:40.125Z] ---> 4004e57f9bd3 [2021-03-19T08:28:40.125Z] Step 7/8 : COPY . . [2021-03-19T08:28:41.524Z] ---> 61c57c2a664f [2021-03-19T08:28:41.524Z] Step 8/8 : RUN go mod download [2021-03-19T08:28:41.524Z] ---> Running in 1ab9323810f2 [2021-03-19T08:28:59.714Z] Removing intermediate container 1ab9323810f2 [2021-03-19T08:28:59.714Z] ---> 8c4427fee4aa [2021-03-19T08:28:59.714Z] Successfully built 8c4427fee4aa [2021-03-19T08:28:59.714Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:29:00.189Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-19T08:29:00.189Z] . [Pipeline] withDockerContainer [2021-03-19T08:29:00.414Z] prd-centos7-docker-4c-2g-30520 does not seem to be running inside a container [2021-03-19T08:29:00.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/131 -v /w/workspace/device-sdk-go/131:/w/workspace/device-sdk-go/131:rw,z -v /w/workspace/device-sdk-go/131@tmp:/w/workspace/device-sdk-go/131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-19T08:29:01.954Z] $ docker top 88505e725f0d86bddda4b03c7acfd8f6a7546cee9b9e1393018057fe52662910 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T08:29:02.492Z] + go version [2021-03-19T08:29:02.492Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-19T08:29:02.517Z] $ docker stop --time=1 88505e725f0d86bddda4b03c7acfd8f6a7546cee9b9e1393018057fe52662910 [2021-03-19T08:29:03.869Z] $ docker rm -f 88505e725f0d86bddda4b03c7acfd8f6a7546cee9b9e1393018057fe52662910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:29:04.648Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-19T08:29:04.648Z] . [Pipeline] withDockerContainer [2021-03-19T08:29:04.748Z] prd-centos7-docker-4c-2g-30520 does not seem to be running inside a container [2021-03-19T08:29:04.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/131 -v /w/workspace/device-sdk-go/131:/w/workspace/device-sdk-go/131:rw,z -v /w/workspace/device-sdk-go/131@tmp:/w/workspace/device-sdk-go/131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-19T08:29:05.366Z] $ docker top 566e9daf18d960de3d06dd0bce8edac7782089699a57546555a91cab237c4caf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T08:29:05.845Z] + make test [2021-03-19T08:29:05.845Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-19T08:29:14.053Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-19T08:29:14.720Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30521 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-19T08:29:14.782Z] Running in /w/workspace/device-sdk-go/131 [Pipeline] { [Pipeline] checkout [2021-03-19T08:29:19.624Z] using credential edgex-jenkins-ssh [2021-03-19T08:29:19.685Z] Cloning the remote Git repository [2021-03-19T08:29:19.757Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T08:29:19.866Z] > git init /w/workspace/device-sdk-go/131 # timeout=10 [2021-03-19T08:29:19.939Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T08:29:19.940Z] > git --version # timeout=10 [2021-03-19T08:29:19.956Z] > git --version # 'git version 2.17.1' [2021-03-19T08:29:19.958Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:29:20.022Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T08:29:21.165Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-19T08:29:21.189Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T08:29:21.725Z] Checking out Revision 5b084bdeafa1e122a5c890164a05a3ac30530fc3 (master) [2021-03-19T08:29:21.219Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-19T08:29:21.256Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-19T08:29:21.257Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T08:29:21.269Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-19T08:29:21.738Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T08:29:21.752Z] > git checkout -f 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 [2021-03-19T08:29:26.025Z] Commit message: "Merge pull request #827 from hahattan/issue-825" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T08:29:27.710Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-19T08:29:28.213Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-19T08:29:28.555Z] + true [2021-03-19T08:29:28.555Z] + sudo service docker restart [2021-03-19T08:29:29.097Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-19T08:29:29.097Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-19T08:29:29.098Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-19T08:29:29.098Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-19T08:29:30.524Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.0% of statements [2021-03-19T08:29:30.789Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 81.2% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-19T08:29:31.253Z] provisioning config files... [2021-03-19T08:29:31.293Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/131@tmp/config8183695871854463119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:29:31.725Z] ---> docker-login.sh [2021-03-19T08:29:31.725Z] nexus3.edgexfoundry.org:10001 [2021-03-19T08:29:32.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:29:32.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:29:32.988Z] Configure a credential helper to remove this warning. See [2021-03-19T08:29:32.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:29:32.988Z] [2021-03-19T08:29:32.988Z] Login Succeeded [2021-03-19T08:29:32.988Z] nexus3.edgexfoundry.org:10002 [2021-03-19T08:29:33.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:29:33.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:29:33.541Z] Configure a credential helper to remove this warning. See [2021-03-19T08:29:33.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:29:33.541Z] [2021-03-19T08:29:33.541Z] Login Succeeded [2021-03-19T08:29:33.541Z] nexus3.edgexfoundry.org:10003 [2021-03-19T08:29:33.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:29:34.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:29:34.090Z] Configure a credential helper to remove this warning. See [2021-03-19T08:29:34.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:29:34.090Z] [2021-03-19T08:29:34.090Z] Login Succeeded [2021-03-19T08:29:34.090Z] nexus3.edgexfoundry.org:10004 [2021-03-19T08:29:34.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:29:34.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:29:34.640Z] Configure a credential helper to remove this warning. See [2021-03-19T08:29:34.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:29:34.640Z] [2021-03-19T08:29:34.640Z] Login Succeeded [2021-03-19T08:29:34.640Z] docker.io [2021-03-19T08:29:34.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-19T08:29:35.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-19T08:29:35.512Z] Configure a credential helper to remove this warning. See [2021-03-19T08:29:35.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-19T08:29:35.512Z] [2021-03-19T08:29:35.513Z] Login Succeeded [2021-03-19T08:29:35.513Z] ---> docker-login.sh ends [Pipeline] } [2021-03-19T08:29:35.529Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-19T08:29:36.036Z] ========================================================= [2021-03-19T08:29:36.036Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-19T08:29:36.036Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:29:36.420Z] + 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-03-19T08:29:36.704Z] Sending build context to Docker daemon 2.277MB [2021-03-19T08:29:36.979Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T08:29:36.979Z] Step 2/8 : FROM ${BASE} [2021-03-19T08:29:36.979Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-19T08:29:36.979Z] 5f621e34cdf4: Pulling fs layer [2021-03-19T08:29:36.979Z] a4357932f1b6: Pulling fs layer [2021-03-19T08:29:36.979Z] 18c013af1878: Pulling fs layer [2021-03-19T08:29:36.979Z] 00ac8860ef70: Pulling fs layer [2021-03-19T08:29:36.979Z] 63d7cb157983: Pulling fs layer [2021-03-19T08:29:36.979Z] b116817d02f9: Pulling fs layer [2021-03-19T08:29:36.979Z] 745a02a5169b: Pulling fs layer [2021-03-19T08:29:36.979Z] 63d7cb157983: Waiting [2021-03-19T08:29:36.979Z] b116817d02f9: Waiting [2021-03-19T08:29:36.979Z] 745a02a5169b: Waiting [2021-03-19T08:29:36.979Z] 00ac8860ef70: Waiting [2021-03-19T08:29:36.979Z] 18c013af1878: Download complete [2021-03-19T08:29:36.979Z] a4357932f1b6: Verifying Checksum [2021-03-19T08:29:36.979Z] a4357932f1b6: Download complete [2021-03-19T08:29:37.584Z] 63d7cb157983: Download complete [2021-03-19T08:29:37.584Z] b116817d02f9: Verifying Checksum [2021-03-19T08:29:37.584Z] b116817d02f9: Download complete [2021-03-19T08:29:37.584Z] 5f621e34cdf4: Verifying Checksum [2021-03-19T08:29:37.584Z] 5f621e34cdf4: Download complete [2021-03-19T08:29:38.188Z] 5f621e34cdf4: Pull complete [2021-03-19T08:29:38.793Z] a4357932f1b6: Pull complete [2021-03-19T08:29:39.401Z] 18c013af1878: Pull complete [2021-03-19T08:29:40.392Z] 745a02a5169b: Download complete [2021-03-19T08:29:41.673Z] 00ac8860ef70: Verifying Checksum [2021-03-19T08:29:41.673Z] 00ac8860ef70: Download complete [2021-03-19T08:29:51.866Z] 00ac8860ef70: Pull complete [2021-03-19T08:29:51.866Z] 63d7cb157983: Pull complete [2021-03-19T08:29:52.467Z] b116817d02f9: Pull complete [2021-03-19T08:29:55.880Z] 745a02a5169b: Pull complete [2021-03-19T08:29:55.880Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-19T08:29:55.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-19T08:29:55.880Z] ---> b7e6874047d6 [2021-03-19T08:29:55.880Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T08:29:59.293Z] ---> Running in d56a1dfe4e8a [2021-03-19T08:29:59.293Z] Removing intermediate container d56a1dfe4e8a [2021-03-19T08:29:59.293Z] ---> f32612a11808 [2021-03-19T08:29:59.293Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T08:29:59.293Z] ---> Running in c7f33c5501b5 [2021-03-19T08:30:01.932Z] Removing intermediate container c7f33c5501b5 [2021-03-19T08:30:01.932Z] ---> b3aa0426f72f [2021-03-19T08:30:01.932Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-19T08:30:01.932Z] ---> Running in 89e7809f665b [2021-03-19T08:30:02.942Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-19T08:30:03.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.048s coverage: 10.5% of statements [2021-03-19T08:30:03.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-19T08:30:03.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-19T08:30:03.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.088s coverage: 32.5% of statements [2021-03-19T08:30:03.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-19T08:30:03.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-19T08:30:03.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-19T08:30:03.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 57.3% of statements [2021-03-19T08:30:03.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.156s coverage: 6.6% of statements [2021-03-19T08:30:03.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.1% of statements [2021-03-19T08:30:03.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-19T08:30:03.802Z] GO111MODULE=on go vet ./... [2021-03-19T08:30:04.379Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-19T08:30:05.359Z] OK: 142 MiB in 39 packages [2021-03-19T08:30:06.793Z] Removing intermediate container 89e7809f665b [2021-03-19T08:30:06.793Z] ---> 7ba192c794b7 [2021-03-19T08:30:06.793Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-19T08:30:06.793Z] ---> Running in 7460261cd05c [2021-03-19T08:30:07.395Z] Removing intermediate container 7460261cd05c [2021-03-19T08:30:07.395Z] ---> 3deec135e8bd [2021-03-19T08:30:07.395Z] Step 7/8 : COPY . . [2021-03-19T08:30:08.831Z] ---> 58460db71fd4 [2021-03-19T08:30:08.831Z] Step 8/8 : RUN go mod download [2021-03-19T08:30:08.831Z] ---> Running in dd422162aea2 [2021-03-19T08:30:10.510Z] gofmt -l . [2021-03-19T08:30:10.510Z] [ "`gofmt -l .`" = "" ] [2021-03-19T08:30:10.510Z] ./bin/test-attribution-txt.sh [2021-03-19T08:30:11.464Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-19T08:30:11.757Z] $ docker stop --time=1 566e9daf18d960de3d06dd0bce8edac7782089699a57546555a91cab237c4caf [2021-03-19T08:30:13.711Z] $ docker rm -f 566e9daf18d960de3d06dd0bce8edac7782089699a57546555a91cab237c4caf [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T08:30:14.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-19T08:30:14.694Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-19T08:30:17.467Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-19T08:30:17.778Z] + ls -al . [2021-03-19T08:30:17.778Z] total 184 [2021-03-19T08:30:17.778Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 19 08:30 . [2021-03-19T08:30:17.778Z] drwxrwxr-x. 4 jenkins jenkins 32 Mar 19 08:28 .. [2021-03-19T08:30:17.778Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 19 08:28 bin [2021-03-19T08:30:17.778Z] -rw-r--r--. 1 jenkins jenkins 99587 Mar 19 08:29 coverage.out [2021-03-19T08:30:17.778Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 19 08:28 Dockerfile.build [2021-03-19T08:30:17.778Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 19 08:28 .dockerignore [2021-03-19T08:30:17.778Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 19 08:28 example [2021-03-19T08:30:17.778Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 19 08:28 .git [2021-03-19T08:30:17.778Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 19 08:28 .github [2021-03-19T08:30:17.778Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 19 08:28 .gitignore [2021-03-19T08:30:17.778Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 19 08:30 go.mod [2021-03-19T08:30:17.778Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 19 08:30 go.sum [2021-03-19T08:30:17.778Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 19 08:28 internal [2021-03-19T08:30:17.778Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 19 08:28 Jenkinsfile [2021-03-19T08:30:17.778Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 19 08:28 LICENSE [2021-03-19T08:30:17.778Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 19 08:28 Makefile [2021-03-19T08:30:17.778Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 19 08:28 openapi [2021-03-19T08:30:17.778Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 19 08:28 pkg [2021-03-19T08:30:17.778Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 19 08:28 README.md [2021-03-19T08:30:17.778Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 19 08:28 RELEASE-NOTES.txt [2021-03-19T08:30:17.778Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 19 08:28 snap [2021-03-19T08:30:17.778Z] -rw-rw-r--. 1 jenkins jenkins 12 Mar 19 08:25 VERSION [2021-03-19T08:30:17.778Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 19 08:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:30:18.085Z] + 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=5b084bdeafa1e122a5c890164a05a3ac30530fc3 --label arch=amd64 --label version=2.0.0-dev.26 . [2021-03-19T08:30:18.365Z] Sending build context to Docker daemon 2.385MB [2021-03-19T08:30:18.365Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T08:30:18.365Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-19T08:30:18.365Z] ---> 8c4427fee4aa [2021-03-19T08:30:18.365Z] Step 3/24 : ARG MAKE='make build' [2021-03-19T08:30:18.638Z] ---> Running in 15a4a0d6f3f7 [2021-03-19T08:30:18.903Z] Removing intermediate container 15a4a0d6f3f7 [2021-03-19T08:30:18.903Z] ---> 91abbde85d73 [2021-03-19T08:30:18.903Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-19T08:30:18.903Z] ---> Running in bde43ce03c51 [2021-03-19T08:30:19.165Z] Removing intermediate container bde43ce03c51 [2021-03-19T08:30:19.165Z] ---> 7bfca6656d59 [2021-03-19T08:30:19.165Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T08:30:19.426Z] ---> Running in c7ec776d3eea [2021-03-19T08:30:19.426Z] Removing intermediate container c7ec776d3eea [2021-03-19T08:30:19.426Z] ---> 729b58b860df [2021-03-19T08:30:19.426Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T08:30:19.690Z] ---> Running in a62d2e2c2ed9 [2021-03-19T08:30:20.639Z] Removing intermediate container a62d2e2c2ed9 [2021-03-19T08:30:20.639Z] ---> 11fd14c1360d [2021-03-19T08:30:20.639Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-19T08:30:20.639Z] ---> Running in 6047dd44c8ab [2021-03-19T08:30:20.902Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-19T08:30:21.849Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-19T08:30:23.770Z] OK: 166 MiB in 39 packages [2021-03-19T08:30:24.346Z] Removing intermediate container 6047dd44c8ab [2021-03-19T08:30:24.346Z] ---> 1ca549816fce [2021-03-19T08:30:24.346Z] Step 8/24 : COPY . . [2021-03-19T08:30:25.300Z] ---> acf03a74a8f3 [2021-03-19T08:30:25.300Z] Step 9/24 : RUN ${MAKE} [2021-03-19T08:30:25.300Z] ---> Running in 1f2f2e036175 [2021-03-19T08:30:25.575Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.26" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-19T08:30:35.671Z] Removing intermediate container dd422162aea2 [2021-03-19T08:30:35.671Z] ---> faed341662c8 [2021-03-19T08:30:35.671Z] Successfully built faed341662c8 [2021-03-19T08:30:35.671Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [2021-03-19T08:30:35.697Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] sh [2021-03-19T08:30:36.015Z] + docker inspect -f . ci-base-image-arm64 [2021-03-19T08:30:36.015Z] . [Pipeline] withDockerContainer [2021-03-19T08:30:36.290Z] prd-ubuntu18.04-docker-arm64-4c-16g-30521 does not seem to be running inside a container [2021-03-19T08:30:36.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/131 -v /w/workspace/device-sdk-go/131:/w/workspace/device-sdk-go/131:rw,z -v /w/workspace/device-sdk-go/131@tmp:/w/workspace/device-sdk-go/131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-19T08:30:36.647Z] Removing intermediate container 1f2f2e036175 [2021-03-19T08:30:36.647Z] ---> 39c69defeda9 [2021-03-19T08:30:36.647Z] Step 10/24 : FROM scratch [2021-03-19T08:30:36.647Z] ---> [2021-03-19T08:30:36.647Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T08:30:36.647Z] ---> Running in 95e4baa240cf [2021-03-19T08:30:36.647Z] Removing intermediate container 95e4baa240cf [2021-03-19T08:30:36.647Z] ---> 56311bada534 [2021-03-19T08:30:36.647Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-19T08:30:36.910Z] ---> Running in bf9d4192060f [2021-03-19T08:30:36.910Z] Removing intermediate container bf9d4192060f [2021-03-19T08:30:36.910Z] ---> daff5c86540f [2021-03-19T08:30:36.910Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-19T08:30:37.172Z] ---> Running in adacce9597cb [2021-03-19T08:30:37.172Z] Removing intermediate container adacce9597cb [2021-03-19T08:30:37.172Z] ---> bed801bc4f20 [2021-03-19T08:30:37.172Z] Step 14/24 : WORKDIR / [2021-03-19T08:30:37.172Z] ---> Running in fcef2a56acb0 [2021-03-19T08:30:37.435Z] Removing intermediate container fcef2a56acb0 [2021-03-19T08:30:37.435Z] ---> a76252d1af5a [2021-03-19T08:30:37.435Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-19T08:30:37.884Z] $ docker top 02e5c07d981f1ceab6d24d905c8956de1857c7714972cb399623b633e9f4bf7b -eo pid,comm [2021-03-19T08:30:38.015Z] ---> bb5671efbf19 [2021-03-19T08:30:38.015Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-19T08:30:38.015Z] ---> b2704d814789 [2021-03-19T08:30:38.015Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [Pipeline] { [2021-03-19T08:30:38.279Z] ---> 1247c31a27bc [2021-03-19T08:30:38.279Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] sh [2021-03-19T08:30:38.541Z] ---> 9dd7bb1f74c1 [2021-03-19T08:30:38.541Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-19T08:30:38.805Z] ---> dbc7ea494c3f [2021-03-19T08:30:38.805Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-19T08:30:38.805Z] ---> Running in 4ac2cc6543e6 [2021-03-19T08:30:38.929Z] + go version [2021-03-19T08:30:38.929Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-19T08:30:38.953Z] $ docker stop --time=1 02e5c07d981f1ceab6d24d905c8956de1857c7714972cb399623b633e9f4bf7b [2021-03-19T08:30:39.069Z] Removing intermediate container 4ac2cc6543e6 [2021-03-19T08:30:39.069Z] ---> f0da0fdc539a [2021-03-19T08:30:39.069Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-19T08:30:39.069Z] ---> Running in c9d70e8a9b86 [2021-03-19T08:30:39.332Z] Removing intermediate container c9d70e8a9b86 [2021-03-19T08:30:39.332Z] ---> e8a6eafb2b3d [2021-03-19T08:30:39.332Z] Step 22/24 : LABEL arch=amd64 [2021-03-19T08:30:39.332Z] ---> Running in ea6fa864f92e [2021-03-19T08:30:39.594Z] Removing intermediate container ea6fa864f92e [2021-03-19T08:30:39.594Z] ---> 0f53fa280bd3 [2021-03-19T08:30:39.594Z] Step 23/24 : LABEL git_sha=5b084bdeafa1e122a5c890164a05a3ac30530fc3 [2021-03-19T08:30:39.594Z] ---> Running in 56eaaca7a82d [2021-03-19T08:30:39.857Z] Removing intermediate container 56eaaca7a82d [2021-03-19T08:30:39.857Z] ---> 3addea5b0617 [2021-03-19T08:30:39.857Z] Step 24/24 : LABEL version=2.0.0-dev.26 [2021-03-19T08:30:39.857Z] ---> Running in b501398cc83d [2021-03-19T08:30:40.120Z] Removing intermediate container b501398cc83d [2021-03-19T08:30:40.120Z] ---> 624905d21ba2 [2021-03-19T08:30:40.120Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-19T08:30:40.120Z] Successfully built 624905d21ba2 [2021-03-19T08:30:40.120Z] Successfully tagged docker-device-sdk-simple:latest [2021-03-19T08:30:40.873Z] $ docker rm -f 02e5c07d981f1ceab6d24d905c8956de1857c7714972cb399623b633e9f4bf7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Test) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] script [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [2021-03-19T08:30:42.117Z] + docker inspect -f . ci-base-image-arm64 [2021-03-19T08:30:42.117Z] . [Pipeline] libraryResource [Pipeline] sh [Pipeline] withDockerContainer [2021-03-19T08:30:42.519Z] prd-ubuntu18.04-docker-arm64-4c-16g-30521 does not seem to be running inside a container [2021-03-19T08:30:42.527Z] ---> job-cost.sh [2021-03-19T08:30:42.527Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2htc [2021-03-19T08:30:42.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/131 -v /w/workspace/device-sdk-go/131:/w/workspace/device-sdk-go/131:rw,z -v /w/workspace/device-sdk-go/131@tmp:/w/workspace/device-sdk-go/131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-19T08:30:44.134Z] $ docker top 51715064f15b2c67ea5c2c5df97123f8468be062265a8f69b2a45663554888be -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T08:30:45.145Z] + make test [2021-03-19T08:30:45.145Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-19T08:30:57.486Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-19T08:31:07.316Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-19T08:31:24.134Z] lf-activate-venv(): INFO: Adding /tmp/venv-2htc/bin to PATH [2021-03-19T08:31:24.134Z] INFO: No Stack... [2021-03-19T08:31:24.134Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-19T08:31:25.536Z] INFO: Archiving Costs [Pipeline] sh [2021-03-19T08:31:25.843Z] + cat /w/workspace/device-sdk-go/131/archives/cost.csv [2021-03-19T08:31:25.843Z] + cut -d, -f6 [Pipeline] lock [2021-03-19T08:31:25.979Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] [2021-03-19T08:31:25.993Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] did not exist. Created. [2021-03-19T08:31:25.993Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T08:31:26.432Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-19T08:31:26.618Z] Stashed 1 file(s) [Pipeline] } [2021-03-19T08:31:26.637Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-19T08:31:54.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-19T08:31:54.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-19T08:31:54.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-19T08:31:54.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-19T08:31:54.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.126s coverage: 27.0% of statements [2021-03-19T08:31:54.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.171s coverage: 81.2% of statements [2021-03-19T08:32:21.119Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.131s coverage: 10.5% of statements [2021-03-19T08:32:21.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-19T08:32:21.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-19T08:32:21.119Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.194s coverage: 32.5% of statements [2021-03-19T08:32:21.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-19T08:32:21.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-19T08:32:21.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-19T08:32:21.119Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.255s coverage: 57.3% of statements [2021-03-19T08:32:21.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.917s coverage: 6.6% of statements [2021-03-19T08:32:21.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.1% of statements [2021-03-19T08:32:21.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-19T08:32:21.120Z] GO111MODULE=on go vet ./... [2021-03-19T08:33:00.398Z] gofmt -l . [2021-03-19T08:33:00.398Z] [ "`gofmt -l .`" = "" ] [2021-03-19T08:33:00.398Z] ./bin/test-attribution-txt.sh [2021-03-19T08:33:00.398Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-19T08:33:00.416Z] $ docker stop --time=1 51715064f15b2c67ea5c2c5df97123f8468be062265a8f69b2a45663554888be [2021-03-19T08:33:02.677Z] $ docker rm -f 51715064f15b2c67ea5c2c5df97123f8468be062265a8f69b2a45663554888be [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T08:33:03.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-19T08:33:03.797Z] Warning: overwriting stash ‘coverage-report’ [2021-03-19T08:33:04.492Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T08:33:05.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-19T08:33:05.528Z] + ls -al . [2021-03-19T08:33:05.528Z] total 220 [2021-03-19T08:33:05.528Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 19 08:32 . [2021-03-19T08:33:05.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:29 .. [2021-03-19T08:33:05.528Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 19 08:29 .dockerignore [2021-03-19T08:33:05.528Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 19 08:29 .git [2021-03-19T08:33:05.528Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 08:29 .github [2021-03-19T08:33:05.528Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 19 08:29 .gitignore [2021-03-19T08:33:05.528Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 19 08:29 Dockerfile.build [2021-03-19T08:33:05.528Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 19 08:29 Jenkinsfile [2021-03-19T08:33:05.528Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 19 08:29 LICENSE [2021-03-19T08:33:05.528Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 19 08:29 Makefile [2021-03-19T08:33:05.528Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 19 08:29 README.md [2021-03-19T08:33:05.528Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 19 08:29 RELEASE-NOTES.txt [2021-03-19T08:33:05.528Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 19 08:25 VERSION [2021-03-19T08:33:05.528Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 08:29 bin [2021-03-19T08:33:05.528Z] -rw-r--r-- 1 jenkins jenkins 99588 Mar 19 08:32 coverage.out [2021-03-19T08:33:05.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:29 example [2021-03-19T08:33:05.528Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 19 08:32 go.mod [2021-03-19T08:33:05.528Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 19 08:32 go.sum [2021-03-19T08:33:05.528Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 19 08:29 internal [2021-03-19T08:33:05.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:29 openapi [2021-03-19T08:33:05.528Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 19 08:29 pkg [2021-03-19T08:33:05.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:29 snap [2021-03-19T08:33:05.528Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 19 08:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:33:05.890Z] + 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=5b084bdeafa1e122a5c890164a05a3ac30530fc3 --label arch=arm64 --label version=2.0.0-dev.26 . [2021-03-19T08:33:06.161Z] Sending build context to Docker daemon 2.378MB [2021-03-19T08:33:06.431Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T08:33:06.431Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-19T08:33:06.431Z] ---> faed341662c8 [2021-03-19T08:33:06.431Z] Step 3/24 : ARG MAKE='make build' [2021-03-19T08:33:06.700Z] ---> Running in d9f98b17c965 [2021-03-19T08:33:06.971Z] Removing intermediate container d9f98b17c965 [2021-03-19T08:33:06.972Z] ---> 73ab8ffcb07c [2021-03-19T08:33:06.972Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-19T08:33:07.245Z] ---> Running in 192e23b1b2fa [2021-03-19T08:33:07.524Z] Removing intermediate container 192e23b1b2fa [2021-03-19T08:33:07.524Z] ---> 7559dac76fac [2021-03-19T08:33:07.524Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T08:33:07.797Z] ---> Running in f2d9496885fd [2021-03-19T08:33:08.074Z] Removing intermediate container f2d9496885fd [2021-03-19T08:33:08.074Z] ---> 560a238b0e0a [2021-03-19T08:33:08.074Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-19T08:33:08.347Z] ---> Running in 528883b53369 [2021-03-19T08:33:10.328Z] Removing intermediate container 528883b53369 [2021-03-19T08:33:10.328Z] ---> 0d72488b4c00 [2021-03-19T08:33:10.328Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-19T08:33:10.601Z] ---> Running in 85c569367e54 [2021-03-19T08:33:11.577Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-19T08:33:13.007Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-19T08:33:13.978Z] OK: 142 MiB in 39 packages [2021-03-19T08:33:15.413Z] Removing intermediate container 85c569367e54 [2021-03-19T08:33:15.413Z] ---> fe4f50c01aae [2021-03-19T08:33:15.413Z] Step 8/24 : COPY . . [2021-03-19T08:33:16.395Z] ---> 3239ba96d17a [2021-03-19T08:33:16.395Z] Step 9/24 : RUN ${MAKE} [2021-03-19T08:33:16.672Z] ---> Running in d0e2d3043583 [2021-03-19T08:33:17.649Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.26" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-19T08:33:44.431Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-19T08:33:45.404Z] Removing intermediate container d0e2d3043583 [2021-03-19T08:33:45.404Z] ---> 388754d001d6 [2021-03-19T08:33:45.404Z] Step 10/24 : FROM scratch [2021-03-19T08:33:45.404Z] ---> [2021-03-19T08:33:45.404Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-19T08:33:45.404Z] ---> Running in 36710166f5d3 [2021-03-19T08:33:45.684Z] Removing intermediate container 36710166f5d3 [2021-03-19T08:33:45.684Z] ---> 8c75d8cb8204 [2021-03-19T08:33:45.684Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-19T08:33:45.684Z] ---> Running in 2d410304be6a [2021-03-19T08:33:46.285Z] Removing intermediate container 2d410304be6a [2021-03-19T08:33:46.285Z] ---> a4efdeccaf1f [2021-03-19T08:33:46.285Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-19T08:33:46.285Z] ---> Running in 1777494590ba [2021-03-19T08:33:46.555Z] Removing intermediate container 1777494590ba [2021-03-19T08:33:46.555Z] ---> 57a55949cabc [2021-03-19T08:33:46.555Z] Step 14/24 : WORKDIR / [2021-03-19T08:33:46.827Z] ---> Running in 6e3da47708d8 [2021-03-19T08:33:47.099Z] Removing intermediate container 6e3da47708d8 [2021-03-19T08:33:47.099Z] ---> 1fbe66c73b52 [2021-03-19T08:33:47.099Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-19T08:33:48.536Z] ---> 6cd817d757ce [2021-03-19T08:33:48.536Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-19T08:33:49.129Z] ---> 32bc24511f88 [2021-03-19T08:33:49.129Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-19T08:33:49.729Z] ---> 6fa8eb172e5a [2021-03-19T08:33:49.729Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-19T08:33:50.322Z] ---> 51c8e2e9802c [2021-03-19T08:33:50.322Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-19T08:33:51.297Z] ---> 8b0503d839aa [2021-03-19T08:33:51.297Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-19T08:33:51.297Z] ---> Running in 333f12bc08a5 [2021-03-19T08:33:51.568Z] Removing intermediate container 333f12bc08a5 [2021-03-19T08:33:51.568Z] ---> 331c3dbd6cd8 [2021-03-19T08:33:51.568Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-19T08:33:51.839Z] ---> Running in 891333a22df3 [2021-03-19T08:33:52.430Z] Removing intermediate container 891333a22df3 [2021-03-19T08:33:52.430Z] ---> 45cbd5033b3d [2021-03-19T08:33:52.430Z] Step 22/24 : LABEL arch=arm64 [2021-03-19T08:33:52.430Z] ---> Running in 41e8a5f7c1ad [2021-03-19T08:33:53.023Z] Removing intermediate container 41e8a5f7c1ad [2021-03-19T08:33:53.023Z] ---> d63265de80f3 [2021-03-19T08:33:53.023Z] Step 23/24 : LABEL git_sha=5b084bdeafa1e122a5c890164a05a3ac30530fc3 [2021-03-19T08:33:53.023Z] ---> Running in d38b4e649380 [2021-03-19T08:33:53.300Z] Removing intermediate container d38b4e649380 [2021-03-19T08:33:53.300Z] ---> f7fc0368028c [2021-03-19T08:33:53.300Z] Step 24/24 : LABEL version=2.0.0-dev.26 [2021-03-19T08:33:53.571Z] ---> Running in 5e89cc31038e [2021-03-19T08:33:54.164Z] Removing intermediate container 5e89cc31038e [2021-03-19T08:33:54.164Z] ---> 186840a6978b [2021-03-19T08:33:54.164Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-19T08:33:54.164Z] Successfully built 186840a6978b [2021-03-19T08:33:54.164Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:33:54.946Z] ---> job-cost.sh [2021-03-19T08:33:54.946Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BnAd [2021-03-19T08:34:33.898Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-19T08:36:10.633Z] lf-activate-venv(): INFO: Adding /tmp/venv-BnAd/bin to PATH [2021-03-19T08:36:10.633Z] INFO: No Stack... [2021-03-19T08:36:10.633Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-19T08:36:10.633Z] INFO: Archiving Costs [Pipeline] sh [2021-03-19T08:36:10.970Z] + + cat /w/workspace/device-sdk-go/131/archives/cost.csv [2021-03-19T08:36:10.970Z] cut -d, -f6 [Pipeline] lock [2021-03-19T08:36:11.081Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] [2021-03-19T08:36:11.091Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] did not exist. Created. [2021-03-19T08:36:11.091Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T08:36:11.528Z] /w/workspace/device-sdk-go/131@tmp/durable-997bae94/script.sh: 1: /w/workspace/device-sdk-go/131@tmp/durable-997bae94/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-19T08:36:11.875Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-19T08:36:11.943Z] Warning: overwriting stash ‘stack-cost’ [2021-03-19T08:36:12.103Z] Stashed 1 file(s) [Pipeline] } [2021-03-19T08:36:12.120Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-19T08:36:14.911Z] provisioning config files... [2021-03-19T08:36:14.936Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8175959537534789593tmp [Pipeline] { [Pipeline] sh [2021-03-19T08:36:15.312Z] + set +x [2021-03-19T08:36:15.312Z] + curl -s https://codecov.io/bash [2021-03-19T08:36:15.312Z] + bash -s -- [2021-03-19T08:36:15.576Z] [2021-03-19T08:36:15.576Z] _____ _ [2021-03-19T08:36:15.576Z] / ____| | | [2021-03-19T08:36:15.576Z] | | ___ __| | ___ ___ _____ __ [2021-03-19T08:36:15.576Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-19T08:36:15.576Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-19T08:36:15.576Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-19T08:36:15.576Z] Bash-20210309-2b87ace [2021-03-19T08:36:15.576Z] [2021-03-19T08:36:15.576Z] [2021-03-19T08:36:15.576Z] ==> git version 2.24.3 found [2021-03-19T08:36:15.576Z] ==> 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-03-19T08:36:15.576Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-19T08:36:15.576Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-19T08:36:15.576Z] ==> Jenkins CI detected. [2021-03-19T08:36:15.576Z] project root: . [2021-03-19T08:36:15.576Z] --> token set from env [2021-03-19T08:36:15.576Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-19T08:36:15.576Z] ==> Running gcov in . (disable via -X gcov) [2021-03-19T08:36:15.576Z] ==> Python coveragepy not found [2021-03-19T08:36:15.576Z] ==> Searching for coverage reports in: [2021-03-19T08:36:15.576Z] + . [2021-03-19T08:36:15.576Z] -> Found 1 reports [2021-03-19T08:36:15.576Z] ==> Detecting git/mercurial file structure [2021-03-19T08:36:15.576Z] ==> Reading reports [2021-03-19T08:36:15.576Z] + ./coverage.out bytes=99588 [2021-03-19T08:36:15.576Z] ==> Appending adjustments [2021-03-19T08:36:15.576Z] https://docs.codecov.io/docs/fixing-reports [2021-03-19T08:36:15.842Z] + Found adjustments [2021-03-19T08:36:15.842Z] ==> Gzipping contents [2021-03-19T08:36:15.842Z] 16K /tmp/codecov.SNtEnd.gz [2021-03-19T08:36:15.842Z] ==> Uploading reports [2021-03-19T08:36:15.842Z] url: https://codecov.io [2021-03-19T08:36:15.842Z] query: branch=master&commit=5b084bdeafa1e122a5c890164a05a3ac30530fc3&build=131&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F131%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-19T08:36:15.842Z] -> Pinging Codecov [2021-03-19T08:36:15.842Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=5b084bdeafa1e122a5c890164a05a3ac30530fc3&build=131&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F131%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-19T08:36:16.422Z] -> Uploading to [2021-03-19T08:36:16.422Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-19/7E55EF52A471D76F132DFD9A03CDDE97/5b084bdeafa1e122a5c890164a05a3ac30530fc3/11a19f7a-8572-46c2-bc14-3a91f7a72d9b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210319%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210319T083616Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=751bf89235fd9b172928a73bec4888e9f253a0dd767e17dc09c4cdb3ff616951 [2021-03-19T08:36:16.422Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-19T08:36:16.422Z] Dload Upload Total Spent Left Speed [2021-03-19T08:36:16.998Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13462 0 0 100 13462 0 30372 --:--:-- --:--:-- --:--:-- 30388 [2021-03-19T08:36:16.998Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5b084bdeafa1e122a5c890164a05a3ac30530fc3 [Pipeline] } [2021-03-19T08:36:17.008Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-19T08:36:17.875Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-19T08:36:17.928Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:36:18.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-19T08:36:18.269Z] [2021-03-19T08:36:18.269Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:36:18.617Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-19T08:36:18.617Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-19T08:36:18.617Z] 188c0c94c7c5: Pulling fs layer [2021-03-19T08:36:18.617Z] 0ef7d3d256c8: Pulling fs layer [2021-03-19T08:36:18.617Z] de9db76c5a1d: Pulling fs layer [2021-03-19T08:36:18.617Z] 0eba1c9be4d2: Pulling fs layer [2021-03-19T08:36:18.617Z] 0d57e429df01: Pulling fs layer [2021-03-19T08:36:18.617Z] 4e4be7b47b0d: Pulling fs layer [2021-03-19T08:36:18.617Z] e1f770b5df2f: Pulling fs layer [2021-03-19T08:36:18.617Z] 85a0685a4137: Pulling fs layer [2021-03-19T08:36:18.617Z] 0d57e429df01: Waiting [2021-03-19T08:36:18.617Z] 4e4be7b47b0d: Waiting [2021-03-19T08:36:18.617Z] e1f770b5df2f: Waiting [2021-03-19T08:36:18.617Z] 85a0685a4137: Waiting [2021-03-19T08:36:18.617Z] 0eba1c9be4d2: Waiting [2021-03-19T08:36:18.617Z] de9db76c5a1d: Download complete [2021-03-19T08:36:18.617Z] 0ef7d3d256c8: Verifying Checksum [2021-03-19T08:36:18.617Z] 0ef7d3d256c8: Download complete [2021-03-19T08:36:18.617Z] 0d57e429df01: Download complete [2021-03-19T08:36:18.617Z] 4e4be7b47b0d: Verifying Checksum [2021-03-19T08:36:18.617Z] 4e4be7b47b0d: Download complete [2021-03-19T08:36:18.617Z] 188c0c94c7c5: Verifying Checksum [2021-03-19T08:36:18.617Z] 188c0c94c7c5: Download complete [2021-03-19T08:36:19.194Z] 188c0c94c7c5: Pull complete [2021-03-19T08:36:19.194Z] 0ef7d3d256c8: Pull complete [2021-03-19T08:36:19.456Z] de9db76c5a1d: Pull complete [2021-03-19T08:36:20.409Z] e1f770b5df2f: Verifying Checksum [2021-03-19T08:36:20.409Z] e1f770b5df2f: Download complete [2021-03-19T08:36:22.351Z] 0eba1c9be4d2: Verifying Checksum [2021-03-19T08:36:22.351Z] 0eba1c9be4d2: Download complete [2021-03-19T08:36:23.317Z] 85a0685a4137: Verifying Checksum [2021-03-19T08:36:23.317Z] 85a0685a4137: Download complete [2021-03-19T08:36:27.569Z] 0eba1c9be4d2: Pull complete [2021-03-19T08:36:27.569Z] 0d57e429df01: Pull complete [2021-03-19T08:36:27.832Z] 4e4be7b47b0d: Pull complete [2021-03-19T08:36:30.397Z] e1f770b5df2f: Pull complete [2021-03-19T08:36:38.580Z] 85a0685a4137: Pull complete [2021-03-19T08:36:38.580Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-19T08:36:38.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-19T08:36:38.580Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-19T08:36:38.785Z] prd-centos7-docker-4c-2g-30519 does not seem to be running inside a container [2021-03-19T08:36:38.837Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-03-19T08:36:39.818Z] $ docker top 9d42ac93d16af9f52a53d2740cf7049f1f7547c1e290347d4e05e8fd9da62c33 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-19T08:36:40.124Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-19T08:36:40.419Z] + set -o pipefail [2021-03-19T08:36:40.419Z] + snyk monitor '--org=edgex-jenkins' [2021-03-19T08:36:47.027Z] [2021-03-19T08:36:47.027Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-03-19T08:36:47.027Z] [2021-03-19T08:36:47.027Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/3aaa0226-4223-40b4-8efa-1bee7cc8485a [2021-03-19T08:36:47.027Z] [2021-03-19T08:36:47.027Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-19T08:36:47.027Z] [2021-03-19T08:36:47.027Z] [Pipeline] } [2021-03-19T08:36:47.043Z] $ docker stop --time=1 9d42ac93d16af9f52a53d2740cf7049f1f7547c1e290347d4e05e8fd9da62c33 [2021-03-19T08:36:49.661Z] $ docker rm -f 9d42ac93d16af9f52a53d2740cf7049f1f7547c1e290347d4e05e8fd9da62c33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-03-19T08:36:51.084Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-19T08:36:51.149Z] provisioning config files... [2021-03-19T08:36:51.158Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2764555654342236767tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:36:51.543Z] --> edgex-publish-swagger.sh [2021-03-19T08:36:51.543Z] === Publish openapi/v1 API === [2021-03-19T08:36:51.543Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-03-19T08:36:51.543Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-03-19T08:36:51.543Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-19T08:36:51.543Z] Dload Upload Total Spent Left Speed [2021-03-19T08:36:52.118Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 26673 --:--:-- --:--:-- --:--:-- 26667 100 19947 0 0 100 19947 0 26665 --:--:-- --:--:-- --:--:-- 26667 [2021-03-19T08:36:52.118Z] [2021-03-19T08:36:52.118Z] [2021-03-19T08:36:52.118Z] === Publish openapi/v2 API === [2021-03-19T08:36:52.118Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-19T08:36:52.118Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-03-19T08:36:52.118Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-19T08:36:52.118Z] Dload Upload Total Spent Left Speed [2021-03-19T08:36:53.066Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 73744 --:--:-- --:--:-- --:--:-- 73863 [2021-03-19T08:36:53.066Z] [2021-03-19T08:36:53.066Z] [Pipeline] } [2021-03-19T08:36:53.076Z] 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-03-19T08:36:53.974Z] + git log --format=format:%s -1 5b084bdeafa1e122a5c890164a05a3ac30530fc3 [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:36:54.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T08:36:54.289Z] . [Pipeline] withDockerContainer [2021-03-19T08:36:54.397Z] prd-centos7-docker-4c-2g-30519 does not seem to be running inside a container [2021-03-19T08:36:54.444Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-19T08:36:55.201Z] $ docker top e5ecd4294238cbd7e947f39b22df6b2bad1ee4fd9c8939661582f2759c5ddca7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T08:36:55.511Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T08:36:55.512Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T08:36:55.791Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T08:36:55.795Z] $ docker exec e5ecd4294238cbd7e947f39b22df6b2bad1ee4fd9c8939661582f2759c5ddca7 ssh-agent [2021-03-19T08:36:55.971Z] SSH_AUTH_SOCK=/tmp/ssh-pkEyVZXEoWK7/agent.12 [2021-03-19T08:36:55.971Z] SSH_AGENT_PID=18 [2021-03-19T08:36:55.979Z] Running ssh-add (command line suppressed) [2021-03-19T08:36:56.108Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1522919954655088285.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1522919954655088285.key) [2021-03-19T08:36:56.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T08:36:56.497Z] + git semver tag [2021-03-19T08:36:56.497Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T08:36:56.497Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-19T08:36:56.497Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-19T08:36:56.497Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T08:36:56.497Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T08:36:56.497Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T08:36:56.497Z] # $SEMVER_BRANCH = master [2021-03-19T08:36:56.497Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-19T08:36:56.497Z] # 5b084bdeafa1e122a5c890164a05a3ac30530fc3 HEAD [2021-03-19T08:36:56.497Z] # -> Force: false [2021-03-19T08:36:56.759Z] # 16c8135696148d5fd82cc6617f7d9128e835cdfc refs/tags/v2.0.0-dev.26 [Pipeline] } [2021-03-19T08:36:56.772Z] $ docker exec --env ******** --env ******** e5ecd4294238cbd7e947f39b22df6b2bad1ee4fd9c8939661582f2759c5ddca7 ssh-agent -k [2021-03-19T08:36:56.902Z] unset SSH_AUTH_SOCK; [2021-03-19T08:36:56.903Z] unset SSH_AGENT_PID; [2021-03-19T08:36:56.903Z] echo Agent pid 18 killed; [2021-03-19T08:36:56.949Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T08:36:57.448Z] + git semver [Pipeline] } [2021-03-19T08:36:57.465Z] $ docker stop --time=1 e5ecd4294238cbd7e947f39b22df6b2bad1ee4fd9c8939661582f2759c5ddca7 [2021-03-19T08:36:58.798Z] $ docker rm -f e5ecd4294238cbd7e947f39b22df6b2bad1ee4fd9c8939661582f2759c5ddca7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:36:59.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-19T08:36:59.412Z] [2021-03-19T08:36:59.413Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:36:59.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-19T08:36:59.757Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-19T08:36:59.757Z] ab5ef0e58194: Pulling fs layer [2021-03-19T08:36:59.757Z] 9712f1f96733: Pulling fs layer [2021-03-19T08:36:59.757Z] 63f879dbbcfc: Pulling fs layer [2021-03-19T08:36:59.757Z] 0d9ebad4ef96: Pulling fs layer [2021-03-19T08:36:59.757Z] e9a5061849ea: Pulling fs layer [2021-03-19T08:36:59.757Z] d747dcd14b5f: Pulling fs layer [2021-03-19T08:36:59.757Z] 2de7ff778b66: Pulling fs layer [2021-03-19T08:36:59.757Z] e9a5061849ea: Waiting [2021-03-19T08:36:59.757Z] d747dcd14b5f: Waiting [2021-03-19T08:36:59.757Z] 2de7ff778b66: Waiting [2021-03-19T08:36:59.757Z] 9712f1f96733: Verifying Checksum [2021-03-19T08:36:59.757Z] 9712f1f96733: Download complete [2021-03-19T08:37:01.695Z] 63f879dbbcfc: Verifying Checksum [2021-03-19T08:37:01.695Z] 63f879dbbcfc: Download complete [2021-03-19T08:37:01.695Z] e9a5061849ea: Verifying Checksum [2021-03-19T08:37:01.695Z] e9a5061849ea: Download complete [2021-03-19T08:37:01.695Z] d747dcd14b5f: Verifying Checksum [2021-03-19T08:37:01.695Z] d747dcd14b5f: Download complete [2021-03-19T08:37:01.973Z] 2de7ff778b66: Verifying Checksum [2021-03-19T08:37:01.973Z] 2de7ff778b66: Download complete [2021-03-19T08:37:02.238Z] 0d9ebad4ef96: Verifying Checksum [2021-03-19T08:37:02.238Z] 0d9ebad4ef96: Download complete [2021-03-19T08:37:02.238Z] ab5ef0e58194: Verifying Checksum [2021-03-19T08:37:02.238Z] ab5ef0e58194: Download complete [2021-03-19T08:37:06.497Z] ab5ef0e58194: Pull complete [2021-03-19T08:37:06.497Z] 9712f1f96733: Pull complete [2021-03-19T08:37:09.058Z] 63f879dbbcfc: Pull complete [2021-03-19T08:37:15.682Z] 0d9ebad4ef96: Pull complete [2021-03-19T08:37:16.646Z] e9a5061849ea: Pull complete [2021-03-19T08:37:16.646Z] d747dcd14b5f: Pull complete [2021-03-19T08:37:19.298Z] 2de7ff778b66: Pull complete [2021-03-19T08:37:19.298Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-19T08:37:19.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-19T08:37:19.298Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-19T08:37:19.490Z] prd-centos7-docker-4c-2g-30519 does not seem to be running inside a container [2021-03-19T08:37:19.539Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-03-19T08:37:23.721Z] $ docker top c1d4e7f8a4e16acb56f9487494d568ad6ccc863c0106032e3ba0645ea2f42c7a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-19T08:37:23.942Z] provisioning config files... [2021-03-19T08:37:23.960Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config972639221412092696tmp [2021-03-19T08:37:23.975Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6628093248746990137tmp [2021-03-19T08:37:23.993Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6019561138201967244tmp [Pipeline] { [Pipeline] echo [2021-03-19T08:37:24.048Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:37:24.370Z] ---> sigul-configuration.sh [2021-03-19T08:37:24.371Z] gpg: directory `/root/.gnupg' created [2021-03-19T08:37:24.371Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-19T08:37:24.371Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-19T08:37:24.371Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-19T08:37:24.371Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-19T08:37:24.371Z] gpg: CAST5 encrypted data [2021-03-19T08:37:24.633Z] gpg: encrypted with 1 passphrase [2021-03-19T08:37:24.633Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-19T08:37:24.931Z] + mkdir /home/jenkins [2021-03-19T08:37:24.932Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-19T08:37:25.232Z] + 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-03-19T08:37:25.243Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:37:25.565Z] ---> sigul-install.sh [2021-03-19T08:37:33.729Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-19T08:37:34.028Z] + git tag --list [2021-03-19T08:37:34.028Z] 0.7.1 [2021-03-19T08:37:34.028Z] delhi-tag [2021-03-19T08:37:34.028Z] v1.0.0 [2021-03-19T08:37:34.028Z] v1.1.0 [2021-03-19T08:37:34.028Z] v1.1.1 [2021-03-19T08:37:34.028Z] v1.1.2 [2021-03-19T08:37:34.028Z] v1.2.0 [2021-03-19T08:37:34.028Z] v1.2.1 [2021-03-19T08:37:34.028Z] v1.2.2 [2021-03-19T08:37:34.028Z] v1.2.3 [2021-03-19T08:37:34.028Z] v1.3.0 [2021-03-19T08:37:34.028Z] v1.4.0 [2021-03-19T08:37:34.028Z] v2.0.0-dev.1 [2021-03-19T08:37:34.028Z] v2.0.0-dev.10 [2021-03-19T08:37:34.028Z] v2.0.0-dev.11 [2021-03-19T08:37:34.028Z] v2.0.0-dev.12 [2021-03-19T08:37:34.028Z] v2.0.0-dev.13 [2021-03-19T08:37:34.028Z] v2.0.0-dev.14 [2021-03-19T08:37:34.028Z] v2.0.0-dev.15 [2021-03-19T08:37:34.028Z] v2.0.0-dev.16 [2021-03-19T08:37:34.028Z] v2.0.0-dev.17 [2021-03-19T08:37:34.028Z] v2.0.0-dev.18 [2021-03-19T08:37:34.028Z] v2.0.0-dev.19 [2021-03-19T08:37:34.028Z] v2.0.0-dev.2 [2021-03-19T08:37:34.028Z] v2.0.0-dev.20 [2021-03-19T08:37:34.028Z] v2.0.0-dev.21 [2021-03-19T08:37:34.028Z] v2.0.0-dev.22 [2021-03-19T08:37:34.028Z] v2.0.0-dev.23 [2021-03-19T08:37:34.028Z] v2.0.0-dev.24 [2021-03-19T08:37:34.028Z] v2.0.0-dev.25 [2021-03-19T08:37:34.028Z] v2.0.0-dev.26 [2021-03-19T08:37:34.028Z] v2.0.0-dev.3 [2021-03-19T08:37:34.028Z] v2.0.0-dev.4 [2021-03-19T08:37:34.028Z] v2.0.0-dev.5 [2021-03-19T08:37:34.028Z] v2.0.0-dev.6 [2021-03-19T08:37:34.028Z] v2.0.0-dev.7 [2021-03-19T08:37:34.028Z] v2.0.0-dev.8 [2021-03-19T08:37:34.028Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-19T08:37:34.327Z] + lftools sign git-tag v2.0.0-dev.26 [2021-03-19T08:37:35.718Z] Signing Git tag with Sigul... [2021-03-19T08:37:35.718Z] Signing v2.0.0-dev.26 [Pipeline] echo [2021-03-19T08:37:36.676Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:37:36.973Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-19T08:37:36.984Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-19T08:37:37.089Z] $ docker stop --time=1 c1d4e7f8a4e16acb56f9487494d568ad6ccc863c0106032e3ba0645ea2f42c7a [2021-03-19T08:37:39.180Z] $ docker rm -f c1d4e7f8a4e16acb56f9487494d568ad6ccc863c0106032e3ba0645ea2f42c7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:37:40.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T08:37:40.163Z] . [Pipeline] withDockerContainer [2021-03-19T08:37:40.265Z] prd-centos7-docker-4c-2g-30519 does not seem to be running inside a container [2021-03-19T08:37:40.315Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-19T08:37:40.996Z] $ docker top 0fa85e77f2e6e483e186ad85b81002a3f14e0d69ece7563aeaacca148775ed56 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T08:37:41.325Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T08:37:41.325Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T08:37:41.523Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T08:37:41.529Z] $ docker exec 0fa85e77f2e6e483e186ad85b81002a3f14e0d69ece7563aeaacca148775ed56 ssh-agent [2021-03-19T08:37:41.702Z] SSH_AUTH_SOCK=/tmp/ssh-0CLaqbx8mHRD/agent.11 [2021-03-19T08:37:41.702Z] SSH_AGENT_PID=16 [2021-03-19T08:37:41.710Z] Running ssh-add (command line suppressed) [2021-03-19T08:37:41.838Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3373416084275776870.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3373416084275776870.key) [2021-03-19T08:37:41.896Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T08:37:42.239Z] + git semver bump pre [2021-03-19T08:37:42.239Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T08:37:42.239Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-19T08:37:42.239Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-19T08:37:42.239Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T08:37:42.239Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T08:37:42.239Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T08:37:42.239Z] # $SEMVER_BRANCH = master [2021-03-19T08:37:42.239Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-19T08:37:42.239Z] 2.0.0-dev.27 [Pipeline] } [2021-03-19T08:37:42.254Z] $ docker exec --env ******** --env ******** 0fa85e77f2e6e483e186ad85b81002a3f14e0d69ece7563aeaacca148775ed56 ssh-agent -k [2021-03-19T08:37:42.375Z] unset SSH_AUTH_SOCK; [2021-03-19T08:37:42.376Z] unset SSH_AGENT_PID; [2021-03-19T08:37:42.376Z] echo Agent pid 16 killed; [2021-03-19T08:37:42.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T08:37:42.908Z] + git semver [Pipeline] } [2021-03-19T08:37:42.927Z] $ docker stop --time=1 0fa85e77f2e6e483e186ad85b81002a3f14e0d69ece7563aeaacca148775ed56 [2021-03-19T08:37:44.290Z] $ docker rm -f 0fa85e77f2e6e483e186ad85b81002a3f14e0d69ece7563aeaacca148775ed56 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:37:44.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T08:37:44.818Z] . [Pipeline] withDockerContainer [2021-03-19T08:37:44.917Z] prd-centos7-docker-4c-2g-30519 does not seem to be running inside a container [2021-03-19T08:37:44.967Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-19T08:37:45.685Z] $ docker top 8a88305c7b4de145c15647cdbc5a735c5ea45b240fd8f1bac37fcae04fe693c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T08:37:45.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T08:37:45.974Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T08:37:46.185Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T08:37:46.190Z] $ docker exec 8a88305c7b4de145c15647cdbc5a735c5ea45b240fd8f1bac37fcae04fe693c7 ssh-agent [2021-03-19T08:37:46.365Z] SSH_AUTH_SOCK=/tmp/ssh-CBLIYn7JXSa7/agent.12 [2021-03-19T08:37:46.365Z] SSH_AGENT_PID=17 [2021-03-19T08:37:46.373Z] Running ssh-add (command line suppressed) [2021-03-19T08:37:46.496Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_284161836871040047.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_284161836871040047.key) [2021-03-19T08:37:46.555Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T08:37:46.894Z] + git semver push [2021-03-19T08:37:46.894Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T08:37:46.894Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-19T08:37:46.894Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-19T08:37:46.894Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T08:37:46.894Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T08:37:46.894Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T08:37:46.894Z] # $SEMVER_BRANCH = master [2021-03-19T08:37:46.894Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-19T08:37:51.124Z] $ docker exec --env ******** --env ******** 8a88305c7b4de145c15647cdbc5a735c5ea45b240fd8f1bac37fcae04fe693c7 ssh-agent -k [2021-03-19T08:37:51.242Z] unset SSH_AUTH_SOCK; [2021-03-19T08:37:51.242Z] unset SSH_AGENT_PID; [2021-03-19T08:37:51.242Z] echo Agent pid 17 killed; [2021-03-19T08:37:51.301Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T08:37:51.953Z] + git semver [Pipeline] } [2021-03-19T08:37:51.971Z] $ docker stop --time=1 8a88305c7b4de145c15647cdbc5a735c5ea45b240fd8f1bac37fcae04fe693c7 [2021-03-19T08:37:53.332Z] $ docker rm -f 8a88305c7b4de145c15647cdbc5a735c5ea45b240fd8f1bac37fcae04fe693c7 [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-03-19T08:37:54.905Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:37:55.473Z] ---> package-listing.sh [2021-03-19T08:37:55.473Z] ++ facter osfamily [2021-03-19T08:37:55.473Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-19T08:37:55.473Z] + OS_FAMILY=redhat [2021-03-19T08:37:55.473Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-03-19T08:37:55.473Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-19T08:37:55.473Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-19T08:37:55.473Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-19T08:37:55.473Z] + PACKAGES=/tmp/packages_start.txt [2021-03-19T08:37:55.473Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-19T08:37:55.473Z] + PACKAGES=/tmp/packages_end.txt [2021-03-19T08:37:55.473Z] + case "${OS_FAMILY}" in [2021-03-19T08:37:55.473Z] + rpm -qa [2021-03-19T08:37:55.473Z] + sort [2021-03-19T08:38:00.772Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-19T08:38:00.772Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-19T08:38:00.772Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-19T08:38:00.772Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-19T08:38:00.772Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-03-19T08:38:00.772Z] + 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-03-19T08:38:00.785Z] 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-03-19T08:38:01.075Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:38:01.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T08:38:01.386Z] [2021-03-19T08:38:01.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-19T08:38:01.974Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T08:38:01.974Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-19T08:38:01.974Z] df20fa9351a1: Pulling fs layer [2021-03-19T08:38:01.974Z] 36b3adc4ff6f: Pulling fs layer [2021-03-19T08:38:01.974Z] 8ad3a11d3b57: Pulling fs layer [2021-03-19T08:38:01.974Z] 46f8f816bc3b: Pulling fs layer [2021-03-19T08:38:01.974Z] 93b61091891f: Pulling fs layer [2021-03-19T08:38:01.974Z] 93b9cdb0e59b: Pulling fs layer [2021-03-19T08:38:01.974Z] 5e14af77c1be: Pulling fs layer [2021-03-19T08:38:01.974Z] 01666e4c0597: Pulling fs layer [2021-03-19T08:38:01.974Z] aa168da1d23b: Pulling fs layer [2021-03-19T08:38:01.974Z] 01666e4c0597: Waiting [2021-03-19T08:38:01.974Z] aa168da1d23b: Waiting [2021-03-19T08:38:01.974Z] 93b9cdb0e59b: Waiting [2021-03-19T08:38:01.974Z] 46f8f816bc3b: Waiting [2021-03-19T08:38:01.974Z] 93b61091891f: Waiting [2021-03-19T08:38:01.974Z] 5e14af77c1be: Waiting [2021-03-19T08:38:01.974Z] 36b3adc4ff6f: Verifying Checksum [2021-03-19T08:38:01.974Z] 36b3adc4ff6f: Download complete [2021-03-19T08:38:01.974Z] 46f8f816bc3b: Verifying Checksum [2021-03-19T08:38:01.974Z] 46f8f816bc3b: Download complete [2021-03-19T08:38:01.974Z] df20fa9351a1: Verifying Checksum [2021-03-19T08:38:01.974Z] 93b9cdb0e59b: Verifying Checksum [2021-03-19T08:38:01.974Z] 93b9cdb0e59b: Download complete [2021-03-19T08:38:01.974Z] 5e14af77c1be: Verifying Checksum [2021-03-19T08:38:01.974Z] 5e14af77c1be: Download complete [2021-03-19T08:38:01.974Z] 01666e4c0597: Download complete [2021-03-19T08:38:01.974Z] 93b61091891f: Verifying Checksum [2021-03-19T08:38:01.974Z] 93b61091891f: Download complete [2021-03-19T08:38:02.286Z] 8ad3a11d3b57: Verifying Checksum [2021-03-19T08:38:02.286Z] df20fa9351a1: Pull complete [2021-03-19T08:38:02.885Z] 36b3adc4ff6f: Pull complete [2021-03-19T08:38:04.287Z] aa168da1d23b: Verifying Checksum [2021-03-19T08:38:04.287Z] aa168da1d23b: Download complete [2021-03-19T08:38:04.287Z] 8ad3a11d3b57: Pull complete [2021-03-19T08:38:04.551Z] 46f8f816bc3b: Pull complete [2021-03-19T08:38:04.814Z] 93b61091891f: Pull complete [2021-03-19T08:38:05.076Z] 93b9cdb0e59b: Pull complete [2021-03-19T08:38:05.076Z] 5e14af77c1be: Pull complete [2021-03-19T08:38:05.340Z] 01666e4c0597: Pull complete [2021-03-19T08:38:13.527Z] aa168da1d23b: Pull complete [2021-03-19T08:38:13.527Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-19T08:38:13.527Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T08:38:13.527Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-19T08:38:13.712Z] prd-centos7-docker-4c-2g-30519 does not seem to be running inside a container [2021-03-19T08:38:13.762Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-19T08:38:17.183Z] $ docker top fb4313a40bc25cbc103abce7d96897413dca133ea93fc1d1c5816d5c1b66c6d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T08:38:17.699Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-19T08:38:18.009Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-19T08:38:18.307Z] + ls /var/log/sa-host [2021-03-19T08:38:18.307Z] + sadf -c /var/log/sa-host/sa19 [2021-03-19T08:38:18.307Z] file_magic: OK [2021-03-19T08:38:18.307Z] HZ: Using current value: 100 [2021-03-19T08:38:18.307Z] file_header: OK [2021-03-19T08:38:18.307Z] 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-03-19T08:38:18.307Z] Statistics: [2021-03-19T08:38:18.307Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-19T08:38:18.307Z] File successfully converted to sysstat format version 12.2.1 [2021-03-19T08:38:18.307Z] + sadf -c /var/log/sa-host/sa23 [2021-03-19T08:38:18.307Z] file_magic: OK [2021-03-19T08:38:18.307Z] HZ: Using current value: 100 [2021-03-19T08:38:18.307Z] file_header: OK [2021-03-19T08:38:18.307Z] 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-03-19T08:38:18.307Z] Statistics: [2021-03-19T08:38:18.307Z] Hnuu...uuuununununu... [2021-03-19T08:38:18.307Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-19T08:38:18.982Z] provisioning config files... [2021-03-19T08:38:18.998Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3477595680632817862tmp [Pipeline] { [Pipeline] echo [2021-03-19T08:38:19.072Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:38:19.369Z] ---> create-netrc.sh [Pipeline] } [2021-03-19T08:38:19.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-19T08:38:19.486Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:38:19.785Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-19T08:38:19.796Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:38:20.095Z] ---> sudo-logs.sh [2021-03-19T08:38:20.095Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-19T08:38:20.198Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:38:20.499Z] ---> job-cost.sh [2021-03-19T08:38:20.499Z] lf-activate-venv: SKIPPING [2021-03-19T08:38:20.499Z] DEBUG: total: 0.20999999344348907 [2021-03-19T08:38:20.499Z] INFO: Retrieving Stack Cost... [2021-03-19T08:38:21.887Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-19T08:38:22.149Z] INFO: Archiving Costs [Pipeline] echo [2021-03-19T08:38:22.163Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T08:38:22.459Z] ---> logs-deploy.sh [2021-03-19T08:38:22.459Z] lf-activate-venv: SKIPPING [2021-03-19T08:38:22.459Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/131 [2021-03-19T08:38:22.459Z] INFO: archiving workspace using pattern(s): [2021-03-19T08:38:24.380Z] Archives upload complete. [2021-03-19T08:38:24.380Z] INFO: archiving logs to Nexus