Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 70dff52b8df9807f5114cad14836e8310fd11d9c 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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-3194 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 70dff52b8df9807f5114cad14836e8310fd11d9c (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 Commit message: "Merge pull request #905 from hahattan/virtual-195" > git rev-list --no-walk 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:07:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:07:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:07:35 ========================================================= 10:07:35 EdgeX Global Pipelines Version Info 10:07:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:07:37 ------------------- 10:07:37 stable info: 10:07:37 ------------------- 10:07:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:07:37 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 10:07:37 Message: update stable to v1.0.191 10:07:38 ------------------- 10:07:38 experimental info: 10:07:38 ------------------- 10:07:38 Commited By: **** collab-it+edgex@linuxfoundation.org 10:07:38 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 10:07:38 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:07:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 70dff52b8df9807f5114cad14836e8310fd11d9c [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 70dff52 [Pipeline] echo 10:07:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:07:39 provisioning config files... 10:07:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4631566000405681111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:39 ---> docker-login.sh 10:07:39 nexus3.edgexfoundry.org:10001 10:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:40 Configure a credential helper to remove this warning. See 10:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:40 10:07:40 Login Succeeded 10:07:40 nexus3.edgexfoundry.org:10002 10:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:40 Configure a credential helper to remove this warning. See 10:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:40 10:07:40 Login Succeeded 10:07:40 nexus3.edgexfoundry.org:10003 10:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:40 Configure a credential helper to remove this warning. See 10:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:40 10:07:40 Login Succeeded 10:07:40 nexus3.edgexfoundry.org:10004 10:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:41 Configure a credential helper to remove this warning. See 10:07:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:41 10:07:41 Login Succeeded 10:07:41 docker.io 10:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:41 Configure a credential helper to remove this warning. See 10:07:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:41 10:07:41 Login Succeeded 10:07:41 ---> docker-login.sh ends [Pipeline] } 10:07:41 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 10:07:42 + git log --format=format:%s -1 70dff52b8df9807f5114cad14836e8310fd11d9c [Pipeline] echo 10:07:42 GIT_COMMIT: 70dff52b8df9807f5114cad14836e8310fd11d9c, Commit Message: Merge pull request #905 from hahattan/virtual-195 [Pipeline] echo 10:07:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:07:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:07:43 10:07:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:07:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:07:43 latest: Pulling from edgex-devops/git-semver 10:07:43 31603596830f: Pulling fs layer 10:07:43 54011a49482f: Pulling fs layer 10:07:43 a6820b24f6d8: Pulling fs layer 10:07:43 f581987b2513: Pulling fs layer 10:07:43 f581987b2513: Waiting 10:07:43 54011a49482f: Verifying Checksum 10:07:43 54011a49482f: Download complete 10:07:43 31603596830f: Download complete 10:07:43 f581987b2513: Verifying Checksum 10:07:43 f581987b2513: Download complete 10:07:43 a6820b24f6d8: Verifying Checksum 10:07:43 a6820b24f6d8: Download complete 10:07:43 31603596830f: Pull complete 10:07:44 54011a49482f: Pull complete 10:07:45 a6820b24f6d8: Pull complete 10:07:45 f581987b2513: Pull complete 10:07:45 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 10:07:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:07:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:07:45 prd-centos7-docker-4c-2g-3194 does not seem to be running inside a container 10:07:45 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:07:47 $ docker top 49ad3cc329e09334f63d77442454addf64b314f30f757b8e94f65a01abd1d3d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:07:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:07:47 [ssh-agent] Looking for ssh-agent implementation... 10:07:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:07:48 $ docker exec 49ad3cc329e09334f63d77442454addf64b314f30f757b8e94f65a01abd1d3d2 ssh-agent 10:07:48 SSH_AUTH_SOCK=/tmp/ssh-1NUhgykniVOX/agent.12 10:07:48 SSH_AGENT_PID=18 10:07:48 Running ssh-add (command line suppressed) 10:07:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8070493167672640967.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8070493167672640967.key) 10:07:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:07:48 + git tag --points-at HEAD [Pipeline] } 10:07:48 $ docker exec --env ******** --env ******** 49ad3cc329e09334f63d77442454addf64b314f30f757b8e94f65a01abd1d3d2 ssh-agent -k 10:07:48 unset SSH_AUTH_SOCK; 10:07:48 unset SSH_AGENT_PID; 10:07:48 echo Agent pid 18 killed; 10:07:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:07:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:07:48 [ssh-agent] Looking for ssh-agent implementation... 10:07:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:07:49 $ docker exec 49ad3cc329e09334f63d77442454addf64b314f30f757b8e94f65a01abd1d3d2 ssh-agent 10:07:49 SSH_AUTH_SOCK=/tmp/ssh-D06jz4HWny4u/agent.47 10:07:49 SSH_AGENT_PID=53 10:07:49 Running ssh-add (command line suppressed) 10:07:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6589469451287477594.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6589469451287477594.key) 10:07:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:07:49 + git semver init 10:07:49 # -> Open(): unable to determine branch for HEAD 10:07:49 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 10:07:49 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 10:07:49 # $SEMVER_REMOTE_NAME = origin 10:07:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:07:49 # $SEMVER_USER_NAME = edgex-jenkins 10:07:49 # $SEMVER_BRANCH = master 10:07:49 # $SEMVER_TEMP = /tmp/semver-117871828 10:07:49 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:07:50 # '/tmp/semver-117871828' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 10:07:50 # -> Force: false 10:07:50 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 10:07:50 $ docker exec --env ******** --env ******** 49ad3cc329e09334f63d77442454addf64b314f30f757b8e94f65a01abd1d3d2 ssh-agent -k 10:07:50 unset SSH_AUTH_SOCK; 10:07:50 unset SSH_AGENT_PID; 10:07:50 echo Agent pid 53 killed; 10:07:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:07:51 + git semver [Pipeline] } 10:07:51 $ docker stop --time=1 49ad3cc329e09334f63d77442454addf64b314f30f757b8e94f65a01abd1d3d2 10:07:53 $ docker rm -f 49ad3cc329e09334f63d77442454addf64b314f30f757b8e94f65a01abd1d3d2 [Pipeline] // withDockerContainer [Pipeline] sh 10:07:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:07:54 Stashed 1 file(s) [Pipeline] echo 10:07:54 [edgeXSemver]: initialized semver on version 2.0.0-dev.51 [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 10:08:09 Still waiting to schedule task 10:08:09 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3194’ 10:08:09 Still waiting to schedule task 10:08:09 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline 10:09:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3195 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 10:09:57 Running in /w/workspace/device-sdk-go/156 [Pipeline] { [Pipeline] checkout 10:10:03 using credential edgex-jenkins-ssh 10:10:03 Cloning the remote Git repository 10:10:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:10:03 > git init /w/workspace/device-sdk-go/156 # timeout=10 10:10:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:10:03 > git --version # timeout=10 10:10:03 > git --version # 'git version 2.17.1' 10:10:03 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:07 Checking out Revision 70dff52b8df9807f5114cad14836e8310fd11d9c (master) 10:10:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:10:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:10:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:10:07 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 10:10:07 > git config core.sparsecheckout # timeout=10 10:10:07 > git checkout -f 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 10:10:12 Commit message: "Merge pull request #905 from hahattan/virtual-195" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 10:10:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:10:14 + sudo service docker restart 10:10:14 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:10:16 provisioning config files... 10:10:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/156@tmp/config8848051844142857750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:16 ---> docker-login.sh 10:10:16 nexus3.edgexfoundry.org:10001 10:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:18 Configure a credential helper to remove this warning. See 10:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:18 10:10:18 Login Succeeded 10:10:18 nexus3.edgexfoundry.org:10002 10:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:18 Configure a credential helper to remove this warning. See 10:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:18 10:10:18 Login Succeeded 10:10:18 nexus3.edgexfoundry.org:10003 10:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:19 Configure a credential helper to remove this warning. See 10:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:19 10:10:19 Login Succeeded 10:10:19 nexus3.edgexfoundry.org:10004 10:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:19 Configure a credential helper to remove this warning. See 10:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:19 10:10:19 Login Succeeded 10:10:19 docker.io 10:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:20 Configure a credential helper to remove this warning. See 10:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:20 10:10:20 Login Succeeded 10:10:20 ---> docker-login.sh ends [Pipeline] } 10:10:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:21 ========================================================= 10:10:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 10:10:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:10:21 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 10:10:22 Sending build context to Docker daemon 2.462MB 10:10:22 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:10:22 Step 2/8 : FROM ${BASE} 10:10:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:10:22 595b0fe564bb: Pulling fs layer 10:10:22 7186ed65a4f7: Pulling fs layer 10:10:22 316046926c0a: Pulling fs layer 10:10:22 4ebd0625c992: Pulling fs layer 10:10:22 207e8628e3a3: Pulling fs layer 10:10:22 c791037a9be2: Pulling fs layer 10:10:22 ffd874e62e21: Pulling fs layer 10:10:22 4ebd0625c992: Waiting 10:10:22 207e8628e3a3: Waiting 10:10:22 c791037a9be2: Waiting 10:10:22 316046926c0a: Verifying Checksum 10:10:22 316046926c0a: Download complete 10:10:22 7186ed65a4f7: Download complete 10:10:22 207e8628e3a3: Verifying Checksum 10:10:22 207e8628e3a3: Download complete 10:10:22 c791037a9be2: Verifying Checksum 10:10:22 c791037a9be2: Download complete 10:10:22 595b0fe564bb: Verifying Checksum 10:10:22 595b0fe564bb: Download complete 10:10:22 595b0fe564bb: Pull complete 10:10:23 7186ed65a4f7: Pull complete 10:10:23 316046926c0a: Pull complete 10:10:24 ffd874e62e21: Download complete 10:10:25 4ebd0625c992: Verifying Checksum 10:10:25 4ebd0625c992: Download complete 10:10:33 Running on prd-centos7-docker-4c-2g-3196 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 10:10:33 Running in /w/workspace/device-sdk-go/156 [Pipeline] { [Pipeline] checkout 10:10:35 using credential edgex-jenkins-ssh 10:10:35 Cloning the remote Git repository 10:10:36 4ebd0625c992: Pull complete 10:10:36 207e8628e3a3: Pull complete 10:10:36 c791037a9be2: Pull complete 10:10:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:10:35 > git init /w/workspace/device-sdk-go/156 # timeout=10 10:10:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:10:36 > git --version # timeout=10 10:10:36 > git --version # 'git version 2.24.3' 10:10:36 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:37 Checking out Revision 70dff52b8df9807f5114cad14836e8310fd11d9c (master) 10:10:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:10:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:10:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:10:37 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 10:10:37 > git config core.sparsecheckout # timeout=10 10:10:37 > git checkout -f 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 10:10:41 ffd874e62e21: Pull complete 10:10:41 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 10:10:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 10:10:41 ---> cfc18b08335c 10:10:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:10:41 Commit message: "Merge pull request #905 from hahattan/virtual-195" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:42 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 10:10:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:10:42 + true 10:10:42 + sudo service docker restart 10:10:42 Redirecting to /bin/systemctl restart docker.service 10:10:43 ---> Running in 04f86d124105 10:10:43 Removing intermediate container 04f86d124105 10:10:43 ---> 36f983f4c978 10:10:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:10:43 provisioning config files... 10:10:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/156@tmp/config3250753658142249036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:43 ---> Running in f1530ace7831 10:10:44 ---> docker-login.sh 10:10:44 nexus3.edgexfoundry.org:10001 10:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:44 Configure a credential helper to remove this warning. See 10:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:44 10:10:44 Login Succeeded 10:10:44 nexus3.edgexfoundry.org:10002 10:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:44 Configure a credential helper to remove this warning. See 10:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:44 10:10:44 Login Succeeded 10:10:44 nexus3.edgexfoundry.org:10003 10:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:44 Configure a credential helper to remove this warning. See 10:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:44 10:10:44 Login Succeeded 10:10:44 nexus3.edgexfoundry.org:10004 10:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:44 Configure a credential helper to remove this warning. See 10:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:44 10:10:44 Login Succeeded 10:10:44 docker.io 10:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:45 Configure a credential helper to remove this warning. See 10:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:45 10:10:45 Login Succeeded 10:10:45 ---> docker-login.sh ends [Pipeline] } 10:10:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:45 ========================================================= 10:10:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 10:10:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:10:45 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 10:10:45 Sending build context to Docker daemon 2.463MB 10:10:45 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:10:45 Step 2/8 : FROM ${BASE} 10:10:45 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 10:10:45 540db60ca938: Pulling fs layer 10:10:45 adcc1eea9eea: Pulling fs layer 10:10:45 4c4ab2625f07: Pulling fs layer 10:10:45 0510c868ecb4: Pulling fs layer 10:10:45 afea3b2eda06: Pulling fs layer 10:10:45 7809a108b3ef: Pulling fs layer 10:10:45 f706445af74f: Pulling fs layer 10:10:45 0510c868ecb4: Waiting 10:10:45 afea3b2eda06: Waiting 10:10:45 7809a108b3ef: Waiting 10:10:45 f706445af74f: Waiting 10:10:45 4c4ab2625f07: Verifying Checksum 10:10:45 4c4ab2625f07: Download complete 10:10:45 adcc1eea9eea: Download complete 10:10:45 afea3b2eda06: Verifying Checksum 10:10:45 afea3b2eda06: Download complete 10:10:45 7809a108b3ef: Verifying Checksum 10:10:45 7809a108b3ef: Download complete 10:10:45 540db60ca938: Verifying Checksum 10:10:45 540db60ca938: Download complete 10:10:46 540db60ca938: Pull complete 10:10:46 adcc1eea9eea: Pull complete 10:10:46 Removing intermediate container f1530ace7831 10:10:46 ---> 3aa078036999 10:10:46 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 10:10:46 ---> Running in 52f5722296c6 10:10:46 4c4ab2625f07: Pull complete 10:10:47 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 10:10:47 f706445af74f: Verifying Checksum 10:10:47 f706445af74f: Download complete 10:10:48 0510c868ecb4: Verifying Checksum 10:10:48 0510c868ecb4: Download complete 10:10:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 10:10:50 (1/6) Installing libc-dev (0.7.2-r3) 10:10:50 (2/6) Installing libsodium (1.0.18-r0) 10:10:51 (3/6) Installing pkgconf (1.7.3-r0) 10:10:51 (4/6) Installing libsodium-dev (1.0.18-r0) 10:10:51 (5/6) Installing libzmq (4.3.3-r1) 10:10:52 (6/6) Installing zeromq-dev (4.3.3-r1) 10:10:52 Executing busybox-1.32.1-r6.trigger 10:10:52 OK: 139 MiB in 46 packages 10:10:53 Removing intermediate container 52f5722296c6 10:10:53 ---> 62dc31ec441f 10:10:53 Step 6/8 : WORKDIR /device-sdk-go 10:10:53 ---> Running in 7acaabef22cc 10:10:53 0510c868ecb4: Pull complete 10:10:53 afea3b2eda06: Pull complete 10:10:53 7809a108b3ef: Pull complete 10:10:54 Removing intermediate container 7acaabef22cc 10:10:54 ---> 47cd89199ab6 10:10:54 Step 7/8 : COPY . . 10:10:55 ---> 61d0dabca900 10:10:55 Step 8/8 : RUN go mod download 10:10:55 ---> Running in 33ed8ea56904 10:10:58 f706445af74f: Pull complete 10:10:58 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 10:10:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 10:10:58 ---> b068be0155e3 10:10:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:10:59 ---> Running in cc993bdf2f99 10:11:00 Removing intermediate container cc993bdf2f99 10:11:00 ---> 2585613652c2 10:11:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:00 ---> Running in 1a5d7d4f4887 10:11:01 Removing intermediate container 1a5d7d4f4887 10:11:01 ---> 8bf681c65bb4 10:11:01 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 10:11:01 ---> Running in 98c5c20ed959 10:11:01 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 10:11:03 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 10:11:04 (1/6) Installing libc-dev (0.7.2-r3) 10:11:04 (2/6) Installing libsodium (1.0.18-r0) 10:11:04 (3/6) Installing pkgconf (1.7.3-r0) 10:11:04 (4/6) Installing libsodium-dev (1.0.18-r0) 10:11:04 (5/6) Installing libzmq (4.3.3-r1) 10:11:04 (6/6) Installing zeromq-dev (4.3.3-r1) 10:11:05 Executing busybox-1.32.1-r6.trigger 10:11:05 OK: 150 MiB in 46 packages 10:11:05 Removing intermediate container 98c5c20ed959 10:11:05 ---> ebf65b27779f 10:11:05 Step 6/8 : WORKDIR /device-sdk-go 10:11:05 ---> Running in c60d5042b4f9 10:11:06 Removing intermediate container c60d5042b4f9 10:11:06 ---> 7386b835781d 10:11:06 Step 7/8 : COPY . . 10:11:07 ---> c5a3f33cd4d8 10:11:07 Step 8/8 : RUN go mod download 10:11:07 ---> Running in 3695ea331b85 10:11:27 Removing intermediate container 33ed8ea56904 10:11:27 ---> 1592fcf8fc2d 10:11:27 Successfully built 1592fcf8fc2d 10:11:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:11:28 + docker inspect -f . ci-base-image-arm64 10:11:28 . [Pipeline] withDockerContainer 10:11:28 prd-ubuntu18.04-docker-arm64-4c-16g-3195 does not seem to be running inside a container 10:11:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/156 -v /w/workspace/device-sdk-go/156:/w/workspace/device-sdk-go/156:rw,z -v /w/workspace/device-sdk-go/156@tmp:/w/workspace/device-sdk-go/156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:11:29 Removing intermediate container 3695ea331b85 10:11:29 ---> 9cd7c053615a 10:11:29 Successfully built 9cd7c053615a 10:11:29 Successfully tagged ci-base-image-x86_64:latest 10:11:29 $ docker top 91f5d5bb0d6c752e7785f2479ea10ad45078acf512ae3a8088eaaefe2229a6e8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 10:11:30 + docker inspect -f . ci-base-image-x86_64 10:11:30 . [Pipeline] withDockerContainer 10:11:30 prd-centos7-docker-4c-2g-3196 does not seem to be running inside a container 10:11:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/156 -v /w/workspace/device-sdk-go/156:/w/workspace/device-sdk-go/156:rw,z -v /w/workspace/device-sdk-go/156@tmp:/w/workspace/device-sdk-go/156@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 10:11:30 + go version 10:11:30 go version go1.16.3 linux/arm64 10:11:31 $ docker top 493ff0abdd8d18ad1831ae12f2bf9b0363701a16bcc4c048ec31c36755d2bce5 -eo pid,comm [Pipeline] { [Pipeline] } 10:11:31 $ docker stop --time=1 91f5d5bb0d6c752e7785f2479ea10ad45078acf512ae3a8088eaaefe2229a6e8 10:11:33 $ docker rm -f 91f5d5bb0d6c752e7785f2479ea10ad45078acf512ae3a8088eaaefe2229a6e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:11:33 + go version 10:11:33 go version go1.16.3 linux/amd64 [Pipeline] } 10:11:33 $ docker stop --time=1 493ff0abdd8d18ad1831ae12f2bf9b0363701a16bcc4c048ec31c36755d2bce5 10:11:34 + docker inspect -f . ci-base-image-arm64 10:11:34 . 10:11:35 $ docker rm -f 493ff0abdd8d18ad1831ae12f2bf9b0363701a16bcc4c048ec31c36755d2bce5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer 10:11:35 prd-ubuntu18.04-docker-arm64-4c-16g-3195 does not seem to be running inside a container 10:11:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/156 -v /w/workspace/device-sdk-go/156:/w/workspace/device-sdk-go/156:rw,z -v /w/workspace/device-sdk-go/156@tmp:/w/workspace/device-sdk-go/156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:11:37 $ docker top 6add47fde17a847167124172f5b52b3779b84d211b2ec846f439ce31eeaa5771 -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:11:37 + docker inspect -f . ci-base-image-x86_64 10:11:37 . [Pipeline] withDockerContainer 10:11:37 prd-centos7-docker-4c-2g-3196 does not seem to be running inside a container 10:11:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/156 -v /w/workspace/device-sdk-go/156:/w/workspace/device-sdk-go/156:rw,z -v /w/workspace/device-sdk-go/156@tmp:/w/workspace/device-sdk-go/156@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 10:11:38 + go mod tidy 10:11:38 $ docker top 6b7c039792cf334191b818c8b70df50f2c964c54a2332bfbdcc909c882f6b767 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 10:11:38 + go mod tidy [Pipeline] sh 10:11:39 + make test 10:11:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:11:39 + make test 10:11:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:11:47 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:12:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:12:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:12:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:12:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:12:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 10:12:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:12:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 28.1% of statements 10:12:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 78.9% of statements 10:12:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.061s coverage: 7.8% of statements 10:12:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 10:12:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:12:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:12:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.090s coverage: 30.2% of statements 10:12:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:12:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:12:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:12:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 57.2% of statements 10:12:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.294s coverage: 6.6% of statements 10:12:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 10:12:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:12:11 GO111MODULE=on go vet ./... 10:12:29 gofmt -l . 10:12:29 [ "`gofmt -l .`" = "" ] 10:12:29 ./bin/test-attribution-txt.sh 10:12:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:12:29 $ docker stop --time=1 6b7c039792cf334191b818c8b70df50f2c964c54a2332bfbdcc909c882f6b767 10:12:31 $ docker rm -f 6b7c039792cf334191b818c8b70df50f2c964c54a2332bfbdcc909c882f6b767 [Pipeline] // withDockerContainer [Pipeline] sh 10:12:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:12:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:12:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:12:35 + ls -al . 10:12:35 total 188 10:12:35 drwxrwxr-x. 10 jenkins jenkins 4096 May 6 10:12 . 10:12:35 drwxrwxr-x. 4 jenkins jenkins 32 May 6 10:10 .. 10:12:35 drwxrwxr-x. 2 jenkins jenkins 64 May 6 10:10 bin 10:12:35 -rw-r--r--. 1 jenkins jenkins 100320 May 6 10:12 coverage.out 10:12:35 -rw-rw-r--. 1 jenkins jenkins 987 May 6 10:10 Dockerfile.build 10:12:35 -rw-rw-r--. 1 jenkins jenkins 140 May 6 10:10 .dockerignore 10:12:35 drwxrwxr-x. 5 jenkins jenkins 62 May 6 10:10 example 10:12:35 drwxrwxr-x. 8 jenkins jenkins 162 May 6 10:10 .git 10:12:35 drwxrwxr-x. 2 jenkins jenkins 103 May 6 10:10 .github 10:12:35 -rw-rw-r--. 1 jenkins jenkins 138 May 6 10:10 .gitignore 10:12:35 -rw-r--r--. 1 jenkins jenkins 575 May 6 10:12 go.mod 10:12:35 -rw-r--r--. 1 jenkins jenkins 20957 May 6 10:11 go.sum 10:12:35 drwxrwxr-x. 14 jenkins jenkins 207 May 6 10:10 internal 10:12:35 -rw-rw-r--. 1 jenkins jenkins 901 May 6 10:10 Jenkinsfile 10:12:35 -rw-rw-r--. 1 jenkins jenkins 11341 May 6 10:10 LICENSE 10:12:35 -rw-rw-r--. 1 jenkins jenkins 1022 May 6 10:10 Makefile 10:12:35 drwxrwxr-x. 4 jenkins jenkins 26 May 6 10:10 openapi 10:12:35 drwxrwxr-x. 5 jenkins jenkins 50 May 6 10:10 pkg 10:12:35 -rw-rw-r--. 1 jenkins jenkins 7652 May 6 10:10 README.md 10:12:35 -rw-rw-r--. 1 jenkins jenkins 6616 May 6 10:10 RELEASE-NOTES.txt 10:12:35 drwxrwxr-x. 4 jenkins jenkins 54 May 6 10:10 snap 10:12:35 -rw-rw-r--. 1 jenkins jenkins 12 May 6 10:07 VERSION 10:12:35 -rw-rw-r--. 1 jenkins jenkins 222 May 6 10:10 version.go [Pipeline] isUnix [Pipeline] sh 10:12:35 + 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=70dff52b8df9807f5114cad14836e8310fd11d9c --label arch=amd64 --label version=2.0.0-dev.51 . 10:12:35 Sending build context to Docker daemon 2.564MB 10:12:35 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 10:12:35 Step 2/23 : FROM ${BASE} AS builder 10:12:35 ---> 9cd7c053615a 10:12:35 Step 3/23 : WORKDIR /device-sdk-go 10:12:36 ---> Running in cd28b4ac156d 10:12:36 Removing intermediate container cd28b4ac156d 10:12:36 ---> fb1289db535a 10:12:36 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:12:36 ---> Running in 7e656f399513 10:12:36 Removing intermediate container 7e656f399513 10:12:36 ---> 38ac810119a7 10:12:36 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:12:36 ---> Running in f4a486cf6120 10:12:37 Removing intermediate container f4a486cf6120 10:12:37 ---> 7126cd6e535b 10:12:37 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:12:37 ---> Running in b57b1995bd75 10:12:38 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 10:12:39 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 10:12:40 OK: 150 MiB in 46 packages 10:12:40 Removing intermediate container b57b1995bd75 10:12:40 ---> 9fd270e74668 10:12:40 Step 7/23 : COPY . . 10:12:41 ---> 93660e84caaa 10:12:41 Step 8/23 : RUN go mod download 10:12:41 ---> Running in f76cb5370527 10:12:42 Removing intermediate container f76cb5370527 10:12:42 ---> 80cc4f4a0403 10:12:42 Step 9/23 : RUN make build 10:12:42 ---> Running in 67ec99de7f0a 10:12:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.51" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:12:53 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 10:12:55 Removing intermediate container 67ec99de7f0a 10:12:55 ---> b136e1addcbf 10:12:55 Step 10/23 : FROM alpine:3.12 10:12:55 3.12: Pulling from library/alpine 10:12:55 339de151aab4: Pulling fs layer 10:12:55 339de151aab4: Download complete 10:12:56 339de151aab4: Pull complete 10:12:56 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 10:12:56 Status: Downloaded newer image for alpine:3.12 10:12:56 ---> 13621d1b12d4 10:12:56 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:12:56 ---> Running in a2fc1f4b77c1 10:12:56 Removing intermediate container a2fc1f4b77c1 10:12:56 ---> cec886ce491a 10:12:56 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:12:56 ---> Running in 1d3ff82f1914 10:12:57 Removing intermediate container 1d3ff82f1914 10:12:57 ---> 19ae89fb6b73 10:12:57 Step 13/23 : RUN apk add --update --no-cache zeromq 10:12:57 ---> Running in a8e69d59b095 10:12:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:12:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:12:59 (1/5) Installing libgcc (9.3.0-r2) 10:12:59 (2/5) Installing libsodium (1.0.18-r0) 10:12:59 (3/5) Installing libstdc++ (9.3.0-r2) 10:12:59 (4/5) Installing libzmq (4.3.3-r0) 10:12:59 (5/5) Installing zeromq (4.3.3-r0) 10:12:59 Executing busybox-1.31.1-r20.trigger 10:12:59 OK: 8 MiB in 19 packages 10:13:00 Removing intermediate container a8e69d59b095 10:13:00 ---> 331201db3b49 10:13:00 Step 14/23 : WORKDIR / 10:13:00 ---> Running in 88388ad01313 10:13:00 Removing intermediate container 88388ad01313 10:13:00 ---> 30d47ddb243c 10:13:00 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:13:00 ---> 5dfd9ac88c3f 10:13:00 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:13:01 ---> 6eeb3ccc562d 10:13:01 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:13:01 ---> b80c628c6e46 10:13:01 Step 18/23 : EXPOSE 49990 10:13:01 ---> Running in 98e8a871527e 10:13:01 Removing intermediate container 98e8a871527e 10:13:01 ---> 40a0d7b1154e 10:13:01 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:13:01 ---> Running in b5b9068bbd06 10:13:01 Removing intermediate container b5b9068bbd06 10:13:01 ---> 043fdda06ab0 10:13:01 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:13:01 ---> Running in 8306d61b310d 10:13:02 Removing intermediate container 8306d61b310d 10:13:02 ---> 7567db0f9fb3 10:13:02 Step 21/23 : LABEL arch=amd64 10:13:02 ---> Running in 827abf141a0b 10:13:02 Removing intermediate container 827abf141a0b 10:13:02 ---> da8d6414b9fc 10:13:02 Step 22/23 : LABEL git_sha=70dff52b8df9807f5114cad14836e8310fd11d9c 10:13:02 ---> Running in 1d4d4d3a6cce 10:13:02 Removing intermediate container 1d4d4d3a6cce 10:13:02 ---> 721f276e8924 10:13:02 Step 23/23 : LABEL version=2.0.0-dev.51 10:13:02 ---> Running in 5d222da64e06 10:13:03 Removing intermediate container 5d222da64e06 10:13:03 ---> 31e45e265ee2 10:13:03 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:13:03 Successfully built 31e45e265ee2 10:13:03 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 10:13:03 ---> job-cost.sh 10:13:03 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GQt5 10:13:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:13:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:13:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:13:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 10:13:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:13:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.134s coverage: 28.1% of statements 10:13:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.279s coverage: 78.9% of statements 10:13:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.154s coverage: 7.8% of statements 10:13:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 10:13:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:13:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:13:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.245s coverage: 30.2% of statements 10:13:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:13:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:13:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:13:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.328s coverage: 57.2% of statements 10:13:18 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:13:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.159s coverage: 6.6% of statements 10:13:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 5.0% of statements 10:13:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:13:19 GO111MODULE=on go vet ./... 10:13:40 lf-activate-venv(): INFO: Adding /tmp/venv-GQt5/bin to PATH 10:13:40 INFO: No Stack... 10:13:41 INFO: Retrieving Pricing Info for: v1-standard-2 10:13:42 INFO: Archiving Costs [Pipeline] sh 10:13:43 + cat /w/workspace/device-sdk-go/156/archives/cost.csv 10:13:43 + cut -d, -f6 [Pipeline] lock 10:13:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-156-stack-cost] 10:13:43 Resource [jenkins-edgexfoundry-device-sdk-go-master-156-stack-cost] did not exist. Created. 10:13:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-156-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:43 + echo total: 0.029999999329447746 [Pipeline] stash 10:13:43 Stashed 1 file(s) [Pipeline] } 10:13:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-156-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:14:16 gofmt -l . 10:14:16 [ "`gofmt -l .`" = "" ] 10:14:16 ./bin/test-attribution-txt.sh 10:14:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:14:16 $ docker stop --time=1 6add47fde17a847167124172f5b52b3779b84d211b2ec846f439ce31eeaa5771 10:14:18 $ docker rm -f 6add47fde17a847167124172f5b52b3779b84d211b2ec846f439ce31eeaa5771 [Pipeline] // withDockerContainer [Pipeline] sh 10:14:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:14:19 Warning: overwriting stash ‘coverage-report’ 10:14:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:14:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:14:21 + ls -al . 10:14:21 total 224 10:14:21 drwxrwxr-x 10 jenkins jenkins 4096 May 6 10:14 . 10:14:21 drwxrwxr-x 4 jenkins jenkins 4096 May 6 10:10 .. 10:14:21 -rw-rw-r-- 1 jenkins jenkins 140 May 6 10:10 .dockerignore 10:14:21 drwxrwxr-x 8 jenkins jenkins 4096 May 6 10:10 .git 10:14:21 drwxrwxr-x 2 jenkins jenkins 4096 May 6 10:10 .github 10:14:21 -rw-rw-r-- 1 jenkins jenkins 138 May 6 10:10 .gitignore 10:14:21 -rw-rw-r-- 1 jenkins jenkins 987 May 6 10:10 Dockerfile.build 10:14:21 -rw-rw-r-- 1 jenkins jenkins 901 May 6 10:10 Jenkinsfile 10:14:21 -rw-rw-r-- 1 jenkins jenkins 11341 May 6 10:10 LICENSE 10:14:21 -rw-rw-r-- 1 jenkins jenkins 1022 May 6 10:10 Makefile 10:14:21 -rw-rw-r-- 1 jenkins jenkins 7652 May 6 10:10 README.md 10:14:21 -rw-rw-r-- 1 jenkins jenkins 6616 May 6 10:10 RELEASE-NOTES.txt 10:14:21 -rw-rw-r-- 1 jenkins jenkins 12 May 6 10:07 VERSION 10:14:21 drwxrwxr-x 2 jenkins jenkins 4096 May 6 10:10 bin 10:14:21 -rw-r--r-- 1 jenkins jenkins 100320 May 6 10:13 coverage.out 10:14:21 drwxrwxr-x 5 jenkins jenkins 4096 May 6 10:10 example 10:14:21 -rw-r--r-- 1 jenkins jenkins 575 May 6 10:14 go.mod 10:14:21 -rw-r--r-- 1 jenkins jenkins 20957 May 6 10:11 go.sum 10:14:21 drwxrwxr-x 14 jenkins jenkins 4096 May 6 10:10 internal 10:14:21 drwxrwxr-x 4 jenkins jenkins 4096 May 6 10:10 openapi 10:14:21 drwxrwxr-x 5 jenkins jenkins 4096 May 6 10:10 pkg 10:14:21 drwxrwxr-x 4 jenkins jenkins 4096 May 6 10:10 snap 10:14:21 -rw-rw-r-- 1 jenkins jenkins 222 May 6 10:10 version.go [Pipeline] isUnix [Pipeline] sh 10:14:21 + 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=70dff52b8df9807f5114cad14836e8310fd11d9c --label arch=arm64 --label version=2.0.0-dev.51 . 10:14:21 Sending build context to Docker daemon 2.563MB 10:14:21 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 10:14:21 Step 2/23 : FROM ${BASE} AS builder 10:14:22 ---> 1592fcf8fc2d 10:14:22 Step 3/23 : WORKDIR /device-sdk-go 10:14:22 ---> Running in 4b555a0cc316 10:14:22 Removing intermediate container 4b555a0cc316 10:14:22 ---> db7f766edffc 10:14:22 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:14:23 ---> Running in b24996e2b1a5 10:14:23 Removing intermediate container b24996e2b1a5 10:14:23 ---> dc3c9c4cfc07 10:14:23 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:14:23 ---> Running in db1ed2078354 10:14:25 Removing intermediate container db1ed2078354 10:14:25 ---> 1001b1126589 10:14:25 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:14:25 ---> Running in dd5e38ebf370 10:14:27 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 10:14:27 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 10:14:28 OK: 139 MiB in 46 packages 10:14:30 Removing intermediate container dd5e38ebf370 10:14:30 ---> a380b7ed4503 10:14:30 Step 7/23 : COPY . . 10:14:31 ---> 8113da474459 10:14:31 Step 8/23 : RUN go mod download 10:14:31 ---> Running in d74b447d762e 10:14:33 Removing intermediate container d74b447d762e 10:14:33 ---> 3d6cdc2073ea 10:14:33 Step 9/23 : RUN make build 10:14:33 ---> Running in e8af72c9a389 10:14:34 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.51" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:15:07 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 10:15:09 Removing intermediate container e8af72c9a389 10:15:09 ---> beefe32bf960 10:15:09 Step 10/23 : FROM alpine:3.12 10:15:09 3.12: Pulling from library/alpine 10:15:09 d2f70382dc9a: Pulling fs layer 10:15:10 d2f70382dc9a: Verifying Checksum 10:15:10 d2f70382dc9a: Download complete 10:15:10 d2f70382dc9a: Pull complete 10:15:10 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 10:15:10 Status: Downloaded newer image for alpine:3.12 10:15:10 ---> 9852663dfa18 10:15:10 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:15:11 ---> Running in 85f4e87d3fbd 10:15:11 Removing intermediate container 85f4e87d3fbd 10:15:11 ---> 0d6823159491 10:15:11 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:15:11 ---> Running in 0976efae24cc 10:15:13 Removing intermediate container 0976efae24cc 10:15:13 ---> a8a385dcc14f 10:15:13 Step 13/23 : RUN apk add --update --no-cache zeromq 10:15:13 ---> Running in c0d654731b4f 10:15:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:15:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:15:17 (1/5) Installing libgcc (9.3.0-r2) 10:15:17 (2/5) Installing libsodium (1.0.18-r0) 10:15:17 (3/5) Installing libstdc++ (9.3.0-r2) 10:15:18 (4/5) Installing libzmq (4.3.3-r0) 10:15:18 (5/5) Installing zeromq (4.3.3-r0) 10:15:18 Executing busybox-1.31.1-r20.trigger 10:15:18 OK: 8 MiB in 19 packages 10:15:20 Removing intermediate container c0d654731b4f 10:15:20 ---> 998a46e34610 10:15:20 Step 14/23 : WORKDIR / 10:15:20 ---> Running in fe50a3be45d1 10:15:20 Removing intermediate container fe50a3be45d1 10:15:20 ---> 8267c2cd6876 10:15:20 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:15:21 ---> d32be43b4091 10:15:21 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:15:22 ---> c42c1e969b9b 10:15:22 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:15:23 ---> d3cfd126a245 10:15:23 Step 18/23 : EXPOSE 49990 10:15:23 ---> Running in 520166831bcd 10:15:23 Removing intermediate container 520166831bcd 10:15:23 ---> 75c39e2a2459 10:15:23 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:15:23 ---> Running in 18894f32077c 10:15:24 Removing intermediate container 18894f32077c 10:15:24 ---> 5c5ac6924c15 10:15:24 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:15:24 ---> Running in 8cfa2589df50 10:15:24 Removing intermediate container 8cfa2589df50 10:15:24 ---> 75b410cfa927 10:15:24 Step 21/23 : LABEL arch=arm64 10:15:24 ---> Running in 0ed9abcf82bf 10:15:25 Removing intermediate container 0ed9abcf82bf 10:15:25 ---> a0dfcbbc8987 10:15:25 Step 22/23 : LABEL git_sha=70dff52b8df9807f5114cad14836e8310fd11d9c 10:15:25 ---> Running in 3289d012601e 10:15:26 Removing intermediate container 3289d012601e 10:15:26 ---> 68c6e4c533e8 10:15:26 Step 23/23 : LABEL version=2.0.0-dev.51 10:15:26 ---> Running in 5830d1603c20 10:15:26 Removing intermediate container 5830d1603c20 10:15:26 ---> 394296192717 10:15:26 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:15:26 Successfully built 394296192717 10:15:26 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 10:15:27 ---> job-cost.sh 10:15:27 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5PAd 10:16:06 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:17:42 lf-activate-venv(): INFO: Adding /tmp/venv-5PAd/bin to PATH 10:17:42 INFO: No Stack... 10:17:42 INFO: Retrieving Pricing Info for: lf-standard-4 10:17:42 INFO: Archiving Costs [Pipeline] sh 10:17:43 + cut -d, -f6 10:17:43 + cat /w/workspace/device-sdk-go/156/archives/cost.csv [Pipeline] lock 10:17:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-156-stack-cost] 10:17:43 Resource [jenkins-edgexfoundry-device-sdk-go-master-156-stack-cost] did not exist. Created. 10:17:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-156-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:17:43 /w/workspace/device-sdk-go/156@tmp/durable-31cf69ad/script.sh: 1: /w/workspace/device-sdk-go/156@tmp/durable-31cf69ad/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 10:17:44 + echo total: 0.20999999344348907 [Pipeline] stash 10:17:44 Warning: overwriting stash ‘stack-cost’ 10:17:44 Stashed 1 file(s) [Pipeline] } 10:17:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-156-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 10:17:44 provisioning config files... 10:17:44 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5668775385466308612tmp [Pipeline] { [Pipeline] sh 10:17:45 + set +x 10:17:45 + curl -s https://codecov.io/bash 10:17:45 + bash -s -- 10:17:45 10:17:45 _____ _ 10:17:45 / ____| | | 10:17:45 | | ___ __| | ___ ___ _____ __ 10:17:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:17:45 | |___| (_) | (_| | __/ (_| (_) \ V / 10:17:45 \_____\___/ \__,_|\___|\___\___/ \_/ 10:17:45 Bash-1.0.2 10:17:45 10:17:45 10:17:45 ==> git version 2.24.3 found 10:17:45 ==> 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 10:17:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:17:45 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:17:45 ==> Jenkins CI detected. 10:17:45 project root: . 10:17:45 --> token set from env 10:17:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:17:45 ==> Running gcov in . (disable via -X gcov) 10:17:45 ==> Python coveragepy not found 10:17:45 ==> Searching for coverage reports in: 10:17:45 + . 10:17:45 -> Found 1 reports 10:17:45 ==> Detecting git/mercurial file structure 10:17:45 ==> Reading reports 10:17:45 + ./coverage.out bytes=100320 10:17:45 ==> Appending adjustments 10:17:45 https://docs.codecov.io/docs/fixing-reports 10:17:45 + Found adjustments 10:17:45 ==> Gzipping contents 10:17:46 16K /tmp/codecov.kOEbXY.gz 10:17:46 ==> Uploading reports 10:17:46 url: https://codecov.io 10:17:46 query: branch=master&commit=70dff52b8df9807f5114cad14836e8310fd11d9c&build=156&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F156%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:17:46 -> Pinging Codecov 10:17:46 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=70dff52b8df9807f5114cad14836e8310fd11d9c&build=156&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F156%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:17:46 -> Uploading to 10:17:46 https://storage.googleapis.com/codecov/v4/raw/2021-05-06/7E55EF52A471D76F132DFD9A03CDDE97/70dff52b8df9807f5114cad14836e8310fd11d9c/94d4b073-c2d2-47b9-80b9-d21037f922e3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T101746Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3ef175741ec656f4257759dad26e37e3099eb25af4832ac196898e28a420e54 10:17:46 % Total % Received % Xferd Average Speed Time Time Time Current 10:17:46 Dload Upload Total Spent Left Speed 10:17:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13515 0 0 100 13515 0 23508 --:--:-- --:--:-- --:--:-- 23504 100 13515 0 0 100 13515 0 23501 --:--:-- --:--:-- --:--:-- 23504 10:17:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/70dff52b8df9807f5114cad14836e8310fd11d9c [Pipeline] } 10:17:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:17:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:17:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:17:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:17:47 10:17:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 10:17:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:17:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:17:48 188c0c94c7c5: Pulling fs layer 10:17:48 0ef7d3d256c8: Pulling fs layer 10:17:48 de9db76c5a1d: Pulling fs layer 10:17:48 0eba1c9be4d2: Pulling fs layer 10:17:48 0d57e429df01: Pulling fs layer 10:17:48 4e4be7b47b0d: Pulling fs layer 10:17:48 e1f770b5df2f: Pulling fs layer 10:17:48 85a0685a4137: Pulling fs layer 10:17:48 0eba1c9be4d2: Waiting 10:17:48 0d57e429df01: Waiting 10:17:48 4e4be7b47b0d: Waiting 10:17:48 e1f770b5df2f: Waiting 10:17:48 85a0685a4137: Waiting 10:17:48 de9db76c5a1d: Verifying Checksum 10:17:48 de9db76c5a1d: Download complete 10:17:48 0ef7d3d256c8: Verifying Checksum 10:17:48 0ef7d3d256c8: Download complete 10:17:48 0d57e429df01: Verifying Checksum 10:17:48 0d57e429df01: Download complete 10:17:48 4e4be7b47b0d: Verifying Checksum 10:17:48 4e4be7b47b0d: Download complete 10:17:48 188c0c94c7c5: Verifying Checksum 10:17:48 188c0c94c7c5: Download complete 10:17:48 188c0c94c7c5: Pull complete 10:17:49 0ef7d3d256c8: Pull complete 10:17:49 de9db76c5a1d: Pull complete 10:17:49 e1f770b5df2f: Download complete 10:17:51 0eba1c9be4d2: Verifying Checksum 10:17:51 0eba1c9be4d2: Download complete 10:17:51 85a0685a4137: Verifying Checksum 10:17:51 85a0685a4137: Download complete 10:17:57 0eba1c9be4d2: Pull complete 10:17:57 0d57e429df01: Pull complete 10:17:57 4e4be7b47b0d: Pull complete 10:17:59 e1f770b5df2f: Pull complete 10:18:08 85a0685a4137: Pull complete 10:18:08 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 10:18:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:18:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 10:18:08 prd-centos7-docker-4c-2g-3194 does not seem to be running inside a container 10:18:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 10:18:10 $ docker top 499530150f869b0ab7fd8580722117d24156e1ee493343f1f14a34e714f8ef5b -eo pid,comm [Pipeline] { [Pipeline] echo 10:18:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 10:18:10 + set -o pipefail 10:18:10 + snyk monitor '--org=edgex-jenkins' 10:18:28 10:18:28 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... 10:18:28 10:18:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/03c8e25f-da66-4cc2-812f-766eb131486f 10:18:28 10:18:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:18:28 10:18:28 [Pipeline] } 10:18:28 $ docker stop --time=1 499530150f869b0ab7fd8580722117d24156e1ee493343f1f14a34e714f8ef5b 10:18:30 $ docker rm -f 499530150f869b0ab7fd8580722117d24156e1ee493343f1f14a34e714f8ef5b [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 10:18:31 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:18:31 provisioning config files... 10:18:31 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4456512255359546868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:32 --> edgex-publish-swagger.sh 10:18:32 === Publish openapi/v1 API === 10:18:32 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 10:18:32 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] 10:18:32 % Total % Received % Xferd Average Speed Time Time Time Current 10:18:32 Dload Upload Total Spent Left Speed 10:18:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 23822 --:--:-- --:--:-- --:--:-- 23831 100 19947 0 0 100 19947 0 23816 --:--:-- --:--:-- --:--:-- 23803 10:18:33 10:18:33 10:18:33 === Publish openapi/v2 API === 10:18:33 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 10:18:33 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] 10:18:33 % Total % Received % Xferd Average Speed Time Time Time Current 10:18:33 Dload Upload Total Spent Left Speed 10:18:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 73614 --:--:-- --:--:-- --:--:-- 73652 10:18:33 10:18:33 [Pipeline] } 10:18:33 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 10:18:34 + git log --format=format:%s -1 70dff52b8df9807f5114cad14836e8310fd11d9c [Pipeline] isUnix [Pipeline] sh 10:18:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:18:34 . [Pipeline] withDockerContainer 10:18:34 prd-centos7-docker-4c-2g-3194 does not seem to be running inside a container 10:18:34 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:18:35 $ docker top 34601871d32cd0d6e6069279eca048461e086168490cc253c782435fd79d58c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:18:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:18:35 [ssh-agent] Looking for ssh-agent implementation... 10:18:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:35 $ docker exec 34601871d32cd0d6e6069279eca048461e086168490cc253c782435fd79d58c1 ssh-agent 10:18:36 SSH_AUTH_SOCK=/tmp/ssh-EXnGBpELevc9/agent.13 10:18:36 SSH_AGENT_PID=19 10:18:36 Running ssh-add (command line suppressed) 10:18:36 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8568184537698028262.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8568184537698028262.key) 10:18:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:18:36 + git semver tag 10:18:36 # -> Open(): unable to determine branch for HEAD 10:18:36 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 10:18:36 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 10:18:36 # $SEMVER_REMOTE_NAME = origin 10:18:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:18:36 # $SEMVER_USER_NAME = edgex-jenkins 10:18:36 # $SEMVER_BRANCH = master 10:18:36 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 10:18:36 # 70dff52b8df9807f5114cad14836e8310fd11d9c HEAD 10:18:36 # -> Force: false 10:18:36 # a9881bbd37b5dc1634b0a798f33f0ff4e2d23d72 refs/tags/v2.0.0-dev.51 [Pipeline] } 10:18:36 $ docker exec --env ******** --env ******** 34601871d32cd0d6e6069279eca048461e086168490cc253c782435fd79d58c1 ssh-agent -k 10:18:37 unset SSH_AUTH_SOCK; 10:18:37 unset SSH_AGENT_PID; 10:18:37 echo Agent pid 19 killed; 10:18:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:18:37 + git semver [Pipeline] } 10:18:37 $ docker stop --time=1 34601871d32cd0d6e6069279eca048461e086168490cc253c782435fd79d58c1 10:18:38 $ docker rm -f 34601871d32cd0d6e6069279eca048461e086168490cc253c782435fd79d58c1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 10:18:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:18:39 10:18:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 10:18:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:18:39 0.23.1-centos7: Pulling from edgex-lftools 10:18:39 ab5ef0e58194: Pulling fs layer 10:18:39 9712f1f96733: Pulling fs layer 10:18:39 63f879dbbcfc: Pulling fs layer 10:18:39 0d9ebad4ef96: Pulling fs layer 10:18:39 e9a5061849ea: Pulling fs layer 10:18:39 d747dcd14b5f: Pulling fs layer 10:18:39 2de7ff778b66: Pulling fs layer 10:18:39 e9a5061849ea: Waiting 10:18:39 d747dcd14b5f: Waiting 10:18:39 2de7ff778b66: Waiting 10:18:39 0d9ebad4ef96: Waiting 10:18:39 9712f1f96733: Download complete 10:18:41 63f879dbbcfc: Verifying Checksum 10:18:41 63f879dbbcfc: Download complete 10:18:41 e9a5061849ea: Verifying Checksum 10:18:41 e9a5061849ea: Download complete 10:18:41 d747dcd14b5f: Verifying Checksum 10:18:41 d747dcd14b5f: Download complete 10:18:42 2de7ff778b66: Verifying Checksum 10:18:42 2de7ff778b66: Download complete 10:18:42 ab5ef0e58194: Verifying Checksum 10:18:42 ab5ef0e58194: Download complete 10:18:42 0d9ebad4ef96: Verifying Checksum 10:18:42 0d9ebad4ef96: Download complete 10:18:47 ab5ef0e58194: Pull complete 10:18:47 9712f1f96733: Pull complete 10:18:50 63f879dbbcfc: Pull complete 10:18:58 0d9ebad4ef96: Pull complete 10:19:01 e9a5061849ea: Pull complete 10:19:01 d747dcd14b5f: Pull complete 10:19:03 2de7ff778b66: Pull complete 10:19:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:19:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:19:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 10:19:03 prd-centos7-docker-4c-2g-3194 does not seem to be running inside a container 10:19:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:19:07 $ docker top b204b73f677a5fcce1f5888eedc5c468fb0249104c6f1cc01b5a4f2e8666e93f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:19:08 provisioning config files... 10:19:08 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config893934560760991221tmp 10:19:08 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7999298037724669340tmp 10:19:08 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4757770535103253427tmp [Pipeline] { [Pipeline] echo 10:19:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:19:08 ---> sigul-configuration.sh 10:19:08 gpg: directory `/root/.gnupg' created 10:19:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:19:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:19:08 gpg: keyring `/root/.gnupg/secring.gpg' created 10:19:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:19:08 gpg: CAST5 encrypted data 10:19:08 gpg: encrypted with 1 passphrase 10:19:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:19:09 + mkdir /home/jenkins 10:19:09 + mkdir /home/jenkins/sigul [Pipeline] sh 10:19:09 + 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 10:19:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:19:09 ---> sigul-install.sh 10:19:16 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 10:19:16 + git tag --list 10:19:16 0.7.1 10:19:16 delhi-tag 10:19:16 v1.0.0 10:19:16 v1.1.0 10:19:16 v1.1.1 10:19:16 v1.1.2 10:19:16 v1.2.0 10:19:16 v1.2.1 10:19:16 v1.2.2 10:19:16 v1.2.3 10:19:16 v1.3.0 10:19:16 v1.4.0 10:19:16 v2.0.0-dev.1 10:19:16 v2.0.0-dev.10 10:19:16 v2.0.0-dev.11 10:19:16 v2.0.0-dev.12 10:19:16 v2.0.0-dev.13 10:19:16 v2.0.0-dev.14 10:19:16 v2.0.0-dev.15 10:19:16 v2.0.0-dev.16 10:19:16 v2.0.0-dev.17 10:19:16 v2.0.0-dev.18 10:19:16 v2.0.0-dev.19 10:19:16 v2.0.0-dev.2 10:19:16 v2.0.0-dev.20 10:19:16 v2.0.0-dev.21 10:19:16 v2.0.0-dev.22 10:19:16 v2.0.0-dev.23 10:19:16 v2.0.0-dev.24 10:19:16 v2.0.0-dev.25 10:19:16 v2.0.0-dev.26 10:19:16 v2.0.0-dev.27 10:19:16 v2.0.0-dev.28 10:19:16 v2.0.0-dev.29 10:19:16 v2.0.0-dev.3 10:19:16 v2.0.0-dev.30 10:19:16 v2.0.0-dev.31 10:19:16 v2.0.0-dev.32 10:19:16 v2.0.0-dev.33 10:19:16 v2.0.0-dev.34 10:19:16 v2.0.0-dev.35 10:19:16 v2.0.0-dev.36 10:19:16 v2.0.0-dev.37 10:19:16 v2.0.0-dev.38 10:19:16 v2.0.0-dev.39 10:19:16 v2.0.0-dev.4 10:19:16 v2.0.0-dev.40 10:19:16 v2.0.0-dev.41 10:19:16 v2.0.0-dev.42 10:19:16 v2.0.0-dev.43 10:19:16 v2.0.0-dev.44 10:19:16 v2.0.0-dev.45 10:19:16 v2.0.0-dev.46 10:19:16 v2.0.0-dev.47 10:19:16 v2.0.0-dev.48 10:19:16 v2.0.0-dev.49 10:19:16 v2.0.0-dev.5 10:19:16 v2.0.0-dev.50 10:19:16 v2.0.0-dev.51 10:19:16 v2.0.0-dev.6 10:19:16 v2.0.0-dev.7 10:19:16 v2.0.0-dev.8 10:19:16 v2.0.0-dev.9 [Pipeline] sh 10:19:17 + lftools sign git-tag v2.0.0-dev.51 10:19:18 Signing Git tag with Sigul... 10:19:18 Signing v2.0.0-dev.51 [Pipeline] echo 10:19:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:19:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:19:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:19:20 $ docker stop --time=1 b204b73f677a5fcce1f5888eedc5c468fb0249104c6f1cc01b5a4f2e8666e93f 10:19:22 $ docker rm -f b204b73f677a5fcce1f5888eedc5c468fb0249104c6f1cc01b5a4f2e8666e93f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 10:19:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:19:22 . [Pipeline] withDockerContainer 10:19:22 prd-centos7-docker-4c-2g-3194 does not seem to be running inside a container 10:19:22 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:19:23 $ docker top 1f415ae567f8250cb544cde422f6ba26c8243b1fd481278951dfd33808787b91 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:19:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:19:24 [ssh-agent] Looking for ssh-agent implementation... 10:19:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:19:24 $ docker exec 1f415ae567f8250cb544cde422f6ba26c8243b1fd481278951dfd33808787b91 ssh-agent 10:19:24 SSH_AUTH_SOCK=/tmp/ssh-6L8AnpedMT20/agent.11 10:19:24 SSH_AGENT_PID=16 10:19:24 Running ssh-add (command line suppressed) 10:19:24 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3316340662282412646.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3316340662282412646.key) 10:19:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:19:25 + git semver bump pre 10:19:25 # -> Open(): unable to determine branch for HEAD 10:19:25 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 10:19:25 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 10:19:25 # $SEMVER_REMOTE_NAME = origin 10:19:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:19:25 # $SEMVER_USER_NAME = edgex-jenkins 10:19:25 # $SEMVER_BRANCH = master 10:19:25 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 10:19:25 2.0.0-dev.52 [Pipeline] } 10:19:25 $ docker exec --env ******** --env ******** 1f415ae567f8250cb544cde422f6ba26c8243b1fd481278951dfd33808787b91 ssh-agent -k 10:19:25 unset SSH_AUTH_SOCK; 10:19:25 unset SSH_AGENT_PID; 10:19:25 echo Agent pid 16 killed; 10:19:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:19:25 + git semver [Pipeline] } 10:19:25 $ docker stop --time=1 1f415ae567f8250cb544cde422f6ba26c8243b1fd481278951dfd33808787b91 10:19:27 $ docker rm -f 1f415ae567f8250cb544cde422f6ba26c8243b1fd481278951dfd33808787b91 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 10:19:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:19:27 . [Pipeline] withDockerContainer 10:19:27 prd-centos7-docker-4c-2g-3194 does not seem to be running inside a container 10:19:27 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:19:28 $ docker top 1c750f48a095959a85d21f15505582626f76fa25deef5016958fcb7957d4c7a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:19:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:19:28 [ssh-agent] Looking for ssh-agent implementation... 10:19:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:19:28 $ docker exec 1c750f48a095959a85d21f15505582626f76fa25deef5016958fcb7957d4c7a1 ssh-agent 10:19:29 SSH_AUTH_SOCK=/tmp/ssh-o38qVbCIThxb/agent.12 10:19:29 SSH_AGENT_PID=18 10:19:29 Running ssh-add (command line suppressed) 10:19:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6174968209223460769.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6174968209223460769.key) 10:19:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:19:29 + git semver push 10:19:29 # -> Open(): unable to determine branch for HEAD 10:19:29 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 10:19:29 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 10:19:29 # $SEMVER_REMOTE_NAME = origin 10:19:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:19:29 # $SEMVER_USER_NAME = edgex-jenkins 10:19:29 # $SEMVER_BRANCH = master 10:19:29 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 10:19:35 $ docker exec --env ******** --env ******** 1c750f48a095959a85d21f15505582626f76fa25deef5016958fcb7957d4c7a1 ssh-agent -k 10:19:35 unset SSH_AUTH_SOCK; 10:19:35 unset SSH_AGENT_PID; 10:19:35 echo Agent pid 18 killed; 10:19:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:19:35 + git semver [Pipeline] } 10:19:35 $ docker stop --time=1 1c750f48a095959a85d21f15505582626f76fa25deef5016958fcb7957d4c7a1 10:19:37 $ docker rm -f 1c750f48a095959a85d21f15505582626f76fa25deef5016958fcb7957d4c7a1 [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 10:19:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:19:38 ---> package-listing.sh 10:19:38 ++ facter osfamily 10:19:38 ++ tr '[:upper:]' '[:lower:]' 10:19:38 + OS_FAMILY=redhat 10:19:38 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 10:19:38 + START_PACKAGES=/tmp/packages_start.txt 10:19:38 + END_PACKAGES=/tmp/packages_end.txt 10:19:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:19:38 + PACKAGES=/tmp/packages_start.txt 10:19:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 10:19:38 + PACKAGES=/tmp/packages_end.txt 10:19:38 + case "${OS_FAMILY}" in 10:19:38 + rpm -qa 10:19:38 + sort 10:19:43 + '[' -f /tmp/packages_start.txt ']' 10:19:43 + '[' -f /tmp/packages_end.txt ']' 10:19:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:19:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 10:19:43 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 10:19:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 10:19:43 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 10:19:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:19:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:19:44 10:19:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:19:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:19:44 alpine: Pulling from edgex-lftools-log-publisher 10:19:44 df20fa9351a1: Pulling fs layer 10:19:44 36b3adc4ff6f: Pulling fs layer 10:19:44 8ad3a11d3b57: Pulling fs layer 10:19:44 46f8f816bc3b: Pulling fs layer 10:19:44 93b61091891f: Pulling fs layer 10:19:44 93b9cdb0e59b: Pulling fs layer 10:19:44 5e14af77c1be: Pulling fs layer 10:19:44 01666e4c0597: Pulling fs layer 10:19:44 aa168da1d23b: Pulling fs layer 10:19:44 93b9cdb0e59b: Waiting 10:19:44 5e14af77c1be: Waiting 10:19:44 01666e4c0597: Waiting 10:19:44 aa168da1d23b: Waiting 10:19:44 46f8f816bc3b: Waiting 10:19:44 93b61091891f: Waiting 10:19:44 36b3adc4ff6f: Verifying Checksum 10:19:44 36b3adc4ff6f: Download complete 10:19:44 46f8f816bc3b: Verifying Checksum 10:19:44 46f8f816bc3b: Download complete 10:19:45 df20fa9351a1: Verifying Checksum 10:19:45 df20fa9351a1: Download complete 10:19:45 93b9cdb0e59b: Verifying Checksum 10:19:45 93b9cdb0e59b: Download complete 10:19:45 93b61091891f: Verifying Checksum 10:19:45 93b61091891f: Download complete 10:19:45 5e14af77c1be: Download complete 10:19:45 01666e4c0597: Verifying Checksum 10:19:45 01666e4c0597: Download complete 10:19:45 8ad3a11d3b57: Verifying Checksum 10:19:45 8ad3a11d3b57: Download complete 10:19:45 df20fa9351a1: Pull complete 10:19:45 36b3adc4ff6f: Pull complete 10:19:46 8ad3a11d3b57: Pull complete 10:19:46 46f8f816bc3b: Pull complete 10:19:47 93b61091891f: Pull complete 10:19:47 aa168da1d23b: Verifying Checksum 10:19:47 aa168da1d23b: Download complete 10:19:48 93b9cdb0e59b: Pull complete 10:19:48 5e14af77c1be: Pull complete 10:19:48 01666e4c0597: Pull complete 10:19:57 aa168da1d23b: Pull complete 10:19:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:19:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:19:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:19:57 prd-centos7-docker-4c-2g-3194 does not seem to be running inside a container 10:19:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:20:00 $ docker top aa0c43e069cbe1fd4fc5c027d67ccf3d6339e19f8407ad6b79d38976542b669a -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:00 + touch /tmp/pre-build-complete [Pipeline] sh 10:20:00 + mkdir -p /var/log/sa [Pipeline] sh 10:20:01 + ls /var/log/sa-host 10:20:01 + sadf -c /var/log/sa-host/sa06 10:20:01 file_magic: OK 10:20:01 HZ: Using current value: 100 10:20:01 file_header: OK 10:20:01 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 10:20:01 Statistics: 10:20:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:20:01 File successfully converted to sysstat format version 12.2.1 10:20:01 + sadf -c /var/log/sa-host/sa23 10:20:01 file_magic: OK 10:20:01 HZ: Using current value: 100 10:20:01 file_header: OK 10:20:01 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 10:20:01 Statistics: 10:20:01 Hnuu...uuuununununu... 10:20:01 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:01 provisioning config files... 10:20:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config697458916107728450tmp [Pipeline] { [Pipeline] echo 10:20:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:20:02 ---> create-netrc.sh [Pipeline] } 10:20:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:20:02 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:20:02 ---> python-tools-install.sh [Pipeline] echo 10:20:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:20:02 ---> sudo-logs.sh 10:20:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:20:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:20:03 ---> job-cost.sh 10:20:03 lf-activate-venv: SKIPPING 10:20:03 DEBUG: total: 0.20999999344348907 10:20:03 INFO: Retrieving Stack Cost... 10:20:05 INFO: Retrieving Pricing Info for: v1-standard-2 10:20:05 INFO: Archiving Costs [Pipeline] echo 10:20:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:20:05 ---> logs-deploy.sh 10:20:05 lf-activate-venv: SKIPPING 10:20:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/156 10:20:05 INFO: archiving workspace using pattern(s): 10:20:07 Archives upload complete. 10:20:07 INFO: archiving logs to Nexus