Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cf9e8dc7bd919f9915f3ed3b96261970003b233d 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13506 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision cf9e8dc7bd919f9915f3ed3b96261970003b233d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f cf9e8dc7bd919f9915f3ed3b96261970003b233d # timeout=10 Commit message: "Merge pull request #658 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap-0.0.60" > git rev-list --no-walk 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-26T07:25:06.545Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-26T07:25:06.920Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-26T07:25:07.028Z] ========================================================= [2020-11-26T07:25:07.028Z] EdgeX Global Pipelines Version Info [2020-11-26T07:25:07.028Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:25:08.511Z] ------------------- [2020-11-26T07:25:08.511Z] stable info: [2020-11-26T07:25:08.511Z] ------------------- [2020-11-26T07:25:08.511Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-26T07:25:08.511Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-26T07:25:08.511Z] Message: update stable to v1.0.167 [2020-11-26T07:25:09.470Z] ------------------- [2020-11-26T07:25:09.470Z] experimental info: [2020-11-26T07:25:09.470Z] ------------------- [2020-11-26T07:25:09.470Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-26T07:25:09.470Z] Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a [2020-11-26T07:25:09.470Z] Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-26T07:25:09.873Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-11-26T07:25:10.001Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-11-26T07:25:10.145Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-26T07:25:10.289Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-26T07:25:10.434Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-26T07:25:10.549Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-26T07:25:10.676Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-26T07:25:10.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-26T07:25:10.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-11-26T07:25:11.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-26T07:25:11.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-26T07:25:11.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-11-26T07:25:11.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-26T07:25:11.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-26T07:25:11.648Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-26T07:25:11.745Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T07:25:11.843Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T07:25:11.934Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T07:25:12.034Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-26T07:25:12.137Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-26T07:25:12.256Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-11-26T07:25:12.349Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-11-26T07:25:12.446Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-26T07:25:12.538Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-26T07:25:12.633Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-26T07:25:12.776Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-26T07:25:12.871Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-11-26T07:25:12.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-11-26T07:25:13.075Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-11-26T07:25:13.172Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf9e8dc7bd919f9915f3ed3b96261970003b233d [Pipeline] echo [2020-11-26T07:25:13.277Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf9e8dc [Pipeline] echo [2020-11-26T07:25:13.426Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T07:25:13.625Z] provisioning config files... [2020-11-26T07:25:13.671Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3644419055954055749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:25:14.077Z] ---> docker-login.sh [2020-11-26T07:25:14.077Z] nexus3.edgexfoundry.org:10001 [2020-11-26T07:25:14.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:25:14.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:25:14.607Z] Configure a credential helper to remove this warning. See [2020-11-26T07:25:14.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:25:14.607Z] [2020-11-26T07:25:14.607Z] Login Succeeded [2020-11-26T07:25:14.607Z] nexus3.edgexfoundry.org:10002 [2020-11-26T07:25:14.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:25:14.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:25:14.875Z] Configure a credential helper to remove this warning. See [2020-11-26T07:25:14.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:25:14.875Z] [2020-11-26T07:25:14.875Z] Login Succeeded [2020-11-26T07:25:14.875Z] nexus3.edgexfoundry.org:10003 [2020-11-26T07:25:14.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:25:15.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:25:15.138Z] Configure a credential helper to remove this warning. See [2020-11-26T07:25:15.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:25:15.138Z] [2020-11-26T07:25:15.138Z] Login Succeeded [2020-11-26T07:25:15.138Z] nexus3.edgexfoundry.org:10004 [2020-11-26T07:25:15.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:25:15.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:25:15.138Z] Configure a credential helper to remove this warning. See [2020-11-26T07:25:15.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:25:15.138Z] [2020-11-26T07:25:15.138Z] Login Succeeded [2020-11-26T07:25:15.402Z] docker.io [2020-11-26T07:25:15.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:25:15.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:25:15.665Z] Configure a credential helper to remove this warning. See [2020-11-26T07:25:15.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:25:15.665Z] [2020-11-26T07:25:15.665Z] Login Succeeded [2020-11-26T07:25:15.665Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T07:25:15.677Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T07:25:16.489Z] + git log --format=format:%s -1 cf9e8dc7bd919f9915f3ed3b96261970003b233d [Pipeline] echo [2020-11-26T07:25:16.569Z] GIT_COMMIT: cf9e8dc7bd919f9915f3ed3b96261970003b233d, Commit Message: Merge pull request #658 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap-0.0.60 [Pipeline] echo [2020-11-26T07:25:16.618Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:25:17.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T07:25:17.604Z] [2020-11-26T07:25:17.604Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:25:17.968Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T07:25:17.968Z] latest: Pulling from edgex-devops/git-semver [2020-11-26T07:25:17.968Z] 31603596830f: Pulling fs layer [2020-11-26T07:25:17.968Z] 2a8b12db71e7: Pulling fs layer [2020-11-26T07:25:17.968Z] 6ca5941a6612: Pulling fs layer [2020-11-26T07:25:17.968Z] ecc8261a40a4: Pulling fs layer [2020-11-26T07:25:17.968Z] ecc8261a40a4: Waiting [2020-11-26T07:25:17.968Z] 2a8b12db71e7: Verifying Checksum [2020-11-26T07:25:17.968Z] 2a8b12db71e7: Download complete [2020-11-26T07:25:18.232Z] 31603596830f: Verifying Checksum [2020-11-26T07:25:18.232Z] 31603596830f: Download complete [2020-11-26T07:25:18.232Z] 6ca5941a6612: Verifying Checksum [2020-11-26T07:25:18.232Z] 6ca5941a6612: Download complete [2020-11-26T07:25:18.232Z] ecc8261a40a4: Verifying Checksum [2020-11-26T07:25:18.232Z] ecc8261a40a4: Download complete [2020-11-26T07:25:18.495Z] 31603596830f: Pull complete [2020-11-26T07:25:18.767Z] 2a8b12db71e7: Pull complete [2020-11-26T07:25:19.744Z] 6ca5941a6612: Pull complete [2020-11-26T07:25:19.744Z] ecc8261a40a4: Pull complete [2020-11-26T07:25:19.744Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-26T07:25:20.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T07:25:20.008Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-26T07:25:20.174Z] prd-centos7-docker-4c-2g-13506 does not seem to be running inside a container [2020-11-26T07:25:20.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-26T07:25:23.038Z] $ docker top 10e262a73fb793002455c311554b43f42a1da3433812750a7e59de4de0057c49 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-26T07:25:23.466Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T07:25:23.467Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T07:25:23.719Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T07:25:23.725Z] $ docker exec 10e262a73fb793002455c311554b43f42a1da3433812750a7e59de4de0057c49 ssh-agent [2020-11-26T07:25:23.909Z] SSH_AUTH_SOCK=/tmp/ssh-EZFZAdOV8atR/agent.12 [2020-11-26T07:25:23.909Z] SSH_AGENT_PID=17 [2020-11-26T07:25:23.921Z] Running ssh-add (command line suppressed) [2020-11-26T07:25:24.049Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_874720738996886113.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_874720738996886113.key) [2020-11-26T07:25:24.100Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T07:25:24.442Z] + git tag --points-at HEAD [Pipeline] } [2020-11-26T07:25:24.470Z] $ docker exec --env ******** --env ******** 10e262a73fb793002455c311554b43f42a1da3433812750a7e59de4de0057c49 ssh-agent -k [2020-11-26T07:25:24.594Z] unset SSH_AUTH_SOCK; [2020-11-26T07:25:24.594Z] unset SSH_AGENT_PID; [2020-11-26T07:25:24.594Z] echo Agent pid 17 killed; [2020-11-26T07:25:24.643Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-26T07:25:24.801Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T07:25:24.801Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T07:25:24.992Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T07:25:24.998Z] $ docker exec 10e262a73fb793002455c311554b43f42a1da3433812750a7e59de4de0057c49 ssh-agent [2020-11-26T07:25:25.177Z] SSH_AUTH_SOCK=/tmp/ssh-5SnCTdtu65Jd/agent.46 [2020-11-26T07:25:25.177Z] SSH_AGENT_PID=51 [2020-11-26T07:25:25.185Z] Running ssh-add (command line suppressed) [2020-11-26T07:25:25.315Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1365122827117458526.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1365122827117458526.key) [2020-11-26T07:25:25.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T07:25:25.722Z] + git semver init [2020-11-26T07:25:25.722Z] # -> Open(): unable to determine branch for HEAD [2020-11-26T07:25:25.722Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-26T07:25:25.722Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T07:25:25.722Z] # $SEMVER_REMOTE_NAME = origin [2020-11-26T07:25:25.722Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-26T07:25:25.722Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-26T07:25:25.722Z] # $SEMVER_BRANCH = master [2020-11-26T07:25:25.722Z] # $SEMVER_TEMP = /tmp/semver-650798381 [2020-11-26T07:25:25.722Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-11-26T07:25:26.678Z] # '/tmp/semver-650798381' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-11-26T07:25:26.678Z] # -> Force: false [2020-11-26T07:25:26.678Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-11-26T07:25:26.695Z] $ docker exec --env ******** --env ******** 10e262a73fb793002455c311554b43f42a1da3433812750a7e59de4de0057c49 ssh-agent -k [2020-11-26T07:25:26.846Z] unset SSH_AUTH_SOCK; [2020-11-26T07:25:26.846Z] unset SSH_AGENT_PID; [2020-11-26T07:25:26.846Z] echo Agent pid 51 killed; [2020-11-26T07:25:26.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-26T07:25:27.377Z] + git semver [Pipeline] } [2020-11-26T07:25:27.401Z] $ docker stop --time=1 10e262a73fb793002455c311554b43f42a1da3433812750a7e59de4de0057c49 [2020-11-26T07:25:28.773Z] $ docker rm -f 10e262a73fb793002455c311554b43f42a1da3433812750a7e59de4de0057c49 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T07:25:29.263Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-26T07:25:29.841Z] Stashed 1 file(s) [Pipeline] echo [2020-11-26T07:25:29.844Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-11-26T07:25:30.984Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13501 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-11-26T07:25:31.036Z] Running in /w/workspace/device-sdk-go/89 [Pipeline] { [Pipeline] checkout [2020-11-26T07:25:35.773Z] using credential edgex-jenkins-ssh [2020-11-26T07:25:35.828Z] Cloning the remote Git repository [2020-11-26T07:25:35.878Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T07:25:36.005Z] > git init /w/workspace/device-sdk-go/89 # timeout=10 [2020-11-26T07:25:36.086Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T07:25:36.087Z] > git --version # timeout=10 [2020-11-26T07:25:36.111Z] > git --version # 'git version 2.17.1' [2020-11-26T07:25:36.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T07:25:36.201Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T07:25:37.203Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-26T07:25:37.222Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T07:25:37.247Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-26T07:25:37.810Z] Checking out Revision cf9e8dc7bd919f9915f3ed3b96261970003b233d (master) [2020-11-26T07:25:37.282Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T07:25:37.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T07:25:37.295Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-26T07:25:37.825Z] > git config core.sparsecheckout # timeout=10 [2020-11-26T07:25:37.846Z] > git checkout -f cf9e8dc7bd919f9915f3ed3b96261970003b233d # timeout=10 [2020-11-26T07:25:42.101Z] Commit message: "Merge pull request #658 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap-0.0.60" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T07:25:43.668Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-11-26T07:25:44.090Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-26T07:25:44.446Z] + true [2020-11-26T07:25:44.446Z] + sudo service docker restart [2020-11-26T07:25:45.701Z] Still waiting to schedule task [2020-11-26T07:25:45.701Z] Executor slot already in use; ‘prd-centos7-docker-4c-2g-13507’ is offline; ‘prd-centos7-docker-4c-2g-13509’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T07:25:46.513Z] provisioning config files... [2020-11-26T07:25:46.565Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/89@tmp/config7898047210917415101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:25:46.978Z] ---> docker-login.sh [2020-11-26T07:25:46.979Z] nexus3.edgexfoundry.org:10001 [2020-11-26T07:25:47.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:25:48.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:25:48.237Z] Configure a credential helper to remove this warning. See [2020-11-26T07:25:48.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:25:48.237Z] [2020-11-26T07:25:48.237Z] Login Succeeded [2020-11-26T07:25:48.237Z] nexus3.edgexfoundry.org:10002 [2020-11-26T07:25:48.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:25:48.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:25:48.790Z] Configure a credential helper to remove this warning. See [2020-11-26T07:25:48.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:25:48.790Z] [2020-11-26T07:25:48.790Z] Login Succeeded [2020-11-26T07:25:48.790Z] nexus3.edgexfoundry.org:10003 [2020-11-26T07:25:49.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:25:49.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:25:49.344Z] Configure a credential helper to remove this warning. See [2020-11-26T07:25:49.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:25:49.344Z] [2020-11-26T07:25:49.344Z] Login Succeeded [2020-11-26T07:25:49.344Z] nexus3.edgexfoundry.org:10004 [2020-11-26T07:25:49.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:25:49.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:25:49.898Z] Configure a credential helper to remove this warning. See [2020-11-26T07:25:49.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:25:49.898Z] [2020-11-26T07:25:49.898Z] Login Succeeded [2020-11-26T07:25:49.898Z] docker.io [2020-11-26T07:25:50.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:25:50.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:25:50.443Z] Configure a credential helper to remove this warning. See [2020-11-26T07:25:50.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:25:50.443Z] [2020-11-26T07:25:50.443Z] Login Succeeded [2020-11-26T07:25:50.443Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T07:25:50.460Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-26T07:25:50.937Z] ========================================================= [2020-11-26T07:25:50.937Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-26T07:25:50.937Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:25:51.381Z] + 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 . [2020-11-26T07:25:51.650Z] Sending build context to Docker daemon 2.351MB [2020-11-26T07:25:51.922Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-26T07:25:51.922Z] Step 2/8 : FROM ${BASE} [2020-11-26T07:25:51.922Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-26T07:25:51.922Z] b538f80385f9: Pulling fs layer [2020-11-26T07:25:51.922Z] 74f711af9a0d: Pulling fs layer [2020-11-26T07:25:51.922Z] 99f96fe45779: Pulling fs layer [2020-11-26T07:25:51.922Z] 8529a6b9a6be: Pulling fs layer [2020-11-26T07:25:51.922Z] 45590311c82a: Pulling fs layer [2020-11-26T07:25:51.922Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-26T07:25:51.922Z] 209524e5b208: Pulling fs layer [2020-11-26T07:25:51.922Z] 45590311c82a: Waiting [2020-11-26T07:25:51.922Z] 69ca0ff8b7b3: Waiting [2020-11-26T07:25:51.922Z] 209524e5b208: Waiting [2020-11-26T07:25:51.922Z] 8529a6b9a6be: Waiting [2020-11-26T07:25:51.922Z] 99f96fe45779: Verifying Checksum [2020-11-26T07:25:51.922Z] 99f96fe45779: Download complete [2020-11-26T07:25:51.922Z] 74f711af9a0d: Download complete [2020-11-26T07:25:51.922Z] 45590311c82a: Verifying Checksum [2020-11-26T07:25:51.922Z] 45590311c82a: Download complete [2020-11-26T07:25:51.922Z] 69ca0ff8b7b3: Download complete [2020-11-26T07:25:52.514Z] b538f80385f9: Verifying Checksum [2020-11-26T07:25:52.514Z] b538f80385f9: Download complete [2020-11-26T07:25:53.124Z] b538f80385f9: Pull complete [2020-11-26T07:25:53.744Z] 74f711af9a0d: Pull complete [2020-11-26T07:25:54.022Z] 99f96fe45779: Pull complete [2020-11-26T07:25:55.474Z] 209524e5b208: Verifying Checksum [2020-11-26T07:25:55.474Z] 209524e5b208: Download complete [2020-11-26T07:25:56.455Z] 8529a6b9a6be: Verifying Checksum [2020-11-26T07:25:56.455Z] 8529a6b9a6be: Download complete [2020-11-26T07:26:06.632Z] 8529a6b9a6be: Pull complete [2020-11-26T07:26:06.632Z] 45590311c82a: Pull complete [2020-11-26T07:26:06.908Z] 69ca0ff8b7b3: Pull complete [2020-11-26T07:26:11.217Z] 209524e5b208: Pull complete [2020-11-26T07:26:11.217Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-26T07:26:11.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-26T07:26:11.217Z] ---> 5bddaf1c2fca [2020-11-26T07:26:11.217Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T07:26:13.842Z] ---> Running in 1d6649f136c0 [2020-11-26T07:26:13.842Z] Removing intermediate container 1d6649f136c0 [2020-11-26T07:26:13.842Z] ---> 0dd44184ca20 [2020-11-26T07:26:13.842Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-26T07:26:13.842Z] ---> Running in 032d62c2f4ee [2020-11-26T07:26:16.464Z] Removing intermediate container 032d62c2f4ee [2020-11-26T07:26:16.464Z] ---> a5b31a23bf52 [2020-11-26T07:26:16.464Z] Step 5/8 : RUN apk add --no-cache make git [2020-11-26T07:26:16.464Z] ---> Running in 9a3cfe775e91 [2020-11-26T07:26:17.446Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-26T07:26:18.419Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-26T07:26:19.015Z] OK: 142 MiB in 39 packages [2020-11-26T07:26:20.447Z] Removing intermediate container 9a3cfe775e91 [2020-11-26T07:26:20.447Z] ---> 48f343436252 [2020-11-26T07:26:20.447Z] Step 6/8 : WORKDIR /device-sdk-go [2020-11-26T07:26:20.447Z] ---> Running in f50f33dc557c [2020-11-26T07:26:21.044Z] Removing intermediate container f50f33dc557c [2020-11-26T07:26:21.044Z] ---> 9c841167e397 [2020-11-26T07:26:21.044Z] Step 7/8 : COPY . . [2020-11-26T07:26:22.034Z] ---> fe3ac4794c6f [2020-11-26T07:26:22.034Z] Step 8/8 : RUN go mod download [2020-11-26T07:26:22.311Z] ---> Running in f753109709b7 [2020-11-26T07:26:49.264Z] Removing intermediate container f753109709b7 [2020-11-26T07:26:49.264Z] ---> 3fa4b6c20ee2 [2020-11-26T07:26:49.264Z] Successfully built 3fa4b6c20ee2 [2020-11-26T07:26:49.264Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:26:49.625Z] + docker inspect -f . ci-base-image-arm64 [2020-11-26T07:26:49.625Z] . [Pipeline] withDockerContainer [2020-11-26T07:26:49.945Z] prd-ubuntu18.04-docker-arm64-4c-16g-13501 does not seem to be running inside a container [2020-11-26T07:26:50.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/89 -v /w/workspace/device-sdk-go/89:/w/workspace/device-sdk-go/89:rw,z -v /w/workspace/device-sdk-go/89@tmp:/w/workspace/device-sdk-go/89@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 ******** ci-base-image-arm64 cat [2020-11-26T07:26:51.385Z] $ docker top cbb9a4a59d67d3f93a8aa5bfc57c28ff31cc34c57ea64f9a3743e1bff63e4d4c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T07:26:52.373Z] + go version [2020-11-26T07:26:52.373Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-26T07:26:52.397Z] $ docker stop --time=1 cbb9a4a59d67d3f93a8aa5bfc57c28ff31cc34c57ea64f9a3743e1bff63e4d4c [2020-11-26T07:26:54.335Z] $ docker rm -f cbb9a4a59d67d3f93a8aa5bfc57c28ff31cc34c57ea64f9a3743e1bff63e4d4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:26:55.419Z] + docker inspect -f . ci-base-image-arm64 [2020-11-26T07:26:55.419Z] . [Pipeline] withDockerContainer [2020-11-26T07:26:55.682Z] prd-ubuntu18.04-docker-arm64-4c-16g-13501 does not seem to be running inside a container [2020-11-26T07:26:55.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/89 -v /w/workspace/device-sdk-go/89:/w/workspace/device-sdk-go/89:rw,z -v /w/workspace/device-sdk-go/89@tmp:/w/workspace/device-sdk-go/89@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 ******** ci-base-image-arm64 cat [2020-11-26T07:26:57.225Z] $ docker top 37d9f518380416baa581678dc03139f3f7ec2fbdefbfd83ea28cf2b2464f727b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T07:26:58.223Z] + make test [2020-11-26T07:26:58.223Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-11-26T07:27:12.690Z] Running on prd-centos7-docker-4c-2g-13513 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-11-26T07:27:12.745Z] Running in /w/workspace/device-sdk-go/89 [Pipeline] { [Pipeline] checkout [2020-11-26T07:27:19.381Z] using credential edgex-jenkins-ssh [2020-11-26T07:27:19.430Z] Cloning the remote Git repository [2020-11-26T07:27:19.460Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T07:27:20.403Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-11-26T07:27:19.532Z] > git init /w/workspace/device-sdk-go/89 # timeout=10 [2020-11-26T07:27:19.632Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T07:27:19.632Z] > git --version # timeout=10 [2020-11-26T07:27:19.672Z] > git --version # 'git version 2.24.3' [2020-11-26T07:27:19.673Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T07:27:19.728Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T07:27:20.528Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-26T07:27:20.559Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T07:27:20.604Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-26T07:27:20.670Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T07:27:20.670Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T07:27:20.692Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-26T07:27:21.208Z] Checking out Revision cf9e8dc7bd919f9915f3ed3b96261970003b233d (master) [2020-11-26T07:27:21.226Z] > git config core.sparsecheckout # timeout=10 [2020-11-26T07:27:21.255Z] > git checkout -f cf9e8dc7bd919f9915f3ed3b96261970003b233d # timeout=10 [2020-11-26T07:27:25.319Z] Commit message: "Merge pull request #658 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap-0.0.60" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T07:27:26.698Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-11-26T07:27:27.117Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-26T07:27:27.465Z] + sudo service docker restart [2020-11-26T07:27:27.465Z] + true [2020-11-26T07:27:27.465Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T07:27:28.956Z] provisioning config files... [2020-11-26T07:27:28.990Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/89@tmp/config4693623812588445020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:27:29.363Z] ---> docker-login.sh [2020-11-26T07:27:29.364Z] nexus3.edgexfoundry.org:10001 [2020-11-26T07:27:29.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:27:29.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:27:29.919Z] Configure a credential helper to remove this warning. See [2020-11-26T07:27:29.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:27:29.919Z] [2020-11-26T07:27:29.919Z] Login Succeeded [2020-11-26T07:27:29.919Z] nexus3.edgexfoundry.org:10002 [2020-11-26T07:27:30.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:27:30.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:27:30.197Z] Configure a credential helper to remove this warning. See [2020-11-26T07:27:30.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:27:30.197Z] [2020-11-26T07:27:30.197Z] Login Succeeded [2020-11-26T07:27:30.197Z] nexus3.edgexfoundry.org:10003 [2020-11-26T07:27:30.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:27:30.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:27:30.476Z] Configure a credential helper to remove this warning. See [2020-11-26T07:27:30.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:27:30.476Z] [2020-11-26T07:27:30.476Z] Login Succeeded [2020-11-26T07:27:30.476Z] nexus3.edgexfoundry.org:10004 [2020-11-26T07:27:30.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:27:30.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:27:30.755Z] Configure a credential helper to remove this warning. See [2020-11-26T07:27:30.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:27:30.755Z] [2020-11-26T07:27:30.755Z] Login Succeeded [2020-11-26T07:27:30.755Z] docker.io [2020-11-26T07:27:31.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:27:31.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:27:31.289Z] Configure a credential helper to remove this warning. See [2020-11-26T07:27:31.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:27:31.289Z] [2020-11-26T07:27:31.289Z] Login Succeeded [2020-11-26T07:27:31.289Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T07:27:31.302Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-26T07:27:31.756Z] ========================================================= [2020-11-26T07:27:31.756Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-26T07:27:31.756Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:27:32.143Z] + 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 . [2020-11-26T07:27:32.408Z] Sending build context to Docker daemon 2.351MB [2020-11-26T07:27:32.408Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-26T07:27:32.408Z] Step 2/8 : FROM ${BASE} [2020-11-26T07:27:32.721Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-26T07:27:32.721Z] df20fa9351a1: Pulling fs layer [2020-11-26T07:27:32.721Z] ed8968b2872e: Pulling fs layer [2020-11-26T07:27:32.721Z] a92cc7c5fd73: Pulling fs layer [2020-11-26T07:27:32.721Z] e871e8e8d7a9: Pulling fs layer [2020-11-26T07:27:32.721Z] e73272ec9a57: Pulling fs layer [2020-11-26T07:27:32.721Z] 1e910a182e73: Pulling fs layer [2020-11-26T07:27:32.721Z] 4e634b169226: Pulling fs layer [2020-11-26T07:27:32.721Z] e871e8e8d7a9: Waiting [2020-11-26T07:27:32.721Z] e73272ec9a57: Waiting [2020-11-26T07:27:32.721Z] 1e910a182e73: Waiting [2020-11-26T07:27:32.721Z] 4e634b169226: Waiting [2020-11-26T07:27:32.721Z] a92cc7c5fd73: Verifying Checksum [2020-11-26T07:27:32.721Z] a92cc7c5fd73: Download complete [2020-11-26T07:27:32.721Z] ed8968b2872e: Verifying Checksum [2020-11-26T07:27:32.721Z] ed8968b2872e: Download complete [2020-11-26T07:27:32.721Z] e73272ec9a57: Verifying Checksum [2020-11-26T07:27:32.721Z] e73272ec9a57: Download complete [2020-11-26T07:27:32.721Z] 1e910a182e73: Verifying Checksum [2020-11-26T07:27:32.721Z] 1e910a182e73: Download complete [2020-11-26T07:27:32.721Z] df20fa9351a1: Verifying Checksum [2020-11-26T07:27:32.721Z] df20fa9351a1: Download complete [2020-11-26T07:27:33.345Z] df20fa9351a1: Pull complete [2020-11-26T07:27:33.654Z] ed8968b2872e: Pull complete [2020-11-26T07:27:33.959Z] a92cc7c5fd73: Pull complete [2020-11-26T07:27:37.385Z] 4e634b169226: Verifying Checksum [2020-11-26T07:27:37.385Z] 4e634b169226: Download complete [2020-11-26T07:27:38.384Z] e871e8e8d7a9: Verifying Checksum [2020-11-26T07:27:38.384Z] e871e8e8d7a9: Download complete [2020-11-26T07:27:48.828Z] e871e8e8d7a9: Pull complete [2020-11-26T07:27:48.828Z] e73272ec9a57: Pull complete [2020-11-26T07:27:49.100Z] 1e910a182e73: Pull complete [2020-11-26T07:27:56.016Z] 4e634b169226: Pull complete [2020-11-26T07:27:56.016Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-26T07:27:56.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-26T07:27:56.016Z] ---> f7629b54cfaa [2020-11-26T07:27:56.016Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T07:27:56.016Z] ---> Running in c9cf0ec4065e [2020-11-26T07:27:56.016Z] Removing intermediate container c9cf0ec4065e [2020-11-26T07:27:56.016Z] ---> 743a03b6e134 [2020-11-26T07:27:56.016Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-26T07:27:56.016Z] ---> Running in 78fb1a2058c1 [2020-11-26T07:27:57.537Z] Removing intermediate container 78fb1a2058c1 [2020-11-26T07:27:57.537Z] ---> 1a9334b44c07 [2020-11-26T07:27:57.537Z] Step 5/8 : RUN apk add --no-cache make git [2020-11-26T07:27:57.537Z] ---> Running in bf24a6c89e37 [2020-11-26T07:27:59.057Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-26T07:27:59.449Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-11-26T07:27:59.449Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-11-26T07:27:59.449Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-11-26T07:27:59.449Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.124s coverage: 20.6% of statements [2020-11-26T07:28:00.021Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-26T07:28:00.654Z] OK: 166 MiB in 39 packages [2020-11-26T07:28:01.299Z] Removing intermediate container bf24a6c89e37 [2020-11-26T07:28:01.299Z] ---> 4435893ac606 [2020-11-26T07:28:01.299Z] Step 6/8 : WORKDIR /device-sdk-go [2020-11-26T07:28:01.299Z] ---> Running in 01d45cfb187e [2020-11-26T07:28:01.592Z] Removing intermediate container 01d45cfb187e [2020-11-26T07:28:01.592Z] ---> 03b327048d42 [2020-11-26T07:28:01.592Z] Step 7/8 : COPY . . [2020-11-26T07:28:03.093Z] ---> 50d11f1475c4 [2020-11-26T07:28:03.093Z] Step 8/8 : RUN go mod download [2020-11-26T07:28:03.093Z] ---> Running in c8394ae28d7d [2020-11-26T07:28:03.790Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.193s coverage: 97.1% of statements [2020-11-26T07:28:30.166Z] Removing intermediate container c8394ae28d7d [2020-11-26T07:28:30.166Z] ---> a4d700b0ff9a [2020-11-26T07:28:30.166Z] Successfully built a4d700b0ff9a [2020-11-26T07:28:30.166Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:28:30.609Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.151s coverage: 9.4% of statements [2020-11-26T07:28:30.609Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.118s coverage: 21.9% of statements [2020-11-26T07:28:30.609Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-11-26T07:28:30.609Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.585s coverage: 42.5% of statements [2020-11-26T07:28:30.609Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-11-26T07:28:30.609Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.810s coverage: 68.9% of statements [2020-11-26T07:28:30.609Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-11-26T07:28:30.609Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-11-26T07:28:30.609Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-11-26T07:28:30.609Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-11-26T07:28:30.609Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.195s coverage: 52.6% of statements [2020-11-26T07:28:30.609Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-11-26T07:28:30.609Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-11-26T07:28:30.609Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-11-26T07:28:30.609Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.776s coverage: 68.9% of statements [2020-11-26T07:28:30.609Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.140s coverage: 4.7% of statements [2020-11-26T07:28:30.609Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-11-26T07:28:30.609Z] GO111MODULE=on go vet ./... [2020-11-26T07:28:30.711Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-26T07:28:31.133Z] . [Pipeline] withDockerContainer [2020-11-26T07:28:31.722Z] prd-centos7-docker-4c-2g-13513 does not seem to be running inside a container [2020-11-26T07:28:31.821Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/89 -v /w/workspace/device-sdk-go/89:/w/workspace/device-sdk-go/89:rw,z -v /w/workspace/device-sdk-go/89@tmp:/w/workspace/device-sdk-go/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-26T07:28:33.064Z] $ docker top 81c21fde3ad314d9ee57df2b0ef7e8a2769ebf87c94a44919dd5d77cbee3b6e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T07:28:33.821Z] + go version [2020-11-26T07:28:34.097Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-26T07:28:34.131Z] $ docker stop --time=1 81c21fde3ad314d9ee57df2b0ef7e8a2769ebf87c94a44919dd5d77cbee3b6e6 [2020-11-26T07:28:35.926Z] $ docker rm -f 81c21fde3ad314d9ee57df2b0ef7e8a2769ebf87c94a44919dd5d77cbee3b6e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:28:36.882Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-26T07:28:36.882Z] . [Pipeline] withDockerContainer [2020-11-26T07:28:37.090Z] prd-centos7-docker-4c-2g-13513 does not seem to be running inside a container [2020-11-26T07:28:37.172Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/89 -v /w/workspace/device-sdk-go/89:/w/workspace/device-sdk-go/89:rw,z -v /w/workspace/device-sdk-go/89@tmp:/w/workspace/device-sdk-go/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-26T07:28:38.449Z] $ docker top 1e97603e54499ea07f15cea93397a9eb2a24d949a842a384bfb4bcdbd19ee55c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T07:28:39.464Z] + make test [2020-11-26T07:28:39.464Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-11-26T07:28:55.145Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-11-26T07:29:03.031Z] gofmt -l . [2020-11-26T07:29:03.032Z] [ "`gofmt -l .`" = "" ] [2020-11-26T07:29:03.032Z] ./bin/test-attribution-txt.sh [2020-11-26T07:29:03.032Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-26T07:29:03.051Z] $ docker stop --time=1 37d9f518380416baa581678dc03139f3f7ec2fbdefbfd83ea28cf2b2464f727b [2020-11-26T07:29:05.360Z] $ docker rm -f 37d9f518380416baa581678dc03139f3f7ec2fbdefbfd83ea28cf2b2464f727b [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T07:29:06.442Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-26T07:29:07.388Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T07:29:10.245Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-26T07:29:10.621Z] + ls -al . [2020-11-26T07:29:10.621Z] total 244 [2020-11-26T07:29:10.621Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 26 07:29 . [2020-11-26T07:29:10.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:25 .. [2020-11-26T07:29:10.621Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 26 07:25 .dockerignore [2020-11-26T07:29:10.621Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 26 07:25 .git [2020-11-26T07:29:10.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 07:25 .github [2020-11-26T07:29:10.621Z] -rw-rw-r-- 1 jenkins jenkins 138 Nov 26 07:25 .gitignore [2020-11-26T07:29:10.621Z] -rw-rw-r-- 1 jenkins jenkins 936 Nov 26 07:25 Dockerfile.build [2020-11-26T07:29:10.622Z] -rw-rw-r-- 1 jenkins jenkins 901 Nov 26 07:25 Jenkinsfile [2020-11-26T07:29:10.622Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 26 07:25 LICENSE [2020-11-26T07:29:10.622Z] -rw-rw-r-- 1 jenkins jenkins 1013 Nov 26 07:25 Makefile [2020-11-26T07:29:10.622Z] -rw-rw-r-- 1 jenkins jenkins 5897 Nov 26 07:25 README.md [2020-11-26T07:29:10.622Z] -rw-rw-r-- 1 jenkins jenkins 4291 Nov 26 07:25 RELEASE-NOTES.txt [2020-11-26T07:29:10.622Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 26 07:25 VERSION [2020-11-26T07:29:10.622Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 07:25 bin [2020-11-26T07:29:10.622Z] -rw-r--r-- 1 jenkins jenkins 127610 Nov 26 07:28 coverage.out [2020-11-26T07:29:10.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:25 example [2020-11-26T07:29:10.622Z] -rw-r--r-- 1 jenkins jenkins 518 Nov 26 07:29 go.mod [2020-11-26T07:29:10.622Z] -rw-r--r-- 1 jenkins jenkins 13546 Nov 26 07:29 go.sum [2020-11-26T07:29:10.622Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 26 07:25 internal [2020-11-26T07:29:10.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:25 openapi [2020-11-26T07:29:10.622Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 26 07:25 pkg [2020-11-26T07:29:10.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:25 snap [2020-11-26T07:29:10.622Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 26 07:25 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:29:11.016Z] + 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=cf9e8dc7bd919f9915f3ed3b96261970003b233d --label arch=arm64 --label version=1.3.1-dev.2 . [2020-11-26T07:29:11.623Z] Sending build context to Docker daemon 2.48MB [2020-11-26T07:29:11.623Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-11-26T07:29:11.623Z] Step 2/24 : FROM ${BASE} AS builder [2020-11-26T07:29:11.623Z] ---> 3fa4b6c20ee2 [2020-11-26T07:29:11.623Z] Step 3/24 : ARG MAKE='make build' [2020-11-26T07:29:11.623Z] ---> Running in 78fae5f207c4 [2020-11-26T07:29:12.221Z] Removing intermediate container 78fae5f207c4 [2020-11-26T07:29:12.222Z] ---> 585d15dfde02 [2020-11-26T07:29:12.222Z] Step 4/24 : WORKDIR /device-sdk-go [2020-11-26T07:29:12.222Z] ---> Running in deb5a010678f [2020-11-26T07:29:12.818Z] Removing intermediate container deb5a010678f [2020-11-26T07:29:12.818Z] ---> 59bdb28af2ec [2020-11-26T07:29:12.818Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T07:29:12.818Z] ---> Running in 5a3a80a87056 [2020-11-26T07:29:13.420Z] Removing intermediate container 5a3a80a87056 [2020-11-26T07:29:13.420Z] ---> 52543cebbe90 [2020-11-26T07:29:13.420Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-26T07:29:13.420Z] ---> Running in e5704efedb89 [2020-11-26T07:29:16.045Z] Removing intermediate container e5704efedb89 [2020-11-26T07:29:16.045Z] ---> c6822c1a5fa2 [2020-11-26T07:29:16.045Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-11-26T07:29:16.045Z] ---> Running in 289e231658c2 [2020-11-26T07:29:17.022Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-26T07:29:17.611Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-26T07:29:18.200Z] OK: 142 MiB in 39 packages [2020-11-26T07:29:19.630Z] Removing intermediate container 289e231658c2 [2020-11-26T07:29:19.630Z] ---> a007c4a4143b [2020-11-26T07:29:19.630Z] Step 8/24 : COPY . . [2020-11-26T07:29:20.606Z] ---> ee121276a108 [2020-11-26T07:29:20.606Z] Step 9/24 : RUN ${MAKE} [2020-11-26T07:29:20.876Z] ---> Running in 7723990e5c63 [2020-11-26T07:29:21.856Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-11-26T07:29:22.572Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-11-26T07:29:22.572Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-11-26T07:29:22.572Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-11-26T07:29:22.572Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.270s coverage: 20.6% of statements [2020-11-26T07:29:26.319Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.778s coverage: 97.1% of statements [2020-11-26T07:29:48.672Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-11-26T07:29:48.672Z] Removing intermediate container 7723990e5c63 [2020-11-26T07:29:48.672Z] ---> 87ad26c066bc [2020-11-26T07:29:48.672Z] Step 10/24 : FROM scratch [2020-11-26T07:29:48.672Z] ---> [2020-11-26T07:29:48.672Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T07:29:48.672Z] ---> Running in 0b0c6fd29b54 [2020-11-26T07:29:49.267Z] Removing intermediate container 0b0c6fd29b54 [2020-11-26T07:29:49.267Z] ---> 8008ffd42f3f [2020-11-26T07:29:49.267Z] Step 12/24 : ENV APP_PORT=49990 [2020-11-26T07:29:49.267Z] ---> Running in a1b3a2da9619 [2020-11-26T07:29:49.859Z] Removing intermediate container a1b3a2da9619 [2020-11-26T07:29:49.859Z] ---> 4072cfc16945 [2020-11-26T07:29:49.859Z] Step 13/24 : EXPOSE $APP_PORT [2020-11-26T07:29:49.859Z] ---> Running in 411e79e9b3c8 [2020-11-26T07:29:50.139Z] Removing intermediate container 411e79e9b3c8 [2020-11-26T07:29:50.139Z] ---> 21a0daabb4a1 [2020-11-26T07:29:50.139Z] Step 14/24 : WORKDIR / [2020-11-26T07:29:50.410Z] ---> Running in fe8b2932ae1b [2020-11-26T07:29:51.006Z] Removing intermediate container fe8b2932ae1b [2020-11-26T07:29:51.006Z] ---> 858fb8244c74 [2020-11-26T07:29:51.006Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-11-26T07:29:51.989Z] ---> 8ab20b67360e [2020-11-26T07:29:51.989Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-11-26T07:29:52.585Z] ---> 3fbdedf781c8 [2020-11-26T07:29:52.585Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-11-26T07:29:53.295Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.088s coverage: 9.4% of statements [2020-11-26T07:29:53.295Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.121s coverage: 21.9% of statements [2020-11-26T07:29:53.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-11-26T07:29:53.295Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.344s coverage: 42.5% of statements [2020-11-26T07:29:53.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-11-26T07:29:53.295Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.357s coverage: 68.9% of statements [2020-11-26T07:29:53.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-11-26T07:29:53.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-11-26T07:29:53.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-11-26T07:29:53.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-11-26T07:29:53.295Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.108s coverage: 52.6% of statements [2020-11-26T07:29:53.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-11-26T07:29:53.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-11-26T07:29:53.295Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-11-26T07:29:53.295Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.600s coverage: 68.9% of statements [2020-11-26T07:29:53.295Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.112s coverage: 4.7% of statements [2020-11-26T07:29:53.295Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-11-26T07:29:53.295Z] GO111MODULE=on go vet ./... [2020-11-26T07:29:53.564Z] ---> 3cc1cee9fcda [2020-11-26T07:29:53.564Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-11-26T07:29:54.162Z] ---> 67f60f0b9277 [2020-11-26T07:29:54.162Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-11-26T07:29:54.754Z] ---> 4295ad806851 [2020-11-26T07:29:54.754Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-11-26T07:29:55.024Z] ---> Running in 3b27eb25d721 [2020-11-26T07:29:55.618Z] Removing intermediate container 3b27eb25d721 [2020-11-26T07:29:55.618Z] ---> d7d287941308 [2020-11-26T07:29:55.618Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-26T07:29:55.618Z] ---> Running in b7a846b75259 [2020-11-26T07:29:56.213Z] Removing intermediate container b7a846b75259 [2020-11-26T07:29:56.213Z] ---> efc7ebfbe56b [2020-11-26T07:29:56.213Z] Step 22/24 : LABEL arch=arm64 [2020-11-26T07:29:56.213Z] ---> Running in 0cc2fd29644a [2020-11-26T07:29:56.486Z] Removing intermediate container 0cc2fd29644a [2020-11-26T07:29:56.486Z] ---> 3935dd93f2ff [2020-11-26T07:29:56.486Z] Step 23/24 : LABEL git_sha=cf9e8dc7bd919f9915f3ed3b96261970003b233d [2020-11-26T07:29:56.756Z] ---> Running in 9aeadb9a5a06 [2020-11-26T07:29:57.349Z] Removing intermediate container 9aeadb9a5a06 [2020-11-26T07:29:57.349Z] ---> a20cf4fd5101 [2020-11-26T07:29:57.349Z] Step 24/24 : LABEL version=1.3.1-dev.2 [2020-11-26T07:29:57.349Z] ---> Running in e078bad11ebe [2020-11-26T07:29:57.620Z] Removing intermediate container e078bad11ebe [2020-11-26T07:29:57.620Z] ---> 9b7b6419d09e [2020-11-26T07:29:57.620Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-26T07:29:57.889Z] Successfully built 9b7b6419d09e [2020-11-26T07:29:57.889Z] 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] } [2020-11-26T07:30:16.337Z] gofmt -l . [2020-11-26T07:30:16.337Z] [ "`gofmt -l .`" = "" ] [2020-11-26T07:30:16.337Z] ./bin/test-attribution-txt.sh [2020-11-26T07:30:17.355Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-26T07:30:18.439Z] $ docker stop --time=1 1e97603e54499ea07f15cea93397a9eb2a24d949a842a384bfb4bcdbd19ee55c [2020-11-26T07:30:20.767Z] $ docker rm -f 1e97603e54499ea07f15cea93397a9eb2a24d949a842a384bfb4bcdbd19ee55c [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T07:30:21.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-26T07:30:21.883Z] Warning: overwriting stash ‘coverage-report’ [2020-11-26T07:30:22.765Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-26T07:30:23.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-26T07:30:24.204Z] + ls -al . [2020-11-26T07:30:24.204Z] total 208 [2020-11-26T07:30:24.204Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 26 07:30 . [2020-11-26T07:30:24.204Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 26 07:27 .. [2020-11-26T07:30:24.204Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 26 07:27 bin [2020-11-26T07:30:24.204Z] -rw-r--r--. 1 jenkins jenkins 127610 Nov 26 07:29 coverage.out [2020-11-26T07:30:24.204Z] -rw-rw-r--. 1 jenkins jenkins 936 Nov 26 07:27 Dockerfile.build [2020-11-26T07:30:24.204Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 26 07:27 .dockerignore [2020-11-26T07:30:24.204Z] drwxrwxr-x. 4 jenkins jenkins 48 Nov 26 07:27 example [2020-11-26T07:30:24.204Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 26 07:27 .git [2020-11-26T07:30:24.204Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 26 07:27 .github [2020-11-26T07:30:24.204Z] -rw-rw-r--. 1 jenkins jenkins 138 Nov 26 07:27 .gitignore [2020-11-26T07:30:24.204Z] -rw-r--r--. 1 jenkins jenkins 518 Nov 26 07:30 go.mod [2020-11-26T07:30:24.204Z] -rw-r--r--. 1 jenkins jenkins 13546 Nov 26 07:30 go.sum [2020-11-26T07:30:24.205Z] drwxrwxr-x. 15 jenkins jenkins 211 Nov 26 07:27 internal [2020-11-26T07:30:24.205Z] -rw-rw-r--. 1 jenkins jenkins 901 Nov 26 07:27 Jenkinsfile [2020-11-26T07:30:24.205Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 26 07:27 LICENSE [2020-11-26T07:30:24.205Z] -rw-rw-r--. 1 jenkins jenkins 1013 Nov 26 07:27 Makefile [2020-11-26T07:30:24.205Z] drwxrwxr-x. 4 jenkins jenkins 26 Nov 26 07:27 openapi [2020-11-26T07:30:24.205Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 26 07:27 pkg [2020-11-26T07:30:24.205Z] -rw-rw-r--. 1 jenkins jenkins 5897 Nov 26 07:27 README.md [2020-11-26T07:30:24.205Z] -rw-rw-r--. 1 jenkins jenkins 4291 Nov 26 07:27 RELEASE-NOTES.txt [2020-11-26T07:30:24.205Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 26 07:27 snap [2020-11-26T07:30:24.205Z] -rw-rw-r--. 1 jenkins jenkins 11 Nov 26 07:25 VERSION [2020-11-26T07:30:24.205Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 26 07:27 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:30:24.546Z] + 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=cf9e8dc7bd919f9915f3ed3b96261970003b233d --label arch=amd64 --label version=1.3.1-dev.2 . [2020-11-26T07:30:25.157Z] Sending build context to Docker daemon 2.479MB [2020-11-26T07:30:25.157Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-11-26T07:30:25.157Z] Step 2/24 : FROM ${BASE} AS builder [2020-11-26T07:30:25.157Z] ---> a4d700b0ff9a [2020-11-26T07:30:25.157Z] Step 3/24 : ARG MAKE='make build' [2020-11-26T07:30:25.446Z] ---> Running in 905bba1a1df2 [2020-11-26T07:30:25.869Z] Removing intermediate container 905bba1a1df2 [2020-11-26T07:30:25.869Z] ---> 8d48efe935f6 [2020-11-26T07:30:25.869Z] Step 4/24 : WORKDIR /device-sdk-go [2020-11-26T07:30:25.869Z] ---> Running in acc3ba983f05 [2020-11-26T07:30:26.460Z] Removing intermediate container acc3ba983f05 [2020-11-26T07:30:26.460Z] ---> ab6b57db6b0d [2020-11-26T07:30:26.460Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T07:30:26.460Z] ---> Running in dc9c7d6b0a64 [2020-11-26T07:30:26.727Z] Removing intermediate container dc9c7d6b0a64 [2020-11-26T07:30:26.727Z] ---> 17565e419be3 [2020-11-26T07:30:26.727Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-26T07:30:26.727Z] ---> Running in 39503a828e75 [2020-11-26T07:30:28.170Z] Removing intermediate container 39503a828e75 [2020-11-26T07:30:28.170Z] ---> 6235f1b4c7b6 [2020-11-26T07:30:28.170Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-11-26T07:30:28.170Z] ---> Running in 1e99fa094117 [2020-11-26T07:30:28.791Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-26T07:30:29.469Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-26T07:30:30.130Z] OK: 166 MiB in 39 packages [2020-11-26T07:30:30.829Z] Removing intermediate container 1e99fa094117 [2020-11-26T07:30:30.829Z] ---> a9a20b59288c [2020-11-26T07:30:30.829Z] Step 8/24 : COPY . . [2020-11-26T07:30:31.877Z] ---> 9fb6f6202de5 [2020-11-26T07:30:31.877Z] Step 9/24 : RUN ${MAKE} [2020-11-26T07:30:31.877Z] ---> Running in 51455f7c8b48 [2020-11-26T07:30:32.583Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-11-26T07:30:48.139Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-11-26T07:30:50.168Z] Removing intermediate container 51455f7c8b48 [2020-11-26T07:30:50.168Z] ---> 9e5def4c5935 [2020-11-26T07:30:50.168Z] Step 10/24 : FROM scratch [2020-11-26T07:30:50.168Z] ---> [2020-11-26T07:30:50.168Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T07:30:50.473Z] ---> Running in 7c741ab3a819 [2020-11-26T07:30:50.760Z] Removing intermediate container 7c741ab3a819 [2020-11-26T07:30:50.760Z] ---> 7636d35197fd [2020-11-26T07:30:50.760Z] Step 12/24 : ENV APP_PORT=49990 [2020-11-26T07:30:50.760Z] ---> Running in 330d7b641d81 [2020-11-26T07:30:51.027Z] Removing intermediate container 330d7b641d81 [2020-11-26T07:30:51.027Z] ---> 828e344fd2f0 [2020-11-26T07:30:51.027Z] Step 13/24 : EXPOSE $APP_PORT [2020-11-26T07:30:51.314Z] ---> Running in f2704d37f1ce [2020-11-26T07:30:51.610Z] Removing intermediate container f2704d37f1ce [2020-11-26T07:30:51.610Z] ---> b8e29e74307b [2020-11-26T07:30:51.610Z] Step 14/24 : WORKDIR / [2020-11-26T07:30:51.610Z] ---> Running in 16f806a06129 [2020-11-26T07:30:51.883Z] Removing intermediate container 16f806a06129 [2020-11-26T07:30:51.883Z] ---> e16ca7bea369 [2020-11-26T07:30:51.883Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-11-26T07:30:52.489Z] ---> d5c79ecf53fe [2020-11-26T07:30:52.489Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-11-26T07:30:52.767Z] ---> 07fcf03152d9 [2020-11-26T07:30:52.767Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-11-26T07:30:53.374Z] ---> 01f7448d18b7 [2020-11-26T07:30:53.374Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-11-26T07:30:53.982Z] ---> 5c3b09fc5c0e [2020-11-26T07:30:53.982Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-11-26T07:30:55.003Z] ---> e5d87a8503b0 [2020-11-26T07:30:55.003Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-11-26T07:30:55.003Z] ---> Running in 4a5d40bd8e10 [2020-11-26T07:30:55.323Z] Removing intermediate container 4a5d40bd8e10 [2020-11-26T07:30:55.324Z] ---> 214262b32204 [2020-11-26T07:30:55.324Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-26T07:30:55.324Z] ---> Running in 6a3072c5f9ef [2020-11-26T07:30:55.676Z] Removing intermediate container 6a3072c5f9ef [2020-11-26T07:30:55.676Z] ---> 948643db122a [2020-11-26T07:30:55.676Z] Step 22/24 : LABEL arch=amd64 [2020-11-26T07:30:55.999Z] ---> Running in ad23dd6759e0 [2020-11-26T07:30:56.286Z] Removing intermediate container ad23dd6759e0 [2020-11-26T07:30:56.286Z] ---> 7f675bfb7d9c [2020-11-26T07:30:56.286Z] Step 23/24 : LABEL git_sha=cf9e8dc7bd919f9915f3ed3b96261970003b233d [2020-11-26T07:30:56.579Z] ---> Running in 575b5ddf0f2f [2020-11-26T07:30:56.899Z] Removing intermediate container 575b5ddf0f2f [2020-11-26T07:30:56.899Z] ---> 31a13bd9715a [2020-11-26T07:30:56.899Z] Step 24/24 : LABEL version=1.3.1-dev.2 [2020-11-26T07:30:57.222Z] ---> Running in 2a9c2ff9f6aa [2020-11-26T07:30:57.505Z] Removing intermediate container 2a9c2ff9f6aa [2020-11-26T07:30:57.505Z] ---> 96889d84e1d8 [2020-11-26T07:30:57.505Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-26T07:30:57.505Z] Successfully built 96889d84e1d8 [2020-11-26T07:30:57.810Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-11-26T07:30:59.611Z] provisioning config files... [2020-11-26T07:30:59.622Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config112583689404502697tmp [Pipeline] { [Pipeline] sh [2020-11-26T07:31:00.029Z] + set +x [2020-11-26T07:31:00.029Z] + curl -s https://codecov.io/bash [2020-11-26T07:31:00.029Z] + bash -s -- [2020-11-26T07:31:00.292Z] [2020-11-26T07:31:00.292Z] _____ _ [2020-11-26T07:31:00.292Z] / ____| | | [2020-11-26T07:31:00.292Z] | | ___ __| | ___ ___ _____ __ [2020-11-26T07:31:00.292Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-26T07:31:00.292Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-26T07:31:00.292Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-26T07:31:00.292Z] Bash-20201124-79cbc08 [2020-11-26T07:31:00.292Z] [2020-11-26T07:31:00.292Z] [2020-11-26T07:31:00.292Z] ==> Jenkins CI detected. [2020-11-26T07:31:00.292Z] project root: . [2020-11-26T07:31:00.292Z] --> token set from env [2020-11-26T07:31:00.292Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-26T07:31:00.292Z] ==> Running gcov in . (disable via -X gcov) [2020-11-26T07:31:00.292Z] ==> Python coveragepy not found [2020-11-26T07:31:00.292Z] ==> Searching for coverage reports in: [2020-11-26T07:31:00.292Z] + . [2020-11-26T07:31:00.292Z] -> Found 1 reports [2020-11-26T07:31:00.292Z] ==> Detecting git/mercurial file structure [2020-11-26T07:31:00.292Z] ==> Reading reports [2020-11-26T07:31:00.292Z] + ./coverage.out bytes=127610 [2020-11-26T07:31:00.292Z] ==> Appending adjustments [2020-11-26T07:31:00.292Z] https://docs.codecov.io/docs/fixing-reports [2020-11-26T07:31:00.868Z] + Found adjustments [2020-11-26T07:31:00.869Z] ==> Gzipping contents [2020-11-26T07:31:00.869Z] 24K /tmp/codecov.eV6lqX.gz [2020-11-26T07:31:00.869Z] ==> Uploading reports [2020-11-26T07:31:00.869Z] url: https://codecov.io [2020-11-26T07:31:00.869Z] query: branch=master&commit=cf9e8dc7bd919f9915f3ed3b96261970003b233d&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-26T07:31:00.869Z] -> Pinging Codecov [2020-11-26T07:31:00.869Z] https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=master&commit=cf9e8dc7bd919f9915f3ed3b96261970003b233d&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-26T07:31:01.132Z] -> Uploading to [2020-11-26T07:31:01.132Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-26/7E55EF52A471D76F132DFD9A03CDDE97/cf9e8dc7bd919f9915f3ed3b96261970003b233d/e7c66aaf-168a-45e3-b2cb-65e53aef4a58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201126T073101Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5a8bfc6c89d51b36fbd549f47430bf4aa54fb6f9b8ee043d77a9c4a3fb056523 [2020-11-26T07:31:01.132Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-26T07:31:01.132Z] Dload Upload Total Spent Left Speed [2020-11-26T07:31:02.254Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20884 0 0 100 20884 0 40534 --:--:-- --:--:-- --:--:-- 40472 100 20884 0 0 100 20884 0 40518 --:--:-- --:--:-- --:--:-- 40472 [2020-11-26T07:31:02.254Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cf9e8dc7bd919f9915f3ed3b96261970003b233d [Pipeline] } [2020-11-26T07:31:02.265Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-11-26T07:31:03.134Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-11-26T07:31:03.242Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:31:03.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-26T07:31:03.594Z] [2020-11-26T07:31:03.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:31:03.949Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-26T07:31:03.949Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-11-26T07:31:03.949Z] 188c0c94c7c5: Pulling fs layer [2020-11-26T07:31:03.949Z] 0ef7d3d256c8: Pulling fs layer [2020-11-26T07:31:03.949Z] de9db76c5a1d: Pulling fs layer [2020-11-26T07:31:03.949Z] 0eba1c9be4d2: Pulling fs layer [2020-11-26T07:31:03.949Z] 0d57e429df01: Pulling fs layer [2020-11-26T07:31:03.949Z] 4e4be7b47b0d: Pulling fs layer [2020-11-26T07:31:03.949Z] e1f770b5df2f: Pulling fs layer [2020-11-26T07:31:03.949Z] 85a0685a4137: Pulling fs layer [2020-11-26T07:31:03.949Z] 0eba1c9be4d2: Waiting [2020-11-26T07:31:03.949Z] 0d57e429df01: Waiting [2020-11-26T07:31:03.949Z] 4e4be7b47b0d: Waiting [2020-11-26T07:31:03.949Z] 85a0685a4137: Waiting [2020-11-26T07:31:03.949Z] e1f770b5df2f: Waiting [2020-11-26T07:31:03.949Z] de9db76c5a1d: Download complete [2020-11-26T07:31:03.949Z] 0ef7d3d256c8: Verifying Checksum [2020-11-26T07:31:03.949Z] 0ef7d3d256c8: Download complete [2020-11-26T07:31:03.949Z] 0d57e429df01: Verifying Checksum [2020-11-26T07:31:03.949Z] 0d57e429df01: Download complete [2020-11-26T07:31:03.949Z] 4e4be7b47b0d: Verifying Checksum [2020-11-26T07:31:03.949Z] 4e4be7b47b0d: Download complete [2020-11-26T07:31:03.949Z] 188c0c94c7c5: Verifying Checksum [2020-11-26T07:31:03.949Z] 188c0c94c7c5: Download complete [2020-11-26T07:31:04.532Z] 188c0c94c7c5: Pull complete [2020-11-26T07:31:04.796Z] 0ef7d3d256c8: Pull complete [2020-11-26T07:31:04.796Z] de9db76c5a1d: Pull complete [2020-11-26T07:31:05.374Z] e1f770b5df2f: Verifying Checksum [2020-11-26T07:31:05.374Z] e1f770b5df2f: Download complete [2020-11-26T07:31:07.328Z] 85a0685a4137: Verifying Checksum [2020-11-26T07:31:07.328Z] 85a0685a4137: Download complete [2020-11-26T07:31:07.592Z] 0eba1c9be4d2: Download complete [2020-11-26T07:31:14.233Z] 0eba1c9be4d2: Pull complete [2020-11-26T07:31:14.233Z] 0d57e429df01: Pull complete [2020-11-26T07:31:14.233Z] 4e4be7b47b0d: Pull complete [2020-11-26T07:31:15.202Z] e1f770b5df2f: Pull complete [2020-11-26T07:31:23.373Z] 85a0685a4137: Pull complete [2020-11-26T07:31:23.373Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-11-26T07:31:23.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-26T07:31:23.373Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-11-26T07:31:23.596Z] prd-centos7-docker-4c-2g-13506 does not seem to be running inside a container [2020-11-26T07:31:23.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-26T07:31:24.674Z] $ docker top 89e5f62dd54c814dd9f4e598701aa3b566f84cefbaab1f85417b2fc98b46636f -eo pid,comm [Pipeline] { [Pipeline] echo [2020-11-26T07:31:24.896Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-11-26T07:31:25.192Z] + set -o pipefail [2020-11-26T07:31:25.192Z] + snyk monitor '--org=edgex-jenkins' [2020-11-26T07:31:33.416Z] [2020-11-26T07:31:33.416Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-11-26T07:31:33.416Z] [2020-11-26T07:31:33.416Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/db223abf-6f71-412b-ac4b-d77173a1f062 [2020-11-26T07:31:33.416Z] [2020-11-26T07:31:33.416Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-11-26T07:31:33.416Z] [2020-11-26T07:31:33.416Z] [2020-11-26T07:31:33.416Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2020-11-26T07:31:33.416Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-11-26T07:31:33.433Z] $ docker stop --time=1 89e5f62dd54c814dd9f4e598701aa3b566f84cefbaab1f85417b2fc98b46636f [2020-11-26T07:31:35.993Z] $ docker rm -f 89e5f62dd54c814dd9f4e598701aa3b566f84cefbaab1f85417b2fc98b46636f [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 [2020-11-26T07:31:37.485Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-26T07:31:37.589Z] provisioning config files... [2020-11-26T07:31:37.600Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1995941864075545260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:31:37.983Z] --> edgex-publish-swagger.sh [2020-11-26T07:31:37.983Z] === Publish openapi/v1 API === [2020-11-26T07:31:37.983Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2020-11-26T07:31:37.983Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-11-26T07:31:37.983Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-26T07:31:37.983Z] Dload Upload Total Spent Left Speed [2020-11-26T07:31:38.938Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20188 0 0 100 20188 0 25196 --:--:-- --:--:-- --:--:-- 25203 100 20188 0 0 100 20188 0 25190 --:--:-- --:--:-- --:--:-- 25203 [2020-11-26T07:31:38.938Z] [2020-11-26T07:31:38.938Z] [2020-11-26T07:31:38.938Z] === Publish openapi/v2 API === [2020-11-26T07:31:38.938Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2020-11-26T07:31:38.938Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-11-26T07:31:38.938Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-26T07:31:38.938Z] Dload Upload Total Spent Left Speed [2020-11-26T07:31:39.515Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 49274 0 0 100 49274 0 60176 --:--:-- --:--:-- --:--:-- 60237 [2020-11-26T07:31:39.515Z] [2020-11-26T07:31:39.515Z] [Pipeline] } [2020-11-26T07:31:39.525Z] 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 [2020-11-26T07:31:40.690Z] + git log --format=format:%s -1 cf9e8dc7bd919f9915f3ed3b96261970003b233d [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:31:41.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T07:31:41.004Z] . [Pipeline] withDockerContainer [2020-11-26T07:31:41.110Z] prd-centos7-docker-4c-2g-13506 does not seem to be running inside a container [2020-11-26T07:31:41.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-26T07:31:41.939Z] $ docker top cf304f3903dadca2a3cd3f261a477c3f63071d0e9d64ec6f891e4f39bbbe5beb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-26T07:31:42.267Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T07:31:42.267Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T07:31:42.558Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T07:31:42.563Z] $ docker exec cf304f3903dadca2a3cd3f261a477c3f63071d0e9d64ec6f891e4f39bbbe5beb ssh-agent [2020-11-26T07:31:42.741Z] SSH_AUTH_SOCK=/tmp/ssh-xaTle04UC6Dz/agent.13 [2020-11-26T07:31:42.741Z] SSH_AGENT_PID=18 [2020-11-26T07:31:42.749Z] Running ssh-add (command line suppressed) [2020-11-26T07:31:42.897Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6946109117930758321.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6946109117930758321.key) [2020-11-26T07:31:42.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T07:31:43.291Z] + git semver tag [2020-11-26T07:31:43.291Z] # -> Open(): unable to determine branch for HEAD [2020-11-26T07:31:43.291Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-26T07:31:43.291Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T07:31:43.291Z] # $SEMVER_REMOTE_NAME = origin [2020-11-26T07:31:43.291Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-26T07:31:43.291Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-26T07:31:43.291Z] # $SEMVER_BRANCH = master [2020-11-26T07:31:43.291Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-11-26T07:31:43.291Z] # cf9e8dc7bd919f9915f3ed3b96261970003b233d HEAD [2020-11-26T07:31:43.291Z] # -> Force: false [2020-11-26T07:31:43.291Z] # 769f97d12b775325e82117aaf4fe0432fdf1f082 refs/tags/v1.3.1-dev.2 [Pipeline] } [2020-11-26T07:31:43.306Z] $ docker exec --env ******** --env ******** cf304f3903dadca2a3cd3f261a477c3f63071d0e9d64ec6f891e4f39bbbe5beb ssh-agent -k [2020-11-26T07:31:43.425Z] unset SSH_AUTH_SOCK; [2020-11-26T07:31:43.425Z] unset SSH_AGENT_PID; [2020-11-26T07:31:43.425Z] echo Agent pid 18 killed; [2020-11-26T07:31:43.471Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-26T07:31:43.944Z] + git semver [Pipeline] } [2020-11-26T07:31:43.964Z] $ docker stop --time=1 cf304f3903dadca2a3cd3f261a477c3f63071d0e9d64ec6f891e4f39bbbe5beb [2020-11-26T07:31:45.304Z] $ docker rm -f cf304f3903dadca2a3cd3f261a477c3f63071d0e9d64ec6f891e4f39bbbe5beb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:31:45.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-26T07:31:45.908Z] [2020-11-26T07:31:45.908Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:31:46.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-26T07:31:46.264Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-11-26T07:31:46.264Z] ab5ef0e58194: Pulling fs layer [2020-11-26T07:31:46.264Z] 9712f1f96733: Pulling fs layer [2020-11-26T07:31:46.264Z] 63f879dbbcfc: Pulling fs layer [2020-11-26T07:31:46.264Z] 0d9ebad4ef96: Pulling fs layer [2020-11-26T07:31:46.264Z] e9a5061849ea: Pulling fs layer [2020-11-26T07:31:46.264Z] d747dcd14b5f: Pulling fs layer [2020-11-26T07:31:46.264Z] 2de7ff778b66: Pulling fs layer [2020-11-26T07:31:46.264Z] 0d9ebad4ef96: Waiting [2020-11-26T07:31:46.264Z] e9a5061849ea: Waiting [2020-11-26T07:31:46.264Z] d747dcd14b5f: Waiting [2020-11-26T07:31:46.264Z] 2de7ff778b66: Waiting [2020-11-26T07:31:46.264Z] 9712f1f96733: Download complete [2020-11-26T07:31:48.188Z] 63f879dbbcfc: Verifying Checksum [2020-11-26T07:31:48.188Z] 63f879dbbcfc: Download complete [2020-11-26T07:31:48.188Z] e9a5061849ea: Verifying Checksum [2020-11-26T07:31:48.188Z] e9a5061849ea: Download complete [2020-11-26T07:31:48.188Z] d747dcd14b5f: Verifying Checksum [2020-11-26T07:31:48.188Z] d747dcd14b5f: Download complete [2020-11-26T07:31:48.450Z] 0d9ebad4ef96: Verifying Checksum [2020-11-26T07:31:48.450Z] 0d9ebad4ef96: Download complete [2020-11-26T07:31:48.714Z] 2de7ff778b66: Verifying Checksum [2020-11-26T07:31:48.714Z] 2de7ff778b66: Download complete [2020-11-26T07:31:49.370Z] ab5ef0e58194: Verifying Checksum [2020-11-26T07:31:49.370Z] ab5ef0e58194: Download complete [2020-11-26T07:31:54.905Z] ab5ef0e58194: Pull complete [2020-11-26T07:31:54.905Z] 9712f1f96733: Pull complete [2020-11-26T07:31:56.838Z] 63f879dbbcfc: Pull complete [2020-11-26T07:32:03.464Z] 0d9ebad4ef96: Pull complete [2020-11-26T07:32:06.025Z] e9a5061849ea: Pull complete [2020-11-26T07:32:06.025Z] d747dcd14b5f: Pull complete [2020-11-26T07:32:07.432Z] 2de7ff778b66: Pull complete [2020-11-26T07:32:07.432Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-11-26T07:32:07.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-26T07:32:07.432Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-11-26T07:32:07.634Z] prd-centos7-docker-4c-2g-13506 does not seem to be running inside a container [2020-11-26T07:32:07.686Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-11-26T07:32:11.311Z] $ docker top 07635b1a8082a559769dbbbfe24c273ce1b3a415cda84569d5f06923f0f83b6c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-11-26T07:32:11.543Z] provisioning config files... [2020-11-26T07:32:11.556Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6887422789662845483tmp [2020-11-26T07:32:11.573Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7366582246674219800tmp [2020-11-26T07:32:11.591Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5177998059665442163tmp [Pipeline] { [Pipeline] echo [2020-11-26T07:32:11.692Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:32:11.992Z] ---> sigul-configuration.sh [2020-11-26T07:32:11.992Z] gpg: directory `/root/.gnupg' created [2020-11-26T07:32:11.992Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-11-26T07:32:11.992Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-11-26T07:32:11.992Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-11-26T07:32:11.992Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-11-26T07:32:11.992Z] gpg: CAST5 encrypted data [2020-11-26T07:32:12.256Z] gpg: encrypted with 1 passphrase [2020-11-26T07:32:12.256Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-11-26T07:32:12.563Z] + mkdir /home/jenkins [2020-11-26T07:32:12.563Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-11-26T07:32:12.865Z] + 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 [2020-11-26T07:32:12.877Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:32:13.178Z] ---> sigul-install.sh [2020-11-26T07:32:18.528Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-11-26T07:32:18.840Z] + git tag --list [2020-11-26T07:32:18.840Z] 0.7.1 [2020-11-26T07:32:18.840Z] delhi-tag [2020-11-26T07:32:18.840Z] v1.0.0 [2020-11-26T07:32:18.840Z] v1.1.0 [2020-11-26T07:32:18.840Z] v1.1.1 [2020-11-26T07:32:18.840Z] v1.1.2 [2020-11-26T07:32:18.840Z] v1.2.0 [2020-11-26T07:32:18.840Z] v1.2.1 [2020-11-26T07:32:18.840Z] v1.2.2 [2020-11-26T07:32:18.840Z] v1.2.3 [2020-11-26T07:32:18.840Z] v1.2.4-dev.1 [2020-11-26T07:32:18.840Z] v1.2.4-dev.10 [2020-11-26T07:32:18.840Z] v1.2.4-dev.11 [2020-11-26T07:32:18.840Z] v1.2.4-dev.12 [2020-11-26T07:32:18.840Z] v1.2.4-dev.13 [2020-11-26T07:32:18.840Z] v1.2.4-dev.14 [2020-11-26T07:32:18.840Z] v1.2.4-dev.15 [2020-11-26T07:32:18.840Z] v1.2.4-dev.16 [2020-11-26T07:32:18.840Z] v1.2.4-dev.17 [2020-11-26T07:32:18.840Z] v1.2.4-dev.18 [2020-11-26T07:32:18.840Z] v1.2.4-dev.19 [2020-11-26T07:32:18.840Z] v1.2.4-dev.2 [2020-11-26T07:32:18.840Z] v1.2.4-dev.20 [2020-11-26T07:32:18.840Z] v1.2.4-dev.21 [2020-11-26T07:32:18.840Z] v1.2.4-dev.22 [2020-11-26T07:32:18.840Z] v1.2.4-dev.23 [2020-11-26T07:32:18.840Z] v1.2.4-dev.24 [2020-11-26T07:32:18.840Z] v1.2.4-dev.25 [2020-11-26T07:32:18.840Z] v1.2.4-dev.26 [2020-11-26T07:32:18.840Z] v1.2.4-dev.27 [2020-11-26T07:32:18.840Z] v1.2.4-dev.28 [2020-11-26T07:32:18.840Z] v1.2.4-dev.29 [2020-11-26T07:32:18.840Z] v1.2.4-dev.3 [2020-11-26T07:32:18.840Z] v1.2.4-dev.30 [2020-11-26T07:32:18.840Z] v1.2.4-dev.31 [2020-11-26T07:32:18.840Z] v1.2.4-dev.32 [2020-11-26T07:32:18.840Z] v1.2.4-dev.33 [2020-11-26T07:32:18.840Z] v1.2.4-dev.34 [2020-11-26T07:32:18.840Z] v1.2.4-dev.35 [2020-11-26T07:32:18.840Z] v1.2.4-dev.4 [2020-11-26T07:32:18.840Z] v1.2.4-dev.5 [2020-11-26T07:32:18.840Z] v1.2.4-dev.6 [2020-11-26T07:32:18.840Z] v1.2.4-dev.7 [2020-11-26T07:32:18.840Z] v1.2.4-dev.8 [2020-11-26T07:32:18.840Z] v1.2.4-dev.9 [2020-11-26T07:32:18.840Z] v1.3.0 [2020-11-26T07:32:18.840Z] v1.3.1-dev.1 [2020-11-26T07:32:18.840Z] v1.3.1-dev.2 [Pipeline] sh [2020-11-26T07:32:19.149Z] + lftools sign git-tag v1.3.1-dev.2 [2020-11-26T07:32:20.550Z] Signing Git tag with Sigul... [2020-11-26T07:32:20.550Z] Signing v1.3.1-dev.2 [Pipeline] echo [2020-11-26T07:32:21.510Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:32:21.810Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-11-26T07:32:21.826Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-11-26T07:32:21.926Z] $ docker stop --time=1 07635b1a8082a559769dbbbfe24c273ce1b3a415cda84569d5f06923f0f83b6c [2020-11-26T07:32:23.901Z] $ docker rm -f 07635b1a8082a559769dbbbfe24c273ce1b3a415cda84569d5f06923f0f83b6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:32:25.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T07:32:25.088Z] . [Pipeline] withDockerContainer [2020-11-26T07:32:25.203Z] prd-centos7-docker-4c-2g-13506 does not seem to be running inside a container [2020-11-26T07:32:25.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-26T07:32:25.930Z] $ docker top 4772adc18f7fc1b85d7b86f593a07f43065e18a71541bbf7ecf6b80718427d4e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-26T07:32:26.226Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T07:32:26.226Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T07:32:26.426Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T07:32:26.431Z] $ docker exec 4772adc18f7fc1b85d7b86f593a07f43065e18a71541bbf7ecf6b80718427d4e ssh-agent [2020-11-26T07:32:26.612Z] SSH_AUTH_SOCK=/tmp/ssh-nT4alpviPDn6/agent.11 [2020-11-26T07:32:26.612Z] SSH_AGENT_PID=17 [2020-11-26T07:32:26.620Z] Running ssh-add (command line suppressed) [2020-11-26T07:32:26.765Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5088104729394337570.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5088104729394337570.key) [2020-11-26T07:32:26.832Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T07:32:27.184Z] + git semver bump pre [2020-11-26T07:32:27.184Z] # -> Open(): unable to determine branch for HEAD [2020-11-26T07:32:27.184Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-26T07:32:27.184Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T07:32:27.184Z] # $SEMVER_REMOTE_NAME = origin [2020-11-26T07:32:27.184Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-26T07:32:27.184Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-26T07:32:27.184Z] # $SEMVER_BRANCH = master [2020-11-26T07:32:27.184Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-11-26T07:32:27.184Z] 1.3.1-dev.3 [Pipeline] } [2020-11-26T07:32:27.203Z] $ docker exec --env ******** --env ******** 4772adc18f7fc1b85d7b86f593a07f43065e18a71541bbf7ecf6b80718427d4e ssh-agent -k [2020-11-26T07:32:27.335Z] unset SSH_AUTH_SOCK; [2020-11-26T07:32:27.336Z] unset SSH_AGENT_PID; [2020-11-26T07:32:27.336Z] echo Agent pid 17 killed; [2020-11-26T07:32:27.390Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-26T07:32:27.857Z] + git semver [Pipeline] } [2020-11-26T07:32:27.879Z] $ docker stop --time=1 4772adc18f7fc1b85d7b86f593a07f43065e18a71541bbf7ecf6b80718427d4e [2020-11-26T07:32:29.223Z] $ docker rm -f 4772adc18f7fc1b85d7b86f593a07f43065e18a71541bbf7ecf6b80718427d4e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:32:29.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T07:32:29.771Z] . [Pipeline] withDockerContainer [2020-11-26T07:32:29.875Z] prd-centos7-docker-4c-2g-13506 does not seem to be running inside a container [2020-11-26T07:32:29.925Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-26T07:32:30.614Z] $ docker top b705c514780eca438c8ddbb6b96a2bebc25096ffc156d3166ca61e5aa3ab9232 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-26T07:32:30.909Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T07:32:30.909Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T07:32:31.102Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T07:32:31.106Z] $ docker exec b705c514780eca438c8ddbb6b96a2bebc25096ffc156d3166ca61e5aa3ab9232 ssh-agent [2020-11-26T07:32:31.278Z] SSH_AUTH_SOCK=/tmp/ssh-cNBMwooFLVhb/agent.11 [2020-11-26T07:32:31.278Z] SSH_AGENT_PID=16 [2020-11-26T07:32:31.286Z] Running ssh-add (command line suppressed) [2020-11-26T07:32:31.425Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3932118638722690925.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3932118638722690925.key) [2020-11-26T07:32:31.481Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T07:32:31.814Z] + git semver push [2020-11-26T07:32:31.814Z] # -> Open(): unable to determine branch for HEAD [2020-11-26T07:32:31.814Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-26T07:32:31.814Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T07:32:31.814Z] # $SEMVER_REMOTE_NAME = origin [2020-11-26T07:32:31.814Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-26T07:32:31.814Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-26T07:32:31.814Z] # $SEMVER_BRANCH = master [2020-11-26T07:32:31.814Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-11-26T07:32:39.997Z] $ docker exec --env ******** --env ******** b705c514780eca438c8ddbb6b96a2bebc25096ffc156d3166ca61e5aa3ab9232 ssh-agent -k [2020-11-26T07:32:40.158Z] unset SSH_AUTH_SOCK; [2020-11-26T07:32:40.159Z] unset SSH_AGENT_PID; [2020-11-26T07:32:40.159Z] echo Agent pid 16 killed; [2020-11-26T07:32:40.228Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-26T07:32:40.808Z] + git semver [Pipeline] } [2020-11-26T07:32:40.828Z] $ docker stop --time=1 b705c514780eca438c8ddbb6b96a2bebc25096ffc156d3166ca61e5aa3ab9232 [2020-11-26T07:32:42.195Z] $ docker rm -f b705c514780eca438c8ddbb6b96a2bebc25096ffc156d3166ca61e5aa3ab9232 [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 [2020-11-26T07:32:43.823Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:32:44.512Z] ---> package-listing.sh [2020-11-26T07:32:44.512Z] ++ facter osfamily [2020-11-26T07:32:44.512Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-26T07:32:44.512Z] + OS_FAMILY=redhat [2020-11-26T07:32:44.512Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T07:32:44.512Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-26T07:32:44.512Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-26T07:32:44.512Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-26T07:32:44.512Z] + PACKAGES=/tmp/packages_start.txt [2020-11-26T07:32:44.512Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-11-26T07:32:44.512Z] + PACKAGES=/tmp/packages_end.txt [2020-11-26T07:32:44.512Z] + case "${OS_FAMILY}" in [2020-11-26T07:32:44.512Z] + rpm -qa [2020-11-26T07:32:44.512Z] + sort [2020-11-26T07:32:49.835Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-26T07:32:49.835Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-26T07:32:49.835Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-26T07:32:49.835Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-11-26T07:32:49.835Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-11-26T07:32:49.835Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2020-11-26T07:32:49.850Z] 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 [2020-11-26T07:32:50.143Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:32:50.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T07:32:50.451Z] [2020-11-26T07:32:50.451Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:32:50.802Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T07:32:50.802Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-26T07:32:50.802Z] df20fa9351a1: Pulling fs layer [2020-11-26T07:32:50.802Z] 36b3adc4ff6f: Pulling fs layer [2020-11-26T07:32:50.802Z] 8ad3a11d3b57: Pulling fs layer [2020-11-26T07:32:50.802Z] 46f8f816bc3b: Pulling fs layer [2020-11-26T07:32:50.802Z] 93b61091891f: Pulling fs layer [2020-11-26T07:32:50.802Z] 93b9cdb0e59b: Pulling fs layer [2020-11-26T07:32:50.802Z] 5e14af77c1be: Pulling fs layer [2020-11-26T07:32:50.802Z] 01666e4c0597: Pulling fs layer [2020-11-26T07:32:50.802Z] aa168da1d23b: Pulling fs layer [2020-11-26T07:32:50.802Z] 46f8f816bc3b: Waiting [2020-11-26T07:32:50.802Z] 93b61091891f: Waiting [2020-11-26T07:32:50.802Z] 93b9cdb0e59b: Waiting [2020-11-26T07:32:50.802Z] 5e14af77c1be: Waiting [2020-11-26T07:32:50.802Z] 01666e4c0597: Waiting [2020-11-26T07:32:50.802Z] aa168da1d23b: Waiting [2020-11-26T07:32:50.802Z] 36b3adc4ff6f: Download complete [2020-11-26T07:32:50.802Z] 46f8f816bc3b: Download complete [2020-11-26T07:32:50.802Z] df20fa9351a1: Verifying Checksum [2020-11-26T07:32:50.802Z] df20fa9351a1: Download complete [2020-11-26T07:32:50.802Z] 93b9cdb0e59b: Verifying Checksum [2020-11-26T07:32:50.802Z] 93b9cdb0e59b: Download complete [2020-11-26T07:32:51.067Z] 5e14af77c1be: Verifying Checksum [2020-11-26T07:32:51.067Z] 5e14af77c1be: Download complete [2020-11-26T07:32:51.067Z] 01666e4c0597: Verifying Checksum [2020-11-26T07:32:51.067Z] 01666e4c0597: Download complete [2020-11-26T07:32:51.067Z] 93b61091891f: Download complete [2020-11-26T07:32:51.067Z] 8ad3a11d3b57: Verifying Checksum [2020-11-26T07:32:51.067Z] 8ad3a11d3b57: Download complete [2020-11-26T07:32:51.648Z] df20fa9351a1: Pull complete [2020-11-26T07:32:52.229Z] 36b3adc4ff6f: Pull complete [2020-11-26T07:32:53.192Z] aa168da1d23b: Verifying Checksum [2020-11-26T07:32:53.192Z] aa168da1d23b: Download complete [2020-11-26T07:32:53.459Z] 8ad3a11d3b57: Pull complete [2020-11-26T07:32:53.726Z] 46f8f816bc3b: Pull complete [2020-11-26T07:32:53.990Z] 93b61091891f: Pull complete [2020-11-26T07:32:53.990Z] 93b9cdb0e59b: Pull complete [2020-11-26T07:32:54.252Z] 5e14af77c1be: Pull complete [2020-11-26T07:32:54.252Z] 01666e4c0597: Pull complete [2020-11-26T07:33:02.442Z] aa168da1d23b: Pull complete [2020-11-26T07:33:02.442Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-26T07:33:02.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T07:33:02.442Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-26T07:33:02.641Z] prd-centos7-docker-4c-2g-13506 does not seem to be running inside a container [2020-11-26T07:33:02.693Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-26T07:33:05.277Z] $ docker top e7fd40ee44de3587018518beed5a6fef497969cd6a7ca1959b997288f903e048 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T07:33:05.875Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-26T07:33:06.190Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-26T07:33:06.493Z] + ls /var/log/sa-host [2020-11-26T07:33:06.493Z] + sadf -c /var/log/sa-host/sa23 [2020-11-26T07:33:06.493Z] file_magic: OK [2020-11-26T07:33:06.493Z] HZ: Using current value: 100 [2020-11-26T07:33:06.493Z] file_header: OK [2020-11-26T07:33:06.493Z] 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 [2020-11-26T07:33:06.493Z] Statistics: [2020-11-26T07:33:06.493Z] Hnuu...uuuununununu... [2020-11-26T07:33:06.493Z] File successfully converted to sysstat format version 12.2.1 [2020-11-26T07:33:06.493Z] + sadf -c /var/log/sa-host/sa26 [2020-11-26T07:33:06.493Z] file_magic: OK [2020-11-26T07:33:06.493Z] HZ: Using current value: 100 [2020-11-26T07:33:06.493Z] file_header: OK [2020-11-26T07:33:06.493Z] 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 [2020-11-26T07:33:06.493Z] Statistics: [2020-11-26T07:33:06.493Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-26T07:33:06.493Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-26T07:33:06.731Z] provisioning config files... [2020-11-26T07:33:06.747Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3753703774275294219tmp [Pipeline] { [Pipeline] echo [2020-11-26T07:33:06.858Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:33:07.172Z] ---> create-netrc.sh [Pipeline] } [2020-11-26T07:33:07.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-26T07:33:07.280Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:33:07.580Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-26T07:33:07.592Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:33:07.893Z] ---> sudo-logs.sh [2020-11-26T07:33:07.893Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-26T07:33:07.904Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:33:08.204Z] ---> job-cost.sh [2020-11-26T07:33:08.204Z] lf-activate-venv: SKIPPING [2020-11-26T07:33:08.204Z] INFO: No Stack... [2020-11-26T07:33:09.153Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-26T07:33:09.730Z] INFO: Archiving Costs [Pipeline] echo [2020-11-26T07:33:09.745Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:33:10.044Z] ---> logs-deploy.sh [2020-11-26T07:33:10.044Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/89 [2020-11-26T07:33:10.044Z] INFO: archiving workspace using pattern(s): [2020-11-26T07:33:11.966Z] Archives upload complete. [2020-11-26T07:33:11.966Z] INFO: archiving logs to Nexus