Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-20640 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 Commit message: "Merge pull request #737 from lenny-intel/v2-module" > git rev-list --no-walk 619f260ee4c0648af817c78e3551f454d78ccf58 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-15T21:44:35.046Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-15T21:44:35.310Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-15T21:44:35.398Z] ========================================================= [2021-01-15T21:44:35.398Z] EdgeX Global Pipelines Version Info [2021-01-15T21:44:35.398Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:44:36.901Z] ------------------- [2021-01-15T21:44:36.901Z] stable info: [2021-01-15T21:44:36.901Z] ------------------- [2021-01-15T21:44:36.901Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-15T21:44:36.901Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-15T21:44:36.901Z] Message: update stable to v1.0.177 [2021-01-15T21:44:37.847Z] ------------------- [2021-01-15T21:44:37.847Z] experimental info: [2021-01-15T21:44:37.847Z] ------------------- [2021-01-15T21:44:37.847Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-15T21:44:37.847Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-15T21:44:37.847Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-15T21:44:38.084Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-15T21:44:38.165Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-15T21:44:38.246Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-15T21:44:38.379Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-15T21:44:38.478Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-15T21:44:38.564Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-15T21:44:38.662Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-15T21:44:38.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-15T21:44:38.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-15T21:44:38.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-15T21:44:39.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-15T21:44:39.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-15T21:44:39.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-15T21:44:39.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-15T21:44:39.367Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-15T21:44:39.453Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:44:39.534Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:44:39.627Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T21:44:39.711Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-15T21:44:39.791Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-15T21:44:39.875Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-15T21:44:39.958Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-15T21:44:40.043Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-15T21:44:40.165Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-15T21:44:40.248Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-15T21:44:40.392Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-15T21:44:40.502Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-15T21:44:40.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-15T21:44:40.689Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-15T21:44:40.805Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-15T21:44:40.913Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 [Pipeline] echo [2021-01-15T21:44:41.051Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c3dc03 [Pipeline] echo [2021-01-15T21:44:41.142Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T21:44:41.327Z] provisioning config files... [2021-01-15T21:44:41.405Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7074214203102728893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:44:41.783Z] ---> docker-login.sh [2021-01-15T21:44:41.783Z] nexus3.edgexfoundry.org:10001 [2021-01-15T21:44:42.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:44:42.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:44:42.326Z] Configure a credential helper to remove this warning. See [2021-01-15T21:44:42.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:44:42.326Z] [2021-01-15T21:44:42.326Z] Login Succeeded [2021-01-15T21:44:42.326Z] nexus3.edgexfoundry.org:10002 [2021-01-15T21:44:42.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:44:42.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:44:42.326Z] Configure a credential helper to remove this warning. See [2021-01-15T21:44:42.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:44:42.326Z] [2021-01-15T21:44:42.326Z] Login Succeeded [2021-01-15T21:44:42.326Z] nexus3.edgexfoundry.org:10003 [2021-01-15T21:44:42.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:44:42.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:44:42.591Z] Configure a credential helper to remove this warning. See [2021-01-15T21:44:42.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:44:42.591Z] [2021-01-15T21:44:42.591Z] Login Succeeded [2021-01-15T21:44:42.591Z] nexus3.edgexfoundry.org:10004 [2021-01-15T21:44:42.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:44:42.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:44:42.856Z] Configure a credential helper to remove this warning. See [2021-01-15T21:44:42.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:44:42.856Z] [2021-01-15T21:44:42.856Z] Login Succeeded [2021-01-15T21:44:42.856Z] docker.io [2021-01-15T21:44:42.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:44:43.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:44:43.119Z] Configure a credential helper to remove this warning. See [2021-01-15T21:44:43.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:44:43.119Z] [2021-01-15T21:44:43.119Z] Login Succeeded [2021-01-15T21:44:43.119Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T21:44:43.129Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:44:43.981Z] + git log --format=format:%s -1 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 [Pipeline] echo [2021-01-15T21:44:44.071Z] GIT_COMMIT: 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0, Commit Message: Merge pull request #737 from lenny-intel/v2-module [Pipeline] echo [2021-01-15T21:44:44.114Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:44:44.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:44:44.722Z] [2021-01-15T21:44:44.722Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:44:45.075Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:44:45.075Z] latest: Pulling from edgex-devops/git-semver [2021-01-15T21:44:45.075Z] 31603596830f: Pulling fs layer [2021-01-15T21:44:45.075Z] 2a8b12db71e7: Pulling fs layer [2021-01-15T21:44:45.075Z] 6ca5941a6612: Pulling fs layer [2021-01-15T21:44:45.075Z] ecc8261a40a4: Pulling fs layer [2021-01-15T21:44:45.075Z] ecc8261a40a4: Waiting [2021-01-15T21:44:45.075Z] 2a8b12db71e7: Verifying Checksum [2021-01-15T21:44:45.075Z] 2a8b12db71e7: Download complete [2021-01-15T21:44:45.075Z] 31603596830f: Download complete [2021-01-15T21:44:45.344Z] ecc8261a40a4: Verifying Checksum [2021-01-15T21:44:45.344Z] ecc8261a40a4: Download complete [2021-01-15T21:44:45.344Z] 6ca5941a6612: Verifying Checksum [2021-01-15T21:44:45.344Z] 6ca5941a6612: Download complete [2021-01-15T21:44:45.607Z] 31603596830f: Pull complete [2021-01-15T21:44:45.876Z] 2a8b12db71e7: Pull complete [2021-01-15T21:44:46.463Z] 6ca5941a6612: Pull complete [2021-01-15T21:44:46.725Z] ecc8261a40a4: Pull complete [2021-01-15T21:44:46.725Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-15T21:44:46.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:44:46.989Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-15T21:44:47.103Z] prd-centos7-docker-4c-2g-20640 does not seem to be running inside a container [2021-01-15T21:44:47.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-15T21:44:49.404Z] $ docker top 526541df1e92a722926bba43a2bbb9eefb16976be05ea67bb9550bc5ada4675b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-15T21:44:49.818Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T21:44:49.818Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T21:44:50.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T21:44:50.063Z] $ docker exec 526541df1e92a722926bba43a2bbb9eefb16976be05ea67bb9550bc5ada4675b ssh-agent [2021-01-15T21:44:50.237Z] SSH_AUTH_SOCK=/tmp/ssh-DN3C7zTZ3D8e/agent.11 [2021-01-15T21:44:50.237Z] SSH_AGENT_PID=16 [2021-01-15T21:44:50.252Z] Running ssh-add (command line suppressed) [2021-01-15T21:44:50.387Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7373592181969190142.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7373592181969190142.key) [2021-01-15T21:44:50.446Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T21:44:50.818Z] + git tag --points-at HEAD [Pipeline] } [2021-01-15T21:44:50.842Z] $ docker exec --env ******** --env ******** 526541df1e92a722926bba43a2bbb9eefb16976be05ea67bb9550bc5ada4675b ssh-agent -k [2021-01-15T21:44:50.963Z] unset SSH_AUTH_SOCK; [2021-01-15T21:44:50.964Z] unset SSH_AGENT_PID; [2021-01-15T21:44:50.964Z] echo Agent pid 16 killed; [2021-01-15T21:44:51.016Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-15T21:44:51.204Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T21:44:51.204Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T21:44:51.385Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T21:44:51.390Z] $ docker exec 526541df1e92a722926bba43a2bbb9eefb16976be05ea67bb9550bc5ada4675b ssh-agent [2021-01-15T21:44:51.578Z] SSH_AUTH_SOCK=/tmp/ssh-EPcN8bMjGXeD/agent.44 [2021-01-15T21:44:51.578Z] SSH_AGENT_PID=50 [2021-01-15T21:44:51.585Z] Running ssh-add (command line suppressed) [2021-01-15T21:44:51.723Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7342925424529759896.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7342925424529759896.key) [2021-01-15T21:44:52.006Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T21:44:52.348Z] + git semver init [2021-01-15T21:44:52.348Z] # -> Open(): unable to determine branch for HEAD [2021-01-15T21:44:52.348Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-15T21:44:52.348Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-15T21:44:52.348Z] # $SEMVER_REMOTE_NAME = origin [2021-01-15T21:44:52.348Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-15T21:44:52.348Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-15T21:44:52.348Z] # $SEMVER_BRANCH = master [2021-01-15T21:44:52.348Z] # $SEMVER_TEMP = /tmp/semver-066645147 [2021-01-15T21:44:52.348Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-15T21:44:53.296Z] # '/tmp/semver-066645147' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-01-15T21:44:53.296Z] # -> Force: false [2021-01-15T21:44:53.296Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-15T21:44:53.318Z] $ docker exec --env ******** --env ******** 526541df1e92a722926bba43a2bbb9eefb16976be05ea67bb9550bc5ada4675b ssh-agent -k [2021-01-15T21:44:53.442Z] unset SSH_AUTH_SOCK; [2021-01-15T21:44:53.443Z] unset SSH_AGENT_PID; [2021-01-15T21:44:53.443Z] echo Agent pid 50 killed; [2021-01-15T21:44:53.494Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-15T21:44:54.004Z] + git semver [Pipeline] } [2021-01-15T21:44:54.048Z] $ docker stop --time=1 526541df1e92a722926bba43a2bbb9eefb16976be05ea67bb9550bc5ada4675b [2021-01-15T21:44:55.718Z] $ docker rm -f 526541df1e92a722926bba43a2bbb9eefb16976be05ea67bb9550bc5ada4675b [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T21:44:56.183Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-15T21:44:56.644Z] Stashed 1 file(s) [Pipeline] echo [2021-01-15T21:44:56.648Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-15T21:45:12.159Z] Still waiting to schedule task [2021-01-15T21:45:12.159Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20641’ is offline; ‘prd-centos7-docker-4c-2g-20642’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-15T21:45:12.162Z] Still waiting to schedule task [2021-01-15T21:45:12.162Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-15T21:47:38.414Z] Running on prd-centos7-docker-4c-2g-20652 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-15T21:47:38.463Z] Running in /w/workspace/device-sdk-go/106 [Pipeline] { [Pipeline] checkout [2021-01-15T21:47:40.923Z] using credential edgex-jenkins-ssh [2021-01-15T21:47:40.982Z] Cloning the remote Git repository [2021-01-15T21:47:41.011Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:47:41.101Z] > git init /w/workspace/device-sdk-go/106 # timeout=10 [2021-01-15T21:47:41.164Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:47:41.165Z] > git --version # timeout=10 [2021-01-15T21:47:41.171Z] > git --version # 'git version 2.24.3' [2021-01-15T21:47:41.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:47:41.203Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:47:41.947Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:47:41.954Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:47:41.971Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:47:41.986Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:47:41.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:47:41.991Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T21:47:42.436Z] Checking out Revision 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (master) [2021-01-15T21:47:42.450Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:47:42.457Z] > git checkout -f 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-15T21:47:46.124Z] Commit message: "Merge pull request #737 from lenny-intel/v2-module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:47:47.350Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:47:47.708Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:47:48.023Z] + sudo service docker restart [2021-01-15T21:47:48.023Z] + true [2021-01-15T21:47:48.023Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T21:47:49.487Z] provisioning config files... [2021-01-15T21:47:49.522Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/106@tmp/config6357329953094658134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:47:49.905Z] ---> docker-login.sh [2021-01-15T21:47:49.905Z] nexus3.edgexfoundry.org:10001 [2021-01-15T21:47:50.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:47:50.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:47:50.442Z] Configure a credential helper to remove this warning. See [2021-01-15T21:47:50.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:47:50.442Z] [2021-01-15T21:47:50.442Z] Login Succeeded [2021-01-15T21:47:50.442Z] nexus3.edgexfoundry.org:10002 [2021-01-15T21:47:50.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:47:50.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:47:50.715Z] Configure a credential helper to remove this warning. See [2021-01-15T21:47:50.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:47:50.715Z] [2021-01-15T21:47:50.715Z] Login Succeeded [2021-01-15T21:47:50.715Z] nexus3.edgexfoundry.org:10003 [2021-01-15T21:47:50.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:47:50.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:47:50.715Z] Configure a credential helper to remove this warning. See [2021-01-15T21:47:50.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:47:50.715Z] [2021-01-15T21:47:50.715Z] Login Succeeded [2021-01-15T21:47:50.715Z] nexus3.edgexfoundry.org:10004 [2021-01-15T21:47:50.750Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20651 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-15T21:47:50.801Z] Running in /w/workspace/device-sdk-go/106 [Pipeline] { [Pipeline] checkout [2021-01-15T21:47:50.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:47:50.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:47:50.981Z] Configure a credential helper to remove this warning. See [2021-01-15T21:47:50.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:47:50.981Z] [2021-01-15T21:47:50.981Z] Login Succeeded [2021-01-15T21:47:50.981Z] docker.io [2021-01-15T21:47:51.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:47:51.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:47:51.252Z] Configure a credential helper to remove this warning. See [2021-01-15T21:47:51.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:47:51.253Z] [2021-01-15T21:47:51.517Z] Login Succeeded [2021-01-15T21:47:51.517Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T21:47:51.527Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-15T21:47:51.847Z] ========================================================= [2021-01-15T21:47:51.847Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-15T21:47:51.847Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:47:52.191Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-15T21:47:52.460Z] Sending build context to Docker daemon 2.577MB [2021-01-15T21:47:52.460Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:47:52.460Z] Step 2/8 : FROM ${BASE} [2021-01-15T21:47:52.460Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-15T21:47:52.460Z] 188c0c94c7c5: Pulling fs layer [2021-01-15T21:47:52.460Z] 0ef7d3d256c8: Pulling fs layer [2021-01-15T21:47:52.460Z] de9db76c5a1d: Pulling fs layer [2021-01-15T21:47:52.460Z] bca2f99d35d6: Pulling fs layer [2021-01-15T21:47:52.460Z] 93359f2a8cfa: Pulling fs layer [2021-01-15T21:47:52.460Z] 7c6f9722023f: Pulling fs layer [2021-01-15T21:47:52.460Z] a35cf1a2eb13: Pulling fs layer [2021-01-15T21:47:52.460Z] 93359f2a8cfa: Waiting [2021-01-15T21:47:52.460Z] 7c6f9722023f: Waiting [2021-01-15T21:47:52.460Z] a35cf1a2eb13: Waiting [2021-01-15T21:47:52.460Z] bca2f99d35d6: Waiting [2021-01-15T21:47:52.460Z] de9db76c5a1d: Download complete [2021-01-15T21:47:52.460Z] 0ef7d3d256c8: Download complete [2021-01-15T21:47:52.726Z] 93359f2a8cfa: Verifying Checksum [2021-01-15T21:47:52.726Z] 93359f2a8cfa: Download complete [2021-01-15T21:47:52.726Z] 7c6f9722023f: Verifying Checksum [2021-01-15T21:47:52.726Z] 7c6f9722023f: Download complete [2021-01-15T21:47:52.726Z] 188c0c94c7c5: Verifying Checksum [2021-01-15T21:47:52.726Z] 188c0c94c7c5: Download complete [2021-01-15T21:47:52.992Z] 188c0c94c7c5: Pull complete [2021-01-15T21:47:53.253Z] 0ef7d3d256c8: Pull complete [2021-01-15T21:47:53.253Z] de9db76c5a1d: Pull complete [2021-01-15T21:47:55.184Z] a35cf1a2eb13: Verifying Checksum [2021-01-15T21:47:55.184Z] a35cf1a2eb13: Download complete [2021-01-15T21:47:55.184Z] bca2f99d35d6: Verifying Checksum [2021-01-15T21:47:55.184Z] bca2f99d35d6: Download complete [2021-01-15T21:47:56.108Z] using credential edgex-jenkins-ssh [2021-01-15T21:47:56.165Z] Cloning the remote Git repository [2021-01-15T21:47:56.226Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:47:56.347Z] > git init /w/workspace/device-sdk-go/106 # timeout=10 [2021-01-15T21:47:56.432Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:47:56.434Z] > git --version # timeout=10 [2021-01-15T21:47:56.456Z] > git --version # 'git version 2.17.1' [2021-01-15T21:47:56.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:47:56.549Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:47:57.822Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:47:57.851Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T21:47:57.892Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T21:47:57.941Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T21:47:57.942Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T21:47:57.958Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T21:47:58.470Z] Checking out Revision 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (master) [2021-01-15T21:47:58.498Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T21:47:58.522Z] > git checkout -f 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-15T21:48:00.533Z] bca2f99d35d6: Pull complete [2021-01-15T21:48:00.796Z] 93359f2a8cfa: Pull complete [2021-01-15T21:48:00.796Z] 7c6f9722023f: Pull complete [2021-01-15T21:48:03.188Z] Commit message: "Merge pull request #737 from lenny-intel/v2-module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:48:04.673Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:48:05.057Z] a35cf1a2eb13: Pull complete [2021-01-15T21:48:05.057Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-15T21:48:05.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-15T21:48:05.057Z] ---> a62c8e92a672 [2021-01-15T21:48:05.058Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:48:05.093Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T21:48:05.326Z] ---> Running in 26da62c9441e [2021-01-15T21:48:05.442Z] + sudo service docker restart [2021-01-15T21:48:05.442Z] + true [2021-01-15T21:48:05.591Z] Removing intermediate container 26da62c9441e [2021-01-15T21:48:05.591Z] ---> 43944c168d2a [2021-01-15T21:48:05.591Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:48:05.591Z] ---> Running in 53d12440638e [2021-01-15T21:48:06.994Z] Removing intermediate container 53d12440638e [2021-01-15T21:48:06.994Z] ---> 1f9574afddcd [2021-01-15T21:48:06.994Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-15T21:48:06.994Z] ---> Running in 1735fe034850 [2021-01-15T21:48:07.259Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T21:48:08.152Z] provisioning config files... [2021-01-15T21:48:08.194Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/106@tmp/config9004922033440197047tmp [2021-01-15T21:48:08.210Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:48:08.673Z] ---> docker-login.sh [2021-01-15T21:48:08.673Z] nexus3.edgexfoundry.org:10001 [2021-01-15T21:48:08.786Z] OK: 166 MiB in 39 packages [2021-01-15T21:48:09.053Z] Removing intermediate container 1735fe034850 [2021-01-15T21:48:09.053Z] ---> 9d989903954c [2021-01-15T21:48:09.053Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-15T21:48:09.053Z] ---> Running in 7ef9d38afac3 [2021-01-15T21:48:09.318Z] Removing intermediate container 7ef9d38afac3 [2021-01-15T21:48:09.318Z] ---> feaabb1b9c16 [2021-01-15T21:48:09.318Z] Step 7/8 : COPY . . [2021-01-15T21:48:09.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:48:09.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:48:09.939Z] Configure a credential helper to remove this warning. See [2021-01-15T21:48:09.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:48:09.939Z] [2021-01-15T21:48:09.939Z] Login Succeeded [2021-01-15T21:48:09.939Z] nexus3.edgexfoundry.org:10002 [2021-01-15T21:48:10.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:48:10.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:48:10.497Z] Configure a credential helper to remove this warning. See [2021-01-15T21:48:10.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:48:10.497Z] [2021-01-15T21:48:10.497Z] Login Succeeded [2021-01-15T21:48:10.497Z] nexus3.edgexfoundry.org:10003 [2021-01-15T21:48:10.717Z] ---> b59a2ffc3138 [2021-01-15T21:48:10.717Z] Step 8/8 : RUN go mod download [2021-01-15T21:48:10.717Z] ---> Running in 2ac3091d8bba [2021-01-15T21:48:10.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:48:11.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:48:11.055Z] Configure a credential helper to remove this warning. See [2021-01-15T21:48:11.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:48:11.055Z] [2021-01-15T21:48:11.055Z] Login Succeeded [2021-01-15T21:48:11.055Z] nexus3.edgexfoundry.org:10004 [2021-01-15T21:48:11.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:48:11.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:48:11.605Z] Configure a credential helper to remove this warning. See [2021-01-15T21:48:11.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:48:11.605Z] [2021-01-15T21:48:11.605Z] Login Succeeded [2021-01-15T21:48:11.605Z] docker.io [2021-01-15T21:48:11.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T21:48:12.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T21:48:12.148Z] Configure a credential helper to remove this warning. See [2021-01-15T21:48:12.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T21:48:12.148Z] [2021-01-15T21:48:12.148Z] Login Succeeded [2021-01-15T21:48:12.148Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T21:48:12.167Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-15T21:48:12.613Z] ========================================================= [2021-01-15T21:48:12.613Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-15T21:48:12.613Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:48:13.001Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-15T21:48:13.277Z] Sending build context to Docker daemon 2.576MB [2021-01-15T21:48:13.552Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:48:13.552Z] Step 2/8 : FROM ${BASE} [2021-01-15T21:48:13.552Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-15T21:48:13.552Z] 5f621e34cdf4: Pulling fs layer [2021-01-15T21:48:13.552Z] a4357932f1b6: Pulling fs layer [2021-01-15T21:48:13.552Z] 18c013af1878: Pulling fs layer [2021-01-15T21:48:13.552Z] 00ac8860ef70: Pulling fs layer [2021-01-15T21:48:13.553Z] 63d7cb157983: Pulling fs layer [2021-01-15T21:48:13.553Z] b116817d02f9: Pulling fs layer [2021-01-15T21:48:13.553Z] 745a02a5169b: Pulling fs layer [2021-01-15T21:48:13.553Z] 00ac8860ef70: Waiting [2021-01-15T21:48:13.553Z] 63d7cb157983: Waiting [2021-01-15T21:48:13.553Z] b116817d02f9: Waiting [2021-01-15T21:48:13.553Z] 745a02a5169b: Waiting [2021-01-15T21:48:13.553Z] 18c013af1878: Verifying Checksum [2021-01-15T21:48:13.553Z] 18c013af1878: Download complete [2021-01-15T21:48:13.553Z] a4357932f1b6: Verifying Checksum [2021-01-15T21:48:13.553Z] a4357932f1b6: Download complete [2021-01-15T21:48:13.553Z] 63d7cb157983: Verifying Checksum [2021-01-15T21:48:13.553Z] 63d7cb157983: Download complete [2021-01-15T21:48:13.553Z] b116817d02f9: Download complete [2021-01-15T21:48:14.162Z] 5f621e34cdf4: Verifying Checksum [2021-01-15T21:48:14.162Z] 5f621e34cdf4: Download complete [2021-01-15T21:48:14.782Z] 5f621e34cdf4: Pull complete [2021-01-15T21:48:15.394Z] a4357932f1b6: Pull complete [2021-01-15T21:48:15.999Z] 18c013af1878: Pull complete [2021-01-15T21:48:17.449Z] 745a02a5169b: Verifying Checksum [2021-01-15T21:48:17.449Z] 745a02a5169b: Download complete [2021-01-15T21:48:17.726Z] 00ac8860ef70: Verifying Checksum [2021-01-15T21:48:17.726Z] 00ac8860ef70: Download complete [2021-01-15T21:48:27.924Z] 00ac8860ef70: Pull complete [2021-01-15T21:48:28.197Z] 63d7cb157983: Pull complete [2021-01-15T21:48:28.474Z] b116817d02f9: Pull complete [2021-01-15T21:48:32.789Z] Removing intermediate container 2ac3091d8bba [2021-01-15T21:48:32.790Z] ---> d4209ab73e88 [2021-01-15T21:48:32.790Z] Successfully built d4209ab73e88 [2021-01-15T21:48:32.790Z] Successfully tagged ci-base-image-x86_64:latest [2021-01-15T21:48:32.815Z] 745a02a5169b: Pull complete [2021-01-15T21:48:32.815Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-15T21:48:32.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-15T21:48:32.815Z] ---> b7e6874047d6 [2021-01-15T21:48:32.815Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:48:33.134Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T21:48:33.134Z] . [Pipeline] withDockerContainer [2021-01-15T21:48:33.257Z] prd-centos7-docker-4c-2g-20652 does not seem to be running inside a container [2021-01-15T21:48:33.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/106 -v /w/workspace/device-sdk-go/106:/w/workspace/device-sdk-go/106:rw,z -v /w/workspace/device-sdk-go/106@tmp:/w/workspace/device-sdk-go/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-15T21:48:34.170Z] $ docker top 79f11e136defa704a0126229540de957b06322528338e68dfade6fb737a95163 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:48:34.692Z] + go version [2021-01-15T21:48:34.692Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-15T21:48:34.710Z] $ docker stop --time=1 79f11e136defa704a0126229540de957b06322528338e68dfade6fb737a95163 [2021-01-15T21:48:35.469Z] ---> Running in a039b769f82e [2021-01-15T21:48:35.742Z] Removing intermediate container a039b769f82e [2021-01-15T21:48:35.742Z] ---> 23a8a1bb761c [2021-01-15T21:48:35.742Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:48:36.015Z] ---> Running in 054f133ac739 [2021-01-15T21:48:36.098Z] $ docker rm -f 79f11e136defa704a0126229540de957b06322528338e68dfade6fb737a95163 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:48:36.918Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T21:48:36.919Z] . [Pipeline] withDockerContainer [2021-01-15T21:48:37.062Z] prd-centos7-docker-4c-2g-20652 does not seem to be running inside a container [2021-01-15T21:48:37.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/106 -v /w/workspace/device-sdk-go/106:/w/workspace/device-sdk-go/106:rw,z -v /w/workspace/device-sdk-go/106@tmp:/w/workspace/device-sdk-go/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-15T21:48:37.990Z] $ docker top b004b148450a61e3a9851737ee60ee45a87063dbfb1ce3391a90401d6f3050f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:48:38.549Z] + make test [2021-01-15T21:48:38.549Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-15T21:48:38.656Z] Removing intermediate container 054f133ac739 [2021-01-15T21:48:38.656Z] ---> 0731c5583ba3 [2021-01-15T21:48:38.656Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-15T21:48:38.656Z] ---> Running in 5442b4789db0 [2021-01-15T21:48:39.653Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-15T21:48:40.638Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-15T21:48:41.252Z] OK: 142 MiB in 39 packages [2021-01-15T21:48:42.702Z] Removing intermediate container 5442b4789db0 [2021-01-15T21:48:42.702Z] ---> bb5ac89e2e6e [2021-01-15T21:48:42.702Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-15T21:48:42.975Z] ---> Running in f154a7f882b4 [2021-01-15T21:48:43.576Z] Removing intermediate container f154a7f882b4 [2021-01-15T21:48:43.576Z] ---> 9cd989cd6309 [2021-01-15T21:48:43.576Z] Step 7/8 : COPY . . [2021-01-15T21:48:45.020Z] ---> ff9c9152dbfd [2021-01-15T21:48:45.020Z] Step 8/8 : RUN go mod download [2021-01-15T21:48:45.294Z] ---> Running in c14485c41caa [2021-01-15T21:48:47.230Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-15T21:49:05.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-15T21:49:05.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-15T21:49:05.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-15T21:49:05.909Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.126s coverage: 19.4% of statements [2021-01-15T21:49:07.503Z] Removing intermediate container c14485c41caa [2021-01-15T21:49:07.503Z] ---> a40aaf51a70b [2021-01-15T21:49:07.503Z] Successfully built a40aaf51a70b [2021-01-15T21:49:07.503Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:49:07.887Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T21:49:07.887Z] . [Pipeline] withDockerContainer [2021-01-15T21:49:08.185Z] prd-ubuntu18.04-docker-arm64-4c-16g-20651 does not seem to be running inside a container [2021-01-15T21:49:08.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/106 -v /w/workspace/device-sdk-go/106:/w/workspace/device-sdk-go/106:rw,z -v /w/workspace/device-sdk-go/106@tmp:/w/workspace/device-sdk-go/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-15T21:49:09.436Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.605s coverage: 97.1% of statements [2021-01-15T21:49:09.806Z] $ docker top 3a9cb9adade2fd33038b04a19fd2098cd169ead2e58e30f3e07d10ef1b4bde9a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:49:10.960Z] + go version [2021-01-15T21:49:10.960Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-15T21:49:10.989Z] $ docker stop --time=1 3a9cb9adade2fd33038b04a19fd2098cd169ead2e58e30f3e07d10ef1b4bde9a [2021-01-15T21:49:13.001Z] $ docker rm -f 3a9cb9adade2fd33038b04a19fd2098cd169ead2e58e30f3e07d10ef1b4bde9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:49:14.265Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T21:49:14.265Z] . [Pipeline] withDockerContainer [2021-01-15T21:49:14.513Z] prd-ubuntu18.04-docker-arm64-4c-16g-20651 does not seem to be running inside a container [2021-01-15T21:49:14.614Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/106 -v /w/workspace/device-sdk-go/106:/w/workspace/device-sdk-go/106:rw,z -v /w/workspace/device-sdk-go/106@tmp:/w/workspace/device-sdk-go/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-15T21:49:16.249Z] $ docker top 7d5f010c22dfe344d04e44fbfd78a6304327db34774bb012590bab44a281e559 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:49:17.283Z] + make test [2021-01-15T21:49:17.283Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-15T21:49:41.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.076s coverage: 9.4% of statements [2021-01-15T21:49:41.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.100s coverage: 21.7% of statements [2021-01-15T21:49:41.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-15T21:49:41.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.249s coverage: 42.9% of statements [2021-01-15T21:49:41.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-15T21:49:41.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.390s coverage: 68.9% of statements [2021-01-15T21:49:41.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-15T21:49:41.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-15T21:49:41.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-15T21:49:41.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-15T21:49:41.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 53.8% of statements [2021-01-15T21:49:41.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-15T21:49:41.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-15T21:49:41.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.078s coverage: 30.4% of statements [2021-01-15T21:49:41.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.738s coverage: 68.9% of statements [2021-01-15T21:49:41.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.2% of statements [2021-01-15T21:49:41.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-15T21:49:41.729Z] GO111MODULE=on go vet ./... [2021-01-15T21:49:44.170Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-15T21:49:49.971Z] gofmt -l . [2021-01-15T21:49:50.234Z] [ "`gofmt -l .`" = "" ] [2021-01-15T21:49:50.234Z] ./bin/test-attribution-txt.sh [2021-01-15T21:49:51.184Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-15T21:49:51.202Z] $ docker stop --time=1 b004b148450a61e3a9851737ee60ee45a87063dbfb1ce3391a90401d6f3050f5 [2021-01-15T21:49:53.246Z] $ docker rm -f b004b148450a61e3a9851737ee60ee45a87063dbfb1ce3391a90401d6f3050f5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T21:49:53.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-15T21:49:54.372Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-15T21:49:55.555Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-15T21:49:55.866Z] + ls -al . [2021-01-15T21:49:55.866Z] total 220 [2021-01-15T21:49:55.866Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 15 21:49 . [2021-01-15T21:49:55.866Z] drwxrwxr-x. 4 jenkins jenkins 32 Jan 15 21:47 .. [2021-01-15T21:49:55.866Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 15 21:47 bin [2021-01-15T21:49:55.866Z] -rw-r--r--. 1 jenkins jenkins 142787 Jan 15 21:49 coverage.out [2021-01-15T21:49:55.866Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 15 21:47 Dockerfile.build [2021-01-15T21:49:55.866Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 15 21:47 .dockerignore [2021-01-15T21:49:55.866Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 15 21:47 example [2021-01-15T21:49:55.866Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 15 21:47 .git [2021-01-15T21:49:55.866Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 15 21:47 .github [2021-01-15T21:49:55.866Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 15 21:47 .gitignore [2021-01-15T21:49:55.866Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 15 21:49 go.mod [2021-01-15T21:49:55.866Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 15 21:49 go.sum [2021-01-15T21:49:55.866Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 15 21:47 internal [2021-01-15T21:49:55.866Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 15 21:47 Jenkinsfile [2021-01-15T21:49:55.866Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 15 21:47 LICENSE [2021-01-15T21:49:55.866Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 15 21:47 Makefile [2021-01-15T21:49:55.866Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 15 21:47 openapi [2021-01-15T21:49:55.866Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 15 21:47 pkg [2021-01-15T21:49:55.866Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 15 21:47 README.md [2021-01-15T21:49:55.866Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 15 21:47 RELEASE-NOTES.txt [2021-01-15T21:49:55.866Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 15 21:47 snap [2021-01-15T21:49:55.866Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 15 21:44 VERSION [2021-01-15T21:49:55.866Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 15 21:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:49:56.189Z] + 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=4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 --label arch=amd64 --label version=2.0.0-dev.1 . [2021-01-15T21:49:56.454Z] Sending build context to Docker daemon 2.721MB [2021-01-15T21:49:56.454Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:49:56.454Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-15T21:49:56.454Z] ---> d4209ab73e88 [2021-01-15T21:49:56.454Z] Step 3/24 : ARG MAKE='make build' [2021-01-15T21:49:57.034Z] ---> Running in bc9f890d4675 [2021-01-15T21:49:57.034Z] Removing intermediate container bc9f890d4675 [2021-01-15T21:49:57.034Z] ---> b01985735a0a [2021-01-15T21:49:57.034Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-15T21:49:57.298Z] ---> Running in ffc699f54fd5 [2021-01-15T21:49:57.561Z] Removing intermediate container ffc699f54fd5 [2021-01-15T21:49:57.561Z] ---> 1149d039ab70 [2021-01-15T21:49:57.561Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:49:57.561Z] ---> Running in 354e5ff92a2d [2021-01-15T21:49:57.829Z] Removing intermediate container 354e5ff92a2d [2021-01-15T21:49:57.829Z] ---> 28ce0c375b12 [2021-01-15T21:49:57.829Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:49:57.829Z] ---> Running in 245bde6a66cf [2021-01-15T21:49:59.242Z] Removing intermediate container 245bde6a66cf [2021-01-15T21:49:59.242Z] ---> 83da9927dad5 [2021-01-15T21:49:59.242Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-15T21:49:59.242Z] ---> Running in 021ae4fa83ee [2021-01-15T21:49:59.506Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-15T21:50:00.900Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-15T21:50:02.316Z] OK: 166 MiB in 39 packages [2021-01-15T21:50:02.904Z] Removing intermediate container 021ae4fa83ee [2021-01-15T21:50:02.904Z] ---> 7b1225778973 [2021-01-15T21:50:02.904Z] Step 8/24 : COPY . . [2021-01-15T21:50:03.856Z] ---> e4d9d37c6b8e [2021-01-15T21:50:03.856Z] Step 9/24 : RUN ${MAKE} [2021-01-15T21:50:04.121Z] ---> Running in b5fceeea5496 [2021-01-15T21:50:04.706Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.1" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-15T21:50:14.850Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-15T21:50:16.782Z] Removing intermediate container b5fceeea5496 [2021-01-15T21:50:16.782Z] ---> f5d545a4f78c [2021-01-15T21:50:16.782Z] Step 10/24 : FROM scratch [2021-01-15T21:50:16.782Z] ---> [2021-01-15T21:50:16.782Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:50:16.782Z] ---> Running in d10a2c1d85f9 [2021-01-15T21:50:16.782Z] Removing intermediate container d10a2c1d85f9 [2021-01-15T21:50:16.782Z] ---> d9dda7f1a02f [2021-01-15T21:50:16.782Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-15T21:50:16.782Z] ---> Running in b7ab4505c6c9 [2021-01-15T21:50:17.065Z] Removing intermediate container b7ab4505c6c9 [2021-01-15T21:50:17.065Z] ---> 0cb018711e19 [2021-01-15T21:50:17.065Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-15T21:50:17.065Z] ---> Running in 8aba1fe3ac8d [2021-01-15T21:50:17.065Z] Removing intermediate container 8aba1fe3ac8d [2021-01-15T21:50:17.065Z] ---> 7fd6c89a3751 [2021-01-15T21:50:17.065Z] Step 14/24 : WORKDIR / [2021-01-15T21:50:17.330Z] ---> Running in 52b7aa4b9069 [2021-01-15T21:50:17.330Z] Removing intermediate container 52b7aa4b9069 [2021-01-15T21:50:17.330Z] ---> 8d98a5041e91 [2021-01-15T21:50:17.330Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-15T21:50:17.905Z] ---> c4803d223487 [2021-01-15T21:50:17.905Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-15T21:50:18.174Z] ---> 1b69ae859347 [2021-01-15T21:50:18.174Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-15T21:50:18.438Z] ---> bcc0899d7edd [2021-01-15T21:50:18.438Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-15T21:50:18.703Z] ---> 271b25b4918f [2021-01-15T21:50:18.703Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-15T21:50:18.971Z] ---> 58004bd3ab7f [2021-01-15T21:50:18.971Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-15T21:50:18.971Z] ---> Running in 5e944a26fd80 [2021-01-15T21:50:19.234Z] Removing intermediate container 5e944a26fd80 [2021-01-15T21:50:19.234Z] ---> 2faf1e8a4075 [2021-01-15T21:50:19.234Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-15T21:50:19.234Z] ---> Running in 1360b6ef5759 [2021-01-15T21:50:19.497Z] Removing intermediate container 1360b6ef5759 [2021-01-15T21:50:19.497Z] ---> 214ea78fb1e9 [2021-01-15T21:50:19.497Z] Step 22/24 : LABEL arch=amd64 [2021-01-15T21:50:19.497Z] ---> Running in 9597cfd11cae [2021-01-15T21:50:19.760Z] Removing intermediate container 9597cfd11cae [2021-01-15T21:50:19.760Z] ---> 922266a0d97b [2021-01-15T21:50:19.760Z] Step 23/24 : LABEL git_sha=4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 [2021-01-15T21:50:19.760Z] ---> Running in d548a0f48b82 [2021-01-15T21:50:20.059Z] Removing intermediate container d548a0f48b82 [2021-01-15T21:50:20.059Z] ---> a074bc3791b4 [2021-01-15T21:50:20.059Z] Step 24/24 : LABEL version=2.0.0-dev.1 [2021-01-15T21:50:20.059Z] ---> Running in 960c74db7796 [2021-01-15T21:50:20.331Z] Removing intermediate container 960c74db7796 [2021-01-15T21:50:20.331Z] ---> 8565066958e6 [2021-01-15T21:50:20.331Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-15T21:50:20.331Z] Successfully built 8565066958e6 [2021-01-15T21:50:20.331Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-15T21:50:31.437Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-15T21:50:31.437Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-15T21:50:31.437Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-15T21:50:31.437Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.160s coverage: 19.4% of statements [2021-01-15T21:50:33.439Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.342s coverage: 97.1% of statements [2021-01-15T21:51:05.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.135s coverage: 9.4% of statements [2021-01-15T21:51:05.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.141s coverage: 21.7% of statements [2021-01-15T21:51:05.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-15T21:51:05.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.615s coverage: 42.9% of statements [2021-01-15T21:51:05.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-15T21:51:05.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.806s coverage: 68.9% of statements [2021-01-15T21:51:05.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-15T21:51:05.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-15T21:51:05.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-15T21:51:05.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-15T21:51:05.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.181s coverage: 53.8% of statements [2021-01-15T21:51:05.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-15T21:51:05.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-15T21:51:05.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.184s coverage: 30.4% of statements [2021-01-15T21:51:05.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.038s coverage: 68.9% of statements [2021-01-15T21:51:05.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.164s coverage: 4.2% of statements [2021-01-15T21:51:05.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-15T21:51:05.837Z] GO111MODULE=on go vet ./... [2021-01-15T21:51:38.267Z] gofmt -l . [2021-01-15T21:51:38.267Z] [ "`gofmt -l .`" = "" ] [2021-01-15T21:51:38.539Z] ./bin/test-attribution-txt.sh [2021-01-15T21:51:39.517Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-15T21:51:40.148Z] $ docker stop --time=1 7d5f010c22dfe344d04e44fbfd78a6304327db34774bb012590bab44a281e559 [2021-01-15T21:51:42.550Z] $ docker rm -f 7d5f010c22dfe344d04e44fbfd78a6304327db34774bb012590bab44a281e559 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T21:51:43.739Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-15T21:51:43.760Z] Warning: overwriting stash ‘coverage-report’ [2021-01-15T21:51:44.812Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T21:51:45.578Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-15T21:51:45.977Z] + ls -al . [2021-01-15T21:51:45.977Z] total 256 [2021-01-15T21:51:45.977Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 15 21:51 . [2021-01-15T21:51:45.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:47 .. [2021-01-15T21:51:45.977Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 15 21:47 .dockerignore [2021-01-15T21:51:45.977Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 15 21:48 .git [2021-01-15T21:51:45.977Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:47 .github [2021-01-15T21:51:45.977Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 15 21:47 .gitignore [2021-01-15T21:51:45.977Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 15 21:47 Dockerfile.build [2021-01-15T21:51:45.977Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 15 21:47 Jenkinsfile [2021-01-15T21:51:45.977Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 15 21:47 LICENSE [2021-01-15T21:51:45.977Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 15 21:47 Makefile [2021-01-15T21:51:45.977Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 15 21:47 README.md [2021-01-15T21:51:45.977Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 15 21:47 RELEASE-NOTES.txt [2021-01-15T21:51:45.977Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 15 21:44 VERSION [2021-01-15T21:51:45.977Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 21:47 bin [2021-01-15T21:51:45.977Z] -rw-r--r-- 1 jenkins jenkins 142788 Jan 15 21:51 coverage.out [2021-01-15T21:51:45.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:47 example [2021-01-15T21:51:45.977Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 15 21:51 go.mod [2021-01-15T21:51:45.977Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 15 21:51 go.sum [2021-01-15T21:51:45.977Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 15 21:47 internal [2021-01-15T21:51:45.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:47 openapi [2021-01-15T21:51:45.977Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 15 21:47 pkg [2021-01-15T21:51:45.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 21:47 snap [2021-01-15T21:51:45.977Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 15 21:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:51:46.384Z] + 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=4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 --label arch=arm64 --label version=2.0.0-dev.1 . [2021-01-15T21:51:47.023Z] Sending build context to Docker daemon 2.72MB [2021-01-15T21:51:47.023Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T21:51:47.023Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-15T21:51:47.023Z] ---> a40aaf51a70b [2021-01-15T21:51:47.023Z] Step 3/24 : ARG MAKE='make build' [2021-01-15T21:51:47.300Z] ---> Running in 281bf53c38af [2021-01-15T21:51:47.575Z] Removing intermediate container 281bf53c38af [2021-01-15T21:51:47.575Z] ---> 323d26c91308 [2021-01-15T21:51:47.575Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-15T21:51:47.859Z] ---> Running in acda6b455ae5 [2021-01-15T21:51:48.462Z] Removing intermediate container acda6b455ae5 [2021-01-15T21:51:48.462Z] ---> acbe66e0150e [2021-01-15T21:51:48.462Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:51:48.462Z] ---> Running in 3e6747a24bef [2021-01-15T21:51:49.080Z] Removing intermediate container 3e6747a24bef [2021-01-15T21:51:49.080Z] ---> ab994731fdbf [2021-01-15T21:51:49.080Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T21:51:49.080Z] ---> Running in 4ea9d0ec8699 [2021-01-15T21:51:51.713Z] Removing intermediate container 4ea9d0ec8699 [2021-01-15T21:51:51.713Z] ---> 4b73baf98534 [2021-01-15T21:51:51.713Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-15T21:51:51.713Z] ---> Running in 41f0fa667898 [2021-01-15T21:51:53.147Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-15T21:51:53.743Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-15T21:51:54.723Z] OK: 142 MiB in 39 packages [2021-01-15T21:51:55.705Z] Removing intermediate container 41f0fa667898 [2021-01-15T21:51:55.705Z] ---> 367adbbaf82f [2021-01-15T21:51:55.705Z] Step 8/24 : COPY . . [2021-01-15T21:51:57.686Z] ---> f67c21e76f52 [2021-01-15T21:51:57.686Z] Step 9/24 : RUN ${MAKE} [2021-01-15T21:51:57.686Z] ---> Running in 1925b3ef5f01 [2021-01-15T21:51:58.666Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.1" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-15T21:52:31.079Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-15T21:52:31.079Z] Removing intermediate container 1925b3ef5f01 [2021-01-15T21:52:31.079Z] ---> 1bf07e46c9d7 [2021-01-15T21:52:31.079Z] Step 10/24 : FROM scratch [2021-01-15T21:52:31.079Z] ---> [2021-01-15T21:52:31.079Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T21:52:31.079Z] ---> Running in 686c9e86bcd7 [2021-01-15T21:52:31.079Z] Removing intermediate container 686c9e86bcd7 [2021-01-15T21:52:31.079Z] ---> b9da84125590 [2021-01-15T21:52:31.079Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-15T21:52:31.079Z] ---> Running in 018af22e2661 [2021-01-15T21:52:31.079Z] Removing intermediate container 018af22e2661 [2021-01-15T21:52:31.079Z] ---> 30a1ecb90a25 [2021-01-15T21:52:31.079Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-15T21:52:31.079Z] ---> Running in c37ae7b35afc [2021-01-15T21:52:31.356Z] Removing intermediate container c37ae7b35afc [2021-01-15T21:52:31.356Z] ---> c13e04ae593b [2021-01-15T21:52:31.356Z] Step 14/24 : WORKDIR / [2021-01-15T21:52:31.356Z] ---> Running in ca7ff1d9c0de [2021-01-15T21:52:31.952Z] Removing intermediate container ca7ff1d9c0de [2021-01-15T21:52:31.952Z] ---> 6c58fd65c95c [2021-01-15T21:52:31.952Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-15T21:52:32.931Z] ---> a80073518831 [2021-01-15T21:52:32.931Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-15T21:52:33.525Z] ---> 0688f04cd53a [2021-01-15T21:52:33.525Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-15T21:52:34.123Z] ---> 6fd8d30d8d18 [2021-01-15T21:52:34.123Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-15T21:52:35.105Z] ---> 5879a56c0d09 [2021-01-15T21:52:35.105Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-15T21:52:35.698Z] ---> 3c645a4e6ddd [2021-01-15T21:52:35.698Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-15T21:52:35.971Z] ---> Running in 9d15160fdc0e [2021-01-15T21:52:36.246Z] Removing intermediate container 9d15160fdc0e [2021-01-15T21:52:36.246Z] ---> c92eb79d1010 [2021-01-15T21:52:36.246Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-15T21:52:36.516Z] ---> Running in ba42c2f8d962 [2021-01-15T21:52:36.789Z] Removing intermediate container ba42c2f8d962 [2021-01-15T21:52:36.789Z] ---> 0aed17f81799 [2021-01-15T21:52:36.789Z] Step 22/24 : LABEL arch=arm64 [2021-01-15T21:52:37.064Z] ---> Running in f5c70f43ac46 [2021-01-15T21:52:37.338Z] Removing intermediate container f5c70f43ac46 [2021-01-15T21:52:37.338Z] ---> 8b4f484e3642 [2021-01-15T21:52:37.338Z] Step 23/24 : LABEL git_sha=4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 [2021-01-15T21:52:37.613Z] ---> Running in 2e15501a9dee [2021-01-15T21:52:38.218Z] Removing intermediate container 2e15501a9dee [2021-01-15T21:52:38.218Z] ---> 105cdd8a285d [2021-01-15T21:52:38.218Z] Step 24/24 : LABEL version=2.0.0-dev.1 [2021-01-15T21:52:38.218Z] ---> Running in ed89fa9769f9 [2021-01-15T21:52:38.814Z] Removing intermediate container ed89fa9769f9 [2021-01-15T21:52:38.814Z] ---> ebdd550bd7f3 [2021-01-15T21:52:38.814Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-15T21:52:38.814Z] Successfully built ebdd550bd7f3 [2021-01-15T21:52:38.814Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-15T21:52:40.545Z] provisioning config files... [2021-01-15T21:52:40.559Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1249942631547128391tmp [Pipeline] { [Pipeline] sh [2021-01-15T21:52:40.981Z] + set +x [2021-01-15T21:52:40.981Z] + curl -s https://codecov.io/bash [2021-01-15T21:52:40.981Z] + bash -s -- [2021-01-15T21:52:41.245Z] [2021-01-15T21:52:41.245Z] _____ _ [2021-01-15T21:52:41.245Z] / ____| | | [2021-01-15T21:52:41.245Z] | | ___ __| | ___ ___ _____ __ [2021-01-15T21:52:41.245Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-15T21:52:41.245Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-15T21:52:41.245Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-15T21:52:41.245Z] Bash-20210115-cec3c92 [2021-01-15T21:52:41.245Z] [2021-01-15T21:52:41.245Z] [2021-01-15T21:52:41.245Z] ==> git version 2.24.3 found [2021-01-15T21:52:41.245Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-15T21:52:41.245Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-15T21:52:41.245Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-15T21:52:41.245Z] ==> Jenkins CI detected. [2021-01-15T21:52:41.245Z] project root: . [2021-01-15T21:52:41.245Z] --> token set from env [2021-01-15T21:52:41.245Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-15T21:52:41.245Z] ==> Running gcov in . (disable via -X gcov) [2021-01-15T21:52:41.245Z] ==> Python coveragepy not found [2021-01-15T21:52:41.245Z] ==> Searching for coverage reports in: [2021-01-15T21:52:41.245Z] + . [2021-01-15T21:52:41.245Z] -> Found 1 reports [2021-01-15T21:52:41.245Z] ==> Detecting git/mercurial file structure [2021-01-15T21:52:41.245Z] ==> Reading reports [2021-01-15T21:52:41.245Z] + ./coverage.out bytes=142788 [2021-01-15T21:52:41.245Z] ==> Appending adjustments [2021-01-15T21:52:41.245Z] https://docs.codecov.io/docs/fixing-reports [2021-01-15T21:52:41.820Z] + Found adjustments [2021-01-15T21:52:41.820Z] ==> Gzipping contents [2021-01-15T21:52:41.820Z] 24K /tmp/codecov.7C9m8m.gz [2021-01-15T21:52:41.820Z] ==> Uploading reports [2021-01-15T21:52:41.820Z] url: https://codecov.io [2021-01-15T21:52:41.820Z] query: branch=master&commit=4c3dc03c8ea9c7d0ca8607851bb568d204203cf0&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-15T21:52:41.820Z] -> Pinging Codecov [2021-01-15T21:52:41.820Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=4c3dc03c8ea9c7d0ca8607851bb568d204203cf0&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-15T21:52:42.774Z] -> Uploading to [2021-01-15T21:52:42.774Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-15/7E55EF52A471D76F132DFD9A03CDDE97/4c3dc03c8ea9c7d0ca8607851bb568d204203cf0/38508c47-c394-4c12-88fd-9171cfd75083.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T215242Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d8b4a7cae30acf5ce8d258cebebce4bf3977839973372db6dd485eb22b8956f2 [2021-01-15T21:52:42.774Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-15T21:52:42.774Z] Dload Upload Total Spent Left Speed [2021-01-15T21:52:43.040Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22124 0 0 100 22124 0 45906 --:--:-- --:--:-- --:--:-- 45900 [2021-01-15T21:52:43.040Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 [Pipeline] } [2021-01-15T21:52:43.051Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-15T21:52:43.939Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-15T21:52:44.003Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:52:44.354Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-15T21:52:44.354Z] [2021-01-15T21:52:44.354Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:52:44.710Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-15T21:52:44.710Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-15T21:52:44.710Z] 188c0c94c7c5: Pulling fs layer [2021-01-15T21:52:44.710Z] 0ef7d3d256c8: Pulling fs layer [2021-01-15T21:52:44.710Z] de9db76c5a1d: Pulling fs layer [2021-01-15T21:52:44.710Z] 0eba1c9be4d2: Pulling fs layer [2021-01-15T21:52:44.710Z] 0d57e429df01: Pulling fs layer [2021-01-15T21:52:44.710Z] 4e4be7b47b0d: Pulling fs layer [2021-01-15T21:52:44.710Z] e1f770b5df2f: Pulling fs layer [2021-01-15T21:52:44.710Z] 85a0685a4137: Pulling fs layer [2021-01-15T21:52:44.710Z] 0d57e429df01: Waiting [2021-01-15T21:52:44.710Z] 4e4be7b47b0d: Waiting [2021-01-15T21:52:44.710Z] e1f770b5df2f: Waiting [2021-01-15T21:52:44.710Z] 85a0685a4137: Waiting [2021-01-15T21:52:44.710Z] 0eba1c9be4d2: Waiting [2021-01-15T21:52:44.710Z] de9db76c5a1d: Download complete [2021-01-15T21:52:44.710Z] 0ef7d3d256c8: Verifying Checksum [2021-01-15T21:52:44.710Z] 0ef7d3d256c8: Download complete [2021-01-15T21:52:44.710Z] 0d57e429df01: Download complete [2021-01-15T21:52:44.710Z] 4e4be7b47b0d: Verifying Checksum [2021-01-15T21:52:44.710Z] 4e4be7b47b0d: Download complete [2021-01-15T21:52:44.710Z] 188c0c94c7c5: Verifying Checksum [2021-01-15T21:52:44.710Z] 188c0c94c7c5: Download complete [2021-01-15T21:52:45.287Z] 188c0c94c7c5: Pull complete [2021-01-15T21:52:45.287Z] 0ef7d3d256c8: Pull complete [2021-01-15T21:52:45.550Z] de9db76c5a1d: Pull complete [2021-01-15T21:52:46.949Z] e1f770b5df2f: Verifying Checksum [2021-01-15T21:52:46.949Z] e1f770b5df2f: Download complete [2021-01-15T21:52:48.898Z] 0eba1c9be4d2: Verifying Checksum [2021-01-15T21:52:48.898Z] 0eba1c9be4d2: Download complete [2021-01-15T21:52:49.167Z] 85a0685a4137: Verifying Checksum [2021-01-15T21:52:49.167Z] 85a0685a4137: Download complete [2021-01-15T21:52:54.524Z] 0eba1c9be4d2: Pull complete [2021-01-15T21:52:54.524Z] 0d57e429df01: Pull complete [2021-01-15T21:52:54.792Z] 4e4be7b47b0d: Pull complete [2021-01-15T21:52:56.722Z] e1f770b5df2f: Pull complete [2021-01-15T21:53:04.944Z] 85a0685a4137: Pull complete [2021-01-15T21:53:04.944Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-15T21:53:04.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-15T21:53:04.944Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-15T21:53:05.165Z] prd-centos7-docker-4c-2g-20640 does not seem to be running inside a container [2021-01-15T21:53:05.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-15T21:53:06.402Z] $ docker top 9187f01d23e6566fe135de51e8f81271f902a730a833bf1659dd057e1aef985e -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-15T21:53:06.688Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-15T21:53:06.982Z] + set -o pipefail [2021-01-15T21:53:06.982Z] + snyk monitor '--org=edgex-jenkins' [2021-01-15T21:53:13.593Z] [2021-01-15T21:53:13.593Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-01-15T21:53:13.593Z] [2021-01-15T21:53:13.593Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/b98369a4-a76e-4a6b-92e6-3ebf03a160c4 [2021-01-15T21:53:13.593Z] [2021-01-15T21:53:13.593Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-15T21:53:13.593Z] [2021-01-15T21:53:13.593Z] [Pipeline] } [2021-01-15T21:53:13.609Z] $ docker stop --time=1 9187f01d23e6566fe135de51e8f81271f902a730a833bf1659dd057e1aef985e [2021-01-15T21:53:16.311Z] $ docker rm -f 9187f01d23e6566fe135de51e8f81271f902a730a833bf1659dd057e1aef985e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-01-15T21:53:17.606Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-15T21:53:17.658Z] provisioning config files... [2021-01-15T21:53:17.669Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6760932243312285815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:53:18.037Z] --> edgex-publish-swagger.sh [2021-01-15T21:53:18.037Z] === Publish openapi/v1 API === [2021-01-15T21:53:18.037Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-01-15T21:53:18.037Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-01-15T21:53:18.037Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-15T21:53:18.037Z] Dload Upload Total Spent Left Speed [2021-01-15T21:53:18.620Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 28970 --:--:-- --:--:-- --:--:-- 28992 100 19947 0 0 100 19947 0 28961 --:--:-- --:--:-- --:--:-- 28992 [2021-01-15T21:53:18.620Z] [2021-01-15T21:53:18.620Z] [2021-01-15T21:53:18.620Z] === Publish openapi/v2 API === [2021-01-15T21:53:18.620Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-01-15T21:53:18.620Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-01-15T21:53:18.620Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-15T21:53:18.620Z] Dload Upload Total Spent Left Speed [2021-01-15T21:53:19.568Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52084 0 0 100 52084 0 63243 --:--:-- --:--:-- --:--:-- 63285 [2021-01-15T21:53:19.568Z] [2021-01-15T21:53:19.568Z] [Pipeline] } [2021-01-15T21:53:19.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-01-15T21:53:20.411Z] + git log --format=format:%s -1 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:53:20.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:53:20.720Z] . [Pipeline] withDockerContainer [2021-01-15T21:53:20.830Z] prd-centos7-docker-4c-2g-20640 does not seem to be running inside a container [2021-01-15T21:53:20.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-15T21:53:21.748Z] $ docker top 36ee08ec145e3968dad40e011da31a26eb29843e3860d85d012889ce9519aafc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-15T21:53:22.101Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T21:53:22.101Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T21:53:22.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T21:53:22.335Z] $ docker exec 36ee08ec145e3968dad40e011da31a26eb29843e3860d85d012889ce9519aafc ssh-agent [2021-01-15T21:53:22.552Z] SSH_AUTH_SOCK=/tmp/ssh-eY7jaQ1o0tgO/agent.11 [2021-01-15T21:53:22.552Z] SSH_AGENT_PID=17 [2021-01-15T21:53:22.563Z] Running ssh-add (command line suppressed) [2021-01-15T21:53:22.726Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_976782169131798370.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_976782169131798370.key) [2021-01-15T21:53:22.787Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T21:53:23.136Z] + git semver tag [2021-01-15T21:53:23.136Z] # -> Open(): unable to determine branch for HEAD [2021-01-15T21:53:23.136Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-15T21:53:23.136Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-15T21:53:23.136Z] # $SEMVER_REMOTE_NAME = origin [2021-01-15T21:53:23.136Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-15T21:53:23.136Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-15T21:53:23.136Z] # $SEMVER_BRANCH = master [2021-01-15T21:53:23.136Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-15T21:53:23.136Z] # 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 HEAD [2021-01-15T21:53:23.441Z] # -> Force: false [2021-01-15T21:53:23.732Z] # e430337485d2cc95c9c2bb1131dda8b229159a37 refs/tags/v2.0.0-dev.1 [Pipeline] } [2021-01-15T21:53:23.772Z] $ docker exec --env ******** --env ******** 36ee08ec145e3968dad40e011da31a26eb29843e3860d85d012889ce9519aafc ssh-agent -k [2021-01-15T21:53:23.922Z] unset SSH_AUTH_SOCK; [2021-01-15T21:53:23.922Z] unset SSH_AGENT_PID; [2021-01-15T21:53:23.923Z] echo Agent pid 17 killed; [2021-01-15T21:53:24.000Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-15T21:53:24.644Z] + git semver [Pipeline] } [2021-01-15T21:53:24.667Z] $ docker stop --time=1 36ee08ec145e3968dad40e011da31a26eb29843e3860d85d012889ce9519aafc [2021-01-15T21:53:26.112Z] $ docker rm -f 36ee08ec145e3968dad40e011da31a26eb29843e3860d85d012889ce9519aafc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:53:26.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-15T21:53:26.803Z] [2021-01-15T21:53:26.803Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:53:27.158Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-15T21:53:27.158Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-15T21:53:27.158Z] ab5ef0e58194: Pulling fs layer [2021-01-15T21:53:27.158Z] 9712f1f96733: Pulling fs layer [2021-01-15T21:53:27.158Z] 63f879dbbcfc: Pulling fs layer [2021-01-15T21:53:27.158Z] 0d9ebad4ef96: Pulling fs layer [2021-01-15T21:53:27.158Z] e9a5061849ea: Pulling fs layer [2021-01-15T21:53:27.158Z] d747dcd14b5f: Pulling fs layer [2021-01-15T21:53:27.158Z] 2de7ff778b66: Pulling fs layer [2021-01-15T21:53:27.158Z] 0d9ebad4ef96: Waiting [2021-01-15T21:53:27.158Z] e9a5061849ea: Waiting [2021-01-15T21:53:27.158Z] d747dcd14b5f: Waiting [2021-01-15T21:53:27.158Z] 2de7ff778b66: Waiting [2021-01-15T21:53:27.158Z] 9712f1f96733: Verifying Checksum [2021-01-15T21:53:27.158Z] 9712f1f96733: Download complete [2021-01-15T21:53:28.565Z] 63f879dbbcfc: Verifying Checksum [2021-01-15T21:53:28.565Z] 63f879dbbcfc: Download complete [2021-01-15T21:53:28.834Z] e9a5061849ea: Verifying Checksum [2021-01-15T21:53:28.834Z] e9a5061849ea: Download complete [2021-01-15T21:53:28.834Z] d747dcd14b5f: Verifying Checksum [2021-01-15T21:53:28.834Z] d747dcd14b5f: Download complete [2021-01-15T21:53:29.416Z] 2de7ff778b66: Verifying Checksum [2021-01-15T21:53:29.416Z] 2de7ff778b66: Download complete [2021-01-15T21:53:29.416Z] 0d9ebad4ef96: Verifying Checksum [2021-01-15T21:53:29.416Z] 0d9ebad4ef96: Download complete [2021-01-15T21:53:29.678Z] ab5ef0e58194: Verifying Checksum [2021-01-15T21:53:29.678Z] ab5ef0e58194: Download complete [2021-01-15T21:53:33.944Z] ab5ef0e58194: Pull complete [2021-01-15T21:53:33.944Z] 9712f1f96733: Pull complete [2021-01-15T21:53:37.271Z] 63f879dbbcfc: Pull complete [2021-01-15T21:53:43.911Z] 0d9ebad4ef96: Pull complete [2021-01-15T21:53:44.866Z] e9a5061849ea: Pull complete [2021-01-15T21:53:44.866Z] d747dcd14b5f: Pull complete [2021-01-15T21:53:48.200Z] 2de7ff778b66: Pull complete [2021-01-15T21:53:48.200Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-15T21:53:48.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-15T21:53:48.200Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-15T21:53:48.397Z] prd-centos7-docker-4c-2g-20640 does not seem to be running inside a container [2021-01-15T21:53:48.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-15T21:53:52.520Z] $ docker top 6d5d992632d89034991a1ef24fdf438809213162add7345d548c779d4b046f89 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-15T21:53:52.824Z] provisioning config files... [2021-01-15T21:53:52.834Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3902402845993915465tmp [2021-01-15T21:53:52.851Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3123076454779871032tmp [2021-01-15T21:53:52.867Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8499891072765039247tmp [Pipeline] { [Pipeline] echo [2021-01-15T21:53:52.922Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:53:53.229Z] ---> sigul-configuration.sh [2021-01-15T21:53:53.229Z] gpg: directory `/root/.gnupg' created [2021-01-15T21:53:53.229Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-15T21:53:53.230Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-15T21:53:53.230Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-15T21:53:53.230Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-15T21:53:53.230Z] gpg: CAST5 encrypted data [2021-01-15T21:53:53.492Z] gpg: encrypted with 1 passphrase [2021-01-15T21:53:53.492Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-15T21:53:53.793Z] + mkdir /home/jenkins [2021-01-15T21:53:53.793Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-15T21:53:54.095Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-01-15T21:53:54.106Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:53:54.409Z] ---> sigul-install.sh [2021-01-15T21:54:01.630Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-15T21:54:02.287Z] + git tag --list [2021-01-15T21:54:02.287Z] 0.7.1 [2021-01-15T21:54:02.287Z] delhi-tag [2021-01-15T21:54:02.287Z] v1.0.0 [2021-01-15T21:54:02.287Z] v1.1.0 [2021-01-15T21:54:02.287Z] v1.1.1 [2021-01-15T21:54:02.287Z] v1.1.2 [2021-01-15T21:54:02.287Z] v1.2.0 [2021-01-15T21:54:02.287Z] v1.2.1 [2021-01-15T21:54:02.287Z] v1.2.2 [2021-01-15T21:54:02.287Z] v1.2.3 [2021-01-15T21:54:02.287Z] v1.2.4-dev.1 [2021-01-15T21:54:02.287Z] v1.2.4-dev.10 [2021-01-15T21:54:02.287Z] v1.2.4-dev.11 [2021-01-15T21:54:02.287Z] v1.2.4-dev.12 [2021-01-15T21:54:02.287Z] v1.2.4-dev.13 [2021-01-15T21:54:02.287Z] v1.2.4-dev.14 [2021-01-15T21:54:02.287Z] v1.2.4-dev.15 [2021-01-15T21:54:02.287Z] v1.2.4-dev.16 [2021-01-15T21:54:02.287Z] v1.2.4-dev.17 [2021-01-15T21:54:02.287Z] v1.2.4-dev.18 [2021-01-15T21:54:02.287Z] v1.2.4-dev.19 [2021-01-15T21:54:02.287Z] v1.2.4-dev.2 [2021-01-15T21:54:02.287Z] v1.2.4-dev.20 [2021-01-15T21:54:02.287Z] v1.2.4-dev.21 [2021-01-15T21:54:02.287Z] v1.2.4-dev.22 [2021-01-15T21:54:02.287Z] v1.2.4-dev.23 [2021-01-15T21:54:02.287Z] v1.2.4-dev.24 [2021-01-15T21:54:02.287Z] v1.2.4-dev.25 [2021-01-15T21:54:02.287Z] v1.2.4-dev.26 [2021-01-15T21:54:02.287Z] v1.2.4-dev.27 [2021-01-15T21:54:02.287Z] v1.2.4-dev.28 [2021-01-15T21:54:02.287Z] v1.2.4-dev.29 [2021-01-15T21:54:02.287Z] v1.2.4-dev.3 [2021-01-15T21:54:02.287Z] v1.2.4-dev.30 [2021-01-15T21:54:02.287Z] v1.2.4-dev.31 [2021-01-15T21:54:02.287Z] v1.2.4-dev.32 [2021-01-15T21:54:02.287Z] v1.2.4-dev.33 [2021-01-15T21:54:02.287Z] v1.2.4-dev.34 [2021-01-15T21:54:02.287Z] v1.2.4-dev.35 [2021-01-15T21:54:02.287Z] v1.2.4-dev.4 [2021-01-15T21:54:02.287Z] v1.2.4-dev.5 [2021-01-15T21:54:02.287Z] v1.2.4-dev.6 [2021-01-15T21:54:02.287Z] v1.2.4-dev.7 [2021-01-15T21:54:02.287Z] v1.2.4-dev.8 [2021-01-15T21:54:02.287Z] v1.2.4-dev.9 [2021-01-15T21:54:02.287Z] v1.3.0 [2021-01-15T21:54:02.287Z] v1.3.1-dev.1 [2021-01-15T21:54:02.287Z] v1.3.1-dev.10 [2021-01-15T21:54:02.287Z] v1.3.1-dev.2 [2021-01-15T21:54:02.287Z] v1.3.1-dev.3 [2021-01-15T21:54:02.287Z] v1.3.1-dev.4 [2021-01-15T21:54:02.287Z] v1.3.1-dev.5 [2021-01-15T21:54:02.287Z] v1.3.1-dev.6 [2021-01-15T21:54:02.287Z] v1.3.1-dev.7 [2021-01-15T21:54:02.287Z] v1.3.1-dev.8 [2021-01-15T21:54:02.287Z] v1.3.1-dev.9 [2021-01-15T21:54:02.287Z] v1.4.0 [2021-01-15T21:54:02.287Z] v1.4.1-dev.1 [2021-01-15T21:54:02.287Z] v1.4.1-dev.2 [2021-01-15T21:54:02.287Z] v1.4.1-dev.3 [2021-01-15T21:54:02.287Z] v1.4.1-dev.4 [2021-01-15T21:54:02.287Z] v1.4.1-dev.5 [2021-01-15T21:54:02.287Z] v1.4.1-dev.6 [2021-01-15T21:54:02.287Z] v1.4.1-dev.7 [2021-01-15T21:54:02.287Z] v2.0.0-dev.1 [Pipeline] sh [2021-01-15T21:54:02.589Z] + lftools sign git-tag v2.0.0-dev.1 [2021-01-15T21:54:03.988Z] Signing Git tag with Sigul... [2021-01-15T21:54:03.988Z] Signing v2.0.0-dev.1 [Pipeline] echo [2021-01-15T21:54:04.945Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:05.256Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-15T21:54:05.267Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-15T21:54:05.424Z] $ docker stop --time=1 6d5d992632d89034991a1ef24fdf438809213162add7345d548c779d4b046f89 [2021-01-15T21:54:07.502Z] $ docker rm -f 6d5d992632d89034991a1ef24fdf438809213162add7345d548c779d4b046f89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:54:08.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:54:08.415Z] . [Pipeline] withDockerContainer [2021-01-15T21:54:08.523Z] prd-centos7-docker-4c-2g-20640 does not seem to be running inside a container [2021-01-15T21:54:08.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-15T21:54:09.345Z] $ docker top fbb2df75712895a2c4bb2e143270ba22ca6c82f0415702e96a86e0360fffe9ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-15T21:54:09.645Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T21:54:09.645Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T21:54:09.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T21:54:09.856Z] $ docker exec fbb2df75712895a2c4bb2e143270ba22ca6c82f0415702e96a86e0360fffe9ef ssh-agent [2021-01-15T21:54:10.049Z] SSH_AUTH_SOCK=/tmp/ssh-ColHbW2I3RyZ/agent.13 [2021-01-15T21:54:10.049Z] SSH_AGENT_PID=19 [2021-01-15T21:54:10.057Z] Running ssh-add (command line suppressed) [2021-01-15T21:54:10.192Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1560580272897593901.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1560580272897593901.key) [2021-01-15T21:54:10.255Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T21:54:10.610Z] + git semver bump pre [2021-01-15T21:54:10.610Z] # -> Open(): unable to determine branch for HEAD [2021-01-15T21:54:10.610Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-15T21:54:10.610Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-15T21:54:10.610Z] # $SEMVER_REMOTE_NAME = origin [2021-01-15T21:54:10.610Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-15T21:54:10.610Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-15T21:54:10.610Z] # $SEMVER_BRANCH = master [2021-01-15T21:54:10.610Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-15T21:54:10.610Z] 2.0.0-dev.2 [Pipeline] } [2021-01-15T21:54:10.625Z] $ docker exec --env ******** --env ******** fbb2df75712895a2c4bb2e143270ba22ca6c82f0415702e96a86e0360fffe9ef ssh-agent -k [2021-01-15T21:54:10.767Z] unset SSH_AUTH_SOCK; [2021-01-15T21:54:10.767Z] unset SSH_AGENT_PID; [2021-01-15T21:54:10.767Z] echo Agent pid 19 killed; [2021-01-15T21:54:10.834Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-15T21:54:11.287Z] + git semver [Pipeline] } [2021-01-15T21:54:11.304Z] $ docker stop --time=1 fbb2df75712895a2c4bb2e143270ba22ca6c82f0415702e96a86e0360fffe9ef [2021-01-15T21:54:12.670Z] $ docker rm -f fbb2df75712895a2c4bb2e143270ba22ca6c82f0415702e96a86e0360fffe9ef [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:54:13.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T21:54:13.213Z] . [Pipeline] withDockerContainer [2021-01-15T21:54:13.374Z] prd-centos7-docker-4c-2g-20640 does not seem to be running inside a container [2021-01-15T21:54:13.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-15T21:54:14.271Z] $ docker top 288d080985f12aa4cb8fcf6899e6e320f0123aa9de67f1998a6633dd1529b227 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-15T21:54:14.675Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T21:54:14.676Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T21:54:14.896Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T21:54:14.899Z] $ docker exec 288d080985f12aa4cb8fcf6899e6e320f0123aa9de67f1998a6633dd1529b227 ssh-agent [2021-01-15T21:54:15.078Z] SSH_AUTH_SOCK=/tmp/ssh-4YF1zqZMpEOz/agent.12 [2021-01-15T21:54:15.078Z] SSH_AGENT_PID=17 [2021-01-15T21:54:15.086Z] Running ssh-add (command line suppressed) [2021-01-15T21:54:15.228Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2039655360629486744.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2039655360629486744.key) [2021-01-15T21:54:15.288Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T21:54:15.618Z] + git semver push [2021-01-15T21:54:15.618Z] # -> Open(): unable to determine branch for HEAD [2021-01-15T21:54:15.618Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-15T21:54:15.618Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-15T21:54:15.618Z] # $SEMVER_REMOTE_NAME = origin [2021-01-15T21:54:15.618Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-15T21:54:15.618Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-15T21:54:15.618Z] # $SEMVER_BRANCH = master [2021-01-15T21:54:15.618Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-15T21:54:22.246Z] $ docker exec --env ******** --env ******** 288d080985f12aa4cb8fcf6899e6e320f0123aa9de67f1998a6633dd1529b227 ssh-agent -k [2021-01-15T21:54:22.374Z] unset SSH_AUTH_SOCK; [2021-01-15T21:54:22.375Z] unset SSH_AGENT_PID; [2021-01-15T21:54:22.375Z] echo Agent pid 17 killed; [2021-01-15T21:54:22.435Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-15T21:54:22.903Z] + git semver [Pipeline] } [2021-01-15T21:54:22.918Z] $ docker stop --time=1 288d080985f12aa4cb8fcf6899e6e320f0123aa9de67f1998a6633dd1529b227 [2021-01-15T21:54:24.433Z] $ docker rm -f 288d080985f12aa4cb8fcf6899e6e320f0123aa9de67f1998a6633dd1529b227 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:25.892Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:26.808Z] ---> package-listing.sh [2021-01-15T21:54:26.808Z] ++ facter osfamily [2021-01-15T21:54:26.808Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-15T21:54:26.808Z] + OS_FAMILY=redhat [2021-01-15T21:54:26.808Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-01-15T21:54:26.808Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-15T21:54:26.808Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-15T21:54:26.808Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-15T21:54:26.808Z] + PACKAGES=/tmp/packages_start.txt [2021-01-15T21:54:26.808Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-15T21:54:26.808Z] + PACKAGES=/tmp/packages_end.txt [2021-01-15T21:54:26.808Z] + case "${OS_FAMILY}" in [2021-01-15T21:54:26.808Z] + rpm -qa [2021-01-15T21:54:26.808Z] + sort [2021-01-15T21:54:32.116Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-15T21:54:32.116Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-15T21:54:32.116Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-15T21:54:32.116Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-15T21:54:32.116Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-01-15T21:54:32.116Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2021-01-15T21:54:32.129Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-15T21:54:32.420Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:54:32.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:54:32.730Z] [2021-01-15T21:54:32.730Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-15T21:54:33.087Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:54:33.087Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-15T21:54:33.087Z] df20fa9351a1: Pulling fs layer [2021-01-15T21:54:33.087Z] 36b3adc4ff6f: Pulling fs layer [2021-01-15T21:54:33.087Z] 8ad3a11d3b57: Pulling fs layer [2021-01-15T21:54:33.087Z] 46f8f816bc3b: Pulling fs layer [2021-01-15T21:54:33.087Z] 93b61091891f: Pulling fs layer [2021-01-15T21:54:33.087Z] 93b9cdb0e59b: Pulling fs layer [2021-01-15T21:54:33.087Z] 5e14af77c1be: Pulling fs layer [2021-01-15T21:54:33.087Z] 01666e4c0597: Pulling fs layer [2021-01-15T21:54:33.087Z] aa168da1d23b: Pulling fs layer [2021-01-15T21:54:33.087Z] 93b9cdb0e59b: Waiting [2021-01-15T21:54:33.087Z] 5e14af77c1be: Waiting [2021-01-15T21:54:33.087Z] 46f8f816bc3b: Waiting [2021-01-15T21:54:33.087Z] 01666e4c0597: Waiting [2021-01-15T21:54:33.087Z] 93b61091891f: Waiting [2021-01-15T21:54:33.087Z] aa168da1d23b: Waiting [2021-01-15T21:54:33.087Z] 36b3adc4ff6f: Download complete [2021-01-15T21:54:33.087Z] 46f8f816bc3b: Verifying Checksum [2021-01-15T21:54:33.087Z] 46f8f816bc3b: Download complete [2021-01-15T21:54:33.350Z] df20fa9351a1: Verifying Checksum [2021-01-15T21:54:33.350Z] df20fa9351a1: Download complete [2021-01-15T21:54:33.350Z] 93b61091891f: Verifying Checksum [2021-01-15T21:54:33.350Z] 93b61091891f: Download complete [2021-01-15T21:54:33.350Z] 93b9cdb0e59b: Verifying Checksum [2021-01-15T21:54:33.350Z] 93b9cdb0e59b: Download complete [2021-01-15T21:54:33.350Z] 5e14af77c1be: Verifying Checksum [2021-01-15T21:54:33.350Z] 5e14af77c1be: Download complete [2021-01-15T21:54:33.350Z] 01666e4c0597: Verifying Checksum [2021-01-15T21:54:33.350Z] 01666e4c0597: Download complete [2021-01-15T21:54:33.350Z] 8ad3a11d3b57: Verifying Checksum [2021-01-15T21:54:33.350Z] 8ad3a11d3b57: Download complete [2021-01-15T21:54:33.613Z] df20fa9351a1: Pull complete [2021-01-15T21:54:34.195Z] 36b3adc4ff6f: Pull complete [2021-01-15T21:54:35.153Z] 8ad3a11d3b57: Pull complete [2021-01-15T21:54:35.739Z] 46f8f816bc3b: Pull complete [2021-01-15T21:54:35.739Z] aa168da1d23b: Verifying Checksum [2021-01-15T21:54:35.739Z] aa168da1d23b: Download complete [2021-01-15T21:54:36.323Z] 93b61091891f: Pull complete [2021-01-15T21:54:36.323Z] 93b9cdb0e59b: Pull complete [2021-01-15T21:54:36.586Z] 5e14af77c1be: Pull complete [2021-01-15T21:54:36.586Z] 01666e4c0597: Pull complete [2021-01-15T21:54:44.787Z] aa168da1d23b: Pull complete [2021-01-15T21:54:44.787Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-15T21:54:44.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T21:54:44.787Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-15T21:54:45.025Z] prd-centos7-docker-4c-2g-20640 does not seem to be running inside a container [2021-01-15T21:54:45.074Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-15T21:54:47.878Z] $ docker top a7b832040a6c60f73872fc633f53bcda857d05776b1a7ea1a7bcfb5ee08013ce -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T21:54:48.356Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-15T21:54:48.664Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-15T21:54:48.978Z] + ls /var/log/sa-host [2021-01-15T21:54:48.978Z] + sadf -c /var/log/sa-host/sa15 [2021-01-15T21:54:48.978Z] file_magic: OK [2021-01-15T21:54:48.978Z] HZ: Using current value: 100 [2021-01-15T21:54:48.978Z] file_header: OK [2021-01-15T21:54:48.978Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-15T21:54:48.978Z] Statistics: [2021-01-15T21:54:48.978Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-15T21:54:48.978Z] File successfully converted to sysstat format version 12.2.1 [2021-01-15T21:54:48.978Z] + sadf -c /var/log/sa-host/sa23 [2021-01-15T21:54:48.978Z] file_magic: OK [2021-01-15T21:54:48.978Z] HZ: Using current value: 100 [2021-01-15T21:54:48.978Z] file_header: OK [2021-01-15T21:54:48.978Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-15T21:54:48.978Z] Statistics: [2021-01-15T21:54:48.978Z] Hnuu...uuuununununu... [2021-01-15T21:54:48.978Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-15T21:54:49.176Z] provisioning config files... [2021-01-15T21:54:49.192Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7945792500542888328tmp [Pipeline] { [Pipeline] echo [2021-01-15T21:54:49.267Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:49.562Z] ---> create-netrc.sh [Pipeline] } [2021-01-15T21:54:49.572Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-15T21:54:49.667Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:49.961Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-15T21:54:49.972Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:50.273Z] ---> sudo-logs.sh [2021-01-15T21:54:50.273Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-15T21:54:50.286Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:50.594Z] ---> job-cost.sh [2021-01-15T21:54:50.594Z] lf-activate-venv: SKIPPING [2021-01-15T21:54:50.594Z] INFO: No Stack... [2021-01-15T21:54:51.555Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-15T21:54:51.819Z] INFO: Archiving Costs [Pipeline] echo [2021-01-15T21:54:51.834Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T21:54:52.146Z] ---> logs-deploy.sh [2021-01-15T21:54:52.146Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/106 [2021-01-15T21:54:52.146Z] INFO: archiving workspace using pattern(s): [2021-01-15T21:54:54.071Z] Archives upload complete. [2021-01-15T21:54:54.334Z] INFO: archiving logs to Nexus [2021-01-15T21:54:55.307Z] ---> uname -a: [2021-01-15T21:54:55.307Z] Linux prd-centos7-docker-4c-2g-20640.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-01-15T21:54:55.307Z] [2021-01-15T21:54:55.307Z] [2021-01-15T21:54:55.307Z] ---> lscpu: [2021-01-15T21:54:55.307Z] Architecture: x86_64 [2021-01-15T21:54:55.307Z] CPU op-mode(s): 32-bit, 64-bit [2021-01-15T21:54:55.307Z] Byte Order: Little Endian [2021-01-15T21:54:55.307Z] Address sizes: 40 bits physical, 48 bits virtual [2021-01-15T21:54:55.307Z] CPU(s): 4 [2021-01-15T21:54:55.307Z] On-line CPU(s) list: 0-3 [2021-01-15T21:54:55.307Z] Thread(s) per core: 1 [2021-01-15T21:54:55.307Z] Core(s) per socket: 1 [2021-01-15T21:54:55.307Z] Socket(s): 4 [2021-01-15T21:54:55.307Z] NUMA node(s): 1 [2021-01-15T21:54:55.307Z] Vendor ID: GenuineIntel [2021-01-15T21:54:55.307Z] CPU family: 6 [2021-01-15T21:54:55.307Z] Model: 44 [2021-01-15T21:54:55.307Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-01-15T21:54:55.307Z] Stepping: 1 [2021-01-15T21:54:55.307Z] CPU MHz: 2933.436 [2021-01-15T21:54:55.307Z] BogoMIPS: 5866.87 [2021-01-15T21:54:55.307Z] Virtualization: VT-x [2021-01-15T21:54:55.307Z] Hypervisor vendor: KVM [2021-01-15T21:54:55.307Z] Virtualization type: full [2021-01-15T21:54:55.307Z] L1d cache: 128 KiB [2021-01-15T21:54:55.307Z] L1i cache: 128 KiB [2021-01-15T21:54:55.307Z] L2 cache: 16 MiB [2021-01-15T21:54:55.307Z] L3 cache: 64 MiB [2021-01-15T21:54:55.307Z] NUMA node0 CPU(s): 0-3 [2021-01-15T21:54:55.307Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-01-15T21:54:55.307Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-01-15T21:54:55.307Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-01-15T21:54:55.307Z] Vulnerability Meltdown: Mitigation; PTI [2021-01-15T21:54:55.307Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-01-15T21:54:55.307Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-01-15T21:54:55.307Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-01-15T21:54:55.307Z] Vulnerability Srbds: Not affected [2021-01-15T21:54:55.307Z] Vulnerability Tsx async abort: Not affected [2021-01-15T21:54:55.307Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-01-15T21:54:55.307Z] [2021-01-15T21:54:55.307Z] [2021-01-15T21:54:55.307Z] ---> nproc: [2021-01-15T21:54:55.307Z] 4 [2021-01-15T21:54:55.307Z] [2021-01-15T21:54:55.307Z]