Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cbcd560d226450c2fc49532ec953a0990705dfef Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-13543 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 cbcd560d226450c2fc49532ec953a0990705dfef (master) > git config core.sparsecheckout # timeout=10 > git checkout -f cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 Commit message: "Merge pull request #659 from edgexfoundry/dependabot/go_modules/gopkg.in/yaml.v2-2.4.0" > git rev-list --no-walk 3d8962a40545ef0adb8ef75e097226374dd52980 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-26T08:56:59.227Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-26T08:56:59.507Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-26T08:56:59.606Z] ========================================================= [2020-11-26T08:56:59.606Z] EdgeX Global Pipelines Version Info [2020-11-26T08:56:59.606Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-26T08:57:01.112Z] ------------------- [2020-11-26T08:57:01.113Z] stable info: [2020-11-26T08:57:01.113Z] ------------------- [2020-11-26T08:57:01.113Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-26T08:57:01.113Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-26T08:57:01.113Z] Message: update stable to v1.0.167 [2020-11-26T08:57:02.058Z] ------------------- [2020-11-26T08:57:02.058Z] experimental info: [2020-11-26T08:57:02.058Z] ------------------- [2020-11-26T08:57:02.058Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-26T08:57:02.058Z] Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a [2020-11-26T08:57:02.058Z] Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-26T08:57:02.476Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-11-26T08:57:02.598Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-11-26T08:57:02.698Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-26T08:57:02.822Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-26T08:57:02.914Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-26T08:57:03.004Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-26T08:57:03.137Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-26T08:57:03.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-26T08:57:03.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-11-26T08:57:03.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-26T08:57:03.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-26T08:57:03.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-11-26T08:57:03.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-26T08:57:03.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-26T08:57:03.918Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-26T08:57:04.023Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T08:57:04.115Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T08:57:04.234Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T08:57:04.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-26T08:57:04.444Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-26T08:57:04.536Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-11-26T08:57:04.627Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-11-26T08:57:04.755Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-26T08:57:04.850Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-26T08:57:04.947Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-26T08:57:05.045Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-26T08:57:05.155Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-11-26T08:57:05.259Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-11-26T08:57:05.362Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-11-26T08:57:05.451Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbcd560d226450c2fc49532ec953a0990705dfef [Pipeline] echo [2020-11-26T08:57:05.538Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbcd560 [Pipeline] echo [2020-11-26T08:57:05.630Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T08:57:05.809Z] provisioning config files... [2020-11-26T08:57:05.844Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8471000562426638930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T08:57:06.212Z] ---> docker-login.sh [2020-11-26T08:57:06.212Z] nexus3.edgexfoundry.org:10001 [2020-11-26T08:57:06.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:57:06.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:57:06.744Z] Configure a credential helper to remove this warning. See [2020-11-26T08:57:06.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:57:06.744Z] [2020-11-26T08:57:06.744Z] Login Succeeded [2020-11-26T08:57:06.744Z] nexus3.edgexfoundry.org:10002 [2020-11-26T08:57:06.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:57:07.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:57:07.009Z] Configure a credential helper to remove this warning. See [2020-11-26T08:57:07.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:57:07.009Z] [2020-11-26T08:57:07.009Z] Login Succeeded [2020-11-26T08:57:07.009Z] nexus3.edgexfoundry.org:10003 [2020-11-26T08:57:07.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:57:07.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:57:07.009Z] Configure a credential helper to remove this warning. See [2020-11-26T08:57:07.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:57:07.009Z] [2020-11-26T08:57:07.009Z] Login Succeeded [2020-11-26T08:57:07.009Z] nexus3.edgexfoundry.org:10004 [2020-11-26T08:57:07.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:57:07.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:57:07.272Z] Configure a credential helper to remove this warning. See [2020-11-26T08:57:07.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:57:07.272Z] [2020-11-26T08:57:07.272Z] Login Succeeded [2020-11-26T08:57:07.272Z] docker.io [2020-11-26T08:57:07.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:57:07.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:57:07.536Z] Configure a credential helper to remove this warning. See [2020-11-26T08:57:07.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:57:07.536Z] [2020-11-26T08:57:07.536Z] Login Succeeded [2020-11-26T08:57:07.536Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T08:57:07.547Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T08:57:08.322Z] + git log --format=format:%s -1 cbcd560d226450c2fc49532ec953a0990705dfef [Pipeline] echo [2020-11-26T08:57:08.392Z] GIT_COMMIT: cbcd560d226450c2fc49532ec953a0990705dfef, Commit Message: Merge pull request #659 from edgexfoundry/dependabot/go_modules/gopkg.in/yaml.v2-2.4.0 [Pipeline] echo [2020-11-26T08:57:08.447Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-26T08:57:09.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T08:57:09.533Z] [2020-11-26T08:57:09.533Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-26T08:57:09.891Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T08:57:09.891Z] latest: Pulling from edgex-devops/git-semver [2020-11-26T08:57:09.891Z] 31603596830f: Pulling fs layer [2020-11-26T08:57:09.891Z] 2a8b12db71e7: Pulling fs layer [2020-11-26T08:57:09.891Z] 6ca5941a6612: Pulling fs layer [2020-11-26T08:57:09.891Z] ecc8261a40a4: Pulling fs layer [2020-11-26T08:57:09.891Z] ecc8261a40a4: Waiting [2020-11-26T08:57:09.891Z] 2a8b12db71e7: Download complete [2020-11-26T08:57:09.891Z] 31603596830f: Verifying Checksum [2020-11-26T08:57:09.891Z] 31603596830f: Download complete [2020-11-26T08:57:10.155Z] ecc8261a40a4: Verifying Checksum [2020-11-26T08:57:10.155Z] ecc8261a40a4: Download complete [2020-11-26T08:57:10.155Z] 6ca5941a6612: Verifying Checksum [2020-11-26T08:57:10.155Z] 6ca5941a6612: Download complete [2020-11-26T08:57:10.418Z] 31603596830f: Pull complete [2020-11-26T08:57:10.418Z] 2a8b12db71e7: Pull complete [2020-11-26T08:57:11.372Z] 6ca5941a6612: Pull complete [2020-11-26T08:57:11.635Z] ecc8261a40a4: Pull complete [2020-11-26T08:57:11.635Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-26T08:57:11.635Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T08:57:11.635Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-26T08:57:11.747Z] prd-centos7-docker-4c-2g-13543 does not seem to be running inside a container [2020-11-26T08:57:11.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-26T08:57:13.874Z] $ docker top 62735b19fd50e2c9821a52e808050c11261fa3d7b759dd301f1db5b3611787f3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-26T08:57:14.204Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T08:57:14.205Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T08:57:14.425Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T08:57:14.435Z] $ docker exec 62735b19fd50e2c9821a52e808050c11261fa3d7b759dd301f1db5b3611787f3 ssh-agent [2020-11-26T08:57:14.586Z] SSH_AUTH_SOCK=/tmp/ssh-3eVzhA06tccJ/agent.11 [2020-11-26T08:57:14.586Z] SSH_AGENT_PID=16 [2020-11-26T08:57:14.596Z] Running ssh-add (command line suppressed) [2020-11-26T08:57:14.720Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3916864970878655481.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3916864970878655481.key) [2020-11-26T08:57:14.764Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T08:57:15.100Z] + git tag --points-at HEAD [Pipeline] } [2020-11-26T08:57:15.129Z] $ docker exec --env ******** --env ******** 62735b19fd50e2c9821a52e808050c11261fa3d7b759dd301f1db5b3611787f3 ssh-agent -k [2020-11-26T08:57:15.248Z] unset SSH_AUTH_SOCK; [2020-11-26T08:57:15.249Z] unset SSH_AGENT_PID; [2020-11-26T08:57:15.249Z] echo Agent pid 16 killed; [2020-11-26T08:57:15.293Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-26T08:57:15.466Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T08:57:15.466Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T08:57:15.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T08:57:15.638Z] $ docker exec 62735b19fd50e2c9821a52e808050c11261fa3d7b759dd301f1db5b3611787f3 ssh-agent [2020-11-26T08:57:15.786Z] SSH_AUTH_SOCK=/tmp/ssh-SstxwzC68sa6/agent.45 [2020-11-26T08:57:15.786Z] SSH_AGENT_PID=51 [2020-11-26T08:57:15.793Z] Running ssh-add (command line suppressed) [2020-11-26T08:57:15.911Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1268653565516818853.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1268653565516818853.key) [2020-11-26T08:57:15.958Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T08:57:16.299Z] + git semver init [2020-11-26T08:57:16.299Z] # -> Open(): unable to determine branch for HEAD [2020-11-26T08:57:16.299Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-26T08:57:16.299Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T08:57:16.299Z] # $SEMVER_REMOTE_NAME = origin [2020-11-26T08:57:16.299Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-26T08:57:16.299Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-26T08:57:16.299Z] # $SEMVER_BRANCH = master [2020-11-26T08:57:16.299Z] # $SEMVER_TEMP = /tmp/semver-585732255 [2020-11-26T08:57:16.299Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-11-26T08:57:16.876Z] # '/tmp/semver-585732255' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-11-26T08:57:16.876Z] # -> Force: false [2020-11-26T08:57:16.876Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-11-26T08:57:16.896Z] $ docker exec --env ******** --env ******** 62735b19fd50e2c9821a52e808050c11261fa3d7b759dd301f1db5b3611787f3 ssh-agent -k [2020-11-26T08:57:17.003Z] unset SSH_AUTH_SOCK; [2020-11-26T08:57:17.003Z] unset SSH_AGENT_PID; [2020-11-26T08:57:17.003Z] echo Agent pid 51 killed; [2020-11-26T08:57:17.044Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-26T08:57:17.523Z] + git semver [Pipeline] } [2020-11-26T08:57:17.546Z] $ docker stop --time=1 62735b19fd50e2c9821a52e808050c11261fa3d7b759dd301f1db5b3611787f3 [2020-11-26T08:57:18.941Z] $ docker rm -f 62735b19fd50e2c9821a52e808050c11261fa3d7b759dd301f1db5b3611787f3 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T08:57:19.397Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-26T08:57:19.793Z] Stashed 1 file(s) [Pipeline] echo [2020-11-26T08:57:19.796Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-11-26T08:57:35.508Z] Still waiting to schedule task [2020-11-26T08:57:35.508Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13543’ [2020-11-26T08:57:35.511Z] Still waiting to schedule task [2020-11-26T08:57:35.511Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline [2020-11-26T08:59:18.730Z] Running on prd-centos7-docker-4c-2g-13549 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-11-26T08:59:18.834Z] Running in /w/workspace/device-sdk-go/91 [Pipeline] { [Pipeline] checkout [2020-11-26T08:59:21.368Z] using credential edgex-jenkins-ssh [2020-11-26T08:59:21.444Z] Cloning the remote Git repository [2020-11-26T08:59:21.475Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T08:59:21.554Z] > git init /w/workspace/device-sdk-go/91 # timeout=10 [2020-11-26T08:59:21.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T08:59:21.624Z] > git --version # timeout=10 [2020-11-26T08:59:21.631Z] > git --version # 'git version 2.24.3' [2020-11-26T08:59:21.632Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T08:59:21.665Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T08:59:22.302Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-26T08:59:22.308Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T08:59:22.319Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-26T08:59:22.330Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T08:59:22.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T08:59:22.335Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-26T08:59:22.799Z] Checking out Revision cbcd560d226450c2fc49532ec953a0990705dfef (master) [2020-11-26T08:59:22.810Z] > git config core.sparsecheckout # timeout=10 [2020-11-26T08:59:22.816Z] > git checkout -f cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 [2020-11-26T08:59:26.504Z] Commit message: "Merge pull request #659 from edgexfoundry/dependabot/go_modules/gopkg.in/yaml.v2-2.4.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T08:59:27.659Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-11-26T08:59:27.997Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-26T08:59:28.304Z] + sudo service docker restart [2020-11-26T08:59:28.304Z] + true [2020-11-26T08:59:28.304Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T08:59:29.338Z] provisioning config files... [2020-11-26T08:59:29.366Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/91@tmp/config5044807185780412992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T08:59:29.732Z] ---> docker-login.sh [2020-11-26T08:59:29.732Z] nexus3.edgexfoundry.org:10001 [2020-11-26T08:59:29.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:59:30.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:59:30.950Z] Configure a credential helper to remove this warning. See [2020-11-26T08:59:30.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:59:30.950Z] [2020-11-26T08:59:30.950Z] Login Succeeded [2020-11-26T08:59:30.950Z] nexus3.edgexfoundry.org:10002 [2020-11-26T08:59:30.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:59:30.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:59:30.950Z] Configure a credential helper to remove this warning. See [2020-11-26T08:59:30.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:59:30.950Z] [2020-11-26T08:59:30.950Z] Login Succeeded [2020-11-26T08:59:30.950Z] nexus3.edgexfoundry.org:10003 [2020-11-26T08:59:31.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:59:31.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:59:31.241Z] Configure a credential helper to remove this warning. See [2020-11-26T08:59:31.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:59:31.241Z] [2020-11-26T08:59:31.241Z] Login Succeeded [2020-11-26T08:59:31.241Z] nexus3.edgexfoundry.org:10004 [2020-11-26T08:59:31.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:59:31.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:59:31.241Z] Configure a credential helper to remove this warning. See [2020-11-26T08:59:31.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:59:31.241Z] [2020-11-26T08:59:31.241Z] Login Succeeded [2020-11-26T08:59:31.241Z] docker.io [2020-11-26T08:59:31.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:59:31.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:59:31.772Z] Configure a credential helper to remove this warning. See [2020-11-26T08:59:31.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:59:31.772Z] [2020-11-26T08:59:31.772Z] Login Succeeded [2020-11-26T08:59:31.772Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T08:59:31.785Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-26T08:59:32.105Z] ========================================================= [2020-11-26T08:59:32.105Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-26T08:59:32.105Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-26T08:59:32.474Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-11-26T08:59:32.736Z] Sending build context to Docker daemon 2.348MB [2020-11-26T08:59:32.736Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-26T08:59:32.736Z] Step 2/8 : FROM ${BASE} [2020-11-26T08:59:33.003Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-26T08:59:33.003Z] df20fa9351a1: Pulling fs layer [2020-11-26T08:59:33.003Z] ed8968b2872e: Pulling fs layer [2020-11-26T08:59:33.003Z] a92cc7c5fd73: Pulling fs layer [2020-11-26T08:59:33.003Z] e871e8e8d7a9: Pulling fs layer [2020-11-26T08:59:33.003Z] e73272ec9a57: Pulling fs layer [2020-11-26T08:59:33.003Z] 1e910a182e73: Pulling fs layer [2020-11-26T08:59:33.003Z] 4e634b169226: Pulling fs layer [2020-11-26T08:59:33.003Z] e871e8e8d7a9: Waiting [2020-11-26T08:59:33.003Z] e73272ec9a57: Waiting [2020-11-26T08:59:33.003Z] 1e910a182e73: Waiting [2020-11-26T08:59:33.003Z] 4e634b169226: Waiting [2020-11-26T08:59:33.003Z] a92cc7c5fd73: Verifying Checksum [2020-11-26T08:59:33.003Z] a92cc7c5fd73: Download complete [2020-11-26T08:59:33.003Z] ed8968b2872e: Download complete [2020-11-26T08:59:33.003Z] e73272ec9a57: Verifying Checksum [2020-11-26T08:59:33.003Z] e73272ec9a57: Download complete [2020-11-26T08:59:33.003Z] df20fa9351a1: Verifying Checksum [2020-11-26T08:59:33.003Z] df20fa9351a1: Download complete [2020-11-26T08:59:33.268Z] df20fa9351a1: Pull complete [2020-11-26T08:59:33.268Z] 1e910a182e73: Verifying Checksum [2020-11-26T08:59:33.268Z] 1e910a182e73: Download complete [2020-11-26T08:59:33.496Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13546 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [2020-11-26T08:59:33.546Z] ed8968b2872e: Pull complete [2020-11-26T08:59:33.546Z] a92cc7c5fd73: Pull complete [Pipeline] ws [2020-11-26T08:59:33.558Z] Running in /w/workspace/device-sdk-go/91 [Pipeline] { [Pipeline] checkout [2020-11-26T08:59:34.502Z] 4e634b169226: Verifying Checksum [2020-11-26T08:59:34.502Z] 4e634b169226: Download complete [2020-11-26T08:59:35.454Z] e871e8e8d7a9: Verifying Checksum [2020-11-26T08:59:35.454Z] e871e8e8d7a9: Download complete [2020-11-26T08:59:38.559Z] using credential edgex-jenkins-ssh [2020-11-26T08:59:38.621Z] Cloning the remote Git repository [2020-11-26T08:59:38.668Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T08:59:38.783Z] > git init /w/workspace/device-sdk-go/91 # timeout=10 [2020-11-26T08:59:38.880Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T08:59:38.880Z] > git --version # timeout=10 [2020-11-26T08:59:38.901Z] > git --version # 'git version 2.17.1' [2020-11-26T08:59:38.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T08:59:38.969Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T08:59:40.666Z] Checking out Revision cbcd560d226450c2fc49532ec953a0990705dfef (master) [2020-11-26T08:59:40.802Z] e871e8e8d7a9: Pull complete [2020-11-26T08:59:40.802Z] e73272ec9a57: Pull complete [2020-11-26T08:59:40.802Z] 1e910a182e73: Pull complete [2020-11-26T08:59:40.061Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-26T08:59:40.078Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T08:59:40.116Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-26T08:59:40.151Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T08:59:40.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T08:59:40.164Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-26T08:59:40.670Z] > git config core.sparsecheckout # timeout=10 [2020-11-26T08:59:40.697Z] > git checkout -f cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 [2020-11-26T08:59:45.101Z] Commit message: "Merge pull request #659 from edgexfoundry/dependabot/go_modules/gopkg.in/yaml.v2-2.4.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T08:59:46.145Z] 4e634b169226: Pull complete [2020-11-26T08:59:46.145Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-26T08:59:46.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-26T08:59:46.145Z] ---> f7629b54cfaa [2020-11-26T08:59:46.145Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T08:59:46.145Z] ---> Running in 0a43b0e8aa83 [2020-11-26T08:59:46.145Z] Removing intermediate container 0a43b0e8aa83 [2020-11-26T08:59:46.145Z] ---> 4f1f360cde45 [2020-11-26T08:59:46.145Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-26T08:59:46.145Z] ---> Running in 76c0bfaec49c [2020-11-26T08:59:46.515Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-11-26T08:59:46.917Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-26T08:59:47.103Z] Removing intermediate container 76c0bfaec49c [2020-11-26T08:59:47.103Z] ---> b97207514808 [2020-11-26T08:59:47.103Z] Step 5/8 : RUN apk add --no-cache make git [2020-11-26T08:59:47.103Z] ---> Running in 5a9df1e6b126 [2020-11-26T08:59:47.271Z] + true [2020-11-26T08:59:47.271Z] + sudo service docker restart [2020-11-26T08:59:48.055Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-26T08:59:48.631Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-26T08:59:49.206Z] OK: 166 MiB in 39 packages [2020-11-26T08:59:49.469Z] Removing intermediate container 5a9df1e6b126 [2020-11-26T08:59:49.469Z] ---> 154bd3a39469 [2020-11-26T08:59:49.469Z] Step 6/8 : WORKDIR /device-sdk-go [2020-11-26T08:59:49.734Z] ---> Running in da4df209c78b [2020-11-26T08:59:49.734Z] Removing intermediate container da4df209c78b [2020-11-26T08:59:49.734Z] ---> 943e1c94e4c2 [2020-11-26T08:59:49.734Z] Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T08:59:49.994Z] provisioning config files... [2020-11-26T08:59:50.037Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/91@tmp/config4351844789605798246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T08:59:50.447Z] ---> docker-login.sh [2020-11-26T08:59:50.447Z] nexus3.edgexfoundry.org:10001 [2020-11-26T08:59:51.144Z] ---> fa33e54db124 [2020-11-26T08:59:51.144Z] Step 8/8 : RUN go mod download [2020-11-26T08:59:51.144Z] ---> Running in d515035a70fc [2020-11-26T08:59:51.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:59:51.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:59:51.715Z] Configure a credential helper to remove this warning. See [2020-11-26T08:59:51.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:59:51.715Z] [2020-11-26T08:59:51.715Z] Login Succeeded [2020-11-26T08:59:51.715Z] nexus3.edgexfoundry.org:10002 [2020-11-26T08:59:51.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:59:52.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:59:52.270Z] Configure a credential helper to remove this warning. See [2020-11-26T08:59:52.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:59:52.270Z] [2020-11-26T08:59:52.270Z] Login Succeeded [2020-11-26T08:59:52.270Z] nexus3.edgexfoundry.org:10003 [2020-11-26T08:59:52.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:59:52.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:59:52.821Z] Configure a credential helper to remove this warning. See [2020-11-26T08:59:52.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:59:52.821Z] [2020-11-26T08:59:52.821Z] Login Succeeded [2020-11-26T08:59:52.821Z] nexus3.edgexfoundry.org:10004 [2020-11-26T08:59:53.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:59:53.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:59:53.375Z] Configure a credential helper to remove this warning. See [2020-11-26T08:59:53.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:59:53.375Z] [2020-11-26T08:59:53.375Z] Login Succeeded [2020-11-26T08:59:53.375Z] docker.io [2020-11-26T08:59:53.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T08:59:54.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T08:59:54.247Z] Configure a credential helper to remove this warning. See [2020-11-26T08:59:54.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T08:59:54.247Z] [2020-11-26T08:59:54.247Z] Login Succeeded [2020-11-26T08:59:54.247Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T08:59:54.265Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-26T08:59:54.683Z] ========================================================= [2020-11-26T08:59:54.683Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-26T08:59:54.683Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-26T08:59:55.062Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-11-26T08:59:55.688Z] Sending build context to Docker daemon 2.346MB [2020-11-26T08:59:55.688Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-26T08:59:55.688Z] Step 2/8 : FROM ${BASE} [2020-11-26T08:59:55.688Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-26T08:59:55.688Z] b538f80385f9: Pulling fs layer [2020-11-26T08:59:55.688Z] 74f711af9a0d: Pulling fs layer [2020-11-26T08:59:55.688Z] 99f96fe45779: Pulling fs layer [2020-11-26T08:59:55.688Z] 8529a6b9a6be: Pulling fs layer [2020-11-26T08:59:55.688Z] 45590311c82a: Pulling fs layer [2020-11-26T08:59:55.688Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-26T08:59:55.688Z] 209524e5b208: Pulling fs layer [2020-11-26T08:59:55.688Z] 8529a6b9a6be: Waiting [2020-11-26T08:59:55.688Z] 45590311c82a: Waiting [2020-11-26T08:59:55.688Z] 69ca0ff8b7b3: Waiting [2020-11-26T08:59:55.688Z] 209524e5b208: Waiting [2020-11-26T08:59:55.688Z] 99f96fe45779: Verifying Checksum [2020-11-26T08:59:55.688Z] 99f96fe45779: Download complete [2020-11-26T08:59:55.688Z] 74f711af9a0d: Verifying Checksum [2020-11-26T08:59:55.688Z] 74f711af9a0d: Download complete [2020-11-26T08:59:55.688Z] 45590311c82a: Verifying Checksum [2020-11-26T08:59:55.688Z] 45590311c82a: Download complete [2020-11-26T08:59:55.688Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-26T08:59:55.688Z] 69ca0ff8b7b3: Download complete [2020-11-26T08:59:55.968Z] b538f80385f9: Download complete [2020-11-26T08:59:56.611Z] b538f80385f9: Pull complete [2020-11-26T08:59:57.233Z] 74f711af9a0d: Pull complete [2020-11-26T08:59:57.509Z] 99f96fe45779: Pull complete [2020-11-26T08:59:59.477Z] 209524e5b208: Download complete [2020-11-26T09:00:00.452Z] 8529a6b9a6be: Verifying Checksum [2020-11-26T09:00:00.452Z] 8529a6b9a6be: Download complete [2020-11-26T09:00:10.649Z] 8529a6b9a6be: Pull complete [2020-11-26T09:00:10.649Z] 45590311c82a: Pull complete [2020-11-26T09:00:10.929Z] 69ca0ff8b7b3: Pull complete [2020-11-26T09:00:15.259Z] 209524e5b208: Pull complete [2020-11-26T09:00:15.259Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-26T09:00:15.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-26T09:00:15.259Z] ---> 5bddaf1c2fca [2020-11-26T09:00:15.259Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T09:00:17.252Z] ---> Running in d84043d96e5a [2020-11-26T09:00:17.853Z] Removing intermediate container d84043d96e5a [2020-11-26T09:00:17.853Z] ---> 8e1528335cb1 [2020-11-26T09:00:17.853Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-26T09:00:17.853Z] ---> Running in fc5c74cc7e05 [2020-11-26T09:00:20.486Z] Removing intermediate container fc5c74cc7e05 [2020-11-26T09:00:20.486Z] ---> fb573722007a [2020-11-26T09:00:20.486Z] Step 5/8 : RUN apk add --no-cache make git [2020-11-26T09:00:20.486Z] ---> Running in 944bf534d8aa [2020-11-26T09:00:21.474Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-26T09:00:22.070Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-26T09:00:22.667Z] OK: 142 MiB in 39 packages [2020-11-26T09:00:24.122Z] Removing intermediate container 944bf534d8aa [2020-11-26T09:00:24.122Z] ---> 07b9be5d2bd3 [2020-11-26T09:00:24.122Z] Step 6/8 : WORKDIR /device-sdk-go [2020-11-26T09:00:24.122Z] ---> Running in ea97dd0cd8bd [2020-11-26T09:00:24.402Z] Removing intermediate container ea97dd0cd8bd [2020-11-26T09:00:24.402Z] ---> 9cdbdbc44f86 [2020-11-26T09:00:24.402Z] Step 7/8 : COPY . . [2020-11-26T09:00:25.862Z] ---> d8ea9c00b0ee [2020-11-26T09:00:25.862Z] Step 8/8 : RUN go mod download [2020-11-26T09:00:25.862Z] ---> Running in fc85ef8e098c [2020-11-26T09:01:57.768Z] Removing intermediate container d515035a70fc [2020-11-26T09:01:57.768Z] ---> 3d32c2b59d04 [2020-11-26T09:01:57.768Z] Successfully built 3d32c2b59d04 [2020-11-26T09:01:57.768Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-26T09:01:58.086Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-26T09:01:58.086Z] . [Pipeline] withDockerContainer [2020-11-26T09:01:58.208Z] prd-centos7-docker-4c-2g-13549 does not seem to be running inside a container [2020-11-26T09:01:58.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/91 -v /w/workspace/device-sdk-go/91:/w/workspace/device-sdk-go/91:rw,z -v /w/workspace/device-sdk-go/91@tmp:/w/workspace/device-sdk-go/91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-26T09:01:59.000Z] $ docker top 6e5918f254e70d90cee339db18765e9ba0227560455100e7c3d810d3d03a72ca -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T09:01:59.590Z] + go version [2020-11-26T09:01:59.590Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-26T09:01:59.607Z] $ docker stop --time=1 6e5918f254e70d90cee339db18765e9ba0227560455100e7c3d810d3d03a72ca [2020-11-26T09:02:00.977Z] $ docker rm -f 6e5918f254e70d90cee339db18765e9ba0227560455100e7c3d810d3d03a72ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-26T09:02:02.412Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-26T09:02:02.412Z] . [Pipeline] withDockerContainer [2020-11-26T09:02:02.513Z] prd-centos7-docker-4c-2g-13549 does not seem to be running inside a container [2020-11-26T09:02:02.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/91 -v /w/workspace/device-sdk-go/91:/w/workspace/device-sdk-go/91:rw,z -v /w/workspace/device-sdk-go/91@tmp:/w/workspace/device-sdk-go/91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-26T09:02:03.305Z] $ docker top 7f7a33e402bc2c0bb77d89afe5d53ea28002055d6a4bca2ca90145c78951e03c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T09:02:03.884Z] + make test [2020-11-26T09:02:03.884Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-11-26T09:02:12.099Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-11-26T09:02:27.144Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-11-26T09:02:27.144Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-11-26T09:02:27.144Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-11-26T09:02:27.144Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.063s coverage: 20.6% of statements [2020-11-26T09:02:28.097Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.460s coverage: 97.1% of statements [2020-11-26T09:03:00.265Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.063s coverage: 9.4% of statements [2020-11-26T09:03:00.265Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements [2020-11-26T09:03:00.265Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-11-26T09:03:00.265Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.222s coverage: 42.5% of statements [2020-11-26T09:03:00.265Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-11-26T09:03:00.265Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.297s coverage: 68.9% of statements [2020-11-26T09:03:00.265Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-11-26T09:03:00.265Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-11-26T09:03:00.265Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-11-26T09:03:00.265Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-11-26T09:03:00.265Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-11-26T09:03:00.265Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-11-26T09:03:00.265Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-11-26T09:03:00.265Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-11-26T09:03:00.265Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.340s coverage: 68.9% of statements [2020-11-26T09:03:00.265Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.053s coverage: 4.7% of statements [2020-11-26T09:03:00.265Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-11-26T09:03:00.265Z] GO111MODULE=on go vet ./... [2020-11-26T09:03:06.915Z] gofmt -l . [2020-11-26T09:03:06.915Z] [ "`gofmt -l .`" = "" ] [2020-11-26T09:03:06.915Z] ./bin/test-attribution-txt.sh [2020-11-26T09:03:06.915Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-26T09:03:06.934Z] $ docker stop --time=1 7f7a33e402bc2c0bb77d89afe5d53ea28002055d6a4bca2ca90145c78951e03c [2020-11-26T09:03:08.823Z] $ docker rm -f 7f7a33e402bc2c0bb77d89afe5d53ea28002055d6a4bca2ca90145c78951e03c [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T09:03:09.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-26T09:03:09.851Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-26T09:03:12.499Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-26T09:03:12.799Z] + ls -al . [2020-11-26T09:03:12.799Z] total 208 [2020-11-26T09:03:12.799Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 26 09:03 . [2020-11-26T09:03:12.799Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 26 08:59 .. [2020-11-26T09:03:12.799Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 26 08:59 bin [2020-11-26T09:03:12.799Z] -rw-r--r--. 1 jenkins jenkins 127611 Nov 26 09:02 coverage.out [2020-11-26T09:03:12.799Z] -rw-rw-r--. 1 jenkins jenkins 936 Nov 26 08:59 Dockerfile.build [2020-11-26T09:03:12.800Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 26 08:59 .dockerignore [2020-11-26T09:03:12.800Z] drwxrwxr-x. 4 jenkins jenkins 48 Nov 26 08:59 example [2020-11-26T09:03:12.800Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 26 08:59 .git [2020-11-26T09:03:12.800Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 26 08:59 .github [2020-11-26T09:03:12.800Z] -rw-rw-r--. 1 jenkins jenkins 138 Nov 26 08:59 .gitignore [2020-11-26T09:03:12.800Z] -rw-r--r--. 1 jenkins jenkins 518 Nov 26 09:03 go.mod [2020-11-26T09:03:12.800Z] -rw-r--r--. 1 jenkins jenkins 13631 Nov 26 09:03 go.sum [2020-11-26T09:03:12.800Z] drwxrwxr-x. 15 jenkins jenkins 211 Nov 26 08:59 internal [2020-11-26T09:03:12.800Z] -rw-rw-r--. 1 jenkins jenkins 901 Nov 26 08:59 Jenkinsfile [2020-11-26T09:03:12.800Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 26 08:59 LICENSE [2020-11-26T09:03:12.800Z] -rw-rw-r--. 1 jenkins jenkins 1013 Nov 26 08:59 Makefile [2020-11-26T09:03:12.800Z] drwxrwxr-x. 4 jenkins jenkins 26 Nov 26 08:59 openapi [2020-11-26T09:03:12.800Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 26 08:59 pkg [2020-11-26T09:03:12.800Z] -rw-rw-r--. 1 jenkins jenkins 5897 Nov 26 08:59 README.md [2020-11-26T09:03:12.800Z] -rw-rw-r--. 1 jenkins jenkins 4291 Nov 26 08:59 RELEASE-NOTES.txt [2020-11-26T09:03:12.800Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 26 08:59 snap [2020-11-26T09:03:12.800Z] -rw-rw-r--. 1 jenkins jenkins 11 Nov 26 08:57 VERSION [2020-11-26T09:03:12.800Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 26 08:59 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-26T09:03:13.115Z] + 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=cbcd560d226450c2fc49532ec953a0990705dfef --label arch=amd64 --label version=1.3.1-dev.4 . [2020-11-26T09:03:13.377Z] Sending build context to Docker daemon 2.476MB [2020-11-26T09:03:13.377Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-11-26T09:03:13.377Z] Step 2/24 : FROM ${BASE} AS builder [2020-11-26T09:03:13.377Z] ---> 3d32c2b59d04 [2020-11-26T09:03:13.377Z] Step 3/24 : ARG MAKE='make build' [2020-11-26T09:03:13.951Z] ---> Running in a6666cd42409 [2020-11-26T09:03:13.951Z] Removing intermediate container a6666cd42409 [2020-11-26T09:03:13.951Z] ---> 744174088fb4 [2020-11-26T09:03:13.951Z] Step 4/24 : WORKDIR /device-sdk-go [2020-11-26T09:03:13.951Z] ---> Running in db858485b6ac [2020-11-26T09:03:14.214Z] Removing intermediate container db858485b6ac [2020-11-26T09:03:14.214Z] ---> 50ff3c484609 [2020-11-26T09:03:14.214Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T09:03:14.214Z] ---> Running in 32462f0324aa [2020-11-26T09:03:14.479Z] Removing intermediate container 32462f0324aa [2020-11-26T09:03:14.479Z] ---> 3f13181954c7 [2020-11-26T09:03:14.479Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-26T09:03:14.479Z] ---> Running in 5413f35e8fa0 [2020-11-26T09:03:15.430Z] Removing intermediate container 5413f35e8fa0 [2020-11-26T09:03:15.430Z] ---> 19671945a5e6 [2020-11-26T09:03:15.430Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-11-26T09:03:15.430Z] ---> Running in c25db08a30f5 [2020-11-26T09:03:16.006Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-26T09:03:16.581Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-26T09:03:16.844Z] OK: 166 MiB in 39 packages [2020-11-26T09:03:17.420Z] Removing intermediate container c25db08a30f5 [2020-11-26T09:03:17.420Z] ---> 979ec22c366e [2020-11-26T09:03:17.420Z] Step 8/24 : COPY . . [2020-11-26T09:03:18.372Z] ---> 31a4234e6f60 [2020-11-26T09:03:18.372Z] Step 9/24 : RUN ${MAKE} [2020-11-26T09:03:18.372Z] ---> Running in 26d37f65750b [2020-11-26T09:03:18.949Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.4" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-11-26T09:03:27.185Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-11-26T09:03:29.109Z] Removing intermediate container 26d37f65750b [2020-11-26T09:03:29.109Z] ---> 2ea771f50aad [2020-11-26T09:03:29.109Z] Step 10/24 : FROM scratch [2020-11-26T09:03:29.109Z] ---> [2020-11-26T09:03:29.109Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T09:03:29.109Z] ---> Running in 3b11f719a2c9 [2020-11-26T09:03:29.109Z] Removing intermediate container 3b11f719a2c9 [2020-11-26T09:03:29.109Z] ---> e9697d1f7086 [2020-11-26T09:03:29.109Z] Step 12/24 : ENV APP_PORT=49990 [2020-11-26T09:03:29.109Z] ---> Running in 051e19bacdef [2020-11-26T09:03:29.109Z] Removing intermediate container 051e19bacdef [2020-11-26T09:03:29.109Z] ---> 4c28370e8e4e [2020-11-26T09:03:29.109Z] Step 13/24 : EXPOSE $APP_PORT [2020-11-26T09:03:29.371Z] ---> Running in 5e118b67de45 [2020-11-26T09:03:29.371Z] Removing intermediate container 5e118b67de45 [2020-11-26T09:03:29.371Z] ---> d7a71814e622 [2020-11-26T09:03:29.371Z] Step 14/24 : WORKDIR / [2020-11-26T09:03:29.371Z] ---> Running in 71e3192dcbb1 [2020-11-26T09:03:29.631Z] Removing intermediate container 71e3192dcbb1 [2020-11-26T09:03:29.631Z] ---> a47a29e96c25 [2020-11-26T09:03:29.631Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-11-26T09:03:30.205Z] ---> 04deaff7600a [2020-11-26T09:03:30.205Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-11-26T09:03:30.467Z] ---> 5f49e179e434 [2020-11-26T09:03:30.467Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-11-26T09:03:30.729Z] ---> ac9db2393fe2 [2020-11-26T09:03:30.729Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-11-26T09:03:30.729Z] ---> 8cc383957e59 [2020-11-26T09:03:30.729Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-11-26T09:03:30.991Z] ---> 3d52d3244234 [2020-11-26T09:03:30.991Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-11-26T09:03:31.254Z] ---> Running in e9e332abd3f3 [2020-11-26T09:03:31.254Z] Removing intermediate container e9e332abd3f3 [2020-11-26T09:03:31.254Z] ---> cb1427a620e3 [2020-11-26T09:03:31.254Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-26T09:03:31.254Z] ---> Running in 14acbdb7385d [2020-11-26T09:03:31.518Z] Removing intermediate container 14acbdb7385d [2020-11-26T09:03:31.518Z] ---> a541d9d85d3f [2020-11-26T09:03:31.518Z] Step 22/24 : LABEL arch=amd64 [2020-11-26T09:03:31.518Z] ---> Running in 0276439abf02 [2020-11-26T09:03:31.780Z] Removing intermediate container 0276439abf02 [2020-11-26T09:03:31.781Z] ---> 0a404dc6ad5d [2020-11-26T09:03:31.781Z] Step 23/24 : LABEL git_sha=cbcd560d226450c2fc49532ec953a0990705dfef [2020-11-26T09:03:31.781Z] ---> Running in 72f4af13919a [2020-11-26T09:03:32.042Z] Removing intermediate container 72f4af13919a [2020-11-26T09:03:32.042Z] ---> 1215cb9380d0 [2020-11-26T09:03:32.042Z] Step 24/24 : LABEL version=1.3.1-dev.4 [2020-11-26T09:03:32.042Z] ---> Running in aed26898e500 [2020-11-26T09:03:32.307Z] Removing intermediate container aed26898e500 [2020-11-26T09:03:32.307Z] ---> 6335c3c59d56 [2020-11-26T09:03:32.307Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-26T09:03:32.307Z] Successfully built 6335c3c59d56 [2020-11-26T09:03:32.307Z] 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 [2020-11-26T09:03:32.800Z] Removing intermediate container fc85ef8e098c [2020-11-26T09:03:32.800Z] ---> 3f4ba0aca410 [2020-11-26T09:03:32.800Z] Successfully built 3f4ba0aca410 [2020-11-26T09:03:32.800Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] stage [Pipeline] { (Snap) [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-26T09:03:33.189Z] + docker inspect -f . ci-base-image-arm64 [2020-11-26T09:03:33.189Z] . [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withDockerContainer [2020-11-26T09:03:33.556Z] prd-ubuntu18.04-docker-arm64-4c-16g-13546 does not seem to be running inside a container [2020-11-26T09:03:33.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/91 -v /w/workspace/device-sdk-go/91:/w/workspace/device-sdk-go/91:rw,z -v /w/workspace/device-sdk-go/91@tmp:/w/workspace/device-sdk-go/91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-26T09:03:34.974Z] $ docker top 74cc00b8fe578e3f49ede64c125d665d359e299cb1352b496d96853d93eba329 -eo pid,comm [Pipeline] { [Pipeline] // ws [Pipeline] } [Pipeline] sh [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-26T09:03:36.010Z] + go version [2020-11-26T09:03:36.010Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-26T09:03:36.058Z] $ docker stop --time=1 74cc00b8fe578e3f49ede64c125d665d359e299cb1352b496d96853d93eba329 [2020-11-26T09:03:37.985Z] $ docker rm -f 74cc00b8fe578e3f49ede64c125d665d359e299cb1352b496d96853d93eba329 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-26T09:03:39.261Z] + docker inspect -f . ci-base-image-arm64 [2020-11-26T09:03:39.261Z] . [Pipeline] withDockerContainer [2020-11-26T09:03:39.519Z] prd-ubuntu18.04-docker-arm64-4c-16g-13546 does not seem to be running inside a container [2020-11-26T09:03:39.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/91 -v /w/workspace/device-sdk-go/91:/w/workspace/device-sdk-go/91:rw,z -v /w/workspace/device-sdk-go/91@tmp:/w/workspace/device-sdk-go/91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-26T09:03:41.120Z] $ docker top f88aab6e2ad14184a7c8bc1635e08becd9e81b92a6d7281c34f5370462df4e38 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T09:03:42.147Z] + make test [2020-11-26T09:03:42.147Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-11-26T09:04:04.328Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-11-26T09:04:43.399Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-11-26T09:04:43.399Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-11-26T09:04:43.399Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-11-26T09:04:43.399Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.184s coverage: 20.6% of statements [2020-11-26T09:04:46.839Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.151s coverage: 97.1% of statements [2020-11-26T09:05:13.710Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.153s coverage: 9.4% of statements [2020-11-26T09:05:13.710Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.162s coverage: 21.9% of statements [2020-11-26T09:05:13.710Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-11-26T09:05:13.710Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.603s coverage: 42.5% of statements [2020-11-26T09:05:13.710Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-11-26T09:05:13.710Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.789s coverage: 68.9% of statements [2020-11-26T09:05:13.710Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-11-26T09:05:13.710Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-11-26T09:05:13.710Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-11-26T09:05:13.710Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-11-26T09:05:13.710Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.202s coverage: 52.6% of statements [2020-11-26T09:05:13.710Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-11-26T09:05:13.710Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-11-26T09:05:13.710Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-11-26T09:05:13.710Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.643s coverage: 68.9% of statements [2020-11-26T09:05:13.710Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.140s coverage: 4.7% of statements [2020-11-26T09:05:13.710Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-11-26T09:05:14.374Z] GO111MODULE=on go vet ./... [2020-11-26T09:05:46.821Z] gofmt -l . [2020-11-26T09:05:46.821Z] [ "`gofmt -l .`" = "" ] [2020-11-26T09:05:46.821Z] ./bin/test-attribution-txt.sh [2020-11-26T09:05:46.821Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-26T09:05:46.862Z] $ docker stop --time=1 f88aab6e2ad14184a7c8bc1635e08becd9e81b92a6d7281c34f5370462df4e38 [2020-11-26T09:05:49.067Z] $ docker rm -f f88aab6e2ad14184a7c8bc1635e08becd9e81b92a6d7281c34f5370462df4e38 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T09:05:50.114Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-26T09:05:50.183Z] Warning: overwriting stash ‘coverage-report’ [2020-11-26T09:05:50.975Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T09:05:51.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-26T09:05:52.034Z] + ls -al . [2020-11-26T09:05:52.034Z] total 244 [2020-11-26T09:05:52.034Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 26 09:05 . [2020-11-26T09:05:52.034Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 08:59 .. [2020-11-26T09:05:52.034Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 26 08:59 .dockerignore [2020-11-26T09:05:52.034Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 26 08:59 .git [2020-11-26T09:05:52.034Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 08:59 .github [2020-11-26T09:05:52.034Z] -rw-rw-r-- 1 jenkins jenkins 138 Nov 26 08:59 .gitignore [2020-11-26T09:05:52.034Z] -rw-rw-r-- 1 jenkins jenkins 936 Nov 26 08:59 Dockerfile.build [2020-11-26T09:05:52.034Z] -rw-rw-r-- 1 jenkins jenkins 901 Nov 26 08:59 Jenkinsfile [2020-11-26T09:05:52.034Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 26 08:59 LICENSE [2020-11-26T09:05:52.034Z] -rw-rw-r-- 1 jenkins jenkins 1013 Nov 26 08:59 Makefile [2020-11-26T09:05:52.034Z] -rw-rw-r-- 1 jenkins jenkins 5897 Nov 26 08:59 README.md [2020-11-26T09:05:52.034Z] -rw-rw-r-- 1 jenkins jenkins 4291 Nov 26 08:59 RELEASE-NOTES.txt [2020-11-26T09:05:52.034Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 26 08:57 VERSION [2020-11-26T09:05:52.034Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 08:59 bin [2020-11-26T09:05:52.034Z] -rw-r--r-- 1 jenkins jenkins 127610 Nov 26 09:05 coverage.out [2020-11-26T09:05:52.034Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 08:59 example [2020-11-26T09:05:52.034Z] -rw-r--r-- 1 jenkins jenkins 518 Nov 26 09:05 go.mod [2020-11-26T09:05:52.034Z] -rw-r--r-- 1 jenkins jenkins 13631 Nov 26 09:05 go.sum [2020-11-26T09:05:52.034Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 26 08:59 internal [2020-11-26T09:05:52.034Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 08:59 openapi [2020-11-26T09:05:52.034Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 26 08:59 pkg [2020-11-26T09:05:52.034Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 08:59 snap [2020-11-26T09:05:52.034Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 26 08:59 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-26T09:05:52.376Z] + 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=cbcd560d226450c2fc49532ec953a0990705dfef --label arch=arm64 --label version=1.3.1-dev.4 . [2020-11-26T09:05:52.987Z] Sending build context to Docker daemon 2.475MB [2020-11-26T09:05:52.987Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-11-26T09:05:52.987Z] Step 2/24 : FROM ${BASE} AS builder [2020-11-26T09:05:52.987Z] ---> 3f4ba0aca410 [2020-11-26T09:05:52.987Z] Step 3/24 : ARG MAKE='make build' [2020-11-26T09:05:52.987Z] ---> Running in 309d16c82cdc [2020-11-26T09:05:53.582Z] Removing intermediate container 309d16c82cdc [2020-11-26T09:05:53.582Z] ---> 1df1dd788828 [2020-11-26T09:05:53.582Z] Step 4/24 : WORKDIR /device-sdk-go [2020-11-26T09:05:53.582Z] ---> Running in c93c968b1c40 [2020-11-26T09:05:54.183Z] Removing intermediate container c93c968b1c40 [2020-11-26T09:05:54.183Z] ---> 932a5bc7e758 [2020-11-26T09:05:54.183Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T09:05:54.468Z] ---> Running in 623320c5254e [2020-11-26T09:05:54.741Z] Removing intermediate container 623320c5254e [2020-11-26T09:05:54.741Z] ---> bd3f218a29a4 [2020-11-26T09:05:54.741Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-26T09:05:55.025Z] ---> Running in 710cf6c0a3c0 [2020-11-26T09:05:57.004Z] Removing intermediate container 710cf6c0a3c0 [2020-11-26T09:05:57.004Z] ---> 6e258a8b2034 [2020-11-26T09:05:57.004Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-11-26T09:05:57.004Z] ---> Running in 38241f6b321c [2020-11-26T09:05:57.985Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-26T09:05:58.957Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-26T09:05:59.551Z] OK: 142 MiB in 39 packages [2020-11-26T09:06:00.536Z] Removing intermediate container 38241f6b321c [2020-11-26T09:06:00.536Z] ---> 364f5fa0f965 [2020-11-26T09:06:00.536Z] Step 8/24 : COPY . . [2020-11-26T09:06:02.857Z] ---> bac05a28b634 [2020-11-26T09:06:02.857Z] Step 9/24 : RUN ${MAKE} [2020-11-26T09:06:02.857Z] ---> Running in 1b8a4a345d88 [2020-11-26T09:06:02.857Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.4" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-11-26T09:06:29.673Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-11-26T09:06:29.673Z] Removing intermediate container 1b8a4a345d88 [2020-11-26T09:06:29.673Z] ---> 778093e9a149 [2020-11-26T09:06:29.673Z] Step 10/24 : FROM scratch [2020-11-26T09:06:29.673Z] ---> [2020-11-26T09:06:29.673Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T09:06:29.673Z] ---> Running in 0e95eb79317f [2020-11-26T09:06:29.957Z] Removing intermediate container 0e95eb79317f [2020-11-26T09:06:29.957Z] ---> 09c14f6c41a9 [2020-11-26T09:06:29.957Z] Step 12/24 : ENV APP_PORT=49990 [2020-11-26T09:06:29.957Z] ---> Running in 89870abfa982 [2020-11-26T09:06:30.560Z] Removing intermediate container 89870abfa982 [2020-11-26T09:06:30.560Z] ---> ea42f6215b3c [2020-11-26T09:06:30.560Z] Step 13/24 : EXPOSE $APP_PORT [2020-11-26T09:06:30.560Z] ---> Running in 4a36e035019e [2020-11-26T09:06:30.839Z] Removing intermediate container 4a36e035019e [2020-11-26T09:06:30.839Z] ---> 1bd704b78799 [2020-11-26T09:06:30.839Z] Step 14/24 : WORKDIR / [2020-11-26T09:06:31.110Z] ---> Running in bf1079c1fddc [2020-11-26T09:06:31.388Z] Removing intermediate container bf1079c1fddc [2020-11-26T09:06:31.388Z] ---> a12ec8f290bd [2020-11-26T09:06:31.388Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-11-26T09:06:32.824Z] ---> a942ba535d17 [2020-11-26T09:06:32.824Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-11-26T09:06:33.417Z] ---> ecbeb9286f42 [2020-11-26T09:06:33.417Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-11-26T09:06:34.012Z] ---> 7710b9f91f71 [2020-11-26T09:06:34.012Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-11-26T09:06:34.610Z] ---> 2571d4b2128b [2020-11-26T09:06:34.610Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-11-26T09:06:35.588Z] ---> de70f5cb658c [2020-11-26T09:06:35.588Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-11-26T09:06:35.588Z] ---> Running in 53763ab28fd3 [2020-11-26T09:06:35.865Z] Removing intermediate container 53763ab28fd3 [2020-11-26T09:06:35.865Z] ---> 2a3e473c5dfc [2020-11-26T09:06:35.865Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-26T09:06:36.142Z] ---> Running in eb14551ca7f7 [2020-11-26T09:06:36.416Z] Removing intermediate container eb14551ca7f7 [2020-11-26T09:06:36.416Z] ---> 8098a4544b3d [2020-11-26T09:06:36.416Z] Step 22/24 : LABEL arch=arm64 [2020-11-26T09:06:36.696Z] ---> Running in 151e9f599d40 [2020-11-26T09:06:36.972Z] Removing intermediate container 151e9f599d40 [2020-11-26T09:06:36.972Z] ---> cba4502b5005 [2020-11-26T09:06:36.972Z] Step 23/24 : LABEL git_sha=cbcd560d226450c2fc49532ec953a0990705dfef [2020-11-26T09:06:37.246Z] ---> Running in e950e9068d09 [2020-11-26T09:06:37.519Z] Removing intermediate container e950e9068d09 [2020-11-26T09:06:37.519Z] ---> e96c809ba8d3 [2020-11-26T09:06:37.519Z] Step 24/24 : LABEL version=1.3.1-dev.4 [2020-11-26T09:06:37.792Z] ---> Running in 0053f236b6ac [2020-11-26T09:06:38.390Z] Removing intermediate container 0053f236b6ac [2020-11-26T09:06:38.390Z] ---> 5a80e67e8496 [2020-11-26T09:06:38.390Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-26T09:06:38.390Z] Successfully built 5a80e67e8496 [2020-11-26T09:06:38.390Z] 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 [2020-11-26T09:06:40.078Z] provisioning config files... [2020-11-26T09:06:40.088Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7898727873112556570tmp [Pipeline] { [Pipeline] sh [2020-11-26T09:06:40.512Z] + set +x [2020-11-26T09:06:40.512Z] + bash -s -- [2020-11-26T09:06:40.512Z] + curl -s https://codecov.io/bash [2020-11-26T09:06:40.776Z] [2020-11-26T09:06:40.776Z] _____ _ [2020-11-26T09:06:40.776Z] / ____| | | [2020-11-26T09:06:40.776Z] | | ___ __| | ___ ___ _____ __ [2020-11-26T09:06:40.776Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-26T09:06:40.776Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-26T09:06:40.776Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-26T09:06:40.776Z] Bash-20201124-79cbc08 [2020-11-26T09:06:40.776Z] [2020-11-26T09:06:40.776Z] [2020-11-26T09:06:40.776Z] ==> Jenkins CI detected. [2020-11-26T09:06:40.776Z] project root: . [2020-11-26T09:06:40.776Z] --> token set from env [2020-11-26T09:06:40.776Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-26T09:06:40.776Z] ==> Running gcov in . (disable via -X gcov) [2020-11-26T09:06:40.776Z] ==> Python coveragepy not found [2020-11-26T09:06:40.776Z] ==> Searching for coverage reports in: [2020-11-26T09:06:40.776Z] + . [2020-11-26T09:06:40.776Z] -> Found 1 reports [2020-11-26T09:06:40.776Z] ==> Detecting git/mercurial file structure [2020-11-26T09:06:40.776Z] ==> Reading reports [2020-11-26T09:06:40.776Z] + ./coverage.out bytes=127610 [2020-11-26T09:06:41.040Z] ==> Appending adjustments [2020-11-26T09:06:41.040Z] https://docs.codecov.io/docs/fixing-reports [2020-11-26T09:06:41.304Z] + Found adjustments [2020-11-26T09:06:41.304Z] ==> Gzipping contents [2020-11-26T09:06:41.304Z] 24K /tmp/codecov.RnphTW.gz [2020-11-26T09:06:41.304Z] ==> Uploading reports [2020-11-26T09:06:41.304Z] url: https://codecov.io [2020-11-26T09:06:41.304Z] query: branch=master&commit=cbcd560d226450c2fc49532ec953a0990705dfef&build=91&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F91%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-26T09:06:41.304Z] -> Pinging Codecov [2020-11-26T09:06:41.304Z] https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=master&commit=cbcd560d226450c2fc49532ec953a0990705dfef&build=91&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F91%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-26T09:06:41.880Z] -> Uploading to [2020-11-26T09:06:41.880Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-26/7E55EF52A471D76F132DFD9A03CDDE97/cbcd560d226450c2fc49532ec953a0990705dfef/1bb0c234-b814-4bc7-aceb-8658694f0355.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201126T090641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83ec625270f299cc80b5044d6ecdae8a2395a6e734799f6a6ff2430d22cec7a2 [2020-11-26T09:06:41.880Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-26T09:06:41.880Z] Dload Upload Total Spent Left Speed [2020-11-26T09:06:42.838Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20901 0 0 100 20901 0 25873 --:--:-- --:--:-- --:--:-- 25899 [2020-11-26T09:06:42.838Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cbcd560d226450c2fc49532ec953a0990705dfef [Pipeline] } [2020-11-26T09:06:42.848Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-11-26T09:06:43.738Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-11-26T09:06:43.805Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-26T09:06:44.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-26T09:06:44.154Z] [2020-11-26T09:06:44.154Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-11-26T09:06:44.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-26T09:06:44.558Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-11-26T09:06:44.558Z] 188c0c94c7c5: Pulling fs layer [2020-11-26T09:06:44.558Z] 0ef7d3d256c8: Pulling fs layer [2020-11-26T09:06:44.558Z] de9db76c5a1d: Pulling fs layer [2020-11-26T09:06:44.558Z] 0eba1c9be4d2: Pulling fs layer [2020-11-26T09:06:44.558Z] 0d57e429df01: Pulling fs layer [2020-11-26T09:06:44.558Z] 4e4be7b47b0d: Pulling fs layer [2020-11-26T09:06:44.558Z] e1f770b5df2f: Pulling fs layer [2020-11-26T09:06:44.558Z] 85a0685a4137: Pulling fs layer [2020-11-26T09:06:44.558Z] 4e4be7b47b0d: Waiting [2020-11-26T09:06:44.558Z] e1f770b5df2f: Waiting [2020-11-26T09:06:44.558Z] 85a0685a4137: Waiting [2020-11-26T09:06:44.558Z] 0d57e429df01: Waiting [2020-11-26T09:06:44.558Z] 0eba1c9be4d2: Waiting [2020-11-26T09:06:44.558Z] de9db76c5a1d: Verifying Checksum [2020-11-26T09:06:44.558Z] de9db76c5a1d: Download complete [2020-11-26T09:06:44.558Z] 0ef7d3d256c8: Verifying Checksum [2020-11-26T09:06:44.558Z] 0ef7d3d256c8: Download complete [2020-11-26T09:06:44.558Z] 0d57e429df01: Verifying Checksum [2020-11-26T09:06:44.558Z] 0d57e429df01: Download complete [2020-11-26T09:06:44.558Z] 188c0c94c7c5: Verifying Checksum [2020-11-26T09:06:44.558Z] 188c0c94c7c5: Download complete [2020-11-26T09:06:44.558Z] 4e4be7b47b0d: Download complete [2020-11-26T09:06:45.140Z] 188c0c94c7c5: Pull complete [2020-11-26T09:06:45.403Z] 0ef7d3d256c8: Pull complete [2020-11-26T09:06:45.403Z] e1f770b5df2f: Verifying Checksum [2020-11-26T09:06:45.403Z] e1f770b5df2f: Download complete [2020-11-26T09:06:45.403Z] de9db76c5a1d: Pull complete [2020-11-26T09:06:47.987Z] 0eba1c9be4d2: Verifying Checksum [2020-11-26T09:06:47.987Z] 0eba1c9be4d2: Download complete [2020-11-26T09:06:48.250Z] 85a0685a4137: Verifying Checksum [2020-11-26T09:06:48.250Z] 85a0685a4137: Download complete [2020-11-26T09:06:53.571Z] 0eba1c9be4d2: Pull complete [2020-11-26T09:06:53.571Z] 0d57e429df01: Pull complete [2020-11-26T09:06:53.571Z] 4e4be7b47b0d: Pull complete [2020-11-26T09:06:55.229Z] e1f770b5df2f: Pull complete [2020-11-26T09:07:03.429Z] 85a0685a4137: Pull complete [2020-11-26T09:07:03.429Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-11-26T09:07:03.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-26T09:07:03.429Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-11-26T09:07:03.631Z] prd-centos7-docker-4c-2g-13543 does not seem to be running inside a container [2020-11-26T09:07:03.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-26T09:07:04.657Z] $ docker top 1b2992d66382f422374a2a6abc8f8a03571457897d090e0b6fd59ba8863a2cbe -eo pid,comm [Pipeline] { [Pipeline] echo [2020-11-26T09:07:04.912Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-11-26T09:07:05.205Z] + set -o pipefail [2020-11-26T09:07:05.205Z] + snyk monitor '--org=edgex-jenkins' [2020-11-26T09:07:20.158Z] [2020-11-26T09:07:20.159Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-11-26T09:07:20.159Z] [2020-11-26T09:07:20.159Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/ee08b650-8676-440f-8175-71215b049526 [2020-11-26T09:07:20.159Z] [2020-11-26T09:07:20.159Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-11-26T09:07:20.159Z] [2020-11-26T09:07:20.159Z] [2020-11-26T09:07:20.159Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2020-11-26T09:07:20.159Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-11-26T09:07:20.184Z] $ docker stop --time=1 1b2992d66382f422374a2a6abc8f8a03571457897d090e0b6fd59ba8863a2cbe [2020-11-26T09:07:22.764Z] $ docker rm -f 1b2992d66382f422374a2a6abc8f8a03571457897d090e0b6fd59ba8863a2cbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2020-11-26T09:07:24.228Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-26T09:07:24.327Z] provisioning config files... [2020-11-26T09:07:24.340Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4386573549230463732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T09:07:24.738Z] --> edgex-publish-swagger.sh [2020-11-26T09:07:24.738Z] === Publish openapi/v1 API === [2020-11-26T09:07:24.738Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2020-11-26T09:07:24.738Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-11-26T09:07:24.738Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-26T09:07:24.738Z] Dload Upload Total Spent Left Speed [2020-11-26T09:07:25.587Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20188 0 0 100 20188 0 25720 --:--:-- --:--:-- --:--:-- 25717 [2020-11-26T09:07:25.587Z] [2020-11-26T09:07:25.587Z] [2020-11-26T09:07:25.587Z] === Publish openapi/v2 API === [2020-11-26T09:07:25.587Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2020-11-26T09:07:25.587Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-11-26T09:07:25.587Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-26T09:07:25.587Z] Dload Upload Total Spent Left Speed [2020-11-26T09:07:26.166Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 49274 0 0 100 49274 0 66456 --:--:-- --:--:-- --:--:-- 66407 100 49274 0 0 100 49274 0 66439 --:--:-- --:--:-- --:--:-- 66407 [2020-11-26T09:07:26.166Z] [2020-11-26T09:07:26.166Z] [Pipeline] } [2020-11-26T09:07:26.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2020-11-26T09:07:27.134Z] + git log --format=format:%s -1 cbcd560d226450c2fc49532ec953a0990705dfef [Pipeline] isUnix [Pipeline] sh [2020-11-26T09:07:27.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T09:07:27.450Z] . [Pipeline] withDockerContainer [2020-11-26T09:07:27.554Z] prd-centos7-docker-4c-2g-13543 does not seem to be running inside a container [2020-11-26T09:07:27.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-26T09:07:28.391Z] $ docker top fd3b89ec428bdb7b3567bdebf9db029511c6d79bfe931d30818f4c8f50b5bdd1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-26T09:07:28.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T09:07:28.756Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T09:07:28.998Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T09:07:29.007Z] $ docker exec fd3b89ec428bdb7b3567bdebf9db029511c6d79bfe931d30818f4c8f50b5bdd1 ssh-agent [2020-11-26T09:07:29.171Z] SSH_AUTH_SOCK=/tmp/ssh-ktpWl4XsUF3E/agent.11 [2020-11-26T09:07:29.171Z] SSH_AGENT_PID=16 [2020-11-26T09:07:29.178Z] Running ssh-add (command line suppressed) [2020-11-26T09:07:29.319Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4436337764501527141.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4436337764501527141.key) [2020-11-26T09:07:29.366Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T09:07:29.709Z] + git semver tag [2020-11-26T09:07:29.709Z] # -> Open(): unable to determine branch for HEAD [2020-11-26T09:07:29.709Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-26T09:07:29.709Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T09:07:29.709Z] # $SEMVER_REMOTE_NAME = origin [2020-11-26T09:07:29.709Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-26T09:07:29.709Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-26T09:07:29.709Z] # $SEMVER_BRANCH = master [2020-11-26T09:07:29.709Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-11-26T09:07:29.709Z] # cbcd560d226450c2fc49532ec953a0990705dfef HEAD [2020-11-26T09:07:29.709Z] # -> Force: false [2020-11-26T09:07:29.709Z] # 4d851d8e913c272c2468ca172a8ff7f1edbf0145 refs/tags/v1.3.1-dev.4 [Pipeline] } [2020-11-26T09:07:29.726Z] $ docker exec --env ******** --env ******** fd3b89ec428bdb7b3567bdebf9db029511c6d79bfe931d30818f4c8f50b5bdd1 ssh-agent -k [2020-11-26T09:07:29.843Z] unset SSH_AUTH_SOCK; [2020-11-26T09:07:29.843Z] unset SSH_AGENT_PID; [2020-11-26T09:07:29.843Z] echo Agent pid 16 killed; [2020-11-26T09:07:29.906Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-26T09:07:30.550Z] + git semver [Pipeline] } [2020-11-26T09:07:30.598Z] $ docker stop --time=1 fd3b89ec428bdb7b3567bdebf9db029511c6d79bfe931d30818f4c8f50b5bdd1 [2020-11-26T09:07:31.972Z] $ docker rm -f fd3b89ec428bdb7b3567bdebf9db029511c6d79bfe931d30818f4c8f50b5bdd1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-11-26T09:07:32.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-26T09:07:32.648Z] [2020-11-26T09:07:32.648Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-11-26T09:07:33.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-26T09:07:33.013Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-11-26T09:07:33.013Z] ab5ef0e58194: Pulling fs layer [2020-11-26T09:07:33.013Z] 9712f1f96733: Pulling fs layer [2020-11-26T09:07:33.013Z] 63f879dbbcfc: Pulling fs layer [2020-11-26T09:07:33.013Z] 0d9ebad4ef96: Pulling fs layer [2020-11-26T09:07:33.013Z] e9a5061849ea: Pulling fs layer [2020-11-26T09:07:33.013Z] d747dcd14b5f: Pulling fs layer [2020-11-26T09:07:33.013Z] 2de7ff778b66: Pulling fs layer [2020-11-26T09:07:33.013Z] d747dcd14b5f: Waiting [2020-11-26T09:07:33.013Z] e9a5061849ea: Waiting [2020-11-26T09:07:33.013Z] 2de7ff778b66: Waiting [2020-11-26T09:07:33.013Z] 0d9ebad4ef96: Waiting [2020-11-26T09:07:33.013Z] 9712f1f96733: Verifying Checksum [2020-11-26T09:07:33.013Z] 9712f1f96733: Download complete [2020-11-26T09:07:34.945Z] 63f879dbbcfc: Verifying Checksum [2020-11-26T09:07:34.945Z] 63f879dbbcfc: Download complete [2020-11-26T09:07:34.945Z] e9a5061849ea: Download complete [2020-11-26T09:07:35.215Z] d747dcd14b5f: Verifying Checksum [2020-11-26T09:07:35.215Z] d747dcd14b5f: Download complete [2020-11-26T09:07:35.480Z] 0d9ebad4ef96: Verifying Checksum [2020-11-26T09:07:35.480Z] 0d9ebad4ef96: Download complete [2020-11-26T09:07:35.480Z] 2de7ff778b66: Verifying Checksum [2020-11-26T09:07:35.480Z] 2de7ff778b66: Download complete [2020-11-26T09:07:35.745Z] ab5ef0e58194: Verifying Checksum [2020-11-26T09:07:35.745Z] ab5ef0e58194: Download complete [2020-11-26T09:07:39.998Z] ab5ef0e58194: Pull complete [2020-11-26T09:07:39.998Z] 9712f1f96733: Pull complete [2020-11-26T09:07:42.557Z] 63f879dbbcfc: Pull complete [2020-11-26T09:07:49.228Z] 0d9ebad4ef96: Pull complete [2020-11-26T09:07:51.156Z] e9a5061849ea: Pull complete [2020-11-26T09:07:51.156Z] d747dcd14b5f: Pull complete [2020-11-26T09:07:53.727Z] 2de7ff778b66: Pull complete [2020-11-26T09:07:53.727Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-11-26T09:07:53.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-26T09:07:53.727Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-11-26T09:07:53.937Z] prd-centos7-docker-4c-2g-13543 does not seem to be running inside a container [2020-11-26T09:07:53.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-11-26T09:07:58.357Z] $ docker top c5f46a0574c791c9ab9bca89f5495fa73cb856de4b3c2d6e2ad43531b4ff5ac8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-11-26T09:07:58.653Z] provisioning config files... [2020-11-26T09:07:58.667Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config66257931435610705tmp [2020-11-26T09:07:58.689Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8275102458307884245tmp [2020-11-26T09:07:58.713Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4389837738979603206tmp [Pipeline] { [Pipeline] echo [2020-11-26T09:07:58.780Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T09:07:59.104Z] ---> sigul-configuration.sh [2020-11-26T09:07:59.104Z] gpg: directory `/root/.gnupg' created [2020-11-26T09:07:59.104Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-11-26T09:07:59.104Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-11-26T09:07:59.104Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-11-26T09:07:59.104Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-11-26T09:07:59.104Z] gpg: CAST5 encrypted data [2020-11-26T09:07:59.370Z] gpg: encrypted with 1 passphrase [2020-11-26T09:07:59.370Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-11-26T09:07:59.716Z] + mkdir /home/jenkins [2020-11-26T09:07:59.716Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-11-26T09:08:00.018Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2020-11-26T09:08:00.030Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T09:08:00.334Z] ---> sigul-install.sh [2020-11-26T09:08:06.982Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-11-26T09:08:07.329Z] + git tag --list [2020-11-26T09:08:07.329Z] 0.7.1 [2020-11-26T09:08:07.329Z] delhi-tag [2020-11-26T09:08:07.329Z] v1.0.0 [2020-11-26T09:08:07.329Z] v1.1.0 [2020-11-26T09:08:07.329Z] v1.1.1 [2020-11-26T09:08:07.329Z] v1.1.2 [2020-11-26T09:08:07.329Z] v1.2.0 [2020-11-26T09:08:07.329Z] v1.2.1 [2020-11-26T09:08:07.329Z] v1.2.2 [2020-11-26T09:08:07.329Z] v1.2.3 [2020-11-26T09:08:07.329Z] v1.2.4-dev.1 [2020-11-26T09:08:07.329Z] v1.2.4-dev.10 [2020-11-26T09:08:07.329Z] v1.2.4-dev.11 [2020-11-26T09:08:07.329Z] v1.2.4-dev.12 [2020-11-26T09:08:07.329Z] v1.2.4-dev.13 [2020-11-26T09:08:07.329Z] v1.2.4-dev.14 [2020-11-26T09:08:07.329Z] v1.2.4-dev.15 [2020-11-26T09:08:07.329Z] v1.2.4-dev.16 [2020-11-26T09:08:07.329Z] v1.2.4-dev.17 [2020-11-26T09:08:07.329Z] v1.2.4-dev.18 [2020-11-26T09:08:07.329Z] v1.2.4-dev.19 [2020-11-26T09:08:07.329Z] v1.2.4-dev.2 [2020-11-26T09:08:07.329Z] v1.2.4-dev.20 [2020-11-26T09:08:07.329Z] v1.2.4-dev.21 [2020-11-26T09:08:07.329Z] v1.2.4-dev.22 [2020-11-26T09:08:07.329Z] v1.2.4-dev.23 [2020-11-26T09:08:07.329Z] v1.2.4-dev.24 [2020-11-26T09:08:07.329Z] v1.2.4-dev.25 [2020-11-26T09:08:07.329Z] v1.2.4-dev.26 [2020-11-26T09:08:07.329Z] v1.2.4-dev.27 [2020-11-26T09:08:07.329Z] v1.2.4-dev.28 [2020-11-26T09:08:07.329Z] v1.2.4-dev.29 [2020-11-26T09:08:07.329Z] v1.2.4-dev.3 [2020-11-26T09:08:07.329Z] v1.2.4-dev.30 [2020-11-26T09:08:07.329Z] v1.2.4-dev.31 [2020-11-26T09:08:07.329Z] v1.2.4-dev.32 [2020-11-26T09:08:07.329Z] v1.2.4-dev.33 [2020-11-26T09:08:07.329Z] v1.2.4-dev.34 [2020-11-26T09:08:07.329Z] v1.2.4-dev.35 [2020-11-26T09:08:07.329Z] v1.2.4-dev.4 [2020-11-26T09:08:07.329Z] v1.2.4-dev.5 [2020-11-26T09:08:07.329Z] v1.2.4-dev.6 [2020-11-26T09:08:07.329Z] v1.2.4-dev.7 [2020-11-26T09:08:07.329Z] v1.2.4-dev.8 [2020-11-26T09:08:07.329Z] v1.2.4-dev.9 [2020-11-26T09:08:07.329Z] v1.3.0 [2020-11-26T09:08:07.329Z] v1.3.1-dev.1 [2020-11-26T09:08:07.329Z] v1.3.1-dev.2 [2020-11-26T09:08:07.329Z] v1.3.1-dev.3 [2020-11-26T09:08:07.329Z] v1.3.1-dev.4 [Pipeline] sh [2020-11-26T09:08:07.666Z] + lftools sign git-tag v1.3.1-dev.4 [2020-11-26T09:08:09.099Z] Signing Git tag with Sigul... [2020-11-26T09:08:09.099Z] Signing v1.3.1-dev.4 [Pipeline] echo [2020-11-26T09:08:10.073Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T09:08:10.421Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-11-26T09:08:10.435Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-11-26T09:08:10.617Z] $ docker stop --time=1 c5f46a0574c791c9ab9bca89f5495fa73cb856de4b3c2d6e2ad43531b4ff5ac8 [2020-11-26T09:08:12.676Z] $ docker rm -f c5f46a0574c791c9ab9bca89f5495fa73cb856de4b3c2d6e2ad43531b4ff5ac8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-11-26T09:08:13.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T09:08:13.792Z] . [Pipeline] withDockerContainer [2020-11-26T09:08:13.925Z] prd-centos7-docker-4c-2g-13543 does not seem to be running inside a container [2020-11-26T09:08:14.018Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-26T09:08:14.880Z] $ docker top a08431a3d558243f0b427a27ba49c447ee664c44c9f40bea98fe5f169c9a210a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-26T09:08:15.221Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T09:08:15.222Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T09:08:15.426Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T09:08:15.436Z] $ docker exec a08431a3d558243f0b427a27ba49c447ee664c44c9f40bea98fe5f169c9a210a ssh-agent [2020-11-26T09:08:15.613Z] SSH_AUTH_SOCK=/tmp/ssh-FwhllKz07nRy/agent.12 [2020-11-26T09:08:15.613Z] SSH_AGENT_PID=17 [2020-11-26T09:08:15.621Z] Running ssh-add (command line suppressed) [2020-11-26T09:08:15.756Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1976522585368679137.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1976522585368679137.key) [2020-11-26T09:08:15.806Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T09:08:16.151Z] + git semver bump pre [2020-11-26T09:08:16.151Z] # -> Open(): unable to determine branch for HEAD [2020-11-26T09:08:16.151Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-26T09:08:16.151Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T09:08:16.151Z] # $SEMVER_REMOTE_NAME = origin [2020-11-26T09:08:16.151Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-26T09:08:16.151Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-26T09:08:16.151Z] # $SEMVER_BRANCH = master [2020-11-26T09:08:16.151Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-11-26T09:08:16.151Z] 1.3.1-dev.5 [Pipeline] } [2020-11-26T09:08:16.172Z] $ docker exec --env ******** --env ******** a08431a3d558243f0b427a27ba49c447ee664c44c9f40bea98fe5f169c9a210a ssh-agent -k [2020-11-26T09:08:16.288Z] unset SSH_AUTH_SOCK; [2020-11-26T09:08:16.288Z] unset SSH_AGENT_PID; [2020-11-26T09:08:16.288Z] echo Agent pid 17 killed; [2020-11-26T09:08:16.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-26T09:08:16.845Z] + git semver [Pipeline] } [2020-11-26T09:08:16.872Z] $ docker stop --time=1 a08431a3d558243f0b427a27ba49c447ee664c44c9f40bea98fe5f169c9a210a [2020-11-26T09:08:18.268Z] $ docker rm -f a08431a3d558243f0b427a27ba49c447ee664c44c9f40bea98fe5f169c9a210a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-11-26T09:08:18.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T09:08:18.866Z] . [Pipeline] withDockerContainer [2020-11-26T09:08:18.968Z] prd-centos7-docker-4c-2g-13543 does not seem to be running inside a container [2020-11-26T09:08:19.147Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-26T09:08:19.809Z] $ docker top a5eb08ec3c4a594c130fb84ca824d995faea0cd7ea5d69ea9560f58f91baf399 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-26T09:08:20.312Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T09:08:20.312Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T09:08:20.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T09:08:20.509Z] $ docker exec a5eb08ec3c4a594c130fb84ca824d995faea0cd7ea5d69ea9560f58f91baf399 ssh-agent [2020-11-26T09:08:20.678Z] SSH_AUTH_SOCK=/tmp/ssh-iYhM78JSidNd/agent.12 [2020-11-26T09:08:20.678Z] SSH_AGENT_PID=17 [2020-11-26T09:08:20.688Z] Running ssh-add (command line suppressed) [2020-11-26T09:08:20.830Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7328594686022972367.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7328594686022972367.key) [2020-11-26T09:08:20.883Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T09:08:21.240Z] + git semver push [2020-11-26T09:08:21.240Z] # -> Open(): unable to determine branch for HEAD [2020-11-26T09:08:21.240Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-26T09:08:21.240Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T09:08:21.240Z] # $SEMVER_REMOTE_NAME = origin [2020-11-26T09:08:21.240Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-26T09:08:21.240Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-26T09:08:21.240Z] # $SEMVER_BRANCH = master [2020-11-26T09:08:21.240Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-11-26T09:08:27.948Z] $ docker exec --env ******** --env ******** a5eb08ec3c4a594c130fb84ca824d995faea0cd7ea5d69ea9560f58f91baf399 ssh-agent -k [2020-11-26T09:08:28.099Z] unset SSH_AUTH_SOCK; [2020-11-26T09:08:28.100Z] unset SSH_AGENT_PID; [2020-11-26T09:08:28.100Z] echo Agent pid 17 killed; [2020-11-26T09:08:28.154Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-26T09:08:28.682Z] + git semver [Pipeline] } [2020-11-26T09:08:28.723Z] $ docker stop --time=1 a5eb08ec3c4a594c130fb84ca824d995faea0cd7ea5d69ea9560f58f91baf399 [2020-11-26T09:08:30.125Z] $ docker rm -f a5eb08ec3c4a594c130fb84ca824d995faea0cd7ea5d69ea9560f58f91baf399 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-11-26T09:08:31.921Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T09:08:32.496Z] ---> package-listing.sh [2020-11-26T09:08:32.497Z] ++ facter osfamily [2020-11-26T09:08:32.497Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-26T09:08:32.497Z] + OS_FAMILY=redhat [2020-11-26T09:08:32.497Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T09:08:32.497Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-26T09:08:32.497Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-26T09:08:32.497Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-26T09:08:32.497Z] + PACKAGES=/tmp/packages_start.txt [2020-11-26T09:08:32.497Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-11-26T09:08:32.497Z] + PACKAGES=/tmp/packages_end.txt [2020-11-26T09:08:32.497Z] + case "${OS_FAMILY}" in [2020-11-26T09:08:32.497Z] + rpm -qa [2020-11-26T09:08:32.497Z] + sort [2020-11-26T09:08:37.834Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-26T09:08:37.835Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-26T09:08:37.835Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-26T09:08:37.835Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-11-26T09:08:37.835Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-11-26T09:08:37.835Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2020-11-26T09:08:37.855Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-26T09:08:38.188Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-26T09:08:38.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T09:08:38.547Z] [2020-11-26T09:08:38.547Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-26T09:08:38.952Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T09:08:38.952Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-26T09:08:38.952Z] df20fa9351a1: Pulling fs layer [2020-11-26T09:08:38.952Z] 36b3adc4ff6f: Pulling fs layer [2020-11-26T09:08:38.952Z] 8ad3a11d3b57: Pulling fs layer [2020-11-26T09:08:38.952Z] 46f8f816bc3b: Pulling fs layer [2020-11-26T09:08:38.952Z] 93b61091891f: Pulling fs layer [2020-11-26T09:08:38.952Z] 93b9cdb0e59b: Pulling fs layer [2020-11-26T09:08:38.952Z] 5e14af77c1be: Pulling fs layer [2020-11-26T09:08:38.952Z] 01666e4c0597: Pulling fs layer [2020-11-26T09:08:38.952Z] aa168da1d23b: Pulling fs layer [2020-11-26T09:08:38.952Z] 46f8f816bc3b: Waiting [2020-11-26T09:08:38.952Z] 93b61091891f: Waiting [2020-11-26T09:08:38.952Z] 5e14af77c1be: Waiting [2020-11-26T09:08:38.952Z] 93b9cdb0e59b: Waiting [2020-11-26T09:08:38.952Z] 01666e4c0597: Waiting [2020-11-26T09:08:38.952Z] aa168da1d23b: Waiting [2020-11-26T09:08:38.952Z] 36b3adc4ff6f: Verifying Checksum [2020-11-26T09:08:38.952Z] 36b3adc4ff6f: Download complete [2020-11-26T09:08:38.952Z] 46f8f816bc3b: Verifying Checksum [2020-11-26T09:08:38.952Z] 46f8f816bc3b: Download complete [2020-11-26T09:08:39.219Z] df20fa9351a1: Verifying Checksum [2020-11-26T09:08:39.219Z] df20fa9351a1: Download complete [2020-11-26T09:08:39.219Z] 93b9cdb0e59b: Verifying Checksum [2020-11-26T09:08:39.219Z] 93b9cdb0e59b: Download complete [2020-11-26T09:08:39.219Z] 5e14af77c1be: Verifying Checksum [2020-11-26T09:08:39.219Z] 5e14af77c1be: Download complete [2020-11-26T09:08:39.219Z] 93b61091891f: Verifying Checksum [2020-11-26T09:08:39.219Z] 93b61091891f: Download complete [2020-11-26T09:08:39.219Z] 01666e4c0597: Verifying Checksum [2020-11-26T09:08:39.219Z] 01666e4c0597: Download complete [2020-11-26T09:08:39.219Z] 8ad3a11d3b57: Verifying Checksum [2020-11-26T09:08:39.219Z] 8ad3a11d3b57: Download complete [2020-11-26T09:08:39.502Z] df20fa9351a1: Pull complete [2020-11-26T09:08:39.777Z] 36b3adc4ff6f: Pull complete [2020-11-26T09:08:40.746Z] 8ad3a11d3b57: Pull complete [2020-11-26T09:08:41.010Z] 46f8f816bc3b: Pull complete [2020-11-26T09:08:41.589Z] aa168da1d23b: Verifying Checksum [2020-11-26T09:08:41.589Z] aa168da1d23b: Download complete [2020-11-26T09:08:42.173Z] 93b61091891f: Pull complete [2020-11-26T09:08:42.173Z] 93b9cdb0e59b: Pull complete [2020-11-26T09:08:42.438Z] 5e14af77c1be: Pull complete [2020-11-26T09:08:42.438Z] 01666e4c0597: Pull complete [2020-11-26T09:08:49.066Z] aa168da1d23b: Pull complete [2020-11-26T09:08:49.066Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-26T09:08:49.066Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T09:08:49.066Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-26T09:08:49.207Z] prd-centos7-docker-4c-2g-13543 does not seem to be running inside a container [2020-11-26T09:08:49.266Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-26T09:08:52.033Z] $ docker top 3de6c533de57bb97a09a636ee7abc7664f8df5b2edb177defe1c1d0dbde14bbf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T09:08:52.651Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-26T09:08:52.952Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-26T09:08:53.250Z] + ls /var/log/sa-host [2020-11-26T09:08:53.250Z] + sadf -c /var/log/sa-host/sa23 [2020-11-26T09:08:53.250Z] file_magic: OK [2020-11-26T09:08:53.250Z] HZ: Using current value: 100 [2020-11-26T09:08:53.250Z] file_header: OK [2020-11-26T09:08:53.250Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-26T09:08:53.250Z] Statistics: [2020-11-26T09:08:53.250Z] Hnuu...uuuununununu... [2020-11-26T09:08:53.250Z] File successfully converted to sysstat format version 12.2.1 [2020-11-26T09:08:53.250Z] + sadf -c /var/log/sa-host/sa26 [2020-11-26T09:08:53.250Z] file_magic: OK [2020-11-26T09:08:53.250Z] HZ: Using current value: 100 [2020-11-26T09:08:53.250Z] file_header: OK [2020-11-26T09:08:53.250Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-26T09:08:53.250Z] Statistics: [2020-11-26T09:08:53.250Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-26T09:08:53.250Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-26T09:08:53.925Z] provisioning config files... [2020-11-26T09:08:53.943Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1740976661197192685tmp [Pipeline] { [Pipeline] echo [2020-11-26T09:08:54.016Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T09:08:54.324Z] ---> create-netrc.sh [Pipeline] } [2020-11-26T09:08:54.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-26T09:08:54.447Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T09:08:54.753Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-26T09:08:54.767Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T09:08:55.069Z] ---> sudo-logs.sh [2020-11-26T09:08:55.069Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-26T09:08:55.082Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T09:08:55.382Z] ---> job-cost.sh [2020-11-26T09:08:55.382Z] lf-activate-venv: SKIPPING [2020-11-26T09:08:55.382Z] INFO: No Stack... [2020-11-26T09:08:57.947Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-26T09:08:57.947Z] INFO: Archiving Costs [Pipeline] echo [2020-11-26T09:08:57.964Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T09:08:58.272Z] ---> logs-deploy.sh [2020-11-26T09:08:58.272Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/91 [2020-11-26T09:08:58.272Z] INFO: archiving workspace using pattern(s): [2020-11-26T09:08:59.709Z] Archives upload complete. [2020-11-26T09:08:59.971Z] INFO: archiving logs to Nexus