Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29936 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 Commit message: "Merge pull request #818 from hahattan/sdk-api" > git rev-list --no-walk 4a48ed36b56f70f387819c322f1a51e9c7883451 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-16T04:19:25.457Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-16T04:19:25.731Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-16T04:19:25.835Z] ========================================================= [2021-03-16T04:19:25.835Z] EdgeX Global Pipelines Version Info [2021-03-16T04:19:25.835Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:19:27.319Z] ------------------- [2021-03-16T04:19:27.319Z] stable info: [2021-03-16T04:19:27.319Z] ------------------- [2021-03-16T04:19:27.319Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-16T04:19:27.319Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T04:19:27.319Z] Message: update stable to v1.0.184 [2021-03-16T04:19:28.269Z] ------------------- [2021-03-16T04:19:28.269Z] experimental info: [2021-03-16T04:19:28.269Z] ------------------- [2021-03-16T04:19:28.269Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-16T04:19:28.269Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-16T04:19:28.269Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-16T04:19:28.543Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-16T04:19:28.643Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-16T04:19:28.738Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-16T04:19:28.842Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-16T04:19:28.953Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-16T04:19:29.057Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-16T04:19:29.146Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-16T04:19:29.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-16T04:19:29.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-16T04:19:29.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-16T04:19:29.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-16T04:19:29.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-16T04:19:29.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-16T04:19:29.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-16T04:19:29.913Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-16T04:19:30.058Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T04:19:30.185Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T04:19:30.274Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-16T04:19:30.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-16T04:19:30.488Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-16T04:19:30.610Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-16T04:19:30.720Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-16T04:19:30.807Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-16T04:19:30.910Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-16T04:19:30.997Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-16T04:19:31.087Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-16T04:19:31.181Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-16T04:19:31.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-16T04:19:31.407Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-16T04:19:31.506Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 [Pipeline] echo [2021-03-16T04:19:31.619Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 79c5143 [Pipeline] echo [2021-03-16T04:19:31.726Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T04:19:31.997Z] provisioning config files... [2021-03-16T04:19:32.024Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3847634344393718486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:19:32.408Z] ---> docker-login.sh [2021-03-16T04:19:32.408Z] nexus3.edgexfoundry.org:10001 [2021-03-16T04:19:32.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:19:32.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:19:32.934Z] Configure a credential helper to remove this warning. See [2021-03-16T04:19:32.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:19:32.934Z] [2021-03-16T04:19:32.934Z] Login Succeeded [2021-03-16T04:19:32.934Z] nexus3.edgexfoundry.org:10002 [2021-03-16T04:19:32.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:19:32.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:19:32.934Z] Configure a credential helper to remove this warning. See [2021-03-16T04:19:32.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:19:32.934Z] [2021-03-16T04:19:32.934Z] Login Succeeded [2021-03-16T04:19:32.934Z] nexus3.edgexfoundry.org:10003 [2021-03-16T04:19:33.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:19:33.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:19:33.197Z] Configure a credential helper to remove this warning. See [2021-03-16T04:19:33.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:19:33.197Z] [2021-03-16T04:19:33.197Z] Login Succeeded [2021-03-16T04:19:33.197Z] nexus3.edgexfoundry.org:10004 [2021-03-16T04:19:33.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:19:33.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:19:33.459Z] Configure a credential helper to remove this warning. See [2021-03-16T04:19:33.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:19:33.459Z] [2021-03-16T04:19:33.459Z] Login Succeeded [2021-03-16T04:19:33.459Z] docker.io [2021-03-16T04:19:33.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:19:33.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:19:33.723Z] Configure a credential helper to remove this warning. See [2021-03-16T04:19:33.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:19:33.723Z] [2021-03-16T04:19:33.723Z] Login Succeeded [2021-03-16T04:19:33.723Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T04:19:33.734Z] 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-16T04:19:34.547Z] + git log --format=format:%s -1 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 [Pipeline] echo [2021-03-16T04:19:34.619Z] GIT_COMMIT: 79c51434d0b6ff974f0a74c9d16ec224deffdcc1, Commit Message: Merge pull request #818 from hahattan/sdk-api [Pipeline] echo [2021-03-16T04:19:34.670Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:19:35.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T04:19:35.787Z] [2021-03-16T04:19:35.787Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:19:36.150Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T04:19:36.150Z] latest: Pulling from edgex-devops/git-semver [2021-03-16T04:19:36.150Z] 31603596830f: Pulling fs layer [2021-03-16T04:19:36.150Z] 2a8b12db71e7: Pulling fs layer [2021-03-16T04:19:36.150Z] 6ca5941a6612: Pulling fs layer [2021-03-16T04:19:36.150Z] ecc8261a40a4: Pulling fs layer [2021-03-16T04:19:36.150Z] ecc8261a40a4: Waiting [2021-03-16T04:19:36.150Z] 2a8b12db71e7: Download complete [2021-03-16T04:19:36.412Z] 31603596830f: Verifying Checksum [2021-03-16T04:19:36.412Z] 31603596830f: Download complete [2021-03-16T04:19:36.412Z] ecc8261a40a4: Verifying Checksum [2021-03-16T04:19:36.412Z] ecc8261a40a4: Download complete [2021-03-16T04:19:36.412Z] 6ca5941a6612: Verifying Checksum [2021-03-16T04:19:36.412Z] 6ca5941a6612: Download complete [2021-03-16T04:19:36.676Z] 31603596830f: Pull complete [2021-03-16T04:19:36.939Z] 2a8b12db71e7: Pull complete [2021-03-16T04:19:37.886Z] 6ca5941a6612: Pull complete [2021-03-16T04:19:37.886Z] ecc8261a40a4: Pull complete [2021-03-16T04:19:37.886Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-16T04:19:37.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T04:19:37.886Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-16T04:19:37.987Z] prd-centos7-docker-4c-2g-29936 does not seem to be running inside a container [2021-03-16T04:19:38.035Z] $ 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-16T04:19:39.818Z] $ docker top 7d727d5e71a953dae7207fe0c2e2caea8f5e15667d2f540c104a1b6e65125010 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-16T04:19:40.202Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T04:19:40.202Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T04:19:40.427Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T04:19:40.434Z] $ docker exec 7d727d5e71a953dae7207fe0c2e2caea8f5e15667d2f540c104a1b6e65125010 ssh-agent [2021-03-16T04:19:40.593Z] SSH_AUTH_SOCK=/tmp/ssh-Vee9onaGp3MP/agent.12 [2021-03-16T04:19:40.593Z] SSH_AGENT_PID=17 [2021-03-16T04:19:40.603Z] Running ssh-add (command line suppressed) [2021-03-16T04:19:40.721Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1921494108299176206.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1921494108299176206.key) [2021-03-16T04:19:40.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T04:19:41.098Z] + git tag --points-at HEAD [Pipeline] } [2021-03-16T04:19:41.122Z] $ docker exec --env ******** --env ******** 7d727d5e71a953dae7207fe0c2e2caea8f5e15667d2f540c104a1b6e65125010 ssh-agent -k [2021-03-16T04:19:41.234Z] unset SSH_AUTH_SOCK; [2021-03-16T04:19:41.234Z] unset SSH_AGENT_PID; [2021-03-16T04:19:41.235Z] echo Agent pid 17 killed; [2021-03-16T04:19:41.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-16T04:19:41.434Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T04:19:41.434Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T04:19:41.599Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T04:19:41.605Z] $ docker exec 7d727d5e71a953dae7207fe0c2e2caea8f5e15667d2f540c104a1b6e65125010 ssh-agent [2021-03-16T04:19:41.762Z] SSH_AUTH_SOCK=/tmp/ssh-gV31KIjAyzb1/agent.47 [2021-03-16T04:19:41.762Z] SSH_AGENT_PID=53 [2021-03-16T04:19:41.768Z] Running ssh-add (command line suppressed) [2021-03-16T04:19:41.884Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2739957871916095781.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2739957871916095781.key) [2021-03-16T04:19:41.930Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T04:19:42.269Z] + git semver init [2021-03-16T04:19:42.269Z] # -> Open(): unable to determine branch for HEAD [2021-03-16T04:19:42.269Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-16T04:19:42.269Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-16T04:19:42.269Z] # $SEMVER_REMOTE_NAME = origin [2021-03-16T04:19:42.269Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-16T04:19:42.269Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-16T04:19:42.269Z] # $SEMVER_BRANCH = master [2021-03-16T04:19:42.269Z] # $SEMVER_TEMP = /tmp/semver-298224892 [2021-03-16T04:19:42.269Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-16T04:19:43.216Z] # '/tmp/semver-298224892' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-03-16T04:19:43.216Z] # -> Force: false [2021-03-16T04:19:43.216Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-16T04:19:43.231Z] $ docker exec --env ******** --env ******** 7d727d5e71a953dae7207fe0c2e2caea8f5e15667d2f540c104a1b6e65125010 ssh-agent -k [2021-03-16T04:19:43.348Z] unset SSH_AUTH_SOCK; [2021-03-16T04:19:43.348Z] unset SSH_AGENT_PID; [2021-03-16T04:19:43.348Z] echo Agent pid 53 killed; [2021-03-16T04:19:43.391Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-16T04:19:44.124Z] + git semver [Pipeline] } [2021-03-16T04:19:44.145Z] $ docker stop --time=1 7d727d5e71a953dae7207fe0c2e2caea8f5e15667d2f540c104a1b6e65125010 [2021-03-16T04:19:45.571Z] $ docker rm -f 7d727d5e71a953dae7207fe0c2e2caea8f5e15667d2f540c104a1b6e65125010 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T04:19:46.037Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-16T04:19:46.438Z] Stashed 1 file(s) [Pipeline] echo [2021-03-16T04:19:46.441Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.23 [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-16T04:20:01.942Z] Still waiting to schedule task [2021-03-16T04:20:01.942Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-16T04:20:01.944Z] Still waiting to schedule task [2021-03-16T04:20:01.944Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-16T04:21:52.630Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29937 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-16T04:21:52.722Z] Running in /w/workspace/device-sdk-go/128 [Pipeline] { [Pipeline] checkout [2021-03-16T04:21:57.794Z] using credential edgex-jenkins-ssh [2021-03-16T04:21:57.854Z] Cloning the remote Git repository [2021-03-16T04:21:57.918Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T04:21:58.032Z] > git init /w/workspace/device-sdk-go/128 # timeout=10 [2021-03-16T04:21:58.113Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T04:21:58.114Z] > git --version # timeout=10 [2021-03-16T04:21:58.135Z] > git --version # 'git version 2.17.1' [2021-03-16T04:21:58.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T04:21:58.211Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T04:21:59.953Z] Checking out Revision 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (master) [2021-03-16T04:21:59.369Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T04:21:59.387Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T04:21:59.414Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T04:21:59.449Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T04:21:59.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T04:21:59.465Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-16T04:21:59.976Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T04:21:59.997Z] > git checkout -f 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 [2021-03-16T04:22:04.397Z] Commit message: "Merge pull request #818 from hahattan/sdk-api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T04:22:06.095Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-16T04:22:06.515Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-16T04:22:06.857Z] + sudo service docker restart [2021-03-16T04:22:06.857Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T04:22:09.581Z] provisioning config files... [2021-03-16T04:22:09.620Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/128@tmp/config2311105844624273383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:22:10.123Z] ---> docker-login.sh [2021-03-16T04:22:10.123Z] nexus3.edgexfoundry.org:10001 [2021-03-16T04:22:11.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:22:11.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:22:11.381Z] Configure a credential helper to remove this warning. See [2021-03-16T04:22:11.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:22:11.381Z] [2021-03-16T04:22:11.381Z] Login Succeeded [2021-03-16T04:22:11.381Z] nexus3.edgexfoundry.org:10002 [2021-03-16T04:22:11.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:22:11.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:22:11.932Z] Configure a credential helper to remove this warning. See [2021-03-16T04:22:11.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:22:11.932Z] [2021-03-16T04:22:11.932Z] Login Succeeded [2021-03-16T04:22:11.932Z] nexus3.edgexfoundry.org:10003 [2021-03-16T04:22:12.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:22:12.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:22:12.489Z] Configure a credential helper to remove this warning. See [2021-03-16T04:22:12.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:22:12.489Z] [2021-03-16T04:22:12.489Z] Login Succeeded [2021-03-16T04:22:12.489Z] nexus3.edgexfoundry.org:10004 [2021-03-16T04:22:12.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:22:12.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:22:12.768Z] Configure a credential helper to remove this warning. See [2021-03-16T04:22:12.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:22:12.768Z] [2021-03-16T04:22:12.768Z] Login Succeeded [2021-03-16T04:22:12.768Z] docker.io [2021-03-16T04:22:13.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:22:13.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:22:13.646Z] Configure a credential helper to remove this warning. See [2021-03-16T04:22:13.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:22:13.646Z] [2021-03-16T04:22:13.646Z] Login Succeeded [2021-03-16T04:22:13.646Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T04:22:13.664Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-16T04:22:14.151Z] ========================================================= [2021-03-16T04:22:14.152Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-16T04:22:14.152Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:22:14.552Z] + 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-16T04:22:14.829Z] Sending build context to Docker daemon 2.256MB [2021-03-16T04:22:15.102Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T04:22:15.102Z] Step 2/8 : FROM ${BASE} [2021-03-16T04:22:15.102Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-16T04:22:15.102Z] 5f621e34cdf4: Pulling fs layer [2021-03-16T04:22:15.102Z] a4357932f1b6: Pulling fs layer [2021-03-16T04:22:15.102Z] 18c013af1878: Pulling fs layer [2021-03-16T04:22:15.102Z] 00ac8860ef70: Pulling fs layer [2021-03-16T04:22:15.102Z] 63d7cb157983: Pulling fs layer [2021-03-16T04:22:15.102Z] b116817d02f9: Pulling fs layer [2021-03-16T04:22:15.102Z] 745a02a5169b: Pulling fs layer [2021-03-16T04:22:15.102Z] 00ac8860ef70: Waiting [2021-03-16T04:22:15.102Z] 63d7cb157983: Waiting [2021-03-16T04:22:15.102Z] b116817d02f9: Waiting [2021-03-16T04:22:15.102Z] 745a02a5169b: Waiting [2021-03-16T04:22:15.102Z] 18c013af1878: Verifying Checksum [2021-03-16T04:22:15.102Z] a4357932f1b6: Verifying Checksum [2021-03-16T04:22:15.102Z] 18c013af1878: Download complete [2021-03-16T04:22:15.102Z] a4357932f1b6: Download complete [2021-03-16T04:22:15.102Z] 63d7cb157983: Verifying Checksum [2021-03-16T04:22:15.102Z] 63d7cb157983: Download complete [2021-03-16T04:22:15.700Z] 5f621e34cdf4: Verifying Checksum [2021-03-16T04:22:15.700Z] 5f621e34cdf4: Download complete [2021-03-16T04:22:15.700Z] b116817d02f9: Verifying Checksum [2021-03-16T04:22:15.700Z] b116817d02f9: Download complete [2021-03-16T04:22:15.991Z] 5f621e34cdf4: Pull complete [2021-03-16T04:22:16.603Z] a4357932f1b6: Pull complete [2021-03-16T04:22:17.207Z] 18c013af1878: Pull complete [2021-03-16T04:22:18.199Z] 745a02a5169b: Verifying Checksum [2021-03-16T04:22:18.199Z] 745a02a5169b: Download complete [2021-03-16T04:22:19.182Z] 00ac8860ef70: Verifying Checksum [2021-03-16T04:22:19.182Z] 00ac8860ef70: Download complete [2021-03-16T04:22:24.614Z] Running on prd-centos7-docker-4c-2g-29938 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-16T04:22:24.669Z] Running in /w/workspace/device-sdk-go/128 [Pipeline] { [Pipeline] checkout [2021-03-16T04:22:27.119Z] using credential edgex-jenkins-ssh [2021-03-16T04:22:27.173Z] Cloning the remote Git repository [2021-03-16T04:22:26.810Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T04:22:26.877Z] > git init /w/workspace/device-sdk-go/128 # timeout=10 [2021-03-16T04:22:26.942Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T04:22:26.942Z] > git --version # timeout=10 [2021-03-16T04:22:26.950Z] > git --version # 'git version 2.24.3' [2021-03-16T04:22:26.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T04:22:26.976Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T04:22:27.709Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T04:22:27.715Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-16T04:22:27.730Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-16T04:22:27.743Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-16T04:22:27.744Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-16T04:22:27.750Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-16T04:22:28.413Z] Checking out Revision 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (master) [2021-03-16T04:22:28.139Z] > git config core.sparsecheckout # timeout=10 [2021-03-16T04:22:28.144Z] > git checkout -f 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 [2021-03-16T04:22:29.351Z] 00ac8860ef70: Pull complete [2021-03-16T04:22:29.626Z] 63d7cb157983: Pull complete [2021-03-16T04:22:29.902Z] b116817d02f9: Pull complete [2021-03-16T04:22:31.802Z] Commit message: "Merge pull request #818 from hahattan/sdk-api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T04:22:32.977Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-16T04:22:33.313Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-16T04:22:33.612Z] + sudo service docker restart [2021-03-16T04:22:33.612Z] + true [2021-03-16T04:22:33.612Z] Redirecting to /bin/systemctl restart docker.service [2021-03-16T04:22:34.236Z] 745a02a5169b: Pull complete [2021-03-16T04:22:34.237Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-16T04:22:34.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-16T04:22:34.237Z] ---> b7e6874047d6 [2021-03-16T04:22:34.237Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-16T04:22:35.073Z] provisioning config files... [2021-03-16T04:22:35.097Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/128@tmp/config2591124869286526832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:22:35.462Z] ---> docker-login.sh [2021-03-16T04:22:35.462Z] nexus3.edgexfoundry.org:10001 [2021-03-16T04:22:35.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:22:35.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:22:35.726Z] Configure a credential helper to remove this warning. See [2021-03-16T04:22:35.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:22:35.726Z] [2021-03-16T04:22:35.726Z] Login Succeeded [2021-03-16T04:22:35.726Z] nexus3.edgexfoundry.org:10002 [2021-03-16T04:22:35.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:22:35.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:22:35.989Z] Configure a credential helper to remove this warning. See [2021-03-16T04:22:35.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:22:35.989Z] [2021-03-16T04:22:35.989Z] Login Succeeded [2021-03-16T04:22:35.989Z] nexus3.edgexfoundry.org:10003 [2021-03-16T04:22:35.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:22:36.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:22:36.252Z] Configure a credential helper to remove this warning. See [2021-03-16T04:22:36.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:22:36.252Z] [2021-03-16T04:22:36.252Z] Login Succeeded [2021-03-16T04:22:36.252Z] nexus3.edgexfoundry.org:10004 [2021-03-16T04:22:36.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:22:36.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:22:36.252Z] Configure a credential helper to remove this warning. See [2021-03-16T04:22:36.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:22:36.252Z] [2021-03-16T04:22:36.252Z] Login Succeeded [2021-03-16T04:22:36.252Z] docker.io [2021-03-16T04:22:36.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-16T04:22:36.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-16T04:22:36.776Z] Configure a credential helper to remove this warning. See [2021-03-16T04:22:36.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-16T04:22:36.776Z] [2021-03-16T04:22:36.776Z] Login Succeeded [2021-03-16T04:22:36.776Z] ---> docker-login.sh ends [Pipeline] } [2021-03-16T04:22:36.785Z] Deleting 1 temporary files [Pipeline] // wrap [2021-03-16T04:22:36.860Z] ---> Running in 36e13071a0b2 [2021-03-16T04:22:36.860Z] Removing intermediate container 36e13071a0b2 [2021-03-16T04:22:36.860Z] ---> 3331a13e2a0b [2021-03-16T04:22:36.860Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T04:22:36.860Z] ---> Running in 89e4a3f39e45 [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-16T04:22:37.125Z] ========================================================= [2021-03-16T04:22:37.125Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-16T04:22:37.125Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:22:37.464Z] + 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-16T04:22:37.464Z] Sending build context to Docker daemon 2.257MB [2021-03-16T04:22:37.464Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T04:22:37.464Z] Step 2/8 : FROM ${BASE} [2021-03-16T04:22:37.737Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-16T04:22:37.737Z] 188c0c94c7c5: Pulling fs layer [2021-03-16T04:22:37.737Z] 0ef7d3d256c8: Pulling fs layer [2021-03-16T04:22:37.737Z] de9db76c5a1d: Pulling fs layer [2021-03-16T04:22:37.737Z] bca2f99d35d6: Pulling fs layer [2021-03-16T04:22:37.737Z] 93359f2a8cfa: Pulling fs layer [2021-03-16T04:22:37.737Z] 7c6f9722023f: Pulling fs layer [2021-03-16T04:22:37.737Z] a35cf1a2eb13: Pulling fs layer [2021-03-16T04:22:37.737Z] 93359f2a8cfa: Waiting [2021-03-16T04:22:37.737Z] 7c6f9722023f: Waiting [2021-03-16T04:22:37.737Z] a35cf1a2eb13: Waiting [2021-03-16T04:22:37.737Z] bca2f99d35d6: Waiting [2021-03-16T04:22:37.737Z] de9db76c5a1d: Verifying Checksum [2021-03-16T04:22:37.737Z] de9db76c5a1d: Download complete [2021-03-16T04:22:37.737Z] 0ef7d3d256c8: Verifying Checksum [2021-03-16T04:22:37.737Z] 0ef7d3d256c8: Download complete [2021-03-16T04:22:37.737Z] 93359f2a8cfa: Verifying Checksum [2021-03-16T04:22:37.737Z] 93359f2a8cfa: Download complete [2021-03-16T04:22:37.737Z] 7c6f9722023f: Download complete [2021-03-16T04:22:37.737Z] 188c0c94c7c5: Verifying Checksum [2021-03-16T04:22:37.737Z] 188c0c94c7c5: Download complete [2021-03-16T04:22:38.001Z] 188c0c94c7c5: Pull complete [2021-03-16T04:22:38.263Z] 0ef7d3d256c8: Pull complete [2021-03-16T04:22:38.528Z] de9db76c5a1d: Pull complete [2021-03-16T04:22:38.846Z] Removing intermediate container 89e4a3f39e45 [2021-03-16T04:22:38.846Z] ---> 3b5561457cbf [2021-03-16T04:22:38.846Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-16T04:22:39.118Z] ---> Running in ff0c3dfe9b92 [2021-03-16T04:22:39.475Z] a35cf1a2eb13: Verifying Checksum [2021-03-16T04:22:39.475Z] a35cf1a2eb13: Download complete [2021-03-16T04:22:40.049Z] bca2f99d35d6: Verifying Checksum [2021-03-16T04:22:40.049Z] bca2f99d35d6: Download complete [2021-03-16T04:22:40.094Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-16T04:22:41.063Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-16T04:22:41.668Z] OK: 142 MiB in 39 packages [2021-03-16T04:22:42.647Z] Removing intermediate container ff0c3dfe9b92 [2021-03-16T04:22:42.647Z] ---> dd5f9e358118 [2021-03-16T04:22:42.647Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-16T04:22:42.647Z] ---> Running in b063b82248ad [2021-03-16T04:22:43.242Z] Removing intermediate container b063b82248ad [2021-03-16T04:22:43.242Z] ---> 80b170b97ab1 [2021-03-16T04:22:43.242Z] Step 7/8 : COPY . . [2021-03-16T04:22:44.226Z] ---> caa80b9ad6aa [2021-03-16T04:22:44.226Z] Step 8/8 : RUN go mod download [2021-03-16T04:22:44.496Z] ---> Running in dcc75e73ed1b [2021-03-16T04:22:45.364Z] bca2f99d35d6: Pull complete [2021-03-16T04:22:45.364Z] 93359f2a8cfa: Pull complete [2021-03-16T04:22:45.626Z] 7c6f9722023f: Pull complete [2021-03-16T04:22:50.945Z] a35cf1a2eb13: Pull complete [2021-03-16T04:22:50.945Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-16T04:22:50.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-16T04:22:50.945Z] ---> a62c8e92a672 [2021-03-16T04:22:50.945Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T04:22:50.945Z] ---> Running in dbf80236e0ab [2021-03-16T04:22:50.945Z] Removing intermediate container dbf80236e0ab [2021-03-16T04:22:50.945Z] ---> e4e52a703f9d [2021-03-16T04:22:50.945Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T04:22:50.945Z] ---> Running in 7c78c9a019bc [2021-03-16T04:22:51.899Z] Removing intermediate container 7c78c9a019bc [2021-03-16T04:22:51.899Z] ---> e069b55339e3 [2021-03-16T04:22:51.899Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-16T04:22:52.170Z] ---> Running in 99b289d3e33a [2021-03-16T04:22:52.746Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-16T04:22:53.323Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-16T04:22:53.901Z] OK: 166 MiB in 39 packages [2021-03-16T04:22:54.481Z] Removing intermediate container 99b289d3e33a [2021-03-16T04:22:54.481Z] ---> d9f399c43def [2021-03-16T04:22:54.481Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-16T04:22:54.481Z] ---> Running in 70abe6d0a58d [2021-03-16T04:22:54.481Z] Removing intermediate container 70abe6d0a58d [2021-03-16T04:22:54.481Z] ---> ac4bedf39e3b [2021-03-16T04:22:54.481Z] Step 7/8 : COPY . . [2021-03-16T04:22:55.877Z] ---> c23a9e8fd09a [2021-03-16T04:22:55.877Z] Step 8/8 : RUN go mod download [2021-03-16T04:22:55.877Z] ---> Running in 82d152dfdbf6 [2021-03-16T04:23:11.280Z] Removing intermediate container dcc75e73ed1b [2021-03-16T04:23:11.281Z] ---> 272e5d8f7164 [2021-03-16T04:23:11.281Z] Successfully built 272e5d8f7164 [2021-03-16T04:23:11.281Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:23:11.632Z] + docker inspect -f . ci-base-image-arm64 [2021-03-16T04:23:11.632Z] . [Pipeline] withDockerContainer [2021-03-16T04:23:11.907Z] prd-ubuntu18.04-docker-arm64-4c-16g-29937 does not seem to be running inside a container [2021-03-16T04:23:11.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/128 -v /w/workspace/device-sdk-go/128:/w/workspace/device-sdk-go/128:rw,z -v /w/workspace/device-sdk-go/128@tmp:/w/workspace/device-sdk-go/128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-16T04:23:13.493Z] $ docker top b1ca461a48e14258dfb4b14f3d2b499312c5581dcba88f55c723f9359f64fb6b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T04:23:14.475Z] + go version [2021-03-16T04:23:14.476Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-16T04:23:14.498Z] $ docker stop --time=1 b1ca461a48e14258dfb4b14f3d2b499312c5581dcba88f55c723f9359f64fb6b [2021-03-16T04:23:16.430Z] $ docker rm -f b1ca461a48e14258dfb4b14f3d2b499312c5581dcba88f55c723f9359f64fb6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:23:17.501Z] + docker inspect -f . ci-base-image-arm64 [2021-03-16T04:23:17.501Z] . [Pipeline] withDockerContainer [2021-03-16T04:23:17.764Z] prd-ubuntu18.04-docker-arm64-4c-16g-29937 does not seem to be running inside a container [2021-03-16T04:23:17.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/128 -v /w/workspace/device-sdk-go/128:/w/workspace/device-sdk-go/128:rw,z -v /w/workspace/device-sdk-go/128@tmp:/w/workspace/device-sdk-go/128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-16T04:23:17.906Z] Removing intermediate container 82d152dfdbf6 [2021-03-16T04:23:17.906Z] ---> ec9f0564ab2a [2021-03-16T04:23:17.906Z] Successfully built ec9f0564ab2a [2021-03-16T04:23:17.906Z] Successfully tagged ci-base-image-x86_64:latest [2021-03-16T04:23:19.320Z] $ docker top b619a862b5b0ae291f7f27ed979ba19dff8ac7339d562b65ab571b7b5821e177 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:23:20.068Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-16T04:23:20.068Z] . [Pipeline] withDockerContainer [2021-03-16T04:23:20.248Z] prd-centos7-docker-4c-2g-29938 does not seem to be running inside a container [2021-03-16T04:23:20.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/128 -v /w/workspace/device-sdk-go/128:/w/workspace/device-sdk-go/128:rw,z -v /w/workspace/device-sdk-go/128@tmp:/w/workspace/device-sdk-go/128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-16T04:23:20.309Z] + make test [2021-03-16T04:23:20.309Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-16T04:23:21.040Z] $ docker top da2251753d4c4d7ce067b3b10cfe31b4ff2d152be69b03da22c4d76d18ad6315 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T04:23:21.512Z] + go version [2021-03-16T04:23:21.512Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-16T04:23:21.534Z] $ docker stop --time=1 da2251753d4c4d7ce067b3b10cfe31b4ff2d152be69b03da22c4d76d18ad6315 [2021-03-16T04:23:22.881Z] $ docker rm -f da2251753d4c4d7ce067b3b10cfe31b4ff2d152be69b03da22c4d76d18ad6315 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:23:23.690Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-16T04:23:23.690Z] . [Pipeline] withDockerContainer [2021-03-16T04:23:23.797Z] prd-centos7-docker-4c-2g-29938 does not seem to be running inside a container [2021-03-16T04:23:23.849Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/128 -v /w/workspace/device-sdk-go/128:/w/workspace/device-sdk-go/128:rw,z -v /w/workspace/device-sdk-go/128@tmp:/w/workspace/device-sdk-go/128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-16T04:23:24.536Z] $ docker top 58c43b7b6ae6b96eb41b6d69c7cee62f34a4f2fa1e3c8e99347baedf052e4dd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T04:23:25.027Z] + make test [2021-03-16T04:23:25.027Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-16T04:23:32.099Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-16T04:23:42.502Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-16T04:23:47.124Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-16T04:23:47.124Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-16T04:23:47.124Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-16T04:23:50.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 25.5% of statements [2021-03-16T04:24:21.593Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-16T04:24:21.593Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-16T04:24:21.593Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-16T04:24:22.645Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.052s coverage: 10.5% of statements [2021-03-16T04:24:22.645Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.054s coverage: 12.5% of statements [2021-03-16T04:24:22.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-16T04:24:22.645Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.056s coverage: 84.8% of statements [2021-03-16T04:24:22.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-16T04:24:22.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-16T04:24:22.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-16T04:24:22.645Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.087s coverage: 57.3% of statements [2021-03-16T04:24:22.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-16T04:24:22.645Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.070s coverage: 81.2% of statements [2021-03-16T04:24:22.645Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.082s coverage: 24.8% of statements [2021-03-16T04:24:22.645Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.101s coverage: 6.4% of statements [2021-03-16T04:24:22.645Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.1% of statements [2021-03-16T04:24:22.645Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-16T04:24:22.645Z] GO111MODULE=on go vet ./... [2021-03-16T04:24:25.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.133s coverage: 25.5% of statements [2021-03-16T04:24:29.330Z] gofmt -l . [2021-03-16T04:24:29.330Z] [ "`gofmt -l .`" = "" ] [2021-03-16T04:24:29.330Z] ./bin/test-attribution-txt.sh [2021-03-16T04:24:29.908Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-16T04:24:30.195Z] $ docker stop --time=1 58c43b7b6ae6b96eb41b6d69c7cee62f34a4f2fa1e3c8e99347baedf052e4dd5 [2021-03-16T04:24:32.242Z] $ docker rm -f 58c43b7b6ae6b96eb41b6d69c7cee62f34a4f2fa1e3c8e99347baedf052e4dd5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T04:24:32.964Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-16T04:24:33.300Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-16T04:24:36.138Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-16T04:24:36.442Z] + ls -al . [2021-03-16T04:24:36.442Z] total 188 [2021-03-16T04:24:36.442Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 16 04:24 . [2021-03-16T04:24:36.442Z] drwxrwxr-x. 4 jenkins jenkins 32 Mar 16 04:22 .. [2021-03-16T04:24:36.442Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 16 04:22 bin [2021-03-16T04:24:36.442Z] -rw-r--r--. 1 jenkins jenkins 103667 Mar 16 04:24 coverage.out [2021-03-16T04:24:36.442Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 16 04:22 Dockerfile.build [2021-03-16T04:24:36.442Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 16 04:22 .dockerignore [2021-03-16T04:24:36.442Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 16 04:22 example [2021-03-16T04:24:36.442Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 16 04:22 .git [2021-03-16T04:24:36.442Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 16 04:22 .github [2021-03-16T04:24:36.442Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 16 04:22 .gitignore [2021-03-16T04:24:36.442Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 16 04:24 go.mod [2021-03-16T04:24:36.442Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 16 04:24 go.sum [2021-03-16T04:24:36.442Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 16 04:22 internal [2021-03-16T04:24:36.442Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 16 04:22 Jenkinsfile [2021-03-16T04:24:36.442Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 16 04:22 LICENSE [2021-03-16T04:24:36.442Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 16 04:22 Makefile [2021-03-16T04:24:36.443Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 16 04:22 openapi [2021-03-16T04:24:36.443Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 16 04:22 pkg [2021-03-16T04:24:36.443Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 16 04:22 README.md [2021-03-16T04:24:36.443Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 16 04:22 RELEASE-NOTES.txt [2021-03-16T04:24:36.443Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 16 04:22 snap [2021-03-16T04:24:36.443Z] -rw-rw-r--. 1 jenkins jenkins 12 Mar 16 04:19 VERSION [2021-03-16T04:24:36.443Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 16 04:22 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:24:36.754Z] + 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=79c51434d0b6ff974f0a74c9d16ec224deffdcc1 --label arch=amd64 --label version=2.0.0-dev.23 . [2021-03-16T04:24:37.017Z] Sending build context to Docker daemon 2.361MB [2021-03-16T04:24:37.017Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T04:24:37.017Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-16T04:24:37.017Z] ---> ec9f0564ab2a [2021-03-16T04:24:37.017Z] Step 3/24 : ARG MAKE='make build' [2021-03-16T04:24:37.591Z] ---> Running in 9321cefade0c [2021-03-16T04:24:37.591Z] Removing intermediate container 9321cefade0c [2021-03-16T04:24:37.591Z] ---> 89a4655039e8 [2021-03-16T04:24:37.591Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-16T04:24:37.591Z] ---> Running in e5a6606b3b9e [2021-03-16T04:24:37.853Z] Removing intermediate container e5a6606b3b9e [2021-03-16T04:24:37.853Z] ---> 3361b0343a36 [2021-03-16T04:24:37.853Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T04:24:37.853Z] ---> Running in 11cf93b98b34 [2021-03-16T04:24:38.116Z] Removing intermediate container 11cf93b98b34 [2021-03-16T04:24:38.116Z] ---> 3f69050991a1 [2021-03-16T04:24:38.116Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T04:24:38.116Z] ---> Running in c28a3293060e [2021-03-16T04:24:39.068Z] Removing intermediate container c28a3293060e [2021-03-16T04:24:39.068Z] ---> 23b30e66c549 [2021-03-16T04:24:39.068Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-16T04:24:39.068Z] ---> Running in 1026cb44c975 [2021-03-16T04:24:39.646Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-16T04:24:40.221Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-16T04:24:40.796Z] OK: 166 MiB in 39 packages [2021-03-16T04:24:41.375Z] Removing intermediate container 1026cb44c975 [2021-03-16T04:24:41.375Z] ---> 2c830d10e485 [2021-03-16T04:24:41.375Z] Step 8/24 : COPY . . [2021-03-16T04:24:42.323Z] ---> cf9ab31f5d19 [2021-03-16T04:24:42.323Z] Step 9/24 : RUN ${MAKE} [2021-03-16T04:24:42.323Z] ---> Running in 81f79b7044e2 [2021-03-16T04:24:42.904Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.23" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-16T04:24:51.155Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-16T04:24:53.713Z] Removing intermediate container 81f79b7044e2 [2021-03-16T04:24:53.713Z] ---> ab1127e68a23 [2021-03-16T04:24:53.713Z] Step 10/24 : FROM scratch [2021-03-16T04:24:53.713Z] ---> [2021-03-16T04:24:53.713Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T04:24:53.713Z] ---> Running in 103cbd91b4b8 [2021-03-16T04:24:53.713Z] Removing intermediate container 103cbd91b4b8 [2021-03-16T04:24:53.713Z] ---> a5b08c8f56d4 [2021-03-16T04:24:53.713Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-16T04:24:53.713Z] ---> Running in 86915bc6f60a [2021-03-16T04:24:53.713Z] Removing intermediate container 86915bc6f60a [2021-03-16T04:24:53.713Z] ---> 751d9ca11ec3 [2021-03-16T04:24:53.713Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-16T04:24:53.713Z] ---> Running in c30e6de377b2 [2021-03-16T04:24:53.975Z] Removing intermediate container c30e6de377b2 [2021-03-16T04:24:53.975Z] ---> 2f8ce75509c9 [2021-03-16T04:24:53.975Z] Step 14/24 : WORKDIR / [2021-03-16T04:24:53.975Z] ---> Running in 20382ec77427 [2021-03-16T04:24:53.975Z] Removing intermediate container 20382ec77427 [2021-03-16T04:24:53.975Z] ---> a7f0cde7287a [2021-03-16T04:24:53.975Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-16T04:24:54.549Z] ---> 06255a216e70 [2021-03-16T04:24:54.549Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-16T04:24:54.811Z] ---> def8d70fa7ea [2021-03-16T04:24:54.811Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-16T04:24:55.073Z] ---> 33b7f7006885 [2021-03-16T04:24:55.073Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-16T04:24:55.336Z] ---> 94f6e26bad6c [2021-03-16T04:24:55.336Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-16T04:24:55.336Z] ---> 6ea7d4313670 [2021-03-16T04:24:55.336Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-16T04:24:55.599Z] ---> Running in 97425597728d [2021-03-16T04:24:55.599Z] Removing intermediate container 97425597728d [2021-03-16T04:24:55.599Z] ---> 7b9f1e3b0738 [2021-03-16T04:24:55.599Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-16T04:24:55.599Z] ---> Running in 7d42f0d53399 [2021-03-16T04:24:55.862Z] Removing intermediate container 7d42f0d53399 [2021-03-16T04:24:55.862Z] ---> 7ec49682efc3 [2021-03-16T04:24:55.862Z] Step 22/24 : LABEL arch=amd64 [2021-03-16T04:24:55.862Z] ---> Running in 75f6eeb44639 [2021-03-16T04:24:56.125Z] Removing intermediate container 75f6eeb44639 [2021-03-16T04:24:56.125Z] ---> e40e719ce59f [2021-03-16T04:24:56.125Z] Step 23/24 : LABEL git_sha=79c51434d0b6ff974f0a74c9d16ec224deffdcc1 [2021-03-16T04:24:56.125Z] ---> Running in d4c72acf2eaf [2021-03-16T04:24:56.388Z] Removing intermediate container d4c72acf2eaf [2021-03-16T04:24:56.388Z] ---> a607f7463711 [2021-03-16T04:24:56.388Z] Step 24/24 : LABEL version=2.0.0-dev.23 [2021-03-16T04:24:56.388Z] ---> Running in e137b3b679e4 [2021-03-16T04:24:56.652Z] Removing intermediate container e137b3b679e4 [2021-03-16T04:24:56.652Z] ---> 4b07a9f8b6fa [2021-03-16T04:24:56.652Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-16T04:24:56.652Z] Successfully built 4b07a9f8b6fa [2021-03-16T04:24:56.652Z] 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-16T04:24:57.777Z] ---> job-cost.sh [2021-03-16T04:24:57.777Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yMtY [2021-03-16T04:24:58.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.129s coverage: 10.5% of statements [2021-03-16T04:24:58.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.122s coverage: 12.5% of statements [2021-03-16T04:24:58.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-16T04:24:58.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.148s coverage: 84.8% of statements [2021-03-16T04:24:58.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-16T04:24:58.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-16T04:24:58.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-16T04:24:58.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.276s coverage: 57.3% of statements [2021-03-16T04:24:58.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-16T04:24:58.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.167s coverage: 81.2% of statements [2021-03-16T04:24:58.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.194s coverage: 24.8% of statements [2021-03-16T04:24:58.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.817s coverage: 6.4% of statements [2021-03-16T04:24:58.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.132s coverage: 5.1% of statements [2021-03-16T04:24:58.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-16T04:24:58.312Z] GO111MODULE=on go vet ./... [2021-03-16T04:25:12.737Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-16T04:25:30.914Z] gofmt -l . [2021-03-16T04:25:30.914Z] [ "`gofmt -l .`" = "" ] [2021-03-16T04:25:30.914Z] ./bin/test-attribution-txt.sh [2021-03-16T04:25:30.914Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-16T04:25:30.929Z] $ docker stop --time=1 b619a862b5b0ae291f7f27ed979ba19dff8ac7339d562b65ab571b7b5821e177 [2021-03-16T04:25:33.160Z] $ docker rm -f b619a862b5b0ae291f7f27ed979ba19dff8ac7339d562b65ab571b7b5821e177 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-16T04:25:34.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-16T04:25:34.328Z] Warning: overwriting stash ‘coverage-report’ [2021-03-16T04:25:35.052Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-16T04:25:35.768Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-16T04:25:36.103Z] + ls -al . [2021-03-16T04:25:36.103Z] total 224 [2021-03-16T04:25:36.103Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 04:25 . [2021-03-16T04:25:36.103Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:21 .. [2021-03-16T04:25:36.103Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 04:22 .dockerignore [2021-03-16T04:25:36.103Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 04:22 .git [2021-03-16T04:25:36.103Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 04:22 .github [2021-03-16T04:25:36.103Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 16 04:22 .gitignore [2021-03-16T04:25:36.103Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 16 04:22 Dockerfile.build [2021-03-16T04:25:36.103Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 16 04:22 Jenkinsfile [2021-03-16T04:25:36.103Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 16 04:22 LICENSE [2021-03-16T04:25:36.103Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 16 04:22 Makefile [2021-03-16T04:25:36.103Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 16 04:22 README.md [2021-03-16T04:25:36.103Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 16 04:22 RELEASE-NOTES.txt [2021-03-16T04:25:36.103Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 16 04:19 VERSION [2021-03-16T04:25:36.103Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 04:22 bin [2021-03-16T04:25:36.103Z] -rw-r--r-- 1 jenkins jenkins 103667 Mar 16 04:24 coverage.out [2021-03-16T04:25:36.103Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:22 example [2021-03-16T04:25:36.103Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 16 04:25 go.mod [2021-03-16T04:25:36.103Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 16 04:25 go.sum [2021-03-16T04:25:36.103Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 04:22 internal [2021-03-16T04:25:36.103Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:22 openapi [2021-03-16T04:25:36.103Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 04:22 pkg [2021-03-16T04:25:36.103Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:22 snap [2021-03-16T04:25:36.103Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 16 04:22 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:25:36.439Z] + 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=79c51434d0b6ff974f0a74c9d16ec224deffdcc1 --label arch=arm64 --label version=2.0.0-dev.23 . [2021-03-16T04:25:36.713Z] Sending build context to Docker daemon 2.36MB [2021-03-16T04:25:36.713Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-16T04:25:36.713Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-16T04:25:36.713Z] ---> 272e5d8f7164 [2021-03-16T04:25:36.713Z] Step 3/24 : ARG MAKE='make build' [2021-03-16T04:25:37.308Z] ---> Running in ee64ba0e9d86 [2021-03-16T04:25:37.580Z] Removing intermediate container ee64ba0e9d86 [2021-03-16T04:25:37.580Z] ---> fb005b341255 [2021-03-16T04:25:37.580Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-16T04:25:37.580Z] ---> Running in e5d6efb6cf0d [2021-03-16T04:25:38.176Z] Removing intermediate container e5d6efb6cf0d [2021-03-16T04:25:38.176Z] ---> c9889ae5d91c [2021-03-16T04:25:38.176Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T04:25:38.176Z] ---> Running in 124a4d909890 [2021-03-16T04:25:38.773Z] Removing intermediate container 124a4d909890 [2021-03-16T04:25:38.773Z] ---> 278267ddf90b [2021-03-16T04:25:38.773Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-16T04:25:38.773Z] ---> Running in 6a4b4a3d7df7 [2021-03-16T04:25:39.413Z] lf-activate-venv(): INFO: Adding /tmp/venv-yMtY/bin to PATH [2021-03-16T04:25:39.413Z] INFO: No Stack... [2021-03-16T04:25:39.992Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-16T04:25:40.567Z] INFO: Archiving Costs [Pipeline] sh [2021-03-16T04:25:40.743Z] Removing intermediate container 6a4b4a3d7df7 [2021-03-16T04:25:40.743Z] ---> da5394f5b140 [2021-03-16T04:25:40.743Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-16T04:25:40.877Z] + cat /w/workspace/device-sdk-go/128/archives/cost.csv [2021-03-16T04:25:40.877Z] + cut -d, -f6 [Pipeline] lock [2021-03-16T04:25:40.955Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-128-stack-cost] [2021-03-16T04:25:40.968Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-128-stack-cost] did not exist. Created. [2021-03-16T04:25:40.968Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-128-stack-cost] [Pipeline] { [2021-03-16T04:25:41.017Z] ---> Running in 6a9199d9cf9e [Pipeline] unstash [Pipeline] sh [2021-03-16T04:25:41.363Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-16T04:25:41.480Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T04:25:41.493Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-128-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [2021-03-16T04:25:42.001Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-16T04:25:42.599Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-16T04:25:43.570Z] OK: 142 MiB in 39 packages [2021-03-16T04:25:44.546Z] Removing intermediate container 6a9199d9cf9e [2021-03-16T04:25:44.546Z] ---> dc5fbe3c4a9a [2021-03-16T04:25:44.546Z] Step 8/24 : COPY . . [2021-03-16T04:25:45.984Z] ---> 35a26e32b5ad [2021-03-16T04:25:45.984Z] Step 9/24 : RUN ${MAKE} [2021-03-16T04:25:45.984Z] ---> Running in 4aa7a86c1dfb [2021-03-16T04:25:46.969Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.23" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-16T04:26:13.773Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-16T04:26:14.042Z] Removing intermediate container 4aa7a86c1dfb [2021-03-16T04:26:14.042Z] ---> 045b0fc1b1a7 [2021-03-16T04:26:14.042Z] Step 10/24 : FROM scratch [2021-03-16T04:26:14.042Z] ---> [2021-03-16T04:26:14.042Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-16T04:26:14.315Z] ---> Running in e8e8a9c5a233 [2021-03-16T04:26:14.587Z] Removing intermediate container e8e8a9c5a233 [2021-03-16T04:26:14.587Z] ---> 1bb6ac491cf2 [2021-03-16T04:26:14.587Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-16T04:26:14.587Z] ---> Running in 3bd750ea5192 [2021-03-16T04:26:15.178Z] Removing intermediate container 3bd750ea5192 [2021-03-16T04:26:15.178Z] ---> 8da6d31279cf [2021-03-16T04:26:15.178Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-16T04:26:15.178Z] ---> Running in b4bd3958940e [2021-03-16T04:26:15.771Z] Removing intermediate container b4bd3958940e [2021-03-16T04:26:15.771Z] ---> 9d1bc538c9d0 [2021-03-16T04:26:15.771Z] Step 14/24 : WORKDIR / [2021-03-16T04:26:15.771Z] ---> Running in db3dddb9d848 [2021-03-16T04:26:16.365Z] Removing intermediate container db3dddb9d848 [2021-03-16T04:26:16.365Z] ---> 6c791685cf3e [2021-03-16T04:26:16.365Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-16T04:26:17.341Z] ---> bdfdd87a8ec6 [2021-03-16T04:26:17.341Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-16T04:26:17.937Z] ---> 93486f13ef24 [2021-03-16T04:26:17.937Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-16T04:26:18.912Z] ---> 136da843d580 [2021-03-16T04:26:18.912Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-16T04:26:19.503Z] ---> 528a27b4a262 [2021-03-16T04:26:19.503Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-16T04:26:20.094Z] ---> 9c8e71be20a0 [2021-03-16T04:26:20.094Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-16T04:26:20.366Z] ---> Running in f6ba59b88f92 [2021-03-16T04:26:20.637Z] Removing intermediate container f6ba59b88f92 [2021-03-16T04:26:20.637Z] ---> a3d0cb4d5e10 [2021-03-16T04:26:20.637Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-16T04:26:20.908Z] ---> Running in 156ebcadaeab [2021-03-16T04:26:21.180Z] Removing intermediate container 156ebcadaeab [2021-03-16T04:26:21.180Z] ---> 3f2fd91f7ede [2021-03-16T04:26:21.180Z] Step 22/24 : LABEL arch=arm64 [2021-03-16T04:26:21.452Z] ---> Running in 73e51b385847 [2021-03-16T04:26:21.726Z] Removing intermediate container 73e51b385847 [2021-03-16T04:26:21.726Z] ---> 50a8dcfdd6e9 [2021-03-16T04:26:21.726Z] Step 23/24 : LABEL git_sha=79c51434d0b6ff974f0a74c9d16ec224deffdcc1 [2021-03-16T04:26:21.999Z] ---> Running in 0877ac2b4c03 [2021-03-16T04:26:22.592Z] Removing intermediate container 0877ac2b4c03 [2021-03-16T04:26:22.592Z] ---> b00f7b02159f [2021-03-16T04:26:22.592Z] Step 24/24 : LABEL version=2.0.0-dev.23 [2021-03-16T04:26:22.592Z] ---> Running in 855778c1d11f [2021-03-16T04:26:23.185Z] Removing intermediate container 855778c1d11f [2021-03-16T04:26:23.185Z] ---> 0fc89bf56193 [2021-03-16T04:26:23.185Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-16T04:26:23.185Z] Successfully built 0fc89bf56193 [2021-03-16T04:26:23.185Z] 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-16T04:26:23.986Z] ---> job-cost.sh [2021-03-16T04:26:23.986Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ANxM [2021-03-16T04:27:02.924Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-16T04:28:24.653Z] lf-activate-venv(): INFO: Adding /tmp/venv-ANxM/bin to PATH [2021-03-16T04:28:24.653Z] INFO: No Stack... [2021-03-16T04:28:25.241Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-16T04:28:25.512Z] INFO: Archiving Costs [Pipeline] sh [2021-03-16T04:28:25.906Z] + + cutcat -d, /w/workspace/device-sdk-go/128/archives/cost.csv -f6 [2021-03-16T04:28:25.907Z] [Pipeline] lock [2021-03-16T04:28:26.022Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-128-stack-cost] [2021-03-16T04:28:26.031Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-128-stack-cost] did not exist. Created. [2021-03-16T04:28:26.032Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-16T04:28:26.515Z] /w/workspace/device-sdk-go/128@tmp/durable-57d4d490/script.sh: 1: /w/workspace/device-sdk-go/128@tmp/durable-57d4d490/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-16T04:28:26.864Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-16T04:28:26.940Z] Warning: overwriting stash ‘stack-cost’ [2021-03-16T04:28:27.126Z] Stashed 1 file(s) [Pipeline] } [2021-03-16T04:28:27.138Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-128-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-16T04:28:28.588Z] provisioning config files... [2021-03-16T04:28:28.616Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5983627597458549295tmp [Pipeline] { [Pipeline] sh [2021-03-16T04:28:29.024Z] + set +x [2021-03-16T04:28:29.024Z] + curl -s https://codecov.io/bash [2021-03-16T04:28:29.024Z] + bash -s -- [2021-03-16T04:28:29.287Z] [2021-03-16T04:28:29.287Z] _____ _ [2021-03-16T04:28:29.287Z] / ____| | | [2021-03-16T04:28:29.287Z] | | ___ __| | ___ ___ _____ __ [2021-03-16T04:28:29.287Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-16T04:28:29.287Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-16T04:28:29.287Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-16T04:28:29.287Z] Bash-20210309-2b87ace [2021-03-16T04:28:29.287Z] [2021-03-16T04:28:29.287Z] [2021-03-16T04:28:29.287Z] ==> git version 2.24.3 found [2021-03-16T04:28:29.287Z] ==> 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-16T04:28:29.287Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-16T04:28:29.287Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-16T04:28:29.287Z] curl: option -sm: expected a proper numerical parameter [2021-03-16T04:28:29.287Z] curl: try 'curl --help' or 'curl --manual' for more information [2021-03-16T04:28:29.287Z] ==> Jenkins CI detected. [2021-03-16T04:28:29.287Z] project root: . [2021-03-16T04:28:29.287Z] --> token set from env [2021-03-16T04:28:29.287Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-16T04:28:29.287Z] ==> Running gcov in . (disable via -X gcov) [2021-03-16T04:28:29.287Z] ==> Python coveragepy not found [2021-03-16T04:28:29.287Z] ==> Searching for coverage reports in: [2021-03-16T04:28:29.287Z] + . [2021-03-16T04:28:29.287Z] -> Found 1 reports [2021-03-16T04:28:29.287Z] ==> Detecting git/mercurial file structure [2021-03-16T04:28:29.287Z] ==> Reading reports [2021-03-16T04:28:29.287Z] + ./coverage.out bytes=103667 [2021-03-16T04:28:29.287Z] ==> Appending adjustments [2021-03-16T04:28:29.287Z] https://docs.codecov.io/docs/fixing-reports [2021-03-16T04:28:29.863Z] + Found adjustments [2021-03-16T04:28:29.863Z] ==> Gzipping contents [2021-03-16T04:28:29.863Z] 16K /tmp/codecov.vE7msg.gz [2021-03-16T04:28:29.863Z] ==> Uploading reports [2021-03-16T04:28:29.863Z] url: https://codecov.io [2021-03-16T04:28:29.863Z] query: branch=master&commit=79c51434d0b6ff974f0a74c9d16ec224deffdcc1&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-16T04:28:29.863Z] -> Pinging Codecov [2021-03-16T04:28:29.863Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=79c51434d0b6ff974f0a74c9d16ec224deffdcc1&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-16T04:28:30.125Z] -> Uploading to [2021-03-16T04:28:30.125Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-16/7E55EF52A471D76F132DFD9A03CDDE97/79c51434d0b6ff974f0a74c9d16ec224deffdcc1/d6568ad3-6912-482b-ab6c-ba4f824f51b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210316T042829Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=616bb415b7639df2a357fcf67571e0add1b68f9616ec0fca3956d07f42856085 [2021-03-16T04:28:30.125Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-16T04:28:30.125Z] Dload Upload Total Spent Left Speed [2021-03-16T04:28:30.703Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13845 0 0 100 13845 0 27387 --:--:-- --:--:-- --:--:-- 27415 [2021-03-16T04:28:30.703Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/79c51434d0b6ff974f0a74c9d16ec224deffdcc1 [Pipeline] } [2021-03-16T04:28:30.715Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-16T04:28:31.698Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-16T04:28:31.779Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:28:32.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-16T04:28:32.138Z] [2021-03-16T04:28:32.138Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:28:32.503Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-16T04:28:32.503Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-16T04:28:32.503Z] 188c0c94c7c5: Pulling fs layer [2021-03-16T04:28:32.503Z] 0ef7d3d256c8: Pulling fs layer [2021-03-16T04:28:32.503Z] de9db76c5a1d: Pulling fs layer [2021-03-16T04:28:32.503Z] 0eba1c9be4d2: Pulling fs layer [2021-03-16T04:28:32.503Z] 0d57e429df01: Pulling fs layer [2021-03-16T04:28:32.503Z] 4e4be7b47b0d: Pulling fs layer [2021-03-16T04:28:32.503Z] e1f770b5df2f: Pulling fs layer [2021-03-16T04:28:32.503Z] 85a0685a4137: Pulling fs layer [2021-03-16T04:28:32.503Z] 0eba1c9be4d2: Waiting [2021-03-16T04:28:32.503Z] 85a0685a4137: Waiting [2021-03-16T04:28:32.503Z] 0d57e429df01: Waiting [2021-03-16T04:28:32.503Z] 4e4be7b47b0d: Waiting [2021-03-16T04:28:32.503Z] e1f770b5df2f: Waiting [2021-03-16T04:28:32.503Z] de9db76c5a1d: Verifying Checksum [2021-03-16T04:28:32.503Z] de9db76c5a1d: Download complete [2021-03-16T04:28:32.503Z] 0ef7d3d256c8: Verifying Checksum [2021-03-16T04:28:32.503Z] 0ef7d3d256c8: Download complete [2021-03-16T04:28:32.503Z] 0d57e429df01: Verifying Checksum [2021-03-16T04:28:32.503Z] 0d57e429df01: Download complete [2021-03-16T04:28:32.503Z] 4e4be7b47b0d: Download complete [2021-03-16T04:28:32.777Z] 188c0c94c7c5: Verifying Checksum [2021-03-16T04:28:33.044Z] 188c0c94c7c5: Pull complete [2021-03-16T04:28:33.310Z] 0ef7d3d256c8: Pull complete [2021-03-16T04:28:33.310Z] e1f770b5df2f: Verifying Checksum [2021-03-16T04:28:33.310Z] e1f770b5df2f: Download complete [2021-03-16T04:28:33.572Z] de9db76c5a1d: Pull complete [2021-03-16T04:28:35.502Z] 0eba1c9be4d2: Verifying Checksum [2021-03-16T04:28:35.502Z] 0eba1c9be4d2: Download complete [2021-03-16T04:28:35.768Z] 85a0685a4137: Verifying Checksum [2021-03-16T04:28:35.768Z] 85a0685a4137: Download complete [2021-03-16T04:28:40.032Z] 0eba1c9be4d2: Pull complete [2021-03-16T04:28:40.299Z] 0d57e429df01: Pull complete [2021-03-16T04:28:40.570Z] 4e4be7b47b0d: Pull complete [2021-03-16T04:28:44.811Z] e1f770b5df2f: Pull complete [2021-03-16T04:28:51.480Z] 85a0685a4137: Pull complete [2021-03-16T04:28:51.480Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-16T04:28:51.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-16T04:28:51.480Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-16T04:28:51.966Z] prd-centos7-docker-4c-2g-29936 does not seem to be running inside a container [2021-03-16T04:28:52.024Z] $ 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-16T04:28:53.071Z] $ docker top 7b2d2f53c876450b5c0ba1a5dae8dd369c605a9fd070fc8e3a31cbc1fb5f8c65 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-16T04:28:53.350Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-16T04:28:53.651Z] + set -o pipefail [2021-03-16T04:28:53.651Z] + snyk monitor '--org=edgex-jenkins' [2021-03-16T04:29:03.715Z] [2021-03-16T04:29:03.716Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-03-16T04:29:03.716Z] [2021-03-16T04:29:03.716Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/761879a6-3395-4dfc-a8dc-0cc53c32ed63 [2021-03-16T04:29:03.716Z] [2021-03-16T04:29:03.716Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-16T04:29:03.716Z] [2021-03-16T04:29:03.716Z] [Pipeline] } [2021-03-16T04:29:03.734Z] $ docker stop --time=1 7b2d2f53c876450b5c0ba1a5dae8dd369c605a9fd070fc8e3a31cbc1fb5f8c65 [2021-03-16T04:29:06.352Z] $ docker rm -f 7b2d2f53c876450b5c0ba1a5dae8dd369c605a9fd070fc8e3a31cbc1fb5f8c65 [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-16T04:29:07.649Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-16T04:29:07.706Z] provisioning config files... [2021-03-16T04:29:07.720Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2394121352434897645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:29:08.118Z] --> edgex-publish-swagger.sh [2021-03-16T04:29:08.118Z] === Publish openapi/v1 API === [2021-03-16T04:29:08.118Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-03-16T04:29:08.118Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-03-16T04:29:08.118Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-16T04:29:08.118Z] Dload Upload Total Spent Left Speed [2021-03-16T04:29:09.081Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 23853 --:--:-- --:--:-- --:--:-- 23860 100 19947 0 0 100 19947 0 23846 --:--:-- --:--:-- --:--:-- 23860 [2021-03-16T04:29:09.081Z] [2021-03-16T04:29:09.081Z] [2021-03-16T04:29:09.081Z] === Publish openapi/v2 API === [2021-03-16T04:29:09.081Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-16T04:29:09.081Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-03-16T04:29:09.081Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-16T04:29:09.081Z] Dload Upload Total Spent Left Speed [2021-03-16T04:29:09.658Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 74888 --:--:-- --:--:-- --:--:-- 74938 [2021-03-16T04:29:09.658Z] [2021-03-16T04:29:09.658Z] [Pipeline] } [2021-03-16T04:29:09.669Z] 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-16T04:29:10.726Z] + git log --format=format:%s -1 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:29:11.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T04:29:11.038Z] . [Pipeline] withDockerContainer [2021-03-16T04:29:11.140Z] prd-centos7-docker-4c-2g-29936 does not seem to be running inside a container [2021-03-16T04:29:11.187Z] $ 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-16T04:29:11.852Z] $ docker top d86747756750d70f23e3b6df16a0e2a843c61065d62f7fcd7ccdb74bd8e90173 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-16T04:29:12.171Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T04:29:12.171Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T04:29:12.395Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T04:29:12.400Z] $ docker exec d86747756750d70f23e3b6df16a0e2a843c61065d62f7fcd7ccdb74bd8e90173 ssh-agent [2021-03-16T04:29:12.579Z] SSH_AUTH_SOCK=/tmp/ssh-f1vJ0V8uiFcO/agent.12 [2021-03-16T04:29:12.579Z] SSH_AGENT_PID=18 [2021-03-16T04:29:12.586Z] Running ssh-add (command line suppressed) [2021-03-16T04:29:12.726Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3329801548463128257.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3329801548463128257.key) [2021-03-16T04:29:12.779Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T04:29:13.121Z] + git semver tag [2021-03-16T04:29:13.121Z] # -> Open(): unable to determine branch for HEAD [2021-03-16T04:29:13.121Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-16T04:29:13.121Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-16T04:29:13.121Z] # $SEMVER_REMOTE_NAME = origin [2021-03-16T04:29:13.121Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-16T04:29:13.121Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-16T04:29:13.121Z] # $SEMVER_BRANCH = master [2021-03-16T04:29:13.121Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-16T04:29:13.121Z] # 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 HEAD [2021-03-16T04:29:13.121Z] # -> Force: false [2021-03-16T04:29:13.121Z] # 821c612b2dc49246f9e39c2f8e66a8dcce0631ce refs/tags/v2.0.0-dev.23 [Pipeline] } [2021-03-16T04:29:13.136Z] $ docker exec --env ******** --env ******** d86747756750d70f23e3b6df16a0e2a843c61065d62f7fcd7ccdb74bd8e90173 ssh-agent -k [2021-03-16T04:29:13.278Z] unset SSH_AUTH_SOCK; [2021-03-16T04:29:13.280Z] unset SSH_AGENT_PID; [2021-03-16T04:29:13.280Z] echo Agent pid 18 killed; [2021-03-16T04:29:13.332Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-16T04:29:13.855Z] + git semver [Pipeline] } [2021-03-16T04:29:13.922Z] $ docker stop --time=1 d86747756750d70f23e3b6df16a0e2a843c61065d62f7fcd7ccdb74bd8e90173 [2021-03-16T04:29:15.695Z] $ docker rm -f d86747756750d70f23e3b6df16a0e2a843c61065d62f7fcd7ccdb74bd8e90173 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:29:16.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-16T04:29:16.379Z] [2021-03-16T04:29:16.379Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:29:16.734Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-16T04:29:16.734Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-16T04:29:16.734Z] ab5ef0e58194: Pulling fs layer [2021-03-16T04:29:16.734Z] 9712f1f96733: Pulling fs layer [2021-03-16T04:29:16.734Z] 63f879dbbcfc: Pulling fs layer [2021-03-16T04:29:16.734Z] 0d9ebad4ef96: Pulling fs layer [2021-03-16T04:29:16.734Z] e9a5061849ea: Pulling fs layer [2021-03-16T04:29:16.734Z] d747dcd14b5f: Pulling fs layer [2021-03-16T04:29:16.734Z] 2de7ff778b66: Pulling fs layer [2021-03-16T04:29:16.734Z] e9a5061849ea: Waiting [2021-03-16T04:29:16.734Z] d747dcd14b5f: Waiting [2021-03-16T04:29:16.734Z] 2de7ff778b66: Waiting [2021-03-16T04:29:16.734Z] 0d9ebad4ef96: Waiting [2021-03-16T04:29:16.734Z] 9712f1f96733: Verifying Checksum [2021-03-16T04:29:16.734Z] 9712f1f96733: Download complete [2021-03-16T04:29:18.134Z] 63f879dbbcfc: Verifying Checksum [2021-03-16T04:29:18.134Z] 63f879dbbcfc: Download complete [2021-03-16T04:29:18.398Z] e9a5061849ea: Download complete [2021-03-16T04:29:18.398Z] d747dcd14b5f: Verifying Checksum [2021-03-16T04:29:18.398Z] d747dcd14b5f: Download complete [2021-03-16T04:29:18.665Z] 2de7ff778b66: Verifying Checksum [2021-03-16T04:29:18.665Z] 2de7ff778b66: Download complete [2021-03-16T04:29:18.940Z] 0d9ebad4ef96: Verifying Checksum [2021-03-16T04:29:18.940Z] 0d9ebad4ef96: Download complete [2021-03-16T04:29:19.207Z] ab5ef0e58194: Verifying Checksum [2021-03-16T04:29:19.207Z] ab5ef0e58194: Download complete [2021-03-16T04:29:23.474Z] ab5ef0e58194: Pull complete [2021-03-16T04:29:23.740Z] 9712f1f96733: Pull complete [2021-03-16T04:29:26.303Z] 63f879dbbcfc: Pull complete [2021-03-16T04:29:32.940Z] 0d9ebad4ef96: Pull complete [2021-03-16T04:29:33.515Z] e9a5061849ea: Pull complete [2021-03-16T04:29:33.778Z] d747dcd14b5f: Pull complete [2021-03-16T04:29:36.350Z] 2de7ff778b66: Pull complete [2021-03-16T04:29:36.350Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-16T04:29:36.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-16T04:29:36.350Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-16T04:29:36.551Z] prd-centos7-docker-4c-2g-29936 does not seem to be running inside a container [2021-03-16T04:29:36.604Z] $ 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-16T04:29:40.590Z] $ docker top fe678bf2a5adf9e9266d38a56dbd3cc8da22b95510d60952399661cea7f8ba2d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-16T04:29:40.856Z] provisioning config files... [2021-03-16T04:29:40.869Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8237176196361835241tmp [2021-03-16T04:29:40.887Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3174113191173182124tmp [2021-03-16T04:29:40.904Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1711487196220804861tmp [Pipeline] { [Pipeline] echo [2021-03-16T04:29:40.967Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:29:41.270Z] ---> sigul-configuration.sh [2021-03-16T04:29:41.270Z] gpg: directory `/root/.gnupg' created [2021-03-16T04:29:41.270Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-16T04:29:41.270Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-16T04:29:41.270Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-16T04:29:41.270Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-16T04:29:41.270Z] gpg: CAST5 encrypted data [2021-03-16T04:29:41.535Z] gpg: encrypted with 1 passphrase [2021-03-16T04:29:41.535Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-16T04:29:41.840Z] + mkdir /home/jenkins [2021-03-16T04:29:41.840Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-16T04:29:42.139Z] + 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-16T04:29:42.151Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:29:42.454Z] ---> sigul-install.sh [2021-03-16T04:29:49.058Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-16T04:29:49.360Z] + git tag --list [2021-03-16T04:29:49.360Z] 0.7.1 [2021-03-16T04:29:49.360Z] delhi-tag [2021-03-16T04:29:49.360Z] v1.0.0 [2021-03-16T04:29:49.360Z] v1.1.0 [2021-03-16T04:29:49.360Z] v1.1.1 [2021-03-16T04:29:49.360Z] v1.1.2 [2021-03-16T04:29:49.360Z] v1.2.0 [2021-03-16T04:29:49.360Z] v1.2.1 [2021-03-16T04:29:49.360Z] v1.2.2 [2021-03-16T04:29:49.360Z] v1.2.3 [2021-03-16T04:29:49.360Z] v1.3.0 [2021-03-16T04:29:49.360Z] v1.4.0 [2021-03-16T04:29:49.360Z] v2.0.0-dev.1 [2021-03-16T04:29:49.360Z] v2.0.0-dev.10 [2021-03-16T04:29:49.360Z] v2.0.0-dev.11 [2021-03-16T04:29:49.360Z] v2.0.0-dev.12 [2021-03-16T04:29:49.360Z] v2.0.0-dev.13 [2021-03-16T04:29:49.360Z] v2.0.0-dev.14 [2021-03-16T04:29:49.360Z] v2.0.0-dev.15 [2021-03-16T04:29:49.360Z] v2.0.0-dev.16 [2021-03-16T04:29:49.360Z] v2.0.0-dev.17 [2021-03-16T04:29:49.360Z] v2.0.0-dev.18 [2021-03-16T04:29:49.360Z] v2.0.0-dev.19 [2021-03-16T04:29:49.360Z] v2.0.0-dev.2 [2021-03-16T04:29:49.360Z] v2.0.0-dev.20 [2021-03-16T04:29:49.360Z] v2.0.0-dev.21 [2021-03-16T04:29:49.360Z] v2.0.0-dev.22 [2021-03-16T04:29:49.360Z] v2.0.0-dev.23 [2021-03-16T04:29:49.360Z] v2.0.0-dev.3 [2021-03-16T04:29:49.360Z] v2.0.0-dev.4 [2021-03-16T04:29:49.360Z] v2.0.0-dev.5 [2021-03-16T04:29:49.360Z] v2.0.0-dev.6 [2021-03-16T04:29:49.360Z] v2.0.0-dev.7 [2021-03-16T04:29:49.360Z] v2.0.0-dev.8 [2021-03-16T04:29:49.360Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-16T04:29:49.664Z] + lftools sign git-tag v2.0.0-dev.23 [2021-03-16T04:29:51.058Z] Signing Git tag with Sigul... [2021-03-16T04:29:51.058Z] Signing v2.0.0-dev.23 [Pipeline] echo [2021-03-16T04:29:52.019Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:29:52.319Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-16T04:29:52.331Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-16T04:29:52.445Z] $ docker stop --time=1 fe678bf2a5adf9e9266d38a56dbd3cc8da22b95510d60952399661cea7f8ba2d [2021-03-16T04:29:54.528Z] $ docker rm -f fe678bf2a5adf9e9266d38a56dbd3cc8da22b95510d60952399661cea7f8ba2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:29:55.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T04:29:55.641Z] . [Pipeline] withDockerContainer [2021-03-16T04:29:55.751Z] prd-centos7-docker-4c-2g-29936 does not seem to be running inside a container [2021-03-16T04:29:55.801Z] $ 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-16T04:29:56.611Z] $ docker top 9aef4a3bfda56ae6f7678c31054bbb7f55b2a661e7742629971fb8586e2c103f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-16T04:29:56.938Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T04:29:56.938Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T04:29:57.161Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T04:29:57.168Z] $ docker exec 9aef4a3bfda56ae6f7678c31054bbb7f55b2a661e7742629971fb8586e2c103f ssh-agent [2021-03-16T04:29:57.347Z] SSH_AUTH_SOCK=/tmp/ssh-pT80bscombJs/agent.11 [2021-03-16T04:29:57.347Z] SSH_AGENT_PID=16 [2021-03-16T04:29:57.354Z] Running ssh-add (command line suppressed) [2021-03-16T04:29:57.486Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1860105692899565874.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1860105692899565874.key) [2021-03-16T04:29:57.542Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T04:29:57.881Z] + git semver bump pre [2021-03-16T04:29:57.882Z] # -> Open(): unable to determine branch for HEAD [2021-03-16T04:29:57.882Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-16T04:29:57.882Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-16T04:29:57.882Z] # $SEMVER_REMOTE_NAME = origin [2021-03-16T04:29:57.882Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-16T04:29:57.882Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-16T04:29:57.882Z] # $SEMVER_BRANCH = master [2021-03-16T04:29:57.882Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-16T04:29:57.882Z] 2.0.0-dev.24 [Pipeline] } [2021-03-16T04:29:57.898Z] $ docker exec --env ******** --env ******** 9aef4a3bfda56ae6f7678c31054bbb7f55b2a661e7742629971fb8586e2c103f ssh-agent -k [2021-03-16T04:29:58.017Z] unset SSH_AUTH_SOCK; [2021-03-16T04:29:58.018Z] unset SSH_AGENT_PID; [2021-03-16T04:29:58.018Z] echo Agent pid 16 killed; [2021-03-16T04:29:58.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-16T04:29:58.588Z] + git semver [Pipeline] } [2021-03-16T04:29:58.612Z] $ docker stop --time=1 9aef4a3bfda56ae6f7678c31054bbb7f55b2a661e7742629971fb8586e2c103f [2021-03-16T04:29:59.975Z] $ docker rm -f 9aef4a3bfda56ae6f7678c31054bbb7f55b2a661e7742629971fb8586e2c103f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:30:00.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-16T04:30:00.605Z] . [Pipeline] withDockerContainer [2021-03-16T04:30:00.763Z] prd-centos7-docker-4c-2g-29936 does not seem to be running inside a container [2021-03-16T04:30:00.814Z] $ 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-16T04:30:01.494Z] $ docker top a18626593c3733b6e2e206621b35c8af5c91afdf5a7e2d5c41984d5e4eba89bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-16T04:30:01.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-16T04:30:01.837Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-16T04:30:02.039Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-16T04:30:02.045Z] $ docker exec a18626593c3733b6e2e206621b35c8af5c91afdf5a7e2d5c41984d5e4eba89bc ssh-agent [2021-03-16T04:30:02.222Z] SSH_AUTH_SOCK=/tmp/ssh-Q2Yfv7gBUcI3/agent.13 [2021-03-16T04:30:02.222Z] SSH_AGENT_PID=18 [2021-03-16T04:30:02.230Z] Running ssh-add (command line suppressed) [2021-03-16T04:30:02.375Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9085752269065064504.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9085752269065064504.key) [2021-03-16T04:30:02.430Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-16T04:30:02.803Z] + git semver push [2021-03-16T04:30:02.803Z] # -> Open(): unable to determine branch for HEAD [2021-03-16T04:30:02.803Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-16T04:30:02.803Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-16T04:30:02.803Z] # $SEMVER_REMOTE_NAME = origin [2021-03-16T04:30:02.803Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-16T04:30:02.803Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-16T04:30:02.803Z] # $SEMVER_BRANCH = master [2021-03-16T04:30:02.803Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-16T04:30:09.422Z] $ docker exec --env ******** --env ******** a18626593c3733b6e2e206621b35c8af5c91afdf5a7e2d5c41984d5e4eba89bc ssh-agent -k [2021-03-16T04:30:09.585Z] unset SSH_AUTH_SOCK; [2021-03-16T04:30:09.586Z] unset SSH_AGENT_PID; [2021-03-16T04:30:09.586Z] echo Agent pid 18 killed; [2021-03-16T04:30:09.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-16T04:30:10.218Z] + git semver [Pipeline] } [2021-03-16T04:30:10.239Z] $ docker stop --time=1 a18626593c3733b6e2e206621b35c8af5c91afdf5a7e2d5c41984d5e4eba89bc [2021-03-16T04:30:11.612Z] $ docker rm -f a18626593c3733b6e2e206621b35c8af5c91afdf5a7e2d5c41984d5e4eba89bc [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-16T04:30:13.324Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:30:13.920Z] ---> package-listing.sh [2021-03-16T04:30:13.920Z] ++ facter osfamily [2021-03-16T04:30:13.920Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-16T04:30:13.920Z] + OS_FAMILY=redhat [2021-03-16T04:30:13.920Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-03-16T04:30:13.920Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-16T04:30:13.920Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-16T04:30:13.920Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-16T04:30:13.920Z] + PACKAGES=/tmp/packages_start.txt [2021-03-16T04:30:13.920Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-16T04:30:13.920Z] + PACKAGES=/tmp/packages_end.txt [2021-03-16T04:30:13.920Z] + case "${OS_FAMILY}" in [2021-03-16T04:30:13.920Z] + rpm -qa [2021-03-16T04:30:13.920Z] + sort [2021-03-16T04:30:19.276Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-16T04:30:19.276Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-16T04:30:19.276Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-16T04:30:19.276Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-16T04:30:19.276Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-03-16T04:30:19.276Z] + 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-16T04:30:19.305Z] 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-16T04:30:19.606Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:30:19.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T04:30:19.929Z] [2021-03-16T04:30:19.929Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-16T04:30:20.296Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T04:30:20.296Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-16T04:30:20.296Z] df20fa9351a1: Pulling fs layer [2021-03-16T04:30:20.296Z] 36b3adc4ff6f: Pulling fs layer [2021-03-16T04:30:20.296Z] 8ad3a11d3b57: Pulling fs layer [2021-03-16T04:30:20.296Z] 46f8f816bc3b: Pulling fs layer [2021-03-16T04:30:20.296Z] 93b61091891f: Pulling fs layer [2021-03-16T04:30:20.296Z] 93b9cdb0e59b: Pulling fs layer [2021-03-16T04:30:20.296Z] 5e14af77c1be: Pulling fs layer [2021-03-16T04:30:20.296Z] 01666e4c0597: Pulling fs layer [2021-03-16T04:30:20.296Z] aa168da1d23b: Pulling fs layer [2021-03-16T04:30:20.296Z] 93b9cdb0e59b: Waiting [2021-03-16T04:30:20.296Z] 5e14af77c1be: Waiting [2021-03-16T04:30:20.296Z] 01666e4c0597: Waiting [2021-03-16T04:30:20.296Z] aa168da1d23b: Waiting [2021-03-16T04:30:20.296Z] 46f8f816bc3b: Waiting [2021-03-16T04:30:20.296Z] 93b61091891f: Waiting [2021-03-16T04:30:20.296Z] 36b3adc4ff6f: Verifying Checksum [2021-03-16T04:30:20.296Z] 36b3adc4ff6f: Download complete [2021-03-16T04:30:20.296Z] 46f8f816bc3b: Verifying Checksum [2021-03-16T04:30:20.296Z] 46f8f816bc3b: Download complete [2021-03-16T04:30:20.296Z] df20fa9351a1: Verifying Checksum [2021-03-16T04:30:20.296Z] df20fa9351a1: Download complete [2021-03-16T04:30:20.296Z] 93b9cdb0e59b: Verifying Checksum [2021-03-16T04:30:20.296Z] 93b9cdb0e59b: Download complete [2021-03-16T04:30:20.568Z] 93b61091891f: Verifying Checksum [2021-03-16T04:30:20.568Z] 93b61091891f: Download complete [2021-03-16T04:30:20.568Z] 5e14af77c1be: Verifying Checksum [2021-03-16T04:30:20.568Z] 5e14af77c1be: Download complete [2021-03-16T04:30:20.568Z] 01666e4c0597: Verifying Checksum [2021-03-16T04:30:20.568Z] 01666e4c0597: Download complete [2021-03-16T04:30:20.568Z] 8ad3a11d3b57: Verifying Checksum [2021-03-16T04:30:20.568Z] 8ad3a11d3b57: Download complete [2021-03-16T04:30:20.845Z] df20fa9351a1: Pull complete [2021-03-16T04:30:21.113Z] 36b3adc4ff6f: Pull complete [2021-03-16T04:30:22.084Z] 8ad3a11d3b57: Pull complete [2021-03-16T04:30:22.084Z] 46f8f816bc3b: Pull complete [2021-03-16T04:30:22.664Z] aa168da1d23b: Verifying Checksum [2021-03-16T04:30:22.664Z] aa168da1d23b: Download complete [2021-03-16T04:30:23.238Z] 93b61091891f: Pull complete [2021-03-16T04:30:23.238Z] 93b9cdb0e59b: Pull complete [2021-03-16T04:30:23.504Z] 5e14af77c1be: Pull complete [2021-03-16T04:30:23.504Z] 01666e4c0597: Pull complete [2021-03-16T04:30:30.117Z] aa168da1d23b: Pull complete [2021-03-16T04:30:30.117Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-16T04:30:30.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-16T04:30:30.380Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-16T04:30:30.531Z] prd-centos7-docker-4c-2g-29936 does not seem to be running inside a container [2021-03-16T04:30:30.579Z] $ 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-16T04:30:33.773Z] $ docker top bc17e48e9df2154adbfe29888766b0ebe64d399878b77c32061f366c1e75017d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-16T04:30:34.358Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-16T04:30:34.660Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-16T04:30:34.960Z] + ls /var/log/sa-host [2021-03-16T04:30:34.960Z] + sadf -c /var/log/sa-host/sa16 [2021-03-16T04:30:34.960Z] file_magic: OK [2021-03-16T04:30:34.960Z] HZ: Using current value: 100 [2021-03-16T04:30:34.960Z] file_header: OK [2021-03-16T04:30:34.960Z] 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-16T04:30:34.960Z] Statistics: [2021-03-16T04:30:34.960Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-16T04:30:34.960Z] File successfully converted to sysstat format version 12.2.1 [2021-03-16T04:30:34.960Z] + sadf -c /var/log/sa-host/sa23 [2021-03-16T04:30:34.960Z] file_magic: OK [2021-03-16T04:30:34.960Z] HZ: Using current value: 100 [2021-03-16T04:30:34.960Z] file_header: OK [2021-03-16T04:30:34.960Z] 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-16T04:30:34.960Z] Statistics: [2021-03-16T04:30:34.960Z] Hnuu...uuuununununu... [2021-03-16T04:30:34.960Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-16T04:30:35.585Z] provisioning config files... [2021-03-16T04:30:35.601Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1864114546577154060tmp [Pipeline] { [Pipeline] echo [2021-03-16T04:30:35.710Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:30:36.009Z] ---> create-netrc.sh [Pipeline] } [2021-03-16T04:30:36.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-16T04:30:36.127Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:30:36.427Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-16T04:30:36.438Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:30:36.736Z] ---> sudo-logs.sh [2021-03-16T04:30:36.736Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-16T04:30:36.799Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:30:37.101Z] ---> job-cost.sh [2021-03-16T04:30:37.101Z] lf-activate-venv: SKIPPING [2021-03-16T04:30:37.101Z] DEBUG: total: 0.20999999344348907 [2021-03-16T04:30:37.101Z] INFO: Retrieving Stack Cost... [2021-03-16T04:30:41.318Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-16T04:30:41.581Z] INFO: Archiving Costs [Pipeline] echo [2021-03-16T04:30:41.597Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-16T04:30:41.894Z] ---> logs-deploy.sh [2021-03-16T04:30:41.895Z] lf-activate-venv: SKIPPING [2021-03-16T04:30:41.895Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/128 [2021-03-16T04:30:41.895Z] INFO: archiving workspace using pattern(s): [2021-03-16T04:30:43.313Z] Archives upload complete. [2021-03-16T04:30:43.607Z] INFO: archiving logs to Nexus