Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1f15288997641a3d0d3a625c9b3944aa45f594eb 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-19806 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 1f15288997641a3d0d3a625c9b3944aa45f594eb (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 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 Commit message: "Merge pull request #713 from lenny-intel/store-secrets" > git rev-list --no-walk ae9643155e3faeb030acb175a4c64bf595945178 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-12T20:57:35.046Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-12T20:57:35.395Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-12T20:57:35.496Z] ========================================================= [2021-01-12T20:57:35.496Z] EdgeX Global Pipelines Version Info [2021-01-12T20:57:35.496Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-12T20:57:37.053Z] ------------------- [2021-01-12T20:57:37.053Z] stable info: [2021-01-12T20:57:37.053Z] ------------------- [2021-01-12T20:57:37.053Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-12T20:57:37.053Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-12T20:57:37.053Z] Message: update stable to v1.0.173 [2021-01-12T20:57:38.002Z] ------------------- [2021-01-12T20:57:38.002Z] experimental info: [2021-01-12T20:57:38.002Z] ------------------- [2021-01-12T20:57:38.002Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-12T20:57:38.002Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-12T20:57:38.002Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-12T20:57:38.264Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-12T20:57:38.386Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-12T20:57:38.478Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-12T20:57:38.579Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-12T20:57:38.681Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-12T20:57:38.771Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-12T20:57:38.863Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-12T20:57:38.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-12T20:57:39.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-12T20:57:39.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-12T20:57:39.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-12T20:57:39.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-12T20:57:39.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-12T20:57:39.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-12T20:57:39.595Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-12T20:57:39.692Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-12T20:57:39.795Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-12T20:57:39.928Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-12T20:57:40.022Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-12T20:57:40.192Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-12T20:57:40.289Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-12T20:57:40.391Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-12T20:57:40.510Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-12T20:57:40.644Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-12T20:57:40.746Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-12T20:57:40.834Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-12T20:57:40.931Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-12T20:57:41.018Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-12T20:57:41.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-12T20:57:41.261Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-12T20:57:41.372Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f15288997641a3d0d3a625c9b3944aa45f594eb [Pipeline] echo [2021-01-12T20:57:41.460Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f15288 [Pipeline] echo [2021-01-12T20:57:41.548Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-12T20:57:41.720Z] provisioning config files... [2021-01-12T20:57:41.753Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config15890253593754426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-12T20:57:42.135Z] ---> docker-login.sh [2021-01-12T20:57:42.135Z] nexus3.edgexfoundry.org:10001 [2021-01-12T20:57:42.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:57:42.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:57:42.662Z] Configure a credential helper to remove this warning. See [2021-01-12T20:57:42.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:57:42.662Z] [2021-01-12T20:57:42.662Z] Login Succeeded [2021-01-12T20:57:42.662Z] nexus3.edgexfoundry.org:10002 [2021-01-12T20:57:42.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:57:42.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:57:42.662Z] Configure a credential helper to remove this warning. See [2021-01-12T20:57:42.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:57:42.662Z] [2021-01-12T20:57:42.662Z] Login Succeeded [2021-01-12T20:57:42.662Z] nexus3.edgexfoundry.org:10003 [2021-01-12T20:57:42.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:57:42.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:57:42.925Z] Configure a credential helper to remove this warning. See [2021-01-12T20:57:42.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:57:42.925Z] [2021-01-12T20:57:42.925Z] Login Succeeded [2021-01-12T20:57:42.925Z] nexus3.edgexfoundry.org:10004 [2021-01-12T20:57:43.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:57:43.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:57:43.187Z] Configure a credential helper to remove this warning. See [2021-01-12T20:57:43.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:57:43.187Z] [2021-01-12T20:57:43.187Z] Login Succeeded [2021-01-12T20:57:43.187Z] docker.io [2021-01-12T20:57:43.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T20:57:43.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T20:57:43.450Z] Configure a credential helper to remove this warning. See [2021-01-12T20:57:43.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T20:57:43.450Z] [2021-01-12T20:57:43.450Z] Login Succeeded [2021-01-12T20:57:43.450Z] ---> docker-login.sh ends [Pipeline] } [2021-01-12T20:57:43.460Z] 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-12T20:57:44.301Z] + git log --format=format:%s -1 1f15288997641a3d0d3a625c9b3944aa45f594eb [Pipeline] echo [2021-01-12T20:57:44.369Z] GIT_COMMIT: 1f15288997641a3d0d3a625c9b3944aa45f594eb, Commit Message: Merge pull request #713 from lenny-intel/store-secrets [Pipeline] echo [2021-01-12T20:57:44.413Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-12T20:57:45.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T20:57:45.281Z] [2021-01-12T20:57:45.281Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-12T20:57:45.635Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T20:57:45.635Z] latest: Pulling from edgex-devops/git-semver [2021-01-12T20:57:45.635Z] 31603596830f: Pulling fs layer [2021-01-12T20:57:45.635Z] 2a8b12db71e7: Pulling fs layer [2021-01-12T20:57:45.635Z] 6ca5941a6612: Pulling fs layer [2021-01-12T20:57:45.635Z] ecc8261a40a4: Pulling fs layer [2021-01-12T20:57:45.635Z] ecc8261a40a4: Waiting [2021-01-12T20:57:45.635Z] 2a8b12db71e7: Verifying Checksum [2021-01-12T20:57:45.900Z] 31603596830f: Verifying Checksum [2021-01-12T20:57:45.900Z] 31603596830f: Download complete [2021-01-12T20:57:45.900Z] ecc8261a40a4: Verifying Checksum [2021-01-12T20:57:45.900Z] ecc8261a40a4: Download complete [2021-01-12T20:57:45.900Z] 6ca5941a6612: Verifying Checksum [2021-01-12T20:57:45.900Z] 6ca5941a6612: Download complete [2021-01-12T20:57:46.162Z] 31603596830f: Pull complete [2021-01-12T20:57:46.431Z] 2a8b12db71e7: Pull complete [2021-01-12T20:57:47.005Z] 6ca5941a6612: Pull complete [2021-01-12T20:57:47.268Z] ecc8261a40a4: Pull complete [2021-01-12T20:57:47.268Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-12T20:57:47.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T20:57:47.530Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-12T20:57:47.628Z] prd-centos7-docker-4c-2g-19806 does not seem to be running inside a container [2021-01-12T20:57:47.674Z] $ 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-12T20:57:49.783Z] $ docker top 1c86236276bd59b38ec130b7b07dc203f3efa9d82d5e9be65daf6535db7efe60 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-12T20:57:50.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-12T20:57:50.062Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-12T20:57:50.274Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-12T20:57:50.278Z] $ docker exec 1c86236276bd59b38ec130b7b07dc203f3efa9d82d5e9be65daf6535db7efe60 ssh-agent [2021-01-12T20:57:50.448Z] SSH_AUTH_SOCK=/tmp/ssh-CyUKEh1bRBtb/agent.12 [2021-01-12T20:57:50.448Z] SSH_AGENT_PID=18 [2021-01-12T20:57:50.458Z] Running ssh-add (command line suppressed) [2021-01-12T20:57:50.577Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7504429821804813973.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7504429821804813973.key) [2021-01-12T20:57:50.758Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-12T20:57:51.113Z] + git tag --points-at HEAD [Pipeline] } [2021-01-12T20:57:51.138Z] $ docker exec --env ******** --env ******** 1c86236276bd59b38ec130b7b07dc203f3efa9d82d5e9be65daf6535db7efe60 ssh-agent -k [2021-01-12T20:57:51.257Z] unset SSH_AUTH_SOCK; [2021-01-12T20:57:51.257Z] unset SSH_AGENT_PID; [2021-01-12T20:57:51.258Z] echo Agent pid 18 killed; [2021-01-12T20:57:51.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-12T20:57:51.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-12T20:57:51.449Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-12T20:57:51.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-12T20:57:51.622Z] $ docker exec 1c86236276bd59b38ec130b7b07dc203f3efa9d82d5e9be65daf6535db7efe60 ssh-agent [2021-01-12T20:57:51.779Z] SSH_AUTH_SOCK=/tmp/ssh-Hcqn6W6sr8jA/agent.49 [2021-01-12T20:57:51.779Z] SSH_AGENT_PID=54 [2021-01-12T20:57:51.786Z] Running ssh-add (command line suppressed) [2021-01-12T20:57:51.902Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2037990338229813893.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2037990338229813893.key) [2021-01-12T20:57:51.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-12T20:57:52.281Z] + git semver init [2021-01-12T20:57:52.282Z] # -> Open(): unable to determine branch for HEAD [2021-01-12T20:57:52.282Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-12T20:57:52.282Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-12T20:57:52.282Z] # $SEMVER_REMOTE_NAME = origin [2021-01-12T20:57:52.282Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-12T20:57:52.282Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-12T20:57:52.282Z] # $SEMVER_BRANCH = master [2021-01-12T20:57:52.282Z] # $SEMVER_TEMP = /tmp/semver-578722081 [2021-01-12T20:57:52.282Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-12T20:57:52.857Z] # '/tmp/semver-578722081' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-01-12T20:57:52.857Z] # -> Force: false [2021-01-12T20:57:52.857Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-12T20:57:52.872Z] $ docker exec --env ******** --env ******** 1c86236276bd59b38ec130b7b07dc203f3efa9d82d5e9be65daf6535db7efe60 ssh-agent -k [2021-01-12T20:57:52.983Z] unset SSH_AUTH_SOCK; [2021-01-12T20:57:52.983Z] unset SSH_AGENT_PID; [2021-01-12T20:57:52.983Z] echo Agent pid 54 killed; [2021-01-12T20:57:53.030Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-12T20:57:53.492Z] + git semver [Pipeline] } [2021-01-12T20:57:53.509Z] $ docker stop --time=1 1c86236276bd59b38ec130b7b07dc203f3efa9d82d5e9be65daf6535db7efe60 [2021-01-12T20:57:54.943Z] $ docker rm -f 1c86236276bd59b38ec130b7b07dc203f3efa9d82d5e9be65daf6535db7efe60 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-12T20:57:55.403Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-12T20:57:55.806Z] Stashed 1 file(s) [Pipeline] echo [2021-01-12T20:57:55.808Z] [edgeXSemver]: initialized semver on version 1.4.1-dev.6 [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-12T20:58:11.338Z] Still waiting to schedule task [2021-01-12T20:58:11.338Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19807’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-12T20:58:11.340Z] Still waiting to schedule task [2021-01-12T20:58:11.340Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-12T20:59:55.467Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19808 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-12T20:59:55.525Z] Running in /w/workspace/device-sdk-go/104 [Pipeline] { [Pipeline] checkout [2021-01-12T21:00:00.460Z] using credential edgex-jenkins-ssh [2021-01-12T21:00:00.574Z] Cloning the remote Git repository [2021-01-12T21:00:00.614Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T21:00:00.717Z] > git init /w/workspace/device-sdk-go/104 # timeout=10 [2021-01-12T21:00:00.797Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T21:00:00.798Z] > git --version # timeout=10 [2021-01-12T21:00:00.818Z] > git --version # 'git version 2.17.1' [2021-01-12T21:00:00.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T21:00:00.874Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-12T21:00:02.469Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-12T21:00:02.490Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-12T21:00:02.519Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-12T21:00:02.558Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T21:00:02.558Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T21:00:02.569Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-12T21:00:05.521Z] Checking out Revision 1f15288997641a3d0d3a625c9b3944aa45f594eb (master) [2021-01-12T21:00:05.533Z] > git config core.sparsecheckout # timeout=10 [2021-01-12T21:00:05.556Z] > git checkout -f 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 [2021-01-12T21:00:06.827Z] Running on prd-centos7-docker-4c-2g-19809 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-12T21:00:06.925Z] Running in /w/workspace/device-sdk-go/104 [Pipeline] { [Pipeline] checkout [2021-01-12T21:00:09.550Z] using credential edgex-jenkins-ssh [2021-01-12T21:00:09.600Z] Cloning the remote Git repository [2021-01-12T21:00:09.923Z] Commit message: "Merge pull request #713 from lenny-intel/store-secrets" [Pipeline] withEnv [Pipeline] { [2021-01-12T21:00:09.469Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T21:00:09.631Z] > git init /w/workspace/device-sdk-go/104 # timeout=10 [2021-01-12T21:00:09.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T21:00:09.697Z] > git --version # timeout=10 [2021-01-12T21:00:09.706Z] > git --version # 'git version 2.24.3' [2021-01-12T21:00:09.707Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T21:00:09.742Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-12T21:00:11.056Z] Checking out Revision 1f15288997641a3d0d3a625c9b3944aa45f594eb (master) [2021-01-12T21:00:10.471Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-12T21:00:10.479Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-12T21:00:10.552Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-12T21:00:10.576Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-12T21:00:10.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T21:00:10.580Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-12T21:00:11.030Z] > git config core.sparsecheckout # timeout=10 [2021-01-12T21:00:11.035Z] > git checkout -f 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 [2021-01-12T21:00:11.518Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-12T21:00:11.920Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-12T21:00:12.287Z] + sudo service docker restart+ [2021-01-12T21:00:12.287Z] true [2021-01-12T21:00:14.809Z] Commit message: "Merge pull request #713 from lenny-intel/store-secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-12T21:00:15.028Z] provisioning config files... [2021-01-12T21:00:15.069Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/104@tmp/config2352591493902266149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-12T21:00:15.488Z] ---> docker-login.sh [2021-01-12T21:00:15.488Z] nexus3.edgexfoundry.org:10001 [2021-01-12T21:00:16.063Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-12T21:00:16.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T21:00:16.394Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-12T21:00:16.699Z] + sudo service docker restart [2021-01-12T21:00:16.699Z] + true [2021-01-12T21:00:16.699Z] Redirecting to /bin/systemctl restart docker.service [2021-01-12T21:00:16.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T21:00:16.710Z] Configure a credential helper to remove this warning. See [2021-01-12T21:00:16.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T21:00:16.710Z] [2021-01-12T21:00:16.710Z] Login Succeeded [2021-01-12T21:00:16.710Z] nexus3.edgexfoundry.org:10002 [2021-01-12T21:00:16.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T21:00:17.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T21:00:17.261Z] Configure a credential helper to remove this warning. See [2021-01-12T21:00:17.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T21:00:17.261Z] [2021-01-12T21:00:17.261Z] Login Succeeded [2021-01-12T21:00:17.261Z] nexus3.edgexfoundry.org:10003 [2021-01-12T21:00:17.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-12T21:00:17.718Z] provisioning config files... [2021-01-12T21:00:17.746Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/104@tmp/config868227745072278251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-12T21:00:17.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T21:00:17.820Z] Configure a credential helper to remove this warning. See [2021-01-12T21:00:17.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T21:00:17.820Z] [2021-01-12T21:00:17.820Z] Login Succeeded [2021-01-12T21:00:17.820Z] nexus3.edgexfoundry.org:10004 [2021-01-12T21:00:18.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T21:00:18.113Z] ---> docker-login.sh [2021-01-12T21:00:18.113Z] nexus3.edgexfoundry.org:10001 [2021-01-12T21:00:18.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T21:00:18.374Z] Configure a credential helper to remove this warning. See [2021-01-12T21:00:18.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T21:00:18.374Z] [2021-01-12T21:00:18.374Z] Login Succeeded [2021-01-12T21:00:18.374Z] docker.io [2021-01-12T21:00:18.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T21:00:18.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T21:00:18.376Z] Configure a credential helper to remove this warning. See [2021-01-12T21:00:18.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T21:00:18.376Z] [2021-01-12T21:00:18.376Z] Login Succeeded [2021-01-12T21:00:18.376Z] nexus3.edgexfoundry.org:10002 [2021-01-12T21:00:18.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T21:00:18.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T21:00:18.639Z] Configure a credential helper to remove this warning. See [2021-01-12T21:00:18.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T21:00:18.639Z] [2021-01-12T21:00:18.639Z] Login Succeeded [2021-01-12T21:00:18.639Z] nexus3.edgexfoundry.org:10003 [2021-01-12T21:00:18.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T21:00:18.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T21:00:18.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T21:00:18.903Z] Configure a credential helper to remove this warning. See [2021-01-12T21:00:18.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T21:00:18.903Z] [2021-01-12T21:00:18.903Z] Login Succeeded [2021-01-12T21:00:18.903Z] nexus3.edgexfoundry.org:10004 [2021-01-12T21:00:18.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T21:00:18.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T21:00:18.917Z] Configure a credential helper to remove this warning. See [2021-01-12T21:00:18.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T21:00:18.917Z] [2021-01-12T21:00:18.917Z] Login Succeeded [2021-01-12T21:00:18.917Z] ---> docker-login.sh ends [Pipeline] } [2021-01-12T21:00:18.936Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-01-12T21:00:19.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T21:00:19.176Z] Configure a credential helper to remove this warning. See [2021-01-12T21:00:19.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T21:00:19.176Z] [2021-01-12T21:00:19.176Z] Login Succeeded [2021-01-12T21:00:19.176Z] docker.io [2021-01-12T21:00:19.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] echo [2021-01-12T21:00:19.446Z] ========================================================= [2021-01-12T21:00:19.446Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-12T21:00:19.446Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:00:19.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T21:00:19.756Z] Configure a credential helper to remove this warning. See [2021-01-12T21:00:19.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T21:00:19.756Z] [2021-01-12T21:00:19.756Z] Login Succeeded [2021-01-12T21:00:19.756Z] ---> docker-login.sh ends [Pipeline] } [2021-01-12T21:00:19.767Z] Deleting 1 temporary files [Pipeline] // wrap [2021-01-12T21:00:19.835Z] + 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 . [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-12T21:00:20.144Z] ========================================================= [2021-01-12T21:00:20.144Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-12T21:00:20.144Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:00:20.457Z] Sending build context to Docker daemon 2.468MB [2021-01-12T21:00:20.457Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-12T21:00:20.457Z] Step 2/8 : FROM ${BASE} [2021-01-12T21:00:20.457Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-12T21:00:20.457Z] 5f621e34cdf4: Pulling fs layer [2021-01-12T21:00:20.457Z] a4357932f1b6: Pulling fs layer [2021-01-12T21:00:20.457Z] 18c013af1878: Pulling fs layer [2021-01-12T21:00:20.457Z] 00ac8860ef70: Pulling fs layer [2021-01-12T21:00:20.457Z] 63d7cb157983: Pulling fs layer [2021-01-12T21:00:20.457Z] b116817d02f9: Pulling fs layer [2021-01-12T21:00:20.457Z] 745a02a5169b: Pulling fs layer [2021-01-12T21:00:20.457Z] 00ac8860ef70: Waiting [2021-01-12T21:00:20.457Z] 63d7cb157983: Waiting [2021-01-12T21:00:20.457Z] b116817d02f9: Waiting [2021-01-12T21:00:20.457Z] 745a02a5169b: Waiting [2021-01-12T21:00:20.457Z] 18c013af1878: Verifying Checksum [2021-01-12T21:00:20.457Z] 18c013af1878: Download complete [2021-01-12T21:00:20.457Z] a4357932f1b6: Verifying Checksum [2021-01-12T21:00:20.457Z] a4357932f1b6: Download complete [2021-01-12T21:00:20.457Z] 63d7cb157983: Download complete [2021-01-12T21:00:20.457Z] b116817d02f9: Download complete [2021-01-12T21:00:20.506Z] + 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-12T21:00:20.506Z] Sending build context to Docker daemon 2.469MB [2021-01-12T21:00:20.506Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-12T21:00:20.506Z] Step 2/8 : FROM ${BASE} [2021-01-12T21:00:20.739Z] 5f621e34cdf4: Verifying Checksum [2021-01-12T21:00:20.739Z] 5f621e34cdf4: Download complete [2021-01-12T21:00:20.767Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-12T21:00:20.767Z] 188c0c94c7c5: Pulling fs layer [2021-01-12T21:00:20.767Z] 0ef7d3d256c8: Pulling fs layer [2021-01-12T21:00:20.767Z] de9db76c5a1d: Pulling fs layer [2021-01-12T21:00:20.767Z] bca2f99d35d6: Pulling fs layer [2021-01-12T21:00:20.767Z] 93359f2a8cfa: Pulling fs layer [2021-01-12T21:00:20.767Z] 7c6f9722023f: Pulling fs layer [2021-01-12T21:00:20.767Z] a35cf1a2eb13: Pulling fs layer [2021-01-12T21:00:20.767Z] bca2f99d35d6: Waiting [2021-01-12T21:00:20.767Z] 93359f2a8cfa: Waiting [2021-01-12T21:00:20.767Z] 7c6f9722023f: Waiting [2021-01-12T21:00:20.767Z] a35cf1a2eb13: Waiting [2021-01-12T21:00:20.767Z] de9db76c5a1d: Verifying Checksum [2021-01-12T21:00:20.767Z] de9db76c5a1d: Download complete [2021-01-12T21:00:20.767Z] 0ef7d3d256c8: Download complete [2021-01-12T21:00:20.767Z] 93359f2a8cfa: Verifying Checksum [2021-01-12T21:00:20.767Z] 93359f2a8cfa: Download complete [2021-01-12T21:00:21.031Z] 7c6f9722023f: Verifying Checksum [2021-01-12T21:00:21.031Z] 7c6f9722023f: Download complete [2021-01-12T21:00:21.031Z] 188c0c94c7c5: Verifying Checksum [2021-01-12T21:00:21.031Z] 188c0c94c7c5: Download complete [2021-01-12T21:00:21.294Z] 188c0c94c7c5: Pull complete [2021-01-12T21:00:21.294Z] 0ef7d3d256c8: Pull complete [2021-01-12T21:00:21.337Z] 5f621e34cdf4: Pull complete [2021-01-12T21:00:21.566Z] de9db76c5a1d: Pull complete [2021-01-12T21:00:21.934Z] a4357932f1b6: Pull complete [2021-01-12T21:00:22.206Z] 18c013af1878: Pull complete [2021-01-12T21:00:24.178Z] 745a02a5169b: Verifying Checksum [2021-01-12T21:00:24.178Z] 745a02a5169b: Download complete [2021-01-12T21:00:24.886Z] a35cf1a2eb13: Verifying Checksum [2021-01-12T21:00:24.887Z] a35cf1a2eb13: Download complete [2021-01-12T21:00:25.474Z] bca2f99d35d6: Verifying Checksum [2021-01-12T21:00:25.474Z] bca2f99d35d6: Download complete [2021-01-12T21:00:25.624Z] 00ac8860ef70: Verifying Checksum [2021-01-12T21:00:25.624Z] 00ac8860ef70: Download complete [2021-01-12T21:00:30.847Z] bca2f99d35d6: Pull complete [2021-01-12T21:00:31.113Z] 93359f2a8cfa: Pull complete [2021-01-12T21:00:31.113Z] 7c6f9722023f: Pull complete [2021-01-12T21:00:35.830Z] 00ac8860ef70: Pull complete [2021-01-12T21:00:35.830Z] 63d7cb157983: Pull complete [2021-01-12T21:00:35.830Z] b116817d02f9: Pull complete [2021-01-12T21:00:37.779Z] a35cf1a2eb13: Pull complete [2021-01-12T21:00:37.779Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-12T21:00:37.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-12T21:00:37.779Z] ---> a62c8e92a672 [2021-01-12T21:00:37.779Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T21:00:37.779Z] ---> Running in f1accf899eff [2021-01-12T21:00:37.779Z] Removing intermediate container f1accf899eff [2021-01-12T21:00:37.779Z] ---> 1709701b9862 [2021-01-12T21:00:37.779Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-12T21:00:37.779Z] ---> Running in 27336c8eec16 [2021-01-12T21:00:38.760Z] Removing intermediate container 27336c8eec16 [2021-01-12T21:00:38.760Z] ---> 79b53cc21655 [2021-01-12T21:00:38.760Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-12T21:00:38.760Z] ---> Running in f38b9b8edcba [2021-01-12T21:00:39.271Z] 745a02a5169b: Pull complete [2021-01-12T21:00:39.271Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-12T21:00:39.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-12T21:00:39.271Z] ---> b7e6874047d6 [2021-01-12T21:00:39.271Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T21:00:40.170Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-12T21:00:40.747Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-12T21:00:41.038Z] OK: 166 MiB in 39 packages [2021-01-12T21:00:41.620Z] Removing intermediate container f38b9b8edcba [2021-01-12T21:00:41.620Z] ---> f4c6ea89dfd5 [2021-01-12T21:00:41.620Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-12T21:00:41.620Z] ---> Running in 0b5530d7b92f [2021-01-12T21:00:41.882Z] Removing intermediate container 0b5530d7b92f [2021-01-12T21:00:41.883Z] ---> 3de80dce91c6 [2021-01-12T21:00:41.883Z] Step 7/8 : COPY . . [2021-01-12T21:00:41.914Z] ---> Running in 0298061101d6 [2021-01-12T21:00:42.528Z] Removing intermediate container 0298061101d6 [2021-01-12T21:00:42.528Z] ---> 95286b4aca35 [2021-01-12T21:00:42.528Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-12T21:00:42.528Z] ---> Running in 567f9e93762f [2021-01-12T21:00:43.287Z] ---> 5ad685190f58 [2021-01-12T21:00:43.287Z] Step 8/8 : RUN go mod download [2021-01-12T21:00:43.287Z] ---> Running in 17cbee93fac2 [2021-01-12T21:00:45.163Z] Removing intermediate container 567f9e93762f [2021-01-12T21:00:45.163Z] ---> 5233a3b5a478 [2021-01-12T21:00:45.163Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-12T21:00:45.163Z] ---> Running in f82cfd3ea263 [2021-01-12T21:00:46.144Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-12T21:00:46.738Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-12T21:00:47.334Z] OK: 142 MiB in 39 packages [2021-01-12T21:00:48.768Z] Removing intermediate container f82cfd3ea263 [2021-01-12T21:00:48.768Z] ---> 7d933e8bc5a4 [2021-01-12T21:00:48.768Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-12T21:00:48.768Z] ---> Running in 1bda96875926 [2021-01-12T21:00:49.041Z] Removing intermediate container 1bda96875926 [2021-01-12T21:00:49.041Z] ---> 19934463801d [2021-01-12T21:00:49.041Z] Step 7/8 : COPY . . [2021-01-12T21:00:50.480Z] ---> cec40ef4d423 [2021-01-12T21:00:50.480Z] Step 8/8 : RUN go mod download [2021-01-12T21:00:50.757Z] ---> Running in f6177219db39 [2021-01-12T21:01:01.473Z] Removing intermediate container 17cbee93fac2 [2021-01-12T21:01:01.473Z] ---> 1a9b382dc4a4 [2021-01-12T21:01:01.473Z] Successfully built 1a9b382dc4a4 [2021-01-12T21:01:01.473Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:01:01.815Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-12T21:01:01.815Z] . [Pipeline] withDockerContainer [2021-01-12T21:01:01.947Z] prd-centos7-docker-4c-2g-19809 does not seem to be running inside a container [2021-01-12T21:01:02.001Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/104 -v /w/workspace/device-sdk-go/104:/w/workspace/device-sdk-go/104:rw,z -v /w/workspace/device-sdk-go/104@tmp:/w/workspace/device-sdk-go/104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-12T21:01:02.787Z] $ docker top 8c0488f8eb98e81d3327f10434f9171bff12b3f8f0076ab058711be1ebe8d8b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T21:01:03.302Z] + go version [2021-01-12T21:01:03.302Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-12T21:01:03.321Z] $ docker stop --time=1 8c0488f8eb98e81d3327f10434f9171bff12b3f8f0076ab058711be1ebe8d8b3 [2021-01-12T21:01:04.683Z] $ docker rm -f 8c0488f8eb98e81d3327f10434f9171bff12b3f8f0076ab058711be1ebe8d8b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:01:05.651Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-12T21:01:05.651Z] . [Pipeline] withDockerContainer [2021-01-12T21:01:05.754Z] prd-centos7-docker-4c-2g-19809 does not seem to be running inside a container [2021-01-12T21:01:05.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/104 -v /w/workspace/device-sdk-go/104:/w/workspace/device-sdk-go/104:rw,z -v /w/workspace/device-sdk-go/104@tmp:/w/workspace/device-sdk-go/104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-12T21:01:06.472Z] $ docker top 5d9e21acf304b867017d2ce9b1a67c6b3db15c14e4e915bcdbcdab35d4ae8a01 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T21:01:07.048Z] + make test [2021-01-12T21:01:07.048Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-12T21:01:12.954Z] Removing intermediate container f6177219db39 [2021-01-12T21:01:12.954Z] ---> 9200cd6212a6 [2021-01-12T21:01:12.954Z] Successfully built 9200cd6212a6 [2021-01-12T21:01:12.954Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:01:13.366Z] + docker inspect -f . ci-base-image-arm64 [2021-01-12T21:01:13.366Z] . [Pipeline] withDockerContainer [2021-01-12T21:01:13.694Z] prd-ubuntu18.04-docker-arm64-4c-16g-19808 does not seem to be running inside a container [2021-01-12T21:01:13.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/104 -v /w/workspace/device-sdk-go/104:/w/workspace/device-sdk-go/104:rw,z -v /w/workspace/device-sdk-go/104@tmp:/w/workspace/device-sdk-go/104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-12T21:01:15.385Z] $ docker top f77ed9f01444ebf842b19d794e98a8919ea7f71bdbc1e807103747a2786b82df -eo pid,comm [2021-01-12T21:01:15.408Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] { [Pipeline] sh [2021-01-12T21:01:16.442Z] + go version [2021-01-12T21:01:16.442Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-12T21:01:16.466Z] $ docker stop --time=1 f77ed9f01444ebf842b19d794e98a8919ea7f71bdbc1e807103747a2786b82df [2021-01-12T21:01:18.443Z] $ docker rm -f f77ed9f01444ebf842b19d794e98a8919ea7f71bdbc1e807103747a2786b82df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:01:19.439Z] + docker inspect -f . ci-base-image-arm64 [2021-01-12T21:01:19.439Z] . [Pipeline] withDockerContainer [2021-01-12T21:01:19.706Z] prd-ubuntu18.04-docker-arm64-4c-16g-19808 does not seem to be running inside a container [2021-01-12T21:01:19.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/104 -v /w/workspace/device-sdk-go/104:/w/workspace/device-sdk-go/104:rw,z -v /w/workspace/device-sdk-go/104@tmp:/w/workspace/device-sdk-go/104@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-12T21:01:21.402Z] $ docker top 251c48ab4c0398331da28879454f748c02dc180a1e02f36a62f6ca39a81a625f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T21:01:22.455Z] + make test [2021-01-12T21:01:22.455Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-12T21:01:30.445Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-12T21:01:30.445Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-12T21:01:30.445Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-12T21:01:30.445Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.063s coverage: 19.4% of statements [2021-01-12T21:01:32.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.462s coverage: 97.1% of statements [2021-01-12T21:01:44.667Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-12T21:02:04.586Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.065s coverage: 9.4% of statements [2021-01-12T21:02:04.587Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.7% of statements [2021-01-12T21:02:04.587Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-12T21:02:04.587Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.220s coverage: 42.9% of statements [2021-01-12T21:02:04.587Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-12T21:02:04.587Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.268s coverage: 68.9% of statements [2021-01-12T21:02:04.587Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-12T21:02:04.587Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-12T21:02:04.587Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-12T21:02:04.587Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-12T21:02:04.587Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.061s coverage: 53.8% of statements [2021-01-12T21:02:04.587Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-12T21:02:04.587Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-12T21:02:04.587Z] ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.065s coverage: 31.3% of statements [2021-01-12T21:02:04.587Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.538s coverage: 68.9% of statements [2021-01-12T21:02:04.587Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.070s coverage: 4.2% of statements [2021-01-12T21:02:04.587Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-12T21:02:04.587Z] GO111MODULE=on go vet ./... [2021-01-12T21:02:11.301Z] gofmt -l . [2021-01-12T21:02:11.301Z] [ "`gofmt -l .`" = "" ] [2021-01-12T21:02:11.301Z] ./bin/test-attribution-txt.sh [2021-01-12T21:02:12.248Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-12T21:02:12.267Z] $ docker stop --time=1 5d9e21acf304b867017d2ce9b1a67c6b3db15c14e4e915bcdbcdab35d4ae8a01 [2021-01-12T21:02:14.304Z] $ docker rm -f 5d9e21acf304b867017d2ce9b1a67c6b3db15c14e4e915bcdbcdab35d4ae8a01 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-12T21:02:14.965Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-12T21:02:15.362Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-12T21:02:18.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-12T21:02:18.817Z] + ls -al . [2021-01-12T21:02:18.818Z] total 216 [2021-01-12T21:02:18.818Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 12 21:02 . [2021-01-12T21:02:18.818Z] drwxrwxr-x. 4 jenkins jenkins 32 Jan 12 21:00 .. [2021-01-12T21:02:18.818Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 12 21:00 bin [2021-01-12T21:02:18.818Z] -rw-r--r--. 1 jenkins jenkins 137953 Jan 12 21:01 coverage.out [2021-01-12T21:02:18.818Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 12 21:00 Dockerfile.build [2021-01-12T21:02:18.818Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 12 21:00 .dockerignore [2021-01-12T21:02:18.818Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 12 21:00 example [2021-01-12T21:02:18.818Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 12 21:00 .git [2021-01-12T21:02:18.818Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 12 21:00 .github [2021-01-12T21:02:18.818Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 12 21:00 .gitignore [2021-01-12T21:02:18.818Z] -rw-r--r--. 1 jenkins jenkins 488 Jan 12 21:02 go.mod [2021-01-12T21:02:18.818Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 12 21:02 go.sum [2021-01-12T21:02:18.818Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 12 21:00 internal [2021-01-12T21:02:18.818Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 12 21:00 Jenkinsfile [2021-01-12T21:02:18.818Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 12 21:00 LICENSE [2021-01-12T21:02:18.818Z] -rw-rw-r--. 1 jenkins jenkins 1013 Jan 12 21:00 Makefile [2021-01-12T21:02:18.818Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 12 21:00 openapi [2021-01-12T21:02:18.818Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 12 21:00 pkg [2021-01-12T21:02:18.818Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 12 21:00 README.md [2021-01-12T21:02:18.818Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 12 21:00 RELEASE-NOTES.txt [2021-01-12T21:02:18.818Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 12 21:00 snap [2021-01-12T21:02:18.818Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 12 20:57 VERSION [2021-01-12T21:02:18.818Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 12 21:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:02:19.136Z] + 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=1f15288997641a3d0d3a625c9b3944aa45f594eb --label arch=amd64 --label version=1.4.1-dev.6 . [2021-01-12T21:02:19.398Z] Sending build context to Docker daemon 2.608MB [2021-01-12T21:02:19.398Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-12T21:02:19.398Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-12T21:02:19.398Z] ---> 1a9b382dc4a4 [2021-01-12T21:02:19.398Z] Step 3/24 : ARG MAKE='make build' [2021-01-12T21:02:19.975Z] ---> Running in 34c3aa1f9596 [2021-01-12T21:02:20.237Z] Removing intermediate container 34c3aa1f9596 [2021-01-12T21:02:20.237Z] ---> fab97125ec7c [2021-01-12T21:02:20.237Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-12T21:02:20.237Z] ---> Running in 7e75d620e56c [2021-01-12T21:02:20.501Z] Removing intermediate container 7e75d620e56c [2021-01-12T21:02:20.501Z] ---> d0fa98b25c59 [2021-01-12T21:02:20.501Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T21:02:20.501Z] ---> Running in 322729c47307 [2021-01-12T21:02:20.766Z] Removing intermediate container 322729c47307 [2021-01-12T21:02:20.766Z] ---> 141419c68ab8 [2021-01-12T21:02:20.766Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-12T21:02:20.766Z] ---> Running in c7d8e3fe1ccc [2021-01-12T21:02:21.720Z] Removing intermediate container c7d8e3fe1ccc [2021-01-12T21:02:21.720Z] ---> e8c56a7ddafd [2021-01-12T21:02:21.720Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-12T21:02:21.995Z] ---> Running in 6173b5a6b666 [2021-01-12T21:02:22.578Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-12T21:02:23.154Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-12T21:02:23.721Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-12T21:02:23.721Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-12T21:02:23.721Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-12T21:02:23.721Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.180s coverage: 19.4% of statements [2021-01-12T21:02:23.728Z] OK: 166 MiB in 39 packages [2021-01-12T21:02:23.992Z] Removing intermediate container 6173b5a6b666 [2021-01-12T21:02:23.992Z] ---> 3abc92e41e7b [2021-01-12T21:02:23.992Z] Step 8/24 : COPY . . [2021-01-12T21:02:25.401Z] ---> a9da32b9cb6f [2021-01-12T21:02:25.401Z] Step 9/24 : RUN ${MAKE} [2021-01-12T21:02:25.401Z] ---> Running in d87777244e12 [2021-01-12T21:02:25.978Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.4.1-dev.6" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-12T21:02:30.462Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.185s coverage: 97.1% of statements [2021-01-12T21:02:34.253Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-12T21:02:36.178Z] Removing intermediate container d87777244e12 [2021-01-12T21:02:36.178Z] ---> 7e6fb09453aa [2021-01-12T21:02:36.178Z] Step 10/24 : FROM scratch [2021-01-12T21:02:36.178Z] ---> [2021-01-12T21:02:36.178Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T21:02:36.439Z] ---> Running in 5000736b907b [2021-01-12T21:02:36.439Z] Removing intermediate container 5000736b907b [2021-01-12T21:02:36.439Z] ---> 4ca655a7c4fa [2021-01-12T21:02:36.439Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-12T21:02:36.702Z] ---> Running in f97a54eb0ba2 [2021-01-12T21:02:36.702Z] Removing intermediate container f97a54eb0ba2 [2021-01-12T21:02:36.702Z] ---> d7493bef83f6 [2021-01-12T21:02:36.702Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-12T21:02:36.963Z] ---> Running in 2738000b2f0f [2021-01-12T21:02:36.963Z] Removing intermediate container 2738000b2f0f [2021-01-12T21:02:36.963Z] ---> 5c5e85eef0fb [2021-01-12T21:02:36.963Z] Step 14/24 : WORKDIR / [2021-01-12T21:02:37.225Z] ---> Running in a4186a5e8a27 [2021-01-12T21:02:37.225Z] Removing intermediate container a4186a5e8a27 [2021-01-12T21:02:37.225Z] ---> 1319e40c6366 [2021-01-12T21:02:37.225Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-12T21:02:37.808Z] ---> 075db7e1308e [2021-01-12T21:02:37.808Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-12T21:02:38.070Z] ---> 9ea6ff229033 [2021-01-12T21:02:38.070Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-12T21:02:38.332Z] ---> 4c3f5e8d55fa [2021-01-12T21:02:38.332Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-12T21:02:38.597Z] ---> 8753c6d6c34c [2021-01-12T21:02:38.597Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-12T21:02:38.860Z] ---> 558c45e6de07 [2021-01-12T21:02:38.860Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-12T21:02:39.123Z] ---> Running in bcca94becd49 [2021-01-12T21:02:39.123Z] Removing intermediate container bcca94becd49 [2021-01-12T21:02:39.123Z] ---> a787baa670d8 [2021-01-12T21:02:39.123Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-12T21:02:39.387Z] ---> Running in 9d17e7ff694d [2021-01-12T21:02:39.387Z] Removing intermediate container 9d17e7ff694d [2021-01-12T21:02:39.387Z] ---> fe3c001418ad [2021-01-12T21:02:39.387Z] Step 22/24 : LABEL arch=amd64 [2021-01-12T21:02:39.649Z] ---> Running in 42a586dc74f5 [2021-01-12T21:02:39.912Z] Removing intermediate container 42a586dc74f5 [2021-01-12T21:02:39.912Z] ---> 570445eff5c8 [2021-01-12T21:02:39.912Z] Step 23/24 : LABEL git_sha=1f15288997641a3d0d3a625c9b3944aa45f594eb [2021-01-12T21:02:39.912Z] ---> Running in 88f1c1c02646 [2021-01-12T21:02:40.174Z] Removing intermediate container 88f1c1c02646 [2021-01-12T21:02:40.174Z] ---> f0ded7b9b6bc [2021-01-12T21:02:40.174Z] Step 24/24 : LABEL version=1.4.1-dev.6 [2021-01-12T21:02:40.174Z] ---> Running in d9c0aa731508 [2021-01-12T21:02:40.436Z] Removing intermediate container d9c0aa731508 [2021-01-12T21:02:40.436Z] ---> 673b2894827b [2021-01-12T21:02:40.436Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-12T21:02:40.436Z] Successfully built 673b2894827b [2021-01-12T21:02:40.436Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-12T21:02:57.278Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.160s coverage: 9.4% of statements [2021-01-12T21:02:57.279Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.142s coverage: 21.7% of statements [2021-01-12T21:02:57.279Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-12T21:02:57.279Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.594s coverage: 42.9% of statements [2021-01-12T21:02:57.279Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-12T21:02:57.279Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.802s coverage: 68.9% of statements [2021-01-12T21:02:57.279Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-12T21:02:57.279Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-12T21:02:57.279Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-12T21:02:57.279Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-12T21:02:57.279Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.189s coverage: 53.8% of statements [2021-01-12T21:02:57.279Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-12T21:02:57.279Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-12T21:02:57.279Z] ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.183s coverage: 31.3% of statements [2021-01-12T21:02:57.279Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.853s coverage: 68.9% of statements [2021-01-12T21:02:57.279Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.138s coverage: 4.2% of statements [2021-01-12T21:02:57.279Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-12T21:02:57.279Z] GO111MODULE=on go vet ./... [2021-01-12T21:03:29.647Z] gofmt -l . [2021-01-12T21:03:29.647Z] [ "`gofmt -l .`" = "" ] [2021-01-12T21:03:29.647Z] ./bin/test-attribution-txt.sh [2021-01-12T21:03:29.925Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-12T21:03:30.539Z] $ docker stop --time=1 251c48ab4c0398331da28879454f748c02dc180a1e02f36a62f6ca39a81a625f [2021-01-12T21:03:32.661Z] $ docker rm -f 251c48ab4c0398331da28879454f748c02dc180a1e02f36a62f6ca39a81a625f [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-12T21:03:33.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-12T21:03:33.741Z] Warning: overwriting stash ‘coverage-report’ [2021-01-12T21:03:34.573Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-12T21:03:35.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-12T21:03:36.955Z] + ls -al . [2021-01-12T21:03:36.956Z] total 252 [2021-01-12T21:03:36.956Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 21:03 . [2021-01-12T21:03:36.956Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 21:00 .. [2021-01-12T21:03:36.956Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 21:00 .dockerignore [2021-01-12T21:03:36.956Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 21:00 .git [2021-01-12T21:03:36.956Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 21:00 .github [2021-01-12T21:03:36.956Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 12 21:00 .gitignore [2021-01-12T21:03:36.956Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 12 21:00 Dockerfile.build [2021-01-12T21:03:36.956Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 12 21:00 Jenkinsfile [2021-01-12T21:03:36.956Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 21:00 LICENSE [2021-01-12T21:03:36.956Z] -rw-rw-r-- 1 jenkins jenkins 1013 Jan 12 21:00 Makefile [2021-01-12T21:03:36.956Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 12 21:00 README.md [2021-01-12T21:03:36.956Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 12 21:00 RELEASE-NOTES.txt [2021-01-12T21:03:36.956Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 12 20:57 VERSION [2021-01-12T21:03:36.956Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 21:00 bin [2021-01-12T21:03:36.956Z] -rw-r--r-- 1 jenkins jenkins 137952 Jan 12 21:02 coverage.out [2021-01-12T21:03:36.956Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 21:00 example [2021-01-12T21:03:36.956Z] -rw-r--r-- 1 jenkins jenkins 488 Jan 12 21:03 go.mod [2021-01-12T21:03:36.956Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 12 21:03 go.sum [2021-01-12T21:03:36.956Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 12 21:00 internal [2021-01-12T21:03:36.956Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 21:00 openapi [2021-01-12T21:03:36.956Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 21:00 pkg [2021-01-12T21:03:36.956Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 21:00 snap [2021-01-12T21:03:36.956Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 21:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:03:37.340Z] + 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=1f15288997641a3d0d3a625c9b3944aa45f594eb --label arch=arm64 --label version=1.4.1-dev.6 . [2021-01-12T21:03:37.615Z] Sending build context to Docker daemon 2.607MB [2021-01-12T21:03:37.615Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-12T21:03:37.615Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-12T21:03:37.615Z] ---> 9200cd6212a6 [2021-01-12T21:03:37.615Z] Step 3/24 : ARG MAKE='make build' [2021-01-12T21:03:38.205Z] ---> Running in 9a4260dab0c6 [2021-01-12T21:03:38.477Z] Removing intermediate container 9a4260dab0c6 [2021-01-12T21:03:38.477Z] ---> 278ca35c1a02 [2021-01-12T21:03:38.477Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-12T21:03:38.477Z] ---> Running in d0d934da2419 [2021-01-12T21:03:39.074Z] Removing intermediate container d0d934da2419 [2021-01-12T21:03:39.074Z] ---> e3e8b3d1ef92 [2021-01-12T21:03:39.074Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T21:03:39.074Z] ---> Running in 8175ee5cb206 [2021-01-12T21:03:39.663Z] Removing intermediate container 8175ee5cb206 [2021-01-12T21:03:39.663Z] ---> 9b90c19e8163 [2021-01-12T21:03:39.663Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-12T21:03:39.663Z] ---> Running in 3524f21e3e6b [2021-01-12T21:03:41.629Z] Removing intermediate container 3524f21e3e6b [2021-01-12T21:03:41.629Z] ---> eee504477197 [2021-01-12T21:03:41.629Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-12T21:03:41.629Z] ---> Running in e2e1884d922b [2021-01-12T21:03:43.062Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-12T21:03:43.332Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-12T21:03:44.308Z] OK: 142 MiB in 39 packages [2021-01-12T21:03:45.287Z] Removing intermediate container e2e1884d922b [2021-01-12T21:03:45.287Z] ---> 68435ee5c292 [2021-01-12T21:03:45.287Z] Step 8/24 : COPY . . [2021-01-12T21:03:46.723Z] ---> bc384ab1f7f7 [2021-01-12T21:03:46.723Z] Step 9/24 : RUN ${MAKE} [2021-01-12T21:03:46.723Z] ---> Running in 4170a95e59d6 [2021-01-12T21:03:47.709Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.4.1-dev.6" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-12T21:04:14.512Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-12T21:04:14.512Z] Removing intermediate container 4170a95e59d6 [2021-01-12T21:04:14.512Z] ---> e3e0648fda94 [2021-01-12T21:04:14.512Z] Step 10/24 : FROM scratch [2021-01-12T21:04:14.512Z] ---> [2021-01-12T21:04:14.512Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-12T21:04:14.512Z] ---> Running in e5cb530f5580 [2021-01-12T21:04:15.106Z] Removing intermediate container e5cb530f5580 [2021-01-12T21:04:15.106Z] ---> 370d6b6ffd53 [2021-01-12T21:04:15.106Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-12T21:04:15.106Z] ---> Running in 30807bcad57b [2021-01-12T21:04:15.377Z] Removing intermediate container 30807bcad57b [2021-01-12T21:04:15.377Z] ---> e539699f098c [2021-01-12T21:04:15.377Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-12T21:04:15.648Z] ---> Running in 726e56245c5d [2021-01-12T21:04:15.918Z] Removing intermediate container 726e56245c5d [2021-01-12T21:04:15.918Z] ---> ae0d765afd51 [2021-01-12T21:04:15.918Z] Step 14/24 : WORKDIR / [2021-01-12T21:04:16.190Z] ---> Running in cff01894b353 [2021-01-12T21:04:16.461Z] Removing intermediate container cff01894b353 [2021-01-12T21:04:16.461Z] ---> b5b731a1c743 [2021-01-12T21:04:16.461Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-12T21:04:17.886Z] ---> 2c44ba5b1ae9 [2021-01-12T21:04:17.886Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-12T21:04:18.480Z] ---> e13f8e2e8110 [2021-01-12T21:04:18.480Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-12T21:04:19.073Z] ---> d9f300d0c630 [2021-01-12T21:04:19.073Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-12T21:04:19.666Z] ---> 89f8a017d165 [2021-01-12T21:04:19.666Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-12T21:04:20.641Z] ---> e0198a0427b1 [2021-01-12T21:04:20.641Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-12T21:04:20.641Z] ---> Running in 7d49696ea9b6 [2021-01-12T21:04:20.914Z] Removing intermediate container 7d49696ea9b6 [2021-01-12T21:04:20.914Z] ---> 03e36b0694b0 [2021-01-12T21:04:20.914Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-12T21:04:21.188Z] ---> Running in 6ad6eb15cc95 [2021-01-12T21:04:21.781Z] Removing intermediate container 6ad6eb15cc95 [2021-01-12T21:04:21.781Z] ---> f79063967798 [2021-01-12T21:04:21.781Z] Step 22/24 : LABEL arch=arm64 [2021-01-12T21:04:21.781Z] ---> Running in e78b0817e7e1 [2021-01-12T21:04:22.059Z] Removing intermediate container e78b0817e7e1 [2021-01-12T21:04:22.059Z] ---> 8400e6a33715 [2021-01-12T21:04:22.059Z] Step 23/24 : LABEL git_sha=1f15288997641a3d0d3a625c9b3944aa45f594eb [2021-01-12T21:04:22.333Z] ---> Running in 1bc172d44571 [2021-01-12T21:04:22.612Z] Removing intermediate container 1bc172d44571 [2021-01-12T21:04:22.612Z] ---> 8fdd7d63e812 [2021-01-12T21:04:22.612Z] Step 24/24 : LABEL version=1.4.1-dev.6 [2021-01-12T21:04:22.887Z] ---> Running in 54ddb777b138 [2021-01-12T21:04:23.480Z] Removing intermediate container 54ddb777b138 [2021-01-12T21:04:23.480Z] ---> a8ef96e5f20c [2021-01-12T21:04:23.480Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-12T21:04:23.480Z] Successfully built a8ef96e5f20c [2021-01-12T21:04:23.480Z] 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-12T21:04:25.378Z] provisioning config files... [2021-01-12T21:04:25.391Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4654180444038223735tmp [Pipeline] { [Pipeline] sh [2021-01-12T21:04:25.785Z] + set +x [2021-01-12T21:04:25.785Z] + curl -s https://codecov.io/bash [2021-01-12T21:04:25.785Z] + bash -s -- [2021-01-12T21:04:26.047Z] [2021-01-12T21:04:26.047Z] _____ _ [2021-01-12T21:04:26.047Z] / ____| | | [2021-01-12T21:04:26.047Z] | | ___ __| | ___ ___ _____ __ [2021-01-12T21:04:26.047Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-12T21:04:26.047Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-12T21:04:26.047Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-12T21:04:26.047Z] Bash-20201231-23d4836 [2021-01-12T21:04:26.047Z] [2021-01-12T21:04:26.047Z] [2021-01-12T21:04:26.047Z] ==> git version 2.24.3 found [2021-01-12T21:04:26.047Z] ==> 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-12T21:04:26.047Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-12T21:04:26.047Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-12T21:04:26.047Z] ==> Jenkins CI detected. [2021-01-12T21:04:26.047Z] project root: . [2021-01-12T21:04:26.047Z] --> token set from env [2021-01-12T21:04:26.047Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-12T21:04:26.047Z] ==> Running gcov in . (disable via -X gcov) [2021-01-12T21:04:26.047Z] ==> Python coveragepy not found [2021-01-12T21:04:26.047Z] ==> Searching for coverage reports in: [2021-01-12T21:04:26.047Z] + . [2021-01-12T21:04:26.047Z] -> Found 1 reports [2021-01-12T21:04:26.047Z] ==> Detecting git/mercurial file structure [2021-01-12T21:04:26.047Z] ==> Reading reports [2021-01-12T21:04:26.047Z] + ./coverage.out bytes=137952 [2021-01-12T21:04:26.047Z] ==> Appending adjustments [2021-01-12T21:04:26.047Z] https://docs.codecov.io/docs/fixing-reports [2021-01-12T21:04:26.625Z] + Found adjustments [2021-01-12T21:04:26.625Z] ==> Gzipping contents [2021-01-12T21:04:26.625Z] 24K /tmp/codecov.rGuPgh.gz [2021-01-12T21:04:26.625Z] ==> Uploading reports [2021-01-12T21:04:26.625Z] url: https://codecov.io [2021-01-12T21:04:26.625Z] query: branch=master&commit=1f15288997641a3d0d3a625c9b3944aa45f594eb&build=104&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F104%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-12T21:04:26.625Z] -> Pinging Codecov [2021-01-12T21:04:26.625Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=1f15288997641a3d0d3a625c9b3944aa45f594eb&build=104&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F104%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-12T21:04:26.889Z] -> Uploading to [2021-01-12T21:04:26.889Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-12/7E55EF52A471D76F132DFD9A03CDDE97/1f15288997641a3d0d3a625c9b3944aa45f594eb/d2064993-321b-4a6d-a2a5-6e86d13ca10a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210112T210426Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b4ee7bb2c6d02cc2be507c46eaf0d3784ee0391f90151eed3efc60496cda723 [2021-01-12T21:04:26.889Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-12T21:04:26.889Z] Dload Upload Total Spent Left Speed [2021-01-12T21:04:27.464Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22093 0 0 100 22093 0 53175 --:--:-- --:--:-- --:--:-- 53236 [2021-01-12T21:04:27.464Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1f15288997641a3d0d3a625c9b3944aa45f594eb [Pipeline] } [2021-01-12T21:04:27.477Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-12T21:04:28.322Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-12T21:04:28.381Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:04:28.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-12T21:04:28.765Z] [2021-01-12T21:04:28.765Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:04:29.121Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-12T21:04:29.121Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-12T21:04:29.121Z] 188c0c94c7c5: Pulling fs layer [2021-01-12T21:04:29.121Z] 0ef7d3d256c8: Pulling fs layer [2021-01-12T21:04:29.121Z] de9db76c5a1d: Pulling fs layer [2021-01-12T21:04:29.121Z] 0eba1c9be4d2: Pulling fs layer [2021-01-12T21:04:29.121Z] 0d57e429df01: Pulling fs layer [2021-01-12T21:04:29.121Z] 4e4be7b47b0d: Pulling fs layer [2021-01-12T21:04:29.121Z] e1f770b5df2f: Pulling fs layer [2021-01-12T21:04:29.121Z] 85a0685a4137: Pulling fs layer [2021-01-12T21:04:29.121Z] 0eba1c9be4d2: Waiting [2021-01-12T21:04:29.121Z] 0d57e429df01: Waiting [2021-01-12T21:04:29.121Z] 4e4be7b47b0d: Waiting [2021-01-12T21:04:29.121Z] e1f770b5df2f: Waiting [2021-01-12T21:04:29.122Z] 85a0685a4137: Waiting [2021-01-12T21:04:29.122Z] de9db76c5a1d: Verifying Checksum [2021-01-12T21:04:29.122Z] de9db76c5a1d: Download complete [2021-01-12T21:04:29.122Z] 0ef7d3d256c8: Verifying Checksum [2021-01-12T21:04:29.122Z] 0ef7d3d256c8: Download complete [2021-01-12T21:04:29.122Z] 0d57e429df01: Download complete [2021-01-12T21:04:29.122Z] 188c0c94c7c5: Download complete [2021-01-12T21:04:29.387Z] 4e4be7b47b0d: Verifying Checksum [2021-01-12T21:04:29.387Z] 4e4be7b47b0d: Download complete [2021-01-12T21:04:29.650Z] 188c0c94c7c5: Pull complete [2021-01-12T21:04:29.650Z] 0ef7d3d256c8: Pull complete [2021-01-12T21:04:29.921Z] de9db76c5a1d: Pull complete [2021-01-12T21:04:31.323Z] e1f770b5df2f: Download complete [2021-01-12T21:04:33.887Z] 0eba1c9be4d2: Verifying Checksum [2021-01-12T21:04:33.887Z] 0eba1c9be4d2: Download complete [2021-01-12T21:04:34.152Z] 85a0685a4137: Verifying Checksum [2021-01-12T21:04:34.152Z] 85a0685a4137: Download complete [2021-01-12T21:04:39.527Z] 0eba1c9be4d2: Pull complete [2021-01-12T21:04:39.527Z] 0d57e429df01: Pull complete [2021-01-12T21:04:39.527Z] 4e4be7b47b0d: Pull complete [2021-01-12T21:04:40.922Z] e1f770b5df2f: Pull complete [2021-01-12T21:04:49.107Z] 85a0685a4137: Pull complete [2021-01-12T21:04:49.107Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-12T21:04:49.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-12T21:04:49.107Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-12T21:04:49.306Z] prd-centos7-docker-4c-2g-19806 does not seem to be running inside a container [2021-01-12T21:04:49.358Z] $ 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-12T21:04:50.295Z] $ docker top c272434142eedd0f296ea480889f30601953deebb58804406865c017a8ccdcaf -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-12T21:04:50.629Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-12T21:04:50.921Z] + set -o pipefail [2021-01-12T21:04:50.922Z] + snyk monitor '--org=edgex-jenkins' [2021-01-12T21:05:00.957Z] [2021-01-12T21:05:00.957Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2021-01-12T21:05:00.957Z] [2021-01-12T21:05:00.957Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/e4cc4324-7a3f-4896-93e8-65878a74e727 [2021-01-12T21:05:00.957Z] [2021-01-12T21:05:00.957Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-12T21:05:00.957Z] [2021-01-12T21:05:01.221Z] [Pipeline] } [2021-01-12T21:05:01.238Z] $ docker stop --time=1 c272434142eedd0f296ea480889f30601953deebb58804406865c017a8ccdcaf [2021-01-12T21:05:03.803Z] $ docker rm -f c272434142eedd0f296ea480889f30601953deebb58804406865c017a8ccdcaf [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-12T21:05:05.359Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-12T21:05:05.421Z] provisioning config files... [2021-01-12T21:05:05.434Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5586655361202950898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-12T21:05:05.844Z] --> edgex-publish-swagger.sh [2021-01-12T21:05:05.844Z] === Publish openapi/v1 API === [2021-01-12T21:05:05.844Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-01-12T21:05:05.844Z] [publishToSwagger] Publishing API Name [device-sdk] [2021-01-12T21:05:05.844Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-12T21:05:05.844Z] Dload Upload Total Spent Left Speed [2021-01-12T21:05:06.422Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19946 0 0 100 19946 0 27480 --:--:-- --:--:-- --:--:-- 27511 [2021-01-12T21:05:06.422Z] [2021-01-12T21:05:06.422Z] [2021-01-12T21:05:06.422Z] === Publish openapi/v2 API === [2021-01-12T21:05:06.422Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-01-12T21:05:06.422Z] [publishToSwagger] Publishing API Name [device-sdk] [2021-01-12T21:05:06.422Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-12T21:05:06.422Z] Dload Upload Total Spent Left Speed [2021-01-12T21:05:07.260Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51543 0 0 100 51543 0 78300 --:--:-- --:--:-- --:--:-- 78213 [2021-01-12T21:05:07.260Z] [2021-01-12T21:05:07.260Z] [Pipeline] } [2021-01-12T21:05:07.269Z] 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-12T21:05:08.142Z] + git log --format=format:%s -1 1f15288997641a3d0d3a625c9b3944aa45f594eb [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:05:08.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T21:05:08.450Z] . [Pipeline] withDockerContainer [2021-01-12T21:05:08.561Z] prd-centos7-docker-4c-2g-19806 does not seem to be running inside a container [2021-01-12T21:05:08.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-12T21:05:09.431Z] $ docker top 871a706df81ae9839cdc578f5a37db8dd5e24a5a67c3cc15b068db210c425ba3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-12T21:05:09.792Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-12T21:05:09.792Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-12T21:05:10.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-12T21:05:10.033Z] $ docker exec 871a706df81ae9839cdc578f5a37db8dd5e24a5a67c3cc15b068db210c425ba3 ssh-agent [2021-01-12T21:05:10.212Z] SSH_AUTH_SOCK=/tmp/ssh-TJpyaN2Yz3k1/agent.12 [2021-01-12T21:05:10.212Z] SSH_AGENT_PID=17 [2021-01-12T21:05:10.220Z] Running ssh-add (command line suppressed) [2021-01-12T21:05:10.350Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4046764721772385904.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4046764721772385904.key) [2021-01-12T21:05:10.409Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-12T21:05:10.742Z] + git semver tag [2021-01-12T21:05:10.742Z] # -> Open(): unable to determine branch for HEAD [2021-01-12T21:05:10.742Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-12T21:05:10.742Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-12T21:05:10.743Z] # $SEMVER_REMOTE_NAME = origin [2021-01-12T21:05:10.743Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-12T21:05:10.743Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-12T21:05:10.743Z] # $SEMVER_BRANCH = master [2021-01-12T21:05:10.743Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-12T21:05:10.743Z] # 1f15288997641a3d0d3a625c9b3944aa45f594eb HEAD [2021-01-12T21:05:10.743Z] # -> Force: false [2021-01-12T21:05:11.005Z] # 6bfe928a47987e6143012acaf5b410395795bd10 refs/tags/v1.4.1-dev.6 [Pipeline] } [2021-01-12T21:05:11.018Z] $ docker exec --env ******** --env ******** 871a706df81ae9839cdc578f5a37db8dd5e24a5a67c3cc15b068db210c425ba3 ssh-agent -k [2021-01-12T21:05:11.138Z] unset SSH_AUTH_SOCK; [2021-01-12T21:05:11.138Z] unset SSH_AGENT_PID; [2021-01-12T21:05:11.139Z] echo Agent pid 17 killed; [2021-01-12T21:05:11.193Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-12T21:05:11.677Z] + git semver [Pipeline] } [2021-01-12T21:05:11.694Z] $ docker stop --time=1 871a706df81ae9839cdc578f5a37db8dd5e24a5a67c3cc15b068db210c425ba3 [2021-01-12T21:05:13.111Z] $ docker rm -f 871a706df81ae9839cdc578f5a37db8dd5e24a5a67c3cc15b068db210c425ba3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:05:13.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-12T21:05:13.981Z] [2021-01-12T21:05:13.981Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:05:14.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-12T21:05:14.392Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-12T21:05:14.392Z] ab5ef0e58194: Pulling fs layer [2021-01-12T21:05:14.392Z] 9712f1f96733: Pulling fs layer [2021-01-12T21:05:14.392Z] 63f879dbbcfc: Pulling fs layer [2021-01-12T21:05:14.392Z] 0d9ebad4ef96: Pulling fs layer [2021-01-12T21:05:14.392Z] e9a5061849ea: Pulling fs layer [2021-01-12T21:05:14.392Z] d747dcd14b5f: Pulling fs layer [2021-01-12T21:05:14.392Z] 2de7ff778b66: Pulling fs layer [2021-01-12T21:05:14.392Z] e9a5061849ea: Waiting [2021-01-12T21:05:14.392Z] d747dcd14b5f: Waiting [2021-01-12T21:05:14.392Z] 2de7ff778b66: Waiting [2021-01-12T21:05:14.392Z] 0d9ebad4ef96: Waiting [2021-01-12T21:05:14.392Z] 9712f1f96733: Verifying Checksum [2021-01-12T21:05:14.392Z] 9712f1f96733: Download complete [2021-01-12T21:05:16.357Z] 63f879dbbcfc: Verifying Checksum [2021-01-12T21:05:16.357Z] 63f879dbbcfc: Download complete [2021-01-12T21:05:16.357Z] e9a5061849ea: Verifying Checksum [2021-01-12T21:05:16.357Z] e9a5061849ea: Download complete [2021-01-12T21:05:16.357Z] d747dcd14b5f: Verifying Checksum [2021-01-12T21:05:16.357Z] d747dcd14b5f: Download complete [2021-01-12T21:05:16.620Z] 2de7ff778b66: Verifying Checksum [2021-01-12T21:05:16.620Z] 2de7ff778b66: Download complete [2021-01-12T21:05:16.620Z] 0d9ebad4ef96: Verifying Checksum [2021-01-12T21:05:16.620Z] 0d9ebad4ef96: Download complete [2021-01-12T21:05:16.889Z] ab5ef0e58194: Verifying Checksum [2021-01-12T21:05:16.889Z] ab5ef0e58194: Download complete [2021-01-12T21:05:21.132Z] ab5ef0e58194: Pull complete [2021-01-12T21:05:21.132Z] 9712f1f96733: Pull complete [2021-01-12T21:05:23.688Z] 63f879dbbcfc: Pull complete [2021-01-12T21:05:30.302Z] 0d9ebad4ef96: Pull complete [2021-01-12T21:05:30.878Z] e9a5061849ea: Pull complete [2021-01-12T21:05:30.878Z] d747dcd14b5f: Pull complete [2021-01-12T21:05:33.443Z] 2de7ff778b66: Pull complete [2021-01-12T21:05:33.443Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-12T21:05:33.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-12T21:05:33.443Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-12T21:05:33.619Z] prd-centos7-docker-4c-2g-19806 does not seem to be running inside a container [2021-01-12T21:05:33.668Z] $ 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-12T21:05:37.658Z] $ docker top 4bd5f9382b6b4a2db68e93cda5f66a46d381cc3e8eac55ab0e4addac206caf6e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-12T21:05:37.905Z] provisioning config files... [2021-01-12T21:05:37.922Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2647574093799274080tmp [2021-01-12T21:05:37.940Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5090678766678741509tmp [2021-01-12T21:05:37.955Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6565916143862405833tmp [Pipeline] { [Pipeline] echo [2021-01-12T21:05:38.034Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T21:05:38.335Z] ---> sigul-configuration.sh [2021-01-12T21:05:38.335Z] gpg: directory `/root/.gnupg' created [2021-01-12T21:05:38.335Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-12T21:05:38.335Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-12T21:05:38.335Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-12T21:05:38.335Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-12T21:05:38.335Z] gpg: CAST5 encrypted data [2021-01-12T21:05:38.598Z] gpg: encrypted with 1 passphrase [2021-01-12T21:05:38.598Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-12T21:05:38.900Z] + mkdir /home/jenkins [2021-01-12T21:05:38.900Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-12T21:05:39.202Z] + 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-12T21:05:39.213Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T21:05:39.513Z] ---> sigul-install.sh [2021-01-12T21:05:46.122Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-12T21:05:46.425Z] + git tag --list [2021-01-12T21:05:46.426Z] 0.7.1 [2021-01-12T21:05:46.426Z] delhi-tag [2021-01-12T21:05:46.426Z] v1.0.0 [2021-01-12T21:05:46.426Z] v1.1.0 [2021-01-12T21:05:46.426Z] v1.1.1 [2021-01-12T21:05:46.426Z] v1.1.2 [2021-01-12T21:05:46.426Z] v1.2.0 [2021-01-12T21:05:46.426Z] v1.2.1 [2021-01-12T21:05:46.426Z] v1.2.2 [2021-01-12T21:05:46.426Z] v1.2.3 [2021-01-12T21:05:46.426Z] v1.2.4-dev.1 [2021-01-12T21:05:46.426Z] v1.2.4-dev.10 [2021-01-12T21:05:46.426Z] v1.2.4-dev.11 [2021-01-12T21:05:46.426Z] v1.2.4-dev.12 [2021-01-12T21:05:46.426Z] v1.2.4-dev.13 [2021-01-12T21:05:46.426Z] v1.2.4-dev.14 [2021-01-12T21:05:46.426Z] v1.2.4-dev.15 [2021-01-12T21:05:46.426Z] v1.2.4-dev.16 [2021-01-12T21:05:46.426Z] v1.2.4-dev.17 [2021-01-12T21:05:46.426Z] v1.2.4-dev.18 [2021-01-12T21:05:46.426Z] v1.2.4-dev.19 [2021-01-12T21:05:46.426Z] v1.2.4-dev.2 [2021-01-12T21:05:46.426Z] v1.2.4-dev.20 [2021-01-12T21:05:46.426Z] v1.2.4-dev.21 [2021-01-12T21:05:46.426Z] v1.2.4-dev.22 [2021-01-12T21:05:46.426Z] v1.2.4-dev.23 [2021-01-12T21:05:46.426Z] v1.2.4-dev.24 [2021-01-12T21:05:46.426Z] v1.2.4-dev.25 [2021-01-12T21:05:46.426Z] v1.2.4-dev.26 [2021-01-12T21:05:46.426Z] v1.2.4-dev.27 [2021-01-12T21:05:46.426Z] v1.2.4-dev.28 [2021-01-12T21:05:46.426Z] v1.2.4-dev.29 [2021-01-12T21:05:46.426Z] v1.2.4-dev.3 [2021-01-12T21:05:46.426Z] v1.2.4-dev.30 [2021-01-12T21:05:46.426Z] v1.2.4-dev.31 [2021-01-12T21:05:46.426Z] v1.2.4-dev.32 [2021-01-12T21:05:46.426Z] v1.2.4-dev.33 [2021-01-12T21:05:46.426Z] v1.2.4-dev.34 [2021-01-12T21:05:46.426Z] v1.2.4-dev.35 [2021-01-12T21:05:46.426Z] v1.2.4-dev.4 [2021-01-12T21:05:46.426Z] v1.2.4-dev.5 [2021-01-12T21:05:46.426Z] v1.2.4-dev.6 [2021-01-12T21:05:46.426Z] v1.2.4-dev.7 [2021-01-12T21:05:46.426Z] v1.2.4-dev.8 [2021-01-12T21:05:46.426Z] v1.2.4-dev.9 [2021-01-12T21:05:46.426Z] v1.3.0 [2021-01-12T21:05:46.426Z] v1.3.1-dev.1 [2021-01-12T21:05:46.426Z] v1.3.1-dev.10 [2021-01-12T21:05:46.426Z] v1.3.1-dev.2 [2021-01-12T21:05:46.426Z] v1.3.1-dev.3 [2021-01-12T21:05:46.426Z] v1.3.1-dev.4 [2021-01-12T21:05:46.426Z] v1.3.1-dev.5 [2021-01-12T21:05:46.426Z] v1.3.1-dev.6 [2021-01-12T21:05:46.426Z] v1.3.1-dev.7 [2021-01-12T21:05:46.426Z] v1.3.1-dev.8 [2021-01-12T21:05:46.426Z] v1.3.1-dev.9 [2021-01-12T21:05:46.426Z] v1.4.0 [2021-01-12T21:05:46.426Z] v1.4.1-dev.1 [2021-01-12T21:05:46.426Z] v1.4.1-dev.2 [2021-01-12T21:05:46.426Z] v1.4.1-dev.3 [2021-01-12T21:05:46.426Z] v1.4.1-dev.4 [2021-01-12T21:05:46.426Z] v1.4.1-dev.5 [2021-01-12T21:05:46.426Z] v1.4.1-dev.6 [Pipeline] sh [2021-01-12T21:05:46.730Z] + lftools sign git-tag v1.4.1-dev.6 [2021-01-12T21:05:48.123Z] Signing Git tag with Sigul... [2021-01-12T21:05:48.123Z] Signing v1.4.1-dev.6 [Pipeline] echo [2021-01-12T21:05:49.080Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T21:05:49.379Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-12T21:05:49.388Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-12T21:05:49.488Z] $ docker stop --time=1 4bd5f9382b6b4a2db68e93cda5f66a46d381cc3e8eac55ab0e4addac206caf6e [2021-01-12T21:05:51.352Z] $ docker rm -f 4bd5f9382b6b4a2db68e93cda5f66a46d381cc3e8eac55ab0e4addac206caf6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:05:52.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T21:05:52.281Z] . [Pipeline] withDockerContainer [2021-01-12T21:05:52.378Z] prd-centos7-docker-4c-2g-19806 does not seem to be running inside a container [2021-01-12T21:05:52.428Z] $ 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-12T21:05:53.146Z] $ docker top 5b562e0529da9dd34c7213778b122b2c2cc219c719e35810bfd51b8abba39c0f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-12T21:05:53.516Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-12T21:05:53.517Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-12T21:05:53.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-12T21:05:53.724Z] $ docker exec 5b562e0529da9dd34c7213778b122b2c2cc219c719e35810bfd51b8abba39c0f ssh-agent [2021-01-12T21:05:53.897Z] SSH_AUTH_SOCK=/tmp/ssh-lhw3bgb6qTO3/agent.13 [2021-01-12T21:05:53.897Z] SSH_AGENT_PID=18 [2021-01-12T21:05:53.904Z] Running ssh-add (command line suppressed) [2021-01-12T21:05:54.031Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5786361736269981275.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5786361736269981275.key) [2021-01-12T21:05:54.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-12T21:05:54.427Z] + git semver bump pre [2021-01-12T21:05:54.427Z] # -> Open(): unable to determine branch for HEAD [2021-01-12T21:05:54.427Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-12T21:05:54.427Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-12T21:05:54.427Z] # $SEMVER_REMOTE_NAME = origin [2021-01-12T21:05:54.427Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-12T21:05:54.427Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-12T21:05:54.427Z] # $SEMVER_BRANCH = master [2021-01-12T21:05:54.427Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-12T21:05:54.427Z] 1.4.1-dev.7 [Pipeline] } [2021-01-12T21:05:54.440Z] $ docker exec --env ******** --env ******** 5b562e0529da9dd34c7213778b122b2c2cc219c719e35810bfd51b8abba39c0f ssh-agent -k [2021-01-12T21:05:54.564Z] unset SSH_AUTH_SOCK; [2021-01-12T21:05:54.565Z] unset SSH_AGENT_PID; [2021-01-12T21:05:54.565Z] echo Agent pid 18 killed; [2021-01-12T21:05:54.615Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-12T21:05:55.094Z] + git semver [Pipeline] } [2021-01-12T21:05:55.111Z] $ docker stop --time=1 5b562e0529da9dd34c7213778b122b2c2cc219c719e35810bfd51b8abba39c0f [2021-01-12T21:05:56.454Z] $ docker rm -f 5b562e0529da9dd34c7213778b122b2c2cc219c719e35810bfd51b8abba39c0f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:05:56.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T21:05:56.990Z] . [Pipeline] withDockerContainer [2021-01-12T21:05:57.088Z] prd-centos7-docker-4c-2g-19806 does not seem to be running inside a container [2021-01-12T21:05:57.132Z] $ 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-12T21:05:57.821Z] $ docker top 316e02499937722a5e50493b45ee8b2c3cecb1aba31803f0d40656744900869b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-12T21:05:58.169Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-12T21:05:58.169Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-12T21:05:58.369Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-12T21:05:58.373Z] $ docker exec 316e02499937722a5e50493b45ee8b2c3cecb1aba31803f0d40656744900869b ssh-agent [2021-01-12T21:05:58.546Z] SSH_AUTH_SOCK=/tmp/ssh-ZXiDjfv6d0gQ/agent.11 [2021-01-12T21:05:58.546Z] SSH_AGENT_PID=16 [2021-01-12T21:05:58.554Z] Running ssh-add (command line suppressed) [2021-01-12T21:05:58.676Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_327406301130958952.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_327406301130958952.key) [2021-01-12T21:05:58.732Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-12T21:05:59.070Z] + git semver push [2021-01-12T21:05:59.070Z] # -> Open(): unable to determine branch for HEAD [2021-01-12T21:05:59.070Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-12T21:05:59.070Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-12T21:05:59.070Z] # $SEMVER_REMOTE_NAME = origin [2021-01-12T21:05:59.070Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-12T21:05:59.070Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-12T21:05:59.070Z] # $SEMVER_BRANCH = master [2021-01-12T21:05:59.070Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-12T21:06:07.257Z] $ docker exec --env ******** --env ******** 316e02499937722a5e50493b45ee8b2c3cecb1aba31803f0d40656744900869b ssh-agent -k [2021-01-12T21:06:07.447Z] unset SSH_AUTH_SOCK; [2021-01-12T21:06:07.447Z] unset SSH_AGENT_PID; [2021-01-12T21:06:07.447Z] echo Agent pid 16 killed; [2021-01-12T21:06:07.534Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-12T21:06:08.053Z] + git semver [Pipeline] } [2021-01-12T21:06:08.071Z] $ docker stop --time=1 316e02499937722a5e50493b45ee8b2c3cecb1aba31803f0d40656744900869b [2021-01-12T21:06:09.470Z] $ docker rm -f 316e02499937722a5e50493b45ee8b2c3cecb1aba31803f0d40656744900869b [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-12T21:06:11.132Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T21:06:11.767Z] ---> package-listing.sh [2021-01-12T21:06:11.767Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-12T21:06:11.767Z] ++ facter osfamily [2021-01-12T21:06:11.767Z] + OS_FAMILY=redhat [2021-01-12T21:06:11.767Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-01-12T21:06:11.767Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-12T21:06:11.767Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-12T21:06:11.767Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-12T21:06:11.767Z] + PACKAGES=/tmp/packages_start.txt [2021-01-12T21:06:11.767Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-12T21:06:11.767Z] + PACKAGES=/tmp/packages_end.txt [2021-01-12T21:06:11.767Z] + case "${OS_FAMILY}" in [2021-01-12T21:06:11.767Z] + rpm -qa [2021-01-12T21:06:11.767Z] + sort [2021-01-12T21:06:17.085Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-12T21:06:17.085Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-12T21:06:17.085Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-12T21:06:17.085Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-12T21:06:17.085Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-01-12T21:06:17.085Z] + 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-12T21:06:17.099Z] 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-12T21:06:17.390Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:06:17.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-12T21:06:17.694Z] [2021-01-12T21:06:17.694Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-12T21:06:18.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-12T21:06:18.089Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-12T21:06:18.089Z] df20fa9351a1: Pulling fs layer [2021-01-12T21:06:18.089Z] 36b3adc4ff6f: Pulling fs layer [2021-01-12T21:06:18.089Z] 8ad3a11d3b57: Pulling fs layer [2021-01-12T21:06:18.089Z] 46f8f816bc3b: Pulling fs layer [2021-01-12T21:06:18.089Z] 93b61091891f: Pulling fs layer [2021-01-12T21:06:18.089Z] 93b9cdb0e59b: Pulling fs layer [2021-01-12T21:06:18.089Z] 5e14af77c1be: Pulling fs layer [2021-01-12T21:06:18.089Z] 01666e4c0597: Pulling fs layer [2021-01-12T21:06:18.089Z] aa168da1d23b: Pulling fs layer [2021-01-12T21:06:18.089Z] 93b9cdb0e59b: Waiting [2021-01-12T21:06:18.089Z] 5e14af77c1be: Waiting [2021-01-12T21:06:18.089Z] 01666e4c0597: Waiting [2021-01-12T21:06:18.089Z] aa168da1d23b: Waiting [2021-01-12T21:06:18.089Z] 46f8f816bc3b: Waiting [2021-01-12T21:06:18.089Z] 93b61091891f: Waiting [2021-01-12T21:06:18.089Z] 36b3adc4ff6f: Verifying Checksum [2021-01-12T21:06:18.089Z] 36b3adc4ff6f: Download complete [2021-01-12T21:06:18.089Z] 46f8f816bc3b: Verifying Checksum [2021-01-12T21:06:18.089Z] 46f8f816bc3b: Download complete [2021-01-12T21:06:18.089Z] df20fa9351a1: Download complete [2021-01-12T21:06:18.351Z] 93b9cdb0e59b: Verifying Checksum [2021-01-12T21:06:18.351Z] 93b9cdb0e59b: Download complete [2021-01-12T21:06:18.351Z] 5e14af77c1be: Verifying Checksum [2021-01-12T21:06:18.351Z] 5e14af77c1be: Download complete [2021-01-12T21:06:18.351Z] 93b61091891f: Verifying Checksum [2021-01-12T21:06:18.351Z] 93b61091891f: Download complete [2021-01-12T21:06:18.351Z] 01666e4c0597: Verifying Checksum [2021-01-12T21:06:18.351Z] 01666e4c0597: Download complete [2021-01-12T21:06:18.351Z] 8ad3a11d3b57: Verifying Checksum [2021-01-12T21:06:18.351Z] 8ad3a11d3b57: Download complete [2021-01-12T21:06:18.613Z] df20fa9351a1: Pull complete [2021-01-12T21:06:18.877Z] 36b3adc4ff6f: Pull complete [2021-01-12T21:06:20.281Z] 8ad3a11d3b57: Pull complete [2021-01-12T21:06:20.281Z] aa168da1d23b: Verifying Checksum [2021-01-12T21:06:20.281Z] aa168da1d23b: Download complete [2021-01-12T21:06:20.856Z] 46f8f816bc3b: Pull complete [2021-01-12T21:06:21.118Z] 93b61091891f: Pull complete [2021-01-12T21:06:21.381Z] 93b9cdb0e59b: Pull complete [2021-01-12T21:06:21.381Z] 5e14af77c1be: Pull complete [2021-01-12T21:06:21.648Z] 01666e4c0597: Pull complete [2021-01-12T21:06:29.823Z] aa168da1d23b: Pull complete [2021-01-12T21:06:29.823Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-12T21:06:29.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-12T21:06:29.823Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-12T21:06:30.009Z] prd-centos7-docker-4c-2g-19806 does not seem to be running inside a container [2021-01-12T21:06:30.058Z] $ 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-12T21:06:32.915Z] $ docker top 46ab7cb733b055ba2d42a1b1547dbe7134fdb248ba55d6a7c89fcdb9a6a74bbe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T21:06:33.467Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-12T21:06:33.769Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-12T21:06:34.070Z] + ls /var/log/sa-host [2021-01-12T21:06:34.070Z] + sadf -c /var/log/sa-host/sa12 [2021-01-12T21:06:34.070Z] file_magic: OK [2021-01-12T21:06:34.070Z] HZ: Using current value: 100 [2021-01-12T21:06:34.070Z] file_header: OK [2021-01-12T21:06:34.070Z] 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-12T21:06:34.070Z] Statistics: [2021-01-12T21:06:34.070Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-12T21:06:34.070Z] File successfully converted to sysstat format version 12.2.1 [2021-01-12T21:06:34.070Z] + sadf -c /var/log/sa-host/sa23 [2021-01-12T21:06:34.070Z] file_magic: OK [2021-01-12T21:06:34.070Z] HZ: Using current value: 100 [2021-01-12T21:06:34.070Z] file_header: OK [2021-01-12T21:06:34.070Z] 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-12T21:06:34.070Z] Statistics: [2021-01-12T21:06:34.070Z] Hnuu...uuuununununu... [2021-01-12T21:06:34.070Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-12T21:06:34.274Z] provisioning config files... [2021-01-12T21:06:34.289Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1204888418735259206tmp [Pipeline] { [Pipeline] echo [2021-01-12T21:06:34.360Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T21:06:34.660Z] ---> create-netrc.sh [Pipeline] } [2021-01-12T21:06:34.669Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-12T21:06:34.759Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T21:06:35.054Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-12T21:06:35.065Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T21:06:35.363Z] ---> sudo-logs.sh [2021-01-12T21:06:35.363Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-12T21:06:35.376Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T21:06:35.672Z] ---> job-cost.sh [2021-01-12T21:06:35.672Z] lf-activate-venv: SKIPPING [2021-01-12T21:06:35.672Z] INFO: No Stack... [2021-01-12T21:06:36.617Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-12T21:06:37.192Z] INFO: Archiving Costs [Pipeline] echo [2021-01-12T21:06:37.206Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T21:06:37.503Z] ---> logs-deploy.sh [2021-01-12T21:06:37.504Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/104 [2021-01-12T21:06:37.504Z] INFO: archiving workspace using pattern(s): [2021-01-12T21:06:38.897Z] Archives upload complete. [2021-01-12T21:06:39.159Z] INFO: archiving logs to Nexus [2021-01-12T21:06:40.106Z] ---> uname -a: [2021-01-12T21:06:40.106Z] Linux prd-centos7-docker-4c-2g-19806.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-01-12T21:06:40.106Z] [2021-01-12T21:06:40.106Z] [2021-01-12T21:06:40.106Z] ---> lscpu: [2021-01-12T21:06:40.106Z] Architecture: x86_64 [2021-01-12T21:06:40.106Z] CPU op-mode(s): 32-bit, 64-bit [2021-01-12T21:06:40.106Z] Byte Order: Little Endian [2021-01-12T21:06:40.106Z] Address sizes: 40 bits physical, 48 bits virtual [2021-01-12T21:06:40.106Z] CPU(s): 4 [2021-01-12T21:06:40.106Z] On-line CPU(s) list: 0-3 [2021-01-12T21:06:40.106Z] Thread(s) per core: 1 [2021-01-12T21:06:40.106Z] Core(s) per socket: 1 [2021-01-12T21:06:40.106Z] Socket(s): 4 [2021-01-12T21:06:40.106Z] NUMA node(s): 1 [2021-01-12T21:06:40.106Z] Vendor ID: GenuineIntel [2021-01-12T21:06:40.106Z] CPU family: 6 [2021-01-12T21:06:40.106Z] Model: 44 [2021-01-12T21:06:40.106Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-01-12T21:06:40.106Z] Stepping: 1 [2021-01-12T21:06:40.106Z] CPU MHz: 2933.438 [2021-01-12T21:06:40.106Z] BogoMIPS: 5866.87 [2021-01-12T21:06:40.106Z] Virtualization: VT-x [2021-01-12T21:06:40.106Z] Hypervisor vendor: KVM [2021-01-12T21:06:40.106Z] Virtualization type: full [2021-01-12T21:06:40.106Z] L1d cache: 128 KiB [2021-01-12T21:06:40.106Z] L1i cache: 128 KiB [2021-01-12T21:06:40.106Z] L2 cache: 16 MiB [2021-01-12T21:06:40.106Z] L3 cache: 64 MiB [2021-01-12T21:06:40.106Z] NUMA node0 CPU(s): 0-3 [2021-01-12T21:06:40.106Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-01-12T21:06:40.106Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-01-12T21:06:40.106Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-01-12T21:06:40.106Z] Vulnerability Meltdown: Mitigation; PTI [2021-01-12T21:06:40.106Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-01-12T21:06:40.106Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-01-12T21:06:40.106Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-01-12T21:06:40.106Z] Vulnerability Srbds: Not affected [2021-01-12T21:06:40.106Z] Vulnerability Tsx async abort: Not affected [2021-01-12T21:06:40.106Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-01-12T21:06:40.106Z] [2021-01-12T21:06:40.106Z] [2021-01-12T21:06:40.106Z] ---> nproc: [2021-01-12T21:06:40.106Z] 4 [2021-01-12T21:06:40.106Z] [2021-01-12T21:06:40.106Z] [2021-01-12T21:06:40.106Z] ---> df -h: [2021-01-12T21:06:40.106Z] Filesystem Size Used Available Use% Mounted on [2021-01-12T21:06:40.106Z] overlay 50.0G 8.5G 41.4G 17% / [2021-01-12T21:06:40.106Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-01-12T21:06:40.106Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-01-12T21:06:40.106Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-01-12T21:06:40.106Z] /dev/vda1 50.0G 8.5G 41.4G 17% /facter-os [2021-01-12T21:06:40.106Z] /dev/vda1 50.0G 8.5G 41.4G 17% /etc/resolv.conf [2021-01-12T21:06:40.106Z] /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hostname [2021-01-12T21:06:40.106Z] /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hosts [2021-01-12T21:06:40.106Z] /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/dgexfoundry_device-sdk-go_master@tmp [2021-01-12T21:06:40.106Z] /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/sa-host [2021-01-12T21:06:40.106Z] /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/secure [2021-01-12T21:06:40.106Z] /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/auth.log [2021-01-12T21:06:40.106Z] /dev/vda1 50.0G 8.5G 41.4G 17% /run/cloud-init/result.json [2021-01-12T21:06:40.106Z] /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-12T21:06:40.106Z] [2021-01-12T21:06:40.106Z] [2021-01-12T21:06:40.106Z] ---> free -m: [2021-01-12T21:06:40.106Z] total used free shared buff/cache available [2021-01-12T21:06:40.106Z] Mem: 1837 819 147 0 870 952 [2021-01-12T21:06:40.106Z] Swap: 1023 2 1021 [2021-01-12T21:06:40.106Z] [2021-01-12T21:06:40.106Z]