Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 372098887a6a7d5d9395bdaf9d03a023308f69fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18201 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 372098887a6a7d5d9395bdaf9d03a023308f69fd (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 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 Commit message: "Merge pull request #699 from ernestojeda/devops-std-dockerfiles" > git rev-list --no-walk 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-04T16:43:25.621Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-04T16:43:25.893Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-04T16:43:26.001Z] ========================================================= [2021-01-04T16:43:26.001Z] EdgeX Global Pipelines Version Info [2021-01-04T16:43:26.001Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:43:27.458Z] ------------------- [2021-01-04T16:43:27.458Z] stable info: [2021-01-04T16:43:27.458Z] ------------------- [2021-01-04T16:43:27.458Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-04T16:43:27.458Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T16:43:27.458Z] Message: update stable to v1.0.173 [2021-01-04T16:43:28.411Z] ------------------- [2021-01-04T16:43:28.411Z] experimental info: [2021-01-04T16:43:28.411Z] ------------------- [2021-01-04T16:43:28.411Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-04T16:43:28.411Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-04T16:43:28.411Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-04T16:43:28.849Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-04T16:43:28.936Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-04T16:43:29.014Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-04T16:43:29.119Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-04T16:43:29.199Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-04T16:43:29.277Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-04T16:43:29.356Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-04T16:43:29.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-04T16:43:29.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-04T16:43:29.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-04T16:43:29.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-04T16:43:29.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-04T16:43:29.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-04T16:43:29.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-04T16:43:30.057Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-04T16:43:30.223Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T16:43:30.362Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T16:43:30.502Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-04T16:43:30.586Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-04T16:43:30.679Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-04T16:43:30.770Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-04T16:43:30.871Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-04T16:43:30.980Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-04T16:43:31.087Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-04T16:43:31.183Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-04T16:43:31.281Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-04T16:43:31.363Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-04T16:43:31.446Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-04T16:43:31.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-04T16:43:31.631Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-04T16:43:31.725Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 372098887a6a7d5d9395bdaf9d03a023308f69fd [Pipeline] echo [2021-01-04T16:43:31.810Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3720988 [Pipeline] echo [2021-01-04T16:43:31.905Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:43:32.086Z] provisioning config files... [2021-01-04T16:43:32.113Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2149749551258015997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:43:32.463Z] ---> docker-login.sh [2021-01-04T16:43:32.463Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:43:32.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:43:32.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:43:32.990Z] Configure a credential helper to remove this warning. See [2021-01-04T16:43:32.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:43:32.990Z] [2021-01-04T16:43:32.990Z] Login Succeeded [2021-01-04T16:43:32.990Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:43:32.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:43:33.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:43:33.253Z] Configure a credential helper to remove this warning. See [2021-01-04T16:43:33.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:43:33.253Z] [2021-01-04T16:43:33.253Z] Login Succeeded [2021-01-04T16:43:33.253Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:43:33.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:43:33.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:43:33.515Z] Configure a credential helper to remove this warning. See [2021-01-04T16:43:33.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:43:33.515Z] [2021-01-04T16:43:33.515Z] Login Succeeded [2021-01-04T16:43:33.515Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:43:33.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:43:33.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:43:33.515Z] Configure a credential helper to remove this warning. See [2021-01-04T16:43:33.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:43:33.516Z] [2021-01-04T16:43:33.516Z] Login Succeeded [2021-01-04T16:43:33.516Z] docker.io [2021-01-04T16:43:33.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:43:34.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:43:34.040Z] Configure a credential helper to remove this warning. See [2021-01-04T16:43:34.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:43:34.040Z] [2021-01-04T16:43:34.040Z] Login Succeeded [2021-01-04T16:43:34.040Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:43:34.050Z] 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-04T16:43:34.827Z] + git log --format=format:%s -1 372098887a6a7d5d9395bdaf9d03a023308f69fd [Pipeline] echo [2021-01-04T16:43:34.889Z] GIT_COMMIT: 372098887a6a7d5d9395bdaf9d03a023308f69fd, Commit Message: Merge pull request #699 from ernestojeda/devops-std-dockerfiles [Pipeline] echo [2021-01-04T16:43:34.949Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:43:35.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:43:35.533Z] [2021-01-04T16:43:35.533Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:43:35.875Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:43:35.875Z] latest: Pulling from edgex-devops/git-semver [2021-01-04T16:43:35.875Z] 31603596830f: Pulling fs layer [2021-01-04T16:43:35.875Z] 2a8b12db71e7: Pulling fs layer [2021-01-04T16:43:35.875Z] 6ca5941a6612: Pulling fs layer [2021-01-04T16:43:35.875Z] ecc8261a40a4: Pulling fs layer [2021-01-04T16:43:35.875Z] ecc8261a40a4: Waiting [2021-01-04T16:43:35.875Z] 2a8b12db71e7: Verifying Checksum [2021-01-04T16:43:35.875Z] 2a8b12db71e7: Download complete [2021-01-04T16:43:35.875Z] 31603596830f: Verifying Checksum [2021-01-04T16:43:35.875Z] 31603596830f: Download complete [2021-01-04T16:43:36.142Z] ecc8261a40a4: Verifying Checksum [2021-01-04T16:43:36.142Z] ecc8261a40a4: Download complete [2021-01-04T16:43:36.142Z] 6ca5941a6612: Verifying Checksum [2021-01-04T16:43:36.142Z] 6ca5941a6612: Download complete [2021-01-04T16:43:36.405Z] 31603596830f: Pull complete [2021-01-04T16:43:36.405Z] 2a8b12db71e7: Pull complete [2021-01-04T16:43:37.360Z] 6ca5941a6612: Pull complete [2021-01-04T16:43:37.623Z] ecc8261a40a4: Pull complete [2021-01-04T16:43:37.623Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-04T16:43:37.623Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:43:37.623Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-04T16:43:37.725Z] prd-centos7-docker-4c-2g-18201 does not seem to be running inside a container [2021-01-04T16:43:37.772Z] $ 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-04T16:43:40.604Z] $ docker top 3133e34d9667baa78947827f330896c57e3230cd110bb604c529092322fb429a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:43:41.081Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:43:41.081Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:43:41.316Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:43:41.321Z] $ docker exec 3133e34d9667baa78947827f330896c57e3230cd110bb604c529092322fb429a ssh-agent [2021-01-04T16:43:41.490Z] SSH_AUTH_SOCK=/tmp/ssh-Z9E4d9ms6Usa/agent.12 [2021-01-04T16:43:41.490Z] SSH_AGENT_PID=17 [2021-01-04T16:43:41.504Z] Running ssh-add (command line suppressed) [2021-01-04T16:43:41.630Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1153676797498921364.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1153676797498921364.key) [2021-01-04T16:43:41.680Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:43:42.029Z] + git tag --points-at HEAD [Pipeline] } [2021-01-04T16:43:42.059Z] $ docker exec --env ******** --env ******** 3133e34d9667baa78947827f330896c57e3230cd110bb604c529092322fb429a ssh-agent -k [2021-01-04T16:43:42.180Z] unset SSH_AUTH_SOCK; [2021-01-04T16:43:42.180Z] unset SSH_AGENT_PID; [2021-01-04T16:43:42.180Z] echo Agent pid 17 killed; [2021-01-04T16:43:42.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-04T16:43:42.417Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:43:42.417Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:43:42.588Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:43:42.594Z] $ docker exec 3133e34d9667baa78947827f330896c57e3230cd110bb604c529092322fb429a ssh-agent [2021-01-04T16:43:42.774Z] SSH_AUTH_SOCK=/tmp/ssh-rR6H8p2LISlU/agent.47 [2021-01-04T16:43:42.774Z] SSH_AGENT_PID=53 [2021-01-04T16:43:42.781Z] Running ssh-add (command line suppressed) [2021-01-04T16:43:42.910Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_499463235726133849.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_499463235726133849.key) [2021-01-04T16:43:42.964Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:43:43.296Z] + git semver init [2021-01-04T16:43:43.296Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:43:43.296Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-04T16:43:43.296Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-04T16:43:43.297Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:43:43.297Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:43:43.297Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:43:43.297Z] # $SEMVER_BRANCH = master [2021-01-04T16:43:43.297Z] # $SEMVER_TEMP = /tmp/semver-384480819 [2021-01-04T16:43:43.297Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-04T16:43:43.872Z] # '/tmp/semver-384480819' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-01-04T16:43:43.872Z] # -> Force: false [2021-01-04T16:43:43.872Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-04T16:43:43.890Z] $ docker exec --env ******** --env ******** 3133e34d9667baa78947827f330896c57e3230cd110bb604c529092322fb429a ssh-agent -k [2021-01-04T16:43:44.002Z] unset SSH_AUTH_SOCK; [2021-01-04T16:43:44.004Z] unset SSH_AGENT_PID; [2021-01-04T16:43:44.004Z] echo Agent pid 53 killed; [2021-01-04T16:43:44.049Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:43:44.530Z] + git semver [Pipeline] } [2021-01-04T16:43:44.548Z] $ docker stop --time=1 3133e34d9667baa78947827f330896c57e3230cd110bb604c529092322fb429a [2021-01-04T16:43:46.301Z] $ docker rm -f 3133e34d9667baa78947827f330896c57e3230cd110bb604c529092322fb429a [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:43:46.786Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-04T16:43:47.296Z] Stashed 1 file(s) [Pipeline] echo [2021-01-04T16:43:47.299Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.13 [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-04T16:44:02.807Z] Still waiting to schedule task [2021-01-04T16:44:02.807Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18202’ is offline [2021-01-04T16:44:02.810Z] Still waiting to schedule task [2021-01-04T16:44:02.810Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-04T16:45:26.103Z] Running on prd-centos7-docker-4c-2g-18206 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-04T16:45:26.170Z] Running in /w/workspace/device-sdk-go/100 [Pipeline] { [Pipeline] checkout [2021-01-04T16:45:28.691Z] using credential edgex-jenkins-ssh [2021-01-04T16:45:28.754Z] Cloning the remote Git repository [2021-01-04T16:45:28.165Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-04T16:45:28.241Z] > git init /w/workspace/device-sdk-go/100 # timeout=10 [2021-01-04T16:45:28.322Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-04T16:45:28.322Z] > git --version # timeout=10 [2021-01-04T16:45:28.334Z] > git --version # 'git version 2.24.3' [2021-01-04T16:45:28.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:45:28.360Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:45:29.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-04T16:45:29.923Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:45:29.944Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-04T16:45:29.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-04T16:45:29.958Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:45:29.963Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T16:45:30.847Z] Checking out Revision 372098887a6a7d5d9395bdaf9d03a023308f69fd (master) [2021-01-04T16:45:30.410Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:45:30.415Z] > git checkout -f 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 [2021-01-04T16:45:34.352Z] Commit message: "Merge pull request #699 from ernestojeda/devops-std-dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:45:35.594Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:45:35.928Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:45:36.228Z] + sudo service docker restart [2021-01-04T16:45:36.228Z] + true [2021-01-04T16:45:36.228Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:45:37.240Z] provisioning config files... [2021-01-04T16:45:37.266Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/100@tmp/config5287908386402199914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:45:37.641Z] ---> docker-login.sh [2021-01-04T16:45:37.641Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:45:37.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:37.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:37.910Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:37.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:37.910Z] [2021-01-04T16:45:37.910Z] Login Succeeded [2021-01-04T16:45:37.910Z] nexus3.edgexfoundry.org:10002 [2021-01-04T16:45:38.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:38.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:38.173Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:38.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:38.173Z] [2021-01-04T16:45:38.173Z] Login Succeeded [2021-01-04T16:45:38.173Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:45:38.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:38.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:38.435Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:38.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:38.435Z] [2021-01-04T16:45:38.435Z] Login Succeeded [2021-01-04T16:45:38.435Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:45:38.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:38.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:38.435Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:38.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:38.435Z] [2021-01-04T16:45:38.435Z] Login Succeeded [2021-01-04T16:45:38.435Z] docker.io [2021-01-04T16:45:38.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:45:38.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:45:38.968Z] Configure a credential helper to remove this warning. See [2021-01-04T16:45:38.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:45:38.968Z] [2021-01-04T16:45:38.968Z] Login Succeeded [2021-01-04T16:45:38.968Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:45:38.979Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T16:45:39.378Z] ========================================================= [2021-01-04T16:45:39.378Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-04T16:45:39.378Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:45:39.729Z] + 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-04T16:45:39.729Z] Sending build context to Docker daemon 2.425MB [2021-01-04T16:45:39.729Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:45:39.729Z] Step 2/8 : FROM ${BASE} [2021-01-04T16:45:39.994Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-04T16:45:39.994Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T16:45:39.994Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T16:45:39.994Z] de9db76c5a1d: Pulling fs layer [2021-01-04T16:45:39.994Z] bca2f99d35d6: Pulling fs layer [2021-01-04T16:45:39.994Z] 93359f2a8cfa: Pulling fs layer [2021-01-04T16:45:39.994Z] 7c6f9722023f: Pulling fs layer [2021-01-04T16:45:39.994Z] a35cf1a2eb13: Pulling fs layer [2021-01-04T16:45:39.994Z] 93359f2a8cfa: Waiting [2021-01-04T16:45:39.994Z] 7c6f9722023f: Waiting [2021-01-04T16:45:39.994Z] a35cf1a2eb13: Waiting [2021-01-04T16:45:39.994Z] bca2f99d35d6: Waiting [2021-01-04T16:45:39.994Z] de9db76c5a1d: Verifying Checksum [2021-01-04T16:45:39.994Z] de9db76c5a1d: Download complete [2021-01-04T16:45:39.994Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T16:45:39.994Z] 0ef7d3d256c8: Download complete [2021-01-04T16:45:39.994Z] 93359f2a8cfa: Verifying Checksum [2021-01-04T16:45:39.994Z] 93359f2a8cfa: Download complete [2021-01-04T16:45:39.994Z] 7c6f9722023f: Download complete [2021-01-04T16:45:39.994Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T16:45:39.994Z] 188c0c94c7c5: Download complete [2021-01-04T16:45:40.294Z] 188c0c94c7c5: Pull complete [2021-01-04T16:45:40.563Z] 0ef7d3d256c8: Pull complete [2021-01-04T16:45:40.563Z] de9db76c5a1d: Pull complete [2021-01-04T16:45:41.963Z] bca2f99d35d6: Verifying Checksum [2021-01-04T16:45:41.963Z] bca2f99d35d6: Download complete [2021-01-04T16:45:42.549Z] a35cf1a2eb13: Verifying Checksum [2021-01-04T16:45:42.549Z] a35cf1a2eb13: Download complete [2021-01-04T16:45:47.894Z] bca2f99d35d6: Pull complete [2021-01-04T16:45:47.894Z] 93359f2a8cfa: Pull complete [2021-01-04T16:45:48.157Z] 7c6f9722023f: Pull complete [2021-01-04T16:45:58.214Z] a35cf1a2eb13: Pull complete [2021-01-04T16:45:58.214Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-04T16:45:58.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-04T16:45:58.214Z] ---> a62c8e92a672 [2021-01-04T16:45:58.214Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-04T16:45:58.214Z] ---> Running in 0451dc5c09ff [2021-01-04T16:45:58.214Z] Removing intermediate container 0451dc5c09ff [2021-01-04T16:45:58.214Z] ---> 47168a236314 [2021-01-04T16:45:58.214Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:45:58.214Z] ---> Running in 6d30f4fcb559 [2021-01-04T16:45:59.215Z] Removing intermediate container 6d30f4fcb559 [2021-01-04T16:45:59.215Z] ---> a4671cefb14d [2021-01-04T16:45:59.215Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-04T16:45:59.215Z] ---> Running in 47cf27cdcf00 [2021-01-04T16:46:00.175Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T16:46:01.126Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T16:46:01.704Z] OK: 166 MiB in 39 packages [2021-01-04T16:46:02.283Z] Removing intermediate container 47cf27cdcf00 [2021-01-04T16:46:02.283Z] ---> 455a1454c163 [2021-01-04T16:46:02.283Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-04T16:46:02.283Z] ---> Running in e0e744dbc5de [2021-01-04T16:46:02.557Z] Removing intermediate container e0e744dbc5de [2021-01-04T16:46:02.557Z] ---> dbd6883bc1c7 [2021-01-04T16:46:02.557Z] Step 7/8 : COPY . . [2021-01-04T16:46:03.951Z] ---> d4088a949001 [2021-01-04T16:46:03.951Z] Step 8/8 : RUN go mod download [2021-01-04T16:46:03.951Z] ---> Running in abc06bdf9644 [2021-01-04T16:46:22.165Z] Removing intermediate container abc06bdf9644 [2021-01-04T16:46:22.165Z] ---> d66dbed46b57 [2021-01-04T16:46:22.165Z] Successfully built d66dbed46b57 [2021-01-04T16:46:22.165Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:22.487Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T16:46:22.487Z] . [Pipeline] withDockerContainer [2021-01-04T16:46:22.606Z] prd-centos7-docker-4c-2g-18206 does not seem to be running inside a container [2021-01-04T16:46:22.729Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/100 -v /w/workspace/device-sdk-go/100:/w/workspace/device-sdk-go/100:rw,z -v /w/workspace/device-sdk-go/100@tmp:/w/workspace/device-sdk-go/100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T16:46:23.577Z] $ docker top 1538c53d1a84457b8c39514ae61b75a6404a093d49e2ad7354419908d233d985 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:46:24.119Z] + go version [2021-01-04T16:46:24.119Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-04T16:46:24.138Z] $ docker stop --time=1 1538c53d1a84457b8c39514ae61b75a6404a093d49e2ad7354419908d233d985 [2021-01-04T16:46:25.961Z] $ docker rm -f 1538c53d1a84457b8c39514ae61b75a6404a093d49e2ad7354419908d233d985 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:46:27.210Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-04T16:46:27.210Z] . [Pipeline] withDockerContainer [2021-01-04T16:46:27.315Z] prd-centos7-docker-4c-2g-18206 does not seem to be running inside a container [2021-01-04T16:46:27.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/100 -v /w/workspace/device-sdk-go/100:/w/workspace/device-sdk-go/100:rw,z -v /w/workspace/device-sdk-go/100@tmp:/w/workspace/device-sdk-go/100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-04T16:46:28.021Z] $ docker top b19de5c585f1c4c7abd7ed3cab6cf3597efc22142d9ee1890c7e48ddb5457cae -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:46:28.598Z] + make test [2021-01-04T16:46:28.598Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-04T16:46:36.934Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-04T16:46:52.004Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-04T16:46:52.004Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-04T16:46:52.004Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-04T16:46:52.278Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.073s coverage: 19.4% of statements [2021-01-04T16:46:54.881Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.522s coverage: 97.1% of statements [2021-01-04T16:47:27.141Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.053s coverage: 9.4% of statements [2021-01-04T16:47:27.141Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.062s coverage: 21.9% of statements [2021-01-04T16:47:27.141Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-04T16:47:27.141Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.235s coverage: 42.5% of statements [2021-01-04T16:47:27.141Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-04T16:47:27.141Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.312s coverage: 68.9% of statements [2021-01-04T16:47:27.141Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-04T16:47:27.141Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-04T16:47:27.141Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-04T16:47:27.141Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-04T16:47:27.141Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.075s coverage: 53.8% of statements [2021-01-04T16:47:27.141Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-04T16:47:27.141Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-04T16:47:27.141Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2021-01-04T16:47:27.141Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.685s coverage: 68.9% of statements [2021-01-04T16:47:27.141Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.062s coverage: 4.2% of statements [2021-01-04T16:47:27.141Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-04T16:47:27.141Z] GO111MODULE=on go vet ./... [2021-01-04T16:47:35.378Z] gofmt -l . [2021-01-04T16:47:35.378Z] [ "`gofmt -l .`" = "" ] [2021-01-04T16:47:35.378Z] ./bin/test-attribution-txt.sh [2021-01-04T16:47:35.378Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-04T16:47:35.404Z] $ docker stop --time=1 b19de5c585f1c4c7abd7ed3cab6cf3597efc22142d9ee1890c7e48ddb5457cae [2021-01-04T16:47:37.364Z] $ docker rm -f b19de5c585f1c4c7abd7ed3cab6cf3597efc22142d9ee1890c7e48ddb5457cae [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:47:38.076Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-04T16:47:38.492Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-04T16:47:39.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-04T16:47:40.017Z] + ls -al . [2021-01-04T16:47:40.018Z] total 208 [2021-01-04T16:47:40.018Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 4 16:47 . [2021-01-04T16:47:40.018Z] drwxrwxr-x. 4 jenkins jenkins 32 Jan 4 16:45 .. [2021-01-04T16:47:40.018Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 4 16:45 bin [2021-01-04T16:47:40.018Z] -rw-r--r--. 1 jenkins jenkins 130526 Jan 4 16:47 coverage.out [2021-01-04T16:47:40.018Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 4 16:45 Dockerfile.build [2021-01-04T16:47:40.018Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 4 16:45 .dockerignore [2021-01-04T16:47:40.018Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 4 16:45 example [2021-01-04T16:47:40.018Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 4 16:45 .git [2021-01-04T16:47:40.018Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 4 16:45 .github [2021-01-04T16:47:40.018Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 4 16:45 .gitignore [2021-01-04T16:47:40.018Z] -rw-r--r--. 1 jenkins jenkins 488 Jan 4 16:47 go.mod [2021-01-04T16:47:40.018Z] -rw-r--r--. 1 jenkins jenkins 13631 Jan 4 16:47 go.sum [2021-01-04T16:47:40.018Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 4 16:45 internal [2021-01-04T16:47:40.018Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 4 16:45 Jenkinsfile [2021-01-04T16:47:40.018Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 4 16:45 LICENSE [2021-01-04T16:47:40.018Z] -rw-rw-r--. 1 jenkins jenkins 1013 Jan 4 16:45 Makefile [2021-01-04T16:47:40.018Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 4 16:45 openapi [2021-01-04T16:47:40.018Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 4 16:45 pkg [2021-01-04T16:47:40.018Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 4 16:45 README.md [2021-01-04T16:47:40.018Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 4 16:45 RELEASE-NOTES.txt [2021-01-04T16:47:40.018Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 4 16:45 snap [2021-01-04T16:47:40.018Z] -rw-rw-r--. 1 jenkins jenkins 12 Jan 4 16:43 VERSION [2021-01-04T16:47:40.018Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 4 16:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:47:40.327Z] + 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=372098887a6a7d5d9395bdaf9d03a023308f69fd --label arch=amd64 --label version=1.3.1-dev.13 . [2021-01-04T16:47:40.593Z] Sending build context to Docker daemon 2.556MB [2021-01-04T16:47:40.593Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:47:40.593Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-04T16:47:40.593Z] ---> d66dbed46b57 [2021-01-04T16:47:40.593Z] Step 3/24 : ARG MAKE='make build' [2021-01-04T16:47:41.168Z] ---> Running in 0353373bc9a1 [2021-01-04T16:47:41.434Z] Removing intermediate container 0353373bc9a1 [2021-01-04T16:47:41.434Z] ---> 7819b05546d6 [2021-01-04T16:47:41.434Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-04T16:47:41.434Z] ---> Running in 173ab221adab [2021-01-04T16:47:41.434Z] Removing intermediate container 173ab221adab [2021-01-04T16:47:41.434Z] ---> 6db06c0f2ee2 [2021-01-04T16:47:41.434Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-04T16:47:41.698Z] ---> Running in f68ecb150dce [2021-01-04T16:47:41.698Z] Removing intermediate container f68ecb150dce [2021-01-04T16:47:41.698Z] ---> ea3d347a3f66 [2021-01-04T16:47:41.698Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:47:41.977Z] ---> Running in cde4991c4c9e [2021-01-04T16:47:42.930Z] Removing intermediate container cde4991c4c9e [2021-01-04T16:47:42.930Z] ---> 1fbb420607bc [2021-01-04T16:47:42.930Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-04T16:47:42.930Z] ---> Running in e78aa8c1bfe1 [2021-01-04T16:47:43.505Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-04T16:47:45.433Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-04T16:47:45.780Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18210 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-04T16:47:45.836Z] Running in /w/workspace/device-sdk-go/100 [Pipeline] { [Pipeline] checkout [2021-01-04T16:47:46.385Z] OK: 166 MiB in 39 packages [2021-01-04T16:47:46.965Z] Removing intermediate container e78aa8c1bfe1 [2021-01-04T16:47:46.965Z] ---> afe86346a439 [2021-01-04T16:47:46.965Z] Step 8/24 : COPY . . [2021-01-04T16:47:48.374Z] ---> 954cec236897 [2021-01-04T16:47:48.374Z] Step 9/24 : RUN ${MAKE} [2021-01-04T16:47:48.374Z] ---> Running in 5d26ed3244af [2021-01-04T16:47:48.646Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.13" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-04T16:47:51.295Z] using credential edgex-jenkins-ssh [2021-01-04T16:47:51.358Z] Cloning the remote Git repository [2021-01-04T16:47:51.422Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-04T16:47:51.557Z] > git init /w/workspace/device-sdk-go/100 # timeout=10 [2021-01-04T16:47:51.647Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-04T16:47:51.648Z] > git --version # timeout=10 [2021-01-04T16:47:51.661Z] > git --version # 'git version 2.17.1' [2021-01-04T16:47:51.663Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:47:51.718Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:47:53.448Z] Checking out Revision 372098887a6a7d5d9395bdaf9d03a023308f69fd (master) [2021-01-04T16:47:52.802Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-04T16:47:52.826Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-04T16:47:52.859Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-04T16:47:52.897Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-04T16:47:52.898Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-04T16:47:52.912Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-04T16:47:53.469Z] > git config core.sparsecheckout # timeout=10 [2021-01-04T16:47:53.486Z] > git checkout -f 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 [2021-01-04T16:47:57.759Z] Commit message: "Merge pull request #699 from ernestojeda/devops-std-dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:47:58.766Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-04T16:47:59.258Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:47:59.691Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-04T16:48:00.118Z] + sudo service docker restart [2021-01-04T16:48:00.118Z] + true [2021-01-04T16:48:00.160Z] Removing intermediate container 5d26ed3244af [2021-01-04T16:48:00.160Z] ---> b7d20a7ea802 [2021-01-04T16:48:00.160Z] Step 10/24 : FROM scratch [2021-01-04T16:48:00.160Z] ---> [2021-01-04T16:48:00.160Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-04T16:48:00.160Z] ---> Running in 106ebfd3ac0d [2021-01-04T16:48:00.160Z] Removing intermediate container 106ebfd3ac0d [2021-01-04T16:48:00.160Z] ---> 2288696b975b [2021-01-04T16:48:00.160Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-04T16:48:00.160Z] ---> Running in 9bffe40683ab [2021-01-04T16:48:00.422Z] Removing intermediate container 9bffe40683ab [2021-01-04T16:48:00.422Z] ---> 0f347a192724 [2021-01-04T16:48:00.422Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-04T16:48:00.422Z] ---> Running in c3da69bfdb89 [2021-01-04T16:48:00.422Z] Removing intermediate container c3da69bfdb89 [2021-01-04T16:48:00.422Z] ---> 3246603f4129 [2021-01-04T16:48:00.422Z] Step 14/24 : WORKDIR / [2021-01-04T16:48:00.685Z] ---> Running in 0bb9bdf2f538 [2021-01-04T16:48:00.685Z] Removing intermediate container 0bb9bdf2f538 [2021-01-04T16:48:00.685Z] ---> eb58a4942cd6 [2021-01-04T16:48:00.685Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-04T16:48:01.278Z] ---> a7712d2a1c96 [2021-01-04T16:48:01.278Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-04T16:48:01.543Z] ---> f7b9143a62ff [2021-01-04T16:48:01.543Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-04T16:48:01.810Z] ---> 6b742b94ac0d [2021-01-04T16:48:01.810Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-04T16:48:02.085Z] ---> 6bd21d0805e0 [2021-01-04T16:48:02.085Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-04T16:48:02.350Z] ---> 38f717960d28 [2021-01-04T16:48:02.350Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-04T16:48:02.350Z] ---> Running in 3bbadec16d67 [2021-01-04T16:48:02.620Z] Removing intermediate container 3bbadec16d67 [2021-01-04T16:48:02.620Z] ---> 37fbc204d6d9 [2021-01-04T16:48:02.620Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-04T16:48:02.620Z] ---> Running in c90028087866 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-04T16:48:02.829Z] provisioning config files... [2021-01-04T16:48:02.865Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/100@tmp/config6907364954719364893tmp [2021-01-04T16:48:02.883Z] Removing intermediate container c90028087866 [2021-01-04T16:48:02.883Z] ---> 765e3cb53f21 [2021-01-04T16:48:02.883Z] Step 22/24 : LABEL arch=amd64 [2021-01-04T16:48:02.883Z] ---> Running in c7a892466d19 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:48:03.146Z] Removing intermediate container c7a892466d19 [2021-01-04T16:48:03.146Z] ---> 80edd2fef8de [2021-01-04T16:48:03.146Z] Step 23/24 : LABEL git_sha=372098887a6a7d5d9395bdaf9d03a023308f69fd [2021-01-04T16:48:03.146Z] ---> Running in 8048186975df [2021-01-04T16:48:03.269Z] ---> docker-login.sh [2021-01-04T16:48:03.269Z] nexus3.edgexfoundry.org:10001 [2021-01-04T16:48:03.409Z] Removing intermediate container 8048186975df [2021-01-04T16:48:03.409Z] ---> e0085d309bcb [2021-01-04T16:48:03.409Z] Step 24/24 : LABEL version=1.3.1-dev.13 [2021-01-04T16:48:03.409Z] ---> Running in f0cea2302e0b [2021-01-04T16:48:03.683Z] Removing intermediate container f0cea2302e0b [2021-01-04T16:48:03.683Z] ---> 1f75f52447f4 [2021-01-04T16:48:03.683Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-04T16:48:03.683Z] Successfully built 1f75f52447f4 [2021-01-04T16:48:03.683Z] 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 [2021-01-04T16:48:04.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2021-01-04T16:48:04.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:48:04.533Z] Configure a credential helper to remove this warning. See [2021-01-04T16:48:04.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:48:04.533Z] [2021-01-04T16:48:04.533Z] Login Succeeded [2021-01-04T16:48:04.533Z] nexus3.edgexfoundry.org:10002 [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-04T16:48:04.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:48:04.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:48:04.810Z] Configure a credential helper to remove this warning. See [2021-01-04T16:48:04.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:48:04.810Z] [2021-01-04T16:48:04.810Z] Login Succeeded [2021-01-04T16:48:04.810Z] nexus3.edgexfoundry.org:10003 [2021-01-04T16:48:05.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:48:05.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:48:05.409Z] Configure a credential helper to remove this warning. See [2021-01-04T16:48:05.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:48:05.409Z] [2021-01-04T16:48:05.409Z] Login Succeeded [2021-01-04T16:48:05.409Z] nexus3.edgexfoundry.org:10004 [2021-01-04T16:48:05.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:48:05.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:48:05.956Z] Configure a credential helper to remove this warning. See [2021-01-04T16:48:05.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:48:05.956Z] [2021-01-04T16:48:05.956Z] Login Succeeded [2021-01-04T16:48:05.956Z] docker.io [2021-01-04T16:48:06.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-04T16:48:06.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-04T16:48:06.826Z] Configure a credential helper to remove this warning. See [2021-01-04T16:48:06.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-04T16:48:06.826Z] [2021-01-04T16:48:06.826Z] Login Succeeded [2021-01-04T16:48:06.826Z] ---> docker-login.sh ends [Pipeline] } [2021-01-04T16:48:06.848Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-04T16:48:07.253Z] ========================================================= [2021-01-04T16:48:07.253Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-04T16:48:07.253Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:48:07.652Z] + 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-04T16:48:08.260Z] Sending build context to Docker daemon 2.424MB [2021-01-04T16:48:08.260Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:48:08.260Z] Step 2/8 : FROM ${BASE} [2021-01-04T16:48:08.260Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-04T16:48:08.260Z] 5f621e34cdf4: Pulling fs layer [2021-01-04T16:48:08.260Z] a4357932f1b6: Pulling fs layer [2021-01-04T16:48:08.260Z] 18c013af1878: Pulling fs layer [2021-01-04T16:48:08.260Z] 00ac8860ef70: Pulling fs layer [2021-01-04T16:48:08.260Z] 63d7cb157983: Pulling fs layer [2021-01-04T16:48:08.260Z] b116817d02f9: Pulling fs layer [2021-01-04T16:48:08.260Z] 745a02a5169b: Pulling fs layer [2021-01-04T16:48:08.260Z] 00ac8860ef70: Waiting [2021-01-04T16:48:08.260Z] 63d7cb157983: Waiting [2021-01-04T16:48:08.260Z] b116817d02f9: Waiting [2021-01-04T16:48:08.260Z] 745a02a5169b: Waiting [2021-01-04T16:48:08.260Z] 18c013af1878: Download complete [2021-01-04T16:48:08.260Z] a4357932f1b6: Download complete [2021-01-04T16:48:08.260Z] b116817d02f9: Verifying Checksum [2021-01-04T16:48:08.260Z] b116817d02f9: Download complete [2021-01-04T16:48:08.260Z] 5f621e34cdf4: Download complete [2021-01-04T16:48:08.873Z] 5f621e34cdf4: Pull complete [2021-01-04T16:48:09.473Z] a4357932f1b6: Pull complete [2021-01-04T16:48:10.076Z] 18c013af1878: Pull complete [2021-01-04T16:48:11.061Z] 745a02a5169b: Verifying Checksum [2021-01-04T16:48:11.061Z] 745a02a5169b: Download complete [2021-01-04T16:48:12.051Z] 00ac8860ef70: Verifying Checksum [2021-01-04T16:48:12.051Z] 00ac8860ef70: Download complete [2021-01-04T16:48:22.258Z] 00ac8860ef70: Pull complete [2021-01-04T16:48:22.258Z] 63d7cb157983: Pull complete [2021-01-04T16:48:22.537Z] b116817d02f9: Pull complete [2021-01-04T16:48:25.930Z] 745a02a5169b: Pull complete [2021-01-04T16:48:26.206Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-04T16:48:26.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-04T16:48:26.206Z] ---> b7e6874047d6 [2021-01-04T16:48:26.206Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-04T16:48:29.605Z] ---> Running in 208e7b67ecec [2021-01-04T16:48:29.605Z] Removing intermediate container 208e7b67ecec [2021-01-04T16:48:29.605Z] ---> e02421acba2e [2021-01-04T16:48:29.605Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:48:29.896Z] ---> Running in 66fcaaadfed8 [2021-01-04T16:48:32.536Z] Removing intermediate container 66fcaaadfed8 [2021-01-04T16:48:32.536Z] ---> a97dc4aea7fc [2021-01-04T16:48:32.536Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-04T16:48:32.536Z] ---> Running in e4258ec44c40 [2021-01-04T16:48:33.511Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T16:48:34.499Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T16:48:35.482Z] OK: 142 MiB in 39 packages [2021-01-04T16:48:36.942Z] Removing intermediate container e4258ec44c40 [2021-01-04T16:48:36.942Z] ---> adaaea3d5b3c [2021-01-04T16:48:36.942Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-04T16:48:36.942Z] ---> Running in 3574d98a0d99 [2021-01-04T16:48:37.540Z] Removing intermediate container 3574d98a0d99 [2021-01-04T16:48:37.540Z] ---> 3b5386129cbb [2021-01-04T16:48:37.540Z] Step 7/8 : COPY . . [2021-01-04T16:48:38.971Z] ---> d7667d58a266 [2021-01-04T16:48:38.971Z] Step 8/8 : RUN go mod download [2021-01-04T16:48:38.971Z] ---> Running in c776d8fa28fb [2021-01-04T16:49:01.180Z] Removing intermediate container c776d8fa28fb [2021-01-04T16:49:01.180Z] ---> 0708dc825a2b [2021-01-04T16:49:01.180Z] Successfully built 0708dc825a2b [2021-01-04T16:49:01.180Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:49:01.532Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T16:49:01.532Z] . [Pipeline] withDockerContainer [2021-01-04T16:49:01.797Z] prd-ubuntu18.04-docker-arm64-4c-16g-18210 does not seem to be running inside a container [2021-01-04T16:49:01.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/100 -v /w/workspace/device-sdk-go/100:/w/workspace/device-sdk-go/100:rw,z -v /w/workspace/device-sdk-go/100@tmp:/w/workspace/device-sdk-go/100@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-arm64 cat [2021-01-04T16:49:03.473Z] $ docker top 800a99807d18075d6fa281f4671f045b320c2cf89a19af4b264d025e4f0befe7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:49:04.604Z] + go version [2021-01-04T16:49:04.604Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-04T16:49:04.631Z] $ docker stop --time=1 800a99807d18075d6fa281f4671f045b320c2cf89a19af4b264d025e4f0befe7 [2021-01-04T16:49:06.622Z] $ docker rm -f 800a99807d18075d6fa281f4671f045b320c2cf89a19af4b264d025e4f0befe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:49:07.619Z] + docker inspect -f . ci-base-image-arm64 [2021-01-04T16:49:07.619Z] . [Pipeline] withDockerContainer [2021-01-04T16:49:07.885Z] prd-ubuntu18.04-docker-arm64-4c-16g-18210 does not seem to be running inside a container [2021-01-04T16:49:07.975Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/100 -v /w/workspace/device-sdk-go/100:/w/workspace/device-sdk-go/100:rw,z -v /w/workspace/device-sdk-go/100@tmp:/w/workspace/device-sdk-go/100@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-arm64 cat [2021-01-04T16:49:10.295Z] $ docker top ec77f31f868fd575d7e28505a227eee097a19777dd79c6ed09e5563cf4ec4592 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:49:11.339Z] + make test [2021-01-04T16:49:11.339Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-04T16:49:33.525Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-04T16:50:12.548Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-04T16:50:12.548Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-04T16:50:12.548Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-04T16:50:13.991Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.140s coverage: 19.4% of statements [2021-01-04T16:50:17.422Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.403s coverage: 97.1% of statements [2021-01-04T16:50:49.846Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.122s coverage: 9.4% of statements [2021-01-04T16:50:49.846Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.120s coverage: 21.9% of statements [2021-01-04T16:50:49.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-04T16:50:49.846Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.641s coverage: 42.5% of statements [2021-01-04T16:50:49.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-04T16:50:49.846Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.903s coverage: 68.9% of statements [2021-01-04T16:50:49.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-04T16:50:49.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-04T16:50:49.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-04T16:50:49.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-04T16:50:49.846Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.208s coverage: 53.8% of statements [2021-01-04T16:50:49.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-04T16:50:49.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-04T16:50:49.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2021-01-04T16:50:49.846Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.969s coverage: 68.9% of statements [2021-01-04T16:50:49.846Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.2% of statements [2021-01-04T16:50:49.846Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-04T16:50:49.846Z] GO111MODULE=on go vet ./... [2021-01-04T16:51:23.052Z] gofmt -l . [2021-01-04T16:51:23.052Z] [ "`gofmt -l .`" = "" ] [2021-01-04T16:51:23.052Z] ./bin/test-attribution-txt.sh [2021-01-04T16:51:23.052Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-04T16:51:23.076Z] $ docker stop --time=1 ec77f31f868fd575d7e28505a227eee097a19777dd79c6ed09e5563cf4ec4592 [2021-01-04T16:51:25.306Z] $ docker rm -f ec77f31f868fd575d7e28505a227eee097a19777dd79c6ed09e5563cf4ec4592 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-04T16:51:26.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-04T16:51:26.383Z] Warning: overwriting stash ‘coverage-report’ [2021-01-04T16:51:27.259Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-04T16:51:28.216Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-04T16:51:28.561Z] + ls -al . [2021-01-04T16:51:28.561Z] total 244 [2021-01-04T16:51:28.561Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 16:51 . [2021-01-04T16:51:28.561Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:47 .. [2021-01-04T16:51:28.561Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 4 16:47 .dockerignore [2021-01-04T16:51:28.561Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:47 .git [2021-01-04T16:51:28.561Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:47 .github [2021-01-04T16:51:28.561Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 4 16:47 .gitignore [2021-01-04T16:51:28.561Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 4 16:47 Dockerfile.build [2021-01-04T16:51:28.561Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 4 16:47 Jenkinsfile [2021-01-04T16:51:28.561Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 4 16:47 LICENSE [2021-01-04T16:51:28.561Z] -rw-rw-r-- 1 jenkins jenkins 1013 Jan 4 16:47 Makefile [2021-01-04T16:51:28.561Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 4 16:47 README.md [2021-01-04T16:51:28.561Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 4 16:47 RELEASE-NOTES.txt [2021-01-04T16:51:28.561Z] -rw-rw-r-- 1 jenkins jenkins 12 Jan 4 16:43 VERSION [2021-01-04T16:51:28.561Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:47 bin [2021-01-04T16:51:28.561Z] -rw-r--r-- 1 jenkins jenkins 130526 Jan 4 16:50 coverage.out [2021-01-04T16:51:28.561Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:47 example [2021-01-04T16:51:28.561Z] -rw-r--r-- 1 jenkins jenkins 488 Jan 4 16:51 go.mod [2021-01-04T16:51:28.561Z] -rw-r--r-- 1 jenkins jenkins 13631 Jan 4 16:51 go.sum [2021-01-04T16:51:28.561Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 4 16:47 internal [2021-01-04T16:51:28.561Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:47 openapi [2021-01-04T16:51:28.561Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 4 16:47 pkg [2021-01-04T16:51:28.561Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:47 snap [2021-01-04T16:51:28.561Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 4 16:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:51:28.907Z] + 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=372098887a6a7d5d9395bdaf9d03a023308f69fd --label arch=arm64 --label version=1.3.1-dev.13 . [2021-01-04T16:51:29.180Z] Sending build context to Docker daemon 2.555MB [2021-01-04T16:51:29.451Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-04T16:51:29.452Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-04T16:51:29.452Z] ---> 0708dc825a2b [2021-01-04T16:51:29.452Z] Step 3/24 : ARG MAKE='make build' [2021-01-04T16:51:29.725Z] ---> Running in c15eed47a8d6 [2021-01-04T16:51:29.997Z] Removing intermediate container c15eed47a8d6 [2021-01-04T16:51:29.997Z] ---> 58e6fc0a4dce [2021-01-04T16:51:29.997Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-04T16:51:30.272Z] ---> Running in 50d69d354bdb [2021-01-04T16:51:30.545Z] Removing intermediate container 50d69d354bdb [2021-01-04T16:51:30.545Z] ---> edb4e5fc7f57 [2021-01-04T16:51:30.545Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-04T16:51:30.826Z] ---> Running in 7079fa554e61 [2021-01-04T16:51:31.099Z] Removing intermediate container 7079fa554e61 [2021-01-04T16:51:31.099Z] ---> ecff45a6f80b [2021-01-04T16:51:31.099Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-04T16:51:31.371Z] ---> Running in f59523e8fc0b [2021-01-04T16:51:33.347Z] Removing intermediate container f59523e8fc0b [2021-01-04T16:51:33.347Z] ---> 09731884ebd2 [2021-01-04T16:51:33.347Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-04T16:51:33.625Z] ---> Running in 65604f4161fe [2021-01-04T16:51:34.606Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-04T16:51:36.575Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-04T16:51:39.182Z] OK: 142 MiB in 39 packages [2021-01-04T16:51:40.161Z] Removing intermediate container 65604f4161fe [2021-01-04T16:51:40.161Z] ---> 671e1ffa5ab6 [2021-01-04T16:51:40.161Z] Step 8/24 : COPY . . [2021-01-04T16:51:41.587Z] ---> cebc899b182c [2021-01-04T16:51:41.587Z] Step 9/24 : RUN ${MAKE} [2021-01-04T16:51:41.587Z] ---> Running in e29d8b6268fb [2021-01-04T16:51:42.601Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.13" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-04T16:52:09.458Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-04T16:52:09.458Z] Removing intermediate container e29d8b6268fb [2021-01-04T16:52:09.458Z] ---> 450cfd50acf0 [2021-01-04T16:52:09.458Z] Step 10/24 : FROM scratch [2021-01-04T16:52:09.458Z] ---> [2021-01-04T16:52:09.458Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-04T16:52:09.458Z] ---> Running in 3141232e26e9 [2021-01-04T16:52:09.458Z] Removing intermediate container 3141232e26e9 [2021-01-04T16:52:09.458Z] ---> baca19a74976 [2021-01-04T16:52:09.458Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-04T16:52:09.729Z] ---> Running in 96d31216f8ac [2021-01-04T16:52:10.001Z] Removing intermediate container 96d31216f8ac [2021-01-04T16:52:10.001Z] ---> cb65e168f069 [2021-01-04T16:52:10.001Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-04T16:52:10.001Z] ---> Running in 2a97bd2f712a [2021-01-04T16:52:10.602Z] Removing intermediate container 2a97bd2f712a [2021-01-04T16:52:10.602Z] ---> b24c14d84e66 [2021-01-04T16:52:10.602Z] Step 14/24 : WORKDIR / [2021-01-04T16:52:10.602Z] ---> Running in 0e5cf8037b4b [2021-01-04T16:52:11.196Z] Removing intermediate container 0e5cf8037b4b [2021-01-04T16:52:11.196Z] ---> 0cca95dd8426 [2021-01-04T16:52:11.196Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-04T16:52:12.173Z] ---> 4a2b5d74ee77 [2021-01-04T16:52:12.173Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-04T16:52:12.777Z] ---> 09897c01efff [2021-01-04T16:52:12.777Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-04T16:52:13.755Z] ---> 80a07f6f10c2 [2021-01-04T16:52:13.755Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-04T16:52:14.345Z] ---> 004610c1bf1d [2021-01-04T16:52:14.345Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-04T16:52:14.944Z] ---> 3d9a9b3c4f5e [2021-01-04T16:52:14.944Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-04T16:52:14.944Z] ---> Running in 2ba0711a88df [2021-01-04T16:52:15.540Z] Removing intermediate container 2ba0711a88df [2021-01-04T16:52:15.540Z] ---> c18e1f744368 [2021-01-04T16:52:15.540Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-04T16:52:15.540Z] ---> Running in 077a8fe70619 [2021-01-04T16:52:16.130Z] Removing intermediate container 077a8fe70619 [2021-01-04T16:52:16.130Z] ---> bf65da7f3e66 [2021-01-04T16:52:16.130Z] Step 22/24 : LABEL arch=arm64 [2021-01-04T16:52:16.130Z] ---> Running in f07b3707f5cb [2021-01-04T16:52:16.724Z] Removing intermediate container f07b3707f5cb [2021-01-04T16:52:16.724Z] ---> 2308cbdc256d [2021-01-04T16:52:16.724Z] Step 23/24 : LABEL git_sha=372098887a6a7d5d9395bdaf9d03a023308f69fd [2021-01-04T16:52:16.724Z] ---> Running in 559017fcb7fc [2021-01-04T16:52:16.997Z] Removing intermediate container 559017fcb7fc [2021-01-04T16:52:16.997Z] ---> 6cf99bd80e39 [2021-01-04T16:52:16.997Z] Step 24/24 : LABEL version=1.3.1-dev.13 [2021-01-04T16:52:17.268Z] ---> Running in 759d8521f7af [2021-01-04T16:52:17.857Z] Removing intermediate container 759d8521f7af [2021-01-04T16:52:17.858Z] ---> 7c8896e94a6f [2021-01-04T16:52:17.858Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-04T16:52:17.858Z] Successfully built 7c8896e94a6f [2021-01-04T16:52:17.858Z] 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-04T16:52:19.294Z] provisioning config files... [2021-01-04T16:52:19.305Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7031222316315184214tmp [Pipeline] { [Pipeline] sh [2021-01-04T16:52:19.673Z] + set +x [2021-01-04T16:52:19.673Z] + curl -s https://codecov.io/bash [2021-01-04T16:52:19.673Z] + bash -s -- [2021-01-04T16:52:19.936Z] [2021-01-04T16:52:19.936Z] _____ _ [2021-01-04T16:52:19.936Z] / ____| | | [2021-01-04T16:52:19.936Z] | | ___ __| | ___ ___ _____ __ [2021-01-04T16:52:19.936Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-04T16:52:19.936Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-04T16:52:19.936Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-04T16:52:19.936Z] Bash-20201231-23d4836 [2021-01-04T16:52:19.936Z] [2021-01-04T16:52:19.936Z] [2021-01-04T16:52:19.936Z] ==> git version 2.24.3 found [2021-01-04T16:52:19.936Z] ==> 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-04T16:52:19.936Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-04T16:52:19.936Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-04T16:52:19.936Z] ==> Jenkins CI detected. [2021-01-04T16:52:19.936Z] project root: . [2021-01-04T16:52:19.936Z] --> token set from env [2021-01-04T16:52:19.936Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-04T16:52:19.936Z] ==> Running gcov in . (disable via -X gcov) [2021-01-04T16:52:19.936Z] ==> Python coveragepy not found [2021-01-04T16:52:19.936Z] ==> Searching for coverage reports in: [2021-01-04T16:52:19.936Z] + . [2021-01-04T16:52:19.936Z] -> Found 1 reports [2021-01-04T16:52:19.936Z] ==> Detecting git/mercurial file structure [2021-01-04T16:52:19.936Z] ==> Reading reports [2021-01-04T16:52:19.936Z] + ./coverage.out bytes=130526 [2021-01-04T16:52:19.936Z] ==> Appending adjustments [2021-01-04T16:52:19.936Z] https://docs.codecov.io/docs/fixing-reports [2021-01-04T16:52:20.516Z] + Found adjustments [2021-01-04T16:52:20.516Z] ==> Gzipping contents [2021-01-04T16:52:20.516Z] 24K /tmp/codecov.UGe6Cj.gz [2021-01-04T16:52:20.516Z] ==> Uploading reports [2021-01-04T16:52:20.516Z] url: https://codecov.io [2021-01-04T16:52:20.516Z] query: branch=master&commit=372098887a6a7d5d9395bdaf9d03a023308f69fd&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-04T16:52:20.516Z] -> Pinging Codecov [2021-01-04T16:52:20.516Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=372098887a6a7d5d9395bdaf9d03a023308f69fd&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-04T16:52:20.786Z] -> Uploading to [2021-01-04T16:52:20.786Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-04/7E55EF52A471D76F132DFD9A03CDDE97/372098887a6a7d5d9395bdaf9d03a023308f69fd/a16257c2-760b-47e2-8cca-21122856ea4b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T165220Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dfc1e0c1681871fdf8da73766aaa804583fd97330a04756535992aa1e3622fea [2021-01-04T16:52:20.786Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-04T16:52:20.786Z] Dload Upload Total Spent Left Speed [2021-01-04T16:52:21.360Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21269 0 0 100 21269 0 50539 --:--:-- --:--:-- --:--:-- 50640 [2021-01-04T16:52:21.360Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/372098887a6a7d5d9395bdaf9d03a023308f69fd [Pipeline] } [2021-01-04T16:52:21.370Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-04T16:52:21.801Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-04T16:52:21.872Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:22.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-04T16:52:22.212Z] [2021-01-04T16:52:22.212Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:22.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-04T16:52:22.560Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-04T16:52:22.560Z] 188c0c94c7c5: Pulling fs layer [2021-01-04T16:52:22.560Z] 0ef7d3d256c8: Pulling fs layer [2021-01-04T16:52:22.560Z] de9db76c5a1d: Pulling fs layer [2021-01-04T16:52:22.560Z] 0eba1c9be4d2: Pulling fs layer [2021-01-04T16:52:22.560Z] 0d57e429df01: Pulling fs layer [2021-01-04T16:52:22.560Z] 4e4be7b47b0d: Pulling fs layer [2021-01-04T16:52:22.560Z] e1f770b5df2f: Pulling fs layer [2021-01-04T16:52:22.560Z] 85a0685a4137: Pulling fs layer [2021-01-04T16:52:22.560Z] e1f770b5df2f: Waiting [2021-01-04T16:52:22.560Z] 85a0685a4137: Waiting [2021-01-04T16:52:22.560Z] 0eba1c9be4d2: Waiting [2021-01-04T16:52:22.560Z] 0d57e429df01: Waiting [2021-01-04T16:52:22.560Z] de9db76c5a1d: Verifying Checksum [2021-01-04T16:52:22.560Z] de9db76c5a1d: Download complete [2021-01-04T16:52:22.560Z] 0ef7d3d256c8: Verifying Checksum [2021-01-04T16:52:22.560Z] 0ef7d3d256c8: Download complete [2021-01-04T16:52:22.560Z] 0d57e429df01: Verifying Checksum [2021-01-04T16:52:22.560Z] 0d57e429df01: Download complete [2021-01-04T16:52:22.560Z] 4e4be7b47b0d: Download complete [2021-01-04T16:52:22.560Z] 188c0c94c7c5: Verifying Checksum [2021-01-04T16:52:22.560Z] 188c0c94c7c5: Download complete [2021-01-04T16:52:23.147Z] 188c0c94c7c5: Pull complete [2021-01-04T16:52:23.147Z] 0ef7d3d256c8: Pull complete [2021-01-04T16:52:23.411Z] de9db76c5a1d: Pull complete [2021-01-04T16:52:23.992Z] e1f770b5df2f: Verifying Checksum [2021-01-04T16:52:23.992Z] e1f770b5df2f: Download complete [2021-01-04T16:52:27.375Z] 0eba1c9be4d2: Verifying Checksum [2021-01-04T16:52:27.375Z] 0eba1c9be4d2: Download complete [2021-01-04T16:52:27.375Z] 85a0685a4137: Verifying Checksum [2021-01-04T16:52:27.375Z] 85a0685a4137: Download complete [2021-01-04T16:52:34.043Z] 0eba1c9be4d2: Pull complete [2021-01-04T16:52:34.043Z] 0d57e429df01: Pull complete [2021-01-04T16:52:34.043Z] 4e4be7b47b0d: Pull complete [2021-01-04T16:52:35.975Z] e1f770b5df2f: Pull complete [2021-01-04T16:52:44.179Z] 85a0685a4137: Pull complete [2021-01-04T16:52:44.179Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-04T16:52:44.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-04T16:52:44.179Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-04T16:52:44.401Z] prd-centos7-docker-4c-2g-18201 does not seem to be running inside a container [2021-01-04T16:52:44.453Z] $ 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-04T16:52:45.579Z] $ docker top a4989343c7b3ae612014f0aad8b86faad6ae92087a652ffff19cb1e068980447 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-04T16:52:45.818Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-04T16:52:46.117Z] + set -o pipefail [2021-01-04T16:52:46.117Z] + snyk monitor '--org=edgex-jenkins' [2021-01-04T16:52:52.731Z] [2021-01-04T16:52:52.731Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2021-01-04T16:52:52.731Z] [2021-01-04T16:52:52.731Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/cb3d25df-16a9-47e9-a4ed-34b6aca5e3f0 [2021-01-04T16:52:52.731Z] [2021-01-04T16:52:52.731Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-04T16:52:52.731Z] [2021-01-04T16:52:52.731Z] [Pipeline] } [2021-01-04T16:52:52.749Z] $ docker stop --time=1 a4989343c7b3ae612014f0aad8b86faad6ae92087a652ffff19cb1e068980447 [2021-01-04T16:52:55.363Z] $ docker rm -f a4989343c7b3ae612014f0aad8b86faad6ae92087a652ffff19cb1e068980447 [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-04T16:52:56.670Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T16:52:56.719Z] provisioning config files... [2021-01-04T16:52:56.730Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config428661250368342339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:52:57.112Z] --> edgex-publish-swagger.sh [2021-01-04T16:52:57.112Z] === Publish openapi/v1 API === [2021-01-04T16:52:57.112Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-01-04T16:52:57.112Z] [publishToSwagger] Publishing API Name [device-sdk] [2021-01-04T16:52:57.112Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-04T16:52:57.112Z] Dload Upload Total Spent Left Speed [2021-01-04T16:52:57.686Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19946 0 0 100 19946 0 27866 --:--:-- --:--:-- --:--:-- 27857 100 19946 0 0 100 19946 0 27858 --:--:-- --:--:-- --:--:-- 27857 [2021-01-04T16:52:57.686Z] [2021-01-04T16:52:57.686Z] [2021-01-04T16:52:57.686Z] === Publish openapi/v2 API === [2021-01-04T16:52:57.686Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-01-04T16:52:57.686Z] [publishToSwagger] Publishing API Name [device-sdk] [2021-01-04T16:52:57.686Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-04T16:52:57.686Z] Dload Upload Total Spent Left Speed [2021-01-04T16:52:58.632Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 49274 0 0 100 49274 0 71268 --:--:-- --:--:-- --:--:-- 71308 [2021-01-04T16:52:58.632Z] [2021-01-04T16:52:58.632Z] [Pipeline] } [2021-01-04T16:52:58.641Z] 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-04T16:52:59.450Z] + git log --format=format:%s -1 372098887a6a7d5d9395bdaf9d03a023308f69fd [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:52:59.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:52:59.760Z] . [Pipeline] withDockerContainer [2021-01-04T16:52:59.859Z] prd-centos7-docker-4c-2g-18201 does not seem to be running inside a container [2021-01-04T16:52:59.917Z] $ 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-04T16:53:00.727Z] $ docker top afa990be8fe3100688bf41069ef969f3dd916ed529b270f444e3cacdde7fef45 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:53:01.029Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:53:01.029Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:53:01.253Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:53:01.258Z] $ docker exec afa990be8fe3100688bf41069ef969f3dd916ed529b270f444e3cacdde7fef45 ssh-agent [2021-01-04T16:53:01.425Z] SSH_AUTH_SOCK=/tmp/ssh-V2mTUGjTM0D3/agent.11 [2021-01-04T16:53:01.425Z] SSH_AGENT_PID=16 [2021-01-04T16:53:01.433Z] Running ssh-add (command line suppressed) [2021-01-04T16:53:01.563Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1487424675482077549.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1487424675482077549.key) [2021-01-04T16:53:01.616Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:53:01.951Z] + git semver tag [2021-01-04T16:53:01.951Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:53:01.951Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-04T16:53:01.951Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-04T16:53:01.951Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:53:01.951Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:53:01.951Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:53:01.951Z] # $SEMVER_BRANCH = master [2021-01-04T16:53:01.951Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-04T16:53:01.951Z] # 372098887a6a7d5d9395bdaf9d03a023308f69fd HEAD [2021-01-04T16:53:01.951Z] # -> Force: false [2021-01-04T16:53:01.951Z] # 5e571b82c9448364bb8767064deb03877debe47f refs/tags/v1.3.1-dev.13 [Pipeline] } [2021-01-04T16:53:01.966Z] $ docker exec --env ******** --env ******** afa990be8fe3100688bf41069ef969f3dd916ed529b270f444e3cacdde7fef45 ssh-agent -k [2021-01-04T16:53:02.086Z] unset SSH_AUTH_SOCK; [2021-01-04T16:53:02.086Z] unset SSH_AGENT_PID; [2021-01-04T16:53:02.086Z] echo Agent pid 16 killed; [2021-01-04T16:53:02.131Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:53:02.592Z] + git semver [Pipeline] } [2021-01-04T16:53:02.609Z] $ docker stop --time=1 afa990be8fe3100688bf41069ef969f3dd916ed529b270f444e3cacdde7fef45 [2021-01-04T16:53:03.958Z] $ docker rm -f afa990be8fe3100688bf41069ef969f3dd916ed529b270f444e3cacdde7fef45 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:53:04.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-04T16:53:04.577Z] [2021-01-04T16:53:04.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:53:04.921Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-04T16:53:04.921Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-04T16:53:04.921Z] ab5ef0e58194: Pulling fs layer [2021-01-04T16:53:04.921Z] 9712f1f96733: Pulling fs layer [2021-01-04T16:53:04.921Z] 63f879dbbcfc: Pulling fs layer [2021-01-04T16:53:04.921Z] 0d9ebad4ef96: Pulling fs layer [2021-01-04T16:53:04.921Z] e9a5061849ea: Pulling fs layer [2021-01-04T16:53:04.921Z] d747dcd14b5f: Pulling fs layer [2021-01-04T16:53:04.921Z] 2de7ff778b66: Pulling fs layer [2021-01-04T16:53:04.921Z] e9a5061849ea: Waiting [2021-01-04T16:53:04.921Z] 2de7ff778b66: Waiting [2021-01-04T16:53:04.921Z] d747dcd14b5f: Waiting [2021-01-04T16:53:04.921Z] 0d9ebad4ef96: Waiting [2021-01-04T16:53:04.921Z] 9712f1f96733: Verifying Checksum [2021-01-04T16:53:04.921Z] 9712f1f96733: Download complete [2021-01-04T16:53:06.448Z] 63f879dbbcfc: Verifying Checksum [2021-01-04T16:53:06.448Z] 63f879dbbcfc: Download complete [2021-01-04T16:53:06.448Z] e9a5061849ea: Verifying Checksum [2021-01-04T16:53:06.448Z] e9a5061849ea: Download complete [2021-01-04T16:53:06.448Z] d747dcd14b5f: Verifying Checksum [2021-01-04T16:53:06.448Z] d747dcd14b5f: Download complete [2021-01-04T16:53:06.830Z] 2de7ff778b66: Verifying Checksum [2021-01-04T16:53:06.831Z] 2de7ff778b66: Download complete [2021-01-04T16:53:07.094Z] 0d9ebad4ef96: Verifying Checksum [2021-01-04T16:53:07.094Z] 0d9ebad4ef96: Download complete [2021-01-04T16:53:07.358Z] ab5ef0e58194: Verifying Checksum [2021-01-04T16:53:07.358Z] ab5ef0e58194: Download complete [2021-01-04T16:53:11.594Z] ab5ef0e58194: Pull complete [2021-01-04T16:53:11.594Z] 9712f1f96733: Pull complete [2021-01-04T16:53:14.162Z] 63f879dbbcfc: Pull complete [2021-01-04T16:53:20.806Z] 0d9ebad4ef96: Pull complete [2021-01-04T16:53:21.758Z] e9a5061849ea: Pull complete [2021-01-04T16:53:21.758Z] d747dcd14b5f: Pull complete [2021-01-04T16:53:24.328Z] 2de7ff778b66: Pull complete [2021-01-04T16:53:24.328Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-04T16:53:24.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-04T16:53:24.328Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-04T16:53:24.563Z] prd-centos7-docker-4c-2g-18201 does not seem to be running inside a container [2021-01-04T16:53:24.611Z] $ 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-04T16:53:28.641Z] $ docker top 3ae8a65dac7e42fa04d90482e9968d91df3c04ad47c054df218922ff7e7f32f8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-04T16:53:28.894Z] provisioning config files... [2021-01-04T16:53:28.906Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5061354954540073637tmp [2021-01-04T16:53:28.922Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8041672489690730331tmp [2021-01-04T16:53:28.941Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2457281159758186160tmp [Pipeline] { [Pipeline] echo [2021-01-04T16:53:28.993Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:53:29.294Z] ---> sigul-configuration.sh [2021-01-04T16:53:29.294Z] gpg: directory `/root/.gnupg' created [2021-01-04T16:53:29.294Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-04T16:53:29.294Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-04T16:53:29.294Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-04T16:53:29.294Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-04T16:53:29.294Z] gpg: CAST5 encrypted data [2021-01-04T16:53:29.555Z] gpg: encrypted with 1 passphrase [2021-01-04T16:53:29.555Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-04T16:53:29.858Z] + mkdir /home/jenkins [2021-01-04T16:53:29.859Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-04T16:53:30.160Z] + 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-04T16:53:30.172Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:53:30.471Z] ---> sigul-install.sh [2021-01-04T16:53:37.075Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-04T16:53:37.373Z] + git tag --list [2021-01-04T16:53:37.373Z] 0.7.1 [2021-01-04T16:53:37.373Z] delhi-tag [2021-01-04T16:53:37.373Z] v1.0.0 [2021-01-04T16:53:37.373Z] v1.1.0 [2021-01-04T16:53:37.373Z] v1.1.1 [2021-01-04T16:53:37.373Z] v1.1.2 [2021-01-04T16:53:37.373Z] v1.2.0 [2021-01-04T16:53:37.373Z] v1.2.1 [2021-01-04T16:53:37.373Z] v1.2.2 [2021-01-04T16:53:37.373Z] v1.2.3 [2021-01-04T16:53:37.373Z] v1.2.4-dev.1 [2021-01-04T16:53:37.373Z] v1.2.4-dev.10 [2021-01-04T16:53:37.373Z] v1.2.4-dev.11 [2021-01-04T16:53:37.373Z] v1.2.4-dev.12 [2021-01-04T16:53:37.373Z] v1.2.4-dev.13 [2021-01-04T16:53:37.373Z] v1.2.4-dev.14 [2021-01-04T16:53:37.373Z] v1.2.4-dev.15 [2021-01-04T16:53:37.373Z] v1.2.4-dev.16 [2021-01-04T16:53:37.373Z] v1.2.4-dev.17 [2021-01-04T16:53:37.373Z] v1.2.4-dev.18 [2021-01-04T16:53:37.373Z] v1.2.4-dev.19 [2021-01-04T16:53:37.373Z] v1.2.4-dev.2 [2021-01-04T16:53:37.373Z] v1.2.4-dev.20 [2021-01-04T16:53:37.373Z] v1.2.4-dev.21 [2021-01-04T16:53:37.373Z] v1.2.4-dev.22 [2021-01-04T16:53:37.373Z] v1.2.4-dev.23 [2021-01-04T16:53:37.373Z] v1.2.4-dev.24 [2021-01-04T16:53:37.373Z] v1.2.4-dev.25 [2021-01-04T16:53:37.373Z] v1.2.4-dev.26 [2021-01-04T16:53:37.373Z] v1.2.4-dev.27 [2021-01-04T16:53:37.373Z] v1.2.4-dev.28 [2021-01-04T16:53:37.373Z] v1.2.4-dev.29 [2021-01-04T16:53:37.373Z] v1.2.4-dev.3 [2021-01-04T16:53:37.373Z] v1.2.4-dev.30 [2021-01-04T16:53:37.373Z] v1.2.4-dev.31 [2021-01-04T16:53:37.373Z] v1.2.4-dev.32 [2021-01-04T16:53:37.373Z] v1.2.4-dev.33 [2021-01-04T16:53:37.373Z] v1.2.4-dev.34 [2021-01-04T16:53:37.373Z] v1.2.4-dev.35 [2021-01-04T16:53:37.373Z] v1.2.4-dev.4 [2021-01-04T16:53:37.373Z] v1.2.4-dev.5 [2021-01-04T16:53:37.373Z] v1.2.4-dev.6 [2021-01-04T16:53:37.373Z] v1.2.4-dev.7 [2021-01-04T16:53:37.373Z] v1.2.4-dev.8 [2021-01-04T16:53:37.373Z] v1.2.4-dev.9 [2021-01-04T16:53:37.373Z] v1.3.0 [2021-01-04T16:53:37.373Z] v1.3.1-dev.1 [2021-01-04T16:53:37.373Z] v1.3.1-dev.10 [2021-01-04T16:53:37.373Z] v1.3.1-dev.11 [2021-01-04T16:53:37.373Z] v1.3.1-dev.12 [2021-01-04T16:53:37.373Z] v1.3.1-dev.13 [2021-01-04T16:53:37.373Z] v1.3.1-dev.2 [2021-01-04T16:53:37.373Z] v1.3.1-dev.3 [2021-01-04T16:53:37.373Z] v1.3.1-dev.4 [2021-01-04T16:53:37.373Z] v1.3.1-dev.5 [2021-01-04T16:53:37.373Z] v1.3.1-dev.6 [2021-01-04T16:53:37.373Z] v1.3.1-dev.7 [2021-01-04T16:53:37.373Z] v1.3.1-dev.8 [2021-01-04T16:53:37.373Z] v1.3.1-dev.9 [Pipeline] sh [2021-01-04T16:53:37.674Z] + lftools sign git-tag v1.3.1-dev.13 [2021-01-04T16:53:39.064Z] Signing Git tag with Sigul... [2021-01-04T16:53:39.064Z] Signing v1.3.1-dev.13 [Pipeline] echo [2021-01-04T16:53:40.025Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:53:40.322Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-04T16:53:40.332Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-04T16:53:40.440Z] $ docker stop --time=1 3ae8a65dac7e42fa04d90482e9968d91df3c04ad47c054df218922ff7e7f32f8 [2021-01-04T16:53:42.505Z] $ docker rm -f 3ae8a65dac7e42fa04d90482e9968d91df3c04ad47c054df218922ff7e7f32f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:53:43.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:53:43.643Z] . [Pipeline] withDockerContainer [2021-01-04T16:53:43.751Z] prd-centos7-docker-4c-2g-18201 does not seem to be running inside a container [2021-01-04T16:53:43.807Z] $ 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-04T16:53:44.598Z] $ docker top 8223c7aa91421f88c2737530e014b1b0f9dd56c0b76e0d2962ef6cb774341de5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:53:45.001Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:53:45.001Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:53:45.209Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:53:45.214Z] $ docker exec 8223c7aa91421f88c2737530e014b1b0f9dd56c0b76e0d2962ef6cb774341de5 ssh-agent [2021-01-04T16:53:45.390Z] SSH_AUTH_SOCK=/tmp/ssh-16D77KI3TfHu/agent.12 [2021-01-04T16:53:45.390Z] SSH_AGENT_PID=17 [2021-01-04T16:53:45.398Z] Running ssh-add (command line suppressed) [2021-01-04T16:53:45.524Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1312082177620031503.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1312082177620031503.key) [2021-01-04T16:53:45.581Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:53:45.930Z] + git semver bump pre [2021-01-04T16:53:45.930Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:53:45.930Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-04T16:53:45.930Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-04T16:53:45.930Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:53:45.930Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:53:45.930Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:53:45.930Z] # $SEMVER_BRANCH = master [2021-01-04T16:53:45.930Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-04T16:53:45.930Z] 1.3.1-dev.14 [Pipeline] } [2021-01-04T16:53:45.943Z] $ docker exec --env ******** --env ******** 8223c7aa91421f88c2737530e014b1b0f9dd56c0b76e0d2962ef6cb774341de5 ssh-agent -k [2021-01-04T16:53:46.066Z] unset SSH_AUTH_SOCK; [2021-01-04T16:53:46.066Z] unset SSH_AGENT_PID; [2021-01-04T16:53:46.066Z] echo Agent pid 17 killed; [2021-01-04T16:53:46.115Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:53:46.588Z] + git semver [Pipeline] } [2021-01-04T16:53:46.606Z] $ docker stop --time=1 8223c7aa91421f88c2737530e014b1b0f9dd56c0b76e0d2962ef6cb774341de5 [2021-01-04T16:53:47.966Z] $ docker rm -f 8223c7aa91421f88c2737530e014b1b0f9dd56c0b76e0d2962ef6cb774341de5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:53:48.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-04T16:53:48.494Z] . [Pipeline] withDockerContainer [2021-01-04T16:53:48.595Z] prd-centos7-docker-4c-2g-18201 does not seem to be running inside a container [2021-01-04T16:53:48.644Z] $ 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-04T16:53:49.389Z] $ docker top d335f5f615158f2031eca13607c2e9b79a223e22b92a834fdc4eab361a25cf45 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-04T16:53:49.696Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-04T16:53:49.696Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-04T16:53:49.908Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-04T16:53:49.914Z] $ docker exec d335f5f615158f2031eca13607c2e9b79a223e22b92a834fdc4eab361a25cf45 ssh-agent [2021-01-04T16:53:50.120Z] SSH_AUTH_SOCK=/tmp/ssh-dddDPUDQmdym/agent.11 [2021-01-04T16:53:50.120Z] SSH_AGENT_PID=17 [2021-01-04T16:53:50.129Z] Running ssh-add (command line suppressed) [2021-01-04T16:53:50.272Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2136736023077546867.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2136736023077546867.key) [2021-01-04T16:53:50.342Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-04T16:53:50.680Z] + git semver push [2021-01-04T16:53:50.680Z] # -> Open(): unable to determine branch for HEAD [2021-01-04T16:53:50.680Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-04T16:53:50.680Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-04T16:53:50.680Z] # $SEMVER_REMOTE_NAME = origin [2021-01-04T16:53:50.680Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-04T16:53:50.680Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-04T16:53:50.680Z] # $SEMVER_BRANCH = master [2021-01-04T16:53:50.680Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-04T16:53:57.301Z] $ docker exec --env ******** --env ******** d335f5f615158f2031eca13607c2e9b79a223e22b92a834fdc4eab361a25cf45 ssh-agent -k [2021-01-04T16:53:57.426Z] unset SSH_AUTH_SOCK; [2021-01-04T16:53:57.426Z] unset SSH_AGENT_PID; [2021-01-04T16:53:57.427Z] echo Agent pid 17 killed; [2021-01-04T16:53:57.478Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-04T16:53:57.939Z] + git semver [Pipeline] } [2021-01-04T16:53:57.959Z] $ docker stop --time=1 d335f5f615158f2031eca13607c2e9b79a223e22b92a834fdc4eab361a25cf45 [2021-01-04T16:53:59.311Z] $ docker rm -f d335f5f615158f2031eca13607c2e9b79a223e22b92a834fdc4eab361a25cf45 [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-04T16:54:00.956Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:54:01.588Z] ---> package-listing.sh [2021-01-04T16:54:01.588Z] ++ facter osfamily [2021-01-04T16:54:01.588Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-04T16:54:01.588Z] + OS_FAMILY=redhat [2021-01-04T16:54:01.588Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-01-04T16:54:01.588Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-04T16:54:01.588Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-04T16:54:01.588Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-04T16:54:01.588Z] + PACKAGES=/tmp/packages_start.txt [2021-01-04T16:54:01.588Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-04T16:54:01.588Z] + PACKAGES=/tmp/packages_end.txt [2021-01-04T16:54:01.588Z] + case "${OS_FAMILY}" in [2021-01-04T16:54:01.588Z] + rpm -qa [2021-01-04T16:54:01.588Z] + sort [2021-01-04T16:54:06.901Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-04T16:54:06.901Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-04T16:54:06.901Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-04T16:54:06.901Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-04T16:54:06.901Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-01-04T16:54:06.901Z] + 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-04T16:54:06.919Z] 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-04T16:54:07.217Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:54:07.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:54:07.527Z] [2021-01-04T16:54:07.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-04T16:54:08.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:54:08.928Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-04T16:54:08.928Z] df20fa9351a1: Pulling fs layer [2021-01-04T16:54:08.928Z] 36b3adc4ff6f: Pulling fs layer [2021-01-04T16:54:08.928Z] 8ad3a11d3b57: Pulling fs layer [2021-01-04T16:54:08.928Z] 46f8f816bc3b: Pulling fs layer [2021-01-04T16:54:08.928Z] 93b61091891f: Pulling fs layer [2021-01-04T16:54:08.928Z] 93b9cdb0e59b: Pulling fs layer [2021-01-04T16:54:08.928Z] 5e14af77c1be: Pulling fs layer [2021-01-04T16:54:08.928Z] 01666e4c0597: Pulling fs layer [2021-01-04T16:54:08.928Z] aa168da1d23b: Pulling fs layer [2021-01-04T16:54:08.928Z] 93b9cdb0e59b: Waiting [2021-01-04T16:54:08.929Z] 5e14af77c1be: Waiting [2021-01-04T16:54:08.929Z] 01666e4c0597: Waiting [2021-01-04T16:54:08.929Z] aa168da1d23b: Waiting [2021-01-04T16:54:08.929Z] 46f8f816bc3b: Waiting [2021-01-04T16:54:08.929Z] 93b61091891f: Waiting [2021-01-04T16:54:08.929Z] 36b3adc4ff6f: Verifying Checksum [2021-01-04T16:54:08.929Z] 36b3adc4ff6f: Download complete [2021-01-04T16:54:08.929Z] 46f8f816bc3b: Verifying Checksum [2021-01-04T16:54:08.929Z] 46f8f816bc3b: Download complete [2021-01-04T16:54:08.929Z] df20fa9351a1: Download complete [2021-01-04T16:54:08.929Z] 93b9cdb0e59b: Verifying Checksum [2021-01-04T16:54:08.929Z] 93b9cdb0e59b: Download complete [2021-01-04T16:54:08.929Z] 5e14af77c1be: Verifying Checksum [2021-01-04T16:54:08.929Z] 5e14af77c1be: Download complete [2021-01-04T16:54:08.929Z] 93b61091891f: Download complete [2021-01-04T16:54:08.929Z] 01666e4c0597: Verifying Checksum [2021-01-04T16:54:08.929Z] 01666e4c0597: Download complete [2021-01-04T16:54:08.929Z] 8ad3a11d3b57: Download complete [2021-01-04T16:54:08.929Z] df20fa9351a1: Pull complete [2021-01-04T16:54:09.194Z] 36b3adc4ff6f: Pull complete [2021-01-04T16:54:10.162Z] 8ad3a11d3b57: Pull complete [2021-01-04T16:54:10.162Z] 46f8f816bc3b: Pull complete [2021-01-04T16:54:10.738Z] aa168da1d23b: Verifying Checksum [2021-01-04T16:54:10.738Z] aa168da1d23b: Download complete [2021-01-04T16:54:10.738Z] 93b61091891f: Pull complete [2021-01-04T16:54:10.738Z] 93b9cdb0e59b: Pull complete [2021-01-04T16:54:11.001Z] 5e14af77c1be: Pull complete [2021-01-04T16:54:11.001Z] 01666e4c0597: Pull complete [2021-01-04T16:54:17.642Z] aa168da1d23b: Pull complete [2021-01-04T16:54:17.642Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-04T16:54:17.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-04T16:54:17.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-04T16:54:17.792Z] prd-centos7-docker-4c-2g-18201 does not seem to be running inside a container [2021-01-04T16:54:17.845Z] $ 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-04T16:54:21.035Z] $ docker top 71b01151116e7d9d33fe3127f401e221d2ce25f4f00c9d20432c7f5e75c43e59 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-04T16:54:21.591Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-04T16:54:21.889Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-04T16:54:22.187Z] + ls /var/log/sa-host [2021-01-04T16:54:22.187Z] + sadf -c /var/log/sa-host/sa04 [2021-01-04T16:54:22.187Z] file_magic: OK [2021-01-04T16:54:22.187Z] HZ: Using current value: 100 [2021-01-04T16:54:22.187Z] file_header: OK [2021-01-04T16:54:22.187Z] 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-04T16:54:22.187Z] Statistics: [2021-01-04T16:54:22.187Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-04T16:54:22.187Z] File successfully converted to sysstat format version 12.2.1 [2021-01-04T16:54:22.187Z] + sadf -c /var/log/sa-host/sa23 [2021-01-04T16:54:22.187Z] file_magic: OK [2021-01-04T16:54:22.187Z] HZ: Using current value: 100 [2021-01-04T16:54:22.187Z] file_header: OK [2021-01-04T16:54:22.187Z] 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-04T16:54:22.187Z] Statistics: [2021-01-04T16:54:22.187Z] Hnuu...uuuununununu... [2021-01-04T16:54:22.187Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-04T16:54:22.399Z] provisioning config files... [2021-01-04T16:54:22.413Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config888455609583398007tmp [Pipeline] { [Pipeline] echo [2021-01-04T16:54:22.484Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:54:22.784Z] ---> create-netrc.sh [Pipeline] } [2021-01-04T16:54:22.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-04T16:54:22.887Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:54:23.184Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-04T16:54:23.196Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:54:23.491Z] ---> sudo-logs.sh [2021-01-04T16:54:23.491Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-04T16:54:23.503Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:54:23.800Z] ---> job-cost.sh [2021-01-04T16:54:23.800Z] lf-activate-venv: SKIPPING [2021-01-04T16:54:23.800Z] INFO: No Stack... [2021-01-04T16:54:25.197Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-04T16:54:25.772Z] INFO: Archiving Costs [Pipeline] echo [2021-01-04T16:54:25.786Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-04T16:54:26.083Z] ---> logs-deploy.sh [2021-01-04T16:54:26.083Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/100 [2021-01-04T16:54:26.083Z] INFO: archiving workspace using pattern(s): [2021-01-04T16:54:28.004Z] Archives upload complete. [2021-01-04T16:54:28.004Z] INFO: archiving logs to Nexus