Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-28925’ is offline Running on prd-centos7-docker-4c-2g-28928 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 Commit message: "Merge pull request #804 from weichou1229/issue-803" > git rev-list --no-walk d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-08T03:27:18.928Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-08T03:27:19.191Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-08T03:27:19.292Z] ========================================================= [2021-03-08T03:27:19.292Z] EdgeX Global Pipelines Version Info [2021-03-08T03:27:19.292Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:27:20.956Z] ------------------- [2021-03-08T03:27:20.956Z] stable info: [2021-03-08T03:27:20.956Z] ------------------- [2021-03-08T03:27:20.956Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-08T03:27:20.956Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-08T03:27:20.956Z] Message: update stable to v1.0.184 [2021-03-08T03:27:22.347Z] ------------------- [2021-03-08T03:27:22.347Z] experimental info: [2021-03-08T03:27:22.347Z] ------------------- [2021-03-08T03:27:22.347Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-08T03:27:22.347Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-08T03:27:22.347Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-08T03:27:22.588Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-08T03:27:22.673Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-08T03:27:22.769Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-08T03:27:22.879Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-08T03:27:22.970Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-08T03:27:23.113Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-08T03:27:23.209Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-08T03:27:23.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-08T03:27:23.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-08T03:27:23.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-08T03:27:23.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-08T03:27:23.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-08T03:27:23.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-08T03:27:23.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-08T03:27:24.009Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-08T03:27:24.106Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T03:27:24.194Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T03:27:24.300Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T03:27:24.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-08T03:27:24.504Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-08T03:27:24.606Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-08T03:27:24.725Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-08T03:27:24.830Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-08T03:27:24.931Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-08T03:27:25.022Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-08T03:27:25.124Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-08T03:27:25.212Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-08T03:27:25.329Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-08T03:27:25.414Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-08T03:27:25.495Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 [Pipeline] echo [2021-03-08T03:27:25.580Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 62dc0a4 [Pipeline] echo [2021-03-08T03:27:25.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T03:27:25.831Z] provisioning config files... [2021-03-08T03:27:25.860Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config632620997737579034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:27:26.235Z] ---> docker-login.sh [2021-03-08T03:27:26.235Z] nexus3.edgexfoundry.org:10001 [2021-03-08T03:27:26.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:27:26.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:27:26.763Z] Configure a credential helper to remove this warning. See [2021-03-08T03:27:26.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:27:26.763Z] [2021-03-08T03:27:26.763Z] Login Succeeded [2021-03-08T03:27:26.763Z] nexus3.edgexfoundry.org:10002 [2021-03-08T03:27:26.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:27:26.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:27:26.763Z] Configure a credential helper to remove this warning. See [2021-03-08T03:27:26.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:27:26.763Z] [2021-03-08T03:27:26.763Z] Login Succeeded [2021-03-08T03:27:26.763Z] nexus3.edgexfoundry.org:10003 [2021-03-08T03:27:27.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:27:27.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:27:27.028Z] Configure a credential helper to remove this warning. See [2021-03-08T03:27:27.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:27:27.028Z] [2021-03-08T03:27:27.028Z] Login Succeeded [2021-03-08T03:27:27.028Z] nexus3.edgexfoundry.org:10004 [2021-03-08T03:27:27.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:27:27.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:27:27.295Z] Configure a credential helper to remove this warning. See [2021-03-08T03:27:27.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:27:27.295Z] [2021-03-08T03:27:27.295Z] Login Succeeded [2021-03-08T03:27:27.295Z] docker.io [2021-03-08T03:27:27.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:27:27.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:27:27.557Z] Configure a credential helper to remove this warning. See [2021-03-08T03:27:27.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:27:27.557Z] [2021-03-08T03:27:27.557Z] Login Succeeded [2021-03-08T03:27:27.557Z] ---> docker-login.sh ends [Pipeline] } [2021-03-08T03:27:27.568Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T03:27:28.449Z] + git log --format=format:%s -1 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 [Pipeline] echo [2021-03-08T03:27:28.519Z] GIT_COMMIT: 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7, Commit Message: Merge pull request #804 from weichou1229/issue-803 [Pipeline] echo [2021-03-08T03:27:28.568Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:27:29.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T03:27:29.179Z] [2021-03-08T03:27:29.179Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:27:29.523Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T03:27:29.523Z] latest: Pulling from edgex-devops/git-semver [2021-03-08T03:27:29.523Z] 31603596830f: Pulling fs layer [2021-03-08T03:27:29.523Z] 2a8b12db71e7: Pulling fs layer [2021-03-08T03:27:29.523Z] 6ca5941a6612: Pulling fs layer [2021-03-08T03:27:29.523Z] ecc8261a40a4: Pulling fs layer [2021-03-08T03:27:29.523Z] ecc8261a40a4: Waiting [2021-03-08T03:27:29.523Z] 2a8b12db71e7: Verifying Checksum [2021-03-08T03:27:29.523Z] 2a8b12db71e7: Download complete [2021-03-08T03:27:29.523Z] 31603596830f: Verifying Checksum [2021-03-08T03:27:29.523Z] 31603596830f: Download complete [2021-03-08T03:27:29.789Z] 6ca5941a6612: Verifying Checksum [2021-03-08T03:27:29.789Z] 6ca5941a6612: Download complete [2021-03-08T03:27:29.789Z] ecc8261a40a4: Verifying Checksum [2021-03-08T03:27:29.789Z] ecc8261a40a4: Download complete [2021-03-08T03:27:30.051Z] 31603596830f: Pull complete [2021-03-08T03:27:30.051Z] 2a8b12db71e7: Pull complete [2021-03-08T03:27:31.017Z] 6ca5941a6612: Pull complete [2021-03-08T03:27:31.293Z] ecc8261a40a4: Pull complete [2021-03-08T03:27:31.293Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-08T03:27:31.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T03:27:31.293Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-08T03:27:31.430Z] prd-centos7-docker-4c-2g-28928 does not seem to be running inside a container [2021-03-08T03:27:31.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-08T03:27:33.390Z] $ docker top 8eecdeb069324cb62a20656d723bb9ddf94bc6cb283dff107f0f0f32e1809505 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-08T03:27:33.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T03:27:33.799Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T03:27:34.063Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T03:27:34.068Z] $ docker exec 8eecdeb069324cb62a20656d723bb9ddf94bc6cb283dff107f0f0f32e1809505 ssh-agent [2021-03-08T03:27:34.261Z] SSH_AUTH_SOCK=/tmp/ssh-usqmJA3Noanb/agent.11 [2021-03-08T03:27:34.261Z] SSH_AGENT_PID=16 [2021-03-08T03:27:34.272Z] Running ssh-add (command line suppressed) [2021-03-08T03:27:34.409Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_506317779339541931.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_506317779339541931.key) [2021-03-08T03:27:34.467Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T03:27:34.818Z] + git tag --points-at HEAD [Pipeline] } [2021-03-08T03:27:34.845Z] $ docker exec --env ******** --env ******** 8eecdeb069324cb62a20656d723bb9ddf94bc6cb283dff107f0f0f32e1809505 ssh-agent -k [2021-03-08T03:27:34.979Z] unset SSH_AUTH_SOCK; [2021-03-08T03:27:34.979Z] unset SSH_AGENT_PID; [2021-03-08T03:27:34.980Z] echo Agent pid 16 killed; [2021-03-08T03:27:35.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-08T03:27:35.325Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T03:27:35.325Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T03:27:35.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T03:27:35.508Z] $ docker exec 8eecdeb069324cb62a20656d723bb9ddf94bc6cb283dff107f0f0f32e1809505 ssh-agent [2021-03-08T03:27:35.694Z] SSH_AUTH_SOCK=/tmp/ssh-97ydVLp3HXcF/agent.45 [2021-03-08T03:27:35.694Z] SSH_AGENT_PID=51 [2021-03-08T03:27:35.702Z] Running ssh-add (command line suppressed) [2021-03-08T03:27:35.856Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7732142549397879846.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7732142549397879846.key) [2021-03-08T03:27:35.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T03:27:36.269Z] + git semver init [2021-03-08T03:27:36.270Z] # -> Open(): unable to determine branch for HEAD [2021-03-08T03:27:36.270Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-08T03:27:36.270Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-08T03:27:36.270Z] # $SEMVER_REMOTE_NAME = origin [2021-03-08T03:27:36.270Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-08T03:27:36.270Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-08T03:27:36.270Z] # $SEMVER_BRANCH = master [2021-03-08T03:27:36.270Z] # $SEMVER_TEMP = /tmp/semver-438319343 [2021-03-08T03:27:36.270Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-08T03:27:36.845Z] # '/tmp/semver-438319343' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-03-08T03:27:36.845Z] # -> Force: false [2021-03-08T03:27:36.845Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-08T03:27:36.859Z] $ docker exec --env ******** --env ******** 8eecdeb069324cb62a20656d723bb9ddf94bc6cb283dff107f0f0f32e1809505 ssh-agent -k [2021-03-08T03:27:36.982Z] unset SSH_AUTH_SOCK; [2021-03-08T03:27:36.982Z] unset SSH_AGENT_PID; [2021-03-08T03:27:36.983Z] echo Agent pid 51 killed; [2021-03-08T03:27:37.035Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-08T03:27:37.574Z] + git semver [Pipeline] } [2021-03-08T03:27:37.593Z] $ docker stop --time=1 8eecdeb069324cb62a20656d723bb9ddf94bc6cb283dff107f0f0f32e1809505 [2021-03-08T03:27:39.074Z] $ docker rm -f 8eecdeb069324cb62a20656d723bb9ddf94bc6cb283dff107f0f0f32e1809505 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T03:27:39.618Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-08T03:27:41.299Z] Stashed 1 file(s) [Pipeline] echo [2021-03-08T03:27:41.303Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.18 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-03-08T03:27:56.807Z] Still waiting to schedule task [2021-03-08T03:27:56.807Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-08T03:27:56.809Z] Still waiting to schedule task [2021-03-08T03:27:56.810Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-08T03:29:38.580Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28929 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-08T03:29:38.634Z] Running in /w/workspace/device-sdk-go/123 [Pipeline] { [Pipeline] checkout [2021-03-08T03:29:44.052Z] using credential edgex-jenkins-ssh [2021-03-08T03:29:44.111Z] Cloning the remote Git repository [2021-03-08T03:29:44.178Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:29:44.295Z] > git init /w/workspace/device-sdk-go/123 # timeout=10 [2021-03-08T03:29:44.393Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:29:44.394Z] > git --version # timeout=10 [2021-03-08T03:29:44.417Z] > git --version # 'git version 2.17.1' [2021-03-08T03:29:44.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:29:44.475Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T03:29:46.126Z] Checking out Revision 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 (master) [2021-03-08T03:29:45.582Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T03:29:45.599Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T03:29:45.625Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T03:29:45.656Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:29:45.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:29:45.668Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-08T03:29:46.149Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T03:29:46.174Z] > git checkout -f 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 [2021-03-08T03:29:50.644Z] Commit message: "Merge pull request #804 from weichou1229/issue-803" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T03:29:52.330Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-08T03:29:52.773Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-08T03:29:53.116Z] + sudo service docker restart [2021-03-08T03:29:53.116Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T03:29:55.826Z] provisioning config files... [2021-03-08T03:29:55.869Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/123@tmp/config8874888328569332995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:29:56.280Z] ---> docker-login.sh [2021-03-08T03:29:56.280Z] nexus3.edgexfoundry.org:10001 [2021-03-08T03:29:57.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:29:57.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:29:57.552Z] Configure a credential helper to remove this warning. See [2021-03-08T03:29:57.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:29:57.552Z] [2021-03-08T03:29:57.552Z] Login Succeeded [2021-03-08T03:29:57.552Z] nexus3.edgexfoundry.org:10002 [2021-03-08T03:29:57.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:29:58.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:29:58.106Z] Configure a credential helper to remove this warning. See [2021-03-08T03:29:58.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:29:58.106Z] [2021-03-08T03:29:58.106Z] Login Succeeded [2021-03-08T03:29:58.106Z] nexus3.edgexfoundry.org:10003 [2021-03-08T03:29:58.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:29:58.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:29:58.380Z] Configure a credential helper to remove this warning. See [2021-03-08T03:29:58.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:29:58.380Z] [2021-03-08T03:29:58.380Z] Login Succeeded [2021-03-08T03:29:58.380Z] nexus3.edgexfoundry.org:10004 [2021-03-08T03:29:58.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:29:58.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:29:58.983Z] Configure a credential helper to remove this warning. See [2021-03-08T03:29:58.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:29:58.983Z] [2021-03-08T03:29:58.983Z] Login Succeeded [2021-03-08T03:29:58.983Z] docker.io [2021-03-08T03:29:59.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:29:59.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:29:59.869Z] Configure a credential helper to remove this warning. See [2021-03-08T03:29:59.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:29:59.869Z] [2021-03-08T03:29:59.869Z] Login Succeeded [2021-03-08T03:29:59.869Z] ---> docker-login.sh ends [Pipeline] } [2021-03-08T03:29:59.891Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-08T03:30:00.371Z] ========================================================= [2021-03-08T03:30:00.371Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-08T03:30:00.371Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:30:00.751Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-08T03:30:01.358Z] Sending build context to Docker daemon 2.43MB [2021-03-08T03:30:01.358Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T03:30:01.358Z] Step 2/8 : FROM ${BASE} [2021-03-08T03:30:01.358Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-08T03:30:01.358Z] 5f621e34cdf4: Pulling fs layer [2021-03-08T03:30:01.358Z] a4357932f1b6: Pulling fs layer [2021-03-08T03:30:01.358Z] 18c013af1878: Pulling fs layer [2021-03-08T03:30:01.358Z] 00ac8860ef70: Pulling fs layer [2021-03-08T03:30:01.358Z] 63d7cb157983: Pulling fs layer [2021-03-08T03:30:01.358Z] b116817d02f9: Pulling fs layer [2021-03-08T03:30:01.358Z] 745a02a5169b: Pulling fs layer [2021-03-08T03:30:01.358Z] 00ac8860ef70: Waiting [2021-03-08T03:30:01.358Z] 63d7cb157983: Waiting [2021-03-08T03:30:01.358Z] b116817d02f9: Waiting [2021-03-08T03:30:01.358Z] 745a02a5169b: Waiting [2021-03-08T03:30:01.358Z] 18c013af1878: Verifying Checksum [2021-03-08T03:30:01.358Z] 18c013af1878: Download complete [2021-03-08T03:30:01.358Z] a4357932f1b6: Verifying Checksum [2021-03-08T03:30:01.358Z] a4357932f1b6: Download complete [2021-03-08T03:30:01.358Z] 63d7cb157983: Verifying Checksum [2021-03-08T03:30:01.358Z] 63d7cb157983: Download complete [2021-03-08T03:30:01.358Z] 5f621e34cdf4: Verifying Checksum [2021-03-08T03:30:01.358Z] 5f621e34cdf4: Download complete [2021-03-08T03:30:01.358Z] b116817d02f9: Download complete [2021-03-08T03:30:02.387Z] 5f621e34cdf4: Pull complete [2021-03-08T03:30:02.673Z] a4357932f1b6: Pull complete [2021-03-08T03:30:02.960Z] 18c013af1878: Pull complete [2021-03-08T03:30:04.412Z] 745a02a5169b: Download complete [2021-03-08T03:30:05.402Z] 00ac8860ef70: Verifying Checksum [2021-03-08T03:30:05.402Z] 00ac8860ef70: Download complete [2021-03-08T03:30:10.174Z] Running on prd-centos7-docker-4c-2g-28931 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-08T03:30:10.231Z] Running in /w/workspace/device-sdk-go/123 [Pipeline] { [Pipeline] checkout [2021-03-08T03:30:12.762Z] using credential edgex-jenkins-ssh [2021-03-08T03:30:12.810Z] Cloning the remote Git repository [2021-03-08T03:30:12.582Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:30:12.667Z] > git init /w/workspace/device-sdk-go/123 # timeout=10 [2021-03-08T03:30:12.738Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:30:12.739Z] > git --version # timeout=10 [2021-03-08T03:30:12.746Z] > git --version # 'git version 2.24.3' [2021-03-08T03:30:12.747Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:30:12.780Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T03:30:14.342Z] Checking out Revision 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 (master) [2021-03-08T03:30:13.670Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T03:30:13.687Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T03:30:13.712Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T03:30:13.737Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:30:13.738Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:30:13.743Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-08T03:30:14.217Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T03:30:14.223Z] > git checkout -f 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 [2021-03-08T03:30:15.650Z] 00ac8860ef70: Pull complete [2021-03-08T03:30:15.650Z] 63d7cb157983: Pull complete [2021-03-08T03:30:15.931Z] b116817d02f9: Pull complete [2021-03-08T03:30:17.948Z] Commit message: "Merge pull request #804 from weichou1229/issue-803" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T03:30:19.082Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-08T03:30:19.410Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-08T03:30:19.715Z] + true [2021-03-08T03:30:19.715Z] + sudo service docker restart [2021-03-08T03:30:19.715Z] Redirecting to /bin/systemctl restart docker.service [2021-03-08T03:30:20.260Z] 745a02a5169b: Pull complete [2021-03-08T03:30:20.260Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-08T03:30:20.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-08T03:30:20.260Z] ---> b7e6874047d6 [2021-03-08T03:30:20.260Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T03:30:21.186Z] provisioning config files... [2021-03-08T03:30:21.213Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/123@tmp/config7634404711018065020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:30:21.572Z] ---> docker-login.sh [2021-03-08T03:30:21.573Z] nexus3.edgexfoundry.org:10001 [2021-03-08T03:30:21.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:30:21.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:30:21.835Z] Configure a credential helper to remove this warning. See [2021-03-08T03:30:21.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:30:21.835Z] [2021-03-08T03:30:21.835Z] Login Succeeded [2021-03-08T03:30:21.835Z] nexus3.edgexfoundry.org:10002 [2021-03-08T03:30:22.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:30:22.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:30:22.099Z] Configure a credential helper to remove this warning. See [2021-03-08T03:30:22.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:30:22.099Z] [2021-03-08T03:30:22.099Z] Login Succeeded [2021-03-08T03:30:22.099Z] nexus3.edgexfoundry.org:10003 [2021-03-08T03:30:22.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:30:22.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:30:22.361Z] Configure a credential helper to remove this warning. See [2021-03-08T03:30:22.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:30:22.361Z] [2021-03-08T03:30:22.361Z] Login Succeeded [2021-03-08T03:30:22.361Z] nexus3.edgexfoundry.org:10004 [2021-03-08T03:30:22.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:30:22.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:30:22.623Z] Configure a credential helper to remove this warning. See [2021-03-08T03:30:22.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:30:22.623Z] [2021-03-08T03:30:22.623Z] Login Succeeded [2021-03-08T03:30:22.623Z] docker.io [2021-03-08T03:30:22.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:30:22.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:30:22.884Z] Configure a credential helper to remove this warning. See [2021-03-08T03:30:22.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:30:22.884Z] [2021-03-08T03:30:22.884Z] Login Succeeded [2021-03-08T03:30:22.884Z] ---> docker-login.sh ends [2021-03-08T03:30:22.886Z] ---> Running in 25755b7b01a4 [Pipeline] } [2021-03-08T03:30:22.894Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-03-08T03:30:23.164Z] Removing intermediate container 25755b7b01a4 [2021-03-08T03:30:23.164Z] ---> 854f3b5ae4e7 [2021-03-08T03:30:23.164Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T03:30:23.164Z] ---> Running in 92be81ea80dd [Pipeline] echo [2021-03-08T03:30:23.188Z] ========================================================= [2021-03-08T03:30:23.189Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-08T03:30:23.189Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:30:23.534Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-08T03:30:23.534Z] Sending build context to Docker daemon 2.431MB [2021-03-08T03:30:23.802Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T03:30:23.802Z] Step 2/8 : FROM ${BASE} [2021-03-08T03:30:23.802Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-08T03:30:23.802Z] 188c0c94c7c5: Pulling fs layer [2021-03-08T03:30:23.802Z] 0ef7d3d256c8: Pulling fs layer [2021-03-08T03:30:23.802Z] de9db76c5a1d: Pulling fs layer [2021-03-08T03:30:23.802Z] bca2f99d35d6: Pulling fs layer [2021-03-08T03:30:23.802Z] 93359f2a8cfa: Pulling fs layer [2021-03-08T03:30:23.802Z] 7c6f9722023f: Pulling fs layer [2021-03-08T03:30:23.802Z] a35cf1a2eb13: Pulling fs layer [2021-03-08T03:30:23.802Z] bca2f99d35d6: Waiting [2021-03-08T03:30:23.802Z] 93359f2a8cfa: Waiting [2021-03-08T03:30:23.802Z] 7c6f9722023f: Waiting [2021-03-08T03:30:23.802Z] a35cf1a2eb13: Waiting [2021-03-08T03:30:23.802Z] de9db76c5a1d: Verifying Checksum [2021-03-08T03:30:23.802Z] de9db76c5a1d: Download complete [2021-03-08T03:30:23.802Z] 0ef7d3d256c8: Download complete [2021-03-08T03:30:23.802Z] 93359f2a8cfa: Verifying Checksum [2021-03-08T03:30:23.802Z] 93359f2a8cfa: Download complete [2021-03-08T03:30:23.802Z] 188c0c94c7c5: Verifying Checksum [2021-03-08T03:30:23.802Z] 7c6f9722023f: Verifying Checksum [2021-03-08T03:30:23.802Z] 7c6f9722023f: Download complete [2021-03-08T03:30:24.066Z] 188c0c94c7c5: Pull complete [2021-03-08T03:30:24.329Z] 0ef7d3d256c8: Pull complete [2021-03-08T03:30:24.592Z] de9db76c5a1d: Pull complete [2021-03-08T03:30:25.793Z] Removing intermediate container 92be81ea80dd [2021-03-08T03:30:25.793Z] ---> 3d6982176a33 [2021-03-08T03:30:25.793Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-08T03:30:25.793Z] ---> Running in 237dd1fc3dbc [2021-03-08T03:30:25.985Z] a35cf1a2eb13: Verifying Checksum [2021-03-08T03:30:25.985Z] a35cf1a2eb13: Download complete [2021-03-08T03:30:26.249Z] bca2f99d35d6: Download complete [2021-03-08T03:30:26.774Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-08T03:30:27.366Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-08T03:30:28.367Z] OK: 142 MiB in 39 packages [2021-03-08T03:30:29.357Z] Removing intermediate container 237dd1fc3dbc [2021-03-08T03:30:29.357Z] ---> 2a28339b11cc [2021-03-08T03:30:29.357Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-08T03:30:29.357Z] ---> Running in c3aa33df07d2 [2021-03-08T03:30:29.956Z] Removing intermediate container c3aa33df07d2 [2021-03-08T03:30:29.956Z] ---> 334876756878 [2021-03-08T03:30:29.956Z] Step 7/8 : COPY . . [2021-03-08T03:30:31.402Z] ---> f3fb12eea4b0 [2021-03-08T03:30:31.402Z] Step 8/8 : RUN go mod download [2021-03-08T03:30:31.402Z] ---> Running in 1ecc362fcf6a [2021-03-08T03:30:31.575Z] bca2f99d35d6: Pull complete [2021-03-08T03:30:31.575Z] 93359f2a8cfa: Pull complete [2021-03-08T03:30:31.575Z] 7c6f9722023f: Pull complete [2021-03-08T03:30:36.888Z] a35cf1a2eb13: Pull complete [2021-03-08T03:30:36.888Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-08T03:30:36.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-08T03:30:36.888Z] ---> a62c8e92a672 [2021-03-08T03:30:36.888Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:30:36.888Z] ---> Running in 6f301aaaa67a [2021-03-08T03:30:36.888Z] Removing intermediate container 6f301aaaa67a [2021-03-08T03:30:36.888Z] ---> 629f49c619e3 [2021-03-08T03:30:36.888Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T03:30:36.888Z] ---> Running in 9abbdf037b9e [2021-03-08T03:30:37.846Z] Removing intermediate container 9abbdf037b9e [2021-03-08T03:30:37.846Z] ---> 94f04cdcc495 [2021-03-08T03:30:37.846Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-08T03:30:37.846Z] ---> Running in 5b7f1c166779 [2021-03-08T03:30:38.420Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-08T03:30:38.998Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-08T03:30:39.574Z] OK: 166 MiB in 39 packages [2021-03-08T03:30:39.838Z] Removing intermediate container 5b7f1c166779 [2021-03-08T03:30:39.838Z] ---> 5d6cd30bcc86 [2021-03-08T03:30:39.838Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-08T03:30:39.838Z] ---> Running in 114e319c3e86 [2021-03-08T03:30:40.100Z] Removing intermediate container 114e319c3e86 [2021-03-08T03:30:40.100Z] ---> ce224d8bde46 [2021-03-08T03:30:40.100Z] Step 7/8 : COPY . . [2021-03-08T03:30:41.495Z] ---> b044d5654b90 [2021-03-08T03:30:41.495Z] Step 8/8 : RUN go mod download [2021-03-08T03:30:41.495Z] ---> Running in 2ed4df6e06c2 [2021-03-08T03:30:58.182Z] Removing intermediate container 1ecc362fcf6a [2021-03-08T03:30:58.182Z] ---> 1c8780327217 [2021-03-08T03:30:58.182Z] Successfully built 1c8780327217 [2021-03-08T03:30:58.182Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:30:58.523Z] + docker inspect -f . ci-base-image-arm64 [2021-03-08T03:30:58.523Z] . [Pipeline] withDockerContainer [2021-03-08T03:30:58.800Z] prd-ubuntu18.04-docker-arm64-4c-16g-28929 does not seem to be running inside a container [2021-03-08T03:30:58.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/123 -v /w/workspace/device-sdk-go/123:/w/workspace/device-sdk-go/123:rw,z -v /w/workspace/device-sdk-go/123@tmp:/w/workspace/device-sdk-go/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-08T03:31:00.418Z] $ docker top 0ddf30e49e14a0b744fa976542e41f00f93587bfc34bbeb6e49ae991314a73d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T03:31:01.435Z] + go version [2021-03-08T03:31:01.435Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-08T03:31:01.463Z] $ docker stop --time=1 0ddf30e49e14a0b744fa976542e41f00f93587bfc34bbeb6e49ae991314a73d0 [2021-03-08T03:31:03.406Z] $ docker rm -f 0ddf30e49e14a0b744fa976542e41f00f93587bfc34bbeb6e49ae991314a73d0 [2021-03-08T03:31:03.537Z] Removing intermediate container 2ed4df6e06c2 [2021-03-08T03:31:03.537Z] ---> 599d5e1413a5 [2021-03-08T03:31:03.537Z] Successfully built 599d5e1413a5 [2021-03-08T03:31:03.537Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:31:04.246Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-08T03:31:04.247Z] . [Pipeline] withDockerContainer [2021-03-08T03:31:04.387Z] prd-centos7-docker-4c-2g-28931 does not seem to be running inside a container [2021-03-08T03:31:04.421Z] + docker inspect -f . ci-base-image-arm64 [2021-03-08T03:31:04.421Z] . [2021-03-08T03:31:04.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/123 -v /w/workspace/device-sdk-go/123:/w/workspace/device-sdk-go/123:rw,z -v /w/workspace/device-sdk-go/123@tmp:/w/workspace/device-sdk-go/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-08T03:31:05.225Z] $ docker top 4a76a1bc71601383668bc6a8e605dd85fc3ecd3c0d09a620c4c899c4874e5471 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-03-08T03:31:05.767Z] prd-ubuntu18.04-docker-arm64-4c-16g-28929 does not seem to be running inside a container [2021-03-08T03:31:05.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/123 -v /w/workspace/device-sdk-go/123:/w/workspace/device-sdk-go/123:rw,z -v /w/workspace/device-sdk-go/123@tmp:/w/workspace/device-sdk-go/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-08T03:31:07.418Z] $ docker top 4eda1db47c19e2fa8a3ce7af2ccbb2550299c9d357a123e5d861a4100ed635d5 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-03-08T03:31:08.101Z] + go version [2021-03-08T03:31:08.101Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-08T03:31:08.116Z] $ docker stop --time=1 4a76a1bc71601383668bc6a8e605dd85fc3ecd3c0d09a620c4c899c4874e5471 [2021-03-08T03:31:08.487Z] + make test [2021-03-08T03:31:08.487Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-08T03:31:09.479Z] $ docker rm -f 4a76a1bc71601383668bc6a8e605dd85fc3ecd3c0d09a620c4c899c4874e5471 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:31:10.373Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-08T03:31:10.373Z] . [Pipeline] withDockerContainer [2021-03-08T03:31:10.473Z] prd-centos7-docker-4c-2g-28931 does not seem to be running inside a container [2021-03-08T03:31:10.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/123 -v /w/workspace/device-sdk-go/123:/w/workspace/device-sdk-go/123:rw,z -v /w/workspace/device-sdk-go/123@tmp:/w/workspace/device-sdk-go/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-08T03:31:11.264Z] $ docker top aab7e8f3b2352d988d0a6a9448359c3c331615b082c672946d4a5db714724e44 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T03:31:11.799Z] + make test [2021-03-08T03:31:11.799Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-08T03:31:20.010Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-08T03:31:30.697Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-08T03:31:35.050Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-08T03:31:35.050Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-08T03:31:35.050Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-08T03:31:35.634Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 25.5% of statements [2021-03-08T03:32:07.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.063s coverage: 10.5% of statements [2021-03-08T03:32:07.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.092s coverage: 12.5% of statements [2021-03-08T03:32:07.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-08T03:32:07.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.062s coverage: 84.8% of statements [2021-03-08T03:32:07.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-08T03:32:07.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-08T03:32:07.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-08T03:32:07.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-08T03:32:07.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 48.9% of statements [2021-03-08T03:32:07.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-08T03:32:07.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.071s coverage: 81.3% of statements [2021-03-08T03:32:07.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.064s coverage: 24.8% of statements [2021-03-08T03:32:07.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.391s coverage: 85.6% of statements [2021-03-08T03:32:07.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.2% of statements [2021-03-08T03:32:07.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-08T03:32:07.847Z] GO111MODULE=on go vet ./... [2021-03-08T03:32:09.716Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-08T03:32:09.716Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-08T03:32:09.716Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-08T03:32:15.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.121s coverage: 25.5% of statements [2021-03-08T03:32:17.965Z] gofmt -l . [2021-03-08T03:32:17.965Z] [ "`gofmt -l .`" = "" ] [2021-03-08T03:32:17.965Z] ./bin/test-attribution-txt.sh [2021-03-08T03:32:17.965Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-08T03:32:17.981Z] $ docker stop --time=1 aab7e8f3b2352d988d0a6a9448359c3c331615b082c672946d4a5db714724e44 [2021-03-08T03:32:20.129Z] $ docker rm -f aab7e8f3b2352d988d0a6a9448359c3c331615b082c672946d4a5db714724e44 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T03:32:20.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-08T03:32:21.273Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-08T03:32:22.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-08T03:32:22.871Z] + ls -al . [2021-03-08T03:32:22.871Z] total 184 [2021-03-08T03:32:22.871Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 8 03:32 . [2021-03-08T03:32:22.871Z] drwxrwxr-x. 4 jenkins jenkins 32 Mar 8 03:30 .. [2021-03-08T03:32:22.871Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 8 03:30 bin [2021-03-08T03:32:22.871Z] -rw-r--r--. 1 jenkins jenkins 101321 Mar 8 03:32 coverage.out [2021-03-08T03:32:22.871Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 8 03:30 Dockerfile.build [2021-03-08T03:32:22.871Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 8 03:30 .dockerignore [2021-03-08T03:32:22.871Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 8 03:30 example [2021-03-08T03:32:22.871Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 8 03:30 .git [2021-03-08T03:32:22.871Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 8 03:30 .github [2021-03-08T03:32:22.871Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 8 03:30 .gitignore [2021-03-08T03:32:22.871Z] -rw-r--r--. 1 jenkins jenkins 516 Mar 8 03:32 go.mod [2021-03-08T03:32:22.871Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 8 03:32 go.sum [2021-03-08T03:32:22.871Z] drwxrwxr-x. 13 jenkins jenkins 183 Mar 8 03:30 internal [2021-03-08T03:32:22.871Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 8 03:30 Jenkinsfile [2021-03-08T03:32:22.871Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 8 03:30 LICENSE [2021-03-08T03:32:22.871Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 8 03:30 Makefile [2021-03-08T03:32:22.871Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 8 03:30 openapi [2021-03-08T03:32:22.871Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 8 03:30 pkg [2021-03-08T03:32:22.871Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 8 03:30 README.md [2021-03-08T03:32:22.871Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 8 03:30 RELEASE-NOTES.txt [2021-03-08T03:32:22.871Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 8 03:30 snap [2021-03-08T03:32:22.871Z] -rw-rw-r--. 1 jenkins jenkins 12 Mar 8 03:27 VERSION [2021-03-08T03:32:22.871Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 8 03:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:32:23.183Z] + 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=62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 --label arch=amd64 --label version=2.0.0-dev.18 . [2021-03-08T03:32:23.446Z] Sending build context to Docker daemon 2.533MB [2021-03-08T03:32:23.446Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T03:32:23.446Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-08T03:32:23.446Z] ---> 599d5e1413a5 [2021-03-08T03:32:23.446Z] Step 3/24 : ARG MAKE='make build' [2021-03-08T03:32:24.022Z] ---> Running in 1f9e5fcc76dc [2021-03-08T03:32:24.284Z] Removing intermediate container 1f9e5fcc76dc [2021-03-08T03:32:24.284Z] ---> 968dca71e27e [2021-03-08T03:32:24.284Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-08T03:32:24.284Z] ---> Running in 686ab59ef1e4 [2021-03-08T03:32:24.546Z] Removing intermediate container 686ab59ef1e4 [2021-03-08T03:32:24.546Z] ---> ca1983366f6a [2021-03-08T03:32:24.546Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:32:24.546Z] ---> Running in bf738d1f3335 [2021-03-08T03:32:24.809Z] Removing intermediate container bf738d1f3335 [2021-03-08T03:32:24.809Z] ---> 022817816806 [2021-03-08T03:32:24.809Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T03:32:24.809Z] ---> Running in 1745fcb2b168 [2021-03-08T03:32:25.759Z] Removing intermediate container 1745fcb2b168 [2021-03-08T03:32:25.759Z] ---> 0f07847cd93c [2021-03-08T03:32:25.759Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-08T03:32:25.759Z] ---> Running in facc986af50a [2021-03-08T03:32:26.337Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-08T03:32:26.915Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-08T03:32:27.178Z] OK: 166 MiB in 39 packages [2021-03-08T03:32:27.758Z] Removing intermediate container facc986af50a [2021-03-08T03:32:27.759Z] ---> 4cb3e7719bec [2021-03-08T03:32:27.759Z] Step 8/24 : COPY . . [2021-03-08T03:32:28.706Z] ---> 3cd9938d489f [2021-03-08T03:32:28.706Z] Step 9/24 : RUN ${MAKE} [2021-03-08T03:32:28.706Z] ---> Running in 8f969ee8f4a4 [2021-03-08T03:32:29.289Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.18" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-08T03:32:37.549Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-08T03:32:40.108Z] Removing intermediate container 8f969ee8f4a4 [2021-03-08T03:32:40.108Z] ---> 7dad5aa2541a [2021-03-08T03:32:40.108Z] Step 10/24 : FROM scratch [2021-03-08T03:32:40.108Z] ---> [2021-03-08T03:32:40.108Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:32:40.108Z] ---> Running in 7ec528896ac6 [2021-03-08T03:32:40.108Z] Removing intermediate container 7ec528896ac6 [2021-03-08T03:32:40.108Z] ---> 06b068c7e34b [2021-03-08T03:32:40.108Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-08T03:32:40.108Z] ---> Running in 32bbd96658a6 [2021-03-08T03:32:40.108Z] Removing intermediate container 32bbd96658a6 [2021-03-08T03:32:40.108Z] ---> 2e5debd168f0 [2021-03-08T03:32:40.108Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-08T03:32:40.108Z] ---> Running in ce63e962e6f6 [2021-03-08T03:32:40.371Z] Removing intermediate container ce63e962e6f6 [2021-03-08T03:32:40.371Z] ---> aaf36c531ffe [2021-03-08T03:32:40.371Z] Step 14/24 : WORKDIR / [2021-03-08T03:32:40.371Z] ---> Running in 09804d8b13da [2021-03-08T03:32:40.634Z] Removing intermediate container 09804d8b13da [2021-03-08T03:32:40.634Z] ---> b3c5bd825e1d [2021-03-08T03:32:40.634Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-08T03:32:40.896Z] ---> 77d76917e1a8 [2021-03-08T03:32:40.896Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-08T03:32:41.472Z] ---> 8f3dc6b10a35 [2021-03-08T03:32:41.472Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-08T03:32:41.472Z] ---> 39912daf4801 [2021-03-08T03:32:41.472Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-08T03:32:41.735Z] ---> f9f693704c01 [2021-03-08T03:32:41.735Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-08T03:32:41.999Z] ---> 1d5a11fbadce [2021-03-08T03:32:41.999Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-08T03:32:41.999Z] ---> Running in 8368a913d95f [2021-03-08T03:32:42.262Z] Removing intermediate container 8368a913d95f [2021-03-08T03:32:42.262Z] ---> 6fff128f31ed [2021-03-08T03:32:42.262Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-08T03:32:42.262Z] ---> Running in 03dbd7b13eea [2021-03-08T03:32:42.524Z] Removing intermediate container 03dbd7b13eea [2021-03-08T03:32:42.524Z] ---> 5927ff3f9b80 [2021-03-08T03:32:42.524Z] Step 22/24 : LABEL arch=amd64 [2021-03-08T03:32:42.524Z] ---> Running in aec218a6fa9f [2021-03-08T03:32:42.786Z] Removing intermediate container aec218a6fa9f [2021-03-08T03:32:42.786Z] ---> 18aefdc18725 [2021-03-08T03:32:42.786Z] Step 23/24 : LABEL git_sha=62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 [2021-03-08T03:32:42.786Z] ---> Running in 324dd254de2a [2021-03-08T03:32:43.054Z] Removing intermediate container 324dd254de2a [2021-03-08T03:32:43.054Z] ---> a05a9f08779f [2021-03-08T03:32:43.054Z] Step 24/24 : LABEL version=2.0.0-dev.18 [2021-03-08T03:32:43.054Z] ---> Running in 242ab0ae9ccb [2021-03-08T03:32:43.316Z] Removing intermediate container 242ab0ae9ccb [2021-03-08T03:32:43.316Z] ---> 15a97f14f3c3 [2021-03-08T03:32:43.316Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-08T03:32:43.316Z] Successfully built 15a97f14f3c3 [2021-03-08T03:32:43.316Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:32:44.312Z] ---> job-cost.sh [2021-03-08T03:32:44.312Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5qD4 [2021-03-08T03:32:47.506Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.123s coverage: 10.5% of statements [2021-03-08T03:32:47.506Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.109s coverage: 12.5% of statements [2021-03-08T03:32:47.506Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-08T03:32:47.506Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.155s coverage: 84.8% of statements [2021-03-08T03:32:47.506Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-08T03:32:47.506Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-08T03:32:47.506Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-08T03:32:47.506Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-08T03:32:47.506Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.178s coverage: 48.9% of statements [2021-03-08T03:32:47.506Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-08T03:32:47.506Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.184s coverage: 81.3% of statements [2021-03-08T03:32:47.506Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.169s coverage: 24.8% of statements [2021-03-08T03:32:47.506Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.900s coverage: 85.6% of statements [2021-03-08T03:32:47.506Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.131s coverage: 5.2% of statements [2021-03-08T03:32:47.506Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-08T03:32:47.506Z] GO111MODULE=on go vet ./... [2021-03-08T03:32:59.261Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-08T03:33:20.127Z] gofmt -l . [2021-03-08T03:33:20.127Z] [ "`gofmt -l .`" = "" ] [2021-03-08T03:33:20.127Z] ./bin/test-attribution-txt.sh [2021-03-08T03:33:20.127Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-08T03:33:20.153Z] $ docker stop --time=1 4eda1db47c19e2fa8a3ce7af2ccbb2550299c9d357a123e5d861a4100ed635d5 [2021-03-08T03:33:22.440Z] $ docker rm -f 4eda1db47c19e2fa8a3ce7af2ccbb2550299c9d357a123e5d861a4100ed635d5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T03:33:23.593Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-08T03:33:23.658Z] Warning: overwriting stash ‘coverage-report’ [2021-03-08T03:33:24.462Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T03:33:25.140Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-08T03:33:25.478Z] + ls -al . [2021-03-08T03:33:25.478Z] total 220 [2021-03-08T03:33:25.478Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 03:33 . [2021-03-08T03:33:25.478Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:29 .. [2021-03-08T03:33:25.478Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 03:29 .dockerignore [2021-03-08T03:33:25.478Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 03:29 .git [2021-03-08T03:33:25.478Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 03:29 .github [2021-03-08T03:33:25.478Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 8 03:29 .gitignore [2021-03-08T03:33:25.478Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 8 03:29 Dockerfile.build [2021-03-08T03:33:25.478Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 8 03:29 Jenkinsfile [2021-03-08T03:33:25.478Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 03:29 LICENSE [2021-03-08T03:33:25.478Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 8 03:29 Makefile [2021-03-08T03:33:25.478Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 8 03:29 README.md [2021-03-08T03:33:25.478Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 8 03:29 RELEASE-NOTES.txt [2021-03-08T03:33:25.478Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 8 03:27 VERSION [2021-03-08T03:33:25.478Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 03:29 bin [2021-03-08T03:33:25.478Z] -rw-r--r-- 1 jenkins jenkins 101321 Mar 8 03:32 coverage.out [2021-03-08T03:33:25.478Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:29 example [2021-03-08T03:33:25.478Z] -rw-r--r-- 1 jenkins jenkins 516 Mar 8 03:33 go.mod [2021-03-08T03:33:25.478Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 8 03:33 go.sum [2021-03-08T03:33:25.478Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 8 03:29 internal [2021-03-08T03:33:25.478Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:29 openapi [2021-03-08T03:33:25.478Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 03:29 pkg [2021-03-08T03:33:25.478Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:29 snap [2021-03-08T03:33:25.478Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 03:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:33:25.832Z] + 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=62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 --label arch=arm64 --label version=2.0.0-dev.18 . [2021-03-08T03:33:26.105Z] Sending build context to Docker daemon 2.532MB [2021-03-08T03:33:26.381Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T03:33:26.381Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-08T03:33:26.381Z] ---> 1c8780327217 [2021-03-08T03:33:26.381Z] Step 3/24 : ARG MAKE='make build' [2021-03-08T03:33:26.654Z] ---> Running in 67be17c2bd75 [2021-03-08T03:33:26.931Z] Removing intermediate container 67be17c2bd75 [2021-03-08T03:33:26.931Z] ---> 199da261b738 [2021-03-08T03:33:26.931Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-08T03:33:27.207Z] ---> Running in b8dbebcd5dfd [2021-03-08T03:33:27.807Z] Removing intermediate container b8dbebcd5dfd [2021-03-08T03:33:27.807Z] ---> d064b60addc5 [2021-03-08T03:33:27.807Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:33:27.807Z] ---> Running in 3eb3e0a69c3d [2021-03-08T03:33:28.085Z] Removing intermediate container 3eb3e0a69c3d [2021-03-08T03:33:28.085Z] ---> 0c3c0407e0f1 [2021-03-08T03:33:28.085Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T03:33:28.363Z] ---> Running in 4b49526df1d1 [2021-03-08T03:33:30.412Z] Removing intermediate container 4b49526df1d1 [2021-03-08T03:33:30.412Z] ---> 8c12dc9051b3 [2021-03-08T03:33:30.412Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-08T03:33:30.688Z] ---> Running in d1bc0ca7d2bc [2021-03-08T03:33:31.480Z] lf-activate-venv(): INFO: Adding /tmp/venv-5qD4/bin to PATH [2021-03-08T03:33:31.480Z] INFO: No Stack... [2021-03-08T03:33:31.480Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-08T03:33:31.480Z] INFO: Archiving Costs [Pipeline] sh [2021-03-08T03:33:31.667Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-08T03:33:31.784Z] + cat /w/workspace/device-sdk-go/123/archives/cost.csv [2021-03-08T03:33:31.784Z] + cut -d, -f6 [Pipeline] lock [2021-03-08T03:33:31.937Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-123-stack-cost] [2021-03-08T03:33:31.944Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-123-stack-cost] did not exist. Created. [2021-03-08T03:33:31.944Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-08T03:33:32.263Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-08T03:33:32.337Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-08T03:33:32.530Z] Stashed 1 file(s) [Pipeline] } [2021-03-08T03:33:32.543Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-123-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-08T03:33:33.234Z] OK: 142 MiB in 39 packages [2021-03-08T03:33:34.218Z] Removing intermediate container d1bc0ca7d2bc [2021-03-08T03:33:34.218Z] ---> e37505297189 [2021-03-08T03:33:34.218Z] Step 8/24 : COPY . . [2021-03-08T03:33:35.196Z] ---> 239916149f15 [2021-03-08T03:33:35.196Z] Step 9/24 : RUN ${MAKE} [2021-03-08T03:33:35.468Z] ---> Running in 615faa594662 [2021-03-08T03:33:36.446Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.18" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-08T03:34:03.274Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-08T03:34:04.268Z] Removing intermediate container 615faa594662 [2021-03-08T03:34:04.268Z] ---> 7fd94b47b664 [2021-03-08T03:34:04.268Z] Step 10/24 : FROM scratch [2021-03-08T03:34:04.268Z] ---> [2021-03-08T03:34:04.268Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:34:04.541Z] ---> Running in 1a97141f3f4b [2021-03-08T03:34:04.812Z] Removing intermediate container 1a97141f3f4b [2021-03-08T03:34:04.812Z] ---> a2b2a9e51f1c [2021-03-08T03:34:04.812Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-08T03:34:05.082Z] ---> Running in 088072c97184 [2021-03-08T03:34:05.357Z] Removing intermediate container 088072c97184 [2021-03-08T03:34:05.357Z] ---> 8fec94f37449 [2021-03-08T03:34:05.357Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-08T03:34:05.642Z] ---> Running in ed1f9ca54ee5 [2021-03-08T03:34:05.915Z] Removing intermediate container ed1f9ca54ee5 [2021-03-08T03:34:05.915Z] ---> a703c9666486 [2021-03-08T03:34:05.915Z] Step 14/24 : WORKDIR / [2021-03-08T03:34:06.188Z] ---> Running in 12c312cdf711 [2021-03-08T03:34:06.459Z] Removing intermediate container 12c312cdf711 [2021-03-08T03:34:06.460Z] ---> d1c9f3f462d8 [2021-03-08T03:34:06.460Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-08T03:34:07.895Z] ---> 60ec6a573642 [2021-03-08T03:34:07.895Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-08T03:34:08.490Z] ---> 9af13c13f986 [2021-03-08T03:34:08.490Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-08T03:34:09.092Z] ---> cc1a5c46eda4 [2021-03-08T03:34:09.092Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-08T03:34:09.691Z] ---> 57d59546122b [2021-03-08T03:34:09.691Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-08T03:34:10.675Z] ---> 0e69ac4bce25 [2021-03-08T03:34:10.675Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-08T03:34:10.675Z] ---> Running in 4c9a15719002 [2021-03-08T03:34:11.268Z] Removing intermediate container 4c9a15719002 [2021-03-08T03:34:11.268Z] ---> 21ba513a13f2 [2021-03-08T03:34:11.268Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-08T03:34:11.268Z] ---> Running in 0bf90a8a2f27 [2021-03-08T03:34:11.861Z] Removing intermediate container 0bf90a8a2f27 [2021-03-08T03:34:11.861Z] ---> ff2df6dd809d [2021-03-08T03:34:11.861Z] Step 22/24 : LABEL arch=arm64 [2021-03-08T03:34:11.861Z] ---> Running in 05b269b698c7 [2021-03-08T03:34:12.467Z] Removing intermediate container 05b269b698c7 [2021-03-08T03:34:12.467Z] ---> cd6ca509e2ed [2021-03-08T03:34:12.467Z] Step 23/24 : LABEL git_sha=62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 [2021-03-08T03:34:12.467Z] ---> Running in c61b132bff4a [2021-03-08T03:34:12.742Z] Removing intermediate container c61b132bff4a [2021-03-08T03:34:12.742Z] ---> 60aa5cba95a2 [2021-03-08T03:34:12.742Z] Step 24/24 : LABEL version=2.0.0-dev.18 [2021-03-08T03:34:13.019Z] ---> Running in 25659563b369 [2021-03-08T03:34:13.614Z] Removing intermediate container 25659563b369 [2021-03-08T03:34:13.614Z] ---> 3c96e550eb8a [2021-03-08T03:34:13.614Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-08T03:34:13.614Z] Successfully built 3c96e550eb8a [2021-03-08T03:34:13.614Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:34:14.483Z] ---> job-cost.sh [2021-03-08T03:34:14.483Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uN1J [2021-03-08T03:34:53.429Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-08T03:37:00.223Z] lf-activate-venv(): INFO: Adding /tmp/venv-uN1J/bin to PATH [2021-03-08T03:37:00.223Z] INFO: No Stack... [2021-03-08T03:37:00.223Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-08T03:37:00.223Z] INFO: Archiving Costs [Pipeline] sh [2021-03-08T03:37:00.555Z] + cut -d, -f6 [2021-03-08T03:37:00.555Z] + cat /w/workspace/device-sdk-go/123/archives/cost.csv [Pipeline] lock [2021-03-08T03:37:00.670Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-123-stack-cost] [2021-03-08T03:37:00.680Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-123-stack-cost] did not exist. Created. [2021-03-08T03:37:00.680Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-08T03:37:01.116Z] /w/workspace/device-sdk-go/123@tmp/durable-4e6552a8/script.sh: 1: /w/workspace/device-sdk-go/123@tmp/durable-4e6552a8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-08T03:37:01.459Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-08T03:37:01.522Z] Warning: overwriting stash ‘stack-cost’ [2021-03-08T03:37:01.687Z] Stashed 1 file(s) [Pipeline] } [2021-03-08T03:37:01.702Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-123-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-08T03:37:02.907Z] provisioning config files... [2021-03-08T03:37:02.918Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1518893026767945301tmp [Pipeline] { [Pipeline] sh [2021-03-08T03:37:03.321Z] + set +x [2021-03-08T03:37:03.321Z] + curl -s https://codecov.io/bash [2021-03-08T03:37:03.321Z] + bash -s -- [2021-03-08T03:37:03.583Z] [2021-03-08T03:37:03.583Z] _____ _ [2021-03-08T03:37:03.583Z] / ____| | | [2021-03-08T03:37:03.583Z] | | ___ __| | ___ ___ _____ __ [2021-03-08T03:37:03.583Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-08T03:37:03.583Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-08T03:37:03.583Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-08T03:37:03.583Z] Bash-20210226-7100762 [2021-03-08T03:37:03.583Z] [2021-03-08T03:37:03.583Z] [2021-03-08T03:37:03.583Z] ==> git version 2.24.3 found [2021-03-08T03:37:03.583Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-08T03:37:03.583Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-08T03:37:03.583Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-08T03:37:03.583Z] ==> Jenkins CI detected. [2021-03-08T03:37:03.583Z] project root: . [2021-03-08T03:37:03.583Z] --> token set from env [2021-03-08T03:37:03.583Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-08T03:37:03.583Z] ==> Running gcov in . (disable via -X gcov) [2021-03-08T03:37:03.583Z] ==> Python coveragepy not found [2021-03-08T03:37:03.583Z] ==> Searching for coverage reports in: [2021-03-08T03:37:03.583Z] + . [2021-03-08T03:37:03.583Z] -> Found 1 reports [2021-03-08T03:37:03.583Z] ==> Detecting git/mercurial file structure [2021-03-08T03:37:03.583Z] ==> Reading reports [2021-03-08T03:37:03.583Z] + ./coverage.out bytes=101321 [2021-03-08T03:37:03.583Z] ==> Appending adjustments [2021-03-08T03:37:03.583Z] https://docs.codecov.io/docs/fixing-reports [2021-03-08T03:37:04.157Z] + Found adjustments [2021-03-08T03:37:04.157Z] ==> Gzipping contents [2021-03-08T03:37:04.157Z] 20K /tmp/codecov.GVATgq.gz [2021-03-08T03:37:04.157Z] ==> Uploading reports [2021-03-08T03:37:04.157Z] url: https://codecov.io [2021-03-08T03:37:04.157Z] query: branch=master&commit=62dc0a4d0d8d70c39ca7894a25731db064e1c9c7&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-08T03:37:04.157Z] -> Pinging Codecov [2021-03-08T03:37:04.157Z] https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=master&commit=62dc0a4d0d8d70c39ca7894a25731db064e1c9c7&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-08T03:37:04.418Z] -> Uploading to [2021-03-08T03:37:04.418Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-08/7E55EF52A471D76F132DFD9A03CDDE97/62dc0a4d0d8d70c39ca7894a25731db064e1c9c7/8ac1777d-6ab1-4630-9923-d68c18c3a8c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210308T033704Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=192cac5d6d41c758c57b543459b971e1df4b2e625c23c274e351a3fb2eb9a723 [2021-03-08T03:37:04.418Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-08T03:37:04.418Z] Dload Upload Total Spent Left Speed [2021-03-08T03:37:04.943Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16497 0 0 100 16497 0 34635 --:--:-- --:--:-- --:--:-- 34584 [2021-03-08T03:37:04.943Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 [Pipeline] } [2021-03-08T03:37:04.953Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-08T03:37:05.833Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-08T03:37:05.948Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:37:06.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-08T03:37:06.314Z] [2021-03-08T03:37:06.314Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:37:06.671Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-08T03:37:06.671Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-08T03:37:06.671Z] 188c0c94c7c5: Pulling fs layer [2021-03-08T03:37:06.671Z] 0ef7d3d256c8: Pulling fs layer [2021-03-08T03:37:06.671Z] de9db76c5a1d: Pulling fs layer [2021-03-08T03:37:06.671Z] 0eba1c9be4d2: Pulling fs layer [2021-03-08T03:37:06.671Z] 0d57e429df01: Pulling fs layer [2021-03-08T03:37:06.671Z] 4e4be7b47b0d: Pulling fs layer [2021-03-08T03:37:06.671Z] e1f770b5df2f: Pulling fs layer [2021-03-08T03:37:06.671Z] 85a0685a4137: Pulling fs layer [2021-03-08T03:37:06.671Z] 0eba1c9be4d2: Waiting [2021-03-08T03:37:06.671Z] 0d57e429df01: Waiting [2021-03-08T03:37:06.671Z] 4e4be7b47b0d: Waiting [2021-03-08T03:37:06.671Z] 85a0685a4137: Waiting [2021-03-08T03:37:06.671Z] e1f770b5df2f: Waiting [2021-03-08T03:37:06.671Z] de9db76c5a1d: Download complete [2021-03-08T03:37:06.671Z] 0ef7d3d256c8: Download complete [2021-03-08T03:37:06.671Z] 0d57e429df01: Verifying Checksum [2021-03-08T03:37:06.671Z] 0d57e429df01: Download complete [2021-03-08T03:37:06.671Z] 188c0c94c7c5: Verifying Checksum [2021-03-08T03:37:06.671Z] 188c0c94c7c5: Download complete [2021-03-08T03:37:06.671Z] 4e4be7b47b0d: Verifying Checksum [2021-03-08T03:37:06.671Z] 4e4be7b47b0d: Download complete [2021-03-08T03:37:07.250Z] 188c0c94c7c5: Pull complete [2021-03-08T03:37:07.526Z] 0ef7d3d256c8: Pull complete [2021-03-08T03:37:07.526Z] de9db76c5a1d: Pull complete [2021-03-08T03:37:08.920Z] e1f770b5df2f: Verifying Checksum [2021-03-08T03:37:08.920Z] e1f770b5df2f: Download complete [2021-03-08T03:37:10.866Z] 0eba1c9be4d2: Verifying Checksum [2021-03-08T03:37:10.866Z] 0eba1c9be4d2: Download complete [2021-03-08T03:37:11.138Z] 85a0685a4137: Verifying Checksum [2021-03-08T03:37:11.138Z] 85a0685a4137: Download complete [2021-03-08T03:37:17.814Z] 0eba1c9be4d2: Pull complete [2021-03-08T03:37:17.814Z] 0d57e429df01: Pull complete [2021-03-08T03:37:17.814Z] 4e4be7b47b0d: Pull complete [2021-03-08T03:37:19.742Z] e1f770b5df2f: Pull complete [2021-03-08T03:37:27.934Z] 85a0685a4137: Pull complete [2021-03-08T03:37:27.934Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-08T03:37:27.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-08T03:37:27.934Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-08T03:37:28.182Z] prd-centos7-docker-4c-2g-28928 does not seem to be running inside a container [2021-03-08T03:37:28.234Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-03-08T03:37:29.434Z] $ docker top 8f7b3b2bb7d3ad527c95e398c7bc9380236729cad293d8fa5dc7b6f9c5e80879 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-08T03:37:29.728Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-08T03:37:30.029Z] + set -o pipefail [2021-03-08T03:37:30.029Z] + snyk monitor '--org=edgex-jenkins' [2021-03-08T03:37:52.029Z] [2021-03-08T03:37:52.029Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-03-08T03:37:52.029Z] [2021-03-08T03:37:52.029Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/6f29bd60-de33-4551-a8dc-2a1d0b689718 [2021-03-08T03:37:52.029Z] [2021-03-08T03:37:52.029Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-08T03:37:52.029Z] [2021-03-08T03:37:52.029Z] [Pipeline] } [2021-03-08T03:37:52.045Z] $ docker stop --time=1 8f7b3b2bb7d3ad527c95e398c7bc9380236729cad293d8fa5dc7b6f9c5e80879 [2021-03-08T03:37:54.884Z] $ docker rm -f 8f7b3b2bb7d3ad527c95e398c7bc9380236729cad293d8fa5dc7b6f9c5e80879 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-03-08T03:37:56.119Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-08T03:37:56.190Z] provisioning config files... [2021-03-08T03:37:56.201Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3244472451600171359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:37:56.588Z] --> edgex-publish-swagger.sh [2021-03-08T03:37:56.589Z] === Publish openapi/v1 API === [2021-03-08T03:37:56.589Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-03-08T03:37:56.589Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-03-08T03:37:56.589Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-08T03:37:56.589Z] Dload Upload Total Spent Left Speed [2021-03-08T03:37:57.429Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 22701 --:--:-- --:--:-- --:--:-- 22692 [2021-03-08T03:37:57.429Z] [2021-03-08T03:37:57.429Z] [2021-03-08T03:37:57.429Z] === Publish openapi/v2 API === [2021-03-08T03:37:57.429Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-08T03:37:57.429Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-03-08T03:37:57.429Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-08T03:37:57.429Z] Dload Upload Total Spent Left Speed [2021-03-08T03:37:58.264Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52256 0 0 100 52256 0 72021 --:--:-- --:--:-- --:--:-- 71977 [2021-03-08T03:37:58.264Z] [2021-03-08T03:37:58.264Z] [Pipeline] } [2021-03-08T03:37:58.273Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-08T03:37:59.273Z] + git log --format=format:%s -1 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:37:59.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T03:37:59.581Z] . [Pipeline] withDockerContainer [2021-03-08T03:37:59.686Z] prd-centos7-docker-4c-2g-28928 does not seem to be running inside a container [2021-03-08T03:37:59.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-08T03:38:00.644Z] $ docker top cb5a6683a873f1507f8c8ee676006f8594004b377d4438cc109e341d0a5e19b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-08T03:38:01.027Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T03:38:01.027Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T03:38:01.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T03:38:01.336Z] $ docker exec cb5a6683a873f1507f8c8ee676006f8594004b377d4438cc109e341d0a5e19b6 ssh-agent [2021-03-08T03:38:01.535Z] SSH_AUTH_SOCK=/tmp/ssh-0ny8TEKjd4Dk/agent.11 [2021-03-08T03:38:01.535Z] SSH_AGENT_PID=16 [2021-03-08T03:38:01.544Z] Running ssh-add (command line suppressed) [2021-03-08T03:38:01.708Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7436330884458581100.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7436330884458581100.key) [2021-03-08T03:38:01.768Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T03:38:02.140Z] + git semver tag [2021-03-08T03:38:02.140Z] # -> Open(): unable to determine branch for HEAD [2021-03-08T03:38:02.140Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-08T03:38:02.140Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-08T03:38:02.140Z] # $SEMVER_REMOTE_NAME = origin [2021-03-08T03:38:02.140Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-08T03:38:02.140Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-08T03:38:02.140Z] # $SEMVER_BRANCH = master [2021-03-08T03:38:02.140Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-08T03:38:02.140Z] # 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 HEAD [2021-03-08T03:38:02.140Z] # -> Force: false [2021-03-08T03:38:02.140Z] # 035b9abfb96fd3beb3bfcefe22c89949973b0643 refs/tags/v2.0.0-dev.18 [Pipeline] } [2021-03-08T03:38:02.153Z] $ docker exec --env ******** --env ******** cb5a6683a873f1507f8c8ee676006f8594004b377d4438cc109e341d0a5e19b6 ssh-agent -k [2021-03-08T03:38:02.285Z] unset SSH_AUTH_SOCK; [2021-03-08T03:38:02.286Z] unset SSH_AGENT_PID; [2021-03-08T03:38:02.286Z] echo Agent pid 16 killed; [2021-03-08T03:38:02.334Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-08T03:38:02.806Z] + git semver [Pipeline] } [2021-03-08T03:38:02.824Z] $ docker stop --time=1 cb5a6683a873f1507f8c8ee676006f8594004b377d4438cc109e341d0a5e19b6 [2021-03-08T03:38:04.193Z] $ docker rm -f cb5a6683a873f1507f8c8ee676006f8594004b377d4438cc109e341d0a5e19b6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:38:04.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-08T03:38:04.808Z] [2021-03-08T03:38:04.808Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:38:05.286Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-08T03:38:05.286Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-08T03:38:05.286Z] ab5ef0e58194: Pulling fs layer [2021-03-08T03:38:05.286Z] 9712f1f96733: Pulling fs layer [2021-03-08T03:38:05.286Z] 63f879dbbcfc: Pulling fs layer [2021-03-08T03:38:05.286Z] 0d9ebad4ef96: Pulling fs layer [2021-03-08T03:38:05.286Z] e9a5061849ea: Pulling fs layer [2021-03-08T03:38:05.286Z] d747dcd14b5f: Pulling fs layer [2021-03-08T03:38:05.286Z] 2de7ff778b66: Pulling fs layer [2021-03-08T03:38:05.286Z] 0d9ebad4ef96: Waiting [2021-03-08T03:38:05.286Z] e9a5061849ea: Waiting [2021-03-08T03:38:05.286Z] 2de7ff778b66: Waiting [2021-03-08T03:38:05.286Z] d747dcd14b5f: Waiting [2021-03-08T03:38:05.286Z] 9712f1f96733: Verifying Checksum [2021-03-08T03:38:05.286Z] 9712f1f96733: Download complete [2021-03-08T03:38:07.894Z] 63f879dbbcfc: Verifying Checksum [2021-03-08T03:38:07.894Z] 63f879dbbcfc: Download complete [2021-03-08T03:38:07.894Z] e9a5061849ea: Download complete [2021-03-08T03:38:07.894Z] d747dcd14b5f: Verifying Checksum [2021-03-08T03:38:07.894Z] d747dcd14b5f: Download complete [2021-03-08T03:38:08.158Z] 2de7ff778b66: Verifying Checksum [2021-03-08T03:38:08.158Z] 2de7ff778b66: Download complete [2021-03-08T03:38:08.421Z] 0d9ebad4ef96: Verifying Checksum [2021-03-08T03:38:08.421Z] 0d9ebad4ef96: Download complete [2021-03-08T03:38:08.682Z] ab5ef0e58194: Verifying Checksum [2021-03-08T03:38:08.682Z] ab5ef0e58194: Download complete [2021-03-08T03:38:12.913Z] ab5ef0e58194: Pull complete [2021-03-08T03:38:13.176Z] 9712f1f96733: Pull complete [2021-03-08T03:38:15.113Z] 63f879dbbcfc: Pull complete [2021-03-08T03:38:21.770Z] 0d9ebad4ef96: Pull complete [2021-03-08T03:38:23.710Z] e9a5061849ea: Pull complete [2021-03-08T03:38:23.710Z] d747dcd14b5f: Pull complete [2021-03-08T03:38:26.289Z] 2de7ff778b66: Pull complete [2021-03-08T03:38:26.289Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-08T03:38:26.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-08T03:38:26.289Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-08T03:38:26.518Z] prd-centos7-docker-4c-2g-28928 does not seem to be running inside a container [2021-03-08T03:38:26.567Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-03-08T03:38:30.167Z] $ docker top 91bb203318178fa5a1c797e2258d5374e4298e5c7a7313e46e36c59b31bd9967 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-08T03:38:30.527Z] provisioning config files... [2021-03-08T03:38:30.539Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7391292328395849801tmp [2021-03-08T03:38:30.559Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config778261908873562203tmp [2021-03-08T03:38:30.577Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4636828654017246292tmp [Pipeline] { [Pipeline] echo [2021-03-08T03:38:30.685Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:38:30.990Z] ---> sigul-configuration.sh [2021-03-08T03:38:30.990Z] gpg: directory `/root/.gnupg' created [2021-03-08T03:38:30.990Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-08T03:38:30.990Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-08T03:38:30.990Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-08T03:38:30.990Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-08T03:38:30.990Z] gpg: CAST5 encrypted data [2021-03-08T03:38:31.253Z] gpg: encrypted with 1 passphrase [2021-03-08T03:38:31.253Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-08T03:38:31.565Z] + mkdir /home/jenkins [2021-03-08T03:38:31.565Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-08T03:38:31.878Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-03-08T03:38:31.890Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:38:32.191Z] ---> sigul-install.sh [2021-03-08T03:38:38.801Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-08T03:38:39.103Z] + git tag --list [2021-03-08T03:38:39.104Z] 0.7.1 [2021-03-08T03:38:39.104Z] delhi-tag [2021-03-08T03:38:39.104Z] v1.0.0 [2021-03-08T03:38:39.104Z] v1.1.0 [2021-03-08T03:38:39.104Z] v1.1.1 [2021-03-08T03:38:39.104Z] v1.1.2 [2021-03-08T03:38:39.104Z] v1.2.0 [2021-03-08T03:38:39.104Z] v1.2.1 [2021-03-08T03:38:39.104Z] v1.2.2 [2021-03-08T03:38:39.104Z] v1.2.3 [2021-03-08T03:38:39.104Z] v1.3.0 [2021-03-08T03:38:39.104Z] v1.4.0 [2021-03-08T03:38:39.104Z] v2.0.0-dev.1 [2021-03-08T03:38:39.104Z] v2.0.0-dev.10 [2021-03-08T03:38:39.104Z] v2.0.0-dev.11 [2021-03-08T03:38:39.104Z] v2.0.0-dev.12 [2021-03-08T03:38:39.104Z] v2.0.0-dev.13 [2021-03-08T03:38:39.104Z] v2.0.0-dev.14 [2021-03-08T03:38:39.104Z] v2.0.0-dev.15 [2021-03-08T03:38:39.104Z] v2.0.0-dev.16 [2021-03-08T03:38:39.104Z] v2.0.0-dev.17 [2021-03-08T03:38:39.104Z] v2.0.0-dev.18 [2021-03-08T03:38:39.104Z] v2.0.0-dev.2 [2021-03-08T03:38:39.104Z] v2.0.0-dev.3 [2021-03-08T03:38:39.104Z] v2.0.0-dev.4 [2021-03-08T03:38:39.104Z] v2.0.0-dev.5 [2021-03-08T03:38:39.104Z] v2.0.0-dev.6 [2021-03-08T03:38:39.104Z] v2.0.0-dev.7 [2021-03-08T03:38:39.104Z] v2.0.0-dev.8 [2021-03-08T03:38:39.104Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-08T03:38:39.407Z] + lftools sign git-tag v2.0.0-dev.18 [2021-03-08T03:38:40.798Z] Signing Git tag with Sigul... [2021-03-08T03:38:40.799Z] Signing v2.0.0-dev.18 [Pipeline] echo [2021-03-08T03:38:41.759Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:38:42.061Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-08T03:38:42.082Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-08T03:38:42.193Z] $ docker stop --time=1 91bb203318178fa5a1c797e2258d5374e4298e5c7a7313e46e36c59b31bd9967 [2021-03-08T03:38:44.252Z] $ docker rm -f 91bb203318178fa5a1c797e2258d5374e4298e5c7a7313e46e36c59b31bd9967 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:38:45.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T03:38:45.167Z] . [Pipeline] withDockerContainer [2021-03-08T03:38:45.282Z] prd-centos7-docker-4c-2g-28928 does not seem to be running inside a container [2021-03-08T03:38:45.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-08T03:38:46.111Z] $ docker top 134b4911fd773db03189a8984cb53e986445570e933576c8c6a51eba318783d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-08T03:38:46.509Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T03:38:46.510Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T03:38:46.757Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T03:38:46.761Z] $ docker exec 134b4911fd773db03189a8984cb53e986445570e933576c8c6a51eba318783d8 ssh-agent [2021-03-08T03:38:46.953Z] SSH_AUTH_SOCK=/tmp/ssh-mrbPZ7LfXS1Y/agent.11 [2021-03-08T03:38:46.953Z] SSH_AGENT_PID=16 [2021-03-08T03:38:46.967Z] Running ssh-add (command line suppressed) [2021-03-08T03:38:47.112Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2525824901133712288.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2525824901133712288.key) [2021-03-08T03:38:47.176Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T03:38:47.523Z] + git semver bump pre [2021-03-08T03:38:47.523Z] # -> Open(): unable to determine branch for HEAD [2021-03-08T03:38:47.523Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-08T03:38:47.523Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-08T03:38:47.523Z] # $SEMVER_REMOTE_NAME = origin [2021-03-08T03:38:47.523Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-08T03:38:47.523Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-08T03:38:47.523Z] # $SEMVER_BRANCH = master [2021-03-08T03:38:47.523Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-08T03:38:47.523Z] 2.0.0-dev.19 [Pipeline] } [2021-03-08T03:38:47.538Z] $ docker exec --env ******** --env ******** 134b4911fd773db03189a8984cb53e986445570e933576c8c6a51eba318783d8 ssh-agent -k [2021-03-08T03:38:47.701Z] unset SSH_AUTH_SOCK; [2021-03-08T03:38:47.701Z] unset SSH_AGENT_PID; [2021-03-08T03:38:47.701Z] echo Agent pid 16 killed; [2021-03-08T03:38:47.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-08T03:38:48.253Z] + git semver [Pipeline] } [2021-03-08T03:38:48.270Z] $ docker stop --time=1 134b4911fd773db03189a8984cb53e986445570e933576c8c6a51eba318783d8 [2021-03-08T03:38:49.662Z] $ docker rm -f 134b4911fd773db03189a8984cb53e986445570e933576c8c6a51eba318783d8 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:38:50.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T03:38:50.230Z] . [Pipeline] withDockerContainer [2021-03-08T03:38:50.336Z] prd-centos7-docker-4c-2g-28928 does not seem to be running inside a container [2021-03-08T03:38:50.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-08T03:38:51.246Z] $ docker top bf3229d2cc4259fc6e149b48c75b08f5b09157a921aaac4d016ed701fd32d31c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-08T03:38:51.569Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T03:38:51.569Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T03:38:51.796Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T03:38:51.799Z] $ docker exec bf3229d2cc4259fc6e149b48c75b08f5b09157a921aaac4d016ed701fd32d31c ssh-agent [2021-03-08T03:38:51.986Z] SSH_AUTH_SOCK=/tmp/ssh-ypEQzv9F3Wty/agent.11 [2021-03-08T03:38:51.986Z] SSH_AGENT_PID=16 [2021-03-08T03:38:51.993Z] Running ssh-add (command line suppressed) [2021-03-08T03:38:52.128Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2311275674008793009.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2311275674008793009.key) [2021-03-08T03:38:52.191Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T03:38:52.531Z] + git semver push [2021-03-08T03:38:52.531Z] # -> Open(): unable to determine branch for HEAD [2021-03-08T03:38:52.531Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-08T03:38:52.531Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-08T03:38:52.531Z] # $SEMVER_REMOTE_NAME = origin [2021-03-08T03:38:52.531Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-08T03:38:52.531Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-08T03:38:52.531Z] # $SEMVER_BRANCH = master [2021-03-08T03:38:52.531Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-08T03:38:56.759Z] $ docker exec --env ******** --env ******** bf3229d2cc4259fc6e149b48c75b08f5b09157a921aaac4d016ed701fd32d31c ssh-agent -k [2021-03-08T03:38:56.894Z] unset SSH_AUTH_SOCK; [2021-03-08T03:38:56.896Z] unset SSH_AGENT_PID; [2021-03-08T03:38:56.896Z] echo Agent pid 16 killed; [2021-03-08T03:38:56.967Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-08T03:38:57.450Z] + git semver [Pipeline] } [2021-03-08T03:38:57.467Z] $ docker stop --time=1 bf3229d2cc4259fc6e149b48c75b08f5b09157a921aaac4d016ed701fd32d31c [2021-03-08T03:38:58.842Z] $ docker rm -f bf3229d2cc4259fc6e149b48c75b08f5b09157a921aaac4d016ed701fd32d31c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:39:00.504Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:39:01.116Z] ---> package-listing.sh [2021-03-08T03:39:01.116Z] ++ facter osfamily [2021-03-08T03:39:01.116Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-08T03:39:01.116Z] + OS_FAMILY=redhat [2021-03-08T03:39:01.116Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-03-08T03:39:01.116Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-08T03:39:01.116Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-08T03:39:01.116Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-08T03:39:01.116Z] + PACKAGES=/tmp/packages_start.txt [2021-03-08T03:39:01.116Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-08T03:39:01.116Z] + PACKAGES=/tmp/packages_end.txt [2021-03-08T03:39:01.116Z] + case "${OS_FAMILY}" in [2021-03-08T03:39:01.116Z] + rpm -qa [2021-03-08T03:39:01.116Z] + sort [2021-03-08T03:39:06.431Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-08T03:39:06.431Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-08T03:39:06.431Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-08T03:39:06.431Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-08T03:39:06.431Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-03-08T03:39:06.431Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2021-03-08T03:39:06.446Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-08T03:39:06.742Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:39:07.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T03:39:07.050Z] [2021-03-08T03:39:07.050Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:39:07.402Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T03:39:07.402Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-08T03:39:07.402Z] df20fa9351a1: Pulling fs layer [2021-03-08T03:39:07.402Z] 36b3adc4ff6f: Pulling fs layer [2021-03-08T03:39:07.402Z] 8ad3a11d3b57: Pulling fs layer [2021-03-08T03:39:07.402Z] 46f8f816bc3b: Pulling fs layer [2021-03-08T03:39:07.402Z] 93b61091891f: Pulling fs layer [2021-03-08T03:39:07.402Z] 93b9cdb0e59b: Pulling fs layer [2021-03-08T03:39:07.402Z] 5e14af77c1be: Pulling fs layer [2021-03-08T03:39:07.402Z] 01666e4c0597: Pulling fs layer [2021-03-08T03:39:07.402Z] aa168da1d23b: Pulling fs layer [2021-03-08T03:39:07.402Z] 93b9cdb0e59b: Waiting [2021-03-08T03:39:07.402Z] 5e14af77c1be: Waiting [2021-03-08T03:39:07.402Z] 01666e4c0597: Waiting [2021-03-08T03:39:07.402Z] aa168da1d23b: Waiting [2021-03-08T03:39:07.402Z] 46f8f816bc3b: Waiting [2021-03-08T03:39:07.402Z] 93b61091891f: Waiting [2021-03-08T03:39:07.402Z] 36b3adc4ff6f: Verifying Checksum [2021-03-08T03:39:07.402Z] 36b3adc4ff6f: Download complete [2021-03-08T03:39:07.402Z] 46f8f816bc3b: Verifying Checksum [2021-03-08T03:39:07.402Z] 46f8f816bc3b: Download complete [2021-03-08T03:39:07.673Z] df20fa9351a1: Verifying Checksum [2021-03-08T03:39:07.673Z] df20fa9351a1: Download complete [2021-03-08T03:39:07.673Z] 93b9cdb0e59b: Verifying Checksum [2021-03-08T03:39:07.673Z] 93b9cdb0e59b: Download complete [2021-03-08T03:39:07.673Z] 93b61091891f: Verifying Checksum [2021-03-08T03:39:07.673Z] 93b61091891f: Download complete [2021-03-08T03:39:07.673Z] 5e14af77c1be: Verifying Checksum [2021-03-08T03:39:07.673Z] 5e14af77c1be: Download complete [2021-03-08T03:39:07.673Z] 01666e4c0597: Verifying Checksum [2021-03-08T03:39:07.673Z] 01666e4c0597: Download complete [2021-03-08T03:39:07.941Z] 8ad3a11d3b57: Verifying Checksum [2021-03-08T03:39:07.941Z] 8ad3a11d3b57: Download complete [2021-03-08T03:39:07.941Z] df20fa9351a1: Pull complete [2021-03-08T03:39:08.209Z] 36b3adc4ff6f: Pull complete [2021-03-08T03:39:09.617Z] 8ad3a11d3b57: Pull complete [2021-03-08T03:39:09.880Z] aa168da1d23b: Verifying Checksum [2021-03-08T03:39:09.880Z] aa168da1d23b: Download complete [2021-03-08T03:39:10.145Z] 46f8f816bc3b: Pull complete [2021-03-08T03:39:10.730Z] 93b61091891f: Pull complete [2021-03-08T03:39:10.730Z] 93b9cdb0e59b: Pull complete [2021-03-08T03:39:11.006Z] 5e14af77c1be: Pull complete [2021-03-08T03:39:11.006Z] 01666e4c0597: Pull complete [2021-03-08T03:39:19.183Z] aa168da1d23b: Pull complete [2021-03-08T03:39:19.183Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-08T03:39:19.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T03:39:19.183Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-08T03:39:19.328Z] prd-centos7-docker-4c-2g-28928 does not seem to be running inside a container [2021-03-08T03:39:19.373Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-08T03:39:22.109Z] $ docker top 29faa2af4a85fd92f0a7bf2a560592d0c2e7d616aee01485ffde7176e849fefa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T03:39:22.700Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-08T03:39:23.001Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-08T03:39:23.299Z] + ls /var/log/sa-host [2021-03-08T03:39:23.299Z] + sadf -c /var/log/sa-host/sa08 [2021-03-08T03:39:23.299Z] file_magic: OK [2021-03-08T03:39:23.299Z] HZ: Using current value: 100 [2021-03-08T03:39:23.300Z] file_header: OK [2021-03-08T03:39:23.300Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-08T03:39:23.300Z] Statistics: [2021-03-08T03:39:23.300Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-08T03:39:23.300Z] File successfully converted to sysstat format version 12.2.1 [2021-03-08T03:39:23.300Z] + sadf -c /var/log/sa-host/sa23 [2021-03-08T03:39:23.300Z] file_magic: OK [2021-03-08T03:39:23.300Z] HZ: Using current value: 100 [2021-03-08T03:39:23.300Z] file_header: OK [2021-03-08T03:39:23.300Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-08T03:39:23.300Z] Statistics: [2021-03-08T03:39:23.300Z] Hnuu...uuuununununu... [2021-03-08T03:39:23.300Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-08T03:39:23.967Z] provisioning config files... [2021-03-08T03:39:23.983Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6823008652138601195tmp [Pipeline] { [Pipeline] echo [2021-03-08T03:39:24.061Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:39:24.356Z] ---> create-netrc.sh [Pipeline] } [2021-03-08T03:39:24.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-08T03:39:24.460Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:39:24.761Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-08T03:39:24.773Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:39:25.080Z] ---> sudo-logs.sh [2021-03-08T03:39:25.080Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-08T03:39:25.187Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:39:25.491Z] ---> job-cost.sh [2021-03-08T03:39:25.491Z] lf-activate-venv: SKIPPING [2021-03-08T03:39:25.491Z] DEBUG: total: 0.20999999344348907 [2021-03-08T03:39:25.492Z] INFO: Retrieving Stack Cost... [2021-03-08T03:39:26.882Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-08T03:39:27.457Z] INFO: Archiving Costs [Pipeline] echo [2021-03-08T03:39:27.472Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:39:27.770Z] ---> logs-deploy.sh [2021-03-08T03:39:27.770Z] lf-activate-venv: SKIPPING [2021-03-08T03:39:27.770Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/123 [2021-03-08T03:39:27.770Z] INFO: archiving workspace using pattern(s): [2021-03-08T03:39:29.693Z] Archives upload complete. [2021-03-08T03:39:29.693Z] INFO: archiving logs to Nexus