Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a5ad5abbb998935bb195657aabe249c4682f0fa3 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29798 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 a5ad5abbb998935bb195657aabe249c4682f0fa3 (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 a5ad5abbb998935bb195657aabe249c4682f0fa3 # timeout=10 Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile (#816)" > git rev-list --no-walk 3f52f3a581500e7b2ce611731b922cb421169e9f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-15T07:55:41.438Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-15T07:55:41.736Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-15T07:55:41.882Z] ========================================================= [2021-03-15T07:55:41.882Z] EdgeX Global Pipelines Version Info [2021-03-15T07:55:41.882Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:55:44.221Z] ------------------- [2021-03-15T07:55:44.221Z] stable info: [2021-03-15T07:55:44.221Z] ------------------- [2021-03-15T07:55:44.221Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-15T07:55:44.221Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-15T07:55:44.221Z] Message: update stable to v1.0.184 [2021-03-15T07:55:45.221Z] ------------------- [2021-03-15T07:55:45.221Z] experimental info: [2021-03-15T07:55:45.221Z] ------------------- [2021-03-15T07:55:45.221Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-15T07:55:45.221Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-15T07:55:45.221Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-15T07:55:45.538Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-15T07:55:45.644Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-15T07:55:45.766Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-15T07:55:45.909Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-15T07:55:46.023Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-15T07:55:46.279Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-15T07:55:46.390Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-15T07:55:46.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-15T07:55:46.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-15T07:55:46.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-15T07:55:46.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-15T07:55:47.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-15T07:55:47.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-15T07:55:47.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-15T07:55:47.522Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-15T07:55:47.649Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T07:55:47.832Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T07:55:47.949Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T07:55:48.168Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-15T07:55:48.268Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-15T07:55:48.366Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-15T07:55:48.564Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-15T07:55:48.694Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-15T07:55:48.793Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-15T07:55:48.898Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-15T07:55:48.993Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-15T07:55:49.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-15T07:55:49.180Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-15T07:55:49.298Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-15T07:55:49.594Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5ad5abbb998935bb195657aabe249c4682f0fa3 [Pipeline] echo [2021-03-15T07:55:49.692Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5ad5ab [Pipeline] echo [2021-03-15T07:55:49.787Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T07:55:49.972Z] provisioning config files... [2021-03-15T07:55:50.007Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8787236594195431343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:55:50.392Z] ---> docker-login.sh [2021-03-15T07:55:50.392Z] nexus3.edgexfoundry.org:10001 [2021-03-15T07:55:51.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:55:52.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:55:52.182Z] Configure a credential helper to remove this warning. See [2021-03-15T07:55:52.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:55:52.182Z] [2021-03-15T07:55:52.182Z] Login Succeeded [2021-03-15T07:55:52.182Z] nexus3.edgexfoundry.org:10002 [2021-03-15T07:55:52.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:55:53.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:55:53.124Z] Configure a credential helper to remove this warning. See [2021-03-15T07:55:53.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:55:53.124Z] [2021-03-15T07:55:53.124Z] Login Succeeded [2021-03-15T07:55:53.124Z] nexus3.edgexfoundry.org:10003 [2021-03-15T07:55:53.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:55:53.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:55:53.793Z] Configure a credential helper to remove this warning. See [2021-03-15T07:55:53.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:55:53.793Z] [2021-03-15T07:55:53.793Z] Login Succeeded [2021-03-15T07:55:53.793Z] nexus3.edgexfoundry.org:10004 [2021-03-15T07:55:54.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:55:54.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:55:54.769Z] Configure a credential helper to remove this warning. See [2021-03-15T07:55:54.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:55:54.769Z] [2021-03-15T07:55:54.769Z] Login Succeeded [2021-03-15T07:55:54.769Z] docker.io [2021-03-15T07:55:55.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:55:55.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:55:55.705Z] Configure a credential helper to remove this warning. See [2021-03-15T07:55:55.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:55:55.705Z] [2021-03-15T07:55:55.705Z] Login Succeeded [2021-03-15T07:55:55.705Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T07:55:55.732Z] 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-15T07:55:56.720Z] + git log --format=format:%s -1 a5ad5abbb998935bb195657aabe249c4682f0fa3 [Pipeline] echo [2021-03-15T07:55:56.912Z] GIT_COMMIT: a5ad5abbb998935bb195657aabe249c4682f0fa3, Commit Message: feat: Upgrade core-contracts lib to use redesigned device profile (#816) [Pipeline] echo [2021-03-15T07:55:56.965Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:55:57.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T07:55:57.980Z] [2021-03-15T07:55:57.980Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:55:58.365Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T07:55:58.365Z] latest: Pulling from edgex-devops/git-semver [2021-03-15T07:55:58.365Z] 31603596830f: Pulling fs layer [2021-03-15T07:55:58.365Z] 2a8b12db71e7: Pulling fs layer [2021-03-15T07:55:58.365Z] 6ca5941a6612: Pulling fs layer [2021-03-15T07:55:58.365Z] ecc8261a40a4: Pulling fs layer [2021-03-15T07:55:58.365Z] ecc8261a40a4: Waiting [2021-03-15T07:55:58.638Z] 2a8b12db71e7: Verifying Checksum [2021-03-15T07:55:58.638Z] 2a8b12db71e7: Download complete [2021-03-15T07:55:58.638Z] 31603596830f: Download complete [2021-03-15T07:55:58.955Z] 6ca5941a6612: Verifying Checksum [2021-03-15T07:55:58.955Z] 6ca5941a6612: Download complete [2021-03-15T07:55:58.955Z] ecc8261a40a4: Verifying Checksum [2021-03-15T07:55:58.955Z] ecc8261a40a4: Download complete [2021-03-15T07:55:59.947Z] 31603596830f: Pull complete [2021-03-15T07:56:00.243Z] 2a8b12db71e7: Pull complete [2021-03-15T07:56:03.938Z] 6ca5941a6612: Pull complete [2021-03-15T07:56:05.068Z] ecc8261a40a4: Pull complete [2021-03-15T07:56:05.068Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-15T07:56:05.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T07:56:05.068Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-15T07:56:05.739Z] prd-centos7-docker-4c-2g-29798 does not seem to be running inside a container [2021-03-15T07:56:05.944Z] $ 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-15T07:56:09.531Z] $ docker top dd15363f96c481990b3c482204d5892dfb06cbf49347aa8c138e63c01d8ed592 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-15T07:56:10.281Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T07:56:10.281Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T07:56:10.919Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T07:56:10.945Z] $ docker exec dd15363f96c481990b3c482204d5892dfb06cbf49347aa8c138e63c01d8ed592 ssh-agent [2021-03-15T07:56:11.843Z] SSH_AUTH_SOCK=/tmp/ssh-3o8EU8uIcYXn/agent.12 [2021-03-15T07:56:11.843Z] SSH_AGENT_PID=17 [2021-03-15T07:56:11.901Z] Running ssh-add (command line suppressed) [2021-03-15T07:56:12.556Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4906099490443950387.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4906099490443950387.key) [2021-03-15T07:56:12.905Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T07:56:13.310Z] + git tag --points-at HEAD [Pipeline] } [2021-03-15T07:56:13.350Z] $ docker exec --env ******** --env ******** dd15363f96c481990b3c482204d5892dfb06cbf49347aa8c138e63c01d8ed592 ssh-agent -k [2021-03-15T07:56:13.635Z] unset SSH_AUTH_SOCK; [2021-03-15T07:56:13.636Z] unset SSH_AGENT_PID; [2021-03-15T07:56:13.636Z] echo Agent pid 17 killed; [2021-03-15T07:56:13.727Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-15T07:56:13.883Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T07:56:13.884Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T07:56:14.303Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T07:56:14.311Z] $ docker exec dd15363f96c481990b3c482204d5892dfb06cbf49347aa8c138e63c01d8ed592 ssh-agent [2021-03-15T07:56:14.877Z] SSH_AUTH_SOCK=/tmp/ssh-XBpJtYDxPpiC/agent.46 [2021-03-15T07:56:14.877Z] SSH_AGENT_PID=51 [2021-03-15T07:56:14.886Z] Running ssh-add (command line suppressed) [2021-03-15T07:56:15.394Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5044022886146032298.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5044022886146032298.key) [2021-03-15T07:56:15.693Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T07:56:16.517Z] + git semver init [2021-03-15T07:56:16.790Z] # -> Open(): unable to determine branch for HEAD [2021-03-15T07:56:16.790Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-15T07:56:16.790Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-15T07:56:16.790Z] # $SEMVER_REMOTE_NAME = origin [2021-03-15T07:56:16.790Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-15T07:56:16.790Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-15T07:56:16.790Z] # $SEMVER_BRANCH = master [2021-03-15T07:56:16.790Z] # $SEMVER_TEMP = /tmp/semver-863998230 [2021-03-15T07:56:16.790Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-15T07:56:18.296Z] # '/tmp/semver-863998230' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-03-15T07:56:18.296Z] # -> Force: false [2021-03-15T07:56:18.296Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-15T07:56:18.339Z] $ docker exec --env ******** --env ******** dd15363f96c481990b3c482204d5892dfb06cbf49347aa8c138e63c01d8ed592 ssh-agent -k [2021-03-15T07:56:18.949Z] unset SSH_AUTH_SOCK; [2021-03-15T07:56:18.952Z] unset SSH_AGENT_PID; [2021-03-15T07:56:18.952Z] echo Agent pid 51 killed; [2021-03-15T07:56:19.085Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-15T07:56:19.948Z] + git semver [Pipeline] } [2021-03-15T07:56:19.974Z] $ docker stop --time=1 dd15363f96c481990b3c482204d5892dfb06cbf49347aa8c138e63c01d8ed592 [2021-03-15T07:56:21.808Z] $ docker rm -f dd15363f96c481990b3c482204d5892dfb06cbf49347aa8c138e63c01d8ed592 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T07:56:22.942Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-15T07:56:23.764Z] Stashed 1 file(s) [Pipeline] echo [2021-03-15T07:56:23.767Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.21 [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-15T07:56:39.378Z] Still waiting to schedule task [2021-03-15T07:56:39.378Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29798’ [2021-03-15T07:56:39.382Z] Still waiting to schedule task [2021-03-15T07:56:39.382Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-15T07:58:25.460Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29799 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-15T07:58:25.559Z] Running in /w/workspace/device-sdk-go/126 [Pipeline] { [Pipeline] checkout [2021-03-15T07:58:30.701Z] using credential edgex-jenkins-ssh [2021-03-15T07:58:30.769Z] Cloning the remote Git repository [2021-03-15T07:58:30.838Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T07:58:30.942Z] > git init /w/workspace/device-sdk-go/126 # timeout=10 [2021-03-15T07:58:31.028Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T07:58:31.029Z] > git --version # timeout=10 [2021-03-15T07:58:31.059Z] > git --version # 'git version 2.17.1' [2021-03-15T07:58:31.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T07:58:31.148Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T07:58:32.815Z] Checking out Revision a5ad5abbb998935bb195657aabe249c4682f0fa3 (master) [2021-03-15T07:58:32.186Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T07:58:32.217Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T07:58:32.244Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T07:58:32.285Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T07:58:32.286Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T07:58:32.304Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-15T07:58:32.838Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T07:58:32.864Z] > git checkout -f a5ad5abbb998935bb195657aabe249c4682f0fa3 # timeout=10 [2021-03-15T07:58:37.338Z] Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile (#816)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T07:58:38.940Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-15T07:58:39.352Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-15T07:58:39.704Z] + true [2021-03-15T07:58:39.704Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T07:58:41.762Z] provisioning config files... [2021-03-15T07:58:41.810Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/126@tmp/config5856951293294371764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:58:42.226Z] ---> docker-login.sh [2021-03-15T07:58:42.226Z] nexus3.edgexfoundry.org:10001 [2021-03-15T07:58:42.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:58:43.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:58:43.425Z] Configure a credential helper to remove this warning. See [2021-03-15T07:58:43.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:58:43.425Z] [2021-03-15T07:58:43.425Z] Login Succeeded [2021-03-15T07:58:43.425Z] nexus3.edgexfoundry.org:10002 [2021-03-15T07:58:43.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:58:43.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:58:43.974Z] Configure a credential helper to remove this warning. See [2021-03-15T07:58:43.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:58:43.974Z] [2021-03-15T07:58:43.974Z] Login Succeeded [2021-03-15T07:58:43.974Z] nexus3.edgexfoundry.org:10003 [2021-03-15T07:58:44.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:58:44.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:58:44.586Z] Configure a credential helper to remove this warning. See [2021-03-15T07:58:44.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:58:44.586Z] [2021-03-15T07:58:44.586Z] Login Succeeded [2021-03-15T07:58:44.586Z] nexus3.edgexfoundry.org:10004 [2021-03-15T07:58:44.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:58:45.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:58:45.207Z] Configure a credential helper to remove this warning. See [2021-03-15T07:58:45.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:58:45.207Z] [2021-03-15T07:58:45.207Z] Login Succeeded [2021-03-15T07:58:45.207Z] docker.io [2021-03-15T07:58:45.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T07:58:46.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T07:58:46.077Z] Configure a credential helper to remove this warning. See [2021-03-15T07:58:46.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T07:58:46.077Z] [2021-03-15T07:58:46.077Z] Login Succeeded [2021-03-15T07:58:46.077Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T07:58:46.094Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-15T07:58:46.584Z] ========================================================= [2021-03-15T07:58:46.584Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-15T07:58:46.584Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:58:47.028Z] + 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-15T07:58:47.313Z] Sending build context to Docker daemon 2.25MB [2021-03-15T07:58:47.589Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T07:58:47.589Z] Step 2/8 : FROM ${BASE} [2021-03-15T07:58:47.589Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-15T07:58:47.589Z] 5f621e34cdf4: Pulling fs layer [2021-03-15T07:58:47.589Z] a4357932f1b6: Pulling fs layer [2021-03-15T07:58:47.589Z] 18c013af1878: Pulling fs layer [2021-03-15T07:58:47.589Z] 00ac8860ef70: Pulling fs layer [2021-03-15T07:58:47.589Z] 63d7cb157983: Pulling fs layer [2021-03-15T07:58:47.589Z] b116817d02f9: Pulling fs layer [2021-03-15T07:58:47.589Z] 745a02a5169b: Pulling fs layer [2021-03-15T07:58:47.589Z] 00ac8860ef70: Waiting [2021-03-15T07:58:47.589Z] 63d7cb157983: Waiting [2021-03-15T07:58:47.589Z] b116817d02f9: Waiting [2021-03-15T07:58:47.589Z] 745a02a5169b: Waiting [2021-03-15T07:58:47.589Z] 18c013af1878: Verifying Checksum [2021-03-15T07:58:47.589Z] 18c013af1878: Download complete [2021-03-15T07:58:47.589Z] a4357932f1b6: Verifying Checksum [2021-03-15T07:58:47.589Z] a4357932f1b6: Download complete [2021-03-15T07:58:47.589Z] 63d7cb157983: Verifying Checksum [2021-03-15T07:58:47.589Z] 63d7cb157983: Download complete [2021-03-15T07:58:47.589Z] b116817d02f9: Verifying Checksum [2021-03-15T07:58:47.589Z] b116817d02f9: Download complete [2021-03-15T07:58:47.868Z] 5f621e34cdf4: Verifying Checksum [2021-03-15T07:58:47.868Z] 5f621e34cdf4: Download complete [2021-03-15T07:58:48.468Z] 5f621e34cdf4: Pull complete [2021-03-15T07:58:48.756Z] a4357932f1b6: Pull complete [2021-03-15T07:58:49.369Z] 18c013af1878: Pull complete [2021-03-15T07:58:50.812Z] 745a02a5169b: Verifying Checksum [2021-03-15T07:58:50.812Z] 745a02a5169b: Download complete [2021-03-15T07:58:51.796Z] 00ac8860ef70: Verifying Checksum [2021-03-15T07:58:51.796Z] 00ac8860ef70: Download complete [2021-03-15T07:59:04.234Z] 00ac8860ef70: Pull complete [2021-03-15T07:59:04.234Z] 63d7cb157983: Pull complete [2021-03-15T07:59:04.234Z] b116817d02f9: Pull complete [2021-03-15T07:59:06.870Z] 745a02a5169b: Pull complete [2021-03-15T07:59:06.870Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-15T07:59:06.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-15T07:59:06.870Z] ---> b7e6874047d6 [2021-03-15T07:59:06.870Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T07:59:09.497Z] ---> Running in 6216ce2e0520 [2021-03-15T07:59:10.097Z] Removing intermediate container 6216ce2e0520 [2021-03-15T07:59:10.097Z] ---> 661e9bcb449b [2021-03-15T07:59:10.097Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T07:59:10.097Z] ---> Running in e5db03500fff [2021-03-15T07:59:12.734Z] Removing intermediate container e5db03500fff [2021-03-15T07:59:12.734Z] ---> c90ca186610c [2021-03-15T07:59:12.734Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-15T07:59:12.734Z] ---> Running in 29737082dac0 [2021-03-15T07:59:13.718Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-15T07:59:14.311Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-15T07:59:14.911Z] OK: 142 MiB in 39 packages [2021-03-15T07:59:15.920Z] Removing intermediate container 29737082dac0 [2021-03-15T07:59:15.920Z] ---> 6945bf5a5ef7 [2021-03-15T07:59:15.920Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-15T07:59:15.920Z] ---> Running in 3458d95933a1 [2021-03-15T07:59:16.526Z] Removing intermediate container 3458d95933a1 [2021-03-15T07:59:16.526Z] ---> 6e3c93ebf1cb [2021-03-15T07:59:16.526Z] Step 7/8 : COPY . . [2021-03-15T07:59:17.972Z] ---> a23d074a9849 [2021-03-15T07:59:17.972Z] Step 8/8 : RUN go mod download [2021-03-15T07:59:17.972Z] ---> Running in 9e953474a152 [2021-03-15T07:59:44.780Z] Removing intermediate container 9e953474a152 [2021-03-15T07:59:44.780Z] ---> 008f5a580e24 [2021-03-15T07:59:44.780Z] Successfully built 008f5a580e24 [2021-03-15T07:59:44.780Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:59:45.154Z] + docker inspect -f . ci-base-image-arm64 [2021-03-15T07:59:45.154Z] . [Pipeline] withDockerContainer [2021-03-15T07:59:45.447Z] prd-ubuntu18.04-docker-arm64-4c-16g-29799 does not seem to be running inside a container [2021-03-15T07:59:45.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/126 -v /w/workspace/device-sdk-go/126:/w/workspace/device-sdk-go/126:rw,z -v /w/workspace/device-sdk-go/126@tmp:/w/workspace/device-sdk-go/126@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-15T07:59:47.004Z] $ docker top ad65d60962ec08569ef256dc56d324561c9bb6d1ea221f98e8e073fb78ae5542 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T07:59:48.040Z] + go version [2021-03-15T07:59:48.040Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-15T07:59:48.068Z] $ docker stop --time=1 ad65d60962ec08569ef256dc56d324561c9bb6d1ea221f98e8e073fb78ae5542 [2021-03-15T07:59:50.013Z] $ docker rm -f ad65d60962ec08569ef256dc56d324561c9bb6d1ea221f98e8e073fb78ae5542 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:59:51.154Z] + docker inspect -f . ci-base-image-arm64 [2021-03-15T07:59:51.154Z] . [Pipeline] withDockerContainer [2021-03-15T07:59:51.395Z] prd-ubuntu18.04-docker-arm64-4c-16g-29799 does not seem to be running inside a container [2021-03-15T07:59:51.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/126 -v /w/workspace/device-sdk-go/126:/w/workspace/device-sdk-go/126:rw,z -v /w/workspace/device-sdk-go/126@tmp:/w/workspace/device-sdk-go/126@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-15T07:59:52.988Z] $ docker top 891af7655c7f1dd490304afcf36382cc4702194b744ff797c7937b24afd4219d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T07:59:54.261Z] + make test [2021-03-15T07:59:54.261Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-15T08:00:10.493Z] Running on prd-centos7-docker-4c-2g-29800 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-15T08:00:10.553Z] Running in /w/workspace/device-sdk-go/126 [Pipeline] { [Pipeline] checkout [2021-03-15T08:00:16.464Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-15T08:00:20.892Z] using credential edgex-jenkins-ssh [2021-03-15T08:00:20.960Z] Cloning the remote Git repository [2021-03-15T08:00:20.998Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T08:00:21.096Z] > git init /w/workspace/device-sdk-go/126 # timeout=10 [2021-03-15T08:00:21.216Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T08:00:21.217Z] > git --version # timeout=10 [2021-03-15T08:00:21.240Z] > git --version # 'git version 2.24.3' [2021-03-15T08:00:21.241Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T08:00:21.288Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T08:00:22.384Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T08:00:22.448Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T08:00:22.548Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T08:00:22.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T08:00:22.623Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T08:00:23.195Z] Checking out Revision a5ad5abbb998935bb195657aabe249c4682f0fa3 (master) [2021-03-15T08:00:22.701Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-15T08:00:23.224Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T08:00:23.239Z] > git checkout -f a5ad5abbb998935bb195657aabe249c4682f0fa3 # timeout=10 [2021-03-15T08:00:27.446Z] Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile (#816)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T08:00:29.288Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-15T08:00:29.989Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-15T08:00:30.330Z] + sudo service docker restart [2021-03-15T08:00:30.330Z] + true [2021-03-15T08:00:30.330Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T08:00:33.259Z] provisioning config files... [2021-03-15T08:00:33.289Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/126@tmp/config2033887243456100580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:00:33.795Z] ---> docker-login.sh [2021-03-15T08:00:33.795Z] nexus3.edgexfoundry.org:10001 [2021-03-15T08:00:34.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:00:34.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:00:34.990Z] Configure a credential helper to remove this warning. See [2021-03-15T08:00:34.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:00:34.990Z] [2021-03-15T08:00:34.990Z] Login Succeeded [2021-03-15T08:00:35.399Z] nexus3.edgexfoundry.org:10002 [2021-03-15T08:00:35.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:00:35.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:00:35.666Z] Configure a credential helper to remove this warning. See [2021-03-15T08:00:35.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:00:35.666Z] [2021-03-15T08:00:35.666Z] Login Succeeded [2021-03-15T08:00:35.666Z] nexus3.edgexfoundry.org:10003 [2021-03-15T08:00:36.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:00:36.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:00:36.252Z] Configure a credential helper to remove this warning. See [2021-03-15T08:00:36.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:00:36.252Z] [2021-03-15T08:00:36.252Z] Login Succeeded [2021-03-15T08:00:36.252Z] nexus3.edgexfoundry.org:10004 [2021-03-15T08:00:36.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:00:37.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:00:37.164Z] Configure a credential helper to remove this warning. See [2021-03-15T08:00:37.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:00:37.164Z] [2021-03-15T08:00:37.164Z] Login Succeeded [2021-03-15T08:00:37.164Z] docker.io [2021-03-15T08:00:37.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T08:00:37.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T08:00:37.706Z] Configure a credential helper to remove this warning. See [2021-03-15T08:00:37.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T08:00:37.706Z] [2021-03-15T08:00:37.706Z] Login Succeeded [2021-03-15T08:00:37.706Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T08:00:37.743Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-15T08:00:38.250Z] ========================================================= [2021-03-15T08:00:38.250Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-15T08:00:38.250Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:00:38.667Z] + 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-15T08:00:38.942Z] Sending build context to Docker daemon 2.251MB [2021-03-15T08:00:38.942Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T08:00:38.942Z] Step 2/8 : FROM ${BASE} [2021-03-15T08:00:38.942Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-15T08:00:38.942Z] 188c0c94c7c5: Pulling fs layer [2021-03-15T08:00:38.942Z] 0ef7d3d256c8: Pulling fs layer [2021-03-15T08:00:38.942Z] de9db76c5a1d: Pulling fs layer [2021-03-15T08:00:38.942Z] bca2f99d35d6: Pulling fs layer [2021-03-15T08:00:38.942Z] 93359f2a8cfa: Pulling fs layer [2021-03-15T08:00:38.942Z] 7c6f9722023f: Pulling fs layer [2021-03-15T08:00:38.942Z] a35cf1a2eb13: Pulling fs layer [2021-03-15T08:00:38.942Z] 93359f2a8cfa: Waiting [2021-03-15T08:00:38.942Z] bca2f99d35d6: Waiting [2021-03-15T08:00:38.942Z] 7c6f9722023f: Waiting [2021-03-15T08:00:38.942Z] a35cf1a2eb13: Waiting [2021-03-15T08:00:38.942Z] de9db76c5a1d: Verifying Checksum [2021-03-15T08:00:38.942Z] de9db76c5a1d: Download complete [2021-03-15T08:00:38.942Z] 0ef7d3d256c8: Verifying Checksum [2021-03-15T08:00:38.942Z] 0ef7d3d256c8: Download complete [2021-03-15T08:00:39.215Z] 93359f2a8cfa: Verifying Checksum [2021-03-15T08:00:39.215Z] 93359f2a8cfa: Download complete [2021-03-15T08:00:39.215Z] 188c0c94c7c5: Verifying Checksum [2021-03-15T08:00:39.215Z] 188c0c94c7c5: Download complete [2021-03-15T08:00:39.215Z] 7c6f9722023f: Verifying Checksum [2021-03-15T08:00:39.215Z] 7c6f9722023f: Download complete [2021-03-15T08:00:39.484Z] 188c0c94c7c5: Pull complete [2021-03-15T08:00:40.668Z] 0ef7d3d256c8: Pull complete [2021-03-15T08:00:40.668Z] de9db76c5a1d: Pull complete [2021-03-15T08:00:42.662Z] a35cf1a2eb13: Verifying Checksum [2021-03-15T08:00:42.662Z] a35cf1a2eb13: Download complete [2021-03-15T08:00:43.631Z] bca2f99d35d6: Verifying Checksum [2021-03-15T08:00:43.631Z] bca2f99d35d6: Download complete [2021-03-15T08:01:02.778Z] bca2f99d35d6: Pull complete [2021-03-15T08:01:02.778Z] 93359f2a8cfa: Pull complete [2021-03-15T08:01:02.778Z] 7c6f9722023f: Pull complete [2021-03-15T08:01:03.465Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-15T08:01:03.465Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-15T08:01:03.465Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-15T08:01:03.465Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.145s coverage: 25.5% of statements [2021-03-15T08:01:13.311Z] a35cf1a2eb13: Pull complete [2021-03-15T08:01:13.311Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-15T08:01:13.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-15T08:01:13.311Z] ---> a62c8e92a672 [2021-03-15T08:01:13.311Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T08:01:13.311Z] ---> Running in 3968d7a296b8 [2021-03-15T08:01:13.615Z] Removing intermediate container 3968d7a296b8 [2021-03-15T08:01:13.615Z] ---> e3c0ceb7d3e0 [2021-03-15T08:01:13.615Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T08:01:13.615Z] ---> Running in 38e4da659bca [2021-03-15T08:01:17.088Z] Removing intermediate container 38e4da659bca [2021-03-15T08:01:17.088Z] ---> 5d719727477c [2021-03-15T08:01:17.088Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-15T08:01:17.088Z] ---> Running in fa163e2b9725 [2021-03-15T08:01:18.595Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-15T08:01:19.183Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-15T08:01:19.769Z] OK: 166 MiB in 39 packages [2021-03-15T08:01:20.381Z] Removing intermediate container fa163e2b9725 [2021-03-15T08:01:20.381Z] ---> b6f9c2b96abf [2021-03-15T08:01:20.381Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-15T08:01:20.661Z] ---> Running in 8de626bc5aa9 [2021-03-15T08:01:21.316Z] Removing intermediate container 8de626bc5aa9 [2021-03-15T08:01:21.316Z] ---> a9e3e9de2616 [2021-03-15T08:01:21.316Z] Step 7/8 : COPY . . [2021-03-15T08:01:23.979Z] ---> d1d186779509 [2021-03-15T08:01:23.979Z] Step 8/8 : RUN go mod download [2021-03-15T08:01:23.979Z] ---> Running in 52871b55c5c7 [2021-03-15T08:01:30.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.139s coverage: 10.5% of statements [2021-03-15T08:01:30.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.159s coverage: 12.5% of statements [2021-03-15T08:01:30.251Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-15T08:01:30.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.140s coverage: 84.8% of statements [2021-03-15T08:01:30.251Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-15T08:01:30.251Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-15T08:01:30.251Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-15T08:01:30.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.288s coverage: 57.3% of statements [2021-03-15T08:01:30.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-15T08:01:30.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.145s coverage: 81.2% of statements [2021-03-15T08:01:30.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.160s coverage: 24.8% of statements [2021-03-15T08:01:30.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.813s coverage: 6.4% of statements [2021-03-15T08:01:30.252Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.131s coverage: 5.2% of statements [2021-03-15T08:01:30.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-15T08:01:30.252Z] GO111MODULE=on go vet ./... [2021-03-15T08:01:56.763Z] Removing intermediate container 52871b55c5c7 [2021-03-15T08:01:56.763Z] ---> 05e73cf73f95 [2021-03-15T08:01:56.763Z] Successfully built 05e73cf73f95 [2021-03-15T08:01:56.763Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:01:57.146Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-15T08:01:57.733Z] . [Pipeline] withDockerContainer [2021-03-15T08:01:58.125Z] prd-centos7-docker-4c-2g-29800 does not seem to be running inside a container [2021-03-15T08:01:58.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/126 -v /w/workspace/device-sdk-go/126:/w/workspace/device-sdk-go/126:rw,z -v /w/workspace/device-sdk-go/126@tmp:/w/workspace/device-sdk-go/126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-15T08:02:00.312Z] $ docker top 9648c9f971a50f65c01348511c3cadfb9e96d375c0df513f0393a87a521ef3ec -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T08:02:01.701Z] + go version [2021-03-15T08:02:01.702Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-15T08:02:01.731Z] $ docker stop --time=1 9648c9f971a50f65c01348511c3cadfb9e96d375c0df513f0393a87a521ef3ec [2021-03-15T08:02:02.661Z] gofmt -l . [2021-03-15T08:02:02.661Z] [ "`gofmt -l .`" = "" ] [2021-03-15T08:02:02.938Z] ./bin/test-attribution-txt.sh [2021-03-15T08:02:03.684Z] $ docker rm -f 9648c9f971a50f65c01348511c3cadfb9e96d375c0df513f0393a87a521ef3ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-03-15T08:02:04.375Z] ./bin/test-go-mod-tidy.sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] } [2021-03-15T08:02:04.677Z] $ docker stop --time=1 891af7655c7f1dd490304afcf36382cc4702194b744ff797c7937b24afd4219d [2021-03-15T08:02:04.745Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-15T08:02:04.745Z] . [2021-03-15T08:02:07.093Z] $ docker rm -f 891af7655c7f1dd490304afcf36382cc4702194b744ff797c7937b24afd4219d [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withDockerContainer [2021-03-15T08:02:08.109Z] + sudo chown -R jenkins:jenkins . [2021-03-15T08:02:08.260Z] prd-centos7-docker-4c-2g-29800 does not seem to be running inside a container [2021-03-15T08:02:08.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/126 -v /w/workspace/device-sdk-go/126:/w/workspace/device-sdk-go/126:rw,z -v /w/workspace/device-sdk-go/126@tmp:/w/workspace/device-sdk-go/126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-15T08:02:10.153Z] $ docker top 92115a926c1399b4fa7e2d8657c597ce7a90be797472b0259870125181bb0ba8 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh [2021-03-15T08:02:11.583Z] Stashed 1 file(s) [Pipeline] } [2021-03-15T08:02:11.645Z] + make test [2021-03-15T08:02:11.645Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T08:02:14.674Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-15T08:02:15.003Z] + ls -al . [2021-03-15T08:02:15.003Z] total 224 [2021-03-15T08:02:15.003Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 08:02 . [2021-03-15T08:02:15.003Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 07:58 .. [2021-03-15T08:02:15.003Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 07:58 .dockerignore [2021-03-15T08:02:15.003Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 07:58 .git [2021-03-15T08:02:15.003Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 07:58 .github [2021-03-15T08:02:15.003Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 15 07:58 .gitignore [2021-03-15T08:02:15.003Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 15 07:58 Dockerfile.build [2021-03-15T08:02:15.003Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 15 07:58 Jenkinsfile [2021-03-15T08:02:15.003Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 07:58 LICENSE [2021-03-15T08:02:15.003Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 15 07:58 Makefile [2021-03-15T08:02:15.003Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 15 07:58 README.md [2021-03-15T08:02:15.003Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 15 07:58 RELEASE-NOTES.txt [2021-03-15T08:02:15.003Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 07:56 VERSION [2021-03-15T08:02:15.003Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 07:58 bin [2021-03-15T08:02:15.003Z] -rw-r--r-- 1 jenkins jenkins 103403 Mar 15 08:01 coverage.out [2021-03-15T08:02:15.003Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 07:58 example [2021-03-15T08:02:15.003Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 15 08:02 go.mod [2021-03-15T08:02:15.003Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 15 08:02 go.sum [2021-03-15T08:02:15.003Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 07:58 internal [2021-03-15T08:02:15.003Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 07:58 openapi [2021-03-15T08:02:15.003Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 07:58 pkg [2021-03-15T08:02:15.003Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 07:58 snap [2021-03-15T08:02:15.003Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 07:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:02:15.342Z] + 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=a5ad5abbb998935bb195657aabe249c4682f0fa3 --label arch=arm64 --label version=2.0.0-dev.21 . [2021-03-15T08:02:15.620Z] Sending build context to Docker daemon 2.354MB [2021-03-15T08:02:15.891Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T08:02:15.891Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-15T08:02:15.891Z] ---> 008f5a580e24 [2021-03-15T08:02:15.891Z] Step 3/24 : ARG MAKE='make build' [2021-03-15T08:02:16.164Z] ---> Running in 0ca1dd3853bd [2021-03-15T08:02:16.434Z] Removing intermediate container 0ca1dd3853bd [2021-03-15T08:02:16.434Z] ---> a2ac4fda9223 [2021-03-15T08:02:16.434Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-15T08:02:16.710Z] ---> Running in e0b5add1a5f9 [2021-03-15T08:02:16.988Z] Removing intermediate container e0b5add1a5f9 [2021-03-15T08:02:16.988Z] ---> 662cc42c11e8 [2021-03-15T08:02:16.988Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T08:02:17.264Z] ---> Running in d808b95234af [2021-03-15T08:02:17.556Z] Removing intermediate container d808b95234af [2021-03-15T08:02:17.556Z] ---> e25dd61689b4 [2021-03-15T08:02:17.556Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T08:02:17.828Z] ---> Running in 612a3b5f9eca [2021-03-15T08:02:20.451Z] Removing intermediate container 612a3b5f9eca [2021-03-15T08:02:20.451Z] ---> 46a8dc15941c [2021-03-15T08:02:20.451Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-15T08:02:20.451Z] ---> Running in 1a46ae4c89bc [2021-03-15T08:02:21.432Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-15T08:02:22.022Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-15T08:02:22.627Z] OK: 142 MiB in 39 packages [2021-03-15T08:02:24.062Z] Removing intermediate container 1a46ae4c89bc [2021-03-15T08:02:24.062Z] ---> a63b24bca455 [2021-03-15T08:02:24.062Z] Step 8/24 : COPY . . [2021-03-15T08:02:25.043Z] ---> 0e253147ccde [2021-03-15T08:02:25.043Z] Step 9/24 : RUN ${MAKE} [2021-03-15T08:02:25.043Z] ---> Running in ea2dc8d04179 [2021-03-15T08:02:26.499Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.21" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-15T08:02:39.630Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-15T08:02:53.283Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-15T08:02:54.256Z] Removing intermediate container ea2dc8d04179 [2021-03-15T08:02:54.256Z] ---> b357b43aa44e [2021-03-15T08:02:54.256Z] Step 10/24 : FROM scratch [2021-03-15T08:02:54.256Z] ---> [2021-03-15T08:02:54.256Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T08:02:54.256Z] ---> Running in 427c66d7c910 [2021-03-15T08:02:54.850Z] Removing intermediate container 427c66d7c910 [2021-03-15T08:02:54.850Z] ---> deb0811d9861 [2021-03-15T08:02:54.850Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-15T08:02:54.850Z] ---> Running in da43a49a1cf3 [2021-03-15T08:02:55.441Z] Removing intermediate container da43a49a1cf3 [2021-03-15T08:02:55.441Z] ---> 09dc3ad70683 [2021-03-15T08:02:55.441Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-15T08:02:55.441Z] ---> Running in 63da2b182e9e [2021-03-15T08:02:56.033Z] Removing intermediate container 63da2b182e9e [2021-03-15T08:02:56.034Z] ---> d09d89c88c92 [2021-03-15T08:02:56.034Z] Step 14/24 : WORKDIR / [2021-03-15T08:02:56.034Z] ---> Running in 64f99218ff32 [2021-03-15T08:02:56.628Z] Removing intermediate container 64f99218ff32 [2021-03-15T08:02:56.628Z] ---> 3b7cdb9b01bd [2021-03-15T08:02:56.628Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-15T08:02:58.059Z] ---> 2a712dd728bf [2021-03-15T08:02:58.059Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-15T08:02:58.653Z] ---> 56758ee343d1 [2021-03-15T08:02:58.653Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-15T08:02:59.245Z] ---> 9972abfb7c0c [2021-03-15T08:02:59.245Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-15T08:02:59.839Z] ---> d91dfd4b4da8 [2021-03-15T08:02:59.839Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-15T08:03:00.815Z] ---> aa4ac9c4013f [2021-03-15T08:03:00.815Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-15T08:03:00.815Z] ---> Running in 7cb54867a2ea [2021-03-15T08:03:01.096Z] Removing intermediate container 7cb54867a2ea [2021-03-15T08:03:01.096Z] ---> 7ccefe942df1 [2021-03-15T08:03:01.096Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-15T08:03:01.368Z] ---> Running in 191dabe8953a [2021-03-15T08:03:01.961Z] Removing intermediate container 191dabe8953a [2021-03-15T08:03:01.961Z] ---> d2b8e794a248 [2021-03-15T08:03:01.961Z] Step 22/24 : LABEL arch=arm64 [2021-03-15T08:03:01.961Z] ---> Running in 3f40bed3db5c [2021-03-15T08:03:02.553Z] Removing intermediate container 3f40bed3db5c [2021-03-15T08:03:02.553Z] ---> 4262a315c466 [2021-03-15T08:03:02.553Z] Step 23/24 : LABEL git_sha=a5ad5abbb998935bb195657aabe249c4682f0fa3 [2021-03-15T08:03:02.826Z] ---> Running in 2c947ad3d300 [2021-03-15T08:03:03.098Z] Removing intermediate container 2c947ad3d300 [2021-03-15T08:03:03.098Z] ---> 78bc77a3f752 [2021-03-15T08:03:03.098Z] Step 24/24 : LABEL version=2.0.0-dev.21 [2021-03-15T08:03:03.373Z] ---> Running in 2d5935070f3d [2021-03-15T08:03:03.643Z] Removing intermediate container 2d5935070f3d [2021-03-15T08:03:03.643Z] ---> 5325e41a03e5 [2021-03-15T08:03:03.643Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-15T08:03:03.643Z] Successfully built 5325e41a03e5 [2021-03-15T08:03:03.915Z] 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-15T08:03:05.089Z] ---> job-cost.sh [2021-03-15T08:03:05.089Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Isb3 [2021-03-15T08:03:20.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-15T08:03:20.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-15T08:03:20.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-15T08:03:26.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.085s coverage: 25.5% of statements [2021-03-15T08:03:44.017Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-15T08:03:53.653Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.083s coverage: 10.5% of statements [2021-03-15T08:03:53.653Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 12.5% of statements [2021-03-15T08:03:53.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-15T08:03:53.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.186s coverage: 84.8% of statements [2021-03-15T08:03:53.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-15T08:03:53.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-15T08:03:53.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-15T08:03:53.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.259s coverage: 57.3% of statements [2021-03-15T08:03:53.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-15T08:03:53.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.204s coverage: 81.2% of statements [2021-03-15T08:03:53.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.157s coverage: 24.8% of statements [2021-03-15T08:03:53.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.900s coverage: 6.4% of statements [2021-03-15T08:03:53.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.210s coverage: 5.2% of statements [2021-03-15T08:03:53.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-15T08:03:53.654Z] GO111MODULE=on go vet ./... [2021-03-15T08:04:26.853Z] gofmt -l . [2021-03-15T08:04:26.853Z] [ "`gofmt -l .`" = "" ] [2021-03-15T08:04:26.853Z] ./bin/test-attribution-txt.sh [2021-03-15T08:04:27.901Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-15T08:04:28.545Z] $ docker stop --time=1 92115a926c1399b4fa7e2d8657c597ce7a90be797472b0259870125181bb0ba8 [2021-03-15T08:04:30.695Z] $ docker rm -f 92115a926c1399b4fa7e2d8657c597ce7a90be797472b0259870125181bb0ba8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T08:04:31.615Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-15T08:04:31.693Z] Warning: overwriting stash ‘coverage-report’ [2021-03-15T08:04:32.542Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-15T08:04:33.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-15T08:04:33.794Z] + ls -al . [2021-03-15T08:04:33.794Z] total 188 [2021-03-15T08:04:33.794Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 15 08:04 . [2021-03-15T08:04:33.794Z] drwxrwxr-x. 4 jenkins jenkins 32 Mar 15 08:00 .. [2021-03-15T08:04:33.794Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 15 08:00 bin [2021-03-15T08:04:33.794Z] -rw-r--r--. 1 jenkins jenkins 103403 Mar 15 08:03 coverage.out [2021-03-15T08:04:33.794Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 15 08:00 Dockerfile.build [2021-03-15T08:04:33.794Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 15 08:00 .dockerignore [2021-03-15T08:04:33.794Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 15 08:00 example [2021-03-15T08:04:33.794Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 15 08:00 .git [2021-03-15T08:04:33.794Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 15 08:00 .github [2021-03-15T08:04:33.794Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 15 08:00 .gitignore [2021-03-15T08:04:33.794Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 15 08:04 go.mod [2021-03-15T08:04:33.794Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 15 08:04 go.sum [2021-03-15T08:04:33.794Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 15 08:00 internal [2021-03-15T08:04:33.794Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 15 08:00 Jenkinsfile [2021-03-15T08:04:33.794Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 15 08:00 LICENSE [2021-03-15T08:04:33.794Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 15 08:00 Makefile [2021-03-15T08:04:33.794Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 15 08:00 openapi [2021-03-15T08:04:33.794Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 15 08:00 pkg [2021-03-15T08:04:33.794Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 15 08:00 README.md [2021-03-15T08:04:33.794Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 15 08:00 RELEASE-NOTES.txt [2021-03-15T08:04:33.794Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 15 08:00 snap [2021-03-15T08:04:33.794Z] -rw-rw-r--. 1 jenkins jenkins 12 Mar 15 07:56 VERSION [2021-03-15T08:04:33.794Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 15 08:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:04:34.204Z] + 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=a5ad5abbb998935bb195657aabe249c4682f0fa3 --label arch=amd64 --label version=2.0.0-dev.21 . [2021-03-15T08:04:34.896Z] Sending build context to Docker daemon 2.355MB [2021-03-15T08:04:34.896Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T08:04:34.896Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-15T08:04:34.896Z] ---> 05e73cf73f95 [2021-03-15T08:04:34.896Z] Step 3/24 : ARG MAKE='make build' [2021-03-15T08:04:35.198Z] ---> Running in 42ecfe1a4430 [2021-03-15T08:04:35.817Z] Removing intermediate container 42ecfe1a4430 [2021-03-15T08:04:35.817Z] ---> 737a41cb963a [2021-03-15T08:04:35.817Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-15T08:04:35.817Z] ---> Running in 49d0ca8da0e9 [2021-03-15T08:04:36.231Z] Removing intermediate container 49d0ca8da0e9 [2021-03-15T08:04:36.231Z] ---> 412b80aed1bc [2021-03-15T08:04:36.231Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T08:04:36.548Z] ---> Running in 847d13ff57e8 [2021-03-15T08:04:36.837Z] Removing intermediate container 847d13ff57e8 [2021-03-15T08:04:36.837Z] ---> 4d98bb12cf23 [2021-03-15T08:04:36.837Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T08:04:37.114Z] ---> Running in da75069b13ca [2021-03-15T08:04:39.937Z] Removing intermediate container da75069b13ca [2021-03-15T08:04:39.937Z] ---> 612c1708d1a4 [2021-03-15T08:04:39.937Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-15T08:04:39.937Z] ---> Running in 5ec001fdd7df [2021-03-15T08:04:41.053Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-15T08:04:42.034Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-15T08:04:42.336Z] OK: 166 MiB in 39 packages [2021-03-15T08:04:43.846Z] Removing intermediate container 5ec001fdd7df [2021-03-15T08:04:43.846Z] ---> c014dea6ccaf [2021-03-15T08:04:43.846Z] Step 8/24 : COPY . . [2021-03-15T08:04:45.454Z] ---> dd147b79e87a [2021-03-15T08:04:45.454Z] Step 9/24 : RUN ${MAKE} [2021-03-15T08:04:45.454Z] ---> Running in 119042f25c25 [2021-03-15T08:04:46.881Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.21" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-15T08:05:14.259Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-15T08:05:17.931Z] Removing intermediate container 119042f25c25 [2021-03-15T08:05:17.931Z] ---> b8c8d7939077 [2021-03-15T08:05:17.931Z] Step 10/24 : FROM scratch [2021-03-15T08:05:17.931Z] ---> [2021-03-15T08:05:17.931Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T08:05:17.931Z] ---> Running in 9bf9a0e6ec02 [2021-03-15T08:05:18.576Z] Removing intermediate container 9bf9a0e6ec02 [2021-03-15T08:05:18.576Z] ---> fa842459c0e4 [2021-03-15T08:05:18.576Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-15T08:05:18.576Z] ---> Running in 723d9a192ee3 [2021-03-15T08:05:19.576Z] Removing intermediate container 723d9a192ee3 [2021-03-15T08:05:19.576Z] ---> fd0dbb457252 [2021-03-15T08:05:19.576Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-15T08:05:19.576Z] ---> Running in 48cda021b0eb [2021-03-15T08:05:19.862Z] Removing intermediate container 48cda021b0eb [2021-03-15T08:05:19.862Z] ---> 545deaf2b78a [2021-03-15T08:05:19.862Z] Step 14/24 : WORKDIR / [2021-03-15T08:05:19.862Z] ---> Running in 5d90ae2bd6dc [2021-03-15T08:05:20.506Z] Removing intermediate container 5d90ae2bd6dc [2021-03-15T08:05:20.506Z] ---> 6d31dfa00133 [2021-03-15T08:05:20.506Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-15T08:05:20.742Z] lf-activate-venv(): INFO: Adding /tmp/venv-Isb3/bin to PATH [2021-03-15T08:05:20.742Z] INFO: No Stack... [2021-03-15T08:05:20.742Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-15T08:05:20.742Z] INFO: Archiving Costs [Pipeline] sh [2021-03-15T08:05:21.081Z] + cat /w/workspace/device-sdk-go/126/archives/cost.csv [2021-03-15T08:05:21.082Z] + cut -d, -f6 [Pipeline] lock [2021-03-15T08:05:21.190Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-126-stack-cost] [2021-03-15T08:05:21.199Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-126-stack-cost] did not exist. Created. [2021-03-15T08:05:21.199Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-126-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-15T08:05:21.659Z] ---> 679978f17b31 [2021-03-15T08:05:21.659Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-15T08:05:21.660Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-15T08:05:21.844Z] Stashed 1 file(s) [Pipeline] } [2021-03-15T08:05:21.859Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-126-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-15T08:05:22.728Z] ---> 680703459ab4 [2021-03-15T08:05:22.728Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-15T08:05:23.905Z] ---> acbc879d1ee7 [2021-03-15T08:05:23.905Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-15T08:05:25.004Z] ---> 2192ad036b91 [2021-03-15T08:05:25.004Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-15T08:05:25.781Z] ---> 468df256ba41 [2021-03-15T08:05:25.781Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-15T08:05:25.781Z] ---> Running in 5e5a3f47ace8 [2021-03-15T08:05:26.751Z] Removing intermediate container 5e5a3f47ace8 [2021-03-15T08:05:26.751Z] ---> 32ca16009829 [2021-03-15T08:05:26.751Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-15T08:05:26.751Z] ---> Running in 549dba052c56 [2021-03-15T08:05:27.395Z] Removing intermediate container 549dba052c56 [2021-03-15T08:05:27.395Z] ---> 4a6e2bed9fe7 [2021-03-15T08:05:27.395Z] Step 22/24 : LABEL arch=amd64 [2021-03-15T08:05:27.669Z] ---> Running in 9015de79c813 [2021-03-15T08:05:27.933Z] Removing intermediate container 9015de79c813 [2021-03-15T08:05:27.933Z] ---> cc3b8a3c2281 [2021-03-15T08:05:27.933Z] Step 23/24 : LABEL git_sha=a5ad5abbb998935bb195657aabe249c4682f0fa3 [2021-03-15T08:05:27.933Z] ---> Running in ade9bfa6ac02 [2021-03-15T08:05:28.202Z] Removing intermediate container ade9bfa6ac02 [2021-03-15T08:05:28.202Z] ---> 0b6d4f5405a0 [2021-03-15T08:05:28.202Z] Step 24/24 : LABEL version=2.0.0-dev.21 [2021-03-15T08:05:28.476Z] ---> Running in e28c6ed4586b [2021-03-15T08:05:29.085Z] Removing intermediate container e28c6ed4586b [2021-03-15T08:05:29.085Z] ---> c4d88122e308 [2021-03-15T08:05:29.085Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-15T08:05:29.085Z] Successfully built c4d88122e308 [2021-03-15T08:05:29.085Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:05:30.034Z] ---> job-cost.sh [2021-03-15T08:05:30.034Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oeml [2021-03-15T08:05:57.289Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-15T08:07:08.166Z] lf-activate-venv(): INFO: Adding /tmp/venv-oeml/bin to PATH [2021-03-15T08:07:08.166Z] INFO: No Stack... [2021-03-15T08:07:08.166Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-15T08:07:08.166Z] INFO: Archiving Costs [Pipeline] sh [2021-03-15T08:07:08.590Z] + cat /w/workspace/device-sdk-go/126/archives/cost.csv [2021-03-15T08:07:08.590Z] + cut -d, -f6 [Pipeline] lock [2021-03-15T08:07:08.701Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-126-stack-cost] [2021-03-15T08:07:08.710Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-126-stack-cost] did not exist. Created. [2021-03-15T08:07:08.710Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-126-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-15T08:07:09.220Z] /w/workspace/device-sdk-go/126@tmp/durable-ead5b59f/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-03-15T08:07:09.573Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-15T08:07:09.609Z] Warning: overwriting stash ‘stack-cost’ [2021-03-15T08:07:09.825Z] Stashed 1 file(s) [Pipeline] } [2021-03-15T08:07:09.847Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-126-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-15T08:07:11.594Z] provisioning config files... [2021-03-15T08:07:11.613Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6411540085816471727tmp [Pipeline] { [Pipeline] sh [2021-03-15T08:07:12.029Z] + set +x [2021-03-15T08:07:12.029Z] + curl -s https://codecov.io/bash [2021-03-15T08:07:12.029Z] + bash -s -- [2021-03-15T08:07:12.304Z] [2021-03-15T08:07:12.304Z] _____ _ [2021-03-15T08:07:12.304Z] / ____| | | [2021-03-15T08:07:12.304Z] | | ___ __| | ___ ___ _____ __ [2021-03-15T08:07:12.304Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-15T08:07:12.304Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-15T08:07:12.304Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-15T08:07:12.304Z] Bash-20210309-2b87ace [2021-03-15T08:07:12.304Z] [2021-03-15T08:07:12.304Z] [2021-03-15T08:07:12.304Z] ==> git version 2.24.3 found [2021-03-15T08:07:12.304Z] ==> 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-15T08:07:12.304Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-15T08:07:12.304Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-15T08:07:12.304Z] ==> Jenkins CI detected. [2021-03-15T08:07:12.304Z] project root: . [2021-03-15T08:07:12.304Z] --> token set from env [2021-03-15T08:07:12.304Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-15T08:07:12.304Z] ==> Running gcov in . (disable via -X gcov) [2021-03-15T08:07:12.304Z] ==> Python coveragepy not found [2021-03-15T08:07:12.304Z] ==> Searching for coverage reports in: [2021-03-15T08:07:12.304Z] + . [2021-03-15T08:07:12.574Z] -> Found 1 reports [2021-03-15T08:07:12.574Z] ==> Detecting git/mercurial file structure [2021-03-15T08:07:12.574Z] ==> Reading reports [2021-03-15T08:07:12.574Z] + ./coverage.out bytes=103403 [2021-03-15T08:07:12.574Z] ==> Appending adjustments [2021-03-15T08:07:12.574Z] https://docs.codecov.io/docs/fixing-reports [2021-03-15T08:07:13.172Z] + Found adjustments [2021-03-15T08:07:13.172Z] ==> Gzipping contents [2021-03-15T08:07:13.172Z] 16K /tmp/codecov.brXD5w.gz [2021-03-15T08:07:13.172Z] ==> Uploading reports [2021-03-15T08:07:13.172Z] url: https://codecov.io [2021-03-15T08:07:13.172Z] query: branch=master&commit=a5ad5abbb998935bb195657aabe249c4682f0fa3&build=126&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F126%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-15T08:07:13.172Z] -> Pinging Codecov [2021-03-15T08:07:13.172Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=a5ad5abbb998935bb195657aabe249c4682f0fa3&build=126&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F126%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-15T08:07:13.783Z] -> Uploading to [2021-03-15T08:07:13.783Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-15/7E55EF52A471D76F132DFD9A03CDDE97/a5ad5abbb998935bb195657aabe249c4682f0fa3/abe19f57-e9ed-4e7a-a0b8-3d8b8cd913b3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210315T080713Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66d4cb46a1e660a56afc6c19d324427497f0fac6a4f6b4b9dbbe4e7f4b5da5aa [2021-03-15T08:07:13.783Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-15T08:07:13.783Z] Dload Upload Total Spent Left Speed [2021-03-15T08:07:14.369Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13896 0 0 100 13896 0 26683 --:--:-- --:--:-- --:--:-- 26723 [2021-03-15T08:07:14.369Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a5ad5abbb998935bb195657aabe249c4682f0fa3 [Pipeline] } [2021-03-15T08:07:14.386Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-15T08:07:15.327Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-15T08:07:15.385Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:07:15.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-15T08:07:16.082Z] [2021-03-15T08:07:16.083Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:07:16.512Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-15T08:07:16.512Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-15T08:07:16.512Z] 188c0c94c7c5: Pulling fs layer [2021-03-15T08:07:16.512Z] 0ef7d3d256c8: Pulling fs layer [2021-03-15T08:07:16.512Z] de9db76c5a1d: Pulling fs layer [2021-03-15T08:07:16.512Z] 0eba1c9be4d2: Pulling fs layer [2021-03-15T08:07:16.512Z] 0d57e429df01: Pulling fs layer [2021-03-15T08:07:16.512Z] 4e4be7b47b0d: Pulling fs layer [2021-03-15T08:07:16.512Z] e1f770b5df2f: Pulling fs layer [2021-03-15T08:07:16.512Z] 85a0685a4137: Pulling fs layer [2021-03-15T08:07:16.512Z] 4e4be7b47b0d: Waiting [2021-03-15T08:07:16.512Z] e1f770b5df2f: Waiting [2021-03-15T08:07:16.512Z] 85a0685a4137: Waiting [2021-03-15T08:07:16.512Z] 0eba1c9be4d2: Waiting [2021-03-15T08:07:16.512Z] 0d57e429df01: Waiting [2021-03-15T08:07:16.512Z] de9db76c5a1d: Verifying Checksum [2021-03-15T08:07:16.512Z] de9db76c5a1d: Download complete [2021-03-15T08:07:16.781Z] 0ef7d3d256c8: Verifying Checksum [2021-03-15T08:07:16.781Z] 0ef7d3d256c8: Download complete [2021-03-15T08:07:16.781Z] 0d57e429df01: Verifying Checksum [2021-03-15T08:07:16.781Z] 0d57e429df01: Download complete [2021-03-15T08:07:17.394Z] 4e4be7b47b0d: Verifying Checksum [2021-03-15T08:07:17.394Z] 4e4be7b47b0d: Download complete [2021-03-15T08:07:17.394Z] 188c0c94c7c5: Verifying Checksum [2021-03-15T08:07:17.394Z] 188c0c94c7c5: Download complete [2021-03-15T08:07:18.381Z] 188c0c94c7c5: Pull complete [2021-03-15T08:07:18.990Z] 0ef7d3d256c8: Pull complete [2021-03-15T08:07:19.286Z] e1f770b5df2f: Verifying Checksum [2021-03-15T08:07:19.286Z] e1f770b5df2f: Download complete [2021-03-15T08:07:19.286Z] de9db76c5a1d: Pull complete [2021-03-15T08:07:23.638Z] 0eba1c9be4d2: Verifying Checksum [2021-03-15T08:07:23.638Z] 0eba1c9be4d2: Download complete [2021-03-15T08:07:25.213Z] 85a0685a4137: Verifying Checksum [2021-03-15T08:07:25.213Z] 85a0685a4137: Download complete [2021-03-15T08:07:35.472Z] 0eba1c9be4d2: Pull complete [2021-03-15T08:07:36.059Z] 0d57e429df01: Pull complete [2021-03-15T08:07:36.352Z] 4e4be7b47b0d: Pull complete [2021-03-15T08:07:39.130Z] e1f770b5df2f: Pull complete [2021-03-15T08:07:57.624Z] 85a0685a4137: Pull complete [2021-03-15T08:07:57.624Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-15T08:07:57.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-15T08:07:57.624Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-15T08:07:58.228Z] prd-centos7-docker-4c-2g-29798 does not seem to be running inside a container [2021-03-15T08:07:58.305Z] $ 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-15T08:08:00.551Z] $ docker top 1642eae65a7fc137285672d749c751cf522210009a1a290690f708ecb55ba27c -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-15T08:08:00.969Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-15T08:08:01.281Z] + set -o pipefail [2021-03-15T08:08:01.281Z] + snyk monitor '--org=edgex-jenkins' [2021-03-15T08:08:21.298Z] [2021-03-15T08:08:21.298Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-03-15T08:08:21.298Z] [2021-03-15T08:08:21.298Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/3ef1fbfc-e0d2-477b-a7d4-e58d582416d2 [2021-03-15T08:08:21.298Z] [2021-03-15T08:08:21.298Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-15T08:08:21.298Z] [2021-03-15T08:08:21.298Z] [Pipeline] } [2021-03-15T08:08:21.322Z] $ docker stop --time=1 1642eae65a7fc137285672d749c751cf522210009a1a290690f708ecb55ba27c [2021-03-15T08:08:24.314Z] $ docker rm -f 1642eae65a7fc137285672d749c751cf522210009a1a290690f708ecb55ba27c [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-15T08:08:26.492Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-15T08:08:26.573Z] provisioning config files... [2021-03-15T08:08:26.599Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4739266768458310659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:08:27.042Z] --> edgex-publish-swagger.sh [2021-03-15T08:08:27.042Z] === Publish openapi/v1 API === [2021-03-15T08:08:27.042Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-03-15T08:08:27.042Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-03-15T08:08:27.042Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-15T08:08:27.042Z] Dload Upload Total Spent Left Speed [2021-03-15T08:08:28.359Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 20594 --:--:-- --:--:-- --:--:-- 20606 [2021-03-15T08:08:28.359Z] [2021-03-15T08:08:28.359Z] [2021-03-15T08:08:28.359Z] === Publish openapi/v2 API === [2021-03-15T08:08:28.359Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-15T08:08:28.359Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-03-15T08:08:28.359Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-15T08:08:28.359Z] Dload Upload Total Spent Left Speed [2021-03-15T08:08:29.303Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 52912 --:--:-- --:--:-- --:--:-- 52911 [2021-03-15T08:08:29.303Z] [2021-03-15T08:08:29.303Z] [Pipeline] } [2021-03-15T08:08:29.549Z] 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-15T08:08:30.973Z] + git log --format=format:%s -1 a5ad5abbb998935bb195657aabe249c4682f0fa3 [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:08:31.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T08:08:31.420Z] . [Pipeline] withDockerContainer [2021-03-15T08:08:31.580Z] prd-centos7-docker-4c-2g-29798 does not seem to be running inside a container [2021-03-15T08:08:31.655Z] $ 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-15T08:08:33.587Z] $ docker top 46ca8d899b70720b5398bc4344b8ec01f43e87eac75819a4c90f14110cf9a2ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-15T08:08:34.404Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T08:08:34.404Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T08:08:35.523Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T08:08:35.531Z] $ docker exec 46ca8d899b70720b5398bc4344b8ec01f43e87eac75819a4c90f14110cf9a2ea ssh-agent [2021-03-15T08:08:36.942Z] SSH_AUTH_SOCK=/tmp/ssh-RXOUa3QxstNd/agent.12 [2021-03-15T08:08:36.942Z] SSH_AGENT_PID=17 [2021-03-15T08:08:36.953Z] Running ssh-add (command line suppressed) [2021-03-15T08:08:37.322Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7083255654107216792.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7083255654107216792.key) [2021-03-15T08:08:37.468Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T08:08:38.178Z] + git semver tag [2021-03-15T08:08:38.456Z] # -> Open(): unable to determine branch for HEAD [2021-03-15T08:08:38.456Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-15T08:08:38.456Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-15T08:08:38.456Z] # $SEMVER_REMOTE_NAME = origin [2021-03-15T08:08:38.456Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-15T08:08:38.456Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-15T08:08:38.456Z] # $SEMVER_BRANCH = master [2021-03-15T08:08:38.456Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-15T08:08:38.456Z] # a5ad5abbb998935bb195657aabe249c4682f0fa3 HEAD [2021-03-15T08:08:38.456Z] # -> Force: false [2021-03-15T08:08:38.456Z] # e1b3f4667f3da9e1cdae349be2cefe44fd643c05 refs/tags/v2.0.0-dev.21 [Pipeline] } [2021-03-15T08:08:38.487Z] $ docker exec --env ******** --env ******** 46ca8d899b70720b5398bc4344b8ec01f43e87eac75819a4c90f14110cf9a2ea ssh-agent -k [2021-03-15T08:08:39.374Z] unset SSH_AUTH_SOCK; [2021-03-15T08:08:39.374Z] unset SSH_AGENT_PID; [2021-03-15T08:08:39.374Z] echo Agent pid 17 killed; [2021-03-15T08:08:39.762Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-15T08:08:40.826Z] + git semver [Pipeline] } [2021-03-15T08:08:40.849Z] $ docker stop --time=1 46ca8d899b70720b5398bc4344b8ec01f43e87eac75819a4c90f14110cf9a2ea [2021-03-15T08:08:42.552Z] $ docker rm -f 46ca8d899b70720b5398bc4344b8ec01f43e87eac75819a4c90f14110cf9a2ea [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:08:43.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-15T08:08:43.694Z] [2021-03-15T08:08:43.694Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:08:44.151Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-15T08:08:44.152Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-15T08:08:44.152Z] ab5ef0e58194: Pulling fs layer [2021-03-15T08:08:44.152Z] 9712f1f96733: Pulling fs layer [2021-03-15T08:08:44.152Z] 63f879dbbcfc: Pulling fs layer [2021-03-15T08:08:44.152Z] 0d9ebad4ef96: Pulling fs layer [2021-03-15T08:08:44.152Z] e9a5061849ea: Pulling fs layer [2021-03-15T08:08:44.152Z] d747dcd14b5f: Pulling fs layer [2021-03-15T08:08:44.152Z] 2de7ff778b66: Pulling fs layer [2021-03-15T08:08:44.152Z] 0d9ebad4ef96: Waiting [2021-03-15T08:08:44.152Z] e9a5061849ea: Waiting [2021-03-15T08:08:44.152Z] d747dcd14b5f: Waiting [2021-03-15T08:08:44.152Z] 2de7ff778b66: Waiting [2021-03-15T08:08:44.152Z] 9712f1f96733: Verifying Checksum [2021-03-15T08:08:44.152Z] 9712f1f96733: Download complete [2021-03-15T08:08:47.532Z] 63f879dbbcfc: Verifying Checksum [2021-03-15T08:08:47.532Z] 63f879dbbcfc: Download complete [2021-03-15T08:08:47.532Z] e9a5061849ea: Verifying Checksum [2021-03-15T08:08:47.532Z] e9a5061849ea: Download complete [2021-03-15T08:08:47.532Z] d747dcd14b5f: Verifying Checksum [2021-03-15T08:08:47.532Z] d747dcd14b5f: Download complete [2021-03-15T08:08:48.141Z] 2de7ff778b66: Verifying Checksum [2021-03-15T08:08:48.141Z] 2de7ff778b66: Download complete [2021-03-15T08:08:48.747Z] 0d9ebad4ef96: Verifying Checksum [2021-03-15T08:08:48.747Z] 0d9ebad4ef96: Download complete [2021-03-15T08:08:49.076Z] ab5ef0e58194: Verifying Checksum [2021-03-15T08:08:49.076Z] ab5ef0e58194: Download complete [2021-03-15T08:09:01.715Z] ab5ef0e58194: Pull complete [2021-03-15T08:09:02.009Z] 9712f1f96733: Pull complete [2021-03-15T08:09:07.783Z] 63f879dbbcfc: Pull complete [2021-03-15T08:09:26.560Z] 0d9ebad4ef96: Pull complete [2021-03-15T08:09:28.245Z] e9a5061849ea: Pull complete [2021-03-15T08:09:28.864Z] d747dcd14b5f: Pull complete [2021-03-15T08:09:34.444Z] 2de7ff778b66: Pull complete [2021-03-15T08:09:34.445Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-15T08:09:34.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-15T08:09:34.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-15T08:09:34.743Z] prd-centos7-docker-4c-2g-29798 does not seem to be running inside a container [2021-03-15T08:09:34.818Z] $ 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-15T08:09:39.013Z] $ docker top 3c787173d5eeebd79b12bac7a57b7232c8e3db7d0ee8808601dbf0427e11d222 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-15T08:09:39.447Z] provisioning config files... [2021-03-15T08:09:39.472Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config710428754244045136tmp [2021-03-15T08:09:39.510Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4250810884809704226tmp [2021-03-15T08:09:39.534Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3221552206639593203tmp [Pipeline] { [Pipeline] echo [2021-03-15T08:09:39.594Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:09:40.289Z] ---> sigul-configuration.sh [2021-03-15T08:09:40.583Z] gpg: directory `/root/.gnupg' created [2021-03-15T08:09:40.583Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-15T08:09:40.583Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-15T08:09:40.583Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-15T08:09:40.583Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-15T08:09:40.583Z] gpg: CAST5 encrypted data [2021-03-15T08:09:40.863Z] gpg: encrypted with 1 passphrase [2021-03-15T08:09:40.863Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-15T08:09:41.967Z] + mkdir /home/jenkins [2021-03-15T08:09:41.967Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-15T08:09:42.304Z] + 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-15T08:09:42.334Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:09:43.158Z] ---> sigul-install.sh [2021-03-15T08:09:53.388Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-15T08:09:54.136Z] + git tag --list [2021-03-15T08:09:54.136Z] 0.7.1 [2021-03-15T08:09:54.136Z] delhi-tag [2021-03-15T08:09:54.136Z] v1.0.0 [2021-03-15T08:09:54.136Z] v1.1.0 [2021-03-15T08:09:54.136Z] v1.1.1 [2021-03-15T08:09:54.136Z] v1.1.2 [2021-03-15T08:09:54.136Z] v1.2.0 [2021-03-15T08:09:54.136Z] v1.2.1 [2021-03-15T08:09:54.136Z] v1.2.2 [2021-03-15T08:09:54.136Z] v1.2.3 [2021-03-15T08:09:54.136Z] v1.3.0 [2021-03-15T08:09:54.136Z] v1.4.0 [2021-03-15T08:09:54.136Z] v2.0.0-dev.1 [2021-03-15T08:09:54.136Z] v2.0.0-dev.10 [2021-03-15T08:09:54.136Z] v2.0.0-dev.11 [2021-03-15T08:09:54.136Z] v2.0.0-dev.12 [2021-03-15T08:09:54.136Z] v2.0.0-dev.13 [2021-03-15T08:09:54.136Z] v2.0.0-dev.14 [2021-03-15T08:09:54.136Z] v2.0.0-dev.15 [2021-03-15T08:09:54.136Z] v2.0.0-dev.16 [2021-03-15T08:09:54.136Z] v2.0.0-dev.17 [2021-03-15T08:09:54.136Z] v2.0.0-dev.18 [2021-03-15T08:09:54.136Z] v2.0.0-dev.19 [2021-03-15T08:09:54.136Z] v2.0.0-dev.2 [2021-03-15T08:09:54.136Z] v2.0.0-dev.20 [2021-03-15T08:09:54.136Z] v2.0.0-dev.21 [2021-03-15T08:09:54.136Z] v2.0.0-dev.3 [2021-03-15T08:09:54.136Z] v2.0.0-dev.4 [2021-03-15T08:09:54.136Z] v2.0.0-dev.5 [2021-03-15T08:09:54.136Z] v2.0.0-dev.6 [2021-03-15T08:09:54.136Z] v2.0.0-dev.7 [2021-03-15T08:09:54.136Z] v2.0.0-dev.8 [2021-03-15T08:09:54.136Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-15T08:09:54.503Z] + lftools sign git-tag v2.0.0-dev.21 [2021-03-15T08:09:57.214Z] Signing Git tag with Sigul... [2021-03-15T08:09:57.214Z] Signing v2.0.0-dev.21 [Pipeline] echo [2021-03-15T08:09:59.002Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:09:59.738Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-15T08:09:59.755Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-15T08:09:59.905Z] $ docker stop --time=1 3c787173d5eeebd79b12bac7a57b7232c8e3db7d0ee8808601dbf0427e11d222 [2021-03-15T08:10:02.954Z] $ docker rm -f 3c787173d5eeebd79b12bac7a57b7232c8e3db7d0ee8808601dbf0427e11d222 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:10:04.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T08:10:04.784Z] . [Pipeline] withDockerContainer [2021-03-15T08:10:05.506Z] prd-centos7-docker-4c-2g-29798 does not seem to be running inside a container [2021-03-15T08:10:05.902Z] $ 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-15T08:10:06.950Z] $ docker top 4643784cf7bfbeb0b148e3f5cd308d1250ad898c8065b0863a5e8b0cdcfb7eaa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-15T08:10:07.605Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T08:10:07.605Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T08:10:08.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T08:10:08.187Z] $ docker exec 4643784cf7bfbeb0b148e3f5cd308d1250ad898c8065b0863a5e8b0cdcfb7eaa ssh-agent [2021-03-15T08:10:09.032Z] SSH_AUTH_SOCK=/tmp/ssh-isiqi0TZTq0g/agent.11 [2021-03-15T08:10:09.032Z] SSH_AGENT_PID=16 [2021-03-15T08:10:09.042Z] Running ssh-add (command line suppressed) [2021-03-15T08:10:09.555Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7998220649515200155.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7998220649515200155.key) [2021-03-15T08:10:10.079Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T08:10:10.863Z] + git semver bump pre [2021-03-15T08:10:10.863Z] # -> Open(): unable to determine branch for HEAD [2021-03-15T08:10:10.863Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-15T08:10:10.863Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-15T08:10:10.863Z] # $SEMVER_REMOTE_NAME = origin [2021-03-15T08:10:10.863Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-15T08:10:10.863Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-15T08:10:10.863Z] # $SEMVER_BRANCH = master [2021-03-15T08:10:10.863Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-15T08:10:11.130Z] 2.0.0-dev.22 [Pipeline] } [2021-03-15T08:10:11.153Z] $ docker exec --env ******** --env ******** 4643784cf7bfbeb0b148e3f5cd308d1250ad898c8065b0863a5e8b0cdcfb7eaa ssh-agent -k [2021-03-15T08:10:12.209Z] unset SSH_AUTH_SOCK; [2021-03-15T08:10:12.209Z] unset SSH_AGENT_PID; [2021-03-15T08:10:12.209Z] echo Agent pid 16 killed; [2021-03-15T08:10:12.474Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-15T08:10:13.842Z] + git semver [Pipeline] } [2021-03-15T08:10:13.928Z] $ docker stop --time=1 4643784cf7bfbeb0b148e3f5cd308d1250ad898c8065b0863a5e8b0cdcfb7eaa [2021-03-15T08:10:16.338Z] $ docker rm -f 4643784cf7bfbeb0b148e3f5cd308d1250ad898c8065b0863a5e8b0cdcfb7eaa [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:10:16.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T08:10:17.255Z] . [Pipeline] withDockerContainer [2021-03-15T08:10:17.447Z] prd-centos7-docker-4c-2g-29798 does not seem to be running inside a container [2021-03-15T08:10:17.559Z] $ 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-15T08:10:20.162Z] $ docker top 5db4743d01157f03344785ec092ab7ae4054e2bd2c9326a16bf98c2aaaef5bd7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-15T08:10:20.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T08:10:20.621Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T08:10:20.952Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T08:10:20.960Z] $ docker exec 5db4743d01157f03344785ec092ab7ae4054e2bd2c9326a16bf98c2aaaef5bd7 ssh-agent [2021-03-15T08:10:22.218Z] SSH_AUTH_SOCK=/tmp/ssh-dal6mLe3XRRu/agent.11 [2021-03-15T08:10:22.218Z] SSH_AGENT_PID=16 [2021-03-15T08:10:22.227Z] Running ssh-add (command line suppressed) [2021-03-15T08:10:22.499Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7392888866699102338.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7392888866699102338.key) [2021-03-15T08:10:22.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T08:10:23.784Z] + git semver push [2021-03-15T08:10:24.061Z] # -> Open(): unable to determine branch for HEAD [2021-03-15T08:10:24.061Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-15T08:10:24.061Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-15T08:10:24.061Z] # $SEMVER_REMOTE_NAME = origin [2021-03-15T08:10:24.061Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-15T08:10:24.061Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-15T08:10:24.061Z] # $SEMVER_BRANCH = master [2021-03-15T08:10:24.061Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-15T08:10:30.925Z] $ docker exec --env ******** --env ******** 5db4743d01157f03344785ec092ab7ae4054e2bd2c9326a16bf98c2aaaef5bd7 ssh-agent -k [2021-03-15T08:10:31.404Z] unset SSH_AUTH_SOCK; [2021-03-15T08:10:31.423Z] unset SSH_AGENT_PID; [2021-03-15T08:10:31.424Z] echo Agent pid 16 killed; [2021-03-15T08:10:31.589Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-15T08:10:32.983Z] + git semver [Pipeline] } [2021-03-15T08:10:33.031Z] $ docker stop --time=1 5db4743d01157f03344785ec092ab7ae4054e2bd2c9326a16bf98c2aaaef5bd7 [2021-03-15T08:10:35.861Z] $ docker rm -f 5db4743d01157f03344785ec092ab7ae4054e2bd2c9326a16bf98c2aaaef5bd7 [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-15T08:10:37.912Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:10:38.633Z] ---> package-listing.sh [2021-03-15T08:10:38.633Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-15T08:10:38.633Z] ++ facter osfamily [2021-03-15T08:10:38.633Z] + OS_FAMILY=redhat [2021-03-15T08:10:38.633Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-03-15T08:10:38.634Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-15T08:10:38.634Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-15T08:10:38.634Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-15T08:10:38.634Z] + PACKAGES=/tmp/packages_start.txt [2021-03-15T08:10:38.634Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-15T08:10:38.634Z] + PACKAGES=/tmp/packages_end.txt [2021-03-15T08:10:38.634Z] + case "${OS_FAMILY}" in [2021-03-15T08:10:38.634Z] + rpm -qa [2021-03-15T08:10:38.634Z] + sort [2021-03-15T08:10:45.396Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-15T08:10:45.396Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-15T08:10:45.396Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-15T08:10:45.396Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-15T08:10:45.396Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-03-15T08:10:45.396Z] + 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-15T08:10:45.415Z] 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-15T08:10:45.749Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:10:46.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T08:10:46.616Z] [2021-03-15T08:10:46.616Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-15T08:10:47.020Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T08:10:47.377Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-15T08:10:47.377Z] df20fa9351a1: Pulling fs layer [2021-03-15T08:10:47.377Z] 36b3adc4ff6f: Pulling fs layer [2021-03-15T08:10:47.377Z] 8ad3a11d3b57: Pulling fs layer [2021-03-15T08:10:47.377Z] 46f8f816bc3b: Pulling fs layer [2021-03-15T08:10:47.377Z] 93b61091891f: Pulling fs layer [2021-03-15T08:10:47.377Z] 93b9cdb0e59b: Pulling fs layer [2021-03-15T08:10:47.377Z] 5e14af77c1be: Pulling fs layer [2021-03-15T08:10:47.377Z] 01666e4c0597: Pulling fs layer [2021-03-15T08:10:47.377Z] aa168da1d23b: Pulling fs layer [2021-03-15T08:10:47.377Z] 93b61091891f: Waiting [2021-03-15T08:10:47.377Z] 93b9cdb0e59b: Waiting [2021-03-15T08:10:47.377Z] 5e14af77c1be: Waiting [2021-03-15T08:10:47.377Z] 01666e4c0597: Waiting [2021-03-15T08:10:47.377Z] aa168da1d23b: Waiting [2021-03-15T08:10:47.377Z] 46f8f816bc3b: Waiting [2021-03-15T08:10:47.378Z] 36b3adc4ff6f: Verifying Checksum [2021-03-15T08:10:47.378Z] 36b3adc4ff6f: Download complete [2021-03-15T08:10:47.378Z] 46f8f816bc3b: Verifying Checksum [2021-03-15T08:10:47.378Z] 46f8f816bc3b: Download complete [2021-03-15T08:10:47.771Z] df20fa9351a1: Verifying Checksum [2021-03-15T08:10:47.771Z] df20fa9351a1: Download complete [2021-03-15T08:10:47.771Z] 93b9cdb0e59b: Verifying Checksum [2021-03-15T08:10:47.771Z] 93b9cdb0e59b: Download complete [2021-03-15T08:10:47.771Z] 93b61091891f: Verifying Checksum [2021-03-15T08:10:47.772Z] 93b61091891f: Download complete [2021-03-15T08:10:47.772Z] 5e14af77c1be: Verifying Checksum [2021-03-15T08:10:47.772Z] 5e14af77c1be: Download complete [2021-03-15T08:10:48.055Z] 01666e4c0597: Verifying Checksum [2021-03-15T08:10:48.055Z] 01666e4c0597: Download complete [2021-03-15T08:10:48.725Z] df20fa9351a1: Pull complete [2021-03-15T08:10:49.333Z] 8ad3a11d3b57: Verifying Checksum [2021-03-15T08:10:49.333Z] 8ad3a11d3b57: Download complete [2021-03-15T08:10:49.333Z] 36b3adc4ff6f: Pull complete [2021-03-15T08:10:52.384Z] 8ad3a11d3b57: Pull complete [2021-03-15T08:10:52.384Z] 46f8f816bc3b: Pull complete [2021-03-15T08:10:54.065Z] 93b61091891f: Pull complete [2021-03-15T08:10:54.065Z] aa168da1d23b: Verifying Checksum [2021-03-15T08:10:54.065Z] aa168da1d23b: Download complete [2021-03-15T08:10:54.342Z] 93b9cdb0e59b: Pull complete [2021-03-15T08:10:54.342Z] 5e14af77c1be: Pull complete [2021-03-15T08:10:54.622Z] 01666e4c0597: Pull complete [2021-03-15T08:11:16.983Z] aa168da1d23b: Pull complete [2021-03-15T08:11:16.983Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-15T08:11:16.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T08:11:16.983Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-15T08:11:17.689Z] prd-centos7-docker-4c-2g-29798 does not seem to be running inside a container [2021-03-15T08:11:17.773Z] $ 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-15T08:11:21.110Z] $ docker top 29627208475a74d653f341420ee487acb3b4d11bb5b4cde59f84830da8803bef -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T08:11:21.758Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-15T08:11:22.103Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-15T08:11:22.797Z] + ls /var/log/sa-host [2021-03-15T08:11:22.797Z] + sadf -c /var/log/sa-host/sa15 [2021-03-15T08:11:22.797Z] file_magic: OK [2021-03-15T08:11:22.797Z] HZ: Using current value: 100 [2021-03-15T08:11:22.797Z] file_header: OK [2021-03-15T08:11:22.797Z] 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-15T08:11:22.797Z] Statistics: [2021-03-15T08:11:22.797Z] 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...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-15T08:11:22.797Z] File successfully converted to sysstat format version 12.2.1 [2021-03-15T08:11:22.797Z] + sadf -c /var/log/sa-host/sa23 [2021-03-15T08:11:22.797Z] file_magic: OK [2021-03-15T08:11:22.797Z] HZ: Using current value: 100 [2021-03-15T08:11:22.797Z] file_header: OK [2021-03-15T08:11:22.797Z] 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-15T08:11:22.797Z] Statistics: [2021-03-15T08:11:22.797Z] Hnuu...uuuununununu... [2021-03-15T08:11:22.797Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-15T08:11:23.470Z] provisioning config files... [2021-03-15T08:11:23.495Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8396489386423592389tmp [Pipeline] { [Pipeline] echo [2021-03-15T08:11:23.571Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:11:23.890Z] ---> create-netrc.sh [Pipeline] } [2021-03-15T08:11:23.902Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-15T08:11:24.004Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:11:25.048Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-15T08:11:25.061Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:11:25.758Z] ---> sudo-logs.sh [2021-03-15T08:11:25.758Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-15T08:11:25.860Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:11:26.508Z] ---> job-cost.sh [2021-03-15T08:11:26.508Z] lf-activate-venv: SKIPPING [2021-03-15T08:11:26.508Z] DEBUG: total: 0.029999999329447746 [2021-03-15T08:11:26.508Z] INFO: Retrieving Stack Cost... [2021-03-15T08:11:29.092Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-15T08:11:29.362Z] INFO: Archiving Costs [Pipeline] echo [2021-03-15T08:11:29.377Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T08:11:29.703Z] ---> logs-deploy.sh [2021-03-15T08:11:29.703Z] lf-activate-venv: SKIPPING [2021-03-15T08:11:29.703Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/126 [2021-03-15T08:11:29.703Z] INFO: archiving workspace using pattern(s): [2021-03-15T08:11:33.454Z] Archives upload complete. [2021-03-15T08:11:33.727Z] INFO: archiving logs to Nexus