Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3c425af093304cd635dd4d13aa8de6855cdd3d8b 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19248 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 3c425af093304cd635dd4d13aa8de6855cdd3d8b (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 3c425af093304cd635dd4d13aa8de6855cdd3d8b # timeout=10 Commit message: "Merge pull request #707 from lenny-intel/SecretProvider" > git rev-list --no-walk 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-09T13:08:03.987Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-09T13:08:04.231Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-09T13:08:04.329Z] ========================================================= [2021-01-09T13:08:04.329Z] EdgeX Global Pipelines Version Info [2021-01-09T13:08:04.329Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:08:05.872Z] ------------------- [2021-01-09T13:08:05.872Z] stable info: [2021-01-09T13:08:05.872Z] ------------------- [2021-01-09T13:08:05.872Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-09T13:08:05.872Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-09T13:08:05.872Z] Message: update stable to v1.0.173 [2021-01-09T13:08:06.843Z] ------------------- [2021-01-09T13:08:06.843Z] experimental info: [2021-01-09T13:08:06.843Z] ------------------- [2021-01-09T13:08:06.843Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-09T13:08:06.843Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-09T13:08:06.843Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-09T13:08:07.177Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-09T13:08:07.295Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-09T13:08:07.401Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-09T13:08:07.494Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-09T13:08:07.587Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-09T13:08:07.684Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-09T13:08:07.775Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-09T13:08:07.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-09T13:08:07.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-09T13:08:08.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-09T13:08:08.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-09T13:08:08.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-09T13:08:08.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-09T13:08:08.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-09T13:08:08.656Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-09T13:08:08.763Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-09T13:08:08.867Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-09T13:08:08.968Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-09T13:08:09.061Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-09T13:08:09.156Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-09T13:08:09.263Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-09T13:08:09.368Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-09T13:08:09.464Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-09T13:08:09.552Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-09T13:08:09.658Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-09T13:08:09.749Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-09T13:08:09.846Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-09T13:08:09.958Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-09T13:08:10.125Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-09T13:08:10.243Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-09T13:08:10.379Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c425af093304cd635dd4d13aa8de6855cdd3d8b [Pipeline] echo [2021-01-09T13:08:10.509Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c425af [Pipeline] echo [2021-01-09T13:08:10.640Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-09T13:08:10.840Z] provisioning config files... [2021-01-09T13:08:10.885Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5560917772013450518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:08:11.263Z] ---> docker-login.sh [2021-01-09T13:08:11.263Z] nexus3.edgexfoundry.org:10001 [2021-01-09T13:08:11.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:08:11.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:08:11.792Z] Configure a credential helper to remove this warning. See [2021-01-09T13:08:11.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:08:11.792Z] [2021-01-09T13:08:11.792Z] Login Succeeded [2021-01-09T13:08:11.792Z] nexus3.edgexfoundry.org:10002 [2021-01-09T13:08:11.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:08:11.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:08:11.792Z] Configure a credential helper to remove this warning. See [2021-01-09T13:08:11.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:08:11.792Z] [2021-01-09T13:08:11.792Z] Login Succeeded [2021-01-09T13:08:11.792Z] nexus3.edgexfoundry.org:10003 [2021-01-09T13:08:12.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:08:12.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:08:12.057Z] Configure a credential helper to remove this warning. See [2021-01-09T13:08:12.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:08:12.057Z] [2021-01-09T13:08:12.057Z] Login Succeeded [2021-01-09T13:08:12.057Z] nexus3.edgexfoundry.org:10004 [2021-01-09T13:08:12.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:08:12.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:08:12.321Z] Configure a credential helper to remove this warning. See [2021-01-09T13:08:12.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:08:12.321Z] [2021-01-09T13:08:12.321Z] Login Succeeded [2021-01-09T13:08:12.321Z] docker.io [2021-01-09T13:08:12.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:08:12.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:08:12.584Z] Configure a credential helper to remove this warning. See [2021-01-09T13:08:12.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:08:12.584Z] [2021-01-09T13:08:12.584Z] Login Succeeded [2021-01-09T13:08:12.584Z] ---> docker-login.sh ends [Pipeline] } [2021-01-09T13:08:12.599Z] 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-09T13:08:13.603Z] + git log --format=format:%s -1 3c425af093304cd635dd4d13aa8de6855cdd3d8b [Pipeline] echo [2021-01-09T13:08:13.671Z] GIT_COMMIT: 3c425af093304cd635dd4d13aa8de6855cdd3d8b, Commit Message: Merge pull request #707 from lenny-intel/SecretProvider [Pipeline] echo [2021-01-09T13:08:13.717Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:08:14.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-09T13:08:14.314Z] [2021-01-09T13:08:14.314Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:08:14.691Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-09T13:08:14.691Z] latest: Pulling from edgex-devops/git-semver [2021-01-09T13:08:14.691Z] 31603596830f: Pulling fs layer [2021-01-09T13:08:14.691Z] 2a8b12db71e7: Pulling fs layer [2021-01-09T13:08:14.691Z] 6ca5941a6612: Pulling fs layer [2021-01-09T13:08:14.691Z] ecc8261a40a4: Pulling fs layer [2021-01-09T13:08:14.691Z] ecc8261a40a4: Waiting [2021-01-09T13:08:14.691Z] 2a8b12db71e7: Verifying Checksum [2021-01-09T13:08:14.691Z] 2a8b12db71e7: Download complete [2021-01-09T13:08:14.691Z] 31603596830f: Download complete [2021-01-09T13:08:14.955Z] 6ca5941a6612: Verifying Checksum [2021-01-09T13:08:14.955Z] 6ca5941a6612: Download complete [2021-01-09T13:08:14.955Z] ecc8261a40a4: Verifying Checksum [2021-01-09T13:08:14.955Z] ecc8261a40a4: Download complete [2021-01-09T13:08:15.222Z] 31603596830f: Pull complete [2021-01-09T13:08:15.222Z] 2a8b12db71e7: Pull complete [2021-01-09T13:08:16.190Z] 6ca5941a6612: Pull complete [2021-01-09T13:08:16.454Z] ecc8261a40a4: Pull complete [2021-01-09T13:08:16.454Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-09T13:08:16.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-09T13:08:16.454Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-09T13:08:16.594Z] prd-centos7-docker-4c-2g-19248 does not seem to be running inside a container [2021-01-09T13:08:16.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-09T13:08:18.939Z] $ docker top fa46c2247617f4e2d82a078e39af6fcb4b400fba734112ea67b3b8d04f09dd78 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-09T13:08:19.242Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-09T13:08:19.242Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-09T13:08:19.471Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-09T13:08:19.476Z] $ docker exec fa46c2247617f4e2d82a078e39af6fcb4b400fba734112ea67b3b8d04f09dd78 ssh-agent [2021-01-09T13:08:19.657Z] SSH_AUTH_SOCK=/tmp/ssh-Ahnt37AkLoe8/agent.11 [2021-01-09T13:08:19.657Z] SSH_AGENT_PID=17 [2021-01-09T13:08:19.667Z] Running ssh-add (command line suppressed) [2021-01-09T13:08:19.792Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2750169395141389388.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2750169395141389388.key) [2021-01-09T13:08:19.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-09T13:08:20.191Z] + git tag --points-at HEAD [Pipeline] } [2021-01-09T13:08:20.212Z] $ docker exec --env ******** --env ******** fa46c2247617f4e2d82a078e39af6fcb4b400fba734112ea67b3b8d04f09dd78 ssh-agent -k [2021-01-09T13:08:20.332Z] unset SSH_AUTH_SOCK; [2021-01-09T13:08:20.332Z] unset SSH_AGENT_PID; [2021-01-09T13:08:20.332Z] echo Agent pid 17 killed; [2021-01-09T13:08:20.386Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-09T13:08:20.559Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-09T13:08:20.560Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-09T13:08:20.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-09T13:08:20.743Z] $ docker exec fa46c2247617f4e2d82a078e39af6fcb4b400fba734112ea67b3b8d04f09dd78 ssh-agent [2021-01-09T13:08:20.921Z] SSH_AUTH_SOCK=/tmp/ssh-ZQzHYD9LNHYP/agent.45 [2021-01-09T13:08:20.921Z] SSH_AGENT_PID=50 [2021-01-09T13:08:20.928Z] Running ssh-add (command line suppressed) [2021-01-09T13:08:21.050Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_915617071688938443.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_915617071688938443.key) [2021-01-09T13:08:21.108Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-09T13:08:21.442Z] + git semver init [2021-01-09T13:08:21.443Z] # -> Open(): unable to determine branch for HEAD [2021-01-09T13:08:21.443Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-09T13:08:21.443Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-09T13:08:21.443Z] # $SEMVER_REMOTE_NAME = origin [2021-01-09T13:08:21.443Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-09T13:08:21.443Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-09T13:08:21.443Z] # $SEMVER_BRANCH = master [2021-01-09T13:08:21.443Z] # $SEMVER_TEMP = /tmp/semver-188905041 [2021-01-09T13:08:21.443Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-09T13:08:22.020Z] # '/tmp/semver-188905041' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-01-09T13:08:22.283Z] # -> Force: false [2021-01-09T13:08:22.283Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-09T13:08:22.298Z] $ docker exec --env ******** --env ******** fa46c2247617f4e2d82a078e39af6fcb4b400fba734112ea67b3b8d04f09dd78 ssh-agent -k [2021-01-09T13:08:22.441Z] unset SSH_AUTH_SOCK; [2021-01-09T13:08:22.442Z] unset SSH_AGENT_PID; [2021-01-09T13:08:22.442Z] echo Agent pid 50 killed; [2021-01-09T13:08:22.508Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-09T13:08:22.990Z] + git semver [Pipeline] } [2021-01-09T13:08:23.008Z] $ docker stop --time=1 fa46c2247617f4e2d82a078e39af6fcb4b400fba734112ea67b3b8d04f09dd78 [2021-01-09T13:08:24.580Z] $ docker rm -f fa46c2247617f4e2d82a078e39af6fcb4b400fba734112ea67b3b8d04f09dd78 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-09T13:08:25.117Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-09T13:08:25.535Z] Stashed 1 file(s) [Pipeline] echo [2021-01-09T13:08:25.537Z] [edgeXSemver]: initialized semver on version 1.4.1-dev.3 [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-09T13:08:41.114Z] Still waiting to schedule task [2021-01-09T13:08:41.115Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19249’ is offline; ‘prd-centos7-docker-4c-2g-19250’ is offline; ‘prd-centos7-docker-4c-2g-19251’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-09T13:08:41.117Z] Still waiting to schedule task [2021-01-09T13:08:41.118Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-09T13:09:35.719Z] Running on prd-centos7-docker-4c-2g-19252 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-09T13:09:35.770Z] Running in /w/workspace/device-sdk-go/101 [Pipeline] { [Pipeline] checkout [2021-01-09T13:09:38.437Z] using credential edgex-jenkins-ssh [2021-01-09T13:09:38.490Z] Cloning the remote Git repository [2021-01-09T13:09:38.164Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-09T13:09:38.236Z] > git init /w/workspace/device-sdk-go/101 # timeout=10 [2021-01-09T13:09:38.306Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-09T13:09:38.306Z] > git --version # timeout=10 [2021-01-09T13:09:38.314Z] > git --version # 'git version 2.24.3' [2021-01-09T13:09:38.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-09T13:09:38.344Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-09T13:09:40.199Z] Checking out Revision 3c425af093304cd635dd4d13aa8de6855cdd3d8b (master) [2021-01-09T13:09:39.451Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-09T13:09:39.459Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-09T13:09:39.473Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-09T13:09:39.485Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-09T13:09:39.486Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-09T13:09:39.491Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-09T13:09:39.994Z] > git config core.sparsecheckout # timeout=10 [2021-01-09T13:09:39.999Z] > git checkout -f 3c425af093304cd635dd4d13aa8de6855cdd3d8b # timeout=10 [2021-01-09T13:09:43.715Z] Commit message: "Merge pull request #707 from lenny-intel/SecretProvider" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-09T13:09:44.885Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-09T13:09:45.216Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-09T13:09:45.519Z] + sudo service docker restart [2021-01-09T13:09:45.519Z] + true [2021-01-09T13:09:45.519Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-09T13:09:46.990Z] provisioning config files... [2021-01-09T13:09:47.049Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/101@tmp/config6059080623731938650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:09:47.402Z] ---> docker-login.sh [2021-01-09T13:09:47.402Z] nexus3.edgexfoundry.org:10001 [2021-01-09T13:09:47.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:09:47.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:09:47.665Z] Configure a credential helper to remove this warning. See [2021-01-09T13:09:47.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:09:47.665Z] [2021-01-09T13:09:47.665Z] Login Succeeded [2021-01-09T13:09:47.665Z] nexus3.edgexfoundry.org:10002 [2021-01-09T13:09:47.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:09:47.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:09:47.927Z] Configure a credential helper to remove this warning. See [2021-01-09T13:09:47.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:09:47.927Z] [2021-01-09T13:09:47.927Z] Login Succeeded [2021-01-09T13:09:47.927Z] nexus3.edgexfoundry.org:10003 [2021-01-09T13:09:48.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:09:48.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:09:48.190Z] Configure a credential helper to remove this warning. See [2021-01-09T13:09:48.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:09:48.190Z] [2021-01-09T13:09:48.190Z] Login Succeeded [2021-01-09T13:09:48.190Z] nexus3.edgexfoundry.org:10004 [2021-01-09T13:09:48.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:09:48.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:09:48.451Z] Configure a credential helper to remove this warning. See [2021-01-09T13:09:48.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:09:48.451Z] [2021-01-09T13:09:48.451Z] Login Succeeded [2021-01-09T13:09:48.451Z] docker.io [2021-01-09T13:09:48.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:09:48.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:09:48.714Z] Configure a credential helper to remove this warning. See [2021-01-09T13:09:48.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:09:48.714Z] [2021-01-09T13:09:48.714Z] Login Succeeded [2021-01-09T13:09:48.714Z] ---> docker-login.sh ends [Pipeline] } [2021-01-09T13:09:48.724Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-09T13:09:49.080Z] ========================================================= [2021-01-09T13:09:49.080Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-09T13:09:49.080Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:09:49.416Z] + 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-09T13:09:49.416Z] Sending build context to Docker daemon 2.437MB [2021-01-09T13:09:49.416Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-09T13:09:49.416Z] Step 2/8 : FROM ${BASE} [2021-01-09T13:09:49.677Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-09T13:09:49.677Z] 188c0c94c7c5: Pulling fs layer [2021-01-09T13:09:49.677Z] 0ef7d3d256c8: Pulling fs layer [2021-01-09T13:09:49.677Z] de9db76c5a1d: Pulling fs layer [2021-01-09T13:09:49.677Z] bca2f99d35d6: Pulling fs layer [2021-01-09T13:09:49.677Z] 93359f2a8cfa: Pulling fs layer [2021-01-09T13:09:49.677Z] 7c6f9722023f: Pulling fs layer [2021-01-09T13:09:49.677Z] a35cf1a2eb13: Pulling fs layer [2021-01-09T13:09:49.677Z] bca2f99d35d6: Waiting [2021-01-09T13:09:49.677Z] 93359f2a8cfa: Waiting [2021-01-09T13:09:49.677Z] a35cf1a2eb13: Waiting [2021-01-09T13:09:49.677Z] 7c6f9722023f: Waiting [2021-01-09T13:09:49.677Z] 0ef7d3d256c8: Verifying Checksum [2021-01-09T13:09:49.677Z] 0ef7d3d256c8: Download complete [2021-01-09T13:09:49.677Z] de9db76c5a1d: Verifying Checksum [2021-01-09T13:09:49.677Z] de9db76c5a1d: Download complete [2021-01-09T13:09:49.677Z] 93359f2a8cfa: Verifying Checksum [2021-01-09T13:09:49.677Z] 93359f2a8cfa: Download complete [2021-01-09T13:09:49.677Z] 7c6f9722023f: Verifying Checksum [2021-01-09T13:09:49.677Z] 7c6f9722023f: Download complete [2021-01-09T13:09:49.677Z] 188c0c94c7c5: Verifying Checksum [2021-01-09T13:09:49.677Z] 188c0c94c7c5: Download complete [2021-01-09T13:09:49.939Z] 188c0c94c7c5: Pull complete [2021-01-09T13:09:50.207Z] 0ef7d3d256c8: Pull complete [2021-01-09T13:09:50.207Z] de9db76c5a1d: Pull complete [2021-01-09T13:09:52.158Z] a35cf1a2eb13: Verifying Checksum [2021-01-09T13:09:52.158Z] a35cf1a2eb13: Download complete [2021-01-09T13:09:52.848Z] bca2f99d35d6: Verifying Checksum [2021-01-09T13:09:52.848Z] bca2f99d35d6: Download complete [2021-01-09T13:09:58.190Z] bca2f99d35d6: Pull complete [2021-01-09T13:09:58.190Z] 93359f2a8cfa: Pull complete [2021-01-09T13:09:58.460Z] 7c6f9722023f: Pull complete [2021-01-09T13:10:03.798Z] a35cf1a2eb13: Pull complete [2021-01-09T13:10:03.798Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-09T13:10:03.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-09T13:10:03.798Z] ---> a62c8e92a672 [2021-01-09T13:10:03.798Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-09T13:10:03.798Z] ---> Running in 5b4e4d2dfdf0 [2021-01-09T13:10:03.798Z] Removing intermediate container 5b4e4d2dfdf0 [2021-01-09T13:10:03.798Z] ---> 9fa576fb925c [2021-01-09T13:10:03.798Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-09T13:10:03.798Z] ---> Running in 35d6cd9794a3 [2021-01-09T13:10:04.765Z] Removing intermediate container 35d6cd9794a3 [2021-01-09T13:10:04.765Z] ---> e936baaf874e [2021-01-09T13:10:04.765Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-09T13:10:04.765Z] ---> Running in f578e78622ef [2021-01-09T13:10:05.346Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-09T13:10:06.739Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-09T13:10:08.133Z] OK: 166 MiB in 39 packages [2021-01-09T13:10:08.396Z] Removing intermediate container f578e78622ef [2021-01-09T13:10:08.396Z] ---> e015bef08af7 [2021-01-09T13:10:08.396Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-09T13:10:08.396Z] ---> Running in 7e4478316061 [2021-01-09T13:10:08.659Z] Removing intermediate container 7e4478316061 [2021-01-09T13:10:08.659Z] ---> 5cfa77a21fb5 [2021-01-09T13:10:08.659Z] Step 7/8 : COPY . . [2021-01-09T13:10:10.055Z] ---> 2acbc34fcdb5 [2021-01-09T13:10:10.055Z] Step 8/8 : RUN go mod download [2021-01-09T13:10:10.055Z] ---> Running in da2d4cf56d26 [2021-01-09T13:10:28.233Z] Removing intermediate container da2d4cf56d26 [2021-01-09T13:10:28.233Z] ---> 7708bc73ef5d [2021-01-09T13:10:28.233Z] Successfully built 7708bc73ef5d [2021-01-09T13:10:28.233Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:10:28.555Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-09T13:10:28.555Z] . [Pipeline] withDockerContainer [2021-01-09T13:10:28.798Z] prd-centos7-docker-4c-2g-19252 does not seem to be running inside a container [2021-01-09T13:10:28.878Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/101 -v /w/workspace/device-sdk-go/101:/w/workspace/device-sdk-go/101:rw,z -v /w/workspace/device-sdk-go/101@tmp:/w/workspace/device-sdk-go/101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-09T13:10:29.726Z] $ docker top 610cfb2c07e853bceac22b538c776761d6328fadeacc755690f73283b1240ca5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-09T13:10:30.217Z] + go version [2021-01-09T13:10:30.217Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-09T13:10:30.240Z] $ docker stop --time=1 610cfb2c07e853bceac22b538c776761d6328fadeacc755690f73283b1240ca5 [2021-01-09T13:10:31.634Z] $ docker rm -f 610cfb2c07e853bceac22b538c776761d6328fadeacc755690f73283b1240ca5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:10:32.441Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-09T13:10:32.441Z] . [Pipeline] withDockerContainer [2021-01-09T13:10:32.547Z] prd-centos7-docker-4c-2g-19252 does not seem to be running inside a container [2021-01-09T13:10:32.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/101 -v /w/workspace/device-sdk-go/101:/w/workspace/device-sdk-go/101:rw,z -v /w/workspace/device-sdk-go/101@tmp:/w/workspace/device-sdk-go/101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-09T13:10:33.209Z] $ docker top 36a3cc3971e21400bc173524fdfa71a87a89c96949c0dc75a7ea582753d935ab -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-09T13:10:33.694Z] + make test [2021-01-09T13:10:33.694Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-09T13:10:40.340Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-09T13:10:55.377Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-09T13:10:55.377Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-09T13:10:55.377Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-09T13:10:55.377Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.064s coverage: 19.4% of statements [2021-01-09T13:11:00.747Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.476s coverage: 97.1% of statements [2021-01-09T13:11:27.381Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.080s coverage: 9.4% of statements [2021-01-09T13:11:27.381Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.064s coverage: 21.7% of statements [2021-01-09T13:11:27.381Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-09T13:11:27.381Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.227s coverage: 42.5% of statements [2021-01-09T13:11:27.381Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-09T13:11:27.381Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.281s coverage: 68.9% of statements [2021-01-09T13:11:27.381Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-09T13:11:27.381Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-09T13:11:27.381Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-09T13:11:27.381Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-09T13:11:27.381Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.070s coverage: 53.8% of statements [2021-01-09T13:11:27.381Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-09T13:11:27.381Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-09T13:11:27.381Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2021-01-09T13:11:27.381Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.377s coverage: 68.9% of statements [2021-01-09T13:11:27.381Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.2% of statements [2021-01-09T13:11:27.381Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-09T13:11:27.381Z] GO111MODULE=on go vet ./... [2021-01-09T13:11:34.782Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19254 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-09T13:11:34.838Z] Running in /w/workspace/device-sdk-go/101 [Pipeline] { [Pipeline] checkout [2021-01-09T13:11:37.544Z] gofmt -l . [2021-01-09T13:11:37.544Z] [ "`gofmt -l .`" = "" ] [2021-01-09T13:11:37.544Z] ./bin/test-attribution-txt.sh [2021-01-09T13:11:37.544Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-09T13:11:37.563Z] $ docker stop --time=1 36a3cc3971e21400bc173524fdfa71a87a89c96949c0dc75a7ea582753d935ab [2021-01-09T13:11:39.553Z] $ docker rm -f 36a3cc3971e21400bc173524fdfa71a87a89c96949c0dc75a7ea582753d935ab [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-09T13:11:40.021Z] using credential edgex-jenkins-ssh [2021-01-09T13:11:40.136Z] Cloning the remote Git repository [2021-01-09T13:11:40.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-09T13:11:40.719Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-09T13:11:40.201Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-09T13:11:40.321Z] > git init /w/workspace/device-sdk-go/101 # timeout=10 [2021-01-09T13:11:40.424Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-09T13:11:40.425Z] > git --version # timeout=10 [2021-01-09T13:11:40.446Z] > git --version # 'git version 2.17.1' [2021-01-09T13:11:40.448Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-09T13:11:40.496Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh [2021-01-09T13:11:41.964Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-09T13:11:42.265Z] + ls -al . [2021-01-09T13:11:42.265Z] total 208 [2021-01-09T13:11:42.265Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 9 13:11 . [2021-01-09T13:11:42.265Z] drwxrwxr-x. 4 jenkins jenkins 32 Jan 9 13:09 .. [2021-01-09T13:11:42.265Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 9 13:09 bin [2021-01-09T13:11:42.265Z] -rw-r--r--. 1 jenkins jenkins 130605 Jan 9 13:11 coverage.out [2021-01-09T13:11:42.265Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 9 13:09 Dockerfile.build [2021-01-09T13:11:42.265Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 9 13:09 .dockerignore [2021-01-09T13:11:42.265Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 9 13:09 example [2021-01-09T13:11:42.265Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 9 13:09 .git [2021-01-09T13:11:42.265Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 9 13:09 .github [2021-01-09T13:11:42.265Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 9 13:09 .gitignore [2021-01-09T13:11:42.265Z] -rw-r--r--. 1 jenkins jenkins 488 Jan 9 13:11 go.mod [2021-01-09T13:11:42.265Z] -rw-r--r--. 1 jenkins jenkins 13929 Jan 9 13:11 go.sum [2021-01-09T13:11:42.265Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 9 13:09 internal [2021-01-09T13:11:42.265Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 9 13:09 Jenkinsfile [2021-01-09T13:11:42.265Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 9 13:09 LICENSE [2021-01-09T13:11:42.265Z] -rw-rw-r--. 1 jenkins jenkins 1013 Jan 9 13:09 Makefile [2021-01-09T13:11:42.265Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 9 13:09 openapi [2021-01-09T13:11:42.265Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 9 13:09 pkg [2021-01-09T13:11:42.265Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 9 13:09 README.md [2021-01-09T13:11:42.265Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 9 13:09 RELEASE-NOTES.txt [2021-01-09T13:11:42.265Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 9 13:09 snap [2021-01-09T13:11:42.265Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 9 13:08 VERSION [2021-01-09T13:11:42.265Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 9 13:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:11:42.095Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-09T13:11:42.118Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-09T13:11:42.149Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-09T13:11:42.182Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-09T13:11:42.183Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-09T13:11:42.195Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-09T13:11:42.574Z] + 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=3c425af093304cd635dd4d13aa8de6855cdd3d8b --label arch=amd64 --label version=1.4.1-dev.3 . [2021-01-09T13:11:42.683Z] Checking out Revision 3c425af093304cd635dd4d13aa8de6855cdd3d8b (master) [2021-01-09T13:11:42.841Z] Sending build context to Docker daemon 2.569MB [2021-01-09T13:11:42.841Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-09T13:11:42.841Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-09T13:11:42.841Z] ---> 7708bc73ef5d [2021-01-09T13:11:42.841Z] Step 3/24 : ARG MAKE='make build' [2021-01-09T13:11:43.418Z] ---> Running in 124ab8a42fef [2021-01-09T13:11:43.681Z] Removing intermediate container 124ab8a42fef [2021-01-09T13:11:43.681Z] ---> 3ef74269ad3c [2021-01-09T13:11:43.681Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-09T13:11:43.681Z] ---> Running in a2bee0d5a336 [2021-01-09T13:11:42.701Z] > git config core.sparsecheckout # timeout=10 [2021-01-09T13:11:42.723Z] > git checkout -f 3c425af093304cd635dd4d13aa8de6855cdd3d8b # timeout=10 [2021-01-09T13:11:43.946Z] Removing intermediate container a2bee0d5a336 [2021-01-09T13:11:43.946Z] ---> a121cdab7dc9 [2021-01-09T13:11:43.946Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-09T13:11:43.946Z] ---> Running in cb0e3e22a595 [2021-01-09T13:11:43.946Z] Removing intermediate container cb0e3e22a595 [2021-01-09T13:11:43.946Z] ---> 65530fe22afd [2021-01-09T13:11:43.946Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-09T13:11:44.213Z] ---> Running in 48c9661dac0e [2021-01-09T13:11:45.163Z] Removing intermediate container 48c9661dac0e [2021-01-09T13:11:45.163Z] ---> 54a1698e68af [2021-01-09T13:11:45.163Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-09T13:11:45.163Z] ---> Running in e42b6b5eb8c1 [2021-01-09T13:11:45.426Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-09T13:11:46.819Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-09T13:11:47.147Z] Commit message: "Merge pull request #707 from lenny-intel/SecretProvider" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-01-09T13:11:47.770Z] OK: 166 MiB in 39 packages [Pipeline] sh [2021-01-09T13:11:48.034Z] Removing intermediate container e42b6b5eb8c1 [2021-01-09T13:11:48.034Z] ---> 6da5cc5d5b2f [2021-01-09T13:11:48.034Z] Step 8/24 : COPY . . [2021-01-09T13:11:48.651Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-09T13:11:48.981Z] ---> 75b6bd1bb495 [2021-01-09T13:11:48.981Z] Step 9/24 : RUN ${MAKE} [2021-01-09T13:11:48.981Z] ---> Running in 5b5e2ede992e [2021-01-09T13:11:49.056Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-09T13:11:49.435Z] + sudo service docker restart [2021-01-09T13:11:49.435Z] + true [2021-01-09T13:11:49.562Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.4.1-dev.3" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-09T13:11:52.190Z] provisioning config files... [2021-01-09T13:11:52.241Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/101@tmp/config5528958978934019201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:11:52.651Z] ---> docker-login.sh [2021-01-09T13:11:52.651Z] nexus3.edgexfoundry.org:10001 [2021-01-09T13:11:53.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:11:53.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:11:53.913Z] Configure a credential helper to remove this warning. See [2021-01-09T13:11:53.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:11:53.913Z] [2021-01-09T13:11:53.913Z] Login Succeeded [2021-01-09T13:11:53.913Z] nexus3.edgexfoundry.org:10002 [2021-01-09T13:11:54.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:11:54.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:11:54.464Z] Configure a credential helper to remove this warning. See [2021-01-09T13:11:54.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:11:54.464Z] [2021-01-09T13:11:54.464Z] Login Succeeded [2021-01-09T13:11:54.464Z] nexus3.edgexfoundry.org:10003 [2021-01-09T13:11:54.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:11:55.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:11:55.012Z] Configure a credential helper to remove this warning. See [2021-01-09T13:11:55.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:11:55.012Z] [2021-01-09T13:11:55.012Z] Login Succeeded [2021-01-09T13:11:55.012Z] nexus3.edgexfoundry.org:10004 [2021-01-09T13:11:55.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:11:55.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:11:55.566Z] Configure a credential helper to remove this warning. See [2021-01-09T13:11:55.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:11:55.566Z] [2021-01-09T13:11:55.566Z] Login Succeeded [2021-01-09T13:11:55.566Z] docker.io [2021-01-09T13:11:55.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-09T13:11:56.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-09T13:11:56.111Z] Configure a credential helper to remove this warning. See [2021-01-09T13:11:56.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-09T13:11:56.111Z] [2021-01-09T13:11:56.111Z] Login Succeeded [2021-01-09T13:11:56.111Z] ---> docker-login.sh ends [Pipeline] } [2021-01-09T13:11:56.127Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-09T13:11:56.615Z] ========================================================= [2021-01-09T13:11:56.615Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-09T13:11:56.616Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:11:57.000Z] + 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-09T13:11:57.272Z] Sending build context to Docker daemon 2.436MB [2021-01-09T13:11:57.545Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-09T13:11:57.545Z] Step 2/8 : FROM ${BASE} [2021-01-09T13:11:57.545Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-09T13:11:57.545Z] 5f621e34cdf4: Pulling fs layer [2021-01-09T13:11:57.545Z] a4357932f1b6: Pulling fs layer [2021-01-09T13:11:57.545Z] 18c013af1878: Pulling fs layer [2021-01-09T13:11:57.545Z] 00ac8860ef70: Pulling fs layer [2021-01-09T13:11:57.545Z] 63d7cb157983: Pulling fs layer [2021-01-09T13:11:57.545Z] b116817d02f9: Pulling fs layer [2021-01-09T13:11:57.545Z] 745a02a5169b: Pulling fs layer [2021-01-09T13:11:57.545Z] 00ac8860ef70: Waiting [2021-01-09T13:11:57.545Z] 63d7cb157983: Waiting [2021-01-09T13:11:57.545Z] b116817d02f9: Waiting [2021-01-09T13:11:57.545Z] 745a02a5169b: Waiting [2021-01-09T13:11:57.545Z] 18c013af1878: Verifying Checksum [2021-01-09T13:11:57.545Z] 18c013af1878: Download complete [2021-01-09T13:11:57.545Z] a4357932f1b6: Verifying Checksum [2021-01-09T13:11:57.545Z] a4357932f1b6: Download complete [2021-01-09T13:11:57.545Z] 63d7cb157983: Download complete [2021-01-09T13:11:57.545Z] b116817d02f9: Verifying Checksum [2021-01-09T13:11:57.545Z] b116817d02f9: Download complete [2021-01-09T13:11:57.822Z] 5f621e34cdf4: Verifying Checksum [2021-01-09T13:11:57.822Z] 5f621e34cdf4: Download complete [2021-01-09T13:11:57.980Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-09T13:11:58.443Z] 5f621e34cdf4: Pull complete [2021-01-09T13:11:59.052Z] a4357932f1b6: Pull complete [2021-01-09T13:11:59.651Z] 18c013af1878: Pull complete [2021-01-09T13:11:59.912Z] Removing intermediate container 5b5e2ede992e [2021-01-09T13:11:59.912Z] ---> 8e8f98941791 [2021-01-09T13:11:59.912Z] Step 10/24 : FROM scratch [2021-01-09T13:11:59.912Z] ---> [2021-01-09T13:11:59.912Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-09T13:11:59.912Z] ---> Running in 0aef4dcc0963 [2021-01-09T13:12:00.177Z] Removing intermediate container 0aef4dcc0963 [2021-01-09T13:12:00.177Z] ---> 0d42d7c62182 [2021-01-09T13:12:00.177Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-09T13:12:00.177Z] ---> Running in 70853a758189 [2021-01-09T13:12:00.248Z] 745a02a5169b: Verifying Checksum [2021-01-09T13:12:00.440Z] Removing intermediate container 70853a758189 [2021-01-09T13:12:00.440Z] ---> bd143e0487f6 [2021-01-09T13:12:00.440Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-09T13:12:00.440Z] ---> Running in 607f70bd7515 [2021-01-09T13:12:00.440Z] Removing intermediate container 607f70bd7515 [2021-01-09T13:12:00.440Z] ---> ffa1f1b34930 [2021-01-09T13:12:00.440Z] Step 14/24 : WORKDIR / [2021-01-09T13:12:00.702Z] ---> Running in 3c82855479a3 [2021-01-09T13:12:00.702Z] Removing intermediate container 3c82855479a3 [2021-01-09T13:12:00.702Z] ---> c47f45c1c719 [2021-01-09T13:12:00.702Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-09T13:12:01.279Z] ---> 7f2b2d807485 [2021-01-09T13:12:01.279Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-09T13:12:01.542Z] ---> d957f6ea400f [2021-01-09T13:12:01.542Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-09T13:12:01.688Z] 00ac8860ef70: Verifying Checksum [2021-01-09T13:12:01.688Z] 00ac8860ef70: Download complete [2021-01-09T13:12:01.809Z] ---> b9e6de1bf7de [2021-01-09T13:12:01.809Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-09T13:12:01.809Z] ---> f14d47784dd8 [2021-01-09T13:12:01.809Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-09T13:12:02.390Z] ---> 212be7e88ea1 [2021-01-09T13:12:02.390Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-09T13:12:02.390Z] ---> Running in 0198d0735b6a [2021-01-09T13:12:02.390Z] Removing intermediate container 0198d0735b6a [2021-01-09T13:12:02.390Z] ---> 3fa740eea7e4 [2021-01-09T13:12:02.390Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-09T13:12:02.654Z] ---> Running in 4163d1a85abe [2021-01-09T13:12:02.654Z] Removing intermediate container 4163d1a85abe [2021-01-09T13:12:02.654Z] ---> fcb3e5366ca5 [2021-01-09T13:12:02.654Z] Step 22/24 : LABEL arch=amd64 [2021-01-09T13:12:02.654Z] ---> Running in d903326e4809 [2021-01-09T13:12:02.917Z] Removing intermediate container d903326e4809 [2021-01-09T13:12:02.917Z] ---> b82d4fa2f6e2 [2021-01-09T13:12:02.917Z] Step 23/24 : LABEL git_sha=3c425af093304cd635dd4d13aa8de6855cdd3d8b [2021-01-09T13:12:02.917Z] ---> Running in f1e218bddb14 [2021-01-09T13:12:03.183Z] Removing intermediate container f1e218bddb14 [2021-01-09T13:12:03.183Z] ---> c90682dbc623 [2021-01-09T13:12:03.183Z] Step 24/24 : LABEL version=1.4.1-dev.3 [2021-01-09T13:12:03.183Z] ---> Running in 5cbf5326bfef [2021-01-09T13:12:03.447Z] Removing intermediate container 5cbf5326bfef [2021-01-09T13:12:03.447Z] ---> 69c76a2c99a6 [2021-01-09T13:12:03.447Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-09T13:12:03.447Z] Successfully built 69c76a2c99a6 [2021-01-09T13:12:03.447Z] 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] } [2021-01-09T13:12:11.870Z] 00ac8860ef70: Pull complete [2021-01-09T13:12:11.870Z] 63d7cb157983: Pull complete [2021-01-09T13:12:11.870Z] b116817d02f9: Pull complete [2021-01-09T13:12:16.205Z] 745a02a5169b: Pull complete [2021-01-09T13:12:16.205Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-09T13:12:16.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-09T13:12:16.205Z] ---> b7e6874047d6 [2021-01-09T13:12:16.205Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-09T13:12:18.208Z] ---> Running in 181aba478a6d [2021-01-09T13:12:18.811Z] Removing intermediate container 181aba478a6d [2021-01-09T13:12:18.811Z] ---> 4b9adeb31680 [2021-01-09T13:12:18.811Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-09T13:12:18.811Z] ---> Running in 5bd427772879 [2021-01-09T13:12:21.451Z] Removing intermediate container 5bd427772879 [2021-01-09T13:12:21.451Z] ---> d43bf0305348 [2021-01-09T13:12:21.451Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-09T13:12:21.451Z] ---> Running in dd54f39e92ba [2021-01-09T13:12:22.435Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-09T13:12:23.034Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-09T13:12:25.005Z] OK: 142 MiB in 39 packages [2021-01-09T13:12:25.602Z] Removing intermediate container dd54f39e92ba [2021-01-09T13:12:25.602Z] ---> 8e6cbf05f091 [2021-01-09T13:12:25.602Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-09T13:12:25.880Z] ---> Running in c8953ee1762c [2021-01-09T13:12:26.479Z] Removing intermediate container c8953ee1762c [2021-01-09T13:12:26.479Z] ---> e3b6939d5766 [2021-01-09T13:12:26.479Z] Step 7/8 : COPY . . [2021-01-09T13:12:27.464Z] ---> b62531cf6af0 [2021-01-09T13:12:27.464Z] Step 8/8 : RUN go mod download [2021-01-09T13:12:27.742Z] ---> Running in e0a5a33fa607 [2021-01-09T13:12:49.944Z] Removing intermediate container e0a5a33fa607 [2021-01-09T13:12:49.944Z] ---> d34f185d8178 [2021-01-09T13:12:49.944Z] Successfully built d34f185d8178 [2021-01-09T13:12:49.944Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:12:50.310Z] + docker inspect -f . ci-base-image-arm64 [2021-01-09T13:12:50.311Z] . [Pipeline] withDockerContainer [2021-01-09T13:12:50.593Z] prd-ubuntu18.04-docker-arm64-4c-16g-19254 does not seem to be running inside a container [2021-01-09T13:12:50.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/101 -v /w/workspace/device-sdk-go/101:/w/workspace/device-sdk-go/101:rw,z -v /w/workspace/device-sdk-go/101@tmp:/w/workspace/device-sdk-go/101@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-09T13:12:52.171Z] $ docker top 0dd41ab325fe61ff9a653ab5e0c02c25a15cb3108387ea364b4f169d33537fbd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-09T13:12:53.200Z] + go version [2021-01-09T13:12:53.200Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-09T13:12:53.220Z] $ docker stop --time=1 0dd41ab325fe61ff9a653ab5e0c02c25a15cb3108387ea364b4f169d33537fbd [2021-01-09T13:12:55.196Z] $ docker rm -f 0dd41ab325fe61ff9a653ab5e0c02c25a15cb3108387ea364b4f169d33537fbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:12:56.229Z] + docker inspect -f . ci-base-image-arm64 [2021-01-09T13:12:56.229Z] . [Pipeline] withDockerContainer [2021-01-09T13:12:56.486Z] prd-ubuntu18.04-docker-arm64-4c-16g-19254 does not seem to be running inside a container [2021-01-09T13:12:56.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/101 -v /w/workspace/device-sdk-go/101:/w/workspace/device-sdk-go/101:rw,z -v /w/workspace/device-sdk-go/101@tmp:/w/workspace/device-sdk-go/101@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-09T13:12:58.084Z] $ docker top 6dd12ec0488a2845fa0589e66a1ddbebe6b4dbfb765662b8a31b9c239b853cee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-09T13:12:59.102Z] + make test [2021-01-09T13:12:59.102Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-09T13:13:21.308Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-09T13:14:00.376Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-09T13:14:00.376Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-09T13:14:00.376Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-09T13:14:00.989Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.120s coverage: 19.4% of statements [2021-01-09T13:14:06.443Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.162s coverage: 97.1% of statements [2021-01-09T13:14:38.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.143s coverage: 9.4% of statements [2021-01-09T13:14:38.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.128s coverage: 21.7% of statements [2021-01-09T13:14:38.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-09T13:14:38.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.553s coverage: 42.5% of statements [2021-01-09T13:14:38.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-09T13:14:38.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.746s coverage: 68.9% of statements [2021-01-09T13:14:38.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-09T13:14:38.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-09T13:14:38.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-09T13:14:38.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-09T13:14:38.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.199s coverage: 53.8% of statements [2021-01-09T13:14:38.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-09T13:14:38.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-09T13:14:38.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2021-01-09T13:14:38.805Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.705s coverage: 68.9% of statements [2021-01-09T13:14:38.805Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.118s coverage: 4.2% of statements [2021-01-09T13:14:38.805Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-09T13:14:38.805Z] GO111MODULE=on go vet ./... [2021-01-09T13:15:05.650Z] gofmt -l . [2021-01-09T13:15:05.650Z] [ "`gofmt -l .`" = "" ] [2021-01-09T13:15:05.650Z] ./bin/test-attribution-txt.sh [2021-01-09T13:15:06.248Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-09T13:15:06.545Z] $ docker stop --time=1 6dd12ec0488a2845fa0589e66a1ddbebe6b4dbfb765662b8a31b9c239b853cee [2021-01-09T13:15:08.841Z] $ docker rm -f 6dd12ec0488a2845fa0589e66a1ddbebe6b4dbfb765662b8a31b9c239b853cee [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-09T13:15:09.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-09T13:15:09.920Z] Warning: overwriting stash ‘coverage-report’ [2021-01-09T13:15:10.845Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-09T13:15:11.541Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-09T13:15:11.911Z] + ls -al . [2021-01-09T13:15:11.911Z] total 244 [2021-01-09T13:15:11.911Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 13:15 . [2021-01-09T13:15:11.911Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:11 .. [2021-01-09T13:15:11.911Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 9 13:11 .dockerignore [2021-01-09T13:15:11.911Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 13:11 .git [2021-01-09T13:15:11.911Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:11 .github [2021-01-09T13:15:11.911Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 9 13:11 .gitignore [2021-01-09T13:15:11.911Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 9 13:11 Dockerfile.build [2021-01-09T13:15:11.911Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 9 13:11 Jenkinsfile [2021-01-09T13:15:11.911Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 9 13:11 LICENSE [2021-01-09T13:15:11.911Z] -rw-rw-r-- 1 jenkins jenkins 1013 Jan 9 13:11 Makefile [2021-01-09T13:15:11.911Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 9 13:11 README.md [2021-01-09T13:15:11.911Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 9 13:11 RELEASE-NOTES.txt [2021-01-09T13:15:11.911Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 9 13:08 VERSION [2021-01-09T13:15:11.911Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 13:11 bin [2021-01-09T13:15:11.911Z] -rw-r--r-- 1 jenkins jenkins 130605 Jan 9 13:14 coverage.out [2021-01-09T13:15:11.911Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:11 example [2021-01-09T13:15:11.911Z] -rw-r--r-- 1 jenkins jenkins 488 Jan 9 13:15 go.mod [2021-01-09T13:15:11.911Z] -rw-r--r-- 1 jenkins jenkins 13929 Jan 9 13:15 go.sum [2021-01-09T13:15:11.911Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 9 13:11 internal [2021-01-09T13:15:11.911Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:11 openapi [2021-01-09T13:15:11.911Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 9 13:11 pkg [2021-01-09T13:15:11.911Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 13:11 snap [2021-01-09T13:15:11.911Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 9 13:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:15:12.355Z] + 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=3c425af093304cd635dd4d13aa8de6855cdd3d8b --label arch=arm64 --label version=1.4.1-dev.3 . [2021-01-09T13:15:13.003Z] Sending build context to Docker daemon 2.568MB [2021-01-09T13:15:13.003Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-09T13:15:13.003Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-09T13:15:13.003Z] ---> d34f185d8178 [2021-01-09T13:15:13.003Z] Step 3/24 : ARG MAKE='make build' [2021-01-09T13:15:13.285Z] ---> Running in 4e40249b734a [2021-01-09T13:15:13.884Z] Removing intermediate container 4e40249b734a [2021-01-09T13:15:13.884Z] ---> 82b161c7e494 [2021-01-09T13:15:13.884Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-09T13:15:13.884Z] ---> Running in 072fcb239dac [2021-01-09T13:15:14.480Z] Removing intermediate container 072fcb239dac [2021-01-09T13:15:14.480Z] ---> bee3e1df256b [2021-01-09T13:15:14.480Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-09T13:15:14.480Z] ---> Running in 29ee7277103f [2021-01-09T13:15:15.081Z] Removing intermediate container 29ee7277103f [2021-01-09T13:15:15.081Z] ---> 303aee9b2f26 [2021-01-09T13:15:15.081Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-09T13:15:15.081Z] ---> Running in 94ffef96b82c [2021-01-09T13:15:17.052Z] Removing intermediate container 94ffef96b82c [2021-01-09T13:15:17.052Z] ---> 63f90e509f80 [2021-01-09T13:15:17.052Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-09T13:15:17.325Z] ---> Running in 8e12a335b1d3 [2021-01-09T13:15:18.305Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-09T13:15:19.734Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-09T13:15:20.707Z] OK: 142 MiB in 39 packages [2021-01-09T13:15:21.685Z] Removing intermediate container 8e12a335b1d3 [2021-01-09T13:15:21.685Z] ---> a694daf890cb [2021-01-09T13:15:21.685Z] Step 8/24 : COPY . . [2021-01-09T13:15:23.118Z] ---> 21447478661f [2021-01-09T13:15:23.118Z] Step 9/24 : RUN ${MAKE} [2021-01-09T13:15:23.118Z] ---> Running in 82f0b92d332c [2021-01-09T13:15:24.096Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.4.1-dev.3" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-09T13:15:50.909Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-09T13:15:51.181Z] Removing intermediate container 82f0b92d332c [2021-01-09T13:15:51.181Z] ---> 03f6ac873d91 [2021-01-09T13:15:51.181Z] Step 10/24 : FROM scratch [2021-01-09T13:15:51.181Z] ---> [2021-01-09T13:15:51.181Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-09T13:15:51.181Z] ---> Running in 3a0e72be1959 [2021-01-09T13:15:51.452Z] Removing intermediate container 3a0e72be1959 [2021-01-09T13:15:51.452Z] ---> a4a3f9bf99af [2021-01-09T13:15:51.452Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-09T13:15:51.723Z] ---> Running in 9638587da0f3 [2021-01-09T13:15:52.000Z] Removing intermediate container 9638587da0f3 [2021-01-09T13:15:52.000Z] ---> 03d7510adc3c [2021-01-09T13:15:52.000Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-09T13:15:52.000Z] ---> Running in 766fb2b0d79a [2021-01-09T13:15:52.594Z] Removing intermediate container 766fb2b0d79a [2021-01-09T13:15:52.594Z] ---> eb2a38431161 [2021-01-09T13:15:52.594Z] Step 14/24 : WORKDIR / [2021-01-09T13:15:52.594Z] ---> Running in 046ded93ae80 [2021-01-09T13:15:53.187Z] Removing intermediate container 046ded93ae80 [2021-01-09T13:15:53.187Z] ---> d3ffa331c56e [2021-01-09T13:15:53.187Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-09T13:15:54.165Z] ---> 869853228f38 [2021-01-09T13:15:54.165Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-09T13:15:54.765Z] ---> 95e324c447cb [2021-01-09T13:15:54.765Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-09T13:15:55.742Z] ---> 3d42b4570df4 [2021-01-09T13:15:55.742Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-09T13:15:56.338Z] ---> a589a487245a [2021-01-09T13:15:56.338Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-09T13:15:56.931Z] ---> 06df41c4baeb [2021-01-09T13:15:56.931Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-09T13:15:57.204Z] ---> Running in 69bfd3d32057 [2021-01-09T13:15:57.798Z] Removing intermediate container 69bfd3d32057 [2021-01-09T13:15:57.798Z] ---> ba3a04fef22f [2021-01-09T13:15:57.798Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-09T13:15:57.798Z] ---> Running in 9195d83fc254 [2021-01-09T13:15:58.397Z] Removing intermediate container 9195d83fc254 [2021-01-09T13:15:58.397Z] ---> 123f2cd29c2d [2021-01-09T13:15:58.397Z] Step 22/24 : LABEL arch=arm64 [2021-01-09T13:15:58.397Z] ---> Running in 4cdd9ec4b500 [2021-01-09T13:15:58.669Z] Removing intermediate container 4cdd9ec4b500 [2021-01-09T13:15:58.669Z] ---> 3992d3a93f22 [2021-01-09T13:15:58.669Z] Step 23/24 : LABEL git_sha=3c425af093304cd635dd4d13aa8de6855cdd3d8b [2021-01-09T13:15:58.941Z] ---> Running in 044ca525329e [2021-01-09T13:15:59.212Z] Removing intermediate container 044ca525329e [2021-01-09T13:15:59.212Z] ---> fb69571ee0e1 [2021-01-09T13:15:59.212Z] Step 24/24 : LABEL version=1.4.1-dev.3 [2021-01-09T13:15:59.485Z] ---> Running in f96d0154fd81 [2021-01-09T13:16:00.076Z] Removing intermediate container f96d0154fd81 [2021-01-09T13:16:00.076Z] ---> 6b0c4133d150 [2021-01-09T13:16:00.076Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-09T13:16:00.076Z] Successfully built 6b0c4133d150 [2021-01-09T13:16:00.076Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-09T13:16:03.214Z] provisioning config files... [2021-01-09T13:16:03.228Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1919251757143733907tmp [Pipeline] { [Pipeline] sh [2021-01-09T13:16:03.614Z] + set +x [2021-01-09T13:16:03.614Z] + curl -s https://codecov.io/bash [2021-01-09T13:16:03.614Z] + bash -s -- [2021-01-09T13:16:03.879Z] [2021-01-09T13:16:03.879Z] _____ _ [2021-01-09T13:16:03.879Z] / ____| | | [2021-01-09T13:16:03.879Z] | | ___ __| | ___ ___ _____ __ [2021-01-09T13:16:03.879Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-09T13:16:03.879Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-09T13:16:03.879Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-09T13:16:03.879Z] Bash-20201231-23d4836 [2021-01-09T13:16:03.879Z] [2021-01-09T13:16:03.879Z] [2021-01-09T13:16:03.879Z] ==> git version 2.24.3 found [2021-01-09T13:16:03.879Z] ==> 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-09T13:16:03.879Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-09T13:16:03.879Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-09T13:16:03.879Z] ==> Jenkins CI detected. [2021-01-09T13:16:03.879Z] project root: . [2021-01-09T13:16:03.879Z] --> token set from env [2021-01-09T13:16:03.879Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-09T13:16:03.879Z] ==> Running gcov in . (disable via -X gcov) [2021-01-09T13:16:03.879Z] ==> Python coveragepy not found [2021-01-09T13:16:03.879Z] ==> Searching for coverage reports in: [2021-01-09T13:16:03.879Z] + . [2021-01-09T13:16:03.879Z] -> Found 1 reports [2021-01-09T13:16:03.879Z] ==> Detecting git/mercurial file structure [2021-01-09T13:16:03.879Z] ==> Reading reports [2021-01-09T13:16:03.879Z] + ./coverage.out bytes=130605 [2021-01-09T13:16:03.879Z] ==> Appending adjustments [2021-01-09T13:16:03.879Z] https://docs.codecov.io/docs/fixing-reports [2021-01-09T13:16:04.460Z] + Found adjustments [2021-01-09T13:16:04.460Z] ==> Gzipping contents [2021-01-09T13:16:04.460Z] 24K /tmp/codecov.1ZG5y8.gz [2021-01-09T13:16:04.460Z] ==> Uploading reports [2021-01-09T13:16:04.460Z] url: https://codecov.io [2021-01-09T13:16:04.460Z] query: branch=master&commit=3c425af093304cd635dd4d13aa8de6855cdd3d8b&build=101&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F101%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-09T13:16:04.460Z] -> Pinging Codecov [2021-01-09T13:16:04.460Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=3c425af093304cd635dd4d13aa8de6855cdd3d8b&build=101&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F101%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-09T13:16:05.040Z] -> Uploading to [2021-01-09T13:16:05.040Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-09/7E55EF52A471D76F132DFD9A03CDDE97/3c425af093304cd635dd4d13aa8de6855cdd3d8b/70f6c4d0-10a0-4c8a-90e2-218fe244d36b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210109T131604Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=082ac48c557d06758839e3190e3bbc115d8f94fddf9219bb8324935467ac0c2a [2021-01-09T13:16:05.040Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-09T13:16:05.040Z] Dload Upload Total Spent Left Speed [2021-01-09T13:16:05.619Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21279 0 0 100 21279 0 36236 --:--:-- --:--:-- --:--:-- 36250 [2021-01-09T13:16:05.619Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3c425af093304cd635dd4d13aa8de6855cdd3d8b [Pipeline] } [2021-01-09T13:16:05.631Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-09T13:16:06.502Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-09T13:16:06.556Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:16:06.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-09T13:16:06.898Z] [2021-01-09T13:16:06.898Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:16:07.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-09T13:16:07.265Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-09T13:16:07.265Z] 188c0c94c7c5: Pulling fs layer [2021-01-09T13:16:07.265Z] 0ef7d3d256c8: Pulling fs layer [2021-01-09T13:16:07.265Z] de9db76c5a1d: Pulling fs layer [2021-01-09T13:16:07.265Z] 0eba1c9be4d2: Pulling fs layer [2021-01-09T13:16:07.265Z] 0d57e429df01: Pulling fs layer [2021-01-09T13:16:07.265Z] 4e4be7b47b0d: Pulling fs layer [2021-01-09T13:16:07.265Z] e1f770b5df2f: Pulling fs layer [2021-01-09T13:16:07.265Z] 85a0685a4137: Pulling fs layer [2021-01-09T13:16:07.265Z] 4e4be7b47b0d: Waiting [2021-01-09T13:16:07.265Z] e1f770b5df2f: Waiting [2021-01-09T13:16:07.265Z] 85a0685a4137: Waiting [2021-01-09T13:16:07.265Z] 0eba1c9be4d2: Waiting [2021-01-09T13:16:07.265Z] 0d57e429df01: Waiting [2021-01-09T13:16:07.265Z] de9db76c5a1d: Verifying Checksum [2021-01-09T13:16:07.265Z] de9db76c5a1d: Download complete [2021-01-09T13:16:07.265Z] 0ef7d3d256c8: Verifying Checksum [2021-01-09T13:16:07.265Z] 0ef7d3d256c8: Download complete [2021-01-09T13:16:07.265Z] 0d57e429df01: Verifying Checksum [2021-01-09T13:16:07.265Z] 0d57e429df01: Download complete [2021-01-09T13:16:07.265Z] 4e4be7b47b0d: Verifying Checksum [2021-01-09T13:16:07.265Z] 4e4be7b47b0d: Download complete [2021-01-09T13:16:07.265Z] 188c0c94c7c5: Verifying Checksum [2021-01-09T13:16:07.265Z] 188c0c94c7c5: Download complete [2021-01-09T13:16:07.851Z] 188c0c94c7c5: Pull complete [2021-01-09T13:16:08.113Z] 0ef7d3d256c8: Pull complete [2021-01-09T13:16:08.113Z] de9db76c5a1d: Pull complete [2021-01-09T13:16:08.698Z] e1f770b5df2f: Verifying Checksum [2021-01-09T13:16:08.698Z] e1f770b5df2f: Download complete [2021-01-09T13:16:11.290Z] 0eba1c9be4d2: Verifying Checksum [2021-01-09T13:16:11.290Z] 0eba1c9be4d2: Download complete [2021-01-09T13:16:11.290Z] 85a0685a4137: Verifying Checksum [2021-01-09T13:16:11.290Z] 85a0685a4137: Download complete [2021-01-09T13:16:17.935Z] 0eba1c9be4d2: Pull complete [2021-01-09T13:16:17.935Z] 0d57e429df01: Pull complete [2021-01-09T13:16:17.935Z] 4e4be7b47b0d: Pull complete [2021-01-09T13:16:19.885Z] e1f770b5df2f: Pull complete [2021-01-09T13:16:28.092Z] 85a0685a4137: Pull complete [2021-01-09T13:16:28.092Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-09T13:16:28.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-09T13:16:28.092Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-09T13:16:28.308Z] prd-centos7-docker-4c-2g-19248 does not seem to be running inside a container [2021-01-09T13:16:28.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-09T13:16:29.505Z] $ docker top ee8b443579737dce7033d75c283e7a2010c4309c5f5823f8dcecbe6b1d8d2759 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-09T13:16:29.712Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-09T13:16:30.017Z] + set -o pipefail [2021-01-09T13:16:30.017Z] + snyk monitor '--org=edgex-jenkins' [2021-01-09T13:16:42.313Z] [2021-01-09T13:16:42.313Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2021-01-09T13:16:42.313Z] [2021-01-09T13:16:42.313Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/7d218a16-80c2-4e00-bddc-24272ee64e10 [2021-01-09T13:16:42.313Z] [2021-01-09T13:16:42.313Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-09T13:16:42.313Z] [2021-01-09T13:16:42.313Z] [Pipeline] } [2021-01-09T13:16:42.330Z] $ docker stop --time=1 ee8b443579737dce7033d75c283e7a2010c4309c5f5823f8dcecbe6b1d8d2759 [2021-01-09T13:16:45.007Z] $ docker rm -f ee8b443579737dce7033d75c283e7a2010c4309c5f5823f8dcecbe6b1d8d2759 [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-09T13:16:46.297Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-09T13:16:46.349Z] provisioning config files... [2021-01-09T13:16:46.360Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5666076339457212484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:16:46.775Z] --> edgex-publish-swagger.sh [2021-01-09T13:16:46.775Z] === Publish openapi/v1 API === [2021-01-09T13:16:46.775Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-01-09T13:16:46.775Z] [publishToSwagger] Publishing API Name [device-sdk] [2021-01-09T13:16:46.775Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-09T13:16:46.775Z] Dload Upload Total Spent Left Speed [2021-01-09T13:16:47.740Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19946 0 0 100 19946 0 23764 --:--:-- --:--:-- --:--:-- 23801 [2021-01-09T13:16:47.740Z] [2021-01-09T13:16:47.740Z] [2021-01-09T13:16:47.740Z] === Publish openapi/v2 API === [2021-01-09T13:16:47.740Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-01-09T13:16:47.740Z] [publishToSwagger] Publishing API Name [device-sdk] [2021-01-09T13:16:47.740Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-09T13:16:47.740Z] Dload Upload Total Spent Left Speed [2021-01-09T13:16:48.332Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 49274 0 0 100 49274 0 63048 --:--:-- --:--:-- --:--:-- 63010 [2021-01-09T13:16:48.333Z] [2021-01-09T13:16:48.333Z] [Pipeline] } [2021-01-09T13:16:48.350Z] 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-09T13:16:49.262Z] + git log --format=format:%s -1 3c425af093304cd635dd4d13aa8de6855cdd3d8b [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:16:49.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-09T13:16:49.576Z] . [Pipeline] withDockerContainer [2021-01-09T13:16:49.677Z] prd-centos7-docker-4c-2g-19248 does not seem to be running inside a container [2021-01-09T13:16:49.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-09T13:16:50.582Z] $ docker top 3d757d51448a5967599204ee234add7d2f64ef05012f7ef69505605839fae627 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-09T13:16:50.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-09T13:16:50.962Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-09T13:16:51.215Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-09T13:16:51.218Z] $ docker exec 3d757d51448a5967599204ee234add7d2f64ef05012f7ef69505605839fae627 ssh-agent [2021-01-09T13:16:51.413Z] SSH_AUTH_SOCK=/tmp/ssh-H6a2rV1BcB7p/agent.13 [2021-01-09T13:16:51.413Z] SSH_AGENT_PID=18 [2021-01-09T13:16:51.421Z] Running ssh-add (command line suppressed) [2021-01-09T13:16:51.560Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7902474858336009599.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7902474858336009599.key) [2021-01-09T13:16:51.634Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-09T13:16:51.977Z] + git semver tag [2021-01-09T13:16:52.550Z] # -> Open(): unable to determine branch for HEAD [2021-01-09T13:16:52.550Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-09T13:16:52.550Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-09T13:16:52.550Z] # $SEMVER_REMOTE_NAME = origin [2021-01-09T13:16:52.550Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-09T13:16:52.550Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-09T13:16:52.550Z] # $SEMVER_BRANCH = master [2021-01-09T13:16:52.550Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-09T13:16:52.550Z] # 3c425af093304cd635dd4d13aa8de6855cdd3d8b HEAD [2021-01-09T13:16:52.550Z] # -> Force: false [2021-01-09T13:16:52.550Z] # 306dd96d43dfcd7ceaa1c6c07e3f177b4b726d17 refs/tags/v1.4.1-dev.3 [Pipeline] } [2021-01-09T13:16:52.563Z] $ docker exec --env ******** --env ******** 3d757d51448a5967599204ee234add7d2f64ef05012f7ef69505605839fae627 ssh-agent -k [2021-01-09T13:16:52.695Z] unset SSH_AUTH_SOCK; [2021-01-09T13:16:52.695Z] unset SSH_AGENT_PID; [2021-01-09T13:16:52.695Z] echo Agent pid 18 killed; [2021-01-09T13:16:52.760Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-09T13:16:53.226Z] + git semver [Pipeline] } [2021-01-09T13:16:53.243Z] $ docker stop --time=1 3d757d51448a5967599204ee234add7d2f64ef05012f7ef69505605839fae627 [2021-01-09T13:16:54.633Z] $ docker rm -f 3d757d51448a5967599204ee234add7d2f64ef05012f7ef69505605839fae627 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:16:55.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-09T13:16:55.276Z] [2021-01-09T13:16:55.276Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:16:55.624Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-09T13:16:55.624Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-09T13:16:55.624Z] ab5ef0e58194: Pulling fs layer [2021-01-09T13:16:55.624Z] 9712f1f96733: Pulling fs layer [2021-01-09T13:16:55.624Z] 63f879dbbcfc: Pulling fs layer [2021-01-09T13:16:55.624Z] 0d9ebad4ef96: Pulling fs layer [2021-01-09T13:16:55.624Z] e9a5061849ea: Pulling fs layer [2021-01-09T13:16:55.624Z] d747dcd14b5f: Pulling fs layer [2021-01-09T13:16:55.624Z] 2de7ff778b66: Pulling fs layer [2021-01-09T13:16:55.624Z] e9a5061849ea: Waiting [2021-01-09T13:16:55.624Z] d747dcd14b5f: Waiting [2021-01-09T13:16:55.624Z] 2de7ff778b66: Waiting [2021-01-09T13:16:55.624Z] 0d9ebad4ef96: Waiting [2021-01-09T13:16:55.624Z] 9712f1f96733: Verifying Checksum [2021-01-09T13:16:55.624Z] 9712f1f96733: Download complete [2021-01-09T13:16:57.030Z] 63f879dbbcfc: Verifying Checksum [2021-01-09T13:16:57.030Z] 63f879dbbcfc: Download complete [2021-01-09T13:16:57.301Z] e9a5061849ea: Verifying Checksum [2021-01-09T13:16:57.301Z] e9a5061849ea: Download complete [2021-01-09T13:16:57.301Z] d747dcd14b5f: Download complete [2021-01-09T13:16:57.598Z] 2de7ff778b66: Verifying Checksum [2021-01-09T13:16:57.598Z] 2de7ff778b66: Download complete [2021-01-09T13:16:58.191Z] 0d9ebad4ef96: Verifying Checksum [2021-01-09T13:16:58.191Z] 0d9ebad4ef96: Download complete [2021-01-09T13:16:58.191Z] ab5ef0e58194: Verifying Checksum [2021-01-09T13:16:58.191Z] ab5ef0e58194: Download complete [2021-01-09T13:17:02.452Z] ab5ef0e58194: Pull complete [2021-01-09T13:17:02.716Z] 9712f1f96733: Pull complete [2021-01-09T13:17:05.324Z] 63f879dbbcfc: Pull complete [2021-01-09T13:17:12.095Z] 0d9ebad4ef96: Pull complete [2021-01-09T13:17:13.499Z] e9a5061849ea: Pull complete [2021-01-09T13:17:13.499Z] d747dcd14b5f: Pull complete [2021-01-09T13:17:16.061Z] 2de7ff778b66: Pull complete [2021-01-09T13:17:16.061Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-09T13:17:16.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-09T13:17:16.061Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-09T13:17:16.263Z] prd-centos7-docker-4c-2g-19248 does not seem to be running inside a container [2021-01-09T13:17:16.313Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-09T13:17:20.466Z] $ docker top 7bfe8c0a41f6f24a0885b3f96cb7455ac18ebd80540237a5206992719fc4d317 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-09T13:17:20.821Z] provisioning config files... [2021-01-09T13:17:20.833Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8581895688159740381tmp [2021-01-09T13:17:20.851Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4140008445352427078tmp [2021-01-09T13:17:20.869Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8848795692935980763tmp [Pipeline] { [Pipeline] echo [2021-01-09T13:17:20.991Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:17:21.299Z] ---> sigul-configuration.sh [2021-01-09T13:17:21.299Z] gpg: directory `/root/.gnupg' created [2021-01-09T13:17:21.299Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-09T13:17:21.299Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-09T13:17:21.299Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-09T13:17:21.299Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-09T13:17:21.299Z] gpg: CAST5 encrypted data [2021-01-09T13:17:21.562Z] gpg: encrypted with 1 passphrase [2021-01-09T13:17:21.562Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-09T13:17:21.874Z] + mkdir /home/jenkins [2021-01-09T13:17:21.874Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-09T13:17:22.175Z] + 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-09T13:17:22.187Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:17:22.487Z] ---> sigul-install.sh [2021-01-09T13:17:27.799Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-09T13:17:28.107Z] + git tag --list [2021-01-09T13:17:28.107Z] 0.7.1 [2021-01-09T13:17:28.107Z] delhi-tag [2021-01-09T13:17:28.107Z] v1.0.0 [2021-01-09T13:17:28.107Z] v1.1.0 [2021-01-09T13:17:28.107Z] v1.1.1 [2021-01-09T13:17:28.107Z] v1.1.2 [2021-01-09T13:17:28.107Z] v1.2.0 [2021-01-09T13:17:28.107Z] v1.2.1 [2021-01-09T13:17:28.107Z] v1.2.2 [2021-01-09T13:17:28.107Z] v1.2.3 [2021-01-09T13:17:28.107Z] v1.2.4-dev.1 [2021-01-09T13:17:28.107Z] v1.2.4-dev.10 [2021-01-09T13:17:28.107Z] v1.2.4-dev.11 [2021-01-09T13:17:28.107Z] v1.2.4-dev.12 [2021-01-09T13:17:28.107Z] v1.2.4-dev.13 [2021-01-09T13:17:28.107Z] v1.2.4-dev.14 [2021-01-09T13:17:28.107Z] v1.2.4-dev.15 [2021-01-09T13:17:28.107Z] v1.2.4-dev.16 [2021-01-09T13:17:28.107Z] v1.2.4-dev.17 [2021-01-09T13:17:28.107Z] v1.2.4-dev.18 [2021-01-09T13:17:28.107Z] v1.2.4-dev.19 [2021-01-09T13:17:28.107Z] v1.2.4-dev.2 [2021-01-09T13:17:28.107Z] v1.2.4-dev.20 [2021-01-09T13:17:28.107Z] v1.2.4-dev.21 [2021-01-09T13:17:28.107Z] v1.2.4-dev.22 [2021-01-09T13:17:28.107Z] v1.2.4-dev.23 [2021-01-09T13:17:28.107Z] v1.2.4-dev.24 [2021-01-09T13:17:28.107Z] v1.2.4-dev.25 [2021-01-09T13:17:28.107Z] v1.2.4-dev.26 [2021-01-09T13:17:28.107Z] v1.2.4-dev.27 [2021-01-09T13:17:28.107Z] v1.2.4-dev.28 [2021-01-09T13:17:28.107Z] v1.2.4-dev.29 [2021-01-09T13:17:28.107Z] v1.2.4-dev.3 [2021-01-09T13:17:28.107Z] v1.2.4-dev.30 [2021-01-09T13:17:28.107Z] v1.2.4-dev.31 [2021-01-09T13:17:28.107Z] v1.2.4-dev.32 [2021-01-09T13:17:28.107Z] v1.2.4-dev.33 [2021-01-09T13:17:28.107Z] v1.2.4-dev.34 [2021-01-09T13:17:28.107Z] v1.2.4-dev.35 [2021-01-09T13:17:28.107Z] v1.2.4-dev.4 [2021-01-09T13:17:28.107Z] v1.2.4-dev.5 [2021-01-09T13:17:28.107Z] v1.2.4-dev.6 [2021-01-09T13:17:28.107Z] v1.2.4-dev.7 [2021-01-09T13:17:28.107Z] v1.2.4-dev.8 [2021-01-09T13:17:28.107Z] v1.2.4-dev.9 [2021-01-09T13:17:28.107Z] v1.3.0 [2021-01-09T13:17:28.107Z] v1.3.1-dev.1 [2021-01-09T13:17:28.107Z] v1.3.1-dev.10 [2021-01-09T13:17:28.107Z] v1.3.1-dev.2 [2021-01-09T13:17:28.107Z] v1.3.1-dev.3 [2021-01-09T13:17:28.107Z] v1.3.1-dev.4 [2021-01-09T13:17:28.107Z] v1.3.1-dev.5 [2021-01-09T13:17:28.107Z] v1.3.1-dev.6 [2021-01-09T13:17:28.107Z] v1.3.1-dev.7 [2021-01-09T13:17:28.107Z] v1.3.1-dev.8 [2021-01-09T13:17:28.107Z] v1.3.1-dev.9 [2021-01-09T13:17:28.107Z] v1.4.0 [2021-01-09T13:17:28.107Z] v1.4.1-dev.1 [2021-01-09T13:17:28.107Z] v1.4.1-dev.2 [2021-01-09T13:17:28.107Z] v1.4.1-dev.3 [Pipeline] sh [2021-01-09T13:17:28.410Z] + lftools sign git-tag v1.4.1-dev.3 [2021-01-09T13:17:29.802Z] Signing Git tag with Sigul... [2021-01-09T13:17:29.802Z] Signing v1.4.1-dev.3 [Pipeline] echo [2021-01-09T13:17:30.760Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:17:31.061Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-09T13:17:31.075Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-09T13:17:31.172Z] $ docker stop --time=1 7bfe8c0a41f6f24a0885b3f96cb7455ac18ebd80540237a5206992719fc4d317 [2021-01-09T13:17:33.256Z] $ docker rm -f 7bfe8c0a41f6f24a0885b3f96cb7455ac18ebd80540237a5206992719fc4d317 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:17:34.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-09T13:17:34.242Z] . [Pipeline] withDockerContainer [2021-01-09T13:17:34.344Z] prd-centos7-docker-4c-2g-19248 does not seem to be running inside a container [2021-01-09T13:17:34.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-09T13:17:35.186Z] $ docker top 13313908abf295b64c9d5468a208e712cf235fd8b51fe067ef2759045dd80a0c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-09T13:17:35.542Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-09T13:17:35.542Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-09T13:17:35.788Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-09T13:17:35.793Z] $ docker exec 13313908abf295b64c9d5468a208e712cf235fd8b51fe067ef2759045dd80a0c ssh-agent [2021-01-09T13:17:36.013Z] SSH_AUTH_SOCK=/tmp/ssh-rOi4RdqFtgH3/agent.11 [2021-01-09T13:17:36.013Z] SSH_AGENT_PID=16 [2021-01-09T13:17:36.022Z] Running ssh-add (command line suppressed) [2021-01-09T13:17:36.161Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5571319696768128023.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5571319696768128023.key) [2021-01-09T13:17:36.219Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-09T13:17:36.554Z] + git semver bump pre [2021-01-09T13:17:36.555Z] # -> Open(): unable to determine branch for HEAD [2021-01-09T13:17:36.555Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-09T13:17:36.555Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-09T13:17:36.555Z] # $SEMVER_REMOTE_NAME = origin [2021-01-09T13:17:36.555Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-09T13:17:36.555Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-09T13:17:36.555Z] # $SEMVER_BRANCH = master [2021-01-09T13:17:36.555Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-09T13:17:36.555Z] 1.4.1-dev.4 [Pipeline] } [2021-01-09T13:17:36.567Z] $ docker exec --env ******** --env ******** 13313908abf295b64c9d5468a208e712cf235fd8b51fe067ef2759045dd80a0c ssh-agent -k [2021-01-09T13:17:36.695Z] unset SSH_AUTH_SOCK; [2021-01-09T13:17:36.695Z] unset SSH_AGENT_PID; [2021-01-09T13:17:36.695Z] echo Agent pid 16 killed; [2021-01-09T13:17:36.749Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-09T13:17:37.235Z] + git semver [Pipeline] } [2021-01-09T13:17:37.255Z] $ docker stop --time=1 13313908abf295b64c9d5468a208e712cf235fd8b51fe067ef2759045dd80a0c [2021-01-09T13:17:38.647Z] $ docker rm -f 13313908abf295b64c9d5468a208e712cf235fd8b51fe067ef2759045dd80a0c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:17:39.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-09T13:17:39.214Z] . [Pipeline] withDockerContainer [2021-01-09T13:17:39.322Z] prd-centos7-docker-4c-2g-19248 does not seem to be running inside a container [2021-01-09T13:17:39.371Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-09T13:17:40.198Z] $ docker top 07a704210c58b7b25a49becc90c9569958b1022aaad1ac1185f21153dea958ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-09T13:17:40.519Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-09T13:17:40.519Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-09T13:17:40.753Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-09T13:17:40.757Z] $ docker exec 07a704210c58b7b25a49becc90c9569958b1022aaad1ac1185f21153dea958ff ssh-agent [2021-01-09T13:17:40.945Z] SSH_AUTH_SOCK=/tmp/ssh-AvOoS0NieJZm/agent.11 [2021-01-09T13:17:40.945Z] SSH_AGENT_PID=16 [2021-01-09T13:17:40.952Z] Running ssh-add (command line suppressed) [2021-01-09T13:17:41.090Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4175181134563280144.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4175181134563280144.key) [2021-01-09T13:17:41.151Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-09T13:17:41.490Z] + git semver push [2021-01-09T13:17:41.490Z] # -> Open(): unable to determine branch for HEAD [2021-01-09T13:17:41.490Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-09T13:17:41.490Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-09T13:17:41.490Z] # $SEMVER_REMOTE_NAME = origin [2021-01-09T13:17:41.490Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-09T13:17:41.490Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-09T13:17:41.490Z] # $SEMVER_BRANCH = master [2021-01-09T13:17:41.490Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-09T13:17:48.119Z] $ docker exec --env ******** --env ******** 07a704210c58b7b25a49becc90c9569958b1022aaad1ac1185f21153dea958ff ssh-agent -k [2021-01-09T13:17:48.249Z] unset SSH_AUTH_SOCK; [2021-01-09T13:17:48.250Z] unset SSH_AGENT_PID; [2021-01-09T13:17:48.250Z] echo Agent pid 16 killed; [2021-01-09T13:17:48.306Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-09T13:17:48.781Z] + git semver [Pipeline] } [2021-01-09T13:17:48.799Z] $ docker stop --time=1 07a704210c58b7b25a49becc90c9569958b1022aaad1ac1185f21153dea958ff [2021-01-09T13:17:50.177Z] $ docker rm -f 07a704210c58b7b25a49becc90c9569958b1022aaad1ac1185f21153dea958ff [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-09T13:17:51.832Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:17:52.403Z] ---> package-listing.sh [2021-01-09T13:17:52.403Z] ++ facter osfamily [2021-01-09T13:17:52.403Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-09T13:17:52.403Z] + OS_FAMILY=redhat [2021-01-09T13:17:52.403Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-01-09T13:17:52.403Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-09T13:17:52.403Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-09T13:17:52.403Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-09T13:17:52.403Z] + PACKAGES=/tmp/packages_start.txt [2021-01-09T13:17:52.403Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-09T13:17:52.403Z] + PACKAGES=/tmp/packages_end.txt [2021-01-09T13:17:52.403Z] + case "${OS_FAMILY}" in [2021-01-09T13:17:52.403Z] + rpm -qa [2021-01-09T13:17:52.403Z] + sort [2021-01-09T13:17:57.719Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-09T13:17:57.719Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-09T13:17:57.719Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-09T13:17:57.719Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-09T13:17:57.719Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-01-09T13:17:57.719Z] + 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-09T13:17:57.734Z] 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-09T13:17:58.117Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:17:58.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-09T13:17:58.464Z] [2021-01-09T13:17:58.464Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-09T13:17:58.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-09T13:17:58.828Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-09T13:17:58.828Z] df20fa9351a1: Pulling fs layer [2021-01-09T13:17:58.828Z] 36b3adc4ff6f: Pulling fs layer [2021-01-09T13:17:58.828Z] 8ad3a11d3b57: Pulling fs layer [2021-01-09T13:17:58.828Z] 46f8f816bc3b: Pulling fs layer [2021-01-09T13:17:58.828Z] 93b61091891f: Pulling fs layer [2021-01-09T13:17:58.828Z] 93b9cdb0e59b: Pulling fs layer [2021-01-09T13:17:58.828Z] 5e14af77c1be: Pulling fs layer [2021-01-09T13:17:58.828Z] 01666e4c0597: Pulling fs layer [2021-01-09T13:17:58.828Z] aa168da1d23b: Pulling fs layer [2021-01-09T13:17:58.828Z] 5e14af77c1be: Waiting [2021-01-09T13:17:58.828Z] 93b61091891f: Waiting [2021-01-09T13:17:58.828Z] 01666e4c0597: Waiting [2021-01-09T13:17:58.828Z] 93b9cdb0e59b: Waiting [2021-01-09T13:17:58.828Z] aa168da1d23b: Waiting [2021-01-09T13:17:58.828Z] 46f8f816bc3b: Waiting [2021-01-09T13:17:58.828Z] 36b3adc4ff6f: Verifying Checksum [2021-01-09T13:17:58.828Z] 36b3adc4ff6f: Download complete [2021-01-09T13:17:58.828Z] 46f8f816bc3b: Verifying Checksum [2021-01-09T13:17:58.828Z] 46f8f816bc3b: Download complete [2021-01-09T13:17:59.092Z] df20fa9351a1: Verifying Checksum [2021-01-09T13:17:59.092Z] df20fa9351a1: Download complete [2021-01-09T13:17:59.092Z] 93b9cdb0e59b: Verifying Checksum [2021-01-09T13:17:59.092Z] 93b9cdb0e59b: Download complete [2021-01-09T13:17:59.092Z] 5e14af77c1be: Verifying Checksum [2021-01-09T13:17:59.092Z] 5e14af77c1be: Download complete [2021-01-09T13:17:59.092Z] 01666e4c0597: Verifying Checksum [2021-01-09T13:17:59.092Z] 01666e4c0597: Download complete [2021-01-09T13:17:59.092Z] 93b61091891f: Verifying Checksum [2021-01-09T13:17:59.092Z] 93b61091891f: Download complete [2021-01-09T13:17:59.092Z] 8ad3a11d3b57: Verifying Checksum [2021-01-09T13:17:59.092Z] 8ad3a11d3b57: Download complete [2021-01-09T13:17:59.358Z] df20fa9351a1: Pull complete [2021-01-09T13:17:59.621Z] 36b3adc4ff6f: Pull complete [2021-01-09T13:18:01.557Z] 8ad3a11d3b57: Pull complete [2021-01-09T13:18:01.557Z] aa168da1d23b: Verifying Checksum [2021-01-09T13:18:01.557Z] aa168da1d23b: Download complete [2021-01-09T13:18:01.557Z] 46f8f816bc3b: Pull complete [2021-01-09T13:18:02.143Z] 93b61091891f: Pull complete [2021-01-09T13:18:02.143Z] 93b9cdb0e59b: Pull complete [2021-01-09T13:18:02.409Z] 5e14af77c1be: Pull complete [2021-01-09T13:18:02.409Z] 01666e4c0597: Pull complete [2021-01-09T13:18:10.627Z] aa168da1d23b: Pull complete [2021-01-09T13:18:10.627Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-09T13:18:10.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-09T13:18:10.627Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-09T13:18:10.799Z] prd-centos7-docker-4c-2g-19248 does not seem to be running inside a container [2021-01-09T13:18:10.845Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-09T13:18:13.760Z] $ docker top 1c9ddefaf9d0dc3364aa295089a239cd29d4688b943cc892e6683b1ce35c2729 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-09T13:18:14.332Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-09T13:18:14.635Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-09T13:18:14.939Z] + ls /var/log/sa-host [2021-01-09T13:18:14.939Z] + sadf -c /var/log/sa-host/sa09 [2021-01-09T13:18:14.939Z] file_magic: OK [2021-01-09T13:18:14.939Z] HZ: Using current value: 100 [2021-01-09T13:18:14.939Z] file_header: OK [2021-01-09T13:18:14.939Z] 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-09T13:18:14.939Z] Statistics: [2021-01-09T13:18:14.939Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-09T13:18:14.939Z] File successfully converted to sysstat format version 12.2.1 [2021-01-09T13:18:14.939Z] + sadf -c /var/log/sa-host/sa23 [2021-01-09T13:18:14.939Z] file_magic: OK [2021-01-09T13:18:14.939Z] HZ: Using current value: 100 [2021-01-09T13:18:14.939Z] file_header: OK [2021-01-09T13:18:14.939Z] 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-09T13:18:14.939Z] Statistics: [2021-01-09T13:18:14.939Z] Hnuu...uuuununununu... [2021-01-09T13:18:14.939Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-09T13:18:15.136Z] provisioning config files... [2021-01-09T13:18:15.181Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4803446600392062354tmp [Pipeline] { [Pipeline] echo [2021-01-09T13:18:15.253Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:18:15.555Z] ---> create-netrc.sh [Pipeline] } [2021-01-09T13:18:15.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-09T13:18:15.660Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:18:15.957Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-09T13:18:15.968Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:18:16.266Z] ---> sudo-logs.sh [2021-01-09T13:18:16.266Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-09T13:18:16.276Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:18:16.573Z] ---> job-cost.sh [2021-01-09T13:18:16.573Z] lf-activate-venv: SKIPPING [2021-01-09T13:18:16.573Z] INFO: No Stack... [2021-01-09T13:18:17.522Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-09T13:18:18.099Z] INFO: Archiving Costs [Pipeline] echo [2021-01-09T13:18:18.113Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-09T13:18:18.411Z] ---> logs-deploy.sh [2021-01-09T13:18:18.412Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/101 [2021-01-09T13:18:18.412Z] INFO: archiving workspace using pattern(s): [2021-01-09T13:18:20.334Z] Archives upload complete. [2021-01-09T13:18:20.334Z] INFO: archiving logs to Nexus