Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-32694’ is offline Running on prd-centos7-docker-4c-2g-32697 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b # timeout=10 Commit message: "Merge pull request #850 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.0.0-dev.7" > git rev-list --no-walk 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:48:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:48:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:48:18 ========================================================= 06:48:18 EdgeX Global Pipelines Version Info 06:48:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:48:22 ------------------- 06:48:22 stable info: 06:48:22 ------------------- 06:48:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:48:22 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 06:48:22 Message: update stable to v1.0.186 06:48:23 ------------------- 06:48:23 experimental info: 06:48:23 ------------------- 06:48:23 Commited By: **** collab-it+edgex@linuxfoundation.org 06:48:23 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 06:48:23 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:48:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:48:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:48:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:48:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:48:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:48:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:48:24 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:48:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:48:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:48:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:48:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:48:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:48:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:48:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:48:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:48:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:48:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:48:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:48:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:48:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 06:48:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 06:48:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 06:48:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b [Pipeline] echo 06:48:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e9bdd2 [Pipeline] echo 06:48:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:48:26 provisioning config files... 06:48:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1693155794357774225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:48:27 ---> docker-login.sh 06:48:27 nexus3.edgexfoundry.org:10001 06:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:28 Configure a credential helper to remove this warning. See 06:48:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:28 06:48:28 Login Succeeded 06:48:28 nexus3.edgexfoundry.org:10002 06:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:29 Configure a credential helper to remove this warning. See 06:48:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:29 06:48:29 Login Succeeded 06:48:29 nexus3.edgexfoundry.org:10003 06:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:30 Configure a credential helper to remove this warning. See 06:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:30 06:48:30 Login Succeeded 06:48:30 nexus3.edgexfoundry.org:10004 06:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:30 Configure a credential helper to remove this warning. See 06:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:30 06:48:30 Login Succeeded 06:48:30 docker.io 06:48:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:31 Configure a credential helper to remove this warning. See 06:48:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:31 06:48:31 Login Succeeded 06:48:31 ---> docker-login.sh ends [Pipeline] } 06:48:31 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 06:48:32 + git log --format=format:%s -1 4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b [Pipeline] echo 06:48:32 GIT_COMMIT: 4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b, Commit Message: Merge pull request #850 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.0.0-dev.7 [Pipeline] echo 06:48:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:48:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:48:34 06:48:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:48:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:48:35 latest: Pulling from edgex-devops/git-semver 06:48:35 31603596830f: Pulling fs layer 06:48:35 2a8b12db71e7: Pulling fs layer 06:48:35 6ca5941a6612: Pulling fs layer 06:48:35 ecc8261a40a4: Pulling fs layer 06:48:35 ecc8261a40a4: Waiting 06:48:35 2a8b12db71e7: Verifying Checksum 06:48:35 2a8b12db71e7: Download complete 06:48:36 31603596830f: Verifying Checksum 06:48:36 31603596830f: Download complete 06:48:36 ecc8261a40a4: Verifying Checksum 06:48:36 ecc8261a40a4: Download complete 06:48:37 6ca5941a6612: Verifying Checksum 06:48:37 6ca5941a6612: Download complete 06:48:37 31603596830f: Pull complete 06:48:37 2a8b12db71e7: Pull complete 06:48:39 6ca5941a6612: Pull complete 06:48:40 ecc8261a40a4: Pull complete 06:48:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:48:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:48:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:48:41 prd-centos7-docker-4c-2g-32697 does not seem to be running inside a container 06:48:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:48:43 $ docker top a7a8290f2862992fc58da2b2990168e82a0aaad29ecde8d590c2c86d2fcfea67 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:48:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:48:44 [ssh-agent] Looking for ssh-agent implementation... 06:48:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:48:45 $ docker exec a7a8290f2862992fc58da2b2990168e82a0aaad29ecde8d590c2c86d2fcfea67 ssh-agent 06:48:46 SSH_AUTH_SOCK=/tmp/ssh-mo4Ymo5tWsvr/agent.11 06:48:46 SSH_AGENT_PID=16 06:48:46 Running ssh-add (command line suppressed) 06:48:46 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_713417830816592022.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_713417830816592022.key) 06:48:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:48:48 + git tag --points-at HEAD [Pipeline] } 06:48:48 $ docker exec --env ******** --env ******** a7a8290f2862992fc58da2b2990168e82a0aaad29ecde8d590c2c86d2fcfea67 ssh-agent -k 06:48:48 unset SSH_AUTH_SOCK; 06:48:48 unset SSH_AGENT_PID; 06:48:48 echo Agent pid 16 killed; 06:48:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:48:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:48:49 [ssh-agent] Looking for ssh-agent implementation... 06:48:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:48:49 $ docker exec a7a8290f2862992fc58da2b2990168e82a0aaad29ecde8d590c2c86d2fcfea67 ssh-agent 06:48:49 SSH_AUTH_SOCK=/tmp/ssh-QMIeLMHuxKpz/agent.45 06:48:49 SSH_AGENT_PID=50 06:48:49 Running ssh-add (command line suppressed) 06:48:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5496453021196512995.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5496453021196512995.key) 06:48:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:48:50 + git semver init 06:48:50 # -> Open(): unable to determine branch for HEAD 06:48:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 06:48:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 06:48:50 # $SEMVER_REMOTE_NAME = origin 06:48:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:48:50 # $SEMVER_USER_NAME = edgex-jenkins 06:48:50 # $SEMVER_BRANCH = master 06:48:50 # $SEMVER_TEMP = /tmp/semver-040317322 06:48:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:48:52 # '/tmp/semver-040317322' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 06:48:52 # -> Force: false 06:48:52 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 06:48:52 $ docker exec --env ******** --env ******** a7a8290f2862992fc58da2b2990168e82a0aaad29ecde8d590c2c86d2fcfea67 ssh-agent -k 06:48:53 unset SSH_AUTH_SOCK; 06:48:53 unset SSH_AGENT_PID; 06:48:53 echo Agent pid 50 killed; 06:48:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:48:55 + git semver [Pipeline] } 06:48:55 $ docker stop --time=1 a7a8290f2862992fc58da2b2990168e82a0aaad29ecde8d590c2c86d2fcfea67 06:48:57 $ docker rm -f a7a8290f2862992fc58da2b2990168e82a0aaad29ecde8d590c2c86d2fcfea67 [Pipeline] // withDockerContainer [Pipeline] sh 06:48:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:48:59 Stashed 1 file(s) [Pipeline] echo 06:48:59 [edgeXSemver]: initialized semver on version 2.0.0-dev.32 [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 06:49:14 Still waiting to schedule task 06:49:14 ‘prd-centos7-blackbox-4c-2g-32647’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-32694’ is offline; ‘prd-centos7-docker-4c-2g-32698’ is offline; ‘prd-centos7-docker-4c-2g-32700’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-32695’ doesn’t have label ‘centos7-docker-4c-2g’ 06:49:14 Still waiting to schedule task 06:49:14 ‘prd-ubuntu18.04-docker-arm64-4c-16g-32695’ is offline 06:50:32 Running on prd-centos7-docker-4c-2g-32703 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 06:50:32 Running in /w/workspace/device-sdk-go/137 [Pipeline] { [Pipeline] checkout 06:50:34 using credential edgex-jenkins-ssh 06:50:34 Cloning the remote Git repository 06:50:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:50:34 > git init /w/workspace/device-sdk-go/137 # timeout=10 06:50:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:50:34 > git --version # timeout=10 06:50:34 > git --version # 'git version 2.24.3' 06:50:34 using GIT_SSH to set credentials SSH Credentials for GitHub 06:50:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:50:36 Checking out Revision 4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b (master) 06:50:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:50:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:50:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:50:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:50:35 using GIT_SSH to set credentials SSH Credentials for GitHub 06:50:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 06:50:36 > git config core.sparsecheckout # timeout=10 06:50:36 > git checkout -f 4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b # timeout=10 06:50:40 Commit message: "Merge pull request #850 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.0.0-dev.7" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:50:41 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:50:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:50:41 + sudo service docker restart 06:50:41 + true 06:50:41 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:50:42 provisioning config files... 06:50:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/137@tmp/config2174315193702044825tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:50:43 ---> docker-login.sh 06:50:43 nexus3.edgexfoundry.org:10001 06:50:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:43 Configure a credential helper to remove this warning. See 06:50:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:43 06:50:43 Login Succeeded 06:50:43 nexus3.edgexfoundry.org:10002 06:50:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:43 Configure a credential helper to remove this warning. See 06:50:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:43 06:50:43 Login Succeeded 06:50:43 nexus3.edgexfoundry.org:10003 06:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:44 Configure a credential helper to remove this warning. See 06:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:44 06:50:44 Login Succeeded 06:50:44 nexus3.edgexfoundry.org:10004 06:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:44 Configure a credential helper to remove this warning. See 06:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:44 06:50:44 Login Succeeded 06:50:44 docker.io 06:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:44 Configure a credential helper to remove this warning. See 06:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:44 06:50:44 Login Succeeded 06:50:44 ---> docker-login.sh ends [Pipeline] } 06:50:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:50:44 ========================================================= 06:50:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:50:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:50: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.15-alpine . 06:50:45 Sending build context to Docker daemon 2.342MB 06:50:45 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:50:45 Step 2/8 : FROM ${BASE} 06:50:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:50:45 188c0c94c7c5: Pulling fs layer 06:50:45 0ef7d3d256c8: Pulling fs layer 06:50:45 de9db76c5a1d: Pulling fs layer 06:50:45 bca2f99d35d6: Pulling fs layer 06:50:45 93359f2a8cfa: Pulling fs layer 06:50:45 7c6f9722023f: Pulling fs layer 06:50:45 a35cf1a2eb13: Pulling fs layer 06:50:45 bca2f99d35d6: Waiting 06:50:45 93359f2a8cfa: Waiting 06:50:45 7c6f9722023f: Waiting 06:50:45 a35cf1a2eb13: Waiting 06:50:45 de9db76c5a1d: Download complete 06:50:45 0ef7d3d256c8: Verifying Checksum 06:50:45 0ef7d3d256c8: Download complete 06:50:45 93359f2a8cfa: Verifying Checksum 06:50:45 93359f2a8cfa: Download complete 06:50:45 188c0c94c7c5: Verifying Checksum 06:50:45 188c0c94c7c5: Download complete 06:50:45 7c6f9722023f: Verifying Checksum 06:50:45 7c6f9722023f: Download complete 06:50:45 188c0c94c7c5: Pull complete 06:50:46 0ef7d3d256c8: Pull complete 06:50:46 de9db76c5a1d: Pull complete 06:50:47 a35cf1a2eb13: Verifying Checksum 06:50:47 a35cf1a2eb13: Download complete 06:50:48 bca2f99d35d6: Verifying Checksum 06:50:48 bca2f99d35d6: Download complete 06:50:53 bca2f99d35d6: Pull complete 06:50:53 93359f2a8cfa: Pull complete 06:50:53 7c6f9722023f: Pull complete 06:50:58 a35cf1a2eb13: Pull complete 06:50:58 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:50:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:50:58 ---> a62c8e92a672 06:50:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:50:58 ---> Running in 523cd0d6a368 06:50:58 Removing intermediate container 523cd0d6a368 06:50:58 ---> af042f275b87 06:50:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:50:59 ---> Running in e3625c45967b 06:51:00 Removing intermediate container e3625c45967b 06:51:00 ---> abbdafdc366c 06:51:00 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:51:00 ---> Running in b2bcd20b2cdf 06:51:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:51:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:51:02 (1/6) Installing libc-dev (0.7.2-r3) 06:51:02 (2/6) Installing libsodium (1.0.18-r0) 06:51:02 (3/6) Installing pkgconf (1.7.2-r0) 06:51:02 (4/6) Installing libsodium-dev (1.0.18-r0) 06:51:02 (5/6) Installing libzmq (4.3.3-r0) 06:51:02 (6/6) Installing zeromq-dev (4.3.3-r0) 06:51:02 Executing busybox-1.31.1-r19.trigger 06:51:02 OK: 167 MiB in 45 packages 06:51:03 Removing intermediate container b2bcd20b2cdf 06:51:03 ---> fbf1eaee5dbc 06:51:03 Step 6/8 : WORKDIR /device-sdk-go 06:51:03 ---> Running in af86a7ad5540 06:51:03 Removing intermediate container af86a7ad5540 06:51:03 ---> 0dd9fd6e90b8 06:51:03 Step 7/8 : COPY . . 06:51:04 ---> f3cd4f6c2659 06:51:04 Step 8/8 : RUN go mod download 06:51:04 ---> Running in 739ba29b2f46 06:51:27 Removing intermediate container 739ba29b2f46 06:51:27 ---> d49f3bc7811b 06:51:27 Successfully built d49f3bc7811b 06:51:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:51:27 + docker inspect -f . ci-base-image-x86_64 06:51:27 . [Pipeline] withDockerContainer 06:51:27 prd-centos7-docker-4c-2g-32703 does not seem to be running inside a container 06:51:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/137 -v /w/workspace/device-sdk-go/137:/w/workspace/device-sdk-go/137:rw,z -v /w/workspace/device-sdk-go/137@tmp:/w/workspace/device-sdk-go/137@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 06:51:29 $ docker top 6a30f43ae1c0b9449c14eac239dfb05527440e42d39e8816a05ef565bf8c6f88 -eo pid,comm [Pipeline] { [Pipeline] sh 06:51:29 + go version 06:51:29 go version go1.15.5 linux/amd64 [Pipeline] } 06:51:29 $ docker stop --time=1 6a30f43ae1c0b9449c14eac239dfb05527440e42d39e8816a05ef565bf8c6f88 06:51:31 $ docker rm -f 6a30f43ae1c0b9449c14eac239dfb05527440e42d39e8816a05ef565bf8c6f88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:51:32 + docker inspect -f . ci-base-image-x86_64 06:51:32 . [Pipeline] withDockerContainer 06:51:32 prd-centos7-docker-4c-2g-32703 does not seem to be running inside a container 06:51:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/137 -v /w/workspace/device-sdk-go/137:/w/workspace/device-sdk-go/137:rw,z -v /w/workspace/device-sdk-go/137@tmp:/w/workspace/device-sdk-go/137@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 06:51:32 $ docker top e63dc566ae6357f4716e40c70fe8ffda9a1b1cbf3966a7e890fd675128bc796c -eo pid,comm [Pipeline] { [Pipeline] sh 06:51:33 + make test 06:51:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:51:39 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:51:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:51:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:51:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:51:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:51:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:52:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.073s coverage: 28.1% of statements 06:52:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 81.2% of statements 06:52:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.080s coverage: 7.8% of statements 06:52:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:52:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:52:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:52:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.080s coverage: 32.5% of statements 06:52:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:52:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:52:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:52:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 57.3% of statements 06:52:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.157s coverage: 6.6% of statements 06:52:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 06:52:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:52:04 GO111MODULE=on go vet ./... 06:52:19 gofmt -l . 06:52:19 [ "`gofmt -l .`" = "" ] 06:52:19 ./bin/test-attribution-txt.sh 06:52:19 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:52:19 $ docker stop --time=1 e63dc566ae6357f4716e40c70fe8ffda9a1b1cbf3966a7e890fd675128bc796c 06:52:21 $ docker rm -f e63dc566ae6357f4716e40c70fe8ffda9a1b1cbf3966a7e890fd675128bc796c [Pipeline] // withDockerContainer [Pipeline] sh 06:52:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:52:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:52:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:52:24 + ls -al . 06:52:24 total 188 06:52:24 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 4 06:52 . 06:52:24 drwxrwxr-x. 4 jenkins jenkins 32 Apr 4 06:50 .. 06:52:24 drwxrwxr-x. 2 jenkins jenkins 64 Apr 4 06:50 bin 06:52:24 -rw-r--r--. 1 jenkins jenkins 101239 Apr 4 06:52 coverage.out 06:52:24 -rw-rw-r--. 1 jenkins jenkins 987 Apr 4 06:50 Dockerfile.build 06:52:24 -rw-rw-r--. 1 jenkins jenkins 140 Apr 4 06:50 .dockerignore 06:52:24 drwxrwxr-x. 5 jenkins jenkins 62 Apr 4 06:50 example 06:52:24 drwxrwxr-x. 8 jenkins jenkins 162 Apr 4 06:50 .git 06:52:24 drwxrwxr-x. 2 jenkins jenkins 103 Apr 4 06:50 .github 06:52:24 -rw-rw-r--. 1 jenkins jenkins 138 Apr 4 06:50 .gitignore 06:52:24 -rw-r--r--. 1 jenkins jenkins 537 Apr 4 06:52 go.mod 06:52:24 -rw-r--r--. 1 jenkins jenkins 20946 Apr 4 06:52 go.sum 06:52:24 drwxrwxr-x. 14 jenkins jenkins 207 Apr 4 06:50 internal 06:52:24 -rw-rw-r--. 1 jenkins jenkins 901 Apr 4 06:50 Jenkinsfile 06:52:24 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 4 06:50 LICENSE 06:52:24 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 4 06:50 Makefile 06:52:24 drwxrwxr-x. 4 jenkins jenkins 26 Apr 4 06:50 openapi 06:52:24 drwxrwxr-x. 5 jenkins jenkins 50 Apr 4 06:50 pkg 06:52:24 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 4 06:50 README.md 06:52:24 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 4 06:50 RELEASE-NOTES.txt 06:52:24 drwxrwxr-x. 4 jenkins jenkins 54 Apr 4 06:50 snap 06:52:24 -rw-rw-r--. 1 jenkins jenkins 12 Apr 4 06:48 VERSION 06:52:24 -rw-rw-r--. 1 jenkins jenkins 222 Apr 4 06:50 version.go [Pipeline] isUnix [Pipeline] sh 06:52:24 + 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=4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b --label arch=amd64 --label version=2.0.0-dev.32 . 06:52:24 Sending build context to Docker daemon 2.444MB 06:52:24 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:52:24 Step 2/23 : FROM ${BASE} AS builder 06:52:24 ---> d49f3bc7811b 06:52:24 Step 3/23 : WORKDIR /device-sdk-go 06:52:25 ---> Running in fa00fe609f70 06:52:25 Removing intermediate container fa00fe609f70 06:52:25 ---> 7a6e7f14626f 06:52:25 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:52:25 ---> Running in 81a346e34b03 06:52:25 Removing intermediate container 81a346e34b03 06:52:25 ---> b4b595707733 06:52:25 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:52:25 ---> Running in c01018789f38 06:52:26 Removing intermediate container c01018789f38 06:52:26 ---> f13a068800e1 06:52:26 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:52:26 ---> Running in 9058046348b6 06:52:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:52:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:52:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32705 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 06:52:28 Running in /w/workspace/device-sdk-go/137 [Pipeline] { [Pipeline] checkout 06:52:28 OK: 167 MiB in 45 packages 06:52:29 Removing intermediate container 9058046348b6 06:52:29 ---> 7daefca21631 06:52:29 Step 7/23 : COPY . . 06:52:30 ---> 9509a7f7bd69 06:52:30 Step 8/23 : RUN go mod download 06:52:30 ---> Running in 78d8b7f7eedf 06:52:31 Removing intermediate container 78d8b7f7eedf 06:52:31 ---> 16bce9bb5e93 06:52:31 Step 9/23 : RUN make build 06:52:31 ---> Running in 033412a0f14a 06:52:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.32" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:52:33 using credential edgex-jenkins-ssh 06:52:33 Cloning the remote Git repository 06:52:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:52:33 > git init /w/workspace/device-sdk-go/137 # timeout=10 06:52:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:52:33 > git --version # timeout=10 06:52:33 > git --version # 'git version 2.17.1' 06:52:33 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:52:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:52:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:52:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:52:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:52:35 using GIT_SSH to set credentials SSH Credentials for GitHub 06:52:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 06:52:35 Checking out Revision 4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b (master) 06:52:35 > git config core.sparsecheckout # timeout=10 06:52:35 > git checkout -f 4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b # timeout=10 06:52:40 Commit message: "Merge pull request #850 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.0.0-dev.7" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:52:41 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:52:42 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:52:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:52:43 Removing intermediate container 033412a0f14a 06:52:43 ---> 6e4650a03b17 06:52:43 Step 10/23 : FROM alpine:3.12 06:52:43 + + truesudo 06:52:43 service docker restart 06:52:44 3.12: Pulling from library/alpine 06:52:44 532819f3e44c: Pulling fs layer 06:52:44 532819f3e44c: Verifying Checksum 06:52:44 532819f3e44c: Download complete 06:52:44 532819f3e44c: Pull complete 06:52:44 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 06:52:44 Status: Downloaded newer image for alpine:3.12 06:52:44 ---> 7230e588e954 06:52:44 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] withEnv [Pipeline] { 06:52:44 ---> Running in cf6d83aca944 [Pipeline] wrap 06:52:45 provisioning config files... 06:52:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/137@tmp/config6071392763832851814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:52:45 Removing intermediate container cf6d83aca944 06:52:45 ---> 0c7b2e2bcedf 06:52:45 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:52:45 ---> Running in c254e83aef63 06:52:45 ---> docker-login.sh 06:52:45 nexus3.edgexfoundry.org:10001 06:52:46 Removing intermediate container c254e83aef63 06:52:46 ---> 7ccee8c93d4d 06:52:46 Step 13/23 : RUN apk add --update --no-cache zeromq 06:52:46 ---> Running in d00c56690951 06:52:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:52:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:46 Configure a credential helper to remove this warning. See 06:52:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:46 06:52:46 Login Succeeded 06:52:46 nexus3.edgexfoundry.org:10002 06:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:47 Configure a credential helper to remove this warning. See 06:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:47 06:52:47 Login Succeeded 06:52:47 nexus3.edgexfoundry.org:10003 06:52:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:47 Configure a credential helper to remove this warning. See 06:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:47 06:52:47 Login Succeeded 06:52:47 nexus3.edgexfoundry.org:10004 06:52:47 (1/5) Installing libgcc (9.3.0-r2) 06:52:47 (2/5) Installing libsodium (1.0.18-r0) 06:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:47 (3/5) Installing libstdc++ (9.3.0-r2) 06:52:47 (4/5) Installing libzmq (4.3.3-r0) 06:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:48 Configure a credential helper to remove this warning. See 06:52:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:48 06:52:48 Login Succeeded 06:52:48 docker.io 06:52:48 (5/5) Installing zeromq (4.3.3-r0) 06:52:48 Executing busybox-1.31.1-r20.trigger 06:52:48 OK: 8 MiB in 19 packages 06:52:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:48 Configure a credential helper to remove this warning. See 06:52:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:48 06:52:48 Login Succeeded 06:52:48 ---> docker-login.sh ends [Pipeline] } 06:52:48 Deleting 1 temporary files [Pipeline] // wrap 06:52:48 Removing intermediate container d00c56690951 06:52:48 ---> 32181fbb86ab 06:52:48 Step 14/23 : WORKDIR / 06:52:48 ---> Running in 57bf9f29eed1 [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 06:52:49 Removing intermediate container 57bf9f29eed1 06:52:49 ---> 665d8d63dbb9 06:52:49 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [Pipeline] echo 06:52:49 ========================================================= 06:52:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:52:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:52:49 ---> 6cf356998cdb 06:52:49 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:52:49 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:52:49 ---> 0ccad2364d03 06:52:49 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:52:49 Sending build context to Docker daemon 2.341MB 06:52:49 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:52:49 Step 2/8 : FROM ${BASE} 06:52:50 ---> b4d0618210a3 06:52:50 Step 18/23 : EXPOSE 49990 06:52:50 ---> Running in bc8606242119 06:52:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:52:50 5f621e34cdf4: Pulling fs layer 06:52:50 a4357932f1b6: Pulling fs layer 06:52:50 18c013af1878: Pulling fs layer 06:52:50 00ac8860ef70: Pulling fs layer 06:52:50 63d7cb157983: Pulling fs layer 06:52:50 b116817d02f9: Pulling fs layer 06:52:50 745a02a5169b: Pulling fs layer 06:52:50 00ac8860ef70: Waiting 06:52:50 63d7cb157983: Waiting 06:52:50 b116817d02f9: Waiting 06:52:50 745a02a5169b: Waiting 06:52:50 18c013af1878: Verifying Checksum 06:52:50 18c013af1878: Download complete 06:52:50 a4357932f1b6: Verifying Checksum 06:52:50 a4357932f1b6: Download complete 06:52:50 63d7cb157983: Verifying Checksum 06:52:50 63d7cb157983: Download complete 06:52:50 b116817d02f9: Verifying Checksum 06:52:50 b116817d02f9: Download complete 06:52:50 5f621e34cdf4: Verifying Checksum 06:52:50 5f621e34cdf4: Download complete 06:52:50 Removing intermediate container bc8606242119 06:52:50 ---> 1a7ca7641dd9 06:52:50 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:52:50 ---> Running in 26873b7f4a58 06:52:50 Removing intermediate container 26873b7f4a58 06:52:50 ---> f378800fbfa0 06:52:50 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:52:50 ---> Running in 189efe95dfd7 06:52:50 5f621e34cdf4: Pull complete 06:52:50 Removing intermediate container 189efe95dfd7 06:52:50 ---> 7b14e4d4c801 06:52:50 Step 21/23 : LABEL arch=amd64 06:52:50 ---> Running in cf0dd42dd270 06:52:50 Removing intermediate container cf0dd42dd270 06:52:50 ---> c02108c8ad29 06:52:50 Step 22/23 : LABEL git_sha=4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b 06:52:51 ---> Running in 929f440ab886 06:52:51 Removing intermediate container 929f440ab886 06:52:51 ---> 2b4a2585517e 06:52:51 Step 23/23 : LABEL version=2.0.0-dev.32 06:52:51 ---> Running in eed880423e95 06:52:51 Removing intermediate container eed880423e95 06:52:51 ---> 110a362779e7 06:52:51 [Warning] One or more build-args [MAKE ARCH] were not consumed 06:52:51 Successfully built 110a362779e7 06:52:51 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) 06:52:51 a4357932f1b6: Pull complete 06:52:51 18c013af1878: Pull complete Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:52:52 ---> job-cost.sh 06:52:52 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GUPQ 06:52:53 745a02a5169b: Verifying Checksum 06:52:53 745a02a5169b: Download complete 06:52:53 00ac8860ef70: Verifying Checksum 06:52:53 00ac8860ef70: Download complete 06:53:04 00ac8860ef70: Pull complete 06:53:04 63d7cb157983: Pull complete 06:53:04 b116817d02f9: Pull complete 06:53:07 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:53:08 745a02a5169b: Pull complete 06:53:08 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:53:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:53:08 ---> b7e6874047d6 06:53:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:53:11 ---> Running in 073a76d61909 06:53:11 Removing intermediate container 073a76d61909 06:53:11 ---> 08da53cd5c98 06:53:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:53:12 ---> Running in 52eca870b6aa 06:53:14 Removing intermediate container 52eca870b6aa 06:53:14 ---> 1b4e497d3e1e 06:53:14 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:53:14 ---> Running in e78a70d17ceb 06:53:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:53:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:53:17 (1/6) Installing libc-dev (0.7.2-r3) 06:53:17 (2/6) Installing libsodium (1.0.18-r0) 06:53:17 (3/6) Installing pkgconf (1.7.2-r0) 06:53:17 (4/6) Installing libsodium-dev (1.0.18-r0) 06:53:17 (5/6) Installing libzmq (4.3.3-r0) 06:53:17 (6/6) Installing zeromq-dev (4.3.3-r0) 06:53:17 Executing busybox-1.31.1-r19.trigger 06:53:17 OK: 144 MiB in 45 packages 06:53:19 Removing intermediate container e78a70d17ceb 06:53:19 ---> fdfa764cee4a 06:53:19 Step 6/8 : WORKDIR /device-sdk-go 06:53:19 ---> Running in 85794c0516a6 06:53:20 Removing intermediate container 85794c0516a6 06:53:20 ---> 82329fbeb4bc 06:53:20 Step 7/8 : COPY . . 06:53:21 ---> fc0f34f45365 06:53:21 Step 8/8 : RUN go mod download 06:53:21 ---> Running in 697d7ac306af 06:53:33 lf-activate-venv(): INFO: Adding /tmp/venv-GUPQ/bin to PATH 06:53:33 INFO: No Stack... 06:53:34 INFO: Retrieving Pricing Info for: v1-standard-2 06:53:35 INFO: Archiving Costs [Pipeline] sh 06:53:35 + cat /w/workspace/device-sdk-go/137/archives/cost.csv 06:53:35 + cut -d, -f6 [Pipeline] lock 06:53:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-137-stack-cost] 06:53:35 Resource [jenkins-edgexfoundry-device-sdk-go-master-137-stack-cost] did not exist. Created. 06:53:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-137-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:53:36 + echo total: 0.029999999329447746 [Pipeline] stash 06:53:36 Stashed 1 file(s) [Pipeline] } 06:53:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-137-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:53:48 Removing intermediate container 697d7ac306af 06:53:48 ---> 240b390503d8 06:53:48 Successfully built 240b390503d8 06:53:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:53:48 + docker inspect -f . ci-base-image-arm64 06:53:48 . [Pipeline] withDockerContainer 06:53:48 prd-ubuntu18.04-docker-arm64-4c-16g-32705 does not seem to be running inside a container 06:53:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/137 -v /w/workspace/device-sdk-go/137:/w/workspace/device-sdk-go/137:rw,z -v /w/workspace/device-sdk-go/137@tmp:/w/workspace/device-sdk-go/137@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 06:53:50 $ docker top 245253283ef1462039d68ad32313d4564f6979621eb6cf453f0455e49b812adb -eo pid,comm [Pipeline] { [Pipeline] sh 06:53:51 + go version 06:53:51 go version go1.15.5 linux/arm64 [Pipeline] } 06:53:51 $ docker stop --time=1 245253283ef1462039d68ad32313d4564f6979621eb6cf453f0455e49b812adb 06:53:53 $ docker rm -f 245253283ef1462039d68ad32313d4564f6979621eb6cf453f0455e49b812adb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:53:54 + docker inspect -f . ci-base-image-arm64 06:53:54 . [Pipeline] withDockerContainer 06:53:54 prd-ubuntu18.04-docker-arm64-4c-16g-32705 does not seem to be running inside a container 06:53:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/137 -v /w/workspace/device-sdk-go/137:/w/workspace/device-sdk-go/137:rw,z -v /w/workspace/device-sdk-go/137@tmp:/w/workspace/device-sdk-go/137@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 06:53:56 $ docker top 40c72c66e6a25ca532d6742fb7d911281fcc5de4c1986ebffc1fa1710873241f -eo pid,comm [Pipeline] { [Pipeline] sh 06:53:57 + make test 06:53:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:54:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:55:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:55:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:55:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:55:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:55:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:55:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.161s coverage: 28.1% of statements 06:55:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.209s coverage: 81.2% of statements 06:55:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.198s coverage: 7.8% of statements 06:55:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:55:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:55:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:55:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.256s coverage: 32.5% of statements 06:55:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:55:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:55:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:55:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.321s coverage: 57.3% of statements 06:55:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.349s coverage: 6.6% of statements 06:55:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements 06:55:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:55:32 GO111MODULE=on go vet ./... 06:56:28 gofmt -l . 06:56:28 [ "`gofmt -l .`" = "" ] 06:56:28 ./bin/test-attribution-txt.sh 06:56:28 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:56:28 $ docker stop --time=1 40c72c66e6a25ca532d6742fb7d911281fcc5de4c1986ebffc1fa1710873241f 06:56:31 $ docker rm -f 40c72c66e6a25ca532d6742fb7d911281fcc5de4c1986ebffc1fa1710873241f [Pipeline] // withDockerContainer [Pipeline] sh 06:56:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:56:32 Warning: overwriting stash ‘coverage-report’ 06:56:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:56:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:56:34 + ls -al . 06:56:34 total 224 06:56:34 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 06:56 . 06:56:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 06:52 .. 06:56:34 -rw-rw-r-- 1 jenkins jenkins 140 Apr 4 06:52 .dockerignore 06:56:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 06:52 .git 06:56:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 06:52 .github 06:56:34 -rw-rw-r-- 1 jenkins jenkins 138 Apr 4 06:52 .gitignore 06:56:34 -rw-rw-r-- 1 jenkins jenkins 987 Apr 4 06:52 Dockerfile.build 06:56:34 -rw-rw-r-- 1 jenkins jenkins 901 Apr 4 06:52 Jenkinsfile 06:56:34 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 4 06:52 LICENSE 06:56:34 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 4 06:52 Makefile 06:56:34 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 4 06:52 README.md 06:56:34 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 4 06:52 RELEASE-NOTES.txt 06:56:34 -rw-rw-r-- 1 jenkins jenkins 12 Apr 4 06:48 VERSION 06:56:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 06:52 bin 06:56:34 -rw-r--r-- 1 jenkins jenkins 101239 Apr 4 06:55 coverage.out 06:56:34 drwxrwxr-x 5 jenkins jenkins 4096 Apr 4 06:52 example 06:56:34 -rw-r--r-- 1 jenkins jenkins 537 Apr 4 06:56 go.mod 06:56:34 -rw-r--r-- 1 jenkins jenkins 20946 Apr 4 06:56 go.sum 06:56:34 drwxrwxr-x 14 jenkins jenkins 4096 Apr 4 06:52 internal 06:56:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 06:52 openapi 06:56:34 drwxrwxr-x 5 jenkins jenkins 4096 Apr 4 06:52 pkg 06:56:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 06:52 snap 06:56:34 -rw-rw-r-- 1 jenkins jenkins 222 Apr 4 06:52 version.go [Pipeline] isUnix [Pipeline] sh 06:56:35 + 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=4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b --label arch=arm64 --label version=2.0.0-dev.32 . 06:56:35 Sending build context to Docker daemon 2.443MB 06:56:35 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:56:35 Step 2/23 : FROM ${BASE} AS builder 06:56:35 ---> 240b390503d8 06:56:35 Step 3/23 : WORKDIR /device-sdk-go 06:56:36 ---> Running in 02c664f2c302 06:56:36 Removing intermediate container 02c664f2c302 06:56:36 ---> 83b014472ab2 06:56:36 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:56:36 ---> Running in ce5adec4f47e 06:56:36 Removing intermediate container ce5adec4f47e 06:56:36 ---> 44ce478598e3 06:56:36 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:56:37 ---> Running in e47c398bd2e3 06:56:39 Removing intermediate container e47c398bd2e3 06:56:39 ---> bf15d49f8439 06:56:39 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:56:39 ---> Running in 3bafc8833552 06:56:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:56:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:56:42 OK: 144 MiB in 45 packages 06:56:43 Removing intermediate container 3bafc8833552 06:56:43 ---> 1ad8d85f73c1 06:56:43 Step 7/23 : COPY . . 06:56:44 ---> b597724c82e8 06:56:44 Step 8/23 : RUN go mod download 06:56:44 ---> Running in 824fd047488f 06:56:47 Removing intermediate container 824fd047488f 06:56:47 ---> 2d528ddb3c0f 06:56:47 Step 9/23 : RUN make build 06:56:47 ---> Running in ea45966322e5 06:56:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.32" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:57:27 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:57:27 Removing intermediate container ea45966322e5 06:57:27 ---> 8fe08fcad580 06:57:27 Step 10/23 : FROM alpine:3.12 06:57:27 3.12: Pulling from library/alpine 06:57:27 9a219e8acc52: Pulling fs layer 06:57:27 9a219e8acc52: Download complete 06:57:27 9a219e8acc52: Pull complete 06:57:27 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 06:57:27 Status: Downloaded newer image for alpine:3.12 06:57:27 ---> d75e27dfc0a0 06:57:27 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:57:27 ---> Running in 2902c3c9f154 06:57:27 Removing intermediate container 2902c3c9f154 06:57:27 ---> 31b7f374c4d7 06:57:27 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:57:27 ---> Running in 7e7097600c5f 06:57:29 Removing intermediate container 7e7097600c5f 06:57:29 ---> 6b9a8ff81716 06:57:29 Step 13/23 : RUN apk add --update --no-cache zeromq 06:57:29 ---> Running in 9e8b37e9a789 06:57:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:57:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:57:32 (1/5) Installing libgcc (9.3.0-r2) 06:57:32 (2/5) Installing libsodium (1.0.18-r0) 06:57:32 (3/5) Installing libstdc++ (9.3.0-r2) 06:57:32 (4/5) Installing libzmq (4.3.3-r0) 06:57:32 (5/5) Installing zeromq (4.3.3-r0) 06:57:33 Executing busybox-1.31.1-r20.trigger 06:57:33 OK: 8 MiB in 19 packages 06:57:34 Removing intermediate container 9e8b37e9a789 06:57:34 ---> e4e8942daf1e 06:57:34 Step 14/23 : WORKDIR / 06:57:34 ---> Running in dc992927453c 06:57:34 Removing intermediate container dc992927453c 06:57:34 ---> 0d88e9f4d4b7 06:57:34 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:57:35 ---> c8f3c38821d3 06:57:35 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:57:36 ---> 0256bc19e8a4 06:57:36 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:57:37 ---> 9bb3a5db1ac0 06:57:37 Step 18/23 : EXPOSE 49990 06:57:37 ---> Running in 762bcd9e7d6c 06:57:37 Removing intermediate container 762bcd9e7d6c 06:57:37 ---> 4edc8d932321 06:57:37 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:57:38 ---> Running in 580ba1ede4bd 06:57:38 Removing intermediate container 580ba1ede4bd 06:57:38 ---> ad86493a1ce1 06:57:38 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:57:38 ---> Running in 61070cf34c6a 06:57:39 Removing intermediate container 61070cf34c6a 06:57:39 ---> 3b450a0f1bf4 06:57:39 Step 21/23 : LABEL arch=arm64 06:57:39 ---> Running in 74ac7bf036aa 06:57:39 Removing intermediate container 74ac7bf036aa 06:57:39 ---> e69b48dbefb3 06:57:39 Step 22/23 : LABEL git_sha=4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b 06:57:39 ---> Running in 5c349f26a179 06:57:40 Removing intermediate container 5c349f26a179 06:57:40 ---> bd8bdad04e1b 06:57:40 Step 23/23 : LABEL version=2.0.0-dev.32 06:57:40 ---> Running in 8e8698cfe9eb 06:57:41 Removing intermediate container 8e8698cfe9eb 06:57:41 ---> f21bc665ab58 06:57:41 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:57:41 Successfully built f21bc665ab58 06:57:41 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 06:57:41 ---> job-cost.sh 06:57:41 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oNbD 06:58:20 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:59:57 lf-activate-venv(): INFO: Adding /tmp/venv-oNbD/bin to PATH 06:59:57 INFO: No Stack... 06:59:57 INFO: Retrieving Pricing Info for: lf-standard-4 06:59:57 INFO: Archiving Costs [Pipeline] sh 06:59:58 + cat /w/workspace/device-sdk-go/137/archives/cost.csv 06:59:58 + cut -d, -f6 [Pipeline] lock 06:59:58 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-137-stack-cost] 06:59:58 Resource [jenkins-edgexfoundry-device-sdk-go-master-137-stack-cost] did not exist. Created. 06:59:58 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-137-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:59:58 /w/workspace/device-sdk-go/137@tmp/durable-83cfceb5/script.sh: 1: /w/workspace/device-sdk-go/137@tmp/durable-83cfceb5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:59:59 + echo total: 0.20999999344348907 [Pipeline] stash 06:59:59 Warning: overwriting stash ‘stack-cost’ 06:59:59 Stashed 1 file(s) [Pipeline] } 06:59:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-137-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 07:00:00 provisioning config files... 07:00:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5123472502270376059tmp [Pipeline] { [Pipeline] sh 07:00:00 + set +x 07:00:00 + bash -s -- 07:00:00 + curl -s https://codecov.io/bash 07:00:01 07:00:01 _____ _ 07:00:01 / ____| | | 07:00:01 | | ___ __| | ___ ___ _____ __ 07:00:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:00:01 | |___| (_) | (_| | __/ (_| (_) \ V / 07:00:01 \_____\___/ \__,_|\___|\___\___/ \_/ 07:00:01 Bash-20210309-2b87ace 07:00:01 07:00:01 07:00:01 ==> git version 2.24.3 found 07:00:01 ==> 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 07:00:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:00:01 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:00:01 ==> Jenkins CI detected. 07:00:01 project root: . 07:00:01 --> token set from env 07:00:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:00:01 ==> Running gcov in . (disable via -X gcov) 07:00:01 ==> Python coveragepy not found 07:00:01 ==> Searching for coverage reports in: 07:00:01 + . 07:00:01 -> Found 1 reports 07:00:01 ==> Detecting git/mercurial file structure 07:00:01 ==> Reading reports 07:00:01 + ./coverage.out bytes=101239 07:00:01 ==> Appending adjustments 07:00:01 https://docs.codecov.io/docs/fixing-reports 07:00:02 + Found adjustments 07:00:02 ==> Gzipping contents 07:00:02 16K /tmp/codecov.zLtpTY.gz 07:00:02 ==> Uploading reports 07:00:02 url: https://codecov.io 07:00:02 query: branch=master&commit=4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b&build=137&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F137%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:00:02 -> Pinging Codecov 07:00:02 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b&build=137&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F137%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:00:03 -> Uploading to 07:00:03 https://storage.googleapis.com/codecov/v4/raw/2021-04-04/7E55EF52A471D76F132DFD9A03CDDE97/4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b/4d507f2e-3c17-40fe-adc4-7a46d344a6de.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210404T070002Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fcf7c4caee5eb39ece6165f04f62f8d8efc981a8080829a5010b37e071539b9d 07:00:03 % Total % Received % Xferd Average Speed Time Time Time Current 07:00:03 Dload Upload Total Spent Left Speed 07:00:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13728 0 0 100 13728 0 25301 --:--:-- --:--:-- --:--:-- 25328 07:00:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b [Pipeline] } 07:00:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:00:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:00:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:00:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:00:05 07:00:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 07:00:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:00:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:00:06 188c0c94c7c5: Pulling fs layer 07:00:06 0ef7d3d256c8: Pulling fs layer 07:00:06 de9db76c5a1d: Pulling fs layer 07:00:06 0eba1c9be4d2: Pulling fs layer 07:00:06 0d57e429df01: Pulling fs layer 07:00:06 4e4be7b47b0d: Pulling fs layer 07:00:06 e1f770b5df2f: Pulling fs layer 07:00:06 85a0685a4137: Pulling fs layer 07:00:06 0eba1c9be4d2: Waiting 07:00:06 0d57e429df01: Waiting 07:00:06 4e4be7b47b0d: Waiting 07:00:06 e1f770b5df2f: Waiting 07:00:06 85a0685a4137: Waiting 07:00:06 de9db76c5a1d: Verifying Checksum 07:00:06 de9db76c5a1d: Download complete 07:00:06 0ef7d3d256c8: Verifying Checksum 07:00:06 0ef7d3d256c8: Download complete 07:00:06 0d57e429df01: Verifying Checksum 07:00:06 0d57e429df01: Download complete 07:00:07 4e4be7b47b0d: Verifying Checksum 07:00:07 4e4be7b47b0d: Download complete 07:00:07 188c0c94c7c5: Verifying Checksum 07:00:07 188c0c94c7c5: Download complete 07:00:08 188c0c94c7c5: Pull complete 07:00:09 0ef7d3d256c8: Pull complete 07:00:09 de9db76c5a1d: Pull complete 07:00:13 e1f770b5df2f: Download complete 07:00:18 0eba1c9be4d2: Verifying Checksum 07:00:18 0eba1c9be4d2: Download complete 07:00:18 85a0685a4137: Verifying Checksum 07:00:18 85a0685a4137: Download complete 07:00:37 0eba1c9be4d2: Pull complete 07:00:37 0d57e429df01: Pull complete 07:00:37 4e4be7b47b0d: Pull complete 07:00:43 e1f770b5df2f: Pull complete 07:00:59 85a0685a4137: Pull complete 07:00:59 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 07:00:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:00:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 07:00:59 prd-centos7-docker-4c-2g-32697 does not seem to be running inside a container 07:00:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:01:01 $ docker top 9f4c4e2c774880615d8728e2136d63304fbeb240f2fb24e3e223bb5150f7ff8f -eo pid,comm [Pipeline] { [Pipeline] echo 07:01:02 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 07:01:02 + set -o pipefail 07:01:02 + snyk monitor '--org=edgex-jenkins' 07:01:36 07:01:36 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... 07:01:36 07:01:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/af87de70-d7e5-42f0-956b-c27356308c33 07:01:36 07:01:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:01:36 07:01:36 07:01:36 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 07:01:36 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:01:36 $ docker stop --time=1 9f4c4e2c774880615d8728e2136d63304fbeb240f2fb24e3e223bb5150f7ff8f 07:01:39 $ docker rm -f 9f4c4e2c774880615d8728e2136d63304fbeb240f2fb24e3e223bb5150f7ff8f [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 07:01:41 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:01:41 provisioning config files... 07:01:41 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6946009088772682473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:01:41 --> edgex-publish-swagger.sh 07:01:41 === Publish openapi/v1 API === 07:01:41 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 07:01:41 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] 07:01:42 % Total % Received % Xferd Average Speed Time Time Time Current 07:01:42 Dload Upload Total Spent Left Speed 07:01:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 26837 --:--:-- --:--:-- --:--:-- 26955 07:01:43 07:01:43 07:01:43 === Publish openapi/v2 API === 07:01:43 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 07:01:43 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] 07:01:43 % Total % Received % Xferd Average Speed Time Time Time Current 07:01:43 Dload Upload Total Spent Left Speed 07:01:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 69148 --:--:-- --:--:-- --:--:-- 69197 07:01:43 07:01:43 [Pipeline] } 07:01:43 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 07:01:44 + git log --format=format:%s -1 4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b [Pipeline] isUnix [Pipeline] sh 07:01:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:01:45 . [Pipeline] withDockerContainer 07:01:45 prd-centos7-docker-4c-2g-32697 does not seem to be running inside a container 07:01: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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:01:47 $ docker top 8fa258cb0fe8043ccba4f8f798f6c2d084cd36c34c1abf89a71201dfc4495ccd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:01:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:01:48 [ssh-agent] Looking for ssh-agent implementation... 07:01:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:01:49 $ docker exec 8fa258cb0fe8043ccba4f8f798f6c2d084cd36c34c1abf89a71201dfc4495ccd ssh-agent 07:01:50 SSH_AUTH_SOCK=/tmp/ssh-zXQbVTu9Pwlq/agent.12 07:01:50 SSH_AGENT_PID=18 07:01:50 Running ssh-add (command line suppressed) 07:01:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2515320977694086686.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2515320977694086686.key) 07:01:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:01:53 + git semver tag 07:01:53 # -> Open(): unable to determine branch for HEAD 07:01:53 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:01:53 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:01:53 # $SEMVER_REMOTE_NAME = origin 07:01:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:01:53 # $SEMVER_USER_NAME = edgex-jenkins 07:01:53 # $SEMVER_BRANCH = master 07:01:53 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 07:01:53 # 4e9bdd26b0e338b4ade84edef7cdef6b7e824c9b HEAD 07:01:53 # -> Force: false 07:01:53 # e28fc1fda77bd219e9c681606e93a9b0b596ef25 refs/tags/v2.0.0-dev.32 [Pipeline] } 07:01:53 $ docker exec --env ******** --env ******** 8fa258cb0fe8043ccba4f8f798f6c2d084cd36c34c1abf89a71201dfc4495ccd ssh-agent -k 07:01:53 unset SSH_AUTH_SOCK; 07:01:53 unset SSH_AGENT_PID; 07:01:53 echo Agent pid 18 killed; 07:01:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:01:56 + git semver [Pipeline] } 07:01:56 $ docker stop --time=1 8fa258cb0fe8043ccba4f8f798f6c2d084cd36c34c1abf89a71201dfc4495ccd 07:02:00 $ docker rm -f 8fa258cb0fe8043ccba4f8f798f6c2d084cd36c34c1abf89a71201dfc4495ccd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 07:02:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:02:02 07:02:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 07:02:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:02:03 0.23.1-centos7: Pulling from edgex-lftools 07:02:03 ab5ef0e58194: Pulling fs layer 07:02:03 9712f1f96733: Pulling fs layer 07:02:03 63f879dbbcfc: Pulling fs layer 07:02:03 0d9ebad4ef96: Pulling fs layer 07:02:03 e9a5061849ea: Pulling fs layer 07:02:03 d747dcd14b5f: Pulling fs layer 07:02:03 2de7ff778b66: Pulling fs layer 07:02:03 0d9ebad4ef96: Waiting 07:02:03 e9a5061849ea: Waiting 07:02:03 d747dcd14b5f: Waiting 07:02:03 2de7ff778b66: Waiting 07:02:03 9712f1f96733: Verifying Checksum 07:02:03 9712f1f96733: Download complete 07:02:13 63f879dbbcfc: Verifying Checksum 07:02:13 63f879dbbcfc: Download complete 07:02:13 e9a5061849ea: Verifying Checksum 07:02:13 e9a5061849ea: Download complete 07:02:14 d747dcd14b5f: Verifying Checksum 07:02:14 d747dcd14b5f: Download complete 07:02:16 0d9ebad4ef96: Verifying Checksum 07:02:16 0d9ebad4ef96: Download complete 07:02:16 2de7ff778b66: Verifying Checksum 07:02:16 2de7ff778b66: Download complete 07:02:16 ab5ef0e58194: Verifying Checksum 07:02:16 ab5ef0e58194: Download complete 07:02:33 ab5ef0e58194: Pull complete 07:02:33 9712f1f96733: Pull complete 07:02:36 63f879dbbcfc: Pull complete 07:02:54 0d9ebad4ef96: Pull complete 07:02:54 e9a5061849ea: Pull complete 07:02:54 d747dcd14b5f: Pull complete 07:03:00 2de7ff778b66: Pull complete 07:03:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:03:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:03:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 07:03:01 prd-centos7-docker-4c-2g-32697 does not seem to be running inside a container 07:03:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:03:06 $ docker top 2987451764e50e41d7876bbc1bbfbaedeae8191af2991937d36901e0db7dcd5e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:03:06 provisioning config files... 07:03:06 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config31787801091400702tmp 07:03:06 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6552293859071310563tmp 07:03:06 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config758947881761891937tmp [Pipeline] { [Pipeline] echo 07:03:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:03:07 ---> sigul-configuration.sh 07:03:07 gpg: directory `/root/.gnupg' created 07:03:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:03:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:03:07 gpg: keyring `/root/.gnupg/secring.gpg' created 07:03:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:03:07 gpg: CAST5 encrypted data 07:03:07 gpg: encrypted with 1 passphrase 07:03:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:03:10 + mkdir /home/jenkins 07:03:10 + mkdir /home/jenkins/sigul [Pipeline] sh 07:03:11 + 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 07:03:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:03:12 ---> sigul-install.sh 07:03:23 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 07:03:24 + git tag --list 07:03:24 0.7.1 07:03:24 delhi-tag 07:03:24 v1.0.0 07:03:24 v1.1.0 07:03:24 v1.1.1 07:03:24 v1.1.2 07:03:24 v1.2.0 07:03:24 v1.2.1 07:03:24 v1.2.2 07:03:24 v1.2.3 07:03:24 v1.3.0 07:03:24 v1.4.0 07:03:24 v2.0.0-dev.1 07:03:24 v2.0.0-dev.10 07:03:24 v2.0.0-dev.11 07:03:24 v2.0.0-dev.12 07:03:24 v2.0.0-dev.13 07:03:24 v2.0.0-dev.14 07:03:24 v2.0.0-dev.15 07:03:24 v2.0.0-dev.16 07:03:24 v2.0.0-dev.17 07:03:24 v2.0.0-dev.18 07:03:24 v2.0.0-dev.19 07:03:24 v2.0.0-dev.2 07:03:24 v2.0.0-dev.20 07:03:24 v2.0.0-dev.21 07:03:24 v2.0.0-dev.22 07:03:24 v2.0.0-dev.23 07:03:24 v2.0.0-dev.24 07:03:24 v2.0.0-dev.25 07:03:24 v2.0.0-dev.26 07:03:24 v2.0.0-dev.27 07:03:24 v2.0.0-dev.28 07:03:24 v2.0.0-dev.29 07:03:24 v2.0.0-dev.3 07:03:24 v2.0.0-dev.30 07:03:24 v2.0.0-dev.31 07:03:24 v2.0.0-dev.32 07:03:24 v2.0.0-dev.4 07:03:24 v2.0.0-dev.5 07:03:24 v2.0.0-dev.6 07:03:24 v2.0.0-dev.7 07:03:24 v2.0.0-dev.8 07:03:24 v2.0.0-dev.9 [Pipeline] sh 07:03:26 + lftools sign git-tag v2.0.0-dev.32 07:03:29 Signing Git tag with Sigul... 07:03:29 Signing v2.0.0-dev.32 [Pipeline] echo 07:03:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:03:30 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:03:30 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:03:31 $ docker stop --time=1 2987451764e50e41d7876bbc1bbfbaedeae8191af2991937d36901e0db7dcd5e 07:03:34 $ docker rm -f 2987451764e50e41d7876bbc1bbfbaedeae8191af2991937d36901e0db7dcd5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 07:03:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:03:36 . [Pipeline] withDockerContainer 07:03:37 prd-centos7-docker-4c-2g-32697 does not seem to be running inside a container 07:03:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:03:39 $ docker top e481891e5fba169edd8573f3dab27c19648710f8af8dcd227fa02e6106af6908 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:03:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:03:39 [ssh-agent] Looking for ssh-agent implementation... 07:03:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:03:41 $ docker exec e481891e5fba169edd8573f3dab27c19648710f8af8dcd227fa02e6106af6908 ssh-agent 07:03:42 SSH_AUTH_SOCK=/tmp/ssh-DrXm5Bb98ikz/agent.12 07:03:42 SSH_AGENT_PID=17 07:03:42 Running ssh-add (command line suppressed) 07:03:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6279984419984540619.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6279984419984540619.key) 07:03:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:03:44 + git semver bump pre 07:03:44 # -> Open(): unable to determine branch for HEAD 07:03:44 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:03:44 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:03:44 # $SEMVER_REMOTE_NAME = origin 07:03:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:03:44 # $SEMVER_USER_NAME = edgex-jenkins 07:03:44 # $SEMVER_BRANCH = master 07:03:44 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 07:03:44 2.0.0-dev.33 [Pipeline] } 07:03:44 $ docker exec --env ******** --env ******** e481891e5fba169edd8573f3dab27c19648710f8af8dcd227fa02e6106af6908 ssh-agent -k 07:03:45 unset SSH_AUTH_SOCK; 07:03:45 unset SSH_AGENT_PID; 07:03:45 echo Agent pid 17 killed; 07:03:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:03:46 + git semver [Pipeline] } 07:03:47 $ docker stop --time=1 e481891e5fba169edd8573f3dab27c19648710f8af8dcd227fa02e6106af6908 07:03:49 $ docker rm -f e481891e5fba169edd8573f3dab27c19648710f8af8dcd227fa02e6106af6908 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 07:03:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:03:50 . [Pipeline] withDockerContainer 07:03:51 prd-centos7-docker-4c-2g-32697 does not seem to be running inside a container 07:03:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:03:53 $ docker top f8e86e9f41b0f0432b0c9d4f28e4634c29c6e4a3c1ddc8188ba0251b8daf1f97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:03:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:03:54 [ssh-agent] Looking for ssh-agent implementation... 07:03:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:03:55 $ docker exec f8e86e9f41b0f0432b0c9d4f28e4634c29c6e4a3c1ddc8188ba0251b8daf1f97 ssh-agent 07:03:56 SSH_AUTH_SOCK=/tmp/ssh-6KWqz0VyclhH/agent.11 07:03:56 SSH_AGENT_PID=16 07:03:56 Running ssh-add (command line suppressed) 07:03:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7931009356549291077.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7931009356549291077.key) 07:03:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:03:59 + git semver push 07:03:59 # -> Open(): unable to determine branch for HEAD 07:03:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:03:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:03:59 # $SEMVER_REMOTE_NAME = origin 07:03:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:03:59 # $SEMVER_USER_NAME = edgex-jenkins 07:03:59 # $SEMVER_BRANCH = master 07:03:59 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 07:04:07 $ docker exec --env ******** --env ******** f8e86e9f41b0f0432b0c9d4f28e4634c29c6e4a3c1ddc8188ba0251b8daf1f97 ssh-agent -k 07:04:08 unset SSH_AUTH_SOCK; 07:04:08 unset SSH_AGENT_PID; 07:04:08 echo Agent pid 16 killed; 07:04:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:04:09 + git semver [Pipeline] } 07:04:09 $ docker stop --time=1 f8e86e9f41b0f0432b0c9d4f28e4634c29c6e4a3c1ddc8188ba0251b8daf1f97 07:04:12 $ docker rm -f f8e86e9f41b0f0432b0c9d4f28e4634c29c6e4a3c1ddc8188ba0251b8daf1f97 [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 07:04:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:04:15 ---> package-listing.sh 07:04:15 ++ facter osfamily 07:04:15 ++ tr '[:upper:]' '[:lower:]' 07:04:15 + OS_FAMILY=redhat 07:04:15 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 07:04:15 + START_PACKAGES=/tmp/packages_start.txt 07:04:15 + END_PACKAGES=/tmp/packages_end.txt 07:04:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:04:15 + PACKAGES=/tmp/packages_start.txt 07:04:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 07:04:15 + PACKAGES=/tmp/packages_end.txt 07:04:15 + case "${OS_FAMILY}" in 07:04:15 + sort 07:04:15 + rpm -qa 07:04:23 + '[' -f /tmp/packages_start.txt ']' 07:04:23 + '[' -f /tmp/packages_end.txt ']' 07:04:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:04:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 07:04:23 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 07:04:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 07:04:24 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 07:04:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:04:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:04:25 07:04:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:04:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:04:26 alpine: Pulling from edgex-lftools-log-publisher 07:04:26 df20fa9351a1: Pulling fs layer 07:04:26 36b3adc4ff6f: Pulling fs layer 07:04:26 8ad3a11d3b57: Pulling fs layer 07:04:26 46f8f816bc3b: Pulling fs layer 07:04:26 93b61091891f: Pulling fs layer 07:04:26 93b9cdb0e59b: Pulling fs layer 07:04:26 5e14af77c1be: Pulling fs layer 07:04:26 01666e4c0597: Pulling fs layer 07:04:26 aa168da1d23b: Pulling fs layer 07:04:26 93b9cdb0e59b: Waiting 07:04:26 5e14af77c1be: Waiting 07:04:26 01666e4c0597: Waiting 07:04:26 46f8f816bc3b: Waiting 07:04:26 93b61091891f: Waiting 07:04:26 aa168da1d23b: Waiting 07:04:27 36b3adc4ff6f: Verifying Checksum 07:04:27 36b3adc4ff6f: Download complete 07:04:27 46f8f816bc3b: Verifying Checksum 07:04:27 46f8f816bc3b: Download complete 07:04:27 93b61091891f: Verifying Checksum 07:04:27 93b61091891f: Download complete 07:04:27 df20fa9351a1: Verifying Checksum 07:04:27 df20fa9351a1: Download complete 07:04:27 93b9cdb0e59b: Verifying Checksum 07:04:27 93b9cdb0e59b: Download complete 07:04:27 5e14af77c1be: Verifying Checksum 07:04:27 5e14af77c1be: Download complete 07:04:27 01666e4c0597: Verifying Checksum 07:04:27 01666e4c0597: Download complete 07:04:29 8ad3a11d3b57: Verifying Checksum 07:04:29 8ad3a11d3b57: Download complete 07:04:29 df20fa9351a1: Pull complete 07:04:30 36b3adc4ff6f: Pull complete 07:04:32 8ad3a11d3b57: Pull complete 07:04:32 46f8f816bc3b: Pull complete 07:04:33 93b61091891f: Pull complete 07:04:33 93b9cdb0e59b: Pull complete 07:04:34 5e14af77c1be: Pull complete 07:04:35 01666e4c0597: Pull complete 07:04:38 aa168da1d23b: Verifying Checksum 07:04:38 aa168da1d23b: Download complete 07:04:57 aa168da1d23b: Pull complete 07:04:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:04:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:04:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:04:57 prd-centos7-docker-4c-2g-32697 does not seem to be running inside a container 07:04:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:05:02 $ docker top 7aca5c32593e75880a5e17848b82d0f5a16afab74896b2f24be3408b4928d139 -eo pid,comm [Pipeline] { [Pipeline] sh 07:05:04 + touch /tmp/pre-build-complete [Pipeline] sh 07:05:05 + mkdir -p /var/log/sa [Pipeline] sh 07:05:06 + ls /var/log/sa-host 07:05:06 + sadf -c /var/log/sa-host/sa04 07:05:06 file_magic: OK 07:05:06 HZ: Using current value: 100 07:05:06 file_header: OK 07:05:06 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 07:05:06 Statistics: 07:05:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:05:06 File successfully converted to sysstat format version 12.2.1 07:05:06 + sadf -c /var/log/sa-host/sa23 07:05:06 file_magic: OK 07:05:06 HZ: Using current value: 100 07:05:06 file_header: OK 07:05:06 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 07:05:06 Statistics: 07:05:06 Hnuu...uuuununununu... 07:05:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:05:06 provisioning config files... 07:05:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5110385484728738143tmp [Pipeline] { [Pipeline] echo 07:05:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:05:08 ---> create-netrc.sh [Pipeline] } 07:05:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:05:08 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:05:09 ---> python-tools-install.sh [Pipeline] echo 07:05:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:05:10 ---> sudo-logs.sh 07:05:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:05:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:05:11 ---> job-cost.sh 07:05:11 lf-activate-venv: SKIPPING 07:05:11 DEBUG: total: 0.20999999344348907 07:05:11 INFO: Retrieving Stack Cost... 07:05:12 INFO: Retrieving Pricing Info for: v1-standard-2 07:05:12 INFO: Archiving Costs [Pipeline] echo 07:05:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:05:13 ---> logs-deploy.sh 07:05:13 lf-activate-venv: SKIPPING 07:05:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/137 07:05:13 INFO: archiving workspace using pattern(s): 07:05:17 Archives upload complete. 07:05:17 INFO: archiving logs to Nexus