Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1c2f003b09666c9aca7d142d934c7ec3af9c247b 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21868 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 1c2f003b09666c9aca7d142d934c7ec3af9c247b (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 Commit message: "Merge pull request #738 from hahattan/issue-468" > git rev-list --no-walk 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-21T06:52:19.937Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-21T06:52:20.258Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-21T06:52:20.394Z] ========================================================= [2021-01-21T06:52:20.394Z] EdgeX Global Pipelines Version Info [2021-01-21T06:52:20.394Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-21T06:52:22.356Z] ------------------- [2021-01-21T06:52:22.357Z] stable info: [2021-01-21T06:52:22.357Z] ------------------- [2021-01-21T06:52:22.357Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-21T06:52:22.357Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-21T06:52:22.357Z] Message: update stable to v1.0.179 [2021-01-21T06:52:22.941Z] ------------------- [2021-01-21T06:52:22.941Z] experimental info: [2021-01-21T06:52:22.941Z] ------------------- [2021-01-21T06:52:22.941Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-21T06:52:22.941Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-21T06:52:22.941Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-21T06:52:23.322Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-21T06:52:23.501Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-21T06:52:23.609Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-21T06:52:23.697Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-21T06:52:23.790Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-21T06:52:23.900Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-21T06:52:23.991Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-21T06:52:24.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-21T06:52:24.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-21T06:52:24.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-21T06:52:24.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-21T06:52:24.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-21T06:52:24.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-21T06:52:24.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-21T06:52:24.818Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-21T06:52:24.907Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T06:52:25.009Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T06:52:25.098Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-21T06:52:25.190Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-21T06:52:25.297Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-21T06:52:25.434Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-21T06:52:25.521Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-21T06:52:25.609Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-21T06:52:25.699Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-21T06:52:25.788Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-21T06:52:25.877Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-21T06:52:25.963Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-21T06:52:26.056Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-21T06:52:26.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-21T06:52:26.233Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-21T06:52:26.320Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c2f003b09666c9aca7d142d934c7ec3af9c247b [Pipeline] echo [2021-01-21T06:52:26.406Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c2f003 [Pipeline] echo [2021-01-21T06:52:26.491Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-21T06:52:26.690Z] provisioning config files... [2021-01-21T06:52:26.716Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config825700893901944009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T06:52:27.076Z] ---> docker-login.sh [2021-01-21T06:52:27.076Z] nexus3.edgexfoundry.org:10001 [2021-01-21T06:52:27.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:52:27.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:52:27.600Z] Configure a credential helper to remove this warning. See [2021-01-21T06:52:27.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:52:27.600Z] [2021-01-21T06:52:27.600Z] Login Succeeded [2021-01-21T06:52:27.600Z] nexus3.edgexfoundry.org:10002 [2021-01-21T06:52:27.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:52:27.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:52:27.862Z] Configure a credential helper to remove this warning. See [2021-01-21T06:52:27.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:52:27.862Z] [2021-01-21T06:52:27.862Z] Login Succeeded [2021-01-21T06:52:27.862Z] nexus3.edgexfoundry.org:10003 [2021-01-21T06:52:27.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:52:28.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:52:28.126Z] Configure a credential helper to remove this warning. See [2021-01-21T06:52:28.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:52:28.126Z] [2021-01-21T06:52:28.126Z] Login Succeeded [2021-01-21T06:52:28.126Z] nexus3.edgexfoundry.org:10004 [2021-01-21T06:52:28.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:52:28.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:52:28.126Z] Configure a credential helper to remove this warning. See [2021-01-21T06:52:28.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:52:28.126Z] [2021-01-21T06:52:28.126Z] Login Succeeded [2021-01-21T06:52:28.126Z] docker.io [2021-01-21T06:52:28.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:52:28.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:52:28.653Z] Configure a credential helper to remove this warning. See [2021-01-21T06:52:28.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:52:28.653Z] [2021-01-21T06:52:28.653Z] Login Succeeded [2021-01-21T06:52:28.653Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T06:52:28.665Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-21T06:52:29.480Z] + git log --format=format:%s -1 1c2f003b09666c9aca7d142d934c7ec3af9c247b [Pipeline] echo [2021-01-21T06:52:29.553Z] GIT_COMMIT: 1c2f003b09666c9aca7d142d934c7ec3af9c247b, Commit Message: Merge pull request #738 from hahattan/issue-468 [Pipeline] echo [2021-01-21T06:52:29.597Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-21T06:52:30.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T06:52:30.581Z] [2021-01-21T06:52:30.581Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-21T06:52:30.983Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T06:52:30.983Z] latest: Pulling from edgex-devops/git-semver [2021-01-21T06:52:30.983Z] 31603596830f: Pulling fs layer [2021-01-21T06:52:30.983Z] 2a8b12db71e7: Pulling fs layer [2021-01-21T06:52:30.983Z] 6ca5941a6612: Pulling fs layer [2021-01-21T06:52:30.983Z] ecc8261a40a4: Pulling fs layer [2021-01-21T06:52:30.983Z] ecc8261a40a4: Waiting [2021-01-21T06:52:30.983Z] 2a8b12db71e7: Download complete [2021-01-21T06:52:31.250Z] 31603596830f: Verifying Checksum [2021-01-21T06:52:31.250Z] 31603596830f: Download complete [2021-01-21T06:52:31.250Z] ecc8261a40a4: Verifying Checksum [2021-01-21T06:52:31.250Z] ecc8261a40a4: Download complete [2021-01-21T06:52:31.250Z] 6ca5941a6612: Verifying Checksum [2021-01-21T06:52:31.250Z] 6ca5941a6612: Download complete [2021-01-21T06:52:31.520Z] 31603596830f: Pull complete [2021-01-21T06:52:31.520Z] 2a8b12db71e7: Pull complete [2021-01-21T06:52:32.481Z] 6ca5941a6612: Pull complete [2021-01-21T06:52:32.746Z] ecc8261a40a4: Pull complete [2021-01-21T06:52:33.010Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-21T06:52:33.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T06:52:33.010Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-21T06:52:33.126Z] prd-centos7-docker-4c-2g-21868 does not seem to be running inside a container [2021-01-21T06:52:33.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-21T06:52:35.523Z] $ docker top 460267d02ff0921db3aec5fb46c6d92c596c6f0287a21758da51d09167483ca8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-21T06:52:35.915Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-21T06:52:35.915Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-21T06:52:36.176Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-21T06:52:36.180Z] $ docker exec 460267d02ff0921db3aec5fb46c6d92c596c6f0287a21758da51d09167483ca8 ssh-agent [2021-01-21T06:52:36.362Z] SSH_AUTH_SOCK=/tmp/ssh-ZHcEPb9kPiRT/agent.12 [2021-01-21T06:52:36.362Z] SSH_AGENT_PID=17 [2021-01-21T06:52:36.379Z] Running ssh-add (command line suppressed) [2021-01-21T06:52:36.510Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_297229024367831107.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_297229024367831107.key) [2021-01-21T06:52:36.567Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-21T06:52:36.939Z] + git tag --points-at HEAD [Pipeline] } [2021-01-21T06:52:36.964Z] $ docker exec --env ******** --env ******** 460267d02ff0921db3aec5fb46c6d92c596c6f0287a21758da51d09167483ca8 ssh-agent -k [2021-01-21T06:52:37.098Z] unset SSH_AUTH_SOCK; [2021-01-21T06:52:37.098Z] unset SSH_AGENT_PID; [2021-01-21T06:52:37.098Z] echo Agent pid 17 killed; [2021-01-21T06:52:37.147Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-21T06:52:37.324Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-21T06:52:37.324Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-21T06:52:37.506Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-21T06:52:37.511Z] $ docker exec 460267d02ff0921db3aec5fb46c6d92c596c6f0287a21758da51d09167483ca8 ssh-agent [2021-01-21T06:52:37.686Z] SSH_AUTH_SOCK=/tmp/ssh-dHoJspgsXx0T/agent.46 [2021-01-21T06:52:37.686Z] SSH_AGENT_PID=52 [2021-01-21T06:52:37.694Z] Running ssh-add (command line suppressed) [2021-01-21T06:52:37.814Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8424835207490176652.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8424835207490176652.key) [2021-01-21T06:52:37.873Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-21T06:52:38.210Z] + git semver init [2021-01-21T06:52:38.210Z] # -> Open(): unable to determine branch for HEAD [2021-01-21T06:52:38.210Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-21T06:52:38.210Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-21T06:52:38.210Z] # $SEMVER_REMOTE_NAME = origin [2021-01-21T06:52:38.210Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-21T06:52:38.210Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-21T06:52:38.210Z] # $SEMVER_BRANCH = master [2021-01-21T06:52:38.210Z] # $SEMVER_TEMP = /tmp/semver-860430557 [2021-01-21T06:52:38.210Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-21T06:52:39.159Z] # '/tmp/semver-860430557' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-01-21T06:52:39.159Z] # -> Force: false [2021-01-21T06:52:39.159Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-21T06:52:39.175Z] $ docker exec --env ******** --env ******** 460267d02ff0921db3aec5fb46c6d92c596c6f0287a21758da51d09167483ca8 ssh-agent -k [2021-01-21T06:52:39.297Z] unset SSH_AUTH_SOCK; [2021-01-21T06:52:39.298Z] unset SSH_AGENT_PID; [2021-01-21T06:52:39.298Z] echo Agent pid 52 killed; [2021-01-21T06:52:39.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-21T06:52:39.809Z] + git semver [Pipeline] } [2021-01-21T06:52:39.827Z] $ docker stop --time=1 460267d02ff0921db3aec5fb46c6d92c596c6f0287a21758da51d09167483ca8 [2021-01-21T06:52:41.282Z] $ docker rm -f 460267d02ff0921db3aec5fb46c6d92c596c6f0287a21758da51d09167483ca8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-21T06:52:41.751Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-21T06:52:42.178Z] Stashed 1 file(s) [Pipeline] echo [2021-01-21T06:52:42.181Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-21T06:52:57.740Z] Still waiting to schedule task [2021-01-21T06:52:57.740Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-21T06:52:57.742Z] Still waiting to schedule task [2021-01-21T06:52:57.743Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-21T06:54:38.339Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-21869 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-21T06:54:38.404Z] Running in /w/workspace/device-sdk-go/110 [Pipeline] { [Pipeline] checkout [2021-01-21T06:54:43.468Z] using credential edgex-jenkins-ssh [2021-01-21T06:54:43.527Z] Cloning the remote Git repository [2021-01-21T06:54:43.595Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T06:54:43.712Z] > git init /w/workspace/device-sdk-go/110 # timeout=10 [2021-01-21T06:54:43.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T06:54:43.809Z] > git --version # timeout=10 [2021-01-21T06:54:43.831Z] > git --version # 'git version 2.17.1' [2021-01-21T06:54:43.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T06:54:43.907Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T06:54:45.471Z] Checking out Revision 1c2f003b09666c9aca7d142d934c7ec3af9c247b (master) [2021-01-21T06:54:44.927Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T06:54:44.943Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T06:54:44.966Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T06:54:45.004Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T06:54:45.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T06:54:45.015Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-21T06:54:45.503Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T06:54:45.526Z] > git checkout -f 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 [2021-01-21T06:54:49.917Z] Commit message: "Merge pull request #738 from hahattan/issue-468" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-21T06:54:51.439Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-21T06:54:51.857Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-21T06:54:52.201Z] + sudo service docker restart [2021-01-21T06:54:52.201Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-21T06:54:54.903Z] provisioning config files... [2021-01-21T06:54:55.017Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/110@tmp/config1594082272174238784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T06:54:55.514Z] ---> docker-login.sh [2021-01-21T06:54:55.514Z] nexus3.edgexfoundry.org:10001 [2021-01-21T06:54:56.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:54:56.604Z] Running on prd-centos7-docker-4c-2g-21870 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-21T06:54:56.656Z] Running in /w/workspace/device-sdk-go/110 [Pipeline] { [Pipeline] checkout [2021-01-21T06:54:56.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:54:56.724Z] Configure a credential helper to remove this warning. See [2021-01-21T06:54:56.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:54:56.724Z] [2021-01-21T06:54:56.724Z] Login Succeeded [2021-01-21T06:54:56.724Z] nexus3.edgexfoundry.org:10002 [2021-01-21T06:54:57.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:54:57.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:54:57.282Z] Configure a credential helper to remove this warning. See [2021-01-21T06:54:57.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:54:57.282Z] [2021-01-21T06:54:57.282Z] Login Succeeded [2021-01-21T06:54:57.282Z] nexus3.edgexfoundry.org:10003 [2021-01-21T06:54:57.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:54:57.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:54:57.840Z] Configure a credential helper to remove this warning. See [2021-01-21T06:54:57.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:54:57.840Z] [2021-01-21T06:54:57.840Z] Login Succeeded [2021-01-21T06:54:57.840Z] nexus3.edgexfoundry.org:10004 [2021-01-21T06:54:58.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:54:58.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:54:58.391Z] Configure a credential helper to remove this warning. See [2021-01-21T06:54:58.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:54:58.391Z] [2021-01-21T06:54:58.391Z] Login Succeeded [2021-01-21T06:54:58.391Z] docker.io [2021-01-21T06:54:58.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:54:58.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:54:58.937Z] Configure a credential helper to remove this warning. See [2021-01-21T06:54:58.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:54:58.937Z] [2021-01-21T06:54:58.937Z] Login Succeeded [2021-01-21T06:54:58.937Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T06:54:58.954Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-21T06:54:59.368Z] ========================================================= [2021-01-21T06:54:59.368Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-21T06:54:59.368Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-21T06:54:59.751Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-21T06:55:00.375Z] Sending build context to Docker daemon 2.419MB [2021-01-21T06:55:00.375Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T06:55:00.375Z] Step 2/8 : FROM ${BASE} [2021-01-21T06:55:00.375Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-21T06:55:00.375Z] 5f621e34cdf4: Pulling fs layer [2021-01-21T06:55:00.375Z] a4357932f1b6: Pulling fs layer [2021-01-21T06:55:00.375Z] 18c013af1878: Pulling fs layer [2021-01-21T06:55:00.375Z] 00ac8860ef70: Pulling fs layer [2021-01-21T06:55:00.375Z] 63d7cb157983: Pulling fs layer [2021-01-21T06:55:00.375Z] b116817d02f9: Pulling fs layer [2021-01-21T06:55:00.375Z] 745a02a5169b: Pulling fs layer [2021-01-21T06:55:00.375Z] 63d7cb157983: Waiting [2021-01-21T06:55:00.375Z] b116817d02f9: Waiting [2021-01-21T06:55:00.375Z] 00ac8860ef70: Waiting [2021-01-21T06:55:00.375Z] 745a02a5169b: Waiting [2021-01-21T06:55:00.375Z] 18c013af1878: Verifying Checksum [2021-01-21T06:55:00.375Z] 18c013af1878: Download complete [2021-01-21T06:55:00.375Z] a4357932f1b6: Download complete [2021-01-21T06:55:00.375Z] 63d7cb157983: Verifying Checksum [2021-01-21T06:55:00.375Z] 63d7cb157983: Download complete [2021-01-21T06:55:00.375Z] b116817d02f9: Verifying Checksum [2021-01-21T06:55:00.375Z] b116817d02f9: Download complete [2021-01-21T06:55:00.375Z] 5f621e34cdf4: Download complete [2021-01-21T06:55:01.395Z] 5f621e34cdf4: Pull complete [2021-01-21T06:55:02.004Z] a4357932f1b6: Pull complete [2021-01-21T06:55:02.279Z] 18c013af1878: Pull complete [2021-01-21T06:55:03.718Z] 745a02a5169b: Verifying Checksum [2021-01-21T06:55:03.718Z] 745a02a5169b: Download complete [2021-01-21T06:55:04.644Z] using credential edgex-jenkins-ssh [2021-01-21T06:55:04.702Z] Cloning the remote Git repository [2021-01-21T06:55:04.703Z] 00ac8860ef70: Verifying Checksum [2021-01-21T06:55:04.703Z] 00ac8860ef70: Download complete [2021-01-21T06:55:04.759Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T06:55:04.844Z] > git init /w/workspace/device-sdk-go/110 # timeout=10 [2021-01-21T06:55:04.959Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T06:55:04.959Z] > git --version # timeout=10 [2021-01-21T06:55:05.021Z] > git --version # 'git version 2.24.3' [2021-01-21T06:55:05.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T06:55:05.150Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T06:55:06.821Z] Checking out Revision 1c2f003b09666c9aca7d142d934c7ec3af9c247b (master) [2021-01-21T06:55:06.250Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T06:55:06.291Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-21T06:55:06.325Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-21T06:55:06.390Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-21T06:55:06.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-21T06:55:06.412Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-21T06:55:06.835Z] > git config core.sparsecheckout # timeout=10 [2021-01-21T06:55:06.852Z] > git checkout -f 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 [2021-01-21T06:55:11.139Z] Commit message: "Merge pull request #738 from hahattan/issue-468" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-21T06:55:13.065Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-21T06:55:13.484Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-21T06:55:13.963Z] + true [2021-01-21T06:55:13.963Z] + sudo service docker restart [2021-01-21T06:55:13.963Z] Redirecting to /bin/systemctl restart docker.service [2021-01-21T06:55:14.885Z] 00ac8860ef70: Pull complete [2021-01-21T06:55:15.169Z] 63d7cb157983: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-21T06:55:15.478Z] provisioning config files... [2021-01-21T06:55:15.566Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/110@tmp/config6270674104239680318tmp [Pipeline] { [2021-01-21T06:55:15.769Z] b116817d02f9: Pull complete [Pipeline] libraryResource [Pipeline] sh [2021-01-21T06:55:16.202Z] ---> docker-login.sh [2021-01-21T06:55:16.202Z] nexus3.edgexfoundry.org:10001 [2021-01-21T06:55:16.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:55:16.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:55:16.779Z] Configure a credential helper to remove this warning. See [2021-01-21T06:55:16.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:55:16.779Z] [2021-01-21T06:55:16.779Z] Login Succeeded [2021-01-21T06:55:16.779Z] nexus3.edgexfoundry.org:10002 [2021-01-21T06:55:17.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:55:17.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:55:17.407Z] Configure a credential helper to remove this warning. See [2021-01-21T06:55:17.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:55:17.407Z] [2021-01-21T06:55:17.407Z] Login Succeeded [2021-01-21T06:55:17.407Z] nexus3.edgexfoundry.org:10003 [2021-01-21T06:55:17.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:55:17.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:55:17.701Z] Configure a credential helper to remove this warning. See [2021-01-21T06:55:17.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:55:17.701Z] [2021-01-21T06:55:17.701Z] Login Succeeded [2021-01-21T06:55:17.701Z] nexus3.edgexfoundry.org:10004 [2021-01-21T06:55:17.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:55:17.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:55:17.982Z] Configure a credential helper to remove this warning. See [2021-01-21T06:55:17.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:55:17.982Z] [2021-01-21T06:55:17.982Z] Login Succeeded [2021-01-21T06:55:17.982Z] docker.io [2021-01-21T06:55:18.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-21T06:55:18.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-21T06:55:18.861Z] Configure a credential helper to remove this warning. See [2021-01-21T06:55:18.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-21T06:55:18.861Z] [2021-01-21T06:55:18.861Z] Login Succeeded [2021-01-21T06:55:18.861Z] ---> docker-login.sh ends [Pipeline] } [2021-01-21T06:55:18.893Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-01-21T06:55:19.163Z] 745a02a5169b: Pull complete [Pipeline] echo [2021-01-21T06:55:19.332Z] ========================================================= [2021-01-21T06:55:19.332Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-21T06:55:19.332Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-21T06:55:19.435Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-21T06:55:19.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-21T06:55:19.435Z] ---> b7e6874047d6 [2021-01-21T06:55:19.435Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T06:55:19.785Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-21T06:55:20.375Z] Sending build context to Docker daemon 2.418MB [2021-01-21T06:55:20.375Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T06:55:20.375Z] Step 2/8 : FROM ${BASE} [2021-01-21T06:55:20.375Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-21T06:55:20.375Z] 188c0c94c7c5: Pulling fs layer [2021-01-21T06:55:20.375Z] 0ef7d3d256c8: Pulling fs layer [2021-01-21T06:55:20.375Z] de9db76c5a1d: Pulling fs layer [2021-01-21T06:55:20.375Z] bca2f99d35d6: Pulling fs layer [2021-01-21T06:55:20.375Z] 93359f2a8cfa: Pulling fs layer [2021-01-21T06:55:20.375Z] 7c6f9722023f: Pulling fs layer [2021-01-21T06:55:20.375Z] a35cf1a2eb13: Pulling fs layer [2021-01-21T06:55:20.375Z] 93359f2a8cfa: Waiting [2021-01-21T06:55:20.375Z] 7c6f9722023f: Waiting [2021-01-21T06:55:20.375Z] a35cf1a2eb13: Waiting [2021-01-21T06:55:20.375Z] bca2f99d35d6: Waiting [2021-01-21T06:55:20.375Z] de9db76c5a1d: Verifying Checksum [2021-01-21T06:55:20.375Z] de9db76c5a1d: Download complete [2021-01-21T06:55:20.375Z] 0ef7d3d256c8: Verifying Checksum [2021-01-21T06:55:20.375Z] 0ef7d3d256c8: Download complete [2021-01-21T06:55:20.375Z] 93359f2a8cfa: Verifying Checksum [2021-01-21T06:55:20.375Z] 93359f2a8cfa: Download complete [2021-01-21T06:55:20.375Z] 7c6f9722023f: Verifying Checksum [2021-01-21T06:55:20.375Z] 7c6f9722023f: Download complete [2021-01-21T06:55:20.686Z] 188c0c94c7c5: Verifying Checksum [2021-01-21T06:55:20.686Z] 188c0c94c7c5: Download complete [2021-01-21T06:55:20.980Z] 188c0c94c7c5: Pull complete [2021-01-21T06:55:21.599Z] 0ef7d3d256c8: Pull complete [2021-01-21T06:55:21.599Z] de9db76c5a1d: Pull complete [2021-01-21T06:55:22.089Z] ---> Running in 0cf89c51a1eb [2021-01-21T06:55:22.361Z] Removing intermediate container 0cf89c51a1eb [2021-01-21T06:55:22.361Z] ---> c8d7a8a55b04 [2021-01-21T06:55:22.361Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T06:55:22.631Z] ---> Running in 5aaf63ac4d32 [2021-01-21T06:55:24.609Z] Removing intermediate container 5aaf63ac4d32 [2021-01-21T06:55:24.609Z] ---> d816d08cadd6 [2021-01-21T06:55:24.610Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-21T06:55:24.882Z] ---> Running in 126de4da6a69 [2021-01-21T06:55:25.867Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-21T06:55:26.114Z] a35cf1a2eb13: Verifying Checksum [2021-01-21T06:55:26.114Z] a35cf1a2eb13: Download complete [2021-01-21T06:55:26.460Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-21T06:55:26.808Z] bca2f99d35d6: Verifying Checksum [2021-01-21T06:55:26.808Z] bca2f99d35d6: Download complete [2021-01-21T06:55:27.453Z] OK: 142 MiB in 39 packages [2021-01-21T06:55:28.445Z] Removing intermediate container 126de4da6a69 [2021-01-21T06:55:28.445Z] ---> e94a591930ba [2021-01-21T06:55:28.445Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-21T06:55:28.723Z] ---> Running in 4f5126fed0a6 [2021-01-21T06:55:29.328Z] Removing intermediate container 4f5126fed0a6 [2021-01-21T06:55:29.328Z] ---> ebc8a8038a55 [2021-01-21T06:55:29.328Z] Step 7/8 : COPY . . [2021-01-21T06:55:30.306Z] ---> 845b98b7bc87 [2021-01-21T06:55:30.306Z] Step 8/8 : RUN go mod download [2021-01-21T06:55:30.578Z] ---> Running in c76e4d07690f [2021-01-21T06:55:39.463Z] bca2f99d35d6: Pull complete [2021-01-21T06:55:39.463Z] 93359f2a8cfa: Pull complete [2021-01-21T06:55:39.463Z] 7c6f9722023f: Pull complete [2021-01-21T06:55:45.063Z] a35cf1a2eb13: Pull complete [2021-01-21T06:55:45.063Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-21T06:55:45.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-21T06:55:45.063Z] ---> a62c8e92a672 [2021-01-21T06:55:45.063Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T06:55:45.333Z] ---> Running in f8d46c8fa7b4 [2021-01-21T06:55:45.611Z] Removing intermediate container f8d46c8fa7b4 [2021-01-21T06:55:45.611Z] ---> af5e6587aa2c [2021-01-21T06:55:45.611Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T06:55:45.611Z] ---> Running in 4174fe64e191 [2021-01-21T06:55:47.695Z] Removing intermediate container 4174fe64e191 [2021-01-21T06:55:47.695Z] ---> 1e90c363b5de [2021-01-21T06:55:47.695Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-21T06:55:47.695Z] ---> Running in 6b16743a7d32 [2021-01-21T06:55:48.304Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-21T06:55:48.895Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-21T06:55:49.487Z] OK: 166 MiB in 39 packages [2021-01-21T06:55:50.078Z] Removing intermediate container 6b16743a7d32 [2021-01-21T06:55:50.078Z] ---> aa4133fc5a5a [2021-01-21T06:55:50.078Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-21T06:55:50.358Z] ---> Running in b4917dd30d9a [2021-01-21T06:55:50.628Z] Removing intermediate container b4917dd30d9a [2021-01-21T06:55:50.628Z] ---> 2a15a8cef8d4 [2021-01-21T06:55:50.628Z] Step 7/8 : COPY . . [2021-01-21T06:55:52.155Z] ---> c09f77dc4303 [2021-01-21T06:55:52.155Z] Step 8/8 : RUN go mod download [2021-01-21T06:55:52.155Z] ---> Running in 53cf5614c806 [2021-01-21T06:55:52.786Z] Removing intermediate container c76e4d07690f [2021-01-21T06:55:52.787Z] ---> c7c8e45bab06 [2021-01-21T06:55:52.787Z] Successfully built c7c8e45bab06 [2021-01-21T06:55:52.787Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-21T06:55:53.137Z] + docker inspect -f . ci-base-image-arm64 [2021-01-21T06:55:53.138Z] . [Pipeline] withDockerContainer [2021-01-21T06:55:53.403Z] prd-ubuntu18.04-docker-arm64-4c-16g-21869 does not seem to be running inside a container [2021-01-21T06:55:53.492Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/110 -v /w/workspace/device-sdk-go/110:/w/workspace/device-sdk-go/110:rw,z -v /w/workspace/device-sdk-go/110@tmp:/w/workspace/device-sdk-go/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-21T06:55:54.851Z] $ docker top 30354e51615e1eed7e1d8310df70c77abf5527d74509db1a7719aa34e9985880 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T06:55:55.829Z] + go version [2021-01-21T06:55:55.829Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-21T06:55:55.854Z] $ docker stop --time=1 30354e51615e1eed7e1d8310df70c77abf5527d74509db1a7719aa34e9985880 [2021-01-21T06:55:57.696Z] $ docker rm -f 30354e51615e1eed7e1d8310df70c77abf5527d74509db1a7719aa34e9985880 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-21T06:55:58.650Z] + docker inspect -f . ci-base-image-arm64 [2021-01-21T06:55:58.650Z] . [Pipeline] withDockerContainer [2021-01-21T06:55:58.882Z] prd-ubuntu18.04-docker-arm64-4c-16g-21869 does not seem to be running inside a container [2021-01-21T06:55:58.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/110 -v /w/workspace/device-sdk-go/110:/w/workspace/device-sdk-go/110:rw,z -v /w/workspace/device-sdk-go/110@tmp:/w/workspace/device-sdk-go/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-21T06:56:00.458Z] $ docker top 6ccb6e460ac2afdcccc707575a55f82cca77fa2489a0079f3ce308fecc889270 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T06:56:01.462Z] + make test [2021-01-21T06:56:01.462Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-21T06:56:19.139Z] Removing intermediate container 53cf5614c806 [2021-01-21T06:56:19.139Z] ---> c74a469e1b38 [2021-01-21T06:56:19.139Z] Successfully built c74a469e1b38 [2021-01-21T06:56:19.139Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-21T06:56:19.865Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-21T06:56:19.865Z] . [Pipeline] withDockerContainer [2021-01-21T06:56:20.264Z] prd-centos7-docker-4c-2g-21870 does not seem to be running inside a container [2021-01-21T06:56:20.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/110 -v /w/workspace/device-sdk-go/110:/w/workspace/device-sdk-go/110:rw,z -v /w/workspace/device-sdk-go/110@tmp:/w/workspace/device-sdk-go/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-21T06:56:21.863Z] $ docker top c6c05cfa567f2f7e295a4d4666979bf63e5e30e7f0dd73a5eddafaca11ac9b84 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T06:56:22.914Z] + go version [2021-01-21T06:56:22.914Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-21T06:56:22.942Z] $ docker stop --time=1 c6c05cfa567f2f7e295a4d4666979bf63e5e30e7f0dd73a5eddafaca11ac9b84 [2021-01-21T06:56:23.677Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-21T06:56:24.515Z] $ docker rm -f c6c05cfa567f2f7e295a4d4666979bf63e5e30e7f0dd73a5eddafaca11ac9b84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-21T06:56:25.483Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-21T06:56:25.483Z] . [Pipeline] withDockerContainer [2021-01-21T06:56:25.734Z] prd-centos7-docker-4c-2g-21870 does not seem to be running inside a container [2021-01-21T06:56:25.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/110 -v /w/workspace/device-sdk-go/110:/w/workspace/device-sdk-go/110:rw,z -v /w/workspace/device-sdk-go/110@tmp:/w/workspace/device-sdk-go/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-21T06:56:27.150Z] $ docker top 61c971ee1c1a4c507c372f3894703bf926995860104ccc162af5f222abfca766 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T06:56:27.767Z] + make test [2021-01-21T06:56:27.767Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-21T06:56:43.364Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-21T06:57:02.715Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-21T06:57:02.715Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-21T06:57:02.715Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-21T06:57:03.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.166s coverage: 19.4% of statements [2021-01-21T06:57:09.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.189s coverage: 97.1% of statements [2021-01-21T06:57:10.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-21T06:57:10.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-21T06:57:10.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-21T06:57:10.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.142s coverage: 19.4% of statements [2021-01-21T06:57:14.483Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.735s coverage: 97.1% of statements [2021-01-21T06:57:35.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.126s coverage: 9.4% of statements [2021-01-21T06:57:35.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.111s coverage: 21.7% of statements [2021-01-21T06:57:35.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-21T06:57:35.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.598s coverage: 43.2% of statements [2021-01-21T06:57:35.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-21T06:57:35.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.732s coverage: 68.9% of statements [2021-01-21T06:57:35.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-21T06:57:35.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-21T06:57:35.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-21T06:57:35.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-21T06:57:35.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.194s coverage: 53.8% of statements [2021-01-21T06:57:35.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-21T06:57:35.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-21T06:57:35.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.167s coverage: 26.8% of statements [2021-01-21T06:57:35.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.805s coverage: 83.5% of statements [2021-01-21T06:57:35.979Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.144s coverage: 4.2% of statements [2021-01-21T06:57:35.979Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-21T06:57:36.255Z] GO111MODULE=on go vet ./... [2021-01-21T06:57:41.867Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.097s coverage: 9.4% of statements [2021-01-21T06:57:41.867Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.098s coverage: 21.7% of statements [2021-01-21T06:57:41.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-21T06:57:41.867Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.449s coverage: 43.2% of statements [2021-01-21T06:57:41.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-21T06:57:41.867Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.495s coverage: 68.9% of statements [2021-01-21T06:57:41.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-21T06:57:41.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-21T06:57:41.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-21T06:57:41.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-21T06:57:41.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.163s coverage: 53.8% of statements [2021-01-21T06:57:41.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-21T06:57:41.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-21T06:57:41.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.208s coverage: 26.8% of statements [2021-01-21T06:57:41.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.161s coverage: 83.5% of statements [2021-01-21T06:57:41.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.147s coverage: 4.2% of statements [2021-01-21T06:57:41.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-21T06:57:41.868Z] GO111MODULE=on go vet ./... [2021-01-21T06:58:08.650Z] gofmt -l . [2021-01-21T06:58:09.246Z] [ "`gofmt -l .`" = "" ] [2021-01-21T06:58:09.359Z] gofmt -l . [2021-01-21T06:58:09.359Z] [ "`gofmt -l .`" = "" ] [2021-01-21T06:58:09.359Z] ./bin/test-attribution-txt.sh [2021-01-21T06:58:09.359Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-21T06:58:09.446Z] $ docker stop --time=1 61c971ee1c1a4c507c372f3894703bf926995860104ccc162af5f222abfca766 [2021-01-21T06:58:09.517Z] ./bin/test-attribution-txt.sh [2021-01-21T06:58:10.499Z] ./bin/test-go-mod-tidy.sh [2021-01-21T06:58:11.907Z] $ docker rm -f 61c971ee1c1a4c507c372f3894703bf926995860104ccc162af5f222abfca766 [Pipeline] // withDockerContainer [Pipeline] } [2021-01-21T06:58:12.444Z] $ docker stop --time=1 6ccb6e460ac2afdcccc707575a55f82cca77fa2489a0079f3ce308fecc889270 [2021-01-21T06:58:14.690Z] $ docker rm -f 6ccb6e460ac2afdcccc707575a55f82cca77fa2489a0079f3ce308fecc889270 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-21T06:58:15.708Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-21T06:58:15.858Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-21T06:58:15.927Z] Warning: overwriting stash ‘coverage-report’ [2021-01-21T06:58:16.241Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-21T06:58:16.863Z] Stashed 1 file(s) [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-21T06:58:18.925Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-21T06:58:19.276Z] + ls -al . [2021-01-21T06:58:19.276Z] total 216 [2021-01-21T06:58:19.276Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 21 06:58 . [2021-01-21T06:58:19.276Z] drwxrwxr-x. 4 jenkins jenkins 32 Jan 21 06:55 .. [2021-01-21T06:58:19.276Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 21 06:55 bin [2021-01-21T06:58:19.276Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 21 06:57 coverage.out [2021-01-21T06:58:19.276Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 21 06:55 Dockerfile.build [2021-01-21T06:58:19.276Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 21 06:55 .dockerignore [2021-01-21T06:58:19.276Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 21 06:55 example [2021-01-21T06:58:19.276Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 21 06:55 .git [2021-01-21T06:58:19.276Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 21 06:55 .github [2021-01-21T06:58:19.276Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 21 06:55 .gitignore [2021-01-21T06:58:19.276Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 21 06:58 go.mod [2021-01-21T06:58:19.276Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 21 06:58 go.sum [2021-01-21T06:58:19.276Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 21 06:55 internal [2021-01-21T06:58:19.276Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 21 06:55 Jenkinsfile [2021-01-21T06:58:19.276Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 21 06:55 LICENSE [2021-01-21T06:58:19.276Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 21 06:55 Makefile [2021-01-21T06:58:19.276Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 21 06:55 openapi [2021-01-21T06:58:19.276Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 21 06:55 pkg [2021-01-21T06:58:19.276Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 21 06:55 README.md [2021-01-21T06:58:19.276Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 21 06:55 RELEASE-NOTES.txt [2021-01-21T06:58:19.276Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 21 06:55 snap [2021-01-21T06:58:19.276Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 21 06:52 VERSION [2021-01-21T06:58:19.276Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 21 06:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-21T06:58:19.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-21T06:58:19.629Z] + 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=1c2f003b09666c9aca7d142d934c7ec3af9c247b --label arch=amd64 --label version=2.0.0-dev.5 . [2021-01-21T06:58:19.870Z] + ls -al . [2021-01-21T06:58:19.870Z] total 252 [2021-01-21T06:58:19.870Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 21 06:58 . [2021-01-21T06:58:19.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 06:54 .. [2021-01-21T06:58:19.870Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 21 06:54 .dockerignore [2021-01-21T06:58:19.870Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 21 06:54 .git [2021-01-21T06:58:19.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 21 06:54 .github [2021-01-21T06:58:19.870Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 21 06:54 .gitignore [2021-01-21T06:58:19.870Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 21 06:54 Dockerfile.build [2021-01-21T06:58:19.870Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 21 06:54 Jenkinsfile [2021-01-21T06:58:19.870Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 21 06:54 LICENSE [2021-01-21T06:58:19.870Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 21 06:54 Makefile [2021-01-21T06:58:19.870Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 21 06:54 README.md [2021-01-21T06:58:19.870Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 21 06:54 RELEASE-NOTES.txt [2021-01-21T06:58:19.870Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 21 06:52 VERSION [2021-01-21T06:58:19.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 21 06:54 bin [2021-01-21T06:58:19.870Z] -rw-r--r-- 1 jenkins jenkins 136843 Jan 21 06:57 coverage.out [2021-01-21T06:58:19.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 06:54 example [2021-01-21T06:58:19.870Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 21 06:58 go.mod [2021-01-21T06:58:19.870Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 21 06:58 go.sum [2021-01-21T06:58:19.870Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 21 06:54 internal [2021-01-21T06:58:19.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 06:54 openapi [2021-01-21T06:58:19.870Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 21 06:54 pkg [2021-01-21T06:58:19.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 06:54 snap [2021-01-21T06:58:19.870Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 21 06:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-21T06:58:20.221Z] Sending build context to Docker daemon 2.556MB [2021-01-21T06:58:20.221Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T06:58:20.221Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-21T06:58:20.221Z] ---> c74a469e1b38 [2021-01-21T06:58:20.221Z] Step 3/24 : ARG MAKE='make build' [2021-01-21T06:58:20.284Z] + 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=1c2f003b09666c9aca7d142d934c7ec3af9c247b --label arch=arm64 --label version=2.0.0-dev.5 . [2021-01-21T06:58:20.912Z] Sending build context to Docker daemon 2.556MB [2021-01-21T06:58:20.912Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-21T06:58:20.912Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-21T06:58:20.912Z] ---> c7c8e45bab06 [2021-01-21T06:58:20.912Z] Step 3/24 : ARG MAKE='make build' [2021-01-21T06:58:21.115Z] ---> Running in cf2e012b68f2 [2021-01-21T06:58:21.202Z] ---> Running in 0cb82208a222 [2021-01-21T06:58:21.445Z] Removing intermediate container cf2e012b68f2 [2021-01-21T06:58:21.445Z] ---> d08df11a5926 [2021-01-21T06:58:21.445Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-21T06:58:21.445Z] ---> Running in 30907e571a53 [2021-01-21T06:58:21.485Z] Removing intermediate container 0cb82208a222 [2021-01-21T06:58:21.486Z] ---> 758a63a5d9dd [2021-01-21T06:58:21.486Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-21T06:58:21.729Z] Removing intermediate container 30907e571a53 [2021-01-21T06:58:21.730Z] ---> f83f1f51b11e [2021-01-21T06:58:21.730Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T06:58:21.761Z] ---> Running in c928cc34f23d [2021-01-21T06:58:22.015Z] ---> Running in 3c34818cd386 [2021-01-21T06:58:22.288Z] Removing intermediate container 3c34818cd386 [2021-01-21T06:58:22.288Z] ---> 0019ddb66898 [2021-01-21T06:58:22.288Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T06:58:22.288Z] ---> Running in f768d4cd135c [2021-01-21T06:58:22.367Z] Removing intermediate container c928cc34f23d [2021-01-21T06:58:22.367Z] ---> e5fca3d11b87 [2021-01-21T06:58:22.367Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T06:58:22.367Z] ---> Running in b6b5c1bbb373 [2021-01-21T06:58:22.639Z] Removing intermediate container b6b5c1bbb373 [2021-01-21T06:58:22.640Z] ---> 978d130bf751 [2021-01-21T06:58:22.640Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-21T06:58:22.914Z] ---> Running in af5b918947ac [2021-01-21T06:58:24.357Z] Removing intermediate container f768d4cd135c [2021-01-21T06:58:24.357Z] ---> f21d0946a025 [2021-01-21T06:58:24.357Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-21T06:58:24.357Z] ---> Running in 01ac37722950 [2021-01-21T06:58:24.890Z] Removing intermediate container af5b918947ac [2021-01-21T06:58:24.890Z] ---> b2087a916226 [2021-01-21T06:58:24.890Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-21T06:58:25.163Z] ---> Running in 5c1a795ad78a [2021-01-21T06:58:25.436Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-21T06:58:26.053Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-21T06:58:26.138Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-21T06:58:27.052Z] OK: 166 MiB in 39 packages [2021-01-21T06:58:27.113Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-21T06:58:28.035Z] Removing intermediate container 01ac37722950 [2021-01-21T06:58:28.035Z] ---> 66530ff61160 [2021-01-21T06:58:28.035Z] Step 8/24 : COPY . . [2021-01-21T06:58:28.091Z] OK: 142 MiB in 39 packages [2021-01-21T06:58:29.071Z] Removing intermediate container 5c1a795ad78a [2021-01-21T06:58:29.071Z] ---> 873c660dc30f [2021-01-21T06:58:29.071Z] Step 8/24 : COPY . . [2021-01-21T06:58:29.485Z] ---> fe9ffc1bd575 [2021-01-21T06:58:29.485Z] Step 9/24 : RUN ${MAKE} [2021-01-21T06:58:29.485Z] ---> Running in a3cc412319a9 [2021-01-21T06:58:30.501Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.5" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-21T06:58:30.505Z] ---> 56f65287ee2e [2021-01-21T06:58:30.505Z] Step 9/24 : RUN ${MAKE} [2021-01-21T06:58:30.505Z] ---> Running in 9ec98e904d95 [2021-01-21T06:58:31.491Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.5" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-21T06:58:49.427Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-21T06:58:51.464Z] Removing intermediate container a3cc412319a9 [2021-01-21T06:58:51.464Z] ---> 94646b084afe [2021-01-21T06:58:51.464Z] Step 10/24 : FROM scratch [2021-01-21T06:58:51.464Z] ---> [2021-01-21T06:58:51.464Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T06:58:51.736Z] ---> Running in 764b08242029 [2021-01-21T06:58:51.736Z] Removing intermediate container 764b08242029 [2021-01-21T06:58:51.736Z] ---> 3e6bf55a09f1 [2021-01-21T06:58:51.736Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-21T06:58:52.014Z] ---> Running in d88d0e072fbf [2021-01-21T06:58:52.335Z] Removing intermediate container d88d0e072fbf [2021-01-21T06:58:52.335Z] ---> f1182a40e7e2 [2021-01-21T06:58:52.335Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-21T06:58:52.335Z] ---> Running in 59241fa87e21 [2021-01-21T06:58:52.955Z] Removing intermediate container 59241fa87e21 [2021-01-21T06:58:52.955Z] ---> 90b8e838beda [2021-01-21T06:58:52.955Z] Step 14/24 : WORKDIR / [2021-01-21T06:58:53.227Z] ---> Running in cf1e691f249e [2021-01-21T06:58:53.501Z] Removing intermediate container cf1e691f249e [2021-01-21T06:58:53.501Z] ---> 0a2f706b81d6 [2021-01-21T06:58:53.501Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-21T06:58:54.515Z] ---> 7a61cde0daa1 [2021-01-21T06:58:54.515Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-21T06:58:54.793Z] ---> 1988e9ce2e71 [2021-01-21T06:58:54.794Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-21T06:58:55.069Z] ---> 9449b6c53f20 [2021-01-21T06:58:55.069Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-21T06:58:55.340Z] ---> fc63e7f1005b [2021-01-21T06:58:55.340Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-21T06:58:55.956Z] ---> 078d66b27f63 [2021-01-21T06:58:55.956Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-21T06:58:56.272Z] ---> Running in f0b1916c8ab5 [2021-01-21T06:58:56.577Z] Removing intermediate container f0b1916c8ab5 [2021-01-21T06:58:56.577Z] ---> 78d0b077e82f [2021-01-21T06:58:56.577Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-21T06:58:56.868Z] ---> Running in 30ce143aefee [2021-01-21T06:58:56.868Z] Removing intermediate container 30ce143aefee [2021-01-21T06:58:56.868Z] ---> 522a8fc06242 [2021-01-21T06:58:56.868Z] Step 22/24 : LABEL arch=amd64 [2021-01-21T06:58:57.140Z] ---> Running in db362728dc62 [2021-01-21T06:58:57.409Z] Removing intermediate container db362728dc62 [2021-01-21T06:58:57.409Z] ---> d3f410489630 [2021-01-21T06:58:57.409Z] Step 23/24 : LABEL git_sha=1c2f003b09666c9aca7d142d934c7ec3af9c247b [2021-01-21T06:58:57.409Z] ---> Running in fecde5fffa66 [2021-01-21T06:58:57.680Z] Removing intermediate container fecde5fffa66 [2021-01-21T06:58:57.680Z] ---> 5f7023b60743 [2021-01-21T06:58:57.680Z] Step 24/24 : LABEL version=2.0.0-dev.5 [2021-01-21T06:58:57.680Z] ---> Running in 1055dda33a70 [2021-01-21T06:58:57.955Z] Removing intermediate container 1055dda33a70 [2021-01-21T06:58:57.955Z] ---> d6db4ddd384c [2021-01-21T06:58:57.955Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-21T06:58:57.955Z] Successfully built d6db4ddd384c [2021-01-21T06:58:58.232Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [2021-01-21T06:58:58.320Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2021-01-21T06:58:58.592Z] Removing intermediate container 9ec98e904d95 [2021-01-21T06:58:58.592Z] ---> 49c34e2a2381 [2021-01-21T06:58:58.592Z] Step 10/24 : FROM scratch [2021-01-21T06:58:58.592Z] ---> [2021-01-21T06:58:58.592Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-21T06:58:58.592Z] ---> Running in 1e1faec79eb4 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2021-01-21T06:58:59.202Z] Removing intermediate container 1e1faec79eb4 [2021-01-21T06:58:59.202Z] ---> 647738b7b18f [2021-01-21T06:58:59.202Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-21T06:58:59.202Z] ---> Running in 4f8b6f69f13d [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-21T06:58:59.476Z] Removing intermediate container 4f8b6f69f13d [2021-01-21T06:58:59.476Z] ---> 9c7a29c20d2d [2021-01-21T06:58:59.476Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-21T06:58:59.747Z] ---> Running in bc84c2fc244c [2021-01-21T06:59:00.016Z] Removing intermediate container bc84c2fc244c [2021-01-21T06:59:00.016Z] ---> 19947af78b73 [2021-01-21T06:59:00.016Z] Step 14/24 : WORKDIR / [2021-01-21T06:59:00.016Z] ---> Running in d6b6168cb445 [2021-01-21T06:59:00.619Z] Removing intermediate container d6b6168cb445 [2021-01-21T06:59:00.619Z] ---> 6d50e6ff651b [2021-01-21T06:59:00.619Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-21T06:59:01.602Z] ---> e7eafa948ec6 [2021-01-21T06:59:01.602Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-21T06:59:02.200Z] ---> 79c372a57f55 [2021-01-21T06:59:02.200Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-21T06:59:03.173Z] ---> d3354c759641 [2021-01-21T06:59:03.173Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-21T06:59:03.448Z] ---> b2a94133415a [2021-01-21T06:59:03.448Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-21T06:59:04.425Z] ---> 98e43fa40183 [2021-01-21T06:59:04.425Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-21T06:59:04.425Z] ---> Running in b39121d2ab7f [2021-01-21T06:59:04.695Z] Removing intermediate container b39121d2ab7f [2021-01-21T06:59:04.695Z] ---> 4f69dae277fe [2021-01-21T06:59:04.695Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-21T06:59:04.969Z] ---> Running in b711aa63e604 [2021-01-21T06:59:05.244Z] Removing intermediate container b711aa63e604 [2021-01-21T06:59:05.244Z] ---> e95453ebb11f [2021-01-21T06:59:05.244Z] Step 22/24 : LABEL arch=arm64 [2021-01-21T06:59:05.514Z] ---> Running in fdb2e91b623c [2021-01-21T06:59:05.784Z] Removing intermediate container fdb2e91b623c [2021-01-21T06:59:05.784Z] ---> 9bde36b84538 [2021-01-21T06:59:05.784Z] Step 23/24 : LABEL git_sha=1c2f003b09666c9aca7d142d934c7ec3af9c247b [2021-01-21T06:59:06.056Z] ---> Running in 4bd60c6c920f [2021-01-21T06:59:06.326Z] Removing intermediate container 4bd60c6c920f [2021-01-21T06:59:06.326Z] ---> ddf0149e999b [2021-01-21T06:59:06.326Z] Step 24/24 : LABEL version=2.0.0-dev.5 [2021-01-21T06:59:06.599Z] ---> Running in 31cd9d092d6c [2021-01-21T06:59:07.198Z] Removing intermediate container 31cd9d092d6c [2021-01-21T06:59:07.198Z] ---> 57a9a19bc803 [2021-01-21T06:59:07.198Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-21T06:59:07.198Z] Successfully built 57a9a19bc803 [2021-01-21T06:59:07.198Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-21T06:59:09.034Z] provisioning config files... [2021-01-21T06:59:09.057Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8948571379176999332tmp [Pipeline] { [Pipeline] sh [2021-01-21T06:59:09.502Z] + set +x [2021-01-21T06:59:09.502Z] + curl -s https://codecov.io/bash [2021-01-21T06:59:09.502Z] + bash -s -- [2021-01-21T06:59:09.770Z] [2021-01-21T06:59:09.770Z] _____ _ [2021-01-21T06:59:09.770Z] / ____| | | [2021-01-21T06:59:09.770Z] | | ___ __| | ___ ___ _____ __ [2021-01-21T06:59:09.770Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-21T06:59:09.770Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-21T06:59:09.770Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-21T06:59:09.770Z] Bash-20210115-cec3c92 [2021-01-21T06:59:09.770Z] [2021-01-21T06:59:09.770Z] [2021-01-21T06:59:09.770Z] ==> git version 2.24.3 found [2021-01-21T06:59:09.770Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-21T06:59:09.770Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-21T06:59:09.770Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-21T06:59:09.770Z] ==> Jenkins CI detected. [2021-01-21T06:59:09.770Z] project root: . [2021-01-21T06:59:09.770Z] --> token set from env [2021-01-21T06:59:09.770Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-21T06:59:09.770Z] ==> Running gcov in . (disable via -X gcov) [2021-01-21T06:59:09.770Z] ==> Python coveragepy not found [2021-01-21T06:59:09.770Z] ==> Searching for coverage reports in: [2021-01-21T06:59:09.770Z] + . [2021-01-21T06:59:09.770Z] -> Found 1 reports [2021-01-21T06:59:09.770Z] ==> Detecting git/mercurial file structure [2021-01-21T06:59:09.770Z] ==> Reading reports [2021-01-21T06:59:09.770Z] + ./coverage.out bytes=136843 [2021-01-21T06:59:09.770Z] ==> Appending adjustments [2021-01-21T06:59:09.770Z] https://docs.codecov.io/docs/fixing-reports [2021-01-21T06:59:10.349Z] + Found adjustments [2021-01-21T06:59:10.349Z] ==> Gzipping contents [2021-01-21T06:59:10.349Z] 24K /tmp/codecov.C0WtR5.gz [2021-01-21T06:59:10.349Z] ==> Uploading reports [2021-01-21T06:59:10.349Z] url: https://codecov.io [2021-01-21T06:59:10.349Z] query: branch=master&commit=1c2f003b09666c9aca7d142d934c7ec3af9c247b&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-21T06:59:10.349Z] -> Pinging Codecov [2021-01-21T06:59:10.349Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=1c2f003b09666c9aca7d142d934c7ec3af9c247b&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-21T06:59:10.948Z] -> Uploading to [2021-01-21T06:59:10.948Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-21/7E55EF52A471D76F132DFD9A03CDDE97/1c2f003b09666c9aca7d142d934c7ec3af9c247b/2c52703c-7913-4712-9da3-62d94d12ded6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210121T065910Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=93635a6a2db8ff7caefd1ab63749102566d705a3061b238806c3628cb8e347c9 [2021-01-21T06:59:10.948Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-21T06:59:10.948Z] Dload Upload Total Spent Left Speed [2021-01-21T06:59:11.525Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21565 0 0 100 21565 0 39595 --:--:-- --:--:-- --:--:-- 39641 [2021-01-21T06:59:11.525Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1c2f003b09666c9aca7d142d934c7ec3af9c247b [Pipeline] } [2021-01-21T06:59:11.542Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-21T06:59:12.720Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-21T06:59:12.789Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-21T06:59:13.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-21T06:59:13.152Z] [2021-01-21T06:59:13.152Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-21T06:59:13.534Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-21T06:59:13.534Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-21T06:59:13.534Z] 188c0c94c7c5: Pulling fs layer [2021-01-21T06:59:13.534Z] 0ef7d3d256c8: Pulling fs layer [2021-01-21T06:59:13.534Z] de9db76c5a1d: Pulling fs layer [2021-01-21T06:59:13.534Z] 0eba1c9be4d2: Pulling fs layer [2021-01-21T06:59:13.534Z] 0d57e429df01: Pulling fs layer [2021-01-21T06:59:13.534Z] 4e4be7b47b0d: Pulling fs layer [2021-01-21T06:59:13.534Z] e1f770b5df2f: Pulling fs layer [2021-01-21T06:59:13.534Z] 85a0685a4137: Pulling fs layer [2021-01-21T06:59:13.534Z] 0eba1c9be4d2: Waiting [2021-01-21T06:59:13.534Z] 0d57e429df01: Waiting [2021-01-21T06:59:13.534Z] e1f770b5df2f: Waiting [2021-01-21T06:59:13.534Z] 4e4be7b47b0d: Waiting [2021-01-21T06:59:13.534Z] 85a0685a4137: Waiting [2021-01-21T06:59:13.534Z] de9db76c5a1d: Verifying Checksum [2021-01-21T06:59:13.534Z] de9db76c5a1d: Download complete [2021-01-21T06:59:13.534Z] 0ef7d3d256c8: Verifying Checksum [2021-01-21T06:59:13.534Z] 0ef7d3d256c8: Download complete [2021-01-21T06:59:13.534Z] 0d57e429df01: Verifying Checksum [2021-01-21T06:59:13.534Z] 0d57e429df01: Download complete [2021-01-21T06:59:13.534Z] 188c0c94c7c5: Verifying Checksum [2021-01-21T06:59:13.534Z] 188c0c94c7c5: Download complete [2021-01-21T06:59:13.534Z] 4e4be7b47b0d: Verifying Checksum [2021-01-21T06:59:13.534Z] 4e4be7b47b0d: Download complete [2021-01-21T06:59:14.136Z] 188c0c94c7c5: Pull complete [2021-01-21T06:59:14.136Z] 0ef7d3d256c8: Pull complete [2021-01-21T06:59:14.401Z] de9db76c5a1d: Pull complete [2021-01-21T06:59:15.357Z] e1f770b5df2f: Verifying Checksum [2021-01-21T06:59:15.357Z] e1f770b5df2f: Download complete [2021-01-21T06:59:17.300Z] 0eba1c9be4d2: Verifying Checksum [2021-01-21T06:59:17.300Z] 0eba1c9be4d2: Download complete [2021-01-21T06:59:17.564Z] 85a0685a4137: Verifying Checksum [2021-01-21T06:59:17.564Z] 85a0685a4137: Download complete [2021-01-21T06:59:24.226Z] 0eba1c9be4d2: Pull complete [2021-01-21T06:59:24.226Z] 0d57e429df01: Pull complete [2021-01-21T06:59:24.226Z] 4e4be7b47b0d: Pull complete [2021-01-21T06:59:26.179Z] e1f770b5df2f: Pull complete [2021-01-21T06:59:34.433Z] 85a0685a4137: Pull complete [2021-01-21T06:59:34.433Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-21T06:59:34.433Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-21T06:59:34.433Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-21T06:59:34.690Z] prd-centos7-docker-4c-2g-21868 does not seem to be running inside a container [2021-01-21T06:59:34.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-21T06:59:35.892Z] $ docker top a03a86d89fdfc9a139ebbb87718fcbe3196020ffa18b7cab945cea089259df4c -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-21T06:59:36.167Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-21T06:59:36.466Z] + set -o pipefail [2021-01-21T06:59:36.466Z] + snyk monitor '--org=edgex-jenkins' [2021-01-21T06:59:51.447Z] [2021-01-21T06:59:51.447Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-01-21T06:59:51.447Z] [2021-01-21T06:59:51.447Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/7f2e0b3b-2a11-46bc-9ed5-7cfd3cd9ad72 [2021-01-21T06:59:51.447Z] [2021-01-21T06:59:51.447Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-21T06:59:51.447Z] [2021-01-21T06:59:51.447Z] [Pipeline] } [2021-01-21T06:59:51.464Z] $ docker stop --time=1 a03a86d89fdfc9a139ebbb87718fcbe3196020ffa18b7cab945cea089259df4c [2021-01-21T06:59:53.986Z] $ docker rm -f a03a86d89fdfc9a139ebbb87718fcbe3196020ffa18b7cab945cea089259df4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-01-21T06:59:55.245Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-21T06:59:55.297Z] provisioning config files... [2021-01-21T06:59:55.311Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1919847952275182157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-21T06:59:55.728Z] --> edgex-publish-swagger.sh [2021-01-21T06:59:55.729Z] === Publish openapi/v1 API === [2021-01-21T06:59:55.729Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-01-21T06:59:55.729Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-01-21T06:59:55.729Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-21T06:59:55.729Z] Dload Upload Total Spent Left Speed [2021-01-21T06:59:56.317Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 27638 --:--:-- --:--:-- --:--:-- 27665 [2021-01-21T06:59:56.317Z] [2021-01-21T06:59:56.317Z] [2021-01-21T06:59:56.317Z] === Publish openapi/v2 API === [2021-01-21T06:59:56.317Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-01-21T06:59:56.317Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-01-21T06:59:56.317Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-21T06:59:56.317Z] Dload Upload Total Spent Left Speed [2021-01-21T06:59:57.157Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44473 0 0 100 44473 0 61617 --:--:-- --:--:-- --:--:-- 61596 [2021-01-21T06:59:57.157Z] [2021-01-21T06:59:57.157Z] [Pipeline] } [2021-01-21T06:59:57.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-01-21T06:59:57.993Z] + git log --format=format:%s -1 1c2f003b09666c9aca7d142d934c7ec3af9c247b [Pipeline] isUnix [Pipeline] sh [2021-01-21T06:59:58.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T06:59:58.310Z] . [Pipeline] withDockerContainer [2021-01-21T06:59:58.474Z] prd-centos7-docker-4c-2g-21868 does not seem to be running inside a container [2021-01-21T06:59:58.542Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-21T06:59:59.690Z] $ docker top 3ada6736491d245292e037be1967915d286bd1db43327f96fc62d8b981072b27 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-21T07:00:00.032Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-21T07:00:00.032Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-21T07:00:00.294Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-21T07:00:00.297Z] $ docker exec 3ada6736491d245292e037be1967915d286bd1db43327f96fc62d8b981072b27 ssh-agent [2021-01-21T07:00:00.479Z] SSH_AUTH_SOCK=/tmp/ssh-NxWErkKjlyq7/agent.13 [2021-01-21T07:00:00.479Z] SSH_AGENT_PID=18 [2021-01-21T07:00:00.486Z] Running ssh-add (command line suppressed) [2021-01-21T07:00:00.631Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1466792725131074028.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1466792725131074028.key) [2021-01-21T07:00:00.687Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-21T07:00:01.043Z] + git semver tag [2021-01-21T07:00:01.043Z] # -> Open(): unable to determine branch for HEAD [2021-01-21T07:00:01.043Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-21T07:00:01.043Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-21T07:00:01.043Z] # $SEMVER_REMOTE_NAME = origin [2021-01-21T07:00:01.043Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-21T07:00:01.043Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-21T07:00:01.043Z] # $SEMVER_BRANCH = master [2021-01-21T07:00:01.043Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-21T07:00:01.043Z] # 1c2f003b09666c9aca7d142d934c7ec3af9c247b HEAD [2021-01-21T07:00:01.043Z] # -> Force: false [2021-01-21T07:00:01.043Z] # ce9fdbd58a80b9a11d7b3f501d8e51e4437fb450 refs/tags/v2.0.0-dev.5 [Pipeline] } [2021-01-21T07:00:01.060Z] $ docker exec --env ******** --env ******** 3ada6736491d245292e037be1967915d286bd1db43327f96fc62d8b981072b27 ssh-agent -k [2021-01-21T07:00:01.199Z] unset SSH_AUTH_SOCK; [2021-01-21T07:00:01.200Z] unset SSH_AGENT_PID; [2021-01-21T07:00:01.200Z] echo Agent pid 18 killed; [2021-01-21T07:00:01.262Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-21T07:00:01.804Z] + git semver [Pipeline] } [2021-01-21T07:00:01.826Z] $ docker stop --time=1 3ada6736491d245292e037be1967915d286bd1db43327f96fc62d8b981072b27 [2021-01-21T07:00:03.484Z] $ docker rm -f 3ada6736491d245292e037be1967915d286bd1db43327f96fc62d8b981072b27 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-21T07:00:04.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-21T07:00:04.236Z] [2021-01-21T07:00:04.236Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-21T07:00:04.610Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-21T07:00:04.610Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-21T07:00:04.610Z] ab5ef0e58194: Pulling fs layer [2021-01-21T07:00:04.610Z] 9712f1f96733: Pulling fs layer [2021-01-21T07:00:04.610Z] 63f879dbbcfc: Pulling fs layer [2021-01-21T07:00:04.610Z] 0d9ebad4ef96: Pulling fs layer [2021-01-21T07:00:04.610Z] e9a5061849ea: Pulling fs layer [2021-01-21T07:00:04.610Z] d747dcd14b5f: Pulling fs layer [2021-01-21T07:00:04.610Z] 2de7ff778b66: Pulling fs layer [2021-01-21T07:00:04.610Z] e9a5061849ea: Waiting [2021-01-21T07:00:04.610Z] d747dcd14b5f: Waiting [2021-01-21T07:00:04.610Z] 2de7ff778b66: Waiting [2021-01-21T07:00:04.610Z] 0d9ebad4ef96: Waiting [2021-01-21T07:00:04.610Z] 9712f1f96733: Verifying Checksum [2021-01-21T07:00:04.610Z] 9712f1f96733: Download complete [2021-01-21T07:00:07.219Z] 63f879dbbcfc: Verifying Checksum [2021-01-21T07:00:07.219Z] 63f879dbbcfc: Download complete [2021-01-21T07:00:07.219Z] e9a5061849ea: Verifying Checksum [2021-01-21T07:00:07.219Z] e9a5061849ea: Download complete [2021-01-21T07:00:07.219Z] d747dcd14b5f: Verifying Checksum [2021-01-21T07:00:07.219Z] d747dcd14b5f: Download complete [2021-01-21T07:00:07.486Z] 2de7ff778b66: Verifying Checksum [2021-01-21T07:00:07.486Z] 2de7ff778b66: Download complete [2021-01-21T07:00:07.749Z] 0d9ebad4ef96: Verifying Checksum [2021-01-21T07:00:07.749Z] 0d9ebad4ef96: Download complete [2021-01-21T07:00:07.749Z] ab5ef0e58194: Verifying Checksum [2021-01-21T07:00:07.749Z] ab5ef0e58194: Download complete [2021-01-21T07:00:13.130Z] ab5ef0e58194: Pull complete [2021-01-21T07:00:13.130Z] 9712f1f96733: Pull complete [2021-01-21T07:00:15.690Z] 63f879dbbcfc: Pull complete [2021-01-21T07:00:22.377Z] 0d9ebad4ef96: Pull complete [2021-01-21T07:00:24.951Z] e9a5061849ea: Pull complete [2021-01-21T07:00:25.227Z] d747dcd14b5f: Pull complete [2021-01-21T07:00:27.196Z] 2de7ff778b66: Pull complete [2021-01-21T07:00:27.196Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-21T07:00:27.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-21T07:00:27.196Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-21T07:00:27.423Z] prd-centos7-docker-4c-2g-21868 does not seem to be running inside a container [2021-01-21T07:00:27.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-21T07:00:30.916Z] $ docker top e7963a16c0c51e11e831317b60af4ae74041fd7ea6b7705bc5c46652ce2e5be2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-21T07:00:31.205Z] provisioning config files... [2021-01-21T07:00:31.223Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3346796103680894414tmp [2021-01-21T07:00:31.243Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7557370460504195451tmp [2021-01-21T07:00:31.263Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2341167403711657151tmp [Pipeline] { [Pipeline] echo [2021-01-21T07:00:31.323Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T07:00:31.626Z] ---> sigul-configuration.sh [2021-01-21T07:00:31.627Z] gpg: directory `/root/.gnupg' created [2021-01-21T07:00:31.627Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-21T07:00:31.627Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-21T07:00:31.627Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-21T07:00:31.627Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-21T07:00:31.627Z] gpg: CAST5 encrypted data [2021-01-21T07:00:31.893Z] gpg: encrypted with 1 passphrase [2021-01-21T07:00:31.893Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-21T07:00:32.199Z] + mkdir /home/jenkins [2021-01-21T07:00:32.199Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-21T07:00:32.519Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-01-21T07:00:32.532Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T07:00:32.846Z] ---> sigul-install.sh [2021-01-21T07:00:39.469Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-21T07:00:39.774Z] + git tag --list [2021-01-21T07:00:39.774Z] 0.7.1 [2021-01-21T07:00:39.774Z] delhi-tag [2021-01-21T07:00:39.774Z] v1.0.0 [2021-01-21T07:00:39.774Z] v1.1.0 [2021-01-21T07:00:39.774Z] v1.1.1 [2021-01-21T07:00:39.774Z] v1.1.2 [2021-01-21T07:00:39.774Z] v1.2.0 [2021-01-21T07:00:39.774Z] v1.2.1 [2021-01-21T07:00:39.774Z] v1.2.2 [2021-01-21T07:00:39.774Z] v1.2.3 [2021-01-21T07:00:39.774Z] v1.3.0 [2021-01-21T07:00:39.774Z] v1.4.0 [2021-01-21T07:00:39.774Z] v2.0.0-dev.1 [2021-01-21T07:00:39.774Z] v2.0.0-dev.2 [2021-01-21T07:00:39.774Z] v2.0.0-dev.3 [2021-01-21T07:00:39.774Z] v2.0.0-dev.4 [2021-01-21T07:00:39.774Z] v2.0.0-dev.5 [Pipeline] sh [2021-01-21T07:00:40.086Z] + lftools sign git-tag v2.0.0-dev.5 [2021-01-21T07:00:41.483Z] Signing Git tag with Sigul... [2021-01-21T07:00:41.483Z] Signing v2.0.0-dev.5 [Pipeline] echo [2021-01-21T07:00:42.460Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T07:00:42.766Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-21T07:00:42.777Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-21T07:00:42.871Z] $ docker stop --time=1 e7963a16c0c51e11e831317b60af4ae74041fd7ea6b7705bc5c46652ce2e5be2 [2021-01-21T07:00:44.926Z] $ docker rm -f e7963a16c0c51e11e831317b60af4ae74041fd7ea6b7705bc5c46652ce2e5be2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-21T07:00:45.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T07:00:45.891Z] . [Pipeline] withDockerContainer [2021-01-21T07:00:45.995Z] prd-centos7-docker-4c-2g-21868 does not seem to be running inside a container [2021-01-21T07:00:46.044Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-21T07:00:46.842Z] $ docker top c13d5d7bfc1d3bd29f1b743fe90125e0f3cfcac73c6e46f05f2c80fcf38f8fb1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-21T07:00:47.162Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-21T07:00:47.162Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-21T07:00:47.367Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-21T07:00:47.371Z] $ docker exec c13d5d7bfc1d3bd29f1b743fe90125e0f3cfcac73c6e46f05f2c80fcf38f8fb1 ssh-agent [2021-01-21T07:00:47.557Z] SSH_AUTH_SOCK=/tmp/ssh-5Mx4L93l4MnS/agent.11 [2021-01-21T07:00:47.557Z] SSH_AGENT_PID=17 [2021-01-21T07:00:47.565Z] Running ssh-add (command line suppressed) [2021-01-21T07:00:47.707Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1276339555177830202.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1276339555177830202.key) [2021-01-21T07:00:47.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-21T07:00:48.114Z] + git semver bump pre [2021-01-21T07:00:48.114Z] # -> Open(): unable to determine branch for HEAD [2021-01-21T07:00:48.114Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-21T07:00:48.114Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-21T07:00:48.114Z] # $SEMVER_REMOTE_NAME = origin [2021-01-21T07:00:48.114Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-21T07:00:48.114Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-21T07:00:48.114Z] # $SEMVER_BRANCH = master [2021-01-21T07:00:48.114Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-21T07:00:48.114Z] 2.0.0-dev.6 [Pipeline] } [2021-01-21T07:00:48.127Z] $ docker exec --env ******** --env ******** c13d5d7bfc1d3bd29f1b743fe90125e0f3cfcac73c6e46f05f2c80fcf38f8fb1 ssh-agent -k [2021-01-21T07:00:48.259Z] unset SSH_AUTH_SOCK; [2021-01-21T07:00:48.259Z] unset SSH_AGENT_PID; [2021-01-21T07:00:48.259Z] echo Agent pid 17 killed; [2021-01-21T07:00:48.327Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-21T07:00:48.834Z] + git semver [Pipeline] } [2021-01-21T07:00:48.852Z] $ docker stop --time=1 c13d5d7bfc1d3bd29f1b743fe90125e0f3cfcac73c6e46f05f2c80fcf38f8fb1 [2021-01-21T07:00:50.280Z] $ docker rm -f c13d5d7bfc1d3bd29f1b743fe90125e0f3cfcac73c6e46f05f2c80fcf38f8fb1 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-21T07:00:50.840Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-21T07:00:50.840Z] . [Pipeline] withDockerContainer [2021-01-21T07:00:51.005Z] prd-centos7-docker-4c-2g-21868 does not seem to be running inside a container [2021-01-21T07:00:51.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-21T07:00:51.730Z] $ docker top b6057b430e981bed681d86239f78794b8dabf5d4327f61d4d5a9381f21cc0f8e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-21T07:00:52.121Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-21T07:00:52.121Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-21T07:00:52.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-21T07:00:52.341Z] $ docker exec b6057b430e981bed681d86239f78794b8dabf5d4327f61d4d5a9381f21cc0f8e ssh-agent [2021-01-21T07:00:52.534Z] SSH_AUTH_SOCK=/tmp/ssh-VZKmMxxm5YlW/agent.11 [2021-01-21T07:00:52.534Z] SSH_AGENT_PID=16 [2021-01-21T07:00:52.541Z] Running ssh-add (command line suppressed) [2021-01-21T07:00:52.678Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1926449265483199432.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1926449265483199432.key) [2021-01-21T07:00:52.737Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-21T07:00:53.078Z] + git semver push [2021-01-21T07:00:53.078Z] # -> Open(): unable to determine branch for HEAD [2021-01-21T07:00:53.078Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-21T07:00:53.078Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-21T07:00:53.078Z] # $SEMVER_REMOTE_NAME = origin [2021-01-21T07:00:53.078Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-21T07:00:53.078Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-21T07:00:53.078Z] # $SEMVER_BRANCH = master [2021-01-21T07:00:53.078Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-21T07:00:59.697Z] $ docker exec --env ******** --env ******** b6057b430e981bed681d86239f78794b8dabf5d4327f61d4d5a9381f21cc0f8e ssh-agent -k [2021-01-21T07:00:59.841Z] unset SSH_AUTH_SOCK; [2021-01-21T07:00:59.844Z] unset SSH_AGENT_PID; [2021-01-21T07:00:59.844Z] echo Agent pid 16 killed; [2021-01-21T07:00:59.898Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-21T07:01:00.441Z] + git semver [Pipeline] } [2021-01-21T07:01:00.458Z] $ docker stop --time=1 b6057b430e981bed681d86239f78794b8dabf5d4327f61d4d5a9381f21cc0f8e [2021-01-21T07:01:01.920Z] $ docker rm -f b6057b430e981bed681d86239f78794b8dabf5d4327f61d4d5a9381f21cc0f8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-21T07:01:03.544Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T07:01:04.125Z] ---> package-listing.sh [2021-01-21T07:01:04.125Z] ++ facter osfamily [2021-01-21T07:01:04.125Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-21T07:01:04.125Z] + OS_FAMILY=redhat [2021-01-21T07:01:04.125Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-01-21T07:01:04.125Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-21T07:01:04.125Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-21T07:01:04.125Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-21T07:01:04.125Z] + PACKAGES=/tmp/packages_start.txt [2021-01-21T07:01:04.125Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-21T07:01:04.125Z] + PACKAGES=/tmp/packages_end.txt [2021-01-21T07:01:04.125Z] + case "${OS_FAMILY}" in [2021-01-21T07:01:04.125Z] + rpm -qa [2021-01-21T07:01:04.125Z] + sort [2021-01-21T07:01:09.455Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-21T07:01:09.455Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-21T07:01:09.455Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-21T07:01:09.455Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-21T07:01:09.455Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-01-21T07:01:09.455Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2021-01-21T07:01:09.468Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-21T07:01:09.764Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-21T07:01:10.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T07:01:10.079Z] [2021-01-21T07:01:10.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-21T07:01:10.515Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T07:01:10.515Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-21T07:01:10.515Z] df20fa9351a1: Pulling fs layer [2021-01-21T07:01:10.515Z] 36b3adc4ff6f: Pulling fs layer [2021-01-21T07:01:10.515Z] 8ad3a11d3b57: Pulling fs layer [2021-01-21T07:01:10.515Z] 46f8f816bc3b: Pulling fs layer [2021-01-21T07:01:10.515Z] 93b61091891f: Pulling fs layer [2021-01-21T07:01:10.515Z] 93b9cdb0e59b: Pulling fs layer [2021-01-21T07:01:10.515Z] 5e14af77c1be: Pulling fs layer [2021-01-21T07:01:10.515Z] 01666e4c0597: Pulling fs layer [2021-01-21T07:01:10.515Z] aa168da1d23b: Pulling fs layer [2021-01-21T07:01:10.515Z] 93b61091891f: Waiting [2021-01-21T07:01:10.515Z] 93b9cdb0e59b: Waiting [2021-01-21T07:01:10.515Z] 5e14af77c1be: Waiting [2021-01-21T07:01:10.515Z] 01666e4c0597: Waiting [2021-01-21T07:01:10.515Z] aa168da1d23b: Waiting [2021-01-21T07:01:10.515Z] 46f8f816bc3b: Waiting [2021-01-21T07:01:10.515Z] 36b3adc4ff6f: Download complete [2021-01-21T07:01:10.515Z] 46f8f816bc3b: Download complete [2021-01-21T07:01:10.779Z] df20fa9351a1: Verifying Checksum [2021-01-21T07:01:10.779Z] df20fa9351a1: Download complete [2021-01-21T07:01:10.779Z] 93b9cdb0e59b: Verifying Checksum [2021-01-21T07:01:10.779Z] 93b9cdb0e59b: Download complete [2021-01-21T07:01:10.779Z] 5e14af77c1be: Verifying Checksum [2021-01-21T07:01:10.779Z] 5e14af77c1be: Download complete [2021-01-21T07:01:10.779Z] 93b61091891f: Verifying Checksum [2021-01-21T07:01:10.779Z] 93b61091891f: Download complete [2021-01-21T07:01:11.041Z] df20fa9351a1: Pull complete [2021-01-21T07:01:11.307Z] 36b3adc4ff6f: Pull complete [2021-01-21T07:01:11.307Z] 8ad3a11d3b57: Verifying Checksum [2021-01-21T07:01:11.307Z] 8ad3a11d3b57: Download complete [2021-01-21T07:01:11.892Z] 01666e4c0597: Download complete [2021-01-21T07:01:13.295Z] 8ad3a11d3b57: Pull complete [2021-01-21T07:01:13.295Z] 46f8f816bc3b: Pull complete [2021-01-21T07:01:13.562Z] 93b61091891f: Pull complete [2021-01-21T07:01:13.826Z] 93b9cdb0e59b: Pull complete [2021-01-21T07:01:13.826Z] 5e14af77c1be: Pull complete [2021-01-21T07:01:14.435Z] 01666e4c0597: Pull complete [2021-01-21T07:01:15.010Z] aa168da1d23b: Verifying Checksum [2021-01-21T07:01:15.010Z] aa168da1d23b: Download complete [2021-01-21T07:01:23.220Z] aa168da1d23b: Pull complete [2021-01-21T07:01:23.220Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-21T07:01:23.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-21T07:01:23.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-21T07:01:23.443Z] prd-centos7-docker-4c-2g-21868 does not seem to be running inside a container [2021-01-21T07:01:23.495Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-21T07:01:27.008Z] $ docker top 888bc850e99f7d8d64354cc748cfc6dd0163cf6ca1a4f7d869962a5e04a2a901 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-21T07:01:27.542Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-21T07:01:27.868Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-21T07:01:28.174Z] + ls /var/log/sa-host [2021-01-21T07:01:28.174Z] + sadf -c /var/log/sa-host/sa21 [2021-01-21T07:01:28.174Z] file_magic: OK [2021-01-21T07:01:28.174Z] HZ: Using current value: 100 [2021-01-21T07:01:28.174Z] file_header: OK [2021-01-21T07:01:28.174Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-21T07:01:28.174Z] Statistics: [2021-01-21T07:01:28.174Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-21T07:01:28.174Z] File successfully converted to sysstat format version 12.2.1 [2021-01-21T07:01:28.174Z] + sadf -c /var/log/sa-host/sa23 [2021-01-21T07:01:28.174Z] file_magic: OK [2021-01-21T07:01:28.174Z] HZ: Using current value: 100 [2021-01-21T07:01:28.174Z] file_header: OK [2021-01-21T07:01:28.174Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-21T07:01:28.174Z] Statistics: [2021-01-21T07:01:28.174Z] Hnuu...uuuununununu... [2021-01-21T07:01:28.174Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-21T07:01:28.380Z] provisioning config files... [2021-01-21T07:01:28.402Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5269500882266439419tmp [Pipeline] { [Pipeline] echo [2021-01-21T07:01:28.469Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T07:01:28.768Z] ---> create-netrc.sh [Pipeline] } [2021-01-21T07:01:28.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-21T07:01:28.869Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T07:01:29.169Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-21T07:01:29.180Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T07:01:29.478Z] ---> sudo-logs.sh [2021-01-21T07:01:29.478Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-21T07:01:29.490Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T07:01:29.787Z] ---> job-cost.sh [2021-01-21T07:01:29.787Z] lf-activate-venv: SKIPPING [2021-01-21T07:01:29.787Z] INFO: No Stack... [2021-01-21T07:01:31.715Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-21T07:01:32.290Z] INFO: Archiving Costs [Pipeline] echo [2021-01-21T07:01:32.304Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-21T07:01:32.602Z] ---> logs-deploy.sh [2021-01-21T07:01:32.602Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/110 [2021-01-21T07:01:32.602Z] INFO: archiving workspace using pattern(s): [2021-01-21T07:01:34.523Z] Archives upload complete. [2021-01-21T07:01:34.523Z] INFO: archiving logs to Nexus [2021-01-21T07:01:35.469Z] ---> uname -a: [2021-01-21T07:01:35.469Z] Linux prd-centos7-docker-4c-2g-21868.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-01-21T07:01:35.469Z] [2021-01-21T07:01:35.469Z] [2021-01-21T07:01:35.469Z] ---> lscpu: [2021-01-21T07:01:35.469Z] Architecture: x86_64 [2021-01-21T07:01:35.469Z] CPU op-mode(s): 32-bit, 64-bit [2021-01-21T07:01:35.469Z] Byte Order: Little Endian [2021-01-21T07:01:35.469Z] Address sizes: 40 bits physical, 48 bits virtual [2021-01-21T07:01:35.469Z] CPU(s): 4 [2021-01-21T07:01:35.469Z] On-line CPU(s) list: 0-3 [2021-01-21T07:01:35.469Z] Thread(s) per core: 1 [2021-01-21T07:01:35.469Z] Core(s) per socket: 1 [2021-01-21T07:01:35.469Z] Socket(s): 4 [2021-01-21T07:01:35.469Z] NUMA node(s): 1 [2021-01-21T07:01:35.469Z] Vendor ID: GenuineIntel [2021-01-21T07:01:35.469Z] CPU family: 6 [2021-01-21T07:01:35.469Z] Model: 44 [2021-01-21T07:01:35.469Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-01-21T07:01:35.469Z] Stepping: 1 [2021-01-21T07:01:35.469Z] CPU MHz: 2933.436 [2021-01-21T07:01:35.469Z] BogoMIPS: 5866.87 [2021-01-21T07:01:35.469Z] Virtualization: VT-x [2021-01-21T07:01:35.469Z] Hypervisor vendor: KVM [2021-01-21T07:01:35.469Z] Virtualization type: full [2021-01-21T07:01:35.469Z] L1d cache: 128 KiB [2021-01-21T07:01:35.469Z] L1i cache: 128 KiB [2021-01-21T07:01:35.469Z] L2 cache: 16 MiB [2021-01-21T07:01:35.469Z] L3 cache: 64 MiB [2021-01-21T07:01:35.469Z] NUMA node0 CPU(s): 0-3 [2021-01-21T07:01:35.469Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-01-21T07:01:35.469Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-01-21T07:01:35.469Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-01-21T07:01:35.469Z] Vulnerability Meltdown: Mitigation; PTI [2021-01-21T07:01:35.469Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-01-21T07:01:35.469Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-01-21T07:01:35.469Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-01-21T07:01:35.469Z] Vulnerability Srbds: Not affected [2021-01-21T07:01:35.469Z] Vulnerability Tsx async abort: Not affected [2021-01-21T07:01:35.469Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-01-21T07:01:35.469Z] [2021-01-21T07:01:35.469Z]