Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 42e5a1ea61e0adb23423a933a3224d1395f33e87 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-17510 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 42e5a1ea61e0adb23423a933a3224d1395f33e87 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 Commit message: "Merge pull request #696 from lenny-intel/remove-remote-logger" > git rev-list --no-walk 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-28T15:21:55.772Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-28T15:21:56.072Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-28T15:21:56.182Z] ========================================================= [2020-12-28T15:21:56.182Z] EdgeX Global Pipelines Version Info [2020-12-28T15:21:56.182Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:21:57.684Z] ------------------- [2020-12-28T15:21:57.684Z] stable info: [2020-12-28T15:21:57.684Z] ------------------- [2020-12-28T15:21:57.684Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-28T15:21:57.684Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-28T15:21:57.684Z] Message: update stable to v1.0.173 [2020-12-28T15:21:58.634Z] ------------------- [2020-12-28T15:21:58.634Z] experimental info: [2020-12-28T15:21:58.634Z] ------------------- [2020-12-28T15:21:58.634Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-28T15:21:58.634Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-28T15:21:58.634Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-28T15:21:58.941Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-28T15:21:59.044Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-28T15:21:59.158Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-28T15:21:59.262Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-28T15:21:59.378Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-28T15:21:59.479Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-28T15:21:59.579Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-28T15:21:59.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-28T15:21:59.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-28T15:21:59.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-28T15:21:59.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-28T15:22:00.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-28T15:22:00.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-28T15:22:00.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-28T15:22:00.531Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-28T15:22:00.637Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-28T15:22:00.781Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-28T15:22:00.893Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-28T15:22:01.020Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-28T15:22:01.119Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-28T15:22:01.227Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-28T15:22:01.347Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-28T15:22:01.473Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-28T15:22:01.575Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-28T15:22:01.733Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-28T15:22:01.837Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-28T15:22:01.936Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-28T15:22:02.069Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-12-28T15:22:02.170Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-12-28T15:22:02.290Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-12-28T15:22:02.392Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 42e5a1ea61e0adb23423a933a3224d1395f33e87 [Pipeline] echo [2020-12-28T15:22:02.511Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 42e5a1e [Pipeline] echo [2020-12-28T15:22:02.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-28T15:22:02.848Z] provisioning config files... [2020-12-28T15:22:02.880Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4356493525727563599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:22:03.258Z] ---> docker-login.sh [2020-12-28T15:22:03.258Z] nexus3.edgexfoundry.org:10001 [2020-12-28T15:22:03.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:22:03.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:22:03.789Z] Configure a credential helper to remove this warning. See [2020-12-28T15:22:03.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:22:03.789Z] [2020-12-28T15:22:03.789Z] Login Succeeded [2020-12-28T15:22:03.789Z] nexus3.edgexfoundry.org:10002 [2020-12-28T15:22:03.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:22:03.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:22:03.789Z] Configure a credential helper to remove this warning. See [2020-12-28T15:22:03.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:22:03.789Z] [2020-12-28T15:22:03.789Z] Login Succeeded [2020-12-28T15:22:03.789Z] nexus3.edgexfoundry.org:10003 [2020-12-28T15:22:04.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:22:04.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:22:04.052Z] Configure a credential helper to remove this warning. See [2020-12-28T15:22:04.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:22:04.052Z] [2020-12-28T15:22:04.052Z] Login Succeeded [2020-12-28T15:22:04.052Z] nexus3.edgexfoundry.org:10004 [2020-12-28T15:22:04.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:22:04.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:22:04.314Z] Configure a credential helper to remove this warning. See [2020-12-28T15:22:04.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:22:04.314Z] [2020-12-28T15:22:04.314Z] Login Succeeded [2020-12-28T15:22:04.314Z] docker.io [2020-12-28T15:22:04.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:22:04.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:22:04.578Z] Configure a credential helper to remove this warning. See [2020-12-28T15:22:04.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:22:04.578Z] [2020-12-28T15:22:04.578Z] Login Succeeded [2020-12-28T15:22:04.578Z] ---> docker-login.sh ends [Pipeline] } [2020-12-28T15:22:04.589Z] 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 [2020-12-28T15:22:05.511Z] + git log --format=format:%s -1 42e5a1ea61e0adb23423a933a3224d1395f33e87 [Pipeline] echo [2020-12-28T15:22:05.579Z] GIT_COMMIT: 42e5a1ea61e0adb23423a933a3224d1395f33e87, Commit Message: Merge pull request #696 from lenny-intel/remove-remote-logger [Pipeline] echo [2020-12-28T15:22:05.633Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:22:06.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-28T15:22:06.605Z] [2020-12-28T15:22:06.605Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:22:06.949Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-28T15:22:06.949Z] latest: Pulling from edgex-devops/git-semver [2020-12-28T15:22:06.949Z] 31603596830f: Pulling fs layer [2020-12-28T15:22:06.949Z] 2a8b12db71e7: Pulling fs layer [2020-12-28T15:22:06.949Z] 6ca5941a6612: Pulling fs layer [2020-12-28T15:22:06.949Z] ecc8261a40a4: Pulling fs layer [2020-12-28T15:22:06.949Z] ecc8261a40a4: Waiting [2020-12-28T15:22:06.949Z] 2a8b12db71e7: Verifying Checksum [2020-12-28T15:22:06.949Z] 2a8b12db71e7: Download complete [2020-12-28T15:22:07.213Z] 31603596830f: Verifying Checksum [2020-12-28T15:22:07.213Z] 31603596830f: Download complete [2020-12-28T15:22:07.213Z] ecc8261a40a4: Verifying Checksum [2020-12-28T15:22:07.213Z] ecc8261a40a4: Download complete [2020-12-28T15:22:07.213Z] 6ca5941a6612: Verifying Checksum [2020-12-28T15:22:07.213Z] 6ca5941a6612: Download complete [2020-12-28T15:22:07.476Z] 31603596830f: Pull complete [2020-12-28T15:22:07.476Z] 2a8b12db71e7: Pull complete [2020-12-28T15:22:08.424Z] 6ca5941a6612: Pull complete [2020-12-28T15:22:08.686Z] ecc8261a40a4: Pull complete [2020-12-28T15:22:08.686Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-28T15:22:08.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-28T15:22:08.686Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-28T15:22:08.832Z] prd-centos7-docker-4c-2g-17510 does not seem to be running inside a container [2020-12-28T15:22:08.906Z] $ 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 [2020-12-28T15:22:11.413Z] $ docker top a841b8b61bba9419820ce389046e957b0fd63c7bd58bf1fcff44538d7640e285 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-28T15:22:11.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-28T15:22:11.730Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-28T15:22:11.943Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-28T15:22:11.951Z] $ docker exec a841b8b61bba9419820ce389046e957b0fd63c7bd58bf1fcff44538d7640e285 ssh-agent [2020-12-28T15:22:12.111Z] SSH_AUTH_SOCK=/tmp/ssh-4G3XigvRq1uq/agent.11 [2020-12-28T15:22:12.111Z] SSH_AGENT_PID=16 [2020-12-28T15:22:12.119Z] Running ssh-add (command line suppressed) [2020-12-28T15:22:12.240Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6457701758432103192.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6457701758432103192.key) [2020-12-28T15:22:12.284Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-28T15:22:12.622Z] + git tag --points-at HEAD [Pipeline] } [2020-12-28T15:22:12.647Z] $ docker exec --env ******** --env ******** a841b8b61bba9419820ce389046e957b0fd63c7bd58bf1fcff44538d7640e285 ssh-agent -k [2020-12-28T15:22:12.765Z] unset SSH_AUTH_SOCK; [2020-12-28T15:22:12.766Z] unset SSH_AGENT_PID; [2020-12-28T15:22:12.766Z] echo Agent pid 16 killed; [2020-12-28T15:22:12.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-28T15:22:12.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-28T15:22:12.961Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-28T15:22:13.128Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-28T15:22:13.134Z] $ docker exec a841b8b61bba9419820ce389046e957b0fd63c7bd58bf1fcff44538d7640e285 ssh-agent [2020-12-28T15:22:13.290Z] SSH_AUTH_SOCK=/tmp/ssh-KXOTkVc3zsTn/agent.44 [2020-12-28T15:22:13.290Z] SSH_AGENT_PID=49 [2020-12-28T15:22:13.297Z] Running ssh-add (command line suppressed) [2020-12-28T15:22:13.414Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2131832897395559432.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2131832897395559432.key) [2020-12-28T15:22:13.462Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-28T15:22:13.919Z] + git semver init [2020-12-28T15:22:13.919Z] # -> Open(): unable to determine branch for HEAD [2020-12-28T15:22:13.919Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-28T15:22:13.919Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-28T15:22:13.919Z] # $SEMVER_REMOTE_NAME = origin [2020-12-28T15:22:13.919Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-28T15:22:13.919Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-28T15:22:13.919Z] # $SEMVER_BRANCH = master [2020-12-28T15:22:13.919Z] # $SEMVER_TEMP = /tmp/semver-096053494 [2020-12-28T15:22:13.919Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-28T15:22:14.871Z] # '/tmp/semver-096053494' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-12-28T15:22:14.871Z] # -> Force: false [2020-12-28T15:22:14.871Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-12-28T15:22:14.887Z] $ docker exec --env ******** --env ******** a841b8b61bba9419820ce389046e957b0fd63c7bd58bf1fcff44538d7640e285 ssh-agent -k [2020-12-28T15:22:15.002Z] unset SSH_AUTH_SOCK; [2020-12-28T15:22:15.003Z] unset SSH_AGENT_PID; [2020-12-28T15:22:15.004Z] echo Agent pid 49 killed; [2020-12-28T15:22:15.046Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-28T15:22:15.525Z] + git semver [Pipeline] } [2020-12-28T15:22:15.545Z] $ docker stop --time=1 a841b8b61bba9419820ce389046e957b0fd63c7bd58bf1fcff44538d7640e285 [2020-12-28T15:22:17.056Z] $ docker rm -f a841b8b61bba9419820ce389046e957b0fd63c7bd58bf1fcff44538d7640e285 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-28T15:22:17.539Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-28T15:22:17.968Z] Stashed 1 file(s) [Pipeline] echo [2020-12-28T15:22:17.972Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.12 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-28T15:22:33.491Z] Still waiting to schedule task [2020-12-28T15:22:33.492Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-28T15:22:33.495Z] Still waiting to schedule task [2020-12-28T15:22:33.496Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-28T15:24:20.255Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17511 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-12-28T15:24:20.324Z] Running in /w/workspace/device-sdk-go/99 [Pipeline] { [Pipeline] checkout [2020-12-28T15:24:25.111Z] using credential edgex-jenkins-ssh [2020-12-28T15:24:25.182Z] Cloning the remote Git repository [2020-12-28T15:24:25.235Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-28T15:24:25.359Z] > git init /w/workspace/device-sdk-go/99 # timeout=10 [2020-12-28T15:24:25.425Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-28T15:24:25.426Z] > git --version # timeout=10 [2020-12-28T15:24:25.448Z] > git --version # 'git version 2.17.1' [2020-12-28T15:24:25.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-28T15:24:25.531Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-28T15:24:26.525Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-28T15:24:26.543Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-28T15:24:26.569Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-28T15:24:27.057Z] Checking out Revision 42e5a1ea61e0adb23423a933a3224d1395f33e87 (master) [2020-12-28T15:24:26.603Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-28T15:24:26.604Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-28T15:24:26.615Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-28T15:24:27.074Z] > git config core.sparsecheckout # timeout=10 [2020-12-28T15:24:27.090Z] > git checkout -f 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [2020-12-28T15:24:31.539Z] Commit message: "Merge pull request #696 from lenny-intel/remove-remote-logger" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-28T15:24:33.158Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-28T15:24:33.582Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-28T15:24:33.974Z] + true [2020-12-28T15:24:33.974Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-28T15:24:36.018Z] provisioning config files... [2020-12-28T15:24:36.054Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/99@tmp/config9112518820974062226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:24:36.462Z] ---> docker-login.sh [2020-12-28T15:24:36.462Z] nexus3.edgexfoundry.org:10001 [2020-12-28T15:24:37.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:24:37.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:24:37.664Z] Configure a credential helper to remove this warning. See [2020-12-28T15:24:37.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:24:37.664Z] [2020-12-28T15:24:37.664Z] Login Succeeded [2020-12-28T15:24:37.664Z] nexus3.edgexfoundry.org:10002 [2020-12-28T15:24:37.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:24:38.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:24:38.217Z] Configure a credential helper to remove this warning. See [2020-12-28T15:24:38.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:24:38.217Z] [2020-12-28T15:24:38.217Z] Login Succeeded [2020-12-28T15:24:38.217Z] nexus3.edgexfoundry.org:10003 [2020-12-28T15:24:38.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:24:38.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:24:38.765Z] Configure a credential helper to remove this warning. See [2020-12-28T15:24:38.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:24:38.765Z] [2020-12-28T15:24:38.765Z] Login Succeeded [2020-12-28T15:24:38.765Z] nexus3.edgexfoundry.org:10004 [2020-12-28T15:24:39.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:24:39.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:24:39.313Z] Configure a credential helper to remove this warning. See [2020-12-28T15:24:39.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:24:39.313Z] [2020-12-28T15:24:39.313Z] Login Succeeded [2020-12-28T15:24:39.313Z] docker.io [2020-12-28T15:24:39.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:24:40.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:24:40.187Z] Configure a credential helper to remove this warning. See [2020-12-28T15:24:40.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:24:40.187Z] [2020-12-28T15:24:40.187Z] Login Succeeded [2020-12-28T15:24:40.187Z] ---> docker-login.sh ends [Pipeline] } [2020-12-28T15:24:40.204Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-28T15:24:40.738Z] ========================================================= [2020-12-28T15:24:40.738Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-28T15:24:40.738Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:24:41.139Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-28T15:24:41.742Z] Sending build context to Docker daemon 2.425MB [2020-12-28T15:24:41.742Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-28T15:24:41.742Z] Step 2/8 : FROM ${BASE} [2020-12-28T15:24:41.742Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-28T15:24:41.742Z] 5f621e34cdf4: Pulling fs layer [2020-12-28T15:24:41.742Z] a4357932f1b6: Pulling fs layer [2020-12-28T15:24:41.742Z] 18c013af1878: Pulling fs layer [2020-12-28T15:24:41.742Z] 00ac8860ef70: Pulling fs layer [2020-12-28T15:24:41.742Z] 63d7cb157983: Pulling fs layer [2020-12-28T15:24:41.742Z] b116817d02f9: Pulling fs layer [2020-12-28T15:24:41.742Z] 745a02a5169b: Pulling fs layer [2020-12-28T15:24:41.742Z] 00ac8860ef70: Waiting [2020-12-28T15:24:41.742Z] 63d7cb157983: Waiting [2020-12-28T15:24:41.742Z] 745a02a5169b: Waiting [2020-12-28T15:24:41.742Z] b116817d02f9: Waiting [2020-12-28T15:24:41.742Z] 18c013af1878: Download complete [2020-12-28T15:24:41.742Z] a4357932f1b6: Verifying Checksum [2020-12-28T15:24:41.742Z] a4357932f1b6: Download complete [2020-12-28T15:24:42.011Z] 63d7cb157983: Verifying Checksum [2020-12-28T15:24:42.011Z] 63d7cb157983: Download complete [2020-12-28T15:24:42.603Z] 5f621e34cdf4: Verifying Checksum [2020-12-28T15:24:42.603Z] 5f621e34cdf4: Download complete [2020-12-28T15:24:42.603Z] b116817d02f9: Download complete [2020-12-28T15:24:43.208Z] 5f621e34cdf4: Pull complete [2020-12-28T15:24:43.815Z] a4357932f1b6: Pull complete [2020-12-28T15:24:44.089Z] 18c013af1878: Pull complete [2020-12-28T15:24:44.363Z] 745a02a5169b: Verifying Checksum [2020-12-28T15:24:44.364Z] 745a02a5169b: Download complete [2020-12-28T15:24:46.353Z] 00ac8860ef70: Verifying Checksum [2020-12-28T15:24:46.353Z] 00ac8860ef70: Download complete [2020-12-28T15:24:52.276Z] Running on prd-centos7-docker-4c-2g-17512 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-12-28T15:24:52.382Z] Running in /w/workspace/device-sdk-go/99 [Pipeline] { [Pipeline] checkout [2020-12-28T15:24:54.788Z] using credential edgex-jenkins-ssh [2020-12-28T15:24:54.847Z] Cloning the remote Git repository [2020-12-28T15:24:54.683Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-28T15:24:54.757Z] > git init /w/workspace/device-sdk-go/99 # timeout=10 [2020-12-28T15:24:54.816Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-28T15:24:54.816Z] > git --version # timeout=10 [2020-12-28T15:24:54.824Z] > git --version # 'git version 2.24.3' [2020-12-28T15:24:54.825Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-28T15:24:54.855Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-28T15:24:55.600Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-28T15:24:56.165Z] Checking out Revision 42e5a1ea61e0adb23423a933a3224d1395f33e87 (master) [2020-12-28T15:24:56.583Z] 00ac8860ef70: Pull complete [2020-12-28T15:24:55.608Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-28T15:24:55.617Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-28T15:24:55.632Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-28T15:24:55.632Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-28T15:24:55.637Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-28T15:24:56.090Z] > git config core.sparsecheckout # timeout=10 [2020-12-28T15:24:56.097Z] > git checkout -f 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [2020-12-28T15:24:56.867Z] 63d7cb157983: Pull complete [2020-12-28T15:24:57.141Z] b116817d02f9: Pull complete [2020-12-28T15:24:59.851Z] Commit message: "Merge pull request #696 from lenny-intel/remove-remote-logger" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-28T15:25:01.085Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-28T15:25:01.413Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-28T15:25:01.488Z] 745a02a5169b: Pull complete [2020-12-28T15:25:01.488Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-28T15:25:01.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-28T15:25:01.488Z] ---> b7e6874047d6 [2020-12-28T15:25:01.488Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-28T15:25:01.727Z] + sudo service docker restart [2020-12-28T15:25:01.727Z] + true [2020-12-28T15:25:01.727Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-28T15:25:03.192Z] provisioning config files... [2020-12-28T15:25:03.217Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/99@tmp/config3878258324648422392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:25:03.457Z] ---> Running in 04ea0ed9b83b [2020-12-28T15:25:03.635Z] ---> docker-login.sh [2020-12-28T15:25:03.635Z] nexus3.edgexfoundry.org:10001 [2020-12-28T15:25:03.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:25:03.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:25:03.897Z] Configure a credential helper to remove this warning. See [2020-12-28T15:25:03.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:25:03.897Z] [2020-12-28T15:25:03.897Z] Login Succeeded [2020-12-28T15:25:03.897Z] nexus3.edgexfoundry.org:10002 [2020-12-28T15:25:04.050Z] Removing intermediate container 04ea0ed9b83b [2020-12-28T15:25:04.050Z] ---> 8873b4ef06bf [2020-12-28T15:25:04.050Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-28T15:25:04.050Z] ---> Running in 69321478b022 [2020-12-28T15:25:04.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:25:04.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:25:04.161Z] Configure a credential helper to remove this warning. See [2020-12-28T15:25:04.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:25:04.161Z] [2020-12-28T15:25:04.161Z] Login Succeeded [2020-12-28T15:25:04.161Z] nexus3.edgexfoundry.org:10003 [2020-12-28T15:25:04.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:25:04.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:25:04.423Z] Configure a credential helper to remove this warning. See [2020-12-28T15:25:04.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:25:04.423Z] [2020-12-28T15:25:04.423Z] Login Succeeded [2020-12-28T15:25:04.423Z] nexus3.edgexfoundry.org:10004 [2020-12-28T15:25:04.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:25:04.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:25:04.686Z] Configure a credential helper to remove this warning. See [2020-12-28T15:25:04.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:25:04.686Z] [2020-12-28T15:25:04.686Z] Login Succeeded [2020-12-28T15:25:04.686Z] docker.io [2020-12-28T15:25:04.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-28T15:25:05.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-28T15:25:05.260Z] Configure a credential helper to remove this warning. See [2020-12-28T15:25:05.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-28T15:25:05.260Z] [2020-12-28T15:25:05.260Z] Login Succeeded [2020-12-28T15:25:05.260Z] ---> docker-login.sh ends [Pipeline] } [2020-12-28T15:25:05.271Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-28T15:25:05.576Z] ========================================================= [2020-12-28T15:25:05.577Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-28T15:25:05.577Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:25:05.922Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-28T15:25:05.922Z] Sending build context to Docker daemon 2.427MB [2020-12-28T15:25:05.922Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-28T15:25:05.922Z] Step 2/8 : FROM ${BASE} [2020-12-28T15:25:06.027Z] Removing intermediate container 69321478b022 [2020-12-28T15:25:06.027Z] ---> 961bfe497cae [2020-12-28T15:25:06.027Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-28T15:25:06.185Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-28T15:25:06.185Z] 188c0c94c7c5: Pulling fs layer [2020-12-28T15:25:06.185Z] 0ef7d3d256c8: Pulling fs layer [2020-12-28T15:25:06.185Z] de9db76c5a1d: Pulling fs layer [2020-12-28T15:25:06.185Z] bca2f99d35d6: Pulling fs layer [2020-12-28T15:25:06.185Z] 93359f2a8cfa: Pulling fs layer [2020-12-28T15:25:06.185Z] 7c6f9722023f: Pulling fs layer [2020-12-28T15:25:06.185Z] a35cf1a2eb13: Pulling fs layer [2020-12-28T15:25:06.185Z] 93359f2a8cfa: Waiting [2020-12-28T15:25:06.185Z] 7c6f9722023f: Waiting [2020-12-28T15:25:06.185Z] bca2f99d35d6: Waiting [2020-12-28T15:25:06.185Z] a35cf1a2eb13: Waiting [2020-12-28T15:25:06.185Z] de9db76c5a1d: Verifying Checksum [2020-12-28T15:25:06.185Z] de9db76c5a1d: Download complete [2020-12-28T15:25:06.185Z] 0ef7d3d256c8: Verifying Checksum [2020-12-28T15:25:06.185Z] 0ef7d3d256c8: Download complete [2020-12-28T15:25:06.185Z] 93359f2a8cfa: Verifying Checksum [2020-12-28T15:25:06.185Z] 93359f2a8cfa: Download complete [2020-12-28T15:25:06.185Z] 188c0c94c7c5: Verifying Checksum [2020-12-28T15:25:06.185Z] 188c0c94c7c5: Download complete [2020-12-28T15:25:06.185Z] 7c6f9722023f: Verifying Checksum [2020-12-28T15:25:06.185Z] 7c6f9722023f: Download complete [2020-12-28T15:25:06.302Z] ---> Running in e3cbbd34ba5b [2020-12-28T15:25:06.455Z] 188c0c94c7c5: Pull complete [2020-12-28T15:25:06.717Z] 0ef7d3d256c8: Pull complete [2020-12-28T15:25:06.717Z] de9db76c5a1d: Pull complete [2020-12-28T15:25:07.278Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-28T15:25:08.113Z] a35cf1a2eb13: Verifying Checksum [2020-12-28T15:25:08.113Z] a35cf1a2eb13: Download complete [2020-12-28T15:25:08.715Z] bca2f99d35d6: Verifying Checksum [2020-12-28T15:25:08.715Z] bca2f99d35d6: Download complete [2020-12-28T15:25:09.890Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-28T15:25:11.846Z] OK: 142 MiB in 39 packages [2020-12-28T15:25:13.292Z] Removing intermediate container e3cbbd34ba5b [2020-12-28T15:25:13.292Z] ---> 367d5b63d637 [2020-12-28T15:25:13.292Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-28T15:25:13.292Z] ---> Running in 7ae558e25356 [2020-12-28T15:25:13.886Z] Removing intermediate container 7ae558e25356 [2020-12-28T15:25:13.886Z] ---> b255623986fe [2020-12-28T15:25:13.886Z] Step 7/8 : COPY . . [2020-12-28T15:25:14.061Z] bca2f99d35d6: Pull complete [2020-12-28T15:25:14.062Z] 93359f2a8cfa: Pull complete [2020-12-28T15:25:14.062Z] 7c6f9722023f: Pull complete [2020-12-28T15:25:14.865Z] ---> a06f811eadc1 [2020-12-28T15:25:14.865Z] Step 8/8 : RUN go mod download [2020-12-28T15:25:15.140Z] ---> Running in 023982b89b5d [2020-12-28T15:25:20.700Z] a35cf1a2eb13: Pull complete [2020-12-28T15:25:20.701Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-28T15:25:20.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-28T15:25:20.701Z] ---> a62c8e92a672 [2020-12-28T15:25:20.701Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-28T15:25:20.701Z] ---> Running in 142f7bee8fd1 [2020-12-28T15:25:20.967Z] Removing intermediate container 142f7bee8fd1 [2020-12-28T15:25:20.967Z] ---> 5009916d6c60 [2020-12-28T15:25:20.967Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-28T15:25:20.967Z] ---> Running in ab9848398ab2 [2020-12-28T15:25:22.374Z] Removing intermediate container ab9848398ab2 [2020-12-28T15:25:22.374Z] ---> b7553e6837d6 [2020-12-28T15:25:22.374Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-28T15:25:22.374Z] ---> Running in 4b5e9603b400 [2020-12-28T15:25:22.957Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-28T15:25:23.907Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-28T15:25:24.170Z] OK: 166 MiB in 39 packages [2020-12-28T15:25:24.434Z] Removing intermediate container 4b5e9603b400 [2020-12-28T15:25:24.434Z] ---> 680b7ca81f50 [2020-12-28T15:25:24.434Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-28T15:25:24.698Z] ---> Running in 4c522b6774f2 [2020-12-28T15:25:24.698Z] Removing intermediate container 4c522b6774f2 [2020-12-28T15:25:24.698Z] ---> 0d6f34c04999 [2020-12-28T15:25:24.698Z] Step 7/8 : COPY . . [2020-12-28T15:25:26.090Z] ---> ba858c54597f [2020-12-28T15:25:26.090Z] Step 8/8 : RUN go mod download [2020-12-28T15:25:26.090Z] ---> Running in db6a1d1110c1 [2020-12-28T15:25:37.315Z] Removing intermediate container 023982b89b5d [2020-12-28T15:25:37.316Z] ---> c28107013ddd [2020-12-28T15:25:37.316Z] Successfully built c28107013ddd [2020-12-28T15:25:37.316Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:25:37.665Z] + docker inspect -f . ci-base-image-arm64 [2020-12-28T15:25:37.665Z] . [Pipeline] withDockerContainer [2020-12-28T15:25:37.913Z] prd-ubuntu18.04-docker-arm64-4c-16g-17511 does not seem to be running inside a container [2020-12-28T15:25:38.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/99 -v /w/workspace/device-sdk-go/99:/w/workspace/device-sdk-go/99:rw,z -v /w/workspace/device-sdk-go/99@tmp:/w/workspace/device-sdk-go/99@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 [2020-12-28T15:25:39.392Z] $ docker top d3da6600ff7b46e66bf59b9aa17eb1fd56532bf04263a61845fb6bdc5e533adf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-28T15:25:40.369Z] + go version [2020-12-28T15:25:40.369Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-28T15:25:40.403Z] $ docker stop --time=1 d3da6600ff7b46e66bf59b9aa17eb1fd56532bf04263a61845fb6bdc5e533adf [2020-12-28T15:25:42.324Z] $ docker rm -f d3da6600ff7b46e66bf59b9aa17eb1fd56532bf04263a61845fb6bdc5e533adf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:25:43.323Z] + docker inspect -f . ci-base-image-arm64 [2020-12-28T15:25:43.323Z] . [Pipeline] withDockerContainer [2020-12-28T15:25:43.580Z] prd-ubuntu18.04-docker-arm64-4c-16g-17511 does not seem to be running inside a container [2020-12-28T15:25:43.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/99 -v /w/workspace/device-sdk-go/99:/w/workspace/device-sdk-go/99:rw,z -v /w/workspace/device-sdk-go/99@tmp:/w/workspace/device-sdk-go/99@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 [2020-12-28T15:25:44.266Z] Removing intermediate container db6a1d1110c1 [2020-12-28T15:25:44.266Z] ---> 8abc968f5f1c [2020-12-28T15:25:44.266Z] Successfully built 8abc968f5f1c [2020-12-28T15:25:44.266Z] Successfully tagged ci-base-image-x86_64:latest [2020-12-28T15:25:45.113Z] $ docker top a93f1635d4fc6b030772a820ff3fc1d514dc20ac47f80be4ca8ca2fdfc686013 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:25:45.933Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-28T15:25:45.933Z] . [Pipeline] withDockerContainer [2020-12-28T15:25:46.046Z] prd-centos7-docker-4c-2g-17512 does not seem to be running inside a container [2020-12-28T15:25:46.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/99 -v /w/workspace/device-sdk-go/99:/w/workspace/device-sdk-go/99:rw,z -v /w/workspace/device-sdk-go/99@tmp:/w/workspace/device-sdk-go/99@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 [2020-12-28T15:25:46.115Z] + make test [2020-12-28T15:25:46.115Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-28T15:25:46.903Z] $ docker top bd7c7dabba613c10ead1ba7cca8e0940cd6175aa9750a4e46c4e5c3791be87b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-28T15:25:47.465Z] + go version [2020-12-28T15:25:47.465Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-28T15:25:47.481Z] $ docker stop --time=1 bd7c7dabba613c10ead1ba7cca8e0940cd6175aa9750a4e46c4e5c3791be87b3 [2020-12-28T15:25:48.910Z] $ docker rm -f bd7c7dabba613c10ead1ba7cca8e0940cd6175aa9750a4e46c4e5c3791be87b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:25:49.712Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-28T15:25:49.712Z] . [Pipeline] withDockerContainer [2020-12-28T15:25:49.812Z] prd-centos7-docker-4c-2g-17512 does not seem to be running inside a container [2020-12-28T15:25:49.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/99 -v /w/workspace/device-sdk-go/99:/w/workspace/device-sdk-go/99:rw,z -v /w/workspace/device-sdk-go/99@tmp:/w/workspace/device-sdk-go/99@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 [2020-12-28T15:25:51.178Z] $ docker top f393bc7acdc850cc36dd7972bc9257cb0d37b945d897f4b0a89c371ec5a12e6f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-28T15:25:51.734Z] + make test [2020-12-28T15:25:51.734Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-28T15:25:58.385Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-28T15:26:08.279Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-28T15:26:13.420Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-28T15:26:13.421Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-28T15:26:13.421Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-28T15:26:14.011Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.086s coverage: 19.4% of statements [2020-12-28T15:26:15.425Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.482s coverage: 97.1% of statements [2020-12-28T15:26:47.331Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-28T15:26:47.331Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-28T15:26:47.331Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-28T15:26:47.331Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.169s coverage: 19.4% of statements [2020-12-28T15:26:47.599Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 9.4% of statements [2020-12-28T15:26:47.599Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.060s coverage: 21.9% of statements [2020-12-28T15:26:47.599Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-28T15:26:47.599Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.213s coverage: 42.5% of statements [2020-12-28T15:26:47.599Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-28T15:26:47.599Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.292s coverage: 68.9% of statements [2020-12-28T15:26:47.599Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-28T15:26:47.599Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-28T15:26:47.599Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-28T15:26:47.599Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-28T15:26:47.599Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 53.8% of statements [2020-12-28T15:26:47.599Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-28T15:26:47.599Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-28T15:26:47.599Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-28T15:26:47.599Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.479s coverage: 68.9% of statements [2020-12-28T15:26:47.599Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.090s coverage: 4.2% of statements [2020-12-28T15:26:47.599Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-28T15:26:47.599Z] GO111MODULE=on go vet ./... [2020-12-28T15:26:52.768Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.187s coverage: 97.1% of statements [2020-12-28T15:26:54.276Z] gofmt -l . [2020-12-28T15:26:54.277Z] [ "`gofmt -l .`" = "" ] [2020-12-28T15:26:54.277Z] ./bin/test-attribution-txt.sh [2020-12-28T15:26:55.232Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-28T15:26:55.251Z] $ docker stop --time=1 f393bc7acdc850cc36dd7972bc9257cb0d37b945d897f4b0a89c371ec5a12e6f [2020-12-28T15:26:57.272Z] $ docker rm -f f393bc7acdc850cc36dd7972bc9257cb0d37b945d897f4b0a89c371ec5a12e6f [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-28T15:26:58.094Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-28T15:26:58.466Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-28T15:27:01.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-28T15:27:01.372Z] + ls -al . [2020-12-28T15:27:01.373Z] total 208 [2020-12-28T15:27:01.373Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 28 15:26 . [2020-12-28T15:27:01.373Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 28 15:24 .. [2020-12-28T15:27:01.373Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 28 15:24 bin [2020-12-28T15:27:01.373Z] -rw-r--r--. 1 jenkins jenkins 130526 Dec 28 15:26 coverage.out [2020-12-28T15:27:01.373Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 28 15:24 Dockerfile.build [2020-12-28T15:27:01.373Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 28 15:24 .dockerignore [2020-12-28T15:27:01.373Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 28 15:24 example [2020-12-28T15:27:01.373Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 28 15:24 .git [2020-12-28T15:27:01.373Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 28 15:24 .github [2020-12-28T15:27:01.373Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 28 15:24 .gitignore [2020-12-28T15:27:01.373Z] -rw-r--r--. 1 jenkins jenkins 488 Dec 28 15:26 go.mod [2020-12-28T15:27:01.373Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 28 15:26 go.sum [2020-12-28T15:27:01.373Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 28 15:24 internal [2020-12-28T15:27:01.373Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 28 15:24 Jenkinsfile [2020-12-28T15:27:01.373Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 28 15:24 LICENSE [2020-12-28T15:27:01.373Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 28 15:24 Makefile [2020-12-28T15:27:01.373Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 28 15:24 openapi [2020-12-28T15:27:01.373Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 28 15:24 pkg [2020-12-28T15:27:01.373Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 28 15:24 README.md [2020-12-28T15:27:01.373Z] -rw-rw-r--. 1 jenkins jenkins 6616 Dec 28 15:24 RELEASE-NOTES.txt [2020-12-28T15:27:01.373Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 28 15:24 snap [2020-12-28T15:27:01.373Z] -rw-rw-r--. 1 jenkins jenkins 12 Dec 28 15:22 VERSION [2020-12-28T15:27:01.373Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 28 15:24 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:27:01.680Z] + 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=42e5a1ea61e0adb23423a933a3224d1395f33e87 --label arch=amd64 --label version=1.3.1-dev.12 . [2020-12-28T15:27:01.942Z] Sending build context to Docker daemon 2.558MB [2020-12-28T15:27:01.942Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-28T15:27:01.942Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-28T15:27:01.942Z] ---> 8abc968f5f1c [2020-12-28T15:27:01.942Z] Step 3/24 : ARG MAKE='make build' [2020-12-28T15:27:02.517Z] ---> Running in 70d7148086a1 [2020-12-28T15:27:02.779Z] Removing intermediate container 70d7148086a1 [2020-12-28T15:27:02.779Z] ---> d5c2c5516d7e [2020-12-28T15:27:02.779Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-28T15:27:02.779Z] ---> Running in 3a09bb71be51 [2020-12-28T15:27:03.042Z] Removing intermediate container 3a09bb71be51 [2020-12-28T15:27:03.042Z] ---> dad661022c0f [2020-12-28T15:27:03.042Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-28T15:27:03.042Z] ---> Running in 9c91df797acc [2020-12-28T15:27:03.042Z] Removing intermediate container 9c91df797acc [2020-12-28T15:27:03.042Z] ---> 98b1ee1e2f58 [2020-12-28T15:27:03.042Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-28T15:27:03.304Z] ---> Running in b22a7757db79 [2020-12-28T15:27:04.253Z] Removing intermediate container b22a7757db79 [2020-12-28T15:27:04.253Z] ---> 826854fd0028 [2020-12-28T15:27:04.253Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-28T15:27:04.253Z] ---> Running in 8fe0b15280e5 [2020-12-28T15:27:04.838Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-28T15:27:05.414Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-28T15:27:05.995Z] OK: 166 MiB in 39 packages [2020-12-28T15:27:06.572Z] Removing intermediate container 8fe0b15280e5 [2020-12-28T15:27:06.572Z] ---> 3696fa3692b6 [2020-12-28T15:27:06.572Z] Step 8/24 : COPY . . [2020-12-28T15:27:07.522Z] ---> 071381166f05 [2020-12-28T15:27:07.522Z] Step 9/24 : RUN ${MAKE} [2020-12-28T15:27:07.522Z] ---> Running in 14b134f0254b [2020-12-28T15:27:08.100Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.12" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-28T15:27:16.345Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-28T15:27:18.270Z] Removing intermediate container 14b134f0254b [2020-12-28T15:27:18.270Z] ---> 9dffe9e8d949 [2020-12-28T15:27:18.270Z] Step 10/24 : FROM scratch [2020-12-28T15:27:18.270Z] ---> [2020-12-28T15:27:18.270Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-28T15:27:18.534Z] ---> Running in 70e6c54c9fff [2020-12-28T15:27:18.534Z] Removing intermediate container 70e6c54c9fff [2020-12-28T15:27:18.534Z] ---> ca39e044e3ea [2020-12-28T15:27:18.534Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-28T15:27:18.534Z] ---> Running in 6459b55b39eb [2020-12-28T15:27:18.797Z] Removing intermediate container 6459b55b39eb [2020-12-28T15:27:18.797Z] ---> 7949ae1db839 [2020-12-28T15:27:18.797Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-28T15:27:18.797Z] ---> Running in 7a340a9524f7 [2020-12-28T15:27:19.060Z] Removing intermediate container 7a340a9524f7 [2020-12-28T15:27:19.060Z] ---> 6d7006fc7d15 [2020-12-28T15:27:19.060Z] Step 14/24 : WORKDIR / [2020-12-28T15:27:19.060Z] ---> Running in e3f720de871e [2020-12-28T15:27:19.324Z] Removing intermediate container e3f720de871e [2020-12-28T15:27:19.324Z] ---> 7a711648e829 [2020-12-28T15:27:19.324Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-28T15:27:19.587Z] ---> a9c2bd0402c0 [2020-12-28T15:27:19.587Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-28T15:27:19.655Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.137s coverage: 9.4% of statements [2020-12-28T15:27:19.655Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.138s coverage: 21.9% of statements [2020-12-28T15:27:19.655Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-28T15:27:19.655Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.652s coverage: 42.5% of statements [2020-12-28T15:27:19.655Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-28T15:27:19.655Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.742s coverage: 68.9% of statements [2020-12-28T15:27:19.655Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-28T15:27:19.655Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-28T15:27:19.655Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-28T15:27:19.655Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-28T15:27:19.655Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.218s coverage: 53.8% of statements [2020-12-28T15:27:19.655Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-28T15:27:19.655Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-28T15:27:19.655Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-28T15:27:19.655Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.746s coverage: 68.9% of statements [2020-12-28T15:27:19.655Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.119s coverage: 4.2% of statements [2020-12-28T15:27:19.655Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-28T15:27:19.852Z] ---> 3985e6923342 [2020-12-28T15:27:19.852Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-28T15:27:20.120Z] ---> be08b37886f3 [2020-12-28T15:27:20.120Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-28T15:27:20.260Z] GO111MODULE=on go vet ./... [2020-12-28T15:27:21.073Z] ---> 49e11581d32f [2020-12-28T15:27:21.073Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-28T15:27:21.073Z] ---> 02248b909ea8 [2020-12-28T15:27:21.073Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-28T15:27:21.336Z] ---> Running in 2e28c052213d [2020-12-28T15:27:21.336Z] Removing intermediate container 2e28c052213d [2020-12-28T15:27:21.336Z] ---> d79bc1857d8c [2020-12-28T15:27:21.336Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-28T15:27:21.336Z] ---> Running in c06e6d1b3be2 [2020-12-28T15:27:21.599Z] Removing intermediate container c06e6d1b3be2 [2020-12-28T15:27:21.599Z] ---> 525053834eac [2020-12-28T15:27:21.599Z] Step 22/24 : LABEL arch=amd64 [2020-12-28T15:27:21.599Z] ---> Running in 084eac72c85a [2020-12-28T15:27:21.864Z] Removing intermediate container 084eac72c85a [2020-12-28T15:27:21.864Z] ---> f238c5c348d6 [2020-12-28T15:27:21.864Z] Step 23/24 : LABEL git_sha=42e5a1ea61e0adb23423a933a3224d1395f33e87 [2020-12-28T15:27:21.864Z] ---> Running in e255115be785 [2020-12-28T15:27:22.126Z] Removing intermediate container e255115be785 [2020-12-28T15:27:22.126Z] ---> b6b341379e36 [2020-12-28T15:27:22.126Z] Step 24/24 : LABEL version=1.3.1-dev.12 [2020-12-28T15:27:22.126Z] ---> Running in ebf8dfbd2b67 [2020-12-28T15:27:22.388Z] Removing intermediate container ebf8dfbd2b67 [2020-12-28T15:27:22.388Z] ---> 593dc733ffbd [2020-12-28T15:27:22.388Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-28T15:27:22.388Z] Successfully built 593dc733ffbd [2020-12-28T15:27:22.388Z] 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] } [2020-12-28T15:27:52.620Z] gofmt -l . [2020-12-28T15:27:52.620Z] [ "`gofmt -l .`" = "" ] [2020-12-28T15:27:52.620Z] ./bin/test-attribution-txt.sh [2020-12-28T15:27:52.620Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-28T15:27:52.663Z] $ docker stop --time=1 a93f1635d4fc6b030772a820ff3fc1d514dc20ac47f80be4ca8ca2fdfc686013 [2020-12-28T15:27:54.868Z] $ docker rm -f a93f1635d4fc6b030772a820ff3fc1d514dc20ac47f80be4ca8ca2fdfc686013 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-28T15:27:55.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-28T15:27:56.016Z] Warning: overwriting stash ‘coverage-report’ [2020-12-28T15:27:56.832Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-28T15:27:57.595Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-28T15:27:57.933Z] + ls -al . [2020-12-28T15:27:57.933Z] total 244 [2020-12-28T15:27:57.933Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 28 15:27 . [2020-12-28T15:27:57.933Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 15:24 .. [2020-12-28T15:27:57.933Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 28 15:24 .dockerignore [2020-12-28T15:27:57.933Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 15:24 .git [2020-12-28T15:27:57.933Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 15:24 .github [2020-12-28T15:27:57.933Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 28 15:24 .gitignore [2020-12-28T15:27:57.933Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 28 15:24 Dockerfile.build [2020-12-28T15:27:57.933Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 28 15:24 Jenkinsfile [2020-12-28T15:27:57.933Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 28 15:24 LICENSE [2020-12-28T15:27:57.933Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 28 15:24 Makefile [2020-12-28T15:27:57.933Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 28 15:24 README.md [2020-12-28T15:27:57.933Z] -rw-rw-r-- 1 jenkins jenkins 6616 Dec 28 15:24 RELEASE-NOTES.txt [2020-12-28T15:27:57.933Z] -rw-rw-r-- 1 jenkins jenkins 12 Dec 28 15:22 VERSION [2020-12-28T15:27:57.933Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 15:24 bin [2020-12-28T15:27:57.933Z] -rw-r--r-- 1 jenkins jenkins 130526 Dec 28 15:27 coverage.out [2020-12-28T15:27:57.933Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 15:24 example [2020-12-28T15:27:57.933Z] -rw-r--r-- 1 jenkins jenkins 488 Dec 28 15:27 go.mod [2020-12-28T15:27:57.933Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 28 15:27 go.sum [2020-12-28T15:27:57.933Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 28 15:24 internal [2020-12-28T15:27:57.933Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 15:24 openapi [2020-12-28T15:27:57.933Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 28 15:24 pkg [2020-12-28T15:27:57.933Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 15:24 snap [2020-12-28T15:27:57.933Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 28 15:24 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:27:58.274Z] + 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=42e5a1ea61e0adb23423a933a3224d1395f33e87 --label arch=arm64 --label version=1.3.1-dev.12 . [2020-12-28T15:27:58.549Z] Sending build context to Docker daemon 2.556MB [2020-12-28T15:27:58.823Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-28T15:27:58.823Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-28T15:27:58.823Z] ---> c28107013ddd [2020-12-28T15:27:58.823Z] Step 3/24 : ARG MAKE='make build' [2020-12-28T15:27:59.098Z] ---> Running in 64a5ad9b6895 [2020-12-28T15:27:59.372Z] Removing intermediate container 64a5ad9b6895 [2020-12-28T15:27:59.372Z] ---> a97ba6f88984 [2020-12-28T15:27:59.372Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-28T15:27:59.645Z] ---> Running in 21fef436dd4e [2020-12-28T15:28:00.239Z] Removing intermediate container 21fef436dd4e [2020-12-28T15:28:00.239Z] ---> de6a5c515ea2 [2020-12-28T15:28:00.239Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-28T15:28:00.239Z] ---> Running in 83eda44b2cbb [2020-12-28T15:28:00.834Z] Removing intermediate container 83eda44b2cbb [2020-12-28T15:28:00.834Z] ---> 678dc9a449a1 [2020-12-28T15:28:00.834Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-28T15:28:00.834Z] ---> Running in 4261b07311d5 [2020-12-28T15:28:02.821Z] Removing intermediate container 4261b07311d5 [2020-12-28T15:28:02.821Z] ---> 2d3ed0add030 [2020-12-28T15:28:02.821Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-28T15:28:02.821Z] ---> Running in e341040f1d93 [2020-12-28T15:28:04.256Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-28T15:28:04.858Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-28T15:28:05.463Z] OK: 142 MiB in 39 packages [2020-12-28T15:28:06.439Z] Removing intermediate container e341040f1d93 [2020-12-28T15:28:06.439Z] ---> c8f7d2282bdf [2020-12-28T15:28:06.439Z] Step 8/24 : COPY . . [2020-12-28T15:28:07.869Z] ---> 7b0680ec5535 [2020-12-28T15:28:07.869Z] Step 9/24 : RUN ${MAKE} [2020-12-28T15:28:07.869Z] ---> Running in 6caecbb3ea09 [2020-12-28T15:28:08.848Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.12" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-28T15:28:35.638Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-28T15:28:35.638Z] Removing intermediate container 6caecbb3ea09 [2020-12-28T15:28:35.638Z] ---> 9adb13b51201 [2020-12-28T15:28:35.638Z] Step 10/24 : FROM scratch [2020-12-28T15:28:35.638Z] ---> [2020-12-28T15:28:35.638Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-28T15:28:35.908Z] ---> Running in 597baaa00836 [2020-12-28T15:28:36.178Z] Removing intermediate container 597baaa00836 [2020-12-28T15:28:36.178Z] ---> 7e8291eb85e6 [2020-12-28T15:28:36.178Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-28T15:28:36.448Z] ---> Running in bbcf2ff25747 [2020-12-28T15:28:36.718Z] Removing intermediate container bbcf2ff25747 [2020-12-28T15:28:36.718Z] ---> 5239f902e926 [2020-12-28T15:28:36.718Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-28T15:28:36.718Z] ---> Running in 140c9bbbf7df [2020-12-28T15:28:37.323Z] Removing intermediate container 140c9bbbf7df [2020-12-28T15:28:37.323Z] ---> 2b786e62dcb0 [2020-12-28T15:28:37.323Z] Step 14/24 : WORKDIR / [2020-12-28T15:28:37.323Z] ---> Running in ee4d94880393 [2020-12-28T15:28:37.915Z] Removing intermediate container ee4d94880393 [2020-12-28T15:28:37.915Z] ---> 846114410654 [2020-12-28T15:28:37.915Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-28T15:28:38.894Z] ---> cca5aa0c852c [2020-12-28T15:28:38.894Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-28T15:28:39.489Z] ---> eca1bd7ce8d8 [2020-12-28T15:28:39.489Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-28T15:28:40.468Z] ---> 90cf8abbbbf3 [2020-12-28T15:28:40.468Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-28T15:28:41.073Z] ---> 2318097d257f [2020-12-28T15:28:41.073Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-28T15:28:41.667Z] ---> 6f3d0c929960 [2020-12-28T15:28:41.667Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-28T15:28:41.941Z] ---> Running in 206cb7411ae7 [2020-12-28T15:28:42.212Z] Removing intermediate container 206cb7411ae7 [2020-12-28T15:28:42.212Z] ---> 2362ca9da482 [2020-12-28T15:28:42.212Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-28T15:28:42.487Z] ---> Running in da7e51e6ead4 [2020-12-28T15:28:42.760Z] Removing intermediate container da7e51e6ead4 [2020-12-28T15:28:42.760Z] ---> 5643fd1ee386 [2020-12-28T15:28:42.760Z] Step 22/24 : LABEL arch=arm64 [2020-12-28T15:28:43.032Z] ---> Running in 4e32832f4225 [2020-12-28T15:28:43.304Z] Removing intermediate container 4e32832f4225 [2020-12-28T15:28:43.304Z] ---> bb9b1e8b7ffe [2020-12-28T15:28:43.304Z] Step 23/24 : LABEL git_sha=42e5a1ea61e0adb23423a933a3224d1395f33e87 [2020-12-28T15:28:43.581Z] ---> Running in 8e41aa85cd59 [2020-12-28T15:28:43.852Z] Removing intermediate container 8e41aa85cd59 [2020-12-28T15:28:43.852Z] ---> 339a73a657c7 [2020-12-28T15:28:43.852Z] Step 24/24 : LABEL version=1.3.1-dev.12 [2020-12-28T15:28:44.128Z] ---> Running in 11671f67c643 [2020-12-28T15:28:44.725Z] Removing intermediate container 11671f67c643 [2020-12-28T15:28:44.725Z] ---> 7ad62352927a [2020-12-28T15:28:44.725Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-28T15:28:44.725Z] Successfully built 7ad62352927a [2020-12-28T15:28:44.725Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-28T15:28:46.622Z] provisioning config files... [2020-12-28T15:28:46.644Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7151876824100856194tmp [Pipeline] { [Pipeline] sh [2020-12-28T15:28:47.059Z] + set +x [2020-12-28T15:28:47.059Z] + curl -s https://codecov.io/bash [2020-12-28T15:28:47.059Z] + bash -s -- [2020-12-28T15:28:47.321Z] [2020-12-28T15:28:47.321Z] _____ _ [2020-12-28T15:28:47.321Z] / ____| | | [2020-12-28T15:28:47.321Z] | | ___ __| | ___ ___ _____ __ [2020-12-28T15:28:47.321Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-28T15:28:47.321Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-28T15:28:47.321Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-28T15:28:47.321Z] Bash-20201223-5ad85e3 [2020-12-28T15:28:47.321Z] [2020-12-28T15:28:47.321Z] [2020-12-28T15:28:47.321Z] ==> git version 2.24.3 found [2020-12-28T15:28:47.321Z] ==> 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 [2020-12-28T15:28:47.321Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-28T15:28:47.321Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2020-12-28T15:28:47.321Z] ==> Jenkins CI detected. [2020-12-28T15:28:47.321Z] project root: . [2020-12-28T15:28:47.321Z] --> token set from env [2020-12-28T15:28:47.321Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-28T15:28:47.321Z] ==> Running gcov in . (disable via -X gcov) [2020-12-28T15:28:47.321Z] ==> Python coveragepy not found [2020-12-28T15:28:47.321Z] ==> Searching for coverage reports in: [2020-12-28T15:28:47.321Z] + . [2020-12-28T15:28:47.321Z] -> Found 1 reports [2020-12-28T15:28:47.321Z] ==> Detecting git/mercurial file structure [2020-12-28T15:28:47.321Z] ==> Reading reports [2020-12-28T15:28:47.321Z] + ./coverage.out bytes=130526 [2020-12-28T15:28:47.321Z] ==> Appending adjustments [2020-12-28T15:28:47.321Z] https://docs.codecov.io/docs/fixing-reports [2020-12-28T15:28:47.899Z] + Found adjustments [2020-12-28T15:28:47.899Z] ==> Gzipping contents [2020-12-28T15:28:47.899Z] 24K /tmp/codecov.ImdKkw.gz [2020-12-28T15:28:47.899Z] ==> Uploading reports [2020-12-28T15:28:47.899Z] url: https://codecov.io [2020-12-28T15:28:47.899Z] query: branch=master&commit=42e5a1ea61e0adb23423a933a3224d1395f33e87&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-28T15:28:47.899Z] -> Pinging Codecov [2020-12-28T15:28:47.899Z] https://codecov.io/upload/v4?package=bash-20201223-5ad85e3&token=secret&branch=master&commit=42e5a1ea61e0adb23423a933a3224d1395f33e87&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-28T15:28:48.490Z] -> Uploading to [2020-12-28T15:28:48.490Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-28/7E55EF52A471D76F132DFD9A03CDDE97/42e5a1ea61e0adb23423a933a3224d1395f33e87/69b74e30-5bf6-427c-89d8-1818e97eff0f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201228T152848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6cb299583a0fc829cf209bf43ff624fffacfc5a1da363160cfdaf5ca2026f5f3 [2020-12-28T15:28:48.490Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-28T15:28:48.490Z] Dload Upload Total Spent Left Speed [2020-12-28T15:28:49.019Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21238 0 0 100 21238 0 46006 --:--:-- --:--:-- --:--:-- 45969 [2020-12-28T15:28:49.019Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/42e5a1ea61e0adb23423a933a3224d1395f33e87 [Pipeline] } [2020-12-28T15:28:49.029Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-12-28T15:28:51.069Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-12-28T15:28:51.172Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:28:51.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-28T15:28:51.518Z] [2020-12-28T15:28:51.518Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:28:51.872Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-28T15:28:51.872Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-12-28T15:28:51.872Z] 188c0c94c7c5: Pulling fs layer [2020-12-28T15:28:51.872Z] 0ef7d3d256c8: Pulling fs layer [2020-12-28T15:28:51.872Z] de9db76c5a1d: Pulling fs layer [2020-12-28T15:28:51.872Z] 0eba1c9be4d2: Pulling fs layer [2020-12-28T15:28:51.872Z] 0d57e429df01: Pulling fs layer [2020-12-28T15:28:51.872Z] 4e4be7b47b0d: Pulling fs layer [2020-12-28T15:28:51.872Z] e1f770b5df2f: Pulling fs layer [2020-12-28T15:28:51.872Z] 85a0685a4137: Pulling fs layer [2020-12-28T15:28:51.872Z] 0eba1c9be4d2: Waiting [2020-12-28T15:28:51.872Z] 0d57e429df01: Waiting [2020-12-28T15:28:51.872Z] 4e4be7b47b0d: Waiting [2020-12-28T15:28:51.872Z] e1f770b5df2f: Waiting [2020-12-28T15:28:51.872Z] 85a0685a4137: Waiting [2020-12-28T15:28:51.872Z] de9db76c5a1d: Verifying Checksum [2020-12-28T15:28:51.872Z] de9db76c5a1d: Download complete [2020-12-28T15:28:51.872Z] 0ef7d3d256c8: Download complete [2020-12-28T15:28:51.872Z] 0d57e429df01: Verifying Checksum [2020-12-28T15:28:51.872Z] 0d57e429df01: Download complete [2020-12-28T15:28:52.139Z] 4e4be7b47b0d: Verifying Checksum [2020-12-28T15:28:52.139Z] 4e4be7b47b0d: Download complete [2020-12-28T15:28:52.139Z] 188c0c94c7c5: Verifying Checksum [2020-12-28T15:28:52.139Z] 188c0c94c7c5: Download complete [2020-12-28T15:28:52.401Z] 188c0c94c7c5: Pull complete [2020-12-28T15:28:52.663Z] 0ef7d3d256c8: Pull complete [2020-12-28T15:28:52.663Z] de9db76c5a1d: Pull complete [2020-12-28T15:28:54.058Z] e1f770b5df2f: Verifying Checksum [2020-12-28T15:28:54.058Z] e1f770b5df2f: Download complete [2020-12-28T15:28:55.463Z] 0eba1c9be4d2: Download complete [2020-12-28T15:28:56.037Z] 85a0685a4137: Verifying Checksum [2020-12-28T15:28:56.037Z] 85a0685a4137: Download complete [2020-12-28T15:29:02.663Z] 0eba1c9be4d2: Pull complete [2020-12-28T15:29:02.663Z] 0d57e429df01: Pull complete [2020-12-28T15:29:02.663Z] 4e4be7b47b0d: Pull complete [2020-12-28T15:29:03.621Z] e1f770b5df2f: Pull complete [2020-12-28T15:29:11.808Z] 85a0685a4137: Pull complete [2020-12-28T15:29:11.808Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-12-28T15:29:11.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-28T15:29:11.808Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-12-28T15:29:12.023Z] prd-centos7-docker-4c-2g-17510 does not seem to be running inside a container [2020-12-28T15:29:12.070Z] $ 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 [2020-12-28T15:29:13.169Z] $ docker top e8a6f4092afb4940101ea7f15a38e9b4f7248b14a8c49362ae74b11f5afdc945 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-28T15:29:13.428Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-12-28T15:29:13.724Z] + set -o pipefail [2020-12-28T15:29:13.724Z] + snyk monitor '--org=edgex-jenkins' [2020-12-28T15:29:31.866Z] [2020-12-28T15:29:31.866Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-12-28T15:29:31.866Z] [2020-12-28T15:29:31.866Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/99d910dc-bef0-4a74-ab21-dda4eb0cb237 [2020-12-28T15:29:31.866Z] [2020-12-28T15:29:31.866Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-12-28T15:29:31.866Z] [2020-12-28T15:29:31.866Z] [2020-12-28T15:29:31.866Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2020-12-28T15:29:31.866Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-12-28T15:29:31.883Z] $ docker stop --time=1 e8a6f4092afb4940101ea7f15a38e9b4f7248b14a8c49362ae74b11f5afdc945 [2020-12-28T15:29:34.341Z] $ docker rm -f e8a6f4092afb4940101ea7f15a38e9b4f7248b14a8c49362ae74b11f5afdc945 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2020-12-28T15:29:35.701Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-28T15:29:35.759Z] provisioning config files... [2020-12-28T15:29:35.769Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5426496383885447382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:29:36.165Z] --> edgex-publish-swagger.sh [2020-12-28T15:29:36.165Z] === Publish openapi/v1 API === [2020-12-28T15:29:36.165Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2020-12-28T15:29:36.165Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-12-28T15:29:36.165Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-28T15:29:36.165Z] Dload Upload Total Spent Left Speed [2020-12-28T15:29:36.739Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19946 0 0 100 19946 0 26132 --:--:-- --:--:-- --:--:-- 26141 100 19946 0 0 100 19946 0 26125 --:--:-- --:--:-- --:--:-- 26141 [2020-12-28T15:29:36.739Z] [2020-12-28T15:29:36.739Z] [2020-12-28T15:29:36.739Z] === Publish openapi/v2 API === [2020-12-28T15:29:36.739Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2020-12-28T15:29:36.739Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-12-28T15:29:36.739Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-28T15:29:36.739Z] Dload Upload Total Spent Left Speed [2020-12-28T15:29:37.685Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 49274 0 0 100 49274 0 75156 --:--:-- --:--:-- --:--:-- 75227 [2020-12-28T15:29:37.685Z] [2020-12-28T15:29:37.685Z] [Pipeline] } [2020-12-28T15:29:37.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2020-12-28T15:29:38.587Z] + git log --format=format:%s -1 42e5a1ea61e0adb23423a933a3224d1395f33e87 [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:29:38.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-28T15:29:38.896Z] . [Pipeline] withDockerContainer [2020-12-28T15:29:38.994Z] prd-centos7-docker-4c-2g-17510 does not seem to be running inside a container [2020-12-28T15:29:39.041Z] $ 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 [2020-12-28T15:29:39.639Z] $ docker top 9a4554daeeaa57ad160b98cd4ad9bcce306df26600f0c992e7e254b36b8940d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-28T15:29:39.927Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-28T15:29:39.927Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-28T15:29:40.116Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-28T15:29:40.120Z] $ docker exec 9a4554daeeaa57ad160b98cd4ad9bcce306df26600f0c992e7e254b36b8940d4 ssh-agent [2020-12-28T15:29:40.281Z] SSH_AUTH_SOCK=/tmp/ssh-D6l34YAY970r/agent.12 [2020-12-28T15:29:40.281Z] SSH_AGENT_PID=18 [2020-12-28T15:29:40.288Z] Running ssh-add (command line suppressed) [2020-12-28T15:29:40.411Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4435572020876533280.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4435572020876533280.key) [2020-12-28T15:29:40.460Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-28T15:29:40.809Z] + git semver tag [2020-12-28T15:29:40.809Z] # -> Open(): unable to determine branch for HEAD [2020-12-28T15:29:40.809Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-28T15:29:40.809Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-28T15:29:40.809Z] # $SEMVER_REMOTE_NAME = origin [2020-12-28T15:29:40.809Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-28T15:29:40.809Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-28T15:29:40.809Z] # $SEMVER_BRANCH = master [2020-12-28T15:29:40.809Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-12-28T15:29:40.809Z] # 42e5a1ea61e0adb23423a933a3224d1395f33e87 HEAD [2020-12-28T15:29:40.809Z] # -> Force: false [2020-12-28T15:29:40.809Z] # 80a6a218377a361a18aae93c2d2594041328e4a0 refs/tags/v1.3.1-dev.12 [Pipeline] } [2020-12-28T15:29:40.821Z] $ docker exec --env ******** --env ******** 9a4554daeeaa57ad160b98cd4ad9bcce306df26600f0c992e7e254b36b8940d4 ssh-agent -k [2020-12-28T15:29:40.935Z] unset SSH_AUTH_SOCK; [2020-12-28T15:29:40.935Z] unset SSH_AGENT_PID; [2020-12-28T15:29:40.935Z] echo Agent pid 18 killed; [2020-12-28T15:29:40.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-28T15:29:41.497Z] + git semver [Pipeline] } [2020-12-28T15:29:41.514Z] $ docker stop --time=1 9a4554daeeaa57ad160b98cd4ad9bcce306df26600f0c992e7e254b36b8940d4 [2020-12-28T15:29:42.869Z] $ docker rm -f 9a4554daeeaa57ad160b98cd4ad9bcce306df26600f0c992e7e254b36b8940d4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:29:43.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-28T15:29:43.575Z] [2020-12-28T15:29:43.575Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:29:43.927Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-28T15:29:43.927Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-12-28T15:29:43.927Z] ab5ef0e58194: Pulling fs layer [2020-12-28T15:29:43.927Z] 9712f1f96733: Pulling fs layer [2020-12-28T15:29:43.927Z] 63f879dbbcfc: Pulling fs layer [2020-12-28T15:29:43.927Z] 0d9ebad4ef96: Pulling fs layer [2020-12-28T15:29:43.927Z] e9a5061849ea: Pulling fs layer [2020-12-28T15:29:43.927Z] d747dcd14b5f: Pulling fs layer [2020-12-28T15:29:43.927Z] 2de7ff778b66: Pulling fs layer [2020-12-28T15:29:43.927Z] e9a5061849ea: Waiting [2020-12-28T15:29:43.927Z] d747dcd14b5f: Waiting [2020-12-28T15:29:43.927Z] 2de7ff778b66: Waiting [2020-12-28T15:29:43.927Z] 0d9ebad4ef96: Waiting [2020-12-28T15:29:43.927Z] 9712f1f96733: Verifying Checksum [2020-12-28T15:29:43.927Z] 9712f1f96733: Download complete [2020-12-28T15:29:45.323Z] 63f879dbbcfc: Verifying Checksum [2020-12-28T15:29:45.323Z] 63f879dbbcfc: Download complete [2020-12-28T15:29:45.323Z] e9a5061849ea: Verifying Checksum [2020-12-28T15:29:45.323Z] e9a5061849ea: Download complete [2020-12-28T15:29:45.587Z] d747dcd14b5f: Verifying Checksum [2020-12-28T15:29:45.587Z] d747dcd14b5f: Download complete [2020-12-28T15:29:45.850Z] 2de7ff778b66: Verifying Checksum [2020-12-28T15:29:45.850Z] 2de7ff778b66: Download complete [2020-12-28T15:29:46.113Z] 0d9ebad4ef96: Verifying Checksum [2020-12-28T15:29:46.113Z] 0d9ebad4ef96: Download complete [2020-12-28T15:29:46.378Z] ab5ef0e58194: Download complete [2020-12-28T15:29:51.729Z] ab5ef0e58194: Pull complete [2020-12-28T15:29:51.729Z] 9712f1f96733: Pull complete [2020-12-28T15:29:54.291Z] 63f879dbbcfc: Pull complete [2020-12-28T15:29:59.717Z] 0d9ebad4ef96: Pull complete [2020-12-28T15:30:01.694Z] e9a5061849ea: Pull complete [2020-12-28T15:30:02.014Z] d747dcd14b5f: Pull complete [2020-12-28T15:30:04.589Z] 2de7ff778b66: Pull complete [2020-12-28T15:30:04.589Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-12-28T15:30:04.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-28T15:30:04.589Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-12-28T15:30:04.785Z] prd-centos7-docker-4c-2g-17510 does not seem to be running inside a container [2020-12-28T15:30:04.837Z] $ 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 [2020-12-28T15:30:08.789Z] $ docker top fc2cfc565d1c7abda4771939bd772210c3b92c78dbb31d37db8ef9367f0eed13 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-12-28T15:30:09.031Z] provisioning config files... [2020-12-28T15:30:09.041Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4846898275155716745tmp [2020-12-28T15:30:09.055Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7021827781440969514tmp [2020-12-28T15:30:09.069Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4920361155182725934tmp [Pipeline] { [Pipeline] echo [2020-12-28T15:30:09.126Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:30:09.434Z] ---> sigul-configuration.sh [2020-12-28T15:30:09.434Z] gpg: directory `/root/.gnupg' created [2020-12-28T15:30:09.434Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-12-28T15:30:09.434Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-12-28T15:30:09.434Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-12-28T15:30:09.434Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-12-28T15:30:09.434Z] gpg: CAST5 encrypted data [2020-12-28T15:30:09.697Z] gpg: encrypted with 1 passphrase [2020-12-28T15:30:09.697Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-12-28T15:30:09.993Z] + mkdir /home/jenkins [2020-12-28T15:30:09.993Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-12-28T15:30:10.292Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2020-12-28T15:30:10.304Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:30:10.601Z] ---> sigul-install.sh [2020-12-28T15:30:15.917Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-12-28T15:30:16.220Z] + git tag --list [2020-12-28T15:30:16.220Z] 0.7.1 [2020-12-28T15:30:16.220Z] delhi-tag [2020-12-28T15:30:16.220Z] v1.0.0 [2020-12-28T15:30:16.220Z] v1.1.0 [2020-12-28T15:30:16.220Z] v1.1.1 [2020-12-28T15:30:16.220Z] v1.1.2 [2020-12-28T15:30:16.220Z] v1.2.0 [2020-12-28T15:30:16.220Z] v1.2.1 [2020-12-28T15:30:16.220Z] v1.2.2 [2020-12-28T15:30:16.220Z] v1.2.3 [2020-12-28T15:30:16.220Z] v1.2.4-dev.1 [2020-12-28T15:30:16.220Z] v1.2.4-dev.10 [2020-12-28T15:30:16.220Z] v1.2.4-dev.11 [2020-12-28T15:30:16.220Z] v1.2.4-dev.12 [2020-12-28T15:30:16.220Z] v1.2.4-dev.13 [2020-12-28T15:30:16.220Z] v1.2.4-dev.14 [2020-12-28T15:30:16.220Z] v1.2.4-dev.15 [2020-12-28T15:30:16.220Z] v1.2.4-dev.16 [2020-12-28T15:30:16.220Z] v1.2.4-dev.17 [2020-12-28T15:30:16.220Z] v1.2.4-dev.18 [2020-12-28T15:30:16.220Z] v1.2.4-dev.19 [2020-12-28T15:30:16.220Z] v1.2.4-dev.2 [2020-12-28T15:30:16.220Z] v1.2.4-dev.20 [2020-12-28T15:30:16.220Z] v1.2.4-dev.21 [2020-12-28T15:30:16.220Z] v1.2.4-dev.22 [2020-12-28T15:30:16.220Z] v1.2.4-dev.23 [2020-12-28T15:30:16.220Z] v1.2.4-dev.24 [2020-12-28T15:30:16.220Z] v1.2.4-dev.25 [2020-12-28T15:30:16.220Z] v1.2.4-dev.26 [2020-12-28T15:30:16.220Z] v1.2.4-dev.27 [2020-12-28T15:30:16.220Z] v1.2.4-dev.28 [2020-12-28T15:30:16.220Z] v1.2.4-dev.29 [2020-12-28T15:30:16.220Z] v1.2.4-dev.3 [2020-12-28T15:30:16.220Z] v1.2.4-dev.30 [2020-12-28T15:30:16.220Z] v1.2.4-dev.31 [2020-12-28T15:30:16.220Z] v1.2.4-dev.32 [2020-12-28T15:30:16.220Z] v1.2.4-dev.33 [2020-12-28T15:30:16.220Z] v1.2.4-dev.34 [2020-12-28T15:30:16.220Z] v1.2.4-dev.35 [2020-12-28T15:30:16.220Z] v1.2.4-dev.4 [2020-12-28T15:30:16.220Z] v1.2.4-dev.5 [2020-12-28T15:30:16.220Z] v1.2.4-dev.6 [2020-12-28T15:30:16.220Z] v1.2.4-dev.7 [2020-12-28T15:30:16.220Z] v1.2.4-dev.8 [2020-12-28T15:30:16.220Z] v1.2.4-dev.9 [2020-12-28T15:30:16.220Z] v1.3.0 [2020-12-28T15:30:16.220Z] v1.3.1-dev.1 [2020-12-28T15:30:16.220Z] v1.3.1-dev.10 [2020-12-28T15:30:16.220Z] v1.3.1-dev.11 [2020-12-28T15:30:16.220Z] v1.3.1-dev.12 [2020-12-28T15:30:16.220Z] v1.3.1-dev.2 [2020-12-28T15:30:16.220Z] v1.3.1-dev.3 [2020-12-28T15:30:16.220Z] v1.3.1-dev.4 [2020-12-28T15:30:16.220Z] v1.3.1-dev.5 [2020-12-28T15:30:16.220Z] v1.3.1-dev.6 [2020-12-28T15:30:16.220Z] v1.3.1-dev.7 [2020-12-28T15:30:16.220Z] v1.3.1-dev.8 [2020-12-28T15:30:16.220Z] v1.3.1-dev.9 [Pipeline] sh [2020-12-28T15:30:16.523Z] + lftools sign git-tag v1.3.1-dev.12 [2020-12-28T15:30:17.912Z] Signing Git tag with Sigul... [2020-12-28T15:30:17.912Z] Signing v1.3.1-dev.12 [Pipeline] echo [2020-12-28T15:30:18.867Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:30:19.166Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-12-28T15:30:19.175Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-12-28T15:30:19.274Z] $ docker stop --time=1 fc2cfc565d1c7abda4771939bd772210c3b92c78dbb31d37db8ef9367f0eed13 [2020-12-28T15:30:21.317Z] $ docker rm -f fc2cfc565d1c7abda4771939bd772210c3b92c78dbb31d37db8ef9367f0eed13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:30:22.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-28T15:30:22.306Z] . [Pipeline] withDockerContainer [2020-12-28T15:30:22.415Z] prd-centos7-docker-4c-2g-17510 does not seem to be running inside a container [2020-12-28T15:30:22.463Z] $ 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 [2020-12-28T15:30:23.174Z] $ docker top 2ff53d4c7435874a06c1b68f6358d813fe37739f8319a6144dacbacaf804c8b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-28T15:30:23.551Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-28T15:30:23.551Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-28T15:30:23.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-28T15:30:23.771Z] $ docker exec 2ff53d4c7435874a06c1b68f6358d813fe37739f8319a6144dacbacaf804c8b4 ssh-agent [2020-12-28T15:30:23.948Z] SSH_AUTH_SOCK=/tmp/ssh-GaXdNBKx3OYw/agent.11 [2020-12-28T15:30:23.948Z] SSH_AGENT_PID=16 [2020-12-28T15:30:23.956Z] Running ssh-add (command line suppressed) [2020-12-28T15:30:24.083Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4723429996628605955.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4723429996628605955.key) [2020-12-28T15:30:24.140Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-28T15:30:24.518Z] + git semver bump pre [2020-12-28T15:30:24.518Z] # -> Open(): unable to determine branch for HEAD [2020-12-28T15:30:24.518Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-28T15:30:24.518Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-28T15:30:24.518Z] # $SEMVER_REMOTE_NAME = origin [2020-12-28T15:30:24.518Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-28T15:30:24.518Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-28T15:30:24.518Z] # $SEMVER_BRANCH = master [2020-12-28T15:30:24.518Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-12-28T15:30:24.518Z] 1.3.1-dev.13 [Pipeline] } [2020-12-28T15:30:24.533Z] $ docker exec --env ******** --env ******** 2ff53d4c7435874a06c1b68f6358d813fe37739f8319a6144dacbacaf804c8b4 ssh-agent -k [2020-12-28T15:30:24.653Z] unset SSH_AUTH_SOCK; [2020-12-28T15:30:24.653Z] unset SSH_AGENT_PID; [2020-12-28T15:30:24.653Z] echo Agent pid 16 killed; [2020-12-28T15:30:24.702Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-28T15:30:25.264Z] + git semver [Pipeline] } [2020-12-28T15:30:25.283Z] $ docker stop --time=1 2ff53d4c7435874a06c1b68f6358d813fe37739f8319a6144dacbacaf804c8b4 [2020-12-28T15:30:26.646Z] $ docker rm -f 2ff53d4c7435874a06c1b68f6358d813fe37739f8319a6144dacbacaf804c8b4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:30:27.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-28T15:30:27.186Z] . [Pipeline] withDockerContainer [2020-12-28T15:30:27.305Z] prd-centos7-docker-4c-2g-17510 does not seem to be running inside a container [2020-12-28T15:30:27.373Z] $ 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 [2020-12-28T15:30:27.959Z] $ docker top a05f4ee00ebd38a5d52b29528b04d35fcbcb16fd1ebb1cfae5a9a045cba8114a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-28T15:30:28.326Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-28T15:30:28.326Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-28T15:30:28.509Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-28T15:30:28.514Z] $ docker exec a05f4ee00ebd38a5d52b29528b04d35fcbcb16fd1ebb1cfae5a9a045cba8114a ssh-agent [2020-12-28T15:30:28.686Z] SSH_AUTH_SOCK=/tmp/ssh-quFku8UYGW95/agent.11 [2020-12-28T15:30:28.686Z] SSH_AGENT_PID=17 [2020-12-28T15:30:28.693Z] Running ssh-add (command line suppressed) [2020-12-28T15:30:28.816Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7680978564571314589.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7680978564571314589.key) [2020-12-28T15:30:28.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-28T15:30:29.214Z] + git semver push [2020-12-28T15:30:29.214Z] # -> Open(): unable to determine branch for HEAD [2020-12-28T15:30:29.214Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-12-28T15:30:29.214Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-12-28T15:30:29.214Z] # $SEMVER_REMOTE_NAME = origin [2020-12-28T15:30:29.214Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-28T15:30:29.214Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-28T15:30:29.214Z] # $SEMVER_BRANCH = master [2020-12-28T15:30:29.214Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-12-28T15:30:35.834Z] $ docker exec --env ******** --env ******** a05f4ee00ebd38a5d52b29528b04d35fcbcb16fd1ebb1cfae5a9a045cba8114a ssh-agent -k [2020-12-28T15:30:35.962Z] unset SSH_AUTH_SOCK; [2020-12-28T15:30:35.962Z] unset SSH_AGENT_PID; [2020-12-28T15:30:35.962Z] echo Agent pid 17 killed; [2020-12-28T15:30:36.020Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-28T15:30:36.510Z] + git semver [Pipeline] } [2020-12-28T15:30:36.529Z] $ docker stop --time=1 a05f4ee00ebd38a5d52b29528b04d35fcbcb16fd1ebb1cfae5a9a045cba8114a [2020-12-28T15:30:37.893Z] $ docker rm -f a05f4ee00ebd38a5d52b29528b04d35fcbcb16fd1ebb1cfae5a9a045cba8114a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:30:39.542Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:30:40.109Z] ---> package-listing.sh [2020-12-28T15:30:40.109Z] ++ facter osfamily [2020-12-28T15:30:40.109Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-28T15:30:40.109Z] + OS_FAMILY=redhat [2020-12-28T15:30:40.109Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-12-28T15:30:40.109Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-28T15:30:40.109Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-28T15:30:40.109Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-28T15:30:40.109Z] + PACKAGES=/tmp/packages_start.txt [2020-12-28T15:30:40.109Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-12-28T15:30:40.109Z] + PACKAGES=/tmp/packages_end.txt [2020-12-28T15:30:40.109Z] + case "${OS_FAMILY}" in [2020-12-28T15:30:40.109Z] + rpm -qa [2020-12-28T15:30:40.109Z] + sort [2020-12-28T15:30:45.438Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-28T15:30:45.438Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-28T15:30:45.438Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-28T15:30:45.438Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-12-28T15:30:45.438Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-12-28T15:30:45.438Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2020-12-28T15:30:45.451Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-28T15:30:45.804Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:30:46.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-28T15:30:46.133Z] [2020-12-28T15:30:46.133Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-28T15:30:46.507Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-28T15:30:46.507Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-28T15:30:46.508Z] df20fa9351a1: Pulling fs layer [2020-12-28T15:30:46.508Z] 36b3adc4ff6f: Pulling fs layer [2020-12-28T15:30:46.508Z] 8ad3a11d3b57: Pulling fs layer [2020-12-28T15:30:46.508Z] 46f8f816bc3b: Pulling fs layer [2020-12-28T15:30:46.508Z] 93b61091891f: Pulling fs layer [2020-12-28T15:30:46.508Z] 93b9cdb0e59b: Pulling fs layer [2020-12-28T15:30:46.508Z] 5e14af77c1be: Pulling fs layer [2020-12-28T15:30:46.508Z] 01666e4c0597: Pulling fs layer [2020-12-28T15:30:46.508Z] aa168da1d23b: Pulling fs layer [2020-12-28T15:30:46.508Z] 01666e4c0597: Waiting [2020-12-28T15:30:46.508Z] 93b9cdb0e59b: Waiting [2020-12-28T15:30:46.508Z] 5e14af77c1be: Waiting [2020-12-28T15:30:46.508Z] aa168da1d23b: Waiting [2020-12-28T15:30:46.508Z] 93b61091891f: Waiting [2020-12-28T15:30:46.508Z] 46f8f816bc3b: Waiting [2020-12-28T15:30:46.508Z] 36b3adc4ff6f: Verifying Checksum [2020-12-28T15:30:46.508Z] 36b3adc4ff6f: Download complete [2020-12-28T15:30:46.508Z] 46f8f816bc3b: Verifying Checksum [2020-12-28T15:30:46.508Z] 46f8f816bc3b: Download complete [2020-12-28T15:30:46.508Z] df20fa9351a1: Verifying Checksum [2020-12-28T15:30:46.508Z] df20fa9351a1: Download complete [2020-12-28T15:30:46.771Z] 93b9cdb0e59b: Download complete [2020-12-28T15:30:46.771Z] 5e14af77c1be: Verifying Checksum [2020-12-28T15:30:46.771Z] 5e14af77c1be: Download complete [2020-12-28T15:30:46.771Z] 93b61091891f: Download complete [2020-12-28T15:30:46.771Z] 01666e4c0597: Verifying Checksum [2020-12-28T15:30:46.771Z] 01666e4c0597: Download complete [2020-12-28T15:30:46.771Z] 8ad3a11d3b57: Verifying Checksum [2020-12-28T15:30:46.771Z] 8ad3a11d3b57: Download complete [2020-12-28T15:30:47.044Z] df20fa9351a1: Pull complete [2020-12-28T15:30:47.623Z] 36b3adc4ff6f: Pull complete [2020-12-28T15:30:48.574Z] 8ad3a11d3b57: Pull complete [2020-12-28T15:30:48.574Z] 46f8f816bc3b: Pull complete [2020-12-28T15:30:48.574Z] aa168da1d23b: Verifying Checksum [2020-12-28T15:30:48.574Z] aa168da1d23b: Download complete [2020-12-28T15:30:49.148Z] 93b61091891f: Pull complete [2020-12-28T15:30:49.411Z] 93b9cdb0e59b: Pull complete [2020-12-28T15:30:49.411Z] 5e14af77c1be: Pull complete [2020-12-28T15:30:49.674Z] 01666e4c0597: Pull complete [2020-12-28T15:30:57.844Z] aa168da1d23b: Pull complete [2020-12-28T15:30:57.844Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-28T15:30:57.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-28T15:30:57.844Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-28T15:30:57.969Z] prd-centos7-docker-4c-2g-17510 does not seem to be running inside a container [2020-12-28T15:30:58.021Z] $ 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 [2020-12-28T15:31:01.232Z] $ docker top 16c5055ef677332bc3692ea8d47b14f81068248d89c7e939f1513c63a3778168 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-28T15:31:01.873Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-28T15:31:02.177Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-28T15:31:02.476Z] + ls /var/log/sa-host [2020-12-28T15:31:02.476Z] + sadf -c /var/log/sa-host/sa23 [2020-12-28T15:31:02.476Z] file_magic: OK [2020-12-28T15:31:02.476Z] HZ: Using current value: 100 [2020-12-28T15:31:02.476Z] file_header: OK [2020-12-28T15:31:02.476Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-28T15:31:02.476Z] Statistics: [2020-12-28T15:31:02.476Z] Hnuu...uuuununununu... [2020-12-28T15:31:02.476Z] File successfully converted to sysstat format version 12.2.1 [2020-12-28T15:31:02.476Z] + sadf -c /var/log/sa-host/sa28 [2020-12-28T15:31:02.476Z] file_magic: OK [2020-12-28T15:31:02.476Z] HZ: Using current value: 100 [2020-12-28T15:31:02.476Z] file_header: OK [2020-12-28T15:31:02.476Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-28T15:31:02.476Z] Statistics: [2020-12-28T15:31:02.476Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-28T15:31:02.476Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-28T15:31:03.117Z] provisioning config files... [2020-12-28T15:31:03.132Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2770992870871291570tmp [Pipeline] { [Pipeline] echo [2020-12-28T15:31:03.212Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:31:03.508Z] ---> create-netrc.sh [Pipeline] } [2020-12-28T15:31:03.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-28T15:31:03.620Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:31:03.915Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-28T15:31:03.926Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:31:04.220Z] ---> sudo-logs.sh [2020-12-28T15:31:04.220Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-28T15:31:04.230Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:31:04.526Z] ---> job-cost.sh [2020-12-28T15:31:04.526Z] lf-activate-venv: SKIPPING [2020-12-28T15:31:04.526Z] INFO: No Stack... [2020-12-28T15:31:07.075Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-28T15:31:07.337Z] INFO: Archiving Costs [Pipeline] echo [2020-12-28T15:31:07.350Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-28T15:31:07.645Z] ---> logs-deploy.sh [2020-12-28T15:31:07.646Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/99 [2020-12-28T15:31:07.646Z] INFO: archiving workspace using pattern(s): [2020-12-28T15:31:09.035Z] Archives upload complete. [2020-12-28T15:31:09.298Z] INFO: archiving logs to Nexus