Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d47b03cf12e2f169eefdaad978a8d5668b399891 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-20972 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 d47b03cf12e2f169eefdaad978a8d5668b399891 (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 d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 Commit message: "Merge pull request #718 from hahattan/issue-629" > git rev-list --no-walk 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-18T09:20:14.177Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-18T09:20:14.470Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-18T09:20:14.577Z] ========================================================= [2021-01-18T09:20:14.577Z] EdgeX Global Pipelines Version Info [2021-01-18T09:20:14.577Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:20:16.527Z] ------------------- [2021-01-18T09:20:16.527Z] stable info: [2021-01-18T09:20:16.527Z] ------------------- [2021-01-18T09:20:16.527Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-18T09:20:16.527Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-18T09:20:16.527Z] Message: update stable to v1.0.177 [2021-01-18T09:20:17.101Z] ------------------- [2021-01-18T09:20:17.101Z] experimental info: [2021-01-18T09:20:17.101Z] ------------------- [2021-01-18T09:20:17.101Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-18T09:20:17.101Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-18T09:20:17.102Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-18T09:20:17.382Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-18T09:20:17.485Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-18T09:20:17.583Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-18T09:20:17.690Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-18T09:20:17.787Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-18T09:20:17.881Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-18T09:20:18.003Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-18T09:20:18.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-18T09:20:18.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-18T09:20:18.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-18T09:20:18.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-18T09:20:18.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-18T09:20:18.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-18T09:20:18.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-18T09:20:18.815Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-18T09:20:18.931Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T09:20:19.026Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T09:20:19.123Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T09:20:19.225Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-18T09:20:19.322Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-18T09:20:19.422Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-18T09:20:19.519Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-18T09:20:19.621Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-18T09:20:19.730Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-18T09:20:19.877Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-18T09:20:19.984Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-18T09:20:20.092Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-18T09:20:20.193Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-18T09:20:20.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-18T09:20:20.447Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-18T09:20:20.580Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d47b03cf12e2f169eefdaad978a8d5668b399891 [Pipeline] echo [2021-01-18T09:20:20.715Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d47b03c [Pipeline] echo [2021-01-18T09:20:20.853Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T09:20:21.061Z] provisioning config files... [2021-01-18T09:20:21.086Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6011034455046177776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:20:21.461Z] ---> docker-login.sh [2021-01-18T09:20:21.461Z] nexus3.edgexfoundry.org:10001 [2021-01-18T09:20:21.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:20:21.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:20:21.984Z] Configure a credential helper to remove this warning. See [2021-01-18T09:20:21.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:20:21.984Z] [2021-01-18T09:20:21.984Z] Login Succeeded [2021-01-18T09:20:21.984Z] nexus3.edgexfoundry.org:10002 [2021-01-18T09:20:21.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:20:21.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:20:21.984Z] Configure a credential helper to remove this warning. See [2021-01-18T09:20:21.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:20:21.984Z] [2021-01-18T09:20:21.984Z] Login Succeeded [2021-01-18T09:20:21.984Z] nexus3.edgexfoundry.org:10003 [2021-01-18T09:20:22.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:20:22.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:20:22.247Z] Configure a credential helper to remove this warning. See [2021-01-18T09:20:22.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:20:22.247Z] [2021-01-18T09:20:22.247Z] Login Succeeded [2021-01-18T09:20:22.247Z] nexus3.edgexfoundry.org:10004 [2021-01-18T09:20:22.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:20:22.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:20:22.510Z] Configure a credential helper to remove this warning. See [2021-01-18T09:20:22.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:20:22.510Z] [2021-01-18T09:20:22.510Z] Login Succeeded [2021-01-18T09:20:22.510Z] docker.io [2021-01-18T09:20:22.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:20:22.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:20:22.772Z] Configure a credential helper to remove this warning. See [2021-01-18T09:20:22.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:20:22.772Z] [2021-01-18T09:20:22.772Z] Login Succeeded [2021-01-18T09:20:22.772Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T09:20:22.781Z] 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-01-18T09:20:23.622Z] + git log --format=format:%s -1 d47b03cf12e2f169eefdaad978a8d5668b399891 [Pipeline] echo [2021-01-18T09:20:23.683Z] GIT_COMMIT: d47b03cf12e2f169eefdaad978a8d5668b399891, Commit Message: Merge pull request #718 from hahattan/issue-629 [Pipeline] echo [2021-01-18T09:20:23.734Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:20:24.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T09:20:24.719Z] [2021-01-18T09:20:24.719Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:20:25.074Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T09:20:25.074Z] latest: Pulling from edgex-devops/git-semver [2021-01-18T09:20:25.074Z] 31603596830f: Pulling fs layer [2021-01-18T09:20:25.074Z] 2a8b12db71e7: Pulling fs layer [2021-01-18T09:20:25.074Z] 6ca5941a6612: Pulling fs layer [2021-01-18T09:20:25.074Z] ecc8261a40a4: Pulling fs layer [2021-01-18T09:20:25.074Z] ecc8261a40a4: Waiting [2021-01-18T09:20:25.074Z] 2a8b12db71e7: Verifying Checksum [2021-01-18T09:20:25.074Z] 2a8b12db71e7: Download complete [2021-01-18T09:20:25.338Z] 31603596830f: Verifying Checksum [2021-01-18T09:20:25.338Z] 31603596830f: Download complete [2021-01-18T09:20:25.338Z] 6ca5941a6612: Verifying Checksum [2021-01-18T09:20:25.338Z] 6ca5941a6612: Download complete [2021-01-18T09:20:25.338Z] ecc8261a40a4: Verifying Checksum [2021-01-18T09:20:25.338Z] ecc8261a40a4: Download complete [2021-01-18T09:20:25.914Z] 31603596830f: Pull complete [2021-01-18T09:20:25.914Z] 2a8b12db71e7: Pull complete [2021-01-18T09:20:26.871Z] 6ca5941a6612: Pull complete [2021-01-18T09:20:27.135Z] ecc8261a40a4: Pull complete [2021-01-18T09:20:27.135Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-18T09:20:27.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T09:20:27.135Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-18T09:20:27.240Z] prd-centos7-docker-4c-2g-20972 does not seem to be running inside a container [2021-01-18T09:20:27.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-18T09:20:29.143Z] $ docker top d38c5bcd132653c6663a21413d2102b2b37bf76fed23f02c22b54e6093eddc8b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-18T09:20:29.439Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T09:20:29.439Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T09:20:29.646Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T09:20:29.650Z] $ docker exec d38c5bcd132653c6663a21413d2102b2b37bf76fed23f02c22b54e6093eddc8b ssh-agent [2021-01-18T09:20:29.811Z] SSH_AUTH_SOCK=/tmp/ssh-K0jLFSFXfwFO/agent.11 [2021-01-18T09:20:29.812Z] SSH_AGENT_PID=16 [2021-01-18T09:20:29.820Z] Running ssh-add (command line suppressed) [2021-01-18T09:20:29.939Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4809238805511649196.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4809238805511649196.key) [2021-01-18T09:20:29.989Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T09:20:30.337Z] + git tag --points-at HEAD [Pipeline] } [2021-01-18T09:20:30.358Z] $ docker exec --env ******** --env ******** d38c5bcd132653c6663a21413d2102b2b37bf76fed23f02c22b54e6093eddc8b ssh-agent -k [2021-01-18T09:20:30.519Z] unset SSH_AUTH_SOCK; [2021-01-18T09:20:30.520Z] unset SSH_AGENT_PID; [2021-01-18T09:20:30.520Z] echo Agent pid 16 killed; [2021-01-18T09:20:30.584Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-18T09:20:30.739Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T09:20:30.739Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T09:20:30.989Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T09:20:30.993Z] $ docker exec d38c5bcd132653c6663a21413d2102b2b37bf76fed23f02c22b54e6093eddc8b ssh-agent [2021-01-18T09:20:31.193Z] SSH_AUTH_SOCK=/tmp/ssh-d7I55tXnqN38/agent.45 [2021-01-18T09:20:31.193Z] SSH_AGENT_PID=50 [2021-01-18T09:20:31.201Z] Running ssh-add (command line suppressed) [2021-01-18T09:20:31.327Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5333386868056451605.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5333386868056451605.key) [2021-01-18T09:20:31.384Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T09:20:31.739Z] + git semver init [2021-01-18T09:20:31.739Z] # -> Open(): unable to determine branch for HEAD [2021-01-18T09:20:31.739Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-18T09:20:31.739Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-18T09:20:31.739Z] # $SEMVER_REMOTE_NAME = origin [2021-01-18T09:20:31.739Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-18T09:20:31.739Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-18T09:20:31.739Z] # $SEMVER_BRANCH = master [2021-01-18T09:20:31.739Z] # $SEMVER_TEMP = /tmp/semver-294821612 [2021-01-18T09:20:31.739Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-18T09:20:32.320Z] # '/tmp/semver-294821612' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-01-18T09:20:32.582Z] # -> Force: false [2021-01-18T09:20:32.582Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-18T09:20:32.596Z] $ docker exec --env ******** --env ******** d38c5bcd132653c6663a21413d2102b2b37bf76fed23f02c22b54e6093eddc8b ssh-agent -k [2021-01-18T09:20:32.709Z] unset SSH_AUTH_SOCK; [2021-01-18T09:20:32.710Z] unset SSH_AGENT_PID; [2021-01-18T09:20:32.710Z] echo Agent pid 50 killed; [2021-01-18T09:20:32.758Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-18T09:20:33.235Z] + git semver [Pipeline] } [2021-01-18T09:20:33.254Z] $ docker stop --time=1 d38c5bcd132653c6663a21413d2102b2b37bf76fed23f02c22b54e6093eddc8b [2021-01-18T09:20:34.829Z] $ docker rm -f d38c5bcd132653c6663a21413d2102b2b37bf76fed23f02c22b54e6093eddc8b [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T09:20:35.298Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-18T09:20:35.750Z] Stashed 1 file(s) [Pipeline] echo [2021-01-18T09:20:35.754Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.2 [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-01-18T09:20:36.450Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20956 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-18T09:20:36.527Z] Running in /w/workspace/device-sdk-go/107 [Pipeline] { [Pipeline] checkout [2021-01-18T09:20:41.041Z] using credential edgex-jenkins-ssh [2021-01-18T09:20:41.099Z] Cloning the remote Git repository [2021-01-18T09:20:41.166Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T09:20:41.281Z] > git init /w/workspace/device-sdk-go/107 # timeout=10 [2021-01-18T09:20:41.355Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T09:20:41.355Z] > git --version # timeout=10 [2021-01-18T09:20:41.390Z] > git --version # 'git version 2.17.1' [2021-01-18T09:20:41.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T09:20:41.487Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T09:20:42.514Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T09:20:42.544Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T09:20:42.566Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T09:20:42.599Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T09:20:42.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T09:20:42.612Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-18T09:20:43.168Z] Checking out Revision d47b03cf12e2f169eefdaad978a8d5668b399891 (master) [2021-01-18T09:20:43.192Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T09:20:43.210Z] > git checkout -f d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 [2021-01-18T09:20:47.658Z] Commit message: "Merge pull request #718 from hahattan/issue-629" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T09:20:49.182Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-18T09:20:49.590Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-18T09:20:49.942Z] + true [2021-01-18T09:20:49.942Z] + sudo service docker restart [2021-01-18T09:20:51.285Z] Still waiting to schedule task [2021-01-18T09:20:51.285Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T09:20:52.022Z] provisioning config files... [2021-01-18T09:20:52.067Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/107@tmp/config1384871887717121620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:20:52.485Z] ---> docker-login.sh [2021-01-18T09:20:52.485Z] nexus3.edgexfoundry.org:10001 [2021-01-18T09:20:53.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:20:53.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:20:53.740Z] Configure a credential helper to remove this warning. See [2021-01-18T09:20:53.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:20:53.740Z] [2021-01-18T09:20:53.740Z] Login Succeeded [2021-01-18T09:20:53.740Z] nexus3.edgexfoundry.org:10002 [2021-01-18T09:20:54.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:20:54.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:20:54.289Z] Configure a credential helper to remove this warning. See [2021-01-18T09:20:54.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:20:54.289Z] [2021-01-18T09:20:54.289Z] Login Succeeded [2021-01-18T09:20:54.289Z] nexus3.edgexfoundry.org:10003 [2021-01-18T09:20:54.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:20:54.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:20:54.835Z] Configure a credential helper to remove this warning. See [2021-01-18T09:20:54.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:20:54.835Z] [2021-01-18T09:20:54.835Z] Login Succeeded [2021-01-18T09:20:54.835Z] nexus3.edgexfoundry.org:10004 [2021-01-18T09:20:55.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:20:55.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:20:55.382Z] Configure a credential helper to remove this warning. See [2021-01-18T09:20:55.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:20:55.382Z] [2021-01-18T09:20:55.382Z] Login Succeeded [2021-01-18T09:20:55.382Z] docker.io [2021-01-18T09:20:55.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:20:55.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:20:55.926Z] Configure a credential helper to remove this warning. See [2021-01-18T09:20:55.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:20:55.926Z] [2021-01-18T09:20:55.926Z] Login Succeeded [2021-01-18T09:20:55.926Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T09:20:55.943Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-18T09:20:56.443Z] ========================================================= [2021-01-18T09:20:56.443Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-18T09:20:56.443Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:20:56.859Z] + 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-01-18T09:20:57.460Z] Sending build context to Docker daemon 2.511MB [2021-01-18T09:20:57.460Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T09:20:57.460Z] Step 2/8 : FROM ${BASE} [2021-01-18T09:20:57.460Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-18T09:20:57.460Z] 5f621e34cdf4: Pulling fs layer [2021-01-18T09:20:57.460Z] a4357932f1b6: Pulling fs layer [2021-01-18T09:20:57.460Z] 18c013af1878: Pulling fs layer [2021-01-18T09:20:57.460Z] 00ac8860ef70: Pulling fs layer [2021-01-18T09:20:57.460Z] 63d7cb157983: Pulling fs layer [2021-01-18T09:20:57.460Z] b116817d02f9: Pulling fs layer [2021-01-18T09:20:57.460Z] 745a02a5169b: Pulling fs layer [2021-01-18T09:20:57.460Z] 00ac8860ef70: Waiting [2021-01-18T09:20:57.460Z] 63d7cb157983: Waiting [2021-01-18T09:20:57.460Z] b116817d02f9: Waiting [2021-01-18T09:20:57.460Z] 745a02a5169b: Waiting [2021-01-18T09:20:57.460Z] 18c013af1878: Verifying Checksum [2021-01-18T09:20:57.460Z] 18c013af1878: Download complete [2021-01-18T09:20:57.460Z] a4357932f1b6: Download complete [2021-01-18T09:20:57.460Z] 63d7cb157983: Verifying Checksum [2021-01-18T09:20:57.460Z] 63d7cb157983: Download complete [2021-01-18T09:20:57.460Z] b116817d02f9: Download complete [2021-01-18T09:20:57.460Z] 5f621e34cdf4: Verifying Checksum [2021-01-18T09:20:57.460Z] 5f621e34cdf4: Download complete [2021-01-18T09:20:58.058Z] 5f621e34cdf4: Pull complete [2021-01-18T09:20:58.659Z] a4357932f1b6: Pull complete [2021-01-18T09:20:59.279Z] 18c013af1878: Pull complete [2021-01-18T09:21:00.741Z] 745a02a5169b: Verifying Checksum [2021-01-18T09:21:00.741Z] 745a02a5169b: Download complete [2021-01-18T09:21:01.714Z] 00ac8860ef70: Verifying Checksum [2021-01-18T09:21:01.714Z] 00ac8860ef70: Download complete [2021-01-18T09:21:11.886Z] 00ac8860ef70: Pull complete [2021-01-18T09:21:11.886Z] 63d7cb157983: Pull complete [2021-01-18T09:21:12.159Z] b116817d02f9: Pull complete [2021-01-18T09:21:16.476Z] 745a02a5169b: Pull complete [2021-01-18T09:21:16.476Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-18T09:21:16.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-18T09:21:16.476Z] ---> b7e6874047d6 [2021-01-18T09:21:16.476Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T09:21:19.102Z] ---> Running in e9c32d4c762b [2021-01-18T09:21:19.698Z] Removing intermediate container e9c32d4c762b [2021-01-18T09:21:19.698Z] ---> dd71fe98eb28 [2021-01-18T09:21:19.698Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T09:21:19.698Z] ---> Running in f36ef4956aba [2021-01-18T09:21:22.337Z] Removing intermediate container f36ef4956aba [2021-01-18T09:21:22.337Z] ---> 056ae027678d [2021-01-18T09:21:22.337Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-18T09:21:22.337Z] ---> Running in b891d4ab0e35 [2021-01-18T09:21:23.315Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-18T09:21:24.289Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-18T09:21:24.884Z] OK: 142 MiB in 39 packages [2021-01-18T09:21:25.864Z] Removing intermediate container b891d4ab0e35 [2021-01-18T09:21:25.864Z] ---> 15ce18704bf2 [2021-01-18T09:21:25.864Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-18T09:21:26.191Z] ---> Running in 434ea6448637 [2021-01-18T09:21:26.785Z] Removing intermediate container 434ea6448637 [2021-01-18T09:21:26.785Z] ---> 1af0b43fa80a [2021-01-18T09:21:26.785Z] Step 7/8 : COPY . . [2021-01-18T09:21:28.229Z] ---> 731a6b9d9ee6 [2021-01-18T09:21:28.229Z] Step 8/8 : RUN go mod download [2021-01-18T09:21:28.229Z] ---> Running in 7847a3500513 [2021-01-18T09:21:50.424Z] Removing intermediate container 7847a3500513 [2021-01-18T09:21:50.424Z] ---> 96cc8216818b [2021-01-18T09:21:50.424Z] Successfully built 96cc8216818b [2021-01-18T09:21:50.424Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:21:50.793Z] + docker inspect -f . ci-base-image-arm64 [2021-01-18T09:21:50.793Z] . [Pipeline] withDockerContainer [2021-01-18T09:21:51.063Z] prd-ubuntu18.04-docker-arm64-4c-16g-20956 does not seem to be running inside a container [2021-01-18T09:21:51.154Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/107 -v /w/workspace/device-sdk-go/107:/w/workspace/device-sdk-go/107:rw,z -v /w/workspace/device-sdk-go/107@tmp:/w/workspace/device-sdk-go/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-18T09:21:52.715Z] $ docker top 36c8151c924058a2ac0507daa9b448d806990cf8ff499551a72cd96fba407d72 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T09:21:53.827Z] + go version [2021-01-18T09:21:53.827Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-18T09:21:53.855Z] $ docker stop --time=1 36c8151c924058a2ac0507daa9b448d806990cf8ff499551a72cd96fba407d72 [2021-01-18T09:21:55.724Z] $ docker rm -f 36c8151c924058a2ac0507daa9b448d806990cf8ff499551a72cd96fba407d72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:21:56.681Z] + docker inspect -f . ci-base-image-arm64 [2021-01-18T09:21:56.681Z] . [Pipeline] withDockerContainer [2021-01-18T09:21:56.923Z] prd-ubuntu18.04-docker-arm64-4c-16g-20956 does not seem to be running inside a container [2021-01-18T09:21:57.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/107 -v /w/workspace/device-sdk-go/107:/w/workspace/device-sdk-go/107:rw,z -v /w/workspace/device-sdk-go/107@tmp:/w/workspace/device-sdk-go/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-18T09:21:58.495Z] $ docker top 9a5817a53c247141af599fd683ceffbe8f38ba3a06a59d2cdd6aa4efb6bcbb73 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T09:21:59.526Z] + make test [2021-01-18T09:21:59.526Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-18T09:22:21.728Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-18T09:23:00.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-18T09:23:00.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-18T09:23:00.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-18T09:23:01.766Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.141s coverage: 19.4% of statements [2021-01-18T09:23:07.202Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.157s coverage: 97.1% of statements [2021-01-18T09:23:32.196Z] Running on prd-centos7-docker-4c-2g-20973 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-18T09:23:32.260Z] Running in /w/workspace/device-sdk-go/107 [Pipeline] { [Pipeline] checkout [2021-01-18T09:23:34.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.153s coverage: 9.4% of statements [2021-01-18T09:23:34.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.163s coverage: 21.7% of statements [2021-01-18T09:23:34.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-18T09:23:34.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.606s coverage: 42.9% of statements [2021-01-18T09:23:34.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-18T09:23:34.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.741s coverage: 68.9% of statements [2021-01-18T09:23:34.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-18T09:23:34.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-18T09:23:34.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-18T09:23:34.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-18T09:23:34.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 53.8% of statements [2021-01-18T09:23:34.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-18T09:23:34.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-18T09:23:34.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.171s coverage: 25.6% of statements [2021-01-18T09:23:34.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.725s coverage: 68.9% of statements [2021-01-18T09:23:34.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements [2021-01-18T09:23:34.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-18T09:23:34.467Z] GO111MODULE=on go vet ./... [2021-01-18T09:23:34.702Z] using credential edgex-jenkins-ssh [2021-01-18T09:23:34.755Z] Cloning the remote Git repository [2021-01-18T09:23:34.782Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T09:23:34.847Z] > git init /w/workspace/device-sdk-go/107 # timeout=10 [2021-01-18T09:23:34.906Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T09:23:34.907Z] > git --version # timeout=10 [2021-01-18T09:23:34.915Z] > git --version # 'git version 2.24.3' [2021-01-18T09:23:34.915Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T09:23:34.942Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T09:23:35.609Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T09:23:35.615Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T09:23:35.626Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T09:23:35.638Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T09:23:35.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T09:23:35.642Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-18T09:23:36.034Z] Checking out Revision d47b03cf12e2f169eefdaad978a8d5668b399891 (master) [2021-01-18T09:23:36.043Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T09:23:36.049Z] > git checkout -f d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 [2021-01-18T09:23:39.784Z] Commit message: "Merge pull request #718 from hahattan/issue-629" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T09:23:41.244Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-18T09:23:41.576Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-18T09:23:41.874Z] + sudo service docker restart [2021-01-18T09:23:41.874Z] + true [2021-01-18T09:23:41.874Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T09:23:42.886Z] provisioning config files... [2021-01-18T09:23:42.913Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/107@tmp/config1033328356914272685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:23:43.276Z] ---> docker-login.sh [2021-01-18T09:23:43.276Z] nexus3.edgexfoundry.org:10001 [2021-01-18T09:23:43.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:23:43.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:23:43.801Z] Configure a credential helper to remove this warning. See [2021-01-18T09:23:43.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:23:43.801Z] [2021-01-18T09:23:43.801Z] Login Succeeded [2021-01-18T09:23:43.801Z] nexus3.edgexfoundry.org:10002 [2021-01-18T09:23:43.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:23:43.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:23:43.801Z] Configure a credential helper to remove this warning. See [2021-01-18T09:23:43.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:23:43.801Z] [2021-01-18T09:23:43.801Z] Login Succeeded [2021-01-18T09:23:43.801Z] nexus3.edgexfoundry.org:10003 [2021-01-18T09:23:44.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:23:44.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:23:44.064Z] Configure a credential helper to remove this warning. See [2021-01-18T09:23:44.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:23:44.064Z] [2021-01-18T09:23:44.064Z] Login Succeeded [2021-01-18T09:23:44.064Z] nexus3.edgexfoundry.org:10004 [2021-01-18T09:23:44.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:23:44.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:23:44.326Z] Configure a credential helper to remove this warning. See [2021-01-18T09:23:44.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:23:44.326Z] [2021-01-18T09:23:44.326Z] Login Succeeded [2021-01-18T09:23:44.326Z] docker.io [2021-01-18T09:23:44.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T09:23:44.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T09:23:44.587Z] Configure a credential helper to remove this warning. See [2021-01-18T09:23:44.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T09:23:44.587Z] [2021-01-18T09:23:44.587Z] Login Succeeded [2021-01-18T09:23:44.587Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T09:23:44.596Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-18T09:23:44.953Z] ========================================================= [2021-01-18T09:23:44.953Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-18T09:23:44.953Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:23:45.315Z] + 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-01-18T09:23:45.315Z] Sending build context to Docker daemon 2.512MB [2021-01-18T09:23:45.315Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T09:23:45.315Z] Step 2/8 : FROM ${BASE} [2021-01-18T09:23:45.576Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-18T09:23:45.576Z] 188c0c94c7c5: Pulling fs layer [2021-01-18T09:23:45.576Z] 0ef7d3d256c8: Pulling fs layer [2021-01-18T09:23:45.576Z] de9db76c5a1d: Pulling fs layer [2021-01-18T09:23:45.576Z] bca2f99d35d6: Pulling fs layer [2021-01-18T09:23:45.576Z] 93359f2a8cfa: Pulling fs layer [2021-01-18T09:23:45.576Z] 7c6f9722023f: Pulling fs layer [2021-01-18T09:23:45.576Z] a35cf1a2eb13: Pulling fs layer [2021-01-18T09:23:45.576Z] 93359f2a8cfa: Waiting [2021-01-18T09:23:45.576Z] 7c6f9722023f: Waiting [2021-01-18T09:23:45.576Z] a35cf1a2eb13: Waiting [2021-01-18T09:23:45.576Z] bca2f99d35d6: Waiting [2021-01-18T09:23:45.576Z] de9db76c5a1d: Verifying Checksum [2021-01-18T09:23:45.576Z] de9db76c5a1d: Download complete [2021-01-18T09:23:45.576Z] 0ef7d3d256c8: Download complete [2021-01-18T09:23:45.576Z] 93359f2a8cfa: Verifying Checksum [2021-01-18T09:23:45.576Z] 93359f2a8cfa: Download complete [2021-01-18T09:23:45.576Z] 188c0c94c7c5: Verifying Checksum [2021-01-18T09:23:45.576Z] 188c0c94c7c5: Download complete [2021-01-18T09:23:45.576Z] 7c6f9722023f: Download complete [2021-01-18T09:23:45.839Z] 188c0c94c7c5: Pull complete [2021-01-18T09:23:46.101Z] 0ef7d3d256c8: Pull complete [2021-01-18T09:23:46.101Z] de9db76c5a1d: Pull complete [2021-01-18T09:23:48.033Z] a35cf1a2eb13: Verifying Checksum [2021-01-18T09:23:48.033Z] a35cf1a2eb13: Download complete [2021-01-18T09:23:48.613Z] bca2f99d35d6: Verifying Checksum [2021-01-18T09:23:48.613Z] bca2f99d35d6: Download complete [2021-01-18T09:23:53.965Z] bca2f99d35d6: Pull complete [2021-01-18T09:23:53.965Z] 93359f2a8cfa: Pull complete [2021-01-18T09:23:53.965Z] 7c6f9722023f: Pull complete [2021-01-18T09:24:00.601Z] a35cf1a2eb13: Pull complete [2021-01-18T09:24:00.865Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-18T09:24:00.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-18T09:24:00.865Z] ---> a62c8e92a672 [2021-01-18T09:24:00.865Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T09:24:01.128Z] ---> Running in 8d29528ca6f2 [2021-01-18T09:24:01.394Z] Removing intermediate container 8d29528ca6f2 [2021-01-18T09:24:01.394Z] ---> 23f566d61965 [2021-01-18T09:24:01.394Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T09:24:01.394Z] ---> Running in f3018c99bafc [2021-01-18T09:24:02.343Z] Removing intermediate container f3018c99bafc [2021-01-18T09:24:02.343Z] ---> 30d4e7d32ec0 [2021-01-18T09:24:02.343Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-18T09:24:02.343Z] ---> Running in 902a484dec78 [2021-01-18T09:24:03.291Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-18T09:24:03.867Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-18T09:24:04.450Z] OK: 166 MiB in 39 packages [2021-01-18T09:24:04.714Z] Removing intermediate container 902a484dec78 [2021-01-18T09:24:04.714Z] ---> cea4994b8b5e [2021-01-18T09:24:04.714Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-18T09:24:04.979Z] ---> Running in ca48814c6c7d [2021-01-18T09:24:04.979Z] Removing intermediate container ca48814c6c7d [2021-01-18T09:24:04.979Z] ---> 94b431d2e276 [2021-01-18T09:24:04.979Z] Step 7/8 : COPY . . [2021-01-18T09:24:06.378Z] ---> d78ccc521e09 [2021-01-18T09:24:06.378Z] Step 8/8 : RUN go mod download [2021-01-18T09:24:06.378Z] ---> Running in 7a10fdd58b7d [2021-01-18T09:24:06.846Z] gofmt -l . [2021-01-18T09:24:07.126Z] [ "`gofmt -l .`" = "" ] [2021-01-18T09:24:07.399Z] ./bin/test-attribution-txt.sh [2021-01-18T09:24:08.379Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-18T09:24:09.007Z] $ docker stop --time=1 9a5817a53c247141af599fd683ceffbe8f38ba3a06a59d2cdd6aa4efb6bcbb73 [2021-01-18T09:24:11.240Z] $ docker rm -f 9a5817a53c247141af599fd683ceffbe8f38ba3a06a59d2cdd6aa4efb6bcbb73 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T09:24:12.294Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-18T09:24:13.162Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T09:24:15.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-18T09:24:16.280Z] + ls -al . [2021-01-18T09:24:16.280Z] total 260 [2021-01-18T09:24:16.280Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 09:24 . [2021-01-18T09:24:16.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 09:20 .. [2021-01-18T09:24:16.280Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 18 09:20 .dockerignore [2021-01-18T09:24:16.280Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 09:20 .git [2021-01-18T09:24:16.280Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 09:20 .github [2021-01-18T09:24:16.280Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 18 09:20 .gitignore [2021-01-18T09:24:16.280Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 18 09:20 Dockerfile.build [2021-01-18T09:24:16.280Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 18 09:20 Jenkinsfile [2021-01-18T09:24:16.280Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 18 09:20 LICENSE [2021-01-18T09:24:16.280Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 18 09:20 Makefile [2021-01-18T09:24:16.280Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 18 09:20 README.md [2021-01-18T09:24:16.280Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 18 09:20 RELEASE-NOTES.txt [2021-01-18T09:24:16.280Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 18 09:20 VERSION [2021-01-18T09:24:16.280Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 09:20 bin [2021-01-18T09:24:16.280Z] -rw-r--r-- 1 jenkins jenkins 144063 Jan 18 09:23 coverage.out [2021-01-18T09:24:16.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 09:20 example [2021-01-18T09:24:16.280Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 18 09:24 go.mod [2021-01-18T09:24:16.280Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 18 09:24 go.sum [2021-01-18T09:24:16.280Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 18 09:20 internal [2021-01-18T09:24:16.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 09:20 openapi [2021-01-18T09:24:16.280Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 18 09:20 pkg [2021-01-18T09:24:16.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 09:20 snap [2021-01-18T09:24:16.280Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 18 09:20 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:24:16.619Z] + 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=d47b03cf12e2f169eefdaad978a8d5668b399891 --label arch=arm64 --label version=2.0.0-dev.2 . [2021-01-18T09:24:17.216Z] Sending build context to Docker daemon 2.656MB [2021-01-18T09:24:17.216Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T09:24:17.216Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-18T09:24:17.216Z] ---> 96cc8216818b [2021-01-18T09:24:17.216Z] Step 3/24 : ARG MAKE='make build' [2021-01-18T09:24:17.489Z] ---> Running in 3b66e86d1e33 [2021-01-18T09:24:17.761Z] Removing intermediate container 3b66e86d1e33 [2021-01-18T09:24:17.761Z] ---> faabdb8ac533 [2021-01-18T09:24:17.761Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-18T09:24:18.033Z] ---> Running in 7a3d19f341b5 [2021-01-18T09:24:18.628Z] Removing intermediate container 7a3d19f341b5 [2021-01-18T09:24:18.628Z] ---> 1a9e38ae7fe4 [2021-01-18T09:24:18.628Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T09:24:18.628Z] ---> Running in e2af6d3aa1bf [2021-01-18T09:24:19.223Z] Removing intermediate container e2af6d3aa1bf [2021-01-18T09:24:19.223Z] ---> fd7a2746a65f [2021-01-18T09:24:19.223Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T09:24:19.223Z] ---> Running in 117286a3747f [2021-01-18T09:24:21.834Z] Removing intermediate container 117286a3747f [2021-01-18T09:24:21.834Z] ---> 87912d44c7e0 [2021-01-18T09:24:21.834Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-18T09:24:21.834Z] ---> Running in 05ab76c1ee47 [2021-01-18T09:24:22.809Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-18T09:24:23.399Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-18T09:24:24.000Z] OK: 142 MiB in 39 packages [2021-01-18T09:24:24.572Z] Removing intermediate container 7a10fdd58b7d [2021-01-18T09:24:24.572Z] ---> b7eca6088eee [2021-01-18T09:24:24.572Z] Successfully built b7eca6088eee [2021-01-18T09:24:24.572Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:24:24.911Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-18T09:24:24.911Z] . [Pipeline] withDockerContainer [2021-01-18T09:24:24.980Z] Removing intermediate container 05ab76c1ee47 [2021-01-18T09:24:24.980Z] ---> 32611456f585 [2021-01-18T09:24:24.980Z] Step 8/24 : COPY . . [2021-01-18T09:24:25.022Z] prd-centos7-docker-4c-2g-20973 does not seem to be running inside a container [2021-01-18T09:24:25.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/107 -v /w/workspace/device-sdk-go/107:/w/workspace/device-sdk-go/107:rw,z -v /w/workspace/device-sdk-go/107@tmp:/w/workspace/device-sdk-go/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-18T09:24:25.785Z] $ docker top 0bdbd0d790426ccca6af607fff6c26a86b55f805eb118671a3797b5212826579 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T09:24:26.336Z] + go version [2021-01-18T09:24:26.336Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-18T09:24:26.353Z] $ docker stop --time=1 0bdbd0d790426ccca6af607fff6c26a86b55f805eb118671a3797b5212826579 [2021-01-18T09:24:26.419Z] ---> 9bc044774476 [2021-01-18T09:24:26.419Z] Step 9/24 : RUN ${MAKE} [2021-01-18T09:24:26.693Z] ---> Running in 578bede92d0e [2021-01-18T09:24:27.671Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-18T09:24:27.677Z] $ docker rm -f 0bdbd0d790426ccca6af607fff6c26a86b55f805eb118671a3797b5212826579 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:24:28.667Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-18T09:24:28.667Z] . [Pipeline] withDockerContainer [2021-01-18T09:24:28.759Z] prd-centos7-docker-4c-2g-20973 does not seem to be running inside a container [2021-01-18T09:24:28.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/107 -v /w/workspace/device-sdk-go/107:/w/workspace/device-sdk-go/107:rw,z -v /w/workspace/device-sdk-go/107@tmp:/w/workspace/device-sdk-go/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-18T09:24:30.054Z] $ docker top cb4cf41922517a8737247ec26170381d4c1e45abeb78701cfd1fc4d2126b9731 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T09:24:30.542Z] + make test [2021-01-18T09:24:30.542Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-18T09:24:37.180Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-18T09:24:52.224Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-18T09:24:52.224Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-18T09:24:52.224Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-18T09:24:52.224Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.073s coverage: 19.4% of statements [2021-01-18T09:24:54.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.459s coverage: 97.1% of statements [2021-01-18T09:24:54.478Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-18T09:24:54.478Z] Removing intermediate container 578bede92d0e [2021-01-18T09:24:54.478Z] ---> 22ac8531b1ba [2021-01-18T09:24:54.478Z] Step 10/24 : FROM scratch [2021-01-18T09:24:54.478Z] ---> [2021-01-18T09:24:54.478Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T09:24:54.752Z] ---> Running in df908ff34fbc [2021-01-18T09:24:55.026Z] Removing intermediate container df908ff34fbc [2021-01-18T09:24:55.026Z] ---> a789c80c73fb [2021-01-18T09:24:55.026Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-18T09:24:55.026Z] ---> Running in b3616fbbdd81 [2021-01-18T09:24:55.617Z] Removing intermediate container b3616fbbdd81 [2021-01-18T09:24:55.617Z] ---> 05fba29d40e6 [2021-01-18T09:24:55.617Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-18T09:24:55.617Z] ---> Running in 786c0b612d5b [2021-01-18T09:24:56.212Z] Removing intermediate container 786c0b612d5b [2021-01-18T09:24:56.212Z] ---> 32d2578e4596 [2021-01-18T09:24:56.212Z] Step 14/24 : WORKDIR / [2021-01-18T09:24:56.212Z] ---> Running in 5db33d8b3678 [2021-01-18T09:24:56.805Z] Removing intermediate container 5db33d8b3678 [2021-01-18T09:24:56.805Z] ---> 0f050d987eb8 [2021-01-18T09:24:56.805Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-18T09:24:57.781Z] ---> 45531ce72a6a [2021-01-18T09:24:57.781Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-18T09:24:58.374Z] ---> 4ca8d88f7329 [2021-01-18T09:24:58.374Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-18T09:24:59.344Z] ---> c44819f69657 [2021-01-18T09:24:59.344Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-18T09:24:59.937Z] ---> f5abd0435766 [2021-01-18T09:24:59.937Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-18T09:25:00.533Z] ---> 846b17bf032c [2021-01-18T09:25:00.533Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-18T09:25:00.804Z] ---> Running in 04003ef51e06 [2021-01-18T09:25:01.074Z] Removing intermediate container 04003ef51e06 [2021-01-18T09:25:01.074Z] ---> 54c8fda17bb4 [2021-01-18T09:25:01.074Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-18T09:25:01.344Z] ---> Running in d42d58963868 [2021-01-18T09:25:01.615Z] Removing intermediate container d42d58963868 [2021-01-18T09:25:01.616Z] ---> fbccbaef1d4e [2021-01-18T09:25:01.616Z] Step 22/24 : LABEL arch=arm64 [2021-01-18T09:25:01.890Z] ---> Running in 1f10a880ace7 [2021-01-18T09:25:02.162Z] Removing intermediate container 1f10a880ace7 [2021-01-18T09:25:02.162Z] ---> a8af4670766e [2021-01-18T09:25:02.162Z] Step 23/24 : LABEL git_sha=d47b03cf12e2f169eefdaad978a8d5668b399891 [2021-01-18T09:25:02.432Z] ---> Running in bd1ff29d786a [2021-01-18T09:25:02.705Z] Removing intermediate container bd1ff29d786a [2021-01-18T09:25:02.705Z] ---> 35815c3c1624 [2021-01-18T09:25:02.705Z] Step 24/24 : LABEL version=2.0.0-dev.2 [2021-01-18T09:25:02.981Z] ---> Running in 0efd758ce587 [2021-01-18T09:25:03.255Z] Removing intermediate container 0efd758ce587 [2021-01-18T09:25:03.255Z] ---> 8c2c8d7f3873 [2021-01-18T09:25:03.255Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-18T09:25:03.528Z] Successfully built 8c2c8d7f3873 [2021-01-18T09:25:03.528Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-18T09:25:26.364Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.057s coverage: 9.4% of statements [2021-01-18T09:25:26.364Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.057s coverage: 21.7% of statements [2021-01-18T09:25:26.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-18T09:25:26.364Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.215s coverage: 42.9% of statements [2021-01-18T09:25:26.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-18T09:25:26.364Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.272s coverage: 68.9% of statements [2021-01-18T09:25:26.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-18T09:25:26.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-18T09:25:26.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-18T09:25:26.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-18T09:25:26.364Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.071s coverage: 53.8% of statements [2021-01-18T09:25:26.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-18T09:25:26.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-18T09:25:26.364Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.066s coverage: 25.6% of statements [2021-01-18T09:25:26.364Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.696s coverage: 68.9% of statements [2021-01-18T09:25:26.364Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements [2021-01-18T09:25:26.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-18T09:25:26.364Z] GO111MODULE=on go vet ./... [2021-01-18T09:25:34.629Z] gofmt -l . [2021-01-18T09:25:34.629Z] [ "`gofmt -l .`" = "" ] [2021-01-18T09:25:34.629Z] ./bin/test-attribution-txt.sh [2021-01-18T09:25:34.629Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-18T09:25:34.653Z] $ docker stop --time=1 cb4cf41922517a8737247ec26170381d4c1e45abeb78701cfd1fc4d2126b9731 [2021-01-18T09:25:36.711Z] $ docker rm -f cb4cf41922517a8737247ec26170381d4c1e45abeb78701cfd1fc4d2126b9731 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T09:25:37.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-18T09:25:37.528Z] Warning: overwriting stash ‘coverage-report’ [2021-01-18T09:25:37.967Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-18T09:25:38.580Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-18T09:25:38.882Z] + ls -al . [2021-01-18T09:25:38.883Z] total 224 [2021-01-18T09:25:38.883Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 18 09:25 . [2021-01-18T09:25:38.883Z] drwxrwxr-x. 4 jenkins jenkins 32 Jan 18 09:23 .. [2021-01-18T09:25:38.883Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 18 09:23 bin [2021-01-18T09:25:38.883Z] -rw-r--r--. 1 jenkins jenkins 144063 Jan 18 09:25 coverage.out [2021-01-18T09:25:38.883Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 18 09:23 Dockerfile.build [2021-01-18T09:25:38.883Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 18 09:23 .dockerignore [2021-01-18T09:25:38.883Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 18 09:23 example [2021-01-18T09:25:38.883Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 18 09:23 .git [2021-01-18T09:25:38.883Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 18 09:23 .github [2021-01-18T09:25:38.883Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 18 09:23 .gitignore [2021-01-18T09:25:38.883Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 18 09:25 go.mod [2021-01-18T09:25:38.883Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 18 09:25 go.sum [2021-01-18T09:25:38.883Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 18 09:23 internal [2021-01-18T09:25:38.883Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 18 09:23 Jenkinsfile [2021-01-18T09:25:38.883Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 18 09:23 LICENSE [2021-01-18T09:25:38.883Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 18 09:23 Makefile [2021-01-18T09:25:38.883Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 18 09:23 openapi [2021-01-18T09:25:38.883Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 18 09:23 pkg [2021-01-18T09:25:38.883Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 18 09:23 README.md [2021-01-18T09:25:38.883Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 18 09:23 RELEASE-NOTES.txt [2021-01-18T09:25:38.883Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 18 09:23 snap [2021-01-18T09:25:38.883Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 18 09:20 VERSION [2021-01-18T09:25:38.883Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 18 09:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:25:39.194Z] + 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=d47b03cf12e2f169eefdaad978a8d5668b399891 --label arch=amd64 --label version=2.0.0-dev.2 . [2021-01-18T09:25:39.458Z] Sending build context to Docker daemon 2.657MB [2021-01-18T09:25:39.458Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T09:25:39.458Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-18T09:25:39.458Z] ---> b7eca6088eee [2021-01-18T09:25:39.458Z] Step 3/24 : ARG MAKE='make build' [2021-01-18T09:25:40.034Z] ---> Running in 12519ab09d37 [2021-01-18T09:25:40.297Z] Removing intermediate container 12519ab09d37 [2021-01-18T09:25:40.297Z] ---> ae68a154c80b [2021-01-18T09:25:40.297Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-18T09:25:40.297Z] ---> Running in 2025d8a0bb55 [2021-01-18T09:25:40.297Z] Removing intermediate container 2025d8a0bb55 [2021-01-18T09:25:40.297Z] ---> f700bbe5f5fc [2021-01-18T09:25:40.297Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T09:25:40.560Z] ---> Running in cc792ba94747 [2021-01-18T09:25:40.560Z] Removing intermediate container cc792ba94747 [2021-01-18T09:25:40.560Z] ---> 1b0e1e7f233a [2021-01-18T09:25:40.560Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T09:25:40.824Z] ---> Running in 29542b80ae26 [2021-01-18T09:25:41.778Z] Removing intermediate container 29542b80ae26 [2021-01-18T09:25:41.778Z] ---> eed0af100902 [2021-01-18T09:25:41.778Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-18T09:25:41.778Z] ---> Running in 56e636e5462e [2021-01-18T09:25:42.040Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-18T09:25:42.986Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-18T09:25:43.248Z] OK: 166 MiB in 39 packages [2021-01-18T09:25:43.827Z] Removing intermediate container 56e636e5462e [2021-01-18T09:25:43.827Z] ---> ecf5bc02e137 [2021-01-18T09:25:43.827Z] Step 8/24 : COPY . . [2021-01-18T09:25:45.228Z] ---> aa92036dde69 [2021-01-18T09:25:45.228Z] Step 9/24 : RUN ${MAKE} [2021-01-18T09:25:45.228Z] ---> Running in 669ab123b94b [2021-01-18T09:25:45.497Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-18T09:25:53.796Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-18T09:25:55.723Z] Removing intermediate container 669ab123b94b [2021-01-18T09:25:55.723Z] ---> 06a13446d74b [2021-01-18T09:25:55.723Z] Step 10/24 : FROM scratch [2021-01-18T09:25:55.723Z] ---> [2021-01-18T09:25:55.723Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T09:25:55.723Z] ---> Running in 2a06f6d32607 [2021-01-18T09:25:55.723Z] Removing intermediate container 2a06f6d32607 [2021-01-18T09:25:55.723Z] ---> be9298269218 [2021-01-18T09:25:55.723Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-18T09:25:55.723Z] ---> Running in 492a13ef1035 [2021-01-18T09:25:55.723Z] Removing intermediate container 492a13ef1035 [2021-01-18T09:25:55.723Z] ---> 128aab10e3db [2021-01-18T09:25:55.723Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-18T09:25:55.985Z] ---> Running in 7f4ad882ccff [2021-01-18T09:25:55.985Z] Removing intermediate container 7f4ad882ccff [2021-01-18T09:25:55.985Z] ---> 27c1278e3b40 [2021-01-18T09:25:55.985Z] Step 14/24 : WORKDIR / [2021-01-18T09:25:55.985Z] ---> Running in 39926421e630 [2021-01-18T09:25:56.248Z] Removing intermediate container 39926421e630 [2021-01-18T09:25:56.248Z] ---> ec8310cd818c [2021-01-18T09:25:56.248Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-18T09:25:56.823Z] ---> da4ce5db1714 [2021-01-18T09:25:56.823Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-18T09:25:57.086Z] ---> c1bfa8cd2b0d [2021-01-18T09:25:57.086Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-18T09:25:57.350Z] ---> dd2769b09fa8 [2021-01-18T09:25:57.350Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-18T09:25:57.614Z] ---> f658c7545599 [2021-01-18T09:25:57.614Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-18T09:25:57.614Z] ---> 121eb0fd9166 [2021-01-18T09:25:57.614Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-18T09:25:57.877Z] ---> Running in d0fe2faa0ac4 [2021-01-18T09:25:57.877Z] Removing intermediate container d0fe2faa0ac4 [2021-01-18T09:25:57.877Z] ---> 451e61be2944 [2021-01-18T09:25:57.877Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-18T09:25:58.140Z] ---> Running in 5997f02d008d [2021-01-18T09:25:58.140Z] Removing intermediate container 5997f02d008d [2021-01-18T09:25:58.140Z] ---> 87caa1645e15 [2021-01-18T09:25:58.140Z] Step 22/24 : LABEL arch=amd64 [2021-01-18T09:25:58.404Z] ---> Running in 0c5b3ec3f3a2 [2021-01-18T09:25:58.404Z] Removing intermediate container 0c5b3ec3f3a2 [2021-01-18T09:25:58.404Z] ---> b56987798f1b [2021-01-18T09:25:58.404Z] Step 23/24 : LABEL git_sha=d47b03cf12e2f169eefdaad978a8d5668b399891 [2021-01-18T09:25:58.404Z] ---> Running in 25e13afeec7b [2021-01-18T09:25:58.667Z] Removing intermediate container 25e13afeec7b [2021-01-18T09:25:58.667Z] ---> 8d194fc4cc3b [2021-01-18T09:25:58.667Z] Step 24/24 : LABEL version=2.0.0-dev.2 [2021-01-18T09:25:58.930Z] ---> Running in 82f79f2aa0ba [2021-01-18T09:25:58.930Z] Removing intermediate container 82f79f2aa0ba [2021-01-18T09:25:58.930Z] ---> 77f8644d12a1 [2021-01-18T09:25:58.930Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-18T09:25:58.930Z] Successfully built 77f8644d12a1 [2021-01-18T09:25:58.930Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-18T09:26:01.435Z] provisioning config files... [2021-01-18T09:26:01.453Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8318947617228025466tmp [Pipeline] { [Pipeline] sh [2021-01-18T09:26:01.826Z] + set +x [2021-01-18T09:26:01.826Z] + curl -s https://codecov.io/bash [2021-01-18T09:26:01.826Z] + bash -s -- [2021-01-18T09:26:02.090Z] [2021-01-18T09:26:02.090Z] _____ _ [2021-01-18T09:26:02.090Z] / ____| | | [2021-01-18T09:26:02.090Z] | | ___ __| | ___ ___ _____ __ [2021-01-18T09:26:02.090Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-18T09:26:02.090Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-18T09:26:02.090Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-18T09:26:02.090Z] Bash-20210115-cec3c92 [2021-01-18T09:26:02.090Z] [2021-01-18T09:26:02.090Z] [2021-01-18T09:26:02.090Z] ==> git version 2.24.3 found [2021-01-18T09:26:02.090Z] ==> 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-01-18T09:26:02.090Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-18T09:26:02.090Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-18T09:26:02.090Z] ==> Jenkins CI detected. [2021-01-18T09:26:02.090Z] project root: . [2021-01-18T09:26:02.090Z] --> token set from env [2021-01-18T09:26:02.090Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-18T09:26:02.090Z] ==> Running gcov in . (disable via -X gcov) [2021-01-18T09:26:02.090Z] ==> Python coveragepy not found [2021-01-18T09:26:02.090Z] ==> Searching for coverage reports in: [2021-01-18T09:26:02.090Z] + . [2021-01-18T09:26:02.090Z] -> Found 1 reports [2021-01-18T09:26:02.090Z] ==> Detecting git/mercurial file structure [2021-01-18T09:26:02.090Z] ==> Reading reports [2021-01-18T09:26:02.090Z] + ./coverage.out bytes=144063 [2021-01-18T09:26:02.090Z] ==> Appending adjustments [2021-01-18T09:26:02.090Z] https://docs.codecov.io/docs/fixing-reports [2021-01-18T09:26:02.667Z] + Found adjustments [2021-01-18T09:26:02.667Z] ==> Gzipping contents [2021-01-18T09:26:02.667Z] 24K /tmp/codecov.V9AwtJ.gz [2021-01-18T09:26:02.667Z] ==> Uploading reports [2021-01-18T09:26:02.667Z] url: https://codecov.io [2021-01-18T09:26:02.667Z] query: branch=master&commit=d47b03cf12e2f169eefdaad978a8d5668b399891&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-18T09:26:02.667Z] -> Pinging Codecov [2021-01-18T09:26:02.667Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=d47b03cf12e2f169eefdaad978a8d5668b399891&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-18T09:26:03.241Z] -> Uploading to [2021-01-18T09:26:03.241Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-18/7E55EF52A471D76F132DFD9A03CDDE97/d47b03cf12e2f169eefdaad978a8d5668b399891/686f543b-311d-4b67-b41b-47a430f22b9a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210118T092603Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4688c209515d920ce0a9a16118ea212614e55f0eea4ee23c4ac6338a4d7e4f64 [2021-01-18T09:26:03.241Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-18T09:26:03.241Z] Dload Upload Total Spent Left Speed [2021-01-18T09:26:03.816Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22357 0 0 100 22357 0 35623 --:--:-- --:--:-- --:--:-- 35657 [2021-01-18T09:26:03.816Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d47b03cf12e2f169eefdaad978a8d5668b399891 [Pipeline] } [2021-01-18T09:26:03.826Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-18T09:26:04.750Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-18T09:26:04.806Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:26:05.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-18T09:26:05.154Z] [2021-01-18T09:26:05.154Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:26:05.506Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-18T09:26:05.506Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-18T09:26:05.506Z] 188c0c94c7c5: Pulling fs layer [2021-01-18T09:26:05.506Z] 0ef7d3d256c8: Pulling fs layer [2021-01-18T09:26:05.506Z] de9db76c5a1d: Pulling fs layer [2021-01-18T09:26:05.506Z] 0eba1c9be4d2: Pulling fs layer [2021-01-18T09:26:05.506Z] 0d57e429df01: Pulling fs layer [2021-01-18T09:26:05.506Z] 4e4be7b47b0d: Pulling fs layer [2021-01-18T09:26:05.506Z] e1f770b5df2f: Pulling fs layer [2021-01-18T09:26:05.506Z] 85a0685a4137: Pulling fs layer [2021-01-18T09:26:05.506Z] 0eba1c9be4d2: Waiting [2021-01-18T09:26:05.506Z] 0d57e429df01: Waiting [2021-01-18T09:26:05.506Z] 85a0685a4137: Waiting [2021-01-18T09:26:05.506Z] 4e4be7b47b0d: Waiting [2021-01-18T09:26:05.506Z] e1f770b5df2f: Waiting [2021-01-18T09:26:05.506Z] de9db76c5a1d: Download complete [2021-01-18T09:26:05.506Z] 0ef7d3d256c8: Verifying Checksum [2021-01-18T09:26:05.506Z] 0ef7d3d256c8: Download complete [2021-01-18T09:26:05.770Z] 0d57e429df01: Verifying Checksum [2021-01-18T09:26:05.770Z] 0d57e429df01: Download complete [2021-01-18T09:26:05.770Z] 188c0c94c7c5: Verifying Checksum [2021-01-18T09:26:05.770Z] 188c0c94c7c5: Download complete [2021-01-18T09:26:05.770Z] 4e4be7b47b0d: Download complete [2021-01-18T09:26:06.345Z] 188c0c94c7c5: Pull complete [2021-01-18T09:26:06.345Z] 0ef7d3d256c8: Pull complete [2021-01-18T09:26:06.609Z] de9db76c5a1d: Pull complete [2021-01-18T09:26:08.008Z] e1f770b5df2f: Verifying Checksum [2021-01-18T09:26:08.008Z] e1f770b5df2f: Download complete [2021-01-18T09:26:09.964Z] 0eba1c9be4d2: Verifying Checksum [2021-01-18T09:26:09.964Z] 0eba1c9be4d2: Download complete [2021-01-18T09:26:10.237Z] 85a0685a4137: Verifying Checksum [2021-01-18T09:26:10.237Z] 85a0685a4137: Download complete [2021-01-18T09:26:15.578Z] 0eba1c9be4d2: Pull complete [2021-01-18T09:26:15.843Z] 0d57e429df01: Pull complete [2021-01-18T09:26:15.843Z] 4e4be7b47b0d: Pull complete [2021-01-18T09:26:18.447Z] e1f770b5df2f: Pull complete [2021-01-18T09:26:25.104Z] 85a0685a4137: Pull complete [2021-01-18T09:26:25.104Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-18T09:26:25.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-18T09:26:25.104Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-18T09:26:25.338Z] prd-centos7-docker-4c-2g-20972 does not seem to be running inside a container [2021-01-18T09:26:25.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-18T09:26:26.367Z] $ docker top 777cf20ee3cb7c40ff19c2371422f55d482cf749d3309ffe762bcfec1fdcce67 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-18T09:26:26.590Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-18T09:26:26.884Z] + set -o pipefail [2021-01-18T09:26:26.884Z] + snyk monitor '--org=edgex-jenkins' [2021-01-18T09:26:35.068Z] [2021-01-18T09:26:35.068Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-01-18T09:26:35.068Z] [2021-01-18T09:26:35.068Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/b6dc3571-d180-4855-9075-b0dc2454f4e5 [2021-01-18T09:26:35.068Z] [2021-01-18T09:26:35.068Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-18T09:26:35.068Z] [2021-01-18T09:26:35.331Z] [Pipeline] } [2021-01-18T09:26:35.348Z] $ docker stop --time=1 777cf20ee3cb7c40ff19c2371422f55d482cf749d3309ffe762bcfec1fdcce67 [2021-01-18T09:26:37.859Z] $ docker rm -f 777cf20ee3cb7c40ff19c2371422f55d482cf749d3309ffe762bcfec1fdcce67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-01-18T09:26:39.206Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-18T09:26:39.260Z] provisioning config files... [2021-01-18T09:26:39.270Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config778837447745024808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:26:39.661Z] --> edgex-publish-swagger.sh [2021-01-18T09:26:39.661Z] === Publish openapi/v1 API === [2021-01-18T09:26:39.661Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-01-18T09:26:39.661Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-01-18T09:26:39.661Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-18T09:26:39.661Z] Dload Upload Total Spent Left Speed [2021-01-18T09:26:40.607Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 25045 --:--:-- --:--:-- --:--:-- 25027 100 19947 0 0 100 19947 0 25040 --:--:-- --:--:-- --:--:-- 25027 [2021-01-18T09:26:40.607Z] [2021-01-18T09:26:40.607Z] [2021-01-18T09:26:40.607Z] === Publish openapi/v2 API === [2021-01-18T09:26:40.607Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-01-18T09:26:40.607Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-01-18T09:26:40.607Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-18T09:26:40.607Z] Dload Upload Total Spent Left Speed [2021-01-18T09:26:41.182Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52524 0 0 100 52524 0 71283 --:--:-- --:--:-- --:--:-- 71267 100 52524 0 0 100 52524 0 71260 --:--:-- --:--:-- --:--:-- 71267 [2021-01-18T09:26:41.182Z] [2021-01-18T09:26:41.182Z] [Pipeline] } [2021-01-18T09:26:41.192Z] 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-01-18T09:26:42.054Z] + git log --format=format:%s -1 d47b03cf12e2f169eefdaad978a8d5668b399891 [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:26:42.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T09:26:42.366Z] . [Pipeline] withDockerContainer [2021-01-18T09:26:42.483Z] prd-centos7-docker-4c-2g-20972 does not seem to be running inside a container [2021-01-18T09:26:42.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-18T09:26:43.387Z] $ docker top ff83b6508c54af0826c9ded627c121d6807567dff88fc60bc132ba9ff9056842 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-18T09:26:43.722Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T09:26:43.722Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T09:26:44.007Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T09:26:44.011Z] $ docker exec ff83b6508c54af0826c9ded627c121d6807567dff88fc60bc132ba9ff9056842 ssh-agent [2021-01-18T09:26:44.182Z] SSH_AUTH_SOCK=/tmp/ssh-IF4zS4Ba2lyU/agent.11 [2021-01-18T09:26:44.182Z] SSH_AGENT_PID=16 [2021-01-18T09:26:44.191Z] Running ssh-add (command line suppressed) [2021-01-18T09:26:44.326Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_126985051426084800.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_126985051426084800.key) [2021-01-18T09:26:44.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T09:26:44.714Z] + git semver tag [2021-01-18T09:26:44.714Z] # -> Open(): unable to determine branch for HEAD [2021-01-18T09:26:44.714Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-18T09:26:44.714Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-18T09:26:44.714Z] # $SEMVER_REMOTE_NAME = origin [2021-01-18T09:26:44.714Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-18T09:26:44.714Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-18T09:26:44.714Z] # $SEMVER_BRANCH = master [2021-01-18T09:26:44.714Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-18T09:26:44.714Z] # d47b03cf12e2f169eefdaad978a8d5668b399891 HEAD [2021-01-18T09:26:44.714Z] # -> Force: false [2021-01-18T09:26:44.714Z] # e511458a09575ba781e945036377bfd3975e4287 refs/tags/v2.0.0-dev.2 [Pipeline] } [2021-01-18T09:26:44.727Z] $ docker exec --env ******** --env ******** ff83b6508c54af0826c9ded627c121d6807567dff88fc60bc132ba9ff9056842 ssh-agent -k [2021-01-18T09:26:44.858Z] unset SSH_AUTH_SOCK; [2021-01-18T09:26:44.858Z] unset SSH_AGENT_PID; [2021-01-18T09:26:44.859Z] echo Agent pid 16 killed; [2021-01-18T09:26:44.908Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-18T09:26:45.401Z] + git semver [Pipeline] } [2021-01-18T09:26:45.419Z] $ docker stop --time=1 ff83b6508c54af0826c9ded627c121d6807567dff88fc60bc132ba9ff9056842 [2021-01-18T09:26:46.759Z] $ docker rm -f ff83b6508c54af0826c9ded627c121d6807567dff88fc60bc132ba9ff9056842 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:26:47.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-18T09:26:47.376Z] [2021-01-18T09:26:47.376Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:26:47.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-18T09:26:47.732Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-18T09:26:47.732Z] ab5ef0e58194: Pulling fs layer [2021-01-18T09:26:47.732Z] 9712f1f96733: Pulling fs layer [2021-01-18T09:26:47.732Z] 63f879dbbcfc: Pulling fs layer [2021-01-18T09:26:47.732Z] 0d9ebad4ef96: Pulling fs layer [2021-01-18T09:26:47.732Z] e9a5061849ea: Pulling fs layer [2021-01-18T09:26:47.732Z] d747dcd14b5f: Pulling fs layer [2021-01-18T09:26:47.732Z] 2de7ff778b66: Pulling fs layer [2021-01-18T09:26:47.732Z] 0d9ebad4ef96: Waiting [2021-01-18T09:26:47.732Z] e9a5061849ea: Waiting [2021-01-18T09:26:47.732Z] d747dcd14b5f: Waiting [2021-01-18T09:26:47.732Z] 2de7ff778b66: Waiting [2021-01-18T09:26:47.732Z] 9712f1f96733: Verifying Checksum [2021-01-18T09:26:47.732Z] 9712f1f96733: Download complete [2021-01-18T09:26:50.295Z] 63f879dbbcfc: Download complete [2021-01-18T09:26:50.560Z] e9a5061849ea: Verifying Checksum [2021-01-18T09:26:50.560Z] e9a5061849ea: Download complete [2021-01-18T09:26:50.560Z] d747dcd14b5f: Download complete [2021-01-18T09:26:51.143Z] 2de7ff778b66: Verifying Checksum [2021-01-18T09:26:51.143Z] 2de7ff778b66: Download complete [2021-01-18T09:26:51.143Z] ab5ef0e58194: Verifying Checksum [2021-01-18T09:26:51.143Z] ab5ef0e58194: Download complete [2021-01-18T09:26:51.410Z] 0d9ebad4ef96: Verifying Checksum [2021-01-18T09:26:51.410Z] 0d9ebad4ef96: Download complete [2021-01-18T09:26:56.910Z] ab5ef0e58194: Pull complete [2021-01-18T09:26:56.911Z] 9712f1f96733: Pull complete [2021-01-18T09:26:59.471Z] 63f879dbbcfc: Pull complete [2021-01-18T09:27:06.104Z] 0d9ebad4ef96: Pull complete [2021-01-18T09:27:08.664Z] e9a5061849ea: Pull complete [2021-01-18T09:27:08.664Z] d747dcd14b5f: Pull complete [2021-01-18T09:27:09.625Z] 2de7ff778b66: Pull complete [2021-01-18T09:27:09.890Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-18T09:27:09.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-18T09:27:09.890Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-18T09:27:10.100Z] prd-centos7-docker-4c-2g-20972 does not seem to be running inside a container [2021-01-18T09:27:10.150Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-18T09:27:14.989Z] $ docker top c38474b336d479641cb900a97d864c0545499a85f25ec9c2e3e31d5f0080a8d7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-18T09:27:15.295Z] provisioning config files... [2021-01-18T09:27:15.307Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1052289561133883202tmp [2021-01-18T09:27:15.323Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3083907516061311249tmp [2021-01-18T09:27:15.340Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3080331632306800104tmp [Pipeline] { [Pipeline] echo [2021-01-18T09:27:15.411Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:27:15.714Z] ---> sigul-configuration.sh [2021-01-18T09:27:15.714Z] gpg: directory `/root/.gnupg' created [2021-01-18T09:27:15.714Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-18T09:27:15.714Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-18T09:27:15.714Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-18T09:27:15.714Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-18T09:27:15.714Z] gpg: CAST5 encrypted data [2021-01-18T09:27:15.976Z] gpg: encrypted with 1 passphrase [2021-01-18T09:27:15.977Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-18T09:27:16.278Z] + mkdir /home/jenkins [2021-01-18T09:27:16.278Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-18T09:27:16.585Z] + 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-01-18T09:27:16.597Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:27:16.900Z] ---> sigul-install.sh [2021-01-18T09:27:22.209Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-18T09:27:22.511Z] + git tag --list [2021-01-18T09:27:22.511Z] 0.7.1 [2021-01-18T09:27:22.511Z] delhi-tag [2021-01-18T09:27:22.511Z] v1.0.0 [2021-01-18T09:27:22.511Z] v1.1.0 [2021-01-18T09:27:22.511Z] v1.1.1 [2021-01-18T09:27:22.511Z] v1.1.2 [2021-01-18T09:27:22.511Z] v1.2.0 [2021-01-18T09:27:22.511Z] v1.2.1 [2021-01-18T09:27:22.511Z] v1.2.2 [2021-01-18T09:27:22.511Z] v1.2.3 [2021-01-18T09:27:22.511Z] v1.2.4-dev.1 [2021-01-18T09:27:22.511Z] v1.2.4-dev.10 [2021-01-18T09:27:22.511Z] v1.2.4-dev.11 [2021-01-18T09:27:22.511Z] v1.2.4-dev.12 [2021-01-18T09:27:22.511Z] v1.2.4-dev.13 [2021-01-18T09:27:22.511Z] v1.2.4-dev.14 [2021-01-18T09:27:22.511Z] v1.2.4-dev.15 [2021-01-18T09:27:22.511Z] v1.2.4-dev.16 [2021-01-18T09:27:22.511Z] v1.2.4-dev.17 [2021-01-18T09:27:22.511Z] v1.2.4-dev.18 [2021-01-18T09:27:22.511Z] v1.2.4-dev.19 [2021-01-18T09:27:22.511Z] v1.2.4-dev.2 [2021-01-18T09:27:22.511Z] v1.2.4-dev.20 [2021-01-18T09:27:22.511Z] v1.2.4-dev.21 [2021-01-18T09:27:22.511Z] v1.2.4-dev.22 [2021-01-18T09:27:22.511Z] v1.2.4-dev.23 [2021-01-18T09:27:22.511Z] v1.2.4-dev.24 [2021-01-18T09:27:22.511Z] v1.2.4-dev.25 [2021-01-18T09:27:22.511Z] v1.2.4-dev.26 [2021-01-18T09:27:22.511Z] v1.2.4-dev.27 [2021-01-18T09:27:22.511Z] v1.2.4-dev.28 [2021-01-18T09:27:22.511Z] v1.2.4-dev.29 [2021-01-18T09:27:22.511Z] v1.2.4-dev.3 [2021-01-18T09:27:22.511Z] v1.2.4-dev.30 [2021-01-18T09:27:22.511Z] v1.2.4-dev.31 [2021-01-18T09:27:22.511Z] v1.2.4-dev.32 [2021-01-18T09:27:22.511Z] v1.2.4-dev.33 [2021-01-18T09:27:22.511Z] v1.2.4-dev.34 [2021-01-18T09:27:22.511Z] v1.2.4-dev.35 [2021-01-18T09:27:22.511Z] v1.2.4-dev.4 [2021-01-18T09:27:22.511Z] v1.2.4-dev.5 [2021-01-18T09:27:22.511Z] v1.2.4-dev.6 [2021-01-18T09:27:22.511Z] v1.2.4-dev.7 [2021-01-18T09:27:22.511Z] v1.2.4-dev.8 [2021-01-18T09:27:22.511Z] v1.2.4-dev.9 [2021-01-18T09:27:22.511Z] v1.3.0 [2021-01-18T09:27:22.511Z] v1.3.1-dev.1 [2021-01-18T09:27:22.511Z] v1.3.1-dev.10 [2021-01-18T09:27:22.511Z] v1.3.1-dev.2 [2021-01-18T09:27:22.511Z] v1.3.1-dev.3 [2021-01-18T09:27:22.511Z] v1.3.1-dev.4 [2021-01-18T09:27:22.511Z] v1.3.1-dev.5 [2021-01-18T09:27:22.511Z] v1.3.1-dev.6 [2021-01-18T09:27:22.511Z] v1.3.1-dev.7 [2021-01-18T09:27:22.511Z] v1.3.1-dev.8 [2021-01-18T09:27:22.511Z] v1.3.1-dev.9 [2021-01-18T09:27:22.511Z] v1.4.0 [2021-01-18T09:27:22.511Z] v1.4.1-dev.1 [2021-01-18T09:27:22.511Z] v1.4.1-dev.2 [2021-01-18T09:27:22.511Z] v1.4.1-dev.3 [2021-01-18T09:27:22.511Z] v1.4.1-dev.4 [2021-01-18T09:27:22.511Z] v1.4.1-dev.5 [2021-01-18T09:27:22.511Z] v1.4.1-dev.6 [2021-01-18T09:27:22.511Z] v1.4.1-dev.7 [2021-01-18T09:27:22.511Z] v2.0.0-dev.1 [2021-01-18T09:27:22.511Z] v2.0.0-dev.2 [Pipeline] sh [2021-01-18T09:27:22.810Z] + lftools sign git-tag v2.0.0-dev.2 [2021-01-18T09:27:24.203Z] Signing Git tag with Sigul... [2021-01-18T09:27:24.203Z] Signing v2.0.0-dev.2 [Pipeline] echo [2021-01-18T09:27:25.166Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:27:25.469Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-18T09:27:25.478Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-18T09:27:25.631Z] $ docker stop --time=1 c38474b336d479641cb900a97d864c0545499a85f25ec9c2e3e31d5f0080a8d7 [2021-01-18T09:27:27.674Z] $ docker rm -f c38474b336d479641cb900a97d864c0545499a85f25ec9c2e3e31d5f0080a8d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:27:28.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T09:27:28.640Z] . [Pipeline] withDockerContainer [2021-01-18T09:27:28.738Z] prd-centos7-docker-4c-2g-20972 does not seem to be running inside a container [2021-01-18T09:27:28.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-18T09:27:29.428Z] $ docker top 4c1c66a6f2d22e098cd305588def278a9c21df38c1a05421d908ad704bccc2b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-18T09:27:29.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T09:27:29.756Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T09:27:29.955Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T09:27:29.960Z] $ docker exec 4c1c66a6f2d22e098cd305588def278a9c21df38c1a05421d908ad704bccc2b1 ssh-agent [2021-01-18T09:27:30.146Z] SSH_AUTH_SOCK=/tmp/ssh-1VKoXMGxlIHl/agent.11 [2021-01-18T09:27:30.146Z] SSH_AGENT_PID=17 [2021-01-18T09:27:30.153Z] Running ssh-add (command line suppressed) [2021-01-18T09:27:30.285Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_717028443039231529.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_717028443039231529.key) [2021-01-18T09:27:30.349Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T09:27:30.689Z] + git semver bump pre [2021-01-18T09:27:30.689Z] # -> Open(): unable to determine branch for HEAD [2021-01-18T09:27:30.689Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-18T09:27:30.689Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-18T09:27:30.689Z] # $SEMVER_REMOTE_NAME = origin [2021-01-18T09:27:30.689Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-18T09:27:30.689Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-18T09:27:30.689Z] # $SEMVER_BRANCH = master [2021-01-18T09:27:30.689Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-18T09:27:30.689Z] 2.0.0-dev.3 [Pipeline] } [2021-01-18T09:27:30.703Z] $ docker exec --env ******** --env ******** 4c1c66a6f2d22e098cd305588def278a9c21df38c1a05421d908ad704bccc2b1 ssh-agent -k [2021-01-18T09:27:30.881Z] unset SSH_AUTH_SOCK; [2021-01-18T09:27:30.882Z] unset SSH_AGENT_PID; [2021-01-18T09:27:30.882Z] echo Agent pid 17 killed; [2021-01-18T09:27:30.947Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-18T09:27:31.451Z] + git semver [Pipeline] } [2021-01-18T09:27:31.469Z] $ docker stop --time=1 4c1c66a6f2d22e098cd305588def278a9c21df38c1a05421d908ad704bccc2b1 [2021-01-18T09:27:32.879Z] $ docker rm -f 4c1c66a6f2d22e098cd305588def278a9c21df38c1a05421d908ad704bccc2b1 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:27:33.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T09:27:33.436Z] . [Pipeline] withDockerContainer [2021-01-18T09:27:33.534Z] prd-centos7-docker-4c-2g-20972 does not seem to be running inside a container [2021-01-18T09:27:33.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-18T09:27:34.384Z] $ docker top c2037b8bd33b29c8a77260710a9317a7e8c875c1a4608401f1c5a8e277075ff1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-18T09:27:34.682Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T09:27:34.682Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T09:27:34.914Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T09:27:34.920Z] $ docker exec c2037b8bd33b29c8a77260710a9317a7e8c875c1a4608401f1c5a8e277075ff1 ssh-agent [2021-01-18T09:27:35.113Z] SSH_AUTH_SOCK=/tmp/ssh-bGwwIZGGXMtr/agent.12 [2021-01-18T09:27:35.113Z] SSH_AGENT_PID=17 [2021-01-18T09:27:35.121Z] Running ssh-add (command line suppressed) [2021-01-18T09:27:35.253Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6792302410171703074.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6792302410171703074.key) [2021-01-18T09:27:35.313Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T09:27:35.651Z] + git semver push [2021-01-18T09:27:35.651Z] # -> Open(): unable to determine branch for HEAD [2021-01-18T09:27:35.651Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-18T09:27:35.651Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-18T09:27:35.651Z] # $SEMVER_REMOTE_NAME = origin [2021-01-18T09:27:35.651Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-18T09:27:35.651Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-18T09:27:35.651Z] # $SEMVER_BRANCH = master [2021-01-18T09:27:35.651Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-18T09:27:43.823Z] $ docker exec --env ******** --env ******** c2037b8bd33b29c8a77260710a9317a7e8c875c1a4608401f1c5a8e277075ff1 ssh-agent -k [2021-01-18T09:27:43.944Z] unset SSH_AUTH_SOCK; [2021-01-18T09:27:43.948Z] unset SSH_AGENT_PID; [2021-01-18T09:27:43.948Z] echo Agent pid 17 killed; [2021-01-18T09:27:43.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-18T09:27:44.504Z] + git semver [Pipeline] } [2021-01-18T09:27:44.522Z] $ docker stop --time=1 c2037b8bd33b29c8a77260710a9317a7e8c875c1a4608401f1c5a8e277075ff1 [2021-01-18T09:27:45.887Z] $ docker rm -f c2037b8bd33b29c8a77260710a9317a7e8c875c1a4608401f1c5a8e277075ff1 [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-01-18T09:27:47.359Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:27:47.926Z] ---> package-listing.sh [2021-01-18T09:27:47.926Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-18T09:27:47.926Z] ++ facter osfamily [2021-01-18T09:27:47.926Z] + OS_FAMILY=redhat [2021-01-18T09:27:47.926Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-01-18T09:27:47.926Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-18T09:27:47.926Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-18T09:27:47.926Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-18T09:27:47.926Z] + PACKAGES=/tmp/packages_start.txt [2021-01-18T09:27:47.926Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-18T09:27:47.926Z] + PACKAGES=/tmp/packages_end.txt [2021-01-18T09:27:47.926Z] + case "${OS_FAMILY}" in [2021-01-18T09:27:47.926Z] + rpm -qa [2021-01-18T09:27:47.926Z] + sort [2021-01-18T09:27:53.351Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-18T09:27:53.351Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-18T09:27:53.351Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-18T09:27:53.351Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-18T09:27:53.351Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-01-18T09:27:53.351Z] + 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-01-18T09:27:53.365Z] 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-01-18T09:27:53.656Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:27:53.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T09:27:53.959Z] [2021-01-18T09:27:53.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-18T09:27:54.295Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T09:27:54.295Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-18T09:27:54.295Z] df20fa9351a1: Pulling fs layer [2021-01-18T09:27:54.295Z] 36b3adc4ff6f: Pulling fs layer [2021-01-18T09:27:54.295Z] 8ad3a11d3b57: Pulling fs layer [2021-01-18T09:27:54.295Z] 46f8f816bc3b: Pulling fs layer [2021-01-18T09:27:54.295Z] 93b61091891f: Pulling fs layer [2021-01-18T09:27:54.295Z] 93b9cdb0e59b: Pulling fs layer [2021-01-18T09:27:54.295Z] 5e14af77c1be: Pulling fs layer [2021-01-18T09:27:54.295Z] 01666e4c0597: Pulling fs layer [2021-01-18T09:27:54.295Z] aa168da1d23b: Pulling fs layer [2021-01-18T09:27:54.295Z] 01666e4c0597: Waiting [2021-01-18T09:27:54.295Z] aa168da1d23b: Waiting [2021-01-18T09:27:54.295Z] 5e14af77c1be: Waiting [2021-01-18T09:27:54.295Z] 93b61091891f: Waiting [2021-01-18T09:27:54.295Z] 93b9cdb0e59b: Waiting [2021-01-18T09:27:54.295Z] 46f8f816bc3b: Waiting [2021-01-18T09:27:54.295Z] 36b3adc4ff6f: Download complete [2021-01-18T09:27:54.564Z] 46f8f816bc3b: Verifying Checksum [2021-01-18T09:27:54.564Z] 46f8f816bc3b: Download complete [2021-01-18T09:27:54.564Z] df20fa9351a1: Verifying Checksum [2021-01-18T09:27:54.564Z] df20fa9351a1: Download complete [2021-01-18T09:27:54.564Z] 93b61091891f: Download complete [2021-01-18T09:27:54.564Z] 93b9cdb0e59b: Verifying Checksum [2021-01-18T09:27:54.564Z] 93b9cdb0e59b: Download complete [2021-01-18T09:27:54.564Z] 01666e4c0597: Verifying Checksum [2021-01-18T09:27:54.564Z] 01666e4c0597: Download complete [2021-01-18T09:27:54.564Z] 5e14af77c1be: Verifying Checksum [2021-01-18T09:27:54.564Z] 5e14af77c1be: Download complete [2021-01-18T09:27:55.139Z] df20fa9351a1: Pull complete [2021-01-18T09:27:55.403Z] 36b3adc4ff6f: Pull complete [2021-01-18T09:27:55.670Z] 8ad3a11d3b57: Verifying Checksum [2021-01-18T09:27:55.670Z] 8ad3a11d3b57: Download complete [2021-01-18T09:27:57.600Z] 8ad3a11d3b57: Pull complete [2021-01-18T09:27:57.600Z] aa168da1d23b: Verifying Checksum [2021-01-18T09:27:57.600Z] aa168da1d23b: Download complete [2021-01-18T09:27:57.600Z] 46f8f816bc3b: Pull complete [2021-01-18T09:27:58.176Z] 93b61091891f: Pull complete [2021-01-18T09:27:58.176Z] 93b9cdb0e59b: Pull complete [2021-01-18T09:27:58.440Z] 5e14af77c1be: Pull complete [2021-01-18T09:27:58.440Z] 01666e4c0597: Pull complete [2021-01-18T09:28:06.632Z] aa168da1d23b: Pull complete [2021-01-18T09:28:06.632Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-18T09:28:06.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T09:28:06.632Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-18T09:28:06.806Z] prd-centos7-docker-4c-2g-20972 does not seem to be running inside a container [2021-01-18T09:28:06.855Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-18T09:28:09.659Z] $ docker top 306e47ecfab12facb837f0c2c939801e4a413b31945ca523740cb7cc323944b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T09:28:10.198Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-18T09:28:10.495Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-18T09:28:10.793Z] + ls /var/log/sa-host [2021-01-18T09:28:10.793Z] + sadf -c /var/log/sa-host/sa18 [2021-01-18T09:28:10.793Z] file_magic: OK [2021-01-18T09:28:10.793Z] HZ: Using current value: 100 [2021-01-18T09:28:10.793Z] file_header: OK [2021-01-18T09:28:10.793Z] 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-01-18T09:28:10.793Z] Statistics: [2021-01-18T09:28:10.793Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-18T09:28:10.793Z] File successfully converted to sysstat format version 12.2.1 [2021-01-18T09:28:10.793Z] + sadf -c /var/log/sa-host/sa23 [2021-01-18T09:28:10.793Z] file_magic: OK [2021-01-18T09:28:10.793Z] HZ: Using current value: 100 [2021-01-18T09:28:10.793Z] file_header: OK [2021-01-18T09:28:10.793Z] 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-01-18T09:28:10.793Z] Statistics: [2021-01-18T09:28:10.793Z] Hnuu...uuuununununu... [2021-01-18T09:28:10.793Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-18T09:28:12.919Z] provisioning config files... [2021-01-18T09:28:12.941Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1558824523201765419tmp [Pipeline] { [Pipeline] echo [2021-01-18T09:28:13.002Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:28:13.297Z] ---> create-netrc.sh [Pipeline] } [2021-01-18T09:28:13.307Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-18T09:28:13.390Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:28:13.685Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-18T09:28:13.696Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:28:13.992Z] ---> sudo-logs.sh [2021-01-18T09:28:13.992Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-18T09:28:14.002Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:28:14.298Z] ---> job-cost.sh [2021-01-18T09:28:14.298Z] lf-activate-venv: SKIPPING [2021-01-18T09:28:14.298Z] INFO: No Stack... [2021-01-18T09:28:15.264Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-18T09:28:15.852Z] INFO: Archiving Costs [Pipeline] echo [2021-01-18T09:28:15.871Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T09:28:16.178Z] ---> logs-deploy.sh [2021-01-18T09:28:16.178Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/107 [2021-01-18T09:28:16.178Z] INFO: archiving workspace using pattern(s): [2021-01-18T09:28:18.113Z] Archives upload complete. [2021-01-18T09:28:18.113Z] INFO: archiving logs to Nexus