Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6125dba09cfc805438589ab7aad954d8cad7589e 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 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-26659 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 6125dba09cfc805438589ab7aad954d8cad7589e (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 Commit message: "Merge pull request #768 from hahattan/v2" > git rev-list --no-walk 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-17T10:14:03.745Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-17T10:14:03.996Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-17T10:14:04.083Z] ========================================================= [2021-02-17T10:14:04.083Z] EdgeX Global Pipelines Version Info [2021-02-17T10:14:04.083Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:14:05.544Z] ------------------- [2021-02-17T10:14:05.544Z] stable info: [2021-02-17T10:14:05.544Z] ------------------- [2021-02-17T10:14:05.544Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-17T10:14:05.544Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-17T10:14:05.544Z] Message: update stable to v1.0.179 [2021-02-17T10:14:06.488Z] ------------------- [2021-02-17T10:14:06.488Z] experimental info: [2021-02-17T10:14:06.489Z] ------------------- [2021-02-17T10:14:06.489Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-17T10:14:06.489Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-17T10:14:06.489Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-17T10:14:06.757Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-17T10:14:06.845Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-17T10:14:06.930Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-17T10:14:07.015Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-17T10:14:07.112Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-17T10:14:07.193Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-17T10:14:07.277Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-17T10:14:07.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-17T10:14:07.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-17T10:14:07.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-17T10:14:07.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-17T10:14:07.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-17T10:14:07.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-17T10:14:07.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-17T10:14:07.973Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-17T10:14:08.056Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-17T10:14:08.166Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-17T10:14:08.258Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-17T10:14:08.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-17T10:14:08.423Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-17T10:14:08.512Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-17T10:14:08.594Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-17T10:14:08.672Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-17T10:14:08.781Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-17T10:14:08.872Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-17T10:14:08.953Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-17T10:14:09.047Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-17T10:14:09.156Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-17T10:14:09.238Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-17T10:14:09.318Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-17T10:14:09.402Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6125dba09cfc805438589ab7aad954d8cad7589e [Pipeline] echo [2021-02-17T10:14:09.486Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6125dba [Pipeline] echo [2021-02-17T10:14:09.603Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-17T10:14:09.763Z] provisioning config files... [2021-02-17T10:14:09.788Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1153300729373842822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:14:10.142Z] ---> docker-login.sh [2021-02-17T10:14:10.142Z] nexus3.edgexfoundry.org:10001 [2021-02-17T10:14:10.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:14:10.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:14:10.674Z] Configure a credential helper to remove this warning. See [2021-02-17T10:14:10.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:14:10.674Z] [2021-02-17T10:14:10.674Z] Login Succeeded [2021-02-17T10:14:10.674Z] nexus3.edgexfoundry.org:10002 [2021-02-17T10:14:10.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:14:10.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:14:10.936Z] Configure a credential helper to remove this warning. See [2021-02-17T10:14:10.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:14:10.936Z] [2021-02-17T10:14:10.936Z] Login Succeeded [2021-02-17T10:14:10.936Z] nexus3.edgexfoundry.org:10003 [2021-02-17T10:14:10.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:14:11.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:14:11.199Z] Configure a credential helper to remove this warning. See [2021-02-17T10:14:11.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:14:11.199Z] [2021-02-17T10:14:11.199Z] Login Succeeded [2021-02-17T10:14:11.199Z] nexus3.edgexfoundry.org:10004 [2021-02-17T10:14:11.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:14:11.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:14:11.199Z] Configure a credential helper to remove this warning. See [2021-02-17T10:14:11.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:14:11.199Z] [2021-02-17T10:14:11.199Z] Login Succeeded [2021-02-17T10:14:11.199Z] docker.io [2021-02-17T10:14:11.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:14:11.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:14:11.731Z] Configure a credential helper to remove this warning. See [2021-02-17T10:14:11.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:14:11.731Z] [2021-02-17T10:14:11.731Z] Login Succeeded [2021-02-17T10:14:11.731Z] ---> docker-login.sh ends [Pipeline] } [2021-02-17T10:14:11.741Z] 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-02-17T10:14:12.558Z] + git log --format=format:%s -1 6125dba09cfc805438589ab7aad954d8cad7589e [Pipeline] echo [2021-02-17T10:14:12.632Z] GIT_COMMIT: 6125dba09cfc805438589ab7aad954d8cad7589e, Commit Message: Merge pull request #768 from hahattan/v2 [Pipeline] echo [2021-02-17T10:14:12.676Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:14:13.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-17T10:14:13.657Z] [2021-02-17T10:14:13.657Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:14:14.011Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-17T10:14:14.011Z] latest: Pulling from edgex-devops/git-semver [2021-02-17T10:14:14.011Z] 31603596830f: Pulling fs layer [2021-02-17T10:14:14.011Z] 2a8b12db71e7: Pulling fs layer [2021-02-17T10:14:14.011Z] 6ca5941a6612: Pulling fs layer [2021-02-17T10:14:14.011Z] ecc8261a40a4: Pulling fs layer [2021-02-17T10:14:14.011Z] ecc8261a40a4: Waiting [2021-02-17T10:14:14.011Z] 2a8b12db71e7: Verifying Checksum [2021-02-17T10:14:14.011Z] 2a8b12db71e7: Download complete [2021-02-17T10:14:14.011Z] 31603596830f: Verifying Checksum [2021-02-17T10:14:14.011Z] 31603596830f: Download complete [2021-02-17T10:14:14.277Z] ecc8261a40a4: Verifying Checksum [2021-02-17T10:14:14.277Z] ecc8261a40a4: Download complete [2021-02-17T10:14:14.277Z] 6ca5941a6612: Verifying Checksum [2021-02-17T10:14:14.277Z] 6ca5941a6612: Download complete [2021-02-17T10:14:14.539Z] 31603596830f: Pull complete [2021-02-17T10:14:14.539Z] 2a8b12db71e7: Pull complete [2021-02-17T10:14:15.498Z] 6ca5941a6612: Pull complete [2021-02-17T10:14:15.764Z] ecc8261a40a4: Pull complete [2021-02-17T10:14:15.764Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-17T10:14:15.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-17T10:14:15.764Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-17T10:14:15.878Z] prd-centos7-docker-4c-2g-26659 does not seem to be running inside a container [2021-02-17T10:14:15.935Z] $ 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-02-17T10:14:17.790Z] $ docker top c1344f6dd15ebc6f4f6f68bfa45a58c2bab8b23deff2fd6c3e5db02a051bc016 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-17T10:14:18.087Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-17T10:14:18.088Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-17T10:14:18.308Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-17T10:14:18.312Z] $ docker exec c1344f6dd15ebc6f4f6f68bfa45a58c2bab8b23deff2fd6c3e5db02a051bc016 ssh-agent [2021-02-17T10:14:18.486Z] SSH_AUTH_SOCK=/tmp/ssh-1DK1hyNRofVV/agent.11 [2021-02-17T10:14:18.486Z] SSH_AGENT_PID=17 [2021-02-17T10:14:18.496Z] Running ssh-add (command line suppressed) [2021-02-17T10:14:18.618Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_881278695607015142.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_881278695607015142.key) [2021-02-17T10:14:18.671Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-17T10:14:19.079Z] + git tag --points-at HEAD [Pipeline] } [2021-02-17T10:14:19.101Z] $ docker exec --env ******** --env ******** c1344f6dd15ebc6f4f6f68bfa45a58c2bab8b23deff2fd6c3e5db02a051bc016 ssh-agent -k [2021-02-17T10:14:19.221Z] unset SSH_AUTH_SOCK; [2021-02-17T10:14:19.222Z] unset SSH_AGENT_PID; [2021-02-17T10:14:19.222Z] echo Agent pid 17 killed; [2021-02-17T10:14:19.272Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-17T10:14:19.402Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-17T10:14:19.402Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-17T10:14:19.569Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-17T10:14:19.573Z] $ docker exec c1344f6dd15ebc6f4f6f68bfa45a58c2bab8b23deff2fd6c3e5db02a051bc016 ssh-agent [2021-02-17T10:14:19.746Z] SSH_AUTH_SOCK=/tmp/ssh-2JwKpOrk6WgO/agent.47 [2021-02-17T10:14:19.746Z] SSH_AGENT_PID=52 [2021-02-17T10:14:19.753Z] Running ssh-add (command line suppressed) [2021-02-17T10:14:19.877Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7094217115479968648.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7094217115479968648.key) [2021-02-17T10:14:19.928Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-17T10:14:20.306Z] + git semver init [2021-02-17T10:14:20.306Z] # -> Open(): unable to determine branch for HEAD [2021-02-17T10:14:20.306Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-17T10:14:20.306Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-17T10:14:20.306Z] # $SEMVER_REMOTE_NAME = origin [2021-02-17T10:14:20.306Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-17T10:14:20.306Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-17T10:14:20.306Z] # $SEMVER_BRANCH = master [2021-02-17T10:14:20.306Z] # $SEMVER_TEMP = /tmp/semver-602987618 [2021-02-17T10:14:20.306Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-17T10:14:20.881Z] # '/tmp/semver-602987618' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-02-17T10:14:20.881Z] # -> Force: false [2021-02-17T10:14:20.881Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-02-17T10:14:20.893Z] $ docker exec --env ******** --env ******** c1344f6dd15ebc6f4f6f68bfa45a58c2bab8b23deff2fd6c3e5db02a051bc016 ssh-agent -k [2021-02-17T10:14:21.010Z] unset SSH_AUTH_SOCK; [2021-02-17T10:14:21.011Z] unset SSH_AGENT_PID; [2021-02-17T10:14:21.011Z] echo Agent pid 52 killed; [2021-02-17T10:14:21.057Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-17T10:14:21.507Z] + git semver [Pipeline] } [2021-02-17T10:14:21.524Z] $ docker stop --time=1 c1344f6dd15ebc6f4f6f68bfa45a58c2bab8b23deff2fd6c3e5db02a051bc016 [2021-02-17T10:14:22.856Z] $ docker rm -f c1344f6dd15ebc6f4f6f68bfa45a58c2bab8b23deff2fd6c3e5db02a051bc016 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-17T10:14:23.306Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-17T10:14:23.679Z] Stashed 1 file(s) [Pipeline] echo [2021-02-17T10:14:23.681Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.11 [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-02-17T10:14:39.215Z] Still waiting to schedule task [2021-02-17T10:14:39.215Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26659’ [2021-02-17T10:14:39.217Z] Still waiting to schedule task [2021-02-17T10:14:39.217Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline [2021-02-17T10:16:24.681Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26661 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-02-17T10:16:24.757Z] Running in /w/workspace/device-sdk-go/116 [Pipeline] { [Pipeline] checkout [2021-02-17T10:16:29.836Z] using credential edgex-jenkins-ssh [2021-02-17T10:16:29.887Z] Cloning the remote Git repository [2021-02-17T10:16:29.948Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-17T10:16:30.175Z] > git init /w/workspace/device-sdk-go/116 # timeout=10 [2021-02-17T10:16:30.261Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-17T10:16:30.262Z] > git --version # timeout=10 [2021-02-17T10:16:30.281Z] > git --version # 'git version 2.17.1' [2021-02-17T10:16:30.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-17T10:16:30.348Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-17T10:16:32.089Z] Checking out Revision 6125dba09cfc805438589ab7aad954d8cad7589e (master) [2021-02-17T10:16:31.494Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-17T10:16:31.508Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-17T10:16:31.533Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-17T10:16:31.572Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-17T10:16:31.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-17T10:16:31.584Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-17T10:16:32.112Z] > git config core.sparsecheckout # timeout=10 [2021-02-17T10:16:32.132Z] > git checkout -f 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 [2021-02-17T10:16:36.627Z] Commit message: "Merge pull request #768 from hahattan/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-17T10:16:38.060Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-17T10:16:38.481Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-17T10:16:38.857Z] + true [2021-02-17T10:16:38.857Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-17T10:16:41.004Z] provisioning config files... [2021-02-17T10:16:41.041Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/116@tmp/config7812977671267192954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:16:41.456Z] ---> docker-login.sh [2021-02-17T10:16:41.456Z] nexus3.edgexfoundry.org:10001 [2021-02-17T10:16:42.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:16:42.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:16:42.723Z] Configure a credential helper to remove this warning. See [2021-02-17T10:16:42.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:16:42.723Z] [2021-02-17T10:16:42.723Z] Login Succeeded [2021-02-17T10:16:42.723Z] nexus3.edgexfoundry.org:10002 [2021-02-17T10:16:44.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:16:44.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:16:44.693Z] Configure a credential helper to remove this warning. See [2021-02-17T10:16:44.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:16:44.693Z] [2021-02-17T10:16:44.693Z] Login Succeeded [2021-02-17T10:16:44.693Z] nexus3.edgexfoundry.org:10003 [2021-02-17T10:16:44.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:16:44.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:16:44.967Z] Configure a credential helper to remove this warning. See [2021-02-17T10:16:44.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:16:44.967Z] [2021-02-17T10:16:44.967Z] Login Succeeded [2021-02-17T10:16:44.967Z] nexus3.edgexfoundry.org:10004 [2021-02-17T10:16:45.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:16:45.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:16:45.563Z] Configure a credential helper to remove this warning. See [2021-02-17T10:16:45.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:16:45.563Z] [2021-02-17T10:16:45.563Z] Login Succeeded [2021-02-17T10:16:45.563Z] docker.io [2021-02-17T10:16:45.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:16:46.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:16:46.433Z] Configure a credential helper to remove this warning. See [2021-02-17T10:16:46.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:16:46.433Z] [2021-02-17T10:16:46.433Z] Login Succeeded [2021-02-17T10:16:46.433Z] ---> docker-login.sh ends [Pipeline] } [2021-02-17T10:16:46.450Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-17T10:16:46.907Z] ========================================================= [2021-02-17T10:16:46.907Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-17T10:16:46.907Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:16:47.287Z] + 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-02-17T10:16:47.896Z] Sending build context to Docker daemon 2.385MB [2021-02-17T10:16:47.896Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-17T10:16:47.896Z] Step 2/8 : FROM ${BASE} [2021-02-17T10:16:47.896Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-17T10:16:47.896Z] 5f621e34cdf4: Pulling fs layer [2021-02-17T10:16:47.896Z] a4357932f1b6: Pulling fs layer [2021-02-17T10:16:47.896Z] 18c013af1878: Pulling fs layer [2021-02-17T10:16:47.896Z] 00ac8860ef70: Pulling fs layer [2021-02-17T10:16:47.896Z] 63d7cb157983: Pulling fs layer [2021-02-17T10:16:47.896Z] b116817d02f9: Pulling fs layer [2021-02-17T10:16:47.896Z] 745a02a5169b: Pulling fs layer [2021-02-17T10:16:47.896Z] 63d7cb157983: Waiting [2021-02-17T10:16:47.896Z] b116817d02f9: Waiting [2021-02-17T10:16:47.896Z] 00ac8860ef70: Waiting [2021-02-17T10:16:47.896Z] 745a02a5169b: Waiting [2021-02-17T10:16:47.896Z] 18c013af1878: Verifying Checksum [2021-02-17T10:16:47.896Z] a4357932f1b6: Verifying Checksum [2021-02-17T10:16:47.896Z] a4357932f1b6: Download complete [2021-02-17T10:16:47.896Z] 18c013af1878: Download complete [2021-02-17T10:16:47.896Z] 63d7cb157983: Verifying Checksum [2021-02-17T10:16:47.896Z] 63d7cb157983: Download complete [2021-02-17T10:16:47.896Z] b116817d02f9: Verifying Checksum [2021-02-17T10:16:47.896Z] b116817d02f9: Download complete [2021-02-17T10:16:47.896Z] 5f621e34cdf4: Verifying Checksum [2021-02-17T10:16:47.896Z] 5f621e34cdf4: Download complete [2021-02-17T10:16:48.506Z] 5f621e34cdf4: Pull complete [2021-02-17T10:16:49.115Z] a4357932f1b6: Pull complete [2021-02-17T10:16:49.392Z] 18c013af1878: Pull complete [2021-02-17T10:16:50.373Z] 745a02a5169b: Verifying Checksum [2021-02-17T10:16:50.373Z] 745a02a5169b: Download complete [2021-02-17T10:16:51.802Z] 00ac8860ef70: Verifying Checksum [2021-02-17T10:16:51.802Z] 00ac8860ef70: Download complete [2021-02-17T10:17:01.978Z] 00ac8860ef70: Pull complete [2021-02-17T10:17:02.575Z] 63d7cb157983: Pull complete [2021-02-17T10:17:02.849Z] b116817d02f9: Pull complete [2021-02-17T10:17:07.166Z] 745a02a5169b: Pull complete [2021-02-17T10:17:07.166Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-17T10:17:07.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-17T10:17:07.166Z] ---> b7e6874047d6 [2021-02-17T10:17:07.166Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-17T10:17:09.838Z] ---> Running in 7c22ae28c2d9 [2021-02-17T10:17:09.838Z] Removing intermediate container 7c22ae28c2d9 [2021-02-17T10:17:09.838Z] ---> 6b3c9af349f1 [2021-02-17T10:17:09.838Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-17T10:17:10.111Z] ---> Running in 6a1f1c60dae4 [2021-02-17T10:17:12.742Z] Removing intermediate container 6a1f1c60dae4 [2021-02-17T10:17:12.742Z] ---> 7aa5b1e70cba [2021-02-17T10:17:12.742Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-17T10:17:12.742Z] ---> Running in 425d68d98539 [2021-02-17T10:17:13.341Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-17T10:17:13.727Z] Running on prd-centos7-docker-4c-2g-26664 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-02-17T10:17:13.777Z] Running in /w/workspace/device-sdk-go/116 [Pipeline] { [Pipeline] checkout [2021-02-17T10:17:14.317Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-17T10:17:15.324Z] OK: 142 MiB in 39 packages [2021-02-17T10:17:16.041Z] using credential edgex-jenkins-ssh [2021-02-17T10:17:16.087Z] Cloning the remote Git repository [2021-02-17T10:17:15.395Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-17T10:17:15.462Z] > git init /w/workspace/device-sdk-go/116 # timeout=10 [2021-02-17T10:17:16.305Z] Removing intermediate container 425d68d98539 [2021-02-17T10:17:16.305Z] ---> fbc5961b6fef [2021-02-17T10:17:16.305Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-17T10:17:16.305Z] ---> Running in 506b26350779 [2021-02-17T10:17:16.902Z] Removing intermediate container 506b26350779 [2021-02-17T10:17:16.902Z] ---> 1c391b93cc28 [2021-02-17T10:17:16.902Z] Step 7/8 : COPY . . [2021-02-17T10:17:15.536Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-17T10:17:15.536Z] > git --version # timeout=10 [2021-02-17T10:17:15.544Z] > git --version # 'git version 2.24.3' [2021-02-17T10:17:15.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-17T10:17:15.597Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-17T10:17:16.340Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-17T10:17:16.346Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-17T10:17:16.361Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-17T10:17:16.372Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-17T10:17:16.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-17T10:17:16.379Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-17T10:17:17.466Z] Checking out Revision 6125dba09cfc805438589ab7aad954d8cad7589e (master) [2021-02-17T10:17:17.882Z] ---> 2ae60ceb4b11 [2021-02-17T10:17:17.882Z] Step 8/8 : RUN go mod download [2021-02-17T10:17:18.159Z] ---> Running in 0c7ee4870339 [2021-02-17T10:17:16.872Z] > git config core.sparsecheckout # timeout=10 [2021-02-17T10:17:16.877Z] > git checkout -f 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 [2021-02-17T10:17:20.839Z] Commit message: "Merge pull request #768 from hahattan/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-17T10:17:22.014Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-17T10:17:22.341Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-17T10:17:22.645Z] + sudo service docker restart [2021-02-17T10:17:22.645Z] + true [2021-02-17T10:17:22.645Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-17T10:17:23.670Z] provisioning config files... [2021-02-17T10:17:23.695Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/116@tmp/config3561009190969822585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:17:24.076Z] ---> docker-login.sh [2021-02-17T10:17:24.076Z] nexus3.edgexfoundry.org:10001 [2021-02-17T10:17:24.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:17:24.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:17:24.340Z] Configure a credential helper to remove this warning. See [2021-02-17T10:17:24.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:17:24.340Z] [2021-02-17T10:17:24.340Z] Login Succeeded [2021-02-17T10:17:24.340Z] nexus3.edgexfoundry.org:10002 [2021-02-17T10:17:24.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:17:24.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:17:24.602Z] Configure a credential helper to remove this warning. See [2021-02-17T10:17:24.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:17:24.602Z] [2021-02-17T10:17:24.602Z] Login Succeeded [2021-02-17T10:17:24.602Z] nexus3.edgexfoundry.org:10003 [2021-02-17T10:17:24.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:17:24.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:17:24.602Z] Configure a credential helper to remove this warning. See [2021-02-17T10:17:24.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:17:24.602Z] [2021-02-17T10:17:24.602Z] Login Succeeded [2021-02-17T10:17:24.602Z] nexus3.edgexfoundry.org:10004 [2021-02-17T10:17:24.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:17:24.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:17:24.866Z] Configure a credential helper to remove this warning. See [2021-02-17T10:17:24.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:17:24.866Z] [2021-02-17T10:17:24.866Z] Login Succeeded [2021-02-17T10:17:24.866Z] docker.io [2021-02-17T10:17:24.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-17T10:17:25.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-17T10:17:25.439Z] Configure a credential helper to remove this warning. See [2021-02-17T10:17:25.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-17T10:17:25.439Z] [2021-02-17T10:17:25.439Z] Login Succeeded [2021-02-17T10:17:25.439Z] ---> docker-login.sh ends [Pipeline] } [2021-02-17T10:17:25.448Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-17T10:17:25.818Z] ========================================================= [2021-02-17T10:17:25.818Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-17T10:17:25.818Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:17:26.158Z] + 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-02-17T10:17:26.158Z] Sending build context to Docker daemon 2.386MB [2021-02-17T10:17:26.158Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-17T10:17:26.158Z] Step 2/8 : FROM ${BASE} [2021-02-17T10:17:26.158Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-17T10:17:26.158Z] 188c0c94c7c5: Pulling fs layer [2021-02-17T10:17:26.158Z] 0ef7d3d256c8: Pulling fs layer [2021-02-17T10:17:26.158Z] de9db76c5a1d: Pulling fs layer [2021-02-17T10:17:26.158Z] bca2f99d35d6: Pulling fs layer [2021-02-17T10:17:26.158Z] 93359f2a8cfa: Pulling fs layer [2021-02-17T10:17:26.158Z] 7c6f9722023f: Pulling fs layer [2021-02-17T10:17:26.158Z] a35cf1a2eb13: Pulling fs layer [2021-02-17T10:17:26.158Z] 93359f2a8cfa: Waiting [2021-02-17T10:17:26.158Z] 7c6f9722023f: Waiting [2021-02-17T10:17:26.158Z] a35cf1a2eb13: Waiting [2021-02-17T10:17:26.158Z] bca2f99d35d6: Waiting [2021-02-17T10:17:26.158Z] de9db76c5a1d: Verifying Checksum [2021-02-17T10:17:26.158Z] de9db76c5a1d: Download complete [2021-02-17T10:17:26.420Z] 0ef7d3d256c8: Download complete [2021-02-17T10:17:26.420Z] 93359f2a8cfa: Verifying Checksum [2021-02-17T10:17:26.420Z] 93359f2a8cfa: Download complete [2021-02-17T10:17:26.420Z] 188c0c94c7c5: Verifying Checksum [2021-02-17T10:17:26.420Z] 188c0c94c7c5: Download complete [2021-02-17T10:17:26.420Z] 7c6f9722023f: Verifying Checksum [2021-02-17T10:17:26.420Z] 7c6f9722023f: Download complete [2021-02-17T10:17:26.683Z] 188c0c94c7c5: Pull complete [2021-02-17T10:17:26.945Z] 0ef7d3d256c8: Pull complete [2021-02-17T10:17:26.945Z] de9db76c5a1d: Pull complete [2021-02-17T10:17:28.336Z] a35cf1a2eb13: Verifying Checksum [2021-02-17T10:17:28.336Z] a35cf1a2eb13: Download complete [2021-02-17T10:17:29.283Z] bca2f99d35d6: Verifying Checksum [2021-02-17T10:17:29.283Z] bca2f99d35d6: Download complete [2021-02-17T10:17:33.508Z] bca2f99d35d6: Pull complete [2021-02-17T10:17:33.770Z] 93359f2a8cfa: Pull complete [2021-02-17T10:17:33.770Z] 7c6f9722023f: Pull complete [2021-02-17T10:17:43.790Z] a35cf1a2eb13: Pull complete [2021-02-17T10:17:43.790Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-17T10:17:43.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-17T10:17:43.790Z] ---> a62c8e92a672 [2021-02-17T10:17:43.790Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-17T10:17:43.790Z] ---> Running in d545cb2bfbf2 [2021-02-17T10:17:43.790Z] Removing intermediate container d545cb2bfbf2 [2021-02-17T10:17:43.790Z] ---> 6abb548e0d94 [2021-02-17T10:17:43.790Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-17T10:17:43.790Z] ---> Running in 6887a3b6f8ae [2021-02-17T10:17:44.056Z] Removing intermediate container 6887a3b6f8ae [2021-02-17T10:17:44.056Z] ---> c2e7c60621b1 [2021-02-17T10:17:44.056Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-17T10:17:44.056Z] ---> Running in 1323c6cd851a [2021-02-17T10:17:44.647Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-17T10:17:44.968Z] Removing intermediate container 0c7ee4870339 [2021-02-17T10:17:44.968Z] ---> 1cadb66d7be5 [2021-02-17T10:17:44.968Z] Successfully built 1cadb66d7be5 [2021-02-17T10:17:44.968Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:17:45.229Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-17T10:17:45.331Z] + docker inspect -f . ci-base-image-arm64 [2021-02-17T10:17:45.331Z] . [Pipeline] withDockerContainer [2021-02-17T10:17:45.491Z] OK: 166 MiB in 39 packages [2021-02-17T10:17:45.608Z] prd-ubuntu18.04-docker-arm64-4c-16g-26661 does not seem to be running inside a container [2021-02-17T10:17:45.701Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/116 -v /w/workspace/device-sdk-go/116:/w/workspace/device-sdk-go/116:rw,z -v /w/workspace/device-sdk-go/116@tmp:/w/workspace/device-sdk-go/116@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 ******** -e ******** ci-base-image-arm64 cat [2021-02-17T10:17:46.063Z] Removing intermediate container 1323c6cd851a [2021-02-17T10:17:46.063Z] ---> d16bb9187b3b [2021-02-17T10:17:46.063Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-17T10:17:46.063Z] ---> Running in 7b7ab704fcfe [2021-02-17T10:17:46.324Z] Removing intermediate container 7b7ab704fcfe [2021-02-17T10:17:46.324Z] ---> 6eeebaba7e12 [2021-02-17T10:17:46.324Z] Step 7/8 : COPY . . [2021-02-17T10:17:47.290Z] ---> 9ce37d995be2 [2021-02-17T10:17:47.290Z] Step 8/8 : RUN go mod download [2021-02-17T10:17:47.290Z] ---> Running in e2fefb8add7a [2021-02-17T10:17:47.357Z] $ docker top c42aa6b17a5933ccac20942320b64ecb1a8518f53e16d465c6f5b67602507c1f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-17T10:17:48.363Z] + go version [2021-02-17T10:17:48.363Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-17T10:17:48.384Z] $ docker stop --time=1 c42aa6b17a5933ccac20942320b64ecb1a8518f53e16d465c6f5b67602507c1f [2021-02-17T10:17:50.233Z] $ docker rm -f c42aa6b17a5933ccac20942320b64ecb1a8518f53e16d465c6f5b67602507c1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:17:51.217Z] + docker inspect -f . ci-base-image-arm64 [2021-02-17T10:17:51.217Z] . [Pipeline] withDockerContainer [2021-02-17T10:17:51.477Z] prd-ubuntu18.04-docker-arm64-4c-16g-26661 does not seem to be running inside a container [2021-02-17T10:17:51.555Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/116 -v /w/workspace/device-sdk-go/116:/w/workspace/device-sdk-go/116:rw,z -v /w/workspace/device-sdk-go/116@tmp:/w/workspace/device-sdk-go/116@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 ******** -e ******** ci-base-image-arm64 cat [2021-02-17T10:17:52.987Z] $ docker top da14d0a4884738eb463c9eb0654eb6b267f20d09bb250eef8a4b0f1a8758c301 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-17T10:17:54.060Z] + make test [2021-02-17T10:17:54.060Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-17T10:18:09.285Z] Removing intermediate container e2fefb8add7a [2021-02-17T10:18:09.285Z] ---> b0c113bdee4a [2021-02-17T10:18:09.285Z] Successfully built b0c113bdee4a [2021-02-17T10:18:09.285Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:18:09.623Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-17T10:18:09.623Z] . [Pipeline] withDockerContainer [2021-02-17T10:18:09.726Z] prd-centos7-docker-4c-2g-26664 does not seem to be running inside a container [2021-02-17T10:18:09.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/116 -v /w/workspace/device-sdk-go/116:/w/workspace/device-sdk-go/116:rw,z -v /w/workspace/device-sdk-go/116@tmp:/w/workspace/device-sdk-go/116@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 ******** -e ******** ci-base-image-x86_64 cat [2021-02-17T10:18:10.345Z] $ docker top b5bebdc9aee295a64ccd26870369eda9bb896064d9dfef0aaae3886ad04b3499 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-17T10:18:11.168Z] + go version [2021-02-17T10:18:11.169Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-17T10:18:11.182Z] $ docker stop --time=1 b5bebdc9aee295a64ccd26870369eda9bb896064d9dfef0aaae3886ad04b3499 [2021-02-17T10:18:12.604Z] $ docker rm -f b5bebdc9aee295a64ccd26870369eda9bb896064d9dfef0aaae3886ad04b3499 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:18:13.398Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-17T10:18:13.399Z] . [Pipeline] withDockerContainer [2021-02-17T10:18:13.490Z] prd-centos7-docker-4c-2g-26664 does not seem to be running inside a container [2021-02-17T10:18:13.534Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/116 -v /w/workspace/device-sdk-go/116:/w/workspace/device-sdk-go/116:rw,z -v /w/workspace/device-sdk-go/116@tmp:/w/workspace/device-sdk-go/116@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 ******** -e ******** ci-base-image-x86_64 cat [2021-02-17T10:18:14.073Z] $ docker top a9580e4758e0c85acc29d7f1df75494894cb28853ae0ef7f16113e75bc1d545f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-17T10:18:14.543Z] + make test [2021-02-17T10:18:14.543Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-17T10:18:16.252Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-17T10:18:21.504Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-17T10:18:36.574Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-17T10:18:36.574Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-17T10:18:36.574Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-17T10:18:36.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 25.5% of statements [2021-02-17T10:19:03.277Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-17T10:19:03.277Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-17T10:19:03.277Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-17T10:19:03.277Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.147s coverage: 25.5% of statements [2021-02-17T10:19:08.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.047s coverage: 10.1% of statements [2021-02-17T10:19:08.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.046s coverage: 12.5% of statements [2021-02-17T10:19:08.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-17T10:19:08.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.068s coverage: 84.8% of statements [2021-02-17T10:19:08.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-17T10:19:08.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-17T10:19:08.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-17T10:19:08.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-17T10:19:08.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.071s coverage: 49.2% of statements [2021-02-17T10:19:08.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-17T10:19:08.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-17T10:19:08.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.072s coverage: 24.8% of statements [2021-02-17T10:19:08.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.319s coverage: 83.5% of statements [2021-02-17T10:19:08.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.3% of statements [2021-02-17T10:19:08.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-17T10:19:08.988Z] GO111MODULE=on go vet ./... [2021-02-17T10:19:17.231Z] gofmt -l . [2021-02-17T10:19:17.231Z] [ "`gofmt -l .`" = "" ] [2021-02-17T10:19:17.495Z] ./bin/test-attribution-txt.sh [2021-02-17T10:19:18.075Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-17T10:19:18.350Z] $ docker stop --time=1 a9580e4758e0c85acc29d7f1df75494894cb28853ae0ef7f16113e75bc1d545f [2021-02-17T10:19:20.332Z] $ docker rm -f a9580e4758e0c85acc29d7f1df75494894cb28853ae0ef7f16113e75bc1d545f [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-17T10:19:20.979Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-17T10:19:21.331Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-17T10:19:23.892Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-17T10:19:24.188Z] + ls -al . [2021-02-17T10:19:24.188Z] total 172 [2021-02-17T10:19:24.188Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 17 10:19 . [2021-02-17T10:19:24.188Z] drwxrwxr-x. 4 jenkins jenkins 32 Feb 17 10:17 .. [2021-02-17T10:19:24.188Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 17 10:17 bin [2021-02-17T10:19:24.188Z] -rw-r--r--. 1 jenkins jenkins 89677 Feb 17 10:19 coverage.out [2021-02-17T10:19:24.188Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 17 10:17 Dockerfile.build [2021-02-17T10:19:24.188Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 17 10:17 .dockerignore [2021-02-17T10:19:24.188Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 17 10:17 example [2021-02-17T10:19:24.188Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 17 10:17 .git [2021-02-17T10:19:24.188Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 17 10:17 .github [2021-02-17T10:19:24.188Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 17 10:17 .gitignore [2021-02-17T10:19:24.188Z] -rw-r--r--. 1 jenkins jenkins 515 Feb 17 10:19 go.mod [2021-02-17T10:19:24.188Z] -rw-r--r--. 1 jenkins jenkins 19062 Feb 17 10:19 go.sum [2021-02-17T10:19:24.188Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 17 10:17 internal [2021-02-17T10:19:24.188Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 17 10:17 Jenkinsfile [2021-02-17T10:19:24.188Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 17 10:17 LICENSE [2021-02-17T10:19:24.188Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 17 10:17 Makefile [2021-02-17T10:19:24.188Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 17 10:17 openapi [2021-02-17T10:19:24.188Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 17 10:17 pkg [2021-02-17T10:19:24.188Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 17 10:17 README.md [2021-02-17T10:19:24.188Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 17 10:17 RELEASE-NOTES.txt [2021-02-17T10:19:24.188Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 17 10:17 snap [2021-02-17T10:19:24.188Z] -rw-rw-r--. 1 jenkins jenkins 12 Feb 17 10:14 VERSION [2021-02-17T10:19:24.188Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 17 10:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:19:24.494Z] + 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=6125dba09cfc805438589ab7aad954d8cad7589e --label arch=amd64 --label version=2.0.0-dev.11 . [2021-02-17T10:19:24.494Z] Sending build context to Docker daemon 2.477MB [2021-02-17T10:19:24.494Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-17T10:19:24.494Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-17T10:19:24.494Z] ---> b0c113bdee4a [2021-02-17T10:19:24.494Z] Step 3/24 : ARG MAKE='make build' [2021-02-17T10:19:24.756Z] ---> Running in ea2c00293f5e [2021-02-17T10:19:25.018Z] Removing intermediate container ea2c00293f5e [2021-02-17T10:19:25.018Z] ---> fb4f3356507d [2021-02-17T10:19:25.018Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-17T10:19:25.018Z] ---> Running in 16a8519948d9 [2021-02-17T10:19:25.279Z] Removing intermediate container 16a8519948d9 [2021-02-17T10:19:25.279Z] ---> 58e97f3485b8 [2021-02-17T10:19:25.279Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-17T10:19:25.279Z] ---> Running in 2e0c5b940312 [2021-02-17T10:19:25.541Z] Removing intermediate container 2e0c5b940312 [2021-02-17T10:19:25.541Z] ---> 28cb0de43b7b [2021-02-17T10:19:25.541Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-17T10:19:25.541Z] ---> Running in 66bb30c6b54e [2021-02-17T10:19:26.497Z] Removing intermediate container 66bb30c6b54e [2021-02-17T10:19:26.497Z] ---> 15433a8abd05 [2021-02-17T10:19:26.497Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-17T10:19:26.497Z] ---> Running in dae22421ba97 [2021-02-17T10:19:26.762Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-17T10:19:27.709Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-17T10:19:27.981Z] OK: 166 MiB in 39 packages [2021-02-17T10:19:28.554Z] Removing intermediate container dae22421ba97 [2021-02-17T10:19:28.554Z] ---> cb9d55dad6da [2021-02-17T10:19:28.554Z] Step 8/24 : COPY . . [2021-02-17T10:19:29.502Z] ---> 8995508fd196 [2021-02-17T10:19:29.502Z] Step 9/24 : RUN ${MAKE} [2021-02-17T10:19:29.502Z] ---> Running in 900637768e6a [2021-02-17T10:19:29.764Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.11" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-17T10:19:30.053Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.176s coverage: 10.1% of statements [2021-02-17T10:19:30.053Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.128s coverage: 12.5% of statements [2021-02-17T10:19:30.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-17T10:19:30.053Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.134s coverage: 84.8% of statements [2021-02-17T10:19:30.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-17T10:19:30.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-17T10:19:30.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-17T10:19:30.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-17T10:19:30.053Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 49.2% of statements [2021-02-17T10:19:30.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-17T10:19:30.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-17T10:19:30.053Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.185s coverage: 24.8% of statements [2021-02-17T10:19:30.053Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.798s coverage: 83.5% of statements [2021-02-17T10:19:30.053Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.3% of statements [2021-02-17T10:19:30.053Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-17T10:19:30.053Z] GO111MODULE=on go vet ./... [2021-02-17T10:19:38.008Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-17T10:19:39.925Z] Removing intermediate container 900637768e6a [2021-02-17T10:19:39.925Z] ---> e6563f1828ec [2021-02-17T10:19:39.925Z] Step 10/24 : FROM scratch [2021-02-17T10:19:39.925Z] ---> [2021-02-17T10:19:39.925Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-17T10:19:39.925Z] ---> Running in c62e397edeba [2021-02-17T10:19:39.925Z] Removing intermediate container c62e397edeba [2021-02-17T10:19:39.925Z] ---> dd15530a342f [2021-02-17T10:19:39.925Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-17T10:19:39.925Z] ---> Running in cbc6166277fa [2021-02-17T10:19:39.925Z] Removing intermediate container cbc6166277fa [2021-02-17T10:19:39.925Z] ---> 9f7b5731cb5f [2021-02-17T10:19:39.925Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-17T10:19:39.925Z] ---> Running in a9b8369f0f22 [2021-02-17T10:19:40.191Z] Removing intermediate container a9b8369f0f22 [2021-02-17T10:19:40.191Z] ---> a4b3628b7d57 [2021-02-17T10:19:40.191Z] Step 14/24 : WORKDIR / [2021-02-17T10:19:40.191Z] ---> Running in 5c7ab6c97dd0 [2021-02-17T10:19:40.452Z] Removing intermediate container 5c7ab6c97dd0 [2021-02-17T10:19:40.452Z] ---> 426c90f3e4db [2021-02-17T10:19:40.452Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-17T10:19:41.025Z] ---> 051e54bc9d3b [2021-02-17T10:19:41.026Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-17T10:19:41.597Z] ---> 8de47f57897b [2021-02-17T10:19:41.597Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-17T10:19:41.858Z] ---> 25f7f7e160aa [2021-02-17T10:19:41.858Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-17T10:19:42.120Z] ---> 9120bb81d68e [2021-02-17T10:19:42.120Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-17T10:19:42.381Z] ---> 90535a629a4c [2021-02-17T10:19:42.381Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-17T10:19:42.381Z] ---> Running in 97b29f70812b [2021-02-17T10:19:42.642Z] Removing intermediate container 97b29f70812b [2021-02-17T10:19:42.642Z] ---> 6ecac343dd5d [2021-02-17T10:19:42.642Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-17T10:19:42.642Z] ---> Running in 79981b5eb28f [2021-02-17T10:19:42.903Z] Removing intermediate container 79981b5eb28f [2021-02-17T10:19:42.903Z] ---> 4585ec9d995c [2021-02-17T10:19:42.903Z] Step 22/24 : LABEL arch=amd64 [2021-02-17T10:19:42.903Z] ---> Running in ea9251211e6f [2021-02-17T10:19:43.164Z] Removing intermediate container ea9251211e6f [2021-02-17T10:19:43.164Z] ---> a5508d1949b5 [2021-02-17T10:19:43.164Z] Step 23/24 : LABEL git_sha=6125dba09cfc805438589ab7aad954d8cad7589e [2021-02-17T10:19:43.164Z] ---> Running in ecfa71bc6696 [2021-02-17T10:19:43.164Z] Removing intermediate container ecfa71bc6696 [2021-02-17T10:19:43.164Z] ---> ae588683e65e [2021-02-17T10:19:43.164Z] Step 24/24 : LABEL version=2.0.0-dev.11 [2021-02-17T10:19:43.424Z] ---> Running in f6ac5498a6f9 [2021-02-17T10:19:43.424Z] Removing intermediate container f6ac5498a6f9 [2021-02-17T10:19:43.424Z] ---> 454882766c04 [2021-02-17T10:19:43.424Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-17T10:19:43.424Z] Successfully built 454882766c04 [2021-02-17T10:19:43.424Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-17T10:20:09.145Z] gofmt -l . [2021-02-17T10:20:09.145Z] [ "`gofmt -l .`" = "" ] [2021-02-17T10:20:09.145Z] ./bin/test-attribution-txt.sh [2021-02-17T10:20:09.145Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-17T10:20:09.164Z] $ docker stop --time=1 da14d0a4884738eb463c9eb0654eb6b267f20d09bb250eef8a4b0f1a8758c301 [2021-02-17T10:20:11.494Z] $ docker rm -f da14d0a4884738eb463c9eb0654eb6b267f20d09bb250eef8a4b0f1a8758c301 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-17T10:20:12.718Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-17T10:20:12.791Z] Warning: overwriting stash ‘coverage-report’ [2021-02-17T10:20:14.101Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-17T10:20:14.782Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-17T10:20:15.123Z] + ls -al . [2021-02-17T10:20:15.123Z] total 208 [2021-02-17T10:20:15.123Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 10:20 . [2021-02-17T10:20:15.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:16 .. [2021-02-17T10:20:15.123Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 10:16 .dockerignore [2021-02-17T10:20:15.123Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 10:16 .git [2021-02-17T10:20:15.123Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 10:16 .github [2021-02-17T10:20:15.123Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 17 10:16 .gitignore [2021-02-17T10:20:15.123Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 17 10:16 Dockerfile.build [2021-02-17T10:20:15.123Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 17 10:16 Jenkinsfile [2021-02-17T10:20:15.123Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 10:16 LICENSE [2021-02-17T10:20:15.123Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 17 10:16 Makefile [2021-02-17T10:20:15.123Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 17 10:16 README.md [2021-02-17T10:20:15.123Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 17 10:16 RELEASE-NOTES.txt [2021-02-17T10:20:15.123Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 10:14 VERSION [2021-02-17T10:20:15.123Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 10:16 bin [2021-02-17T10:20:15.123Z] -rw-r--r-- 1 jenkins jenkins 89677 Feb 17 10:19 coverage.out [2021-02-17T10:20:15.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:16 example [2021-02-17T10:20:15.123Z] -rw-r--r-- 1 jenkins jenkins 515 Feb 17 10:20 go.mod [2021-02-17T10:20:15.123Z] -rw-r--r-- 1 jenkins jenkins 19062 Feb 17 10:20 go.sum [2021-02-17T10:20:15.123Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 10:16 internal [2021-02-17T10:20:15.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:16 openapi [2021-02-17T10:20:15.123Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 10:16 pkg [2021-02-17T10:20:15.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:16 snap [2021-02-17T10:20:15.123Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 10:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:20:15.468Z] + 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=6125dba09cfc805438589ab7aad954d8cad7589e --label arch=arm64 --label version=2.0.0-dev.11 . [2021-02-17T10:20:15.749Z] Sending build context to Docker daemon 2.476MB [2021-02-17T10:20:16.027Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-17T10:20:16.027Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-17T10:20:16.027Z] ---> 1cadb66d7be5 [2021-02-17T10:20:16.027Z] Step 3/24 : ARG MAKE='make build' [2021-02-17T10:20:16.299Z] ---> Running in 6039d4a90e00 [2021-02-17T10:20:16.581Z] Removing intermediate container 6039d4a90e00 [2021-02-17T10:20:16.581Z] ---> 8415b7360c32 [2021-02-17T10:20:16.581Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-17T10:20:16.854Z] ---> Running in 517821dd8f43 [2021-02-17T10:20:17.126Z] Removing intermediate container 517821dd8f43 [2021-02-17T10:20:17.126Z] ---> 6daf5881a574 [2021-02-17T10:20:17.126Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-17T10:20:17.398Z] ---> Running in 0f070dbad20f [2021-02-17T10:20:17.670Z] Removing intermediate container 0f070dbad20f [2021-02-17T10:20:17.670Z] ---> cbbf4b6a5885 [2021-02-17T10:20:17.670Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-17T10:20:17.945Z] ---> Running in f393c2745628 [2021-02-17T10:20:19.959Z] Removing intermediate container f393c2745628 [2021-02-17T10:20:19.959Z] ---> fd9181b7d7ee [2021-02-17T10:20:19.959Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-17T10:20:20.235Z] ---> Running in 933d740b8825 [2021-02-17T10:20:21.218Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-17T10:20:22.191Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-17T10:20:22.784Z] OK: 142 MiB in 39 packages [2021-02-17T10:20:24.223Z] Removing intermediate container 933d740b8825 [2021-02-17T10:20:24.223Z] ---> 69052e285666 [2021-02-17T10:20:24.223Z] Step 8/24 : COPY . . [2021-02-17T10:20:25.211Z] ---> d6eda7bc8199 [2021-02-17T10:20:25.211Z] Step 9/24 : RUN ${MAKE} [2021-02-17T10:20:25.485Z] ---> Running in 50fb8bf13f83 [2021-02-17T10:20:26.922Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.11" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-17T10:20:53.749Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-17T10:20:57.138Z] Removing intermediate container 50fb8bf13f83 [2021-02-17T10:20:57.138Z] ---> cc990d90d323 [2021-02-17T10:20:57.138Z] Step 10/24 : FROM scratch [2021-02-17T10:20:57.138Z] ---> [2021-02-17T10:20:57.138Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-17T10:20:57.138Z] ---> Running in 767d2cf4a3e3 [2021-02-17T10:20:57.138Z] Removing intermediate container 767d2cf4a3e3 [2021-02-17T10:20:57.138Z] ---> fe53156a78aa [2021-02-17T10:20:57.138Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-17T10:20:57.411Z] ---> Running in be88848dc53a [2021-02-17T10:20:57.686Z] Removing intermediate container be88848dc53a [2021-02-17T10:20:57.686Z] ---> 634ac7f54f79 [2021-02-17T10:20:57.686Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-17T10:20:57.958Z] ---> Running in 9a0800f302bf [2021-02-17T10:20:58.234Z] Removing intermediate container 9a0800f302bf [2021-02-17T10:20:58.234Z] ---> 7af403514e18 [2021-02-17T10:20:58.234Z] Step 14/24 : WORKDIR / [2021-02-17T10:20:58.513Z] ---> Running in 60b34f0fe0bc [2021-02-17T10:20:58.785Z] Removing intermediate container 60b34f0fe0bc [2021-02-17T10:20:58.785Z] ---> a01ef551d1f4 [2021-02-17T10:20:58.785Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-17T10:21:00.217Z] ---> 57d224f0a7e7 [2021-02-17T10:21:00.217Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-17T10:21:00.812Z] ---> 2c9060c8ac41 [2021-02-17T10:21:00.812Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-17T10:21:01.793Z] ---> b3fff6af7873 [2021-02-17T10:21:01.793Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-17T10:21:02.388Z] ---> 3cc3594a4366 [2021-02-17T10:21:02.388Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-17T10:21:03.368Z] ---> 93b709f35fbf [2021-02-17T10:21:03.368Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-17T10:21:03.368Z] ---> Running in b9005f3acb01 [2021-02-17T10:21:03.963Z] Removing intermediate container b9005f3acb01 [2021-02-17T10:21:03.963Z] ---> 67cb816631ba [2021-02-17T10:21:03.963Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-17T10:21:03.963Z] ---> Running in 5697be197b1c [2021-02-17T10:21:04.558Z] Removing intermediate container 5697be197b1c [2021-02-17T10:21:04.558Z] ---> 2b185e374cbb [2021-02-17T10:21:04.558Z] Step 22/24 : LABEL arch=arm64 [2021-02-17T10:21:04.558Z] ---> Running in e9fd1609b542 [2021-02-17T10:21:05.154Z] Removing intermediate container e9fd1609b542 [2021-02-17T10:21:05.154Z] ---> d1fcdbd008b5 [2021-02-17T10:21:05.154Z] Step 23/24 : LABEL git_sha=6125dba09cfc805438589ab7aad954d8cad7589e [2021-02-17T10:21:05.154Z] ---> Running in 9fb49beb7be5 [2021-02-17T10:21:05.753Z] Removing intermediate container 9fb49beb7be5 [2021-02-17T10:21:05.753Z] ---> 9fd950fade1c [2021-02-17T10:21:05.753Z] Step 24/24 : LABEL version=2.0.0-dev.11 [2021-02-17T10:21:05.753Z] ---> Running in 41f248545c46 [2021-02-17T10:21:06.345Z] Removing intermediate container 41f248545c46 [2021-02-17T10:21:06.345Z] ---> dfb61dae5600 [2021-02-17T10:21:06.345Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-17T10:21:06.345Z] Successfully built dfb61dae5600 [2021-02-17T10:21:06.346Z] 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-02-17T10:21:08.006Z] provisioning config files... [2021-02-17T10:21:08.019Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6323803311518323830tmp [Pipeline] { [Pipeline] sh [2021-02-17T10:21:08.396Z] + set +x [2021-02-17T10:21:08.396Z] + curl -s https://codecov.io/bash [2021-02-17T10:21:08.396Z] + bash -s -- [2021-02-17T10:21:08.659Z] [2021-02-17T10:21:08.659Z] _____ _ [2021-02-17T10:21:08.659Z] / ____| | | [2021-02-17T10:21:08.659Z] | | ___ __| | ___ ___ _____ __ [2021-02-17T10:21:08.659Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-17T10:21:08.659Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-17T10:21:08.659Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-17T10:21:08.659Z] Bash-20210129-7c25fce [2021-02-17T10:21:08.659Z] [2021-02-17T10:21:08.659Z] [2021-02-17T10:21:08.659Z] ==> git version 2.24.3 found [2021-02-17T10:21:08.659Z] ==> 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-02-17T10:21:08.659Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-17T10:21:08.659Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-17T10:21:08.659Z] ==> Jenkins CI detected. [2021-02-17T10:21:08.659Z] project root: . [2021-02-17T10:21:08.659Z] --> token set from env [2021-02-17T10:21:08.659Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-17T10:21:08.659Z] ==> Running gcov in . (disable via -X gcov) [2021-02-17T10:21:08.659Z] ==> Python coveragepy not found [2021-02-17T10:21:08.659Z] ==> Searching for coverage reports in: [2021-02-17T10:21:08.659Z] + . [2021-02-17T10:21:08.659Z] -> Found 1 reports [2021-02-17T10:21:08.659Z] ==> Detecting git/mercurial file structure [2021-02-17T10:21:08.659Z] ==> Reading reports [2021-02-17T10:21:08.659Z] + ./coverage.out bytes=89677 [2021-02-17T10:21:08.659Z] ==> Appending adjustments [2021-02-17T10:21:08.659Z] https://docs.codecov.io/docs/fixing-reports [2021-02-17T10:21:08.924Z] + Found adjustments [2021-02-17T10:21:09.188Z] ==> Gzipping contents [2021-02-17T10:21:09.188Z] 16K /tmp/codecov.nGWjUz.gz [2021-02-17T10:21:09.188Z] ==> Uploading reports [2021-02-17T10:21:09.188Z] url: https://codecov.io [2021-02-17T10:21:09.188Z] query: branch=master&commit=6125dba09cfc805438589ab7aad954d8cad7589e&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-17T10:21:09.188Z] -> Pinging Codecov [2021-02-17T10:21:09.188Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=6125dba09cfc805438589ab7aad954d8cad7589e&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-17T10:21:09.450Z] -> Uploading to [2021-02-17T10:21:09.450Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-17/7E55EF52A471D76F132DFD9A03CDDE97/6125dba09cfc805438589ab7aad954d8cad7589e/695390a9-7277-4976-982e-67faf2d4c4c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210217T102109Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=42a0ecd8c54998bfd38bb6f9d5510692a4e135147468767a9ffd6dd0291c703e [2021-02-17T10:21:09.450Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-17T10:21:09.450Z] Dload Upload Total Spent Left Speed [2021-02-17T10:21:10.024Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15141 0 0 100 15141 0 32526 --:--:-- --:--:-- --:--:-- 32561 [2021-02-17T10:21:10.024Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6125dba09cfc805438589ab7aad954d8cad7589e [Pipeline] } [2021-02-17T10:21:10.034Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-02-17T10:21:10.955Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-02-17T10:21:11.011Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:21:11.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-17T10:21:11.347Z] [2021-02-17T10:21:11.347Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:21:11.693Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-17T10:21:11.693Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-02-17T10:21:11.693Z] 188c0c94c7c5: Pulling fs layer [2021-02-17T10:21:11.693Z] 0ef7d3d256c8: Pulling fs layer [2021-02-17T10:21:11.693Z] de9db76c5a1d: Pulling fs layer [2021-02-17T10:21:11.693Z] 0eba1c9be4d2: Pulling fs layer [2021-02-17T10:21:11.693Z] 0d57e429df01: Pulling fs layer [2021-02-17T10:21:11.693Z] 4e4be7b47b0d: Pulling fs layer [2021-02-17T10:21:11.693Z] e1f770b5df2f: Pulling fs layer [2021-02-17T10:21:11.693Z] 85a0685a4137: Pulling fs layer [2021-02-17T10:21:11.693Z] 0eba1c9be4d2: Waiting [2021-02-17T10:21:11.693Z] 0d57e429df01: Waiting [2021-02-17T10:21:11.694Z] 4e4be7b47b0d: Waiting [2021-02-17T10:21:11.694Z] e1f770b5df2f: Waiting [2021-02-17T10:21:11.694Z] 85a0685a4137: Waiting [2021-02-17T10:21:11.694Z] de9db76c5a1d: Verifying Checksum [2021-02-17T10:21:11.694Z] de9db76c5a1d: Download complete [2021-02-17T10:21:11.694Z] 0ef7d3d256c8: Download complete [2021-02-17T10:21:11.694Z] 0d57e429df01: Download complete [2021-02-17T10:21:11.694Z] 4e4be7b47b0d: Verifying Checksum [2021-02-17T10:21:11.694Z] 4e4be7b47b0d: Download complete [2021-02-17T10:21:11.694Z] 188c0c94c7c5: Verifying Checksum [2021-02-17T10:21:11.694Z] 188c0c94c7c5: Download complete [2021-02-17T10:21:12.287Z] 188c0c94c7c5: Pull complete [2021-02-17T10:21:12.287Z] 0ef7d3d256c8: Pull complete [2021-02-17T10:21:12.559Z] de9db76c5a1d: Pull complete [2021-02-17T10:21:13.132Z] e1f770b5df2f: Verifying Checksum [2021-02-17T10:21:13.132Z] e1f770b5df2f: Download complete [2021-02-17T10:21:15.069Z] 0eba1c9be4d2: Verifying Checksum [2021-02-17T10:21:15.069Z] 0eba1c9be4d2: Download complete [2021-02-17T10:21:15.339Z] 85a0685a4137: Verifying Checksum [2021-02-17T10:21:15.339Z] 85a0685a4137: Download complete [2021-02-17T10:21:20.667Z] 0eba1c9be4d2: Pull complete [2021-02-17T10:21:20.667Z] 0d57e429df01: Pull complete [2021-02-17T10:21:20.934Z] 4e4be7b47b0d: Pull complete [2021-02-17T10:21:22.867Z] e1f770b5df2f: Pull complete [2021-02-17T10:21:31.041Z] 85a0685a4137: Pull complete [2021-02-17T10:21:31.041Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-02-17T10:21:31.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-17T10:21:31.041Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-02-17T10:21:31.242Z] prd-centos7-docker-4c-2g-26659 does not seem to be running inside a container [2021-02-17T10:21:31.292Z] $ 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-02-17T10:21:32.325Z] $ docker top 94088c2001b5091c7648281810e5b8a0e12a21bd68566d51a3e7decf42d64d5c -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-17T10:21:32.629Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-02-17T10:21:32.922Z] + set -o pipefail [2021-02-17T10:21:32.923Z] + snyk monitor '--org=edgex-jenkins' [2021-02-17T10:21:51.068Z] [2021-02-17T10:21:51.068Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-02-17T10:21:51.068Z] [2021-02-17T10:21:51.068Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/f5011cd7-49b0-4a4c-8e1c-dcd277521567 [2021-02-17T10:21:51.068Z] [2021-02-17T10:21:51.068Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-02-17T10:21:51.068Z] [2021-02-17T10:21:51.068Z] [2021-02-17T10:21:51.068Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2021-02-17T10:21:51.068Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-02-17T10:21:51.084Z] $ docker stop --time=1 94088c2001b5091c7648281810e5b8a0e12a21bd68566d51a3e7decf42d64d5c [2021-02-17T10:21:53.767Z] $ docker rm -f 94088c2001b5091c7648281810e5b8a0e12a21bd68566d51a3e7decf42d64d5c [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-02-17T10:21:55.108Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-17T10:21:55.159Z] provisioning config files... [2021-02-17T10:21:55.170Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4503162517953387191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:21:55.550Z] --> edgex-publish-swagger.sh [2021-02-17T10:21:55.550Z] === Publish openapi/v1 API === [2021-02-17T10:21:55.550Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-02-17T10:21:55.550Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-02-17T10:21:55.550Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-17T10:21:55.550Z] Dload Upload Total Spent Left Speed [2021-02-17T10:21:56.497Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 23451 --:--:-- --:--:-- --:--:-- 23439 100 19947 0 0 100 19947 0 23445 --:--:-- --:--:-- --:--:-- 23439 [2021-02-17T10:21:56.497Z] [2021-02-17T10:21:56.497Z] [2021-02-17T10:21:56.497Z] === Publish openapi/v2 API === [2021-02-17T10:21:56.497Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-02-17T10:21:56.497Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-02-17T10:21:56.497Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-17T10:21:56.497Z] Dload Upload Total Spent Left Speed [2021-02-17T10:21:57.072Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52256 0 0 100 52256 0 62218 --:--:-- --:--:-- --:--:-- 62209 100 52256 0 0 100 52256 0 62203 --:--:-- --:--:-- --:--:-- 62209 [2021-02-17T10:21:57.333Z] [2021-02-17T10:21:57.333Z] [Pipeline] } [2021-02-17T10:21:57.343Z] 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-02-17T10:21:58.188Z] + git log --format=format:%s -1 6125dba09cfc805438589ab7aad954d8cad7589e [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:21:58.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-17T10:21:58.498Z] . [Pipeline] withDockerContainer [2021-02-17T10:21:58.601Z] prd-centos7-docker-4c-2g-26659 does not seem to be running inside a container [2021-02-17T10:21:58.648Z] $ 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-02-17T10:21:59.418Z] $ docker top cbc359c761c8fb05219ec19afa2bd682b0defb624dd0bbcfcc147e30bbec1d42 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-17T10:21:59.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-17T10:21:59.720Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-17T10:21:59.988Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-17T10:21:59.991Z] $ docker exec cbc359c761c8fb05219ec19afa2bd682b0defb624dd0bbcfcc147e30bbec1d42 ssh-agent [2021-02-17T10:22:00.183Z] SSH_AUTH_SOCK=/tmp/ssh-oZlPg7UdsMjv/agent.11 [2021-02-17T10:22:00.183Z] SSH_AGENT_PID=16 [2021-02-17T10:22:00.190Z] Running ssh-add (command line suppressed) [2021-02-17T10:22:00.319Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6508104357440272357.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6508104357440272357.key) [2021-02-17T10:22:00.384Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-17T10:22:00.718Z] + git semver tag [2021-02-17T10:22:00.719Z] # -> Open(): unable to determine branch for HEAD [2021-02-17T10:22:00.719Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-17T10:22:00.719Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-17T10:22:00.719Z] # $SEMVER_REMOTE_NAME = origin [2021-02-17T10:22:00.719Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-17T10:22:00.719Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-17T10:22:00.719Z] # $SEMVER_BRANCH = master [2021-02-17T10:22:00.719Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-02-17T10:22:00.719Z] # 6125dba09cfc805438589ab7aad954d8cad7589e HEAD [2021-02-17T10:22:00.719Z] # -> Force: false [2021-02-17T10:22:00.719Z] # efe2a2f4e4d4fcbec7cd11da1c69670d867d3e1e refs/tags/v2.0.0-dev.11 [Pipeline] } [2021-02-17T10:22:00.730Z] $ docker exec --env ******** --env ******** cbc359c761c8fb05219ec19afa2bd682b0defb624dd0bbcfcc147e30bbec1d42 ssh-agent -k [2021-02-17T10:22:00.842Z] unset SSH_AUTH_SOCK; [2021-02-17T10:22:00.843Z] unset SSH_AGENT_PID; [2021-02-17T10:22:00.843Z] echo Agent pid 16 killed; [2021-02-17T10:22:00.895Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-17T10:22:01.347Z] + git semver [Pipeline] } [2021-02-17T10:22:01.364Z] $ docker stop --time=1 cbc359c761c8fb05219ec19afa2bd682b0defb624dd0bbcfcc147e30bbec1d42 [2021-02-17T10:22:02.715Z] $ docker rm -f cbc359c761c8fb05219ec19afa2bd682b0defb624dd0bbcfcc147e30bbec1d42 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:22:03.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-17T10:22:03.341Z] [2021-02-17T10:22:03.341Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:22:03.768Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-17T10:22:03.768Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-17T10:22:03.768Z] ab5ef0e58194: Pulling fs layer [2021-02-17T10:22:03.768Z] 9712f1f96733: Pulling fs layer [2021-02-17T10:22:03.768Z] 63f879dbbcfc: Pulling fs layer [2021-02-17T10:22:03.768Z] 0d9ebad4ef96: Pulling fs layer [2021-02-17T10:22:03.768Z] e9a5061849ea: Pulling fs layer [2021-02-17T10:22:03.768Z] d747dcd14b5f: Pulling fs layer [2021-02-17T10:22:03.768Z] 2de7ff778b66: Pulling fs layer [2021-02-17T10:22:03.768Z] e9a5061849ea: Waiting [2021-02-17T10:22:03.768Z] d747dcd14b5f: Waiting [2021-02-17T10:22:03.768Z] 2de7ff778b66: Waiting [2021-02-17T10:22:03.768Z] 0d9ebad4ef96: Waiting [2021-02-17T10:22:03.768Z] 9712f1f96733: Verifying Checksum [2021-02-17T10:22:03.768Z] 9712f1f96733: Download complete [2021-02-17T10:22:05.689Z] 63f879dbbcfc: Verifying Checksum [2021-02-17T10:22:05.689Z] 63f879dbbcfc: Download complete [2021-02-17T10:22:05.689Z] e9a5061849ea: Verifying Checksum [2021-02-17T10:22:05.689Z] e9a5061849ea: Download complete [2021-02-17T10:22:05.689Z] d747dcd14b5f: Verifying Checksum [2021-02-17T10:22:05.689Z] d747dcd14b5f: Download complete [2021-02-17T10:22:06.266Z] ab5ef0e58194: Verifying Checksum [2021-02-17T10:22:06.266Z] ab5ef0e58194: Download complete [2021-02-17T10:22:06.266Z] 2de7ff778b66: Verifying Checksum [2021-02-17T10:22:06.266Z] 2de7ff778b66: Download complete [2021-02-17T10:22:06.530Z] 0d9ebad4ef96: Verifying Checksum [2021-02-17T10:22:06.530Z] 0d9ebad4ef96: Download complete [2021-02-17T10:22:10.752Z] ab5ef0e58194: Pull complete [2021-02-17T10:22:10.752Z] 9712f1f96733: Pull complete [2021-02-17T10:22:12.675Z] 63f879dbbcfc: Pull complete [2021-02-17T10:22:19.301Z] 0d9ebad4ef96: Pull complete [2021-02-17T10:22:19.874Z] e9a5061849ea: Pull complete [2021-02-17T10:22:20.143Z] d747dcd14b5f: Pull complete [2021-02-17T10:22:22.709Z] 2de7ff778b66: Pull complete [2021-02-17T10:22:22.709Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-17T10:22:22.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-17T10:22:22.709Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-17T10:22:22.895Z] prd-centos7-docker-4c-2g-26659 does not seem to be running inside a container [2021-02-17T10:22:22.941Z] $ 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-02-17T10:22:26.588Z] $ docker top 0ee44b00cc2fe6cc476cec9b9ce66db23b4384f08e632ffee8df62390d874214 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-17T10:22:26.797Z] provisioning config files... [2021-02-17T10:22:26.807Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5942658440671826563tmp [2021-02-17T10:22:26.823Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8172029757617955776tmp [2021-02-17T10:22:26.838Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config9102345123734253995tmp [Pipeline] { [Pipeline] echo [2021-02-17T10:22:26.893Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:22:27.192Z] ---> sigul-configuration.sh [2021-02-17T10:22:27.193Z] gpg: directory `/root/.gnupg' created [2021-02-17T10:22:27.193Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-17T10:22:27.193Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-17T10:22:27.193Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-17T10:22:27.193Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-17T10:22:27.193Z] gpg: CAST5 encrypted data [2021-02-17T10:22:27.455Z] gpg: encrypted with 1 passphrase [2021-02-17T10:22:27.455Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-17T10:22:27.751Z] + mkdir /home/jenkins [2021-02-17T10:22:27.751Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-17T10:22:28.049Z] + 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-02-17T10:22:28.059Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:22:28.355Z] ---> sigul-install.sh [2021-02-17T10:22:34.956Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-17T10:22:35.256Z] + git tag --list [2021-02-17T10:22:35.256Z] 0.7.1 [2021-02-17T10:22:35.256Z] delhi-tag [2021-02-17T10:22:35.256Z] v1.0.0 [2021-02-17T10:22:35.256Z] v1.1.0 [2021-02-17T10:22:35.256Z] v1.1.1 [2021-02-17T10:22:35.256Z] v1.1.2 [2021-02-17T10:22:35.256Z] v1.2.0 [2021-02-17T10:22:35.256Z] v1.2.1 [2021-02-17T10:22:35.256Z] v1.2.2 [2021-02-17T10:22:35.256Z] v1.2.3 [2021-02-17T10:22:35.256Z] v1.3.0 [2021-02-17T10:22:35.256Z] v1.4.0 [2021-02-17T10:22:35.256Z] v2.0.0-dev.1 [2021-02-17T10:22:35.256Z] v2.0.0-dev.10 [2021-02-17T10:22:35.256Z] v2.0.0-dev.11 [2021-02-17T10:22:35.256Z] v2.0.0-dev.2 [2021-02-17T10:22:35.256Z] v2.0.0-dev.3 [2021-02-17T10:22:35.256Z] v2.0.0-dev.4 [2021-02-17T10:22:35.256Z] v2.0.0-dev.5 [2021-02-17T10:22:35.256Z] v2.0.0-dev.6 [2021-02-17T10:22:35.256Z] v2.0.0-dev.7 [2021-02-17T10:22:35.256Z] v2.0.0-dev.8 [2021-02-17T10:22:35.256Z] v2.0.0-dev.9 [Pipeline] sh [2021-02-17T10:22:35.561Z] + lftools sign git-tag v2.0.0-dev.11 [2021-02-17T10:22:36.949Z] Signing Git tag with Sigul... [2021-02-17T10:22:36.949Z] Signing v2.0.0-dev.11 [Pipeline] echo [2021-02-17T10:22:37.904Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:22:38.202Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-17T10:22:38.213Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-17T10:22:38.307Z] $ docker stop --time=1 0ee44b00cc2fe6cc476cec9b9ce66db23b4384f08e632ffee8df62390d874214 [2021-02-17T10:22:40.355Z] $ docker rm -f 0ee44b00cc2fe6cc476cec9b9ce66db23b4384f08e632ffee8df62390d874214 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:22:41.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-17T10:22:41.307Z] . [Pipeline] withDockerContainer [2021-02-17T10:22:41.411Z] prd-centos7-docker-4c-2g-26659 does not seem to be running inside a container [2021-02-17T10:22:41.456Z] $ 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-02-17T10:22:42.229Z] $ docker top e9fd5e061b96562b7fb19d84d076bc64f3434e7499ce5f32f59850fd3b0c9533 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-17T10:22:42.539Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-17T10:22:42.539Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-17T10:22:42.764Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-17T10:22:42.767Z] $ docker exec e9fd5e061b96562b7fb19d84d076bc64f3434e7499ce5f32f59850fd3b0c9533 ssh-agent [2021-02-17T10:22:42.955Z] SSH_AUTH_SOCK=/tmp/ssh-vdIZvf9AKN1z/agent.11 [2021-02-17T10:22:42.955Z] SSH_AGENT_PID=17 [2021-02-17T10:22:42.962Z] Running ssh-add (command line suppressed) [2021-02-17T10:22:43.089Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8339490238698404672.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8339490238698404672.key) [2021-02-17T10:22:43.146Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-17T10:22:43.500Z] + git semver bump pre [2021-02-17T10:22:43.500Z] # -> Open(): unable to determine branch for HEAD [2021-02-17T10:22:43.500Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-17T10:22:43.500Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-17T10:22:43.500Z] # $SEMVER_REMOTE_NAME = origin [2021-02-17T10:22:43.500Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-17T10:22:43.500Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-17T10:22:43.500Z] # $SEMVER_BRANCH = master [2021-02-17T10:22:43.500Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-02-17T10:22:43.500Z] 2.0.0-dev.12 [Pipeline] } [2021-02-17T10:22:43.528Z] $ docker exec --env ******** --env ******** e9fd5e061b96562b7fb19d84d076bc64f3434e7499ce5f32f59850fd3b0c9533 ssh-agent -k [2021-02-17T10:22:43.694Z] unset SSH_AUTH_SOCK; [2021-02-17T10:22:43.694Z] unset SSH_AGENT_PID; [2021-02-17T10:22:43.694Z] echo Agent pid 17 killed; [2021-02-17T10:22:43.769Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-17T10:22:44.325Z] + git semver [Pipeline] } [2021-02-17T10:22:44.341Z] $ docker stop --time=1 e9fd5e061b96562b7fb19d84d076bc64f3434e7499ce5f32f59850fd3b0c9533 [2021-02-17T10:22:45.690Z] $ docker rm -f e9fd5e061b96562b7fb19d84d076bc64f3434e7499ce5f32f59850fd3b0c9533 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:22:46.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-17T10:22:46.195Z] . [Pipeline] withDockerContainer [2021-02-17T10:22:46.296Z] prd-centos7-docker-4c-2g-26659 does not seem to be running inside a container [2021-02-17T10:22:46.340Z] $ 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-02-17T10:22:46.918Z] $ docker top 03c3bcd9760e030ea2574c372f35fdfcda23e1d4a4d453a5568338b1bd2a4240 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-17T10:22:47.281Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-17T10:22:47.281Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-17T10:22:47.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-17T10:22:47.463Z] $ docker exec 03c3bcd9760e030ea2574c372f35fdfcda23e1d4a4d453a5568338b1bd2a4240 ssh-agent [2021-02-17T10:22:47.640Z] SSH_AUTH_SOCK=/tmp/ssh-u2oFxIaMC5EU/agent.11 [2021-02-17T10:22:47.640Z] SSH_AGENT_PID=16 [2021-02-17T10:22:47.646Z] Running ssh-add (command line suppressed) [2021-02-17T10:22:47.773Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2289960854843438717.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2289960854843438717.key) [2021-02-17T10:22:47.831Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-17T10:22:48.161Z] + git semver push [2021-02-17T10:22:48.161Z] # -> Open(): unable to determine branch for HEAD [2021-02-17T10:22:48.161Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-17T10:22:48.161Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-17T10:22:48.161Z] # $SEMVER_REMOTE_NAME = origin [2021-02-17T10:22:48.161Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-17T10:22:48.161Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-17T10:22:48.161Z] # $SEMVER_BRANCH = master [2021-02-17T10:22:48.161Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-02-17T10:22:54.777Z] $ docker exec --env ******** --env ******** 03c3bcd9760e030ea2574c372f35fdfcda23e1d4a4d453a5568338b1bd2a4240 ssh-agent -k [2021-02-17T10:22:54.903Z] unset SSH_AUTH_SOCK; [2021-02-17T10:22:54.904Z] unset SSH_AGENT_PID; [2021-02-17T10:22:54.904Z] echo Agent pid 16 killed; [2021-02-17T10:22:54.960Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-17T10:22:55.413Z] + git semver [Pipeline] } [2021-02-17T10:22:55.430Z] $ docker stop --time=1 03c3bcd9760e030ea2574c372f35fdfcda23e1d4a4d453a5568338b1bd2a4240 [2021-02-17T10:22:56.785Z] $ docker rm -f 03c3bcd9760e030ea2574c372f35fdfcda23e1d4a4d453a5568338b1bd2a4240 [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-02-17T10:22:58.263Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:22:58.833Z] ---> package-listing.sh [2021-02-17T10:22:58.833Z] ++ facter osfamily [2021-02-17T10:22:58.833Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-17T10:22:58.833Z] + OS_FAMILY=redhat [2021-02-17T10:22:58.833Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-02-17T10:22:58.833Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-17T10:22:58.833Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-17T10:22:58.833Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-17T10:22:58.833Z] + PACKAGES=/tmp/packages_start.txt [2021-02-17T10:22:58.833Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-02-17T10:22:58.833Z] + PACKAGES=/tmp/packages_end.txt [2021-02-17T10:22:58.833Z] + case "${OS_FAMILY}" in [2021-02-17T10:22:58.833Z] + rpm -qa [2021-02-17T10:22:58.833Z] + sort [2021-02-17T10:23:04.135Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-17T10:23:04.135Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-17T10:23:04.135Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-17T10:23:04.135Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-02-17T10:23:04.135Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-02-17T10:23:04.135Z] + 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-02-17T10:23:04.150Z] 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-02-17T10:23:04.443Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:23:04.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-17T10:23:04.745Z] [2021-02-17T10:23:04.745Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-17T10:23:05.092Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-17T10:23:05.092Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-17T10:23:05.092Z] df20fa9351a1: Pulling fs layer [2021-02-17T10:23:05.092Z] 36b3adc4ff6f: Pulling fs layer [2021-02-17T10:23:05.092Z] 8ad3a11d3b57: Pulling fs layer [2021-02-17T10:23:05.092Z] 46f8f816bc3b: Pulling fs layer [2021-02-17T10:23:05.092Z] 93b61091891f: Pulling fs layer [2021-02-17T10:23:05.092Z] 93b9cdb0e59b: Pulling fs layer [2021-02-17T10:23:05.092Z] 5e14af77c1be: Pulling fs layer [2021-02-17T10:23:05.092Z] 01666e4c0597: Pulling fs layer [2021-02-17T10:23:05.092Z] aa168da1d23b: Pulling fs layer [2021-02-17T10:23:05.092Z] 93b61091891f: Waiting [2021-02-17T10:23:05.092Z] 93b9cdb0e59b: Waiting [2021-02-17T10:23:05.092Z] 5e14af77c1be: Waiting [2021-02-17T10:23:05.092Z] 01666e4c0597: Waiting [2021-02-17T10:23:05.092Z] aa168da1d23b: Waiting [2021-02-17T10:23:05.092Z] 46f8f816bc3b: Waiting [2021-02-17T10:23:05.092Z] 36b3adc4ff6f: Download complete [2021-02-17T10:23:05.355Z] 46f8f816bc3b: Verifying Checksum [2021-02-17T10:23:05.355Z] 46f8f816bc3b: Download complete [2021-02-17T10:23:05.355Z] df20fa9351a1: Verifying Checksum [2021-02-17T10:23:05.355Z] df20fa9351a1: Download complete [2021-02-17T10:23:05.355Z] 93b9cdb0e59b: Verifying Checksum [2021-02-17T10:23:05.355Z] 93b9cdb0e59b: Download complete [2021-02-17T10:23:05.355Z] 93b61091891f: Verifying Checksum [2021-02-17T10:23:05.355Z] 93b61091891f: Download complete [2021-02-17T10:23:05.355Z] 5e14af77c1be: Verifying Checksum [2021-02-17T10:23:05.355Z] 5e14af77c1be: Download complete [2021-02-17T10:23:05.355Z] 01666e4c0597: Download complete [2021-02-17T10:23:05.617Z] 8ad3a11d3b57: Verifying Checksum [2021-02-17T10:23:05.617Z] 8ad3a11d3b57: Download complete [2021-02-17T10:23:05.617Z] df20fa9351a1: Pull complete [2021-02-17T10:23:05.883Z] 36b3adc4ff6f: Pull complete [2021-02-17T10:23:06.838Z] 8ad3a11d3b57: Pull complete [2021-02-17T10:23:06.838Z] 46f8f816bc3b: Pull complete [2021-02-17T10:23:07.415Z] 93b61091891f: Pull complete [2021-02-17T10:23:07.678Z] 93b9cdb0e59b: Pull complete [2021-02-17T10:23:07.941Z] aa168da1d23b: Verifying Checksum [2021-02-17T10:23:07.941Z] aa168da1d23b: Download complete [2021-02-17T10:23:08.203Z] 5e14af77c1be: Pull complete [2021-02-17T10:23:08.203Z] 01666e4c0597: Pull complete [2021-02-17T10:23:14.831Z] aa168da1d23b: Pull complete [2021-02-17T10:23:14.831Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-17T10:23:14.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-17T10:23:14.831Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-17T10:23:15.000Z] prd-centos7-docker-4c-2g-26659 does not seem to be running inside a container [2021-02-17T10:23:15.044Z] $ 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-02-17T10:23:17.531Z] $ docker top 5e1e6246c93079cb7a02bc71a9901dbe717626a18bf6d2f71e747618bfa20cdb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-17T10:23:18.002Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-17T10:23:18.300Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-17T10:23:18.596Z] + ls /var/log/sa-host [2021-02-17T10:23:18.596Z] + sadf -c /var/log/sa-host/sa17 [2021-02-17T10:23:18.596Z] file_magic: OK [2021-02-17T10:23:18.596Z] HZ: Using current value: 100 [2021-02-17T10:23:18.596Z] file_header: OK [2021-02-17T10:23:18.596Z] 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-02-17T10:23:18.596Z] Statistics: [2021-02-17T10:23:18.596Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-17T10:23:18.596Z] File successfully converted to sysstat format version 12.2.1 [2021-02-17T10:23:18.596Z] + sadf -c /var/log/sa-host/sa23 [2021-02-17T10:23:18.596Z] file_magic: OK [2021-02-17T10:23:18.596Z] HZ: Using current value: 100 [2021-02-17T10:23:18.596Z] file_header: OK [2021-02-17T10:23:18.596Z] 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-02-17T10:23:18.596Z] Statistics: [2021-02-17T10:23:18.596Z] Hnuu...uuuununununu... [2021-02-17T10:23:18.596Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-17T10:23:19.224Z] provisioning config files... [2021-02-17T10:23:19.240Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config854623002066933023tmp [Pipeline] { [Pipeline] echo [2021-02-17T10:23:19.311Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:23:19.619Z] ---> create-netrc.sh [Pipeline] } [2021-02-17T10:23:19.630Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-17T10:23:19.746Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:23:20.061Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-17T10:23:20.071Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:23:20.368Z] ---> sudo-logs.sh [2021-02-17T10:23:20.368Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-17T10:23:20.455Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:23:21.103Z] ---> job-cost.sh [2021-02-17T10:23:21.103Z] lf-activate-venv: SKIPPING [2021-02-17T10:23:21.103Z] INFO: No Stack... [2021-02-17T10:23:22.495Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-17T10:23:23.071Z] INFO: Archiving Costs [Pipeline] echo [2021-02-17T10:23:23.085Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-17T10:23:23.381Z] ---> logs-deploy.sh [2021-02-17T10:23:23.381Z] lf-activate-venv: SKIPPING [2021-02-17T10:23:23.381Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/116 [2021-02-17T10:23:23.381Z] INFO: archiving workspace using pattern(s): [2021-02-17T10:23:25.298Z] Archives upload complete. [2021-02-17T10:23:25.298Z] INFO: archiving logs to Nexus