Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b1dd491c035f10e3b0b42b335a36e7e39b70da8c 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 Running on prd-centos7-docker-4c-2g-1421 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b1dd491c035f10e3b0b42b335a36e7e39b70da8c (master) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1dd491c035f10e3b0b42b335a36e7e39b70da8c # timeout=10 Commit message: "Merge pull request #891 from hahattan/issue-89" > git rev-list --no-walk 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:54:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:54:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:54:20 ========================================================= 08:54:20 EdgeX Global Pipelines Version Info 08:54:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:54:22 ------------------- 08:54:22 stable info: 08:54:22 ------------------- 08:54:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:54:22 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 08:54:22 Message: update stable to v1.0.186 08:54:23 ------------------- 08:54:23 experimental info: 08:54:23 ------------------- 08:54:23 Commited By: **** collab-it+edgex@linuxfoundation.org 08:54:23 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 08:54:23 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:54:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:54:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:54:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:54:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:54:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:54:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:54:23 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1dd491c035f10e3b0b42b335a36e7e39b70da8c [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1dd491 [Pipeline] echo 08:54:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:54:24 provisioning config files... 08:54:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2447721353184040446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:54:25 ---> docker-login.sh 08:54:25 nexus3.edgexfoundry.org:10001 08:54:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:26 Configure a credential helper to remove this warning. See 08:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:26 08:54:26 Login Succeeded 08:54:26 nexus3.edgexfoundry.org:10002 08:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:26 Configure a credential helper to remove this warning. See 08:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:26 08:54:26 Login Succeeded 08:54:26 nexus3.edgexfoundry.org:10003 08:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:26 Configure a credential helper to remove this warning. See 08:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:26 08:54:26 Login Succeeded 08:54:26 nexus3.edgexfoundry.org:10004 08:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:26 Configure a credential helper to remove this warning. See 08:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:26 08:54:26 Login Succeeded 08:54:26 docker.io 08:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:27 Configure a credential helper to remove this warning. See 08:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:27 08:54:27 Login Succeeded 08:54:27 ---> docker-login.sh ends [Pipeline] } 08:54:27 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 08:54:27 + git log --format=format:%s -1 b1dd491c035f10e3b0b42b335a36e7e39b70da8c [Pipeline] echo 08:54:28 GIT_COMMIT: b1dd491c035f10e3b0b42b335a36e7e39b70da8c, Commit Message: Merge pull request #891 from hahattan/issue-89 [Pipeline] echo 08:54:28 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:54:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:54:29 08:54:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:54:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:54:29 latest: Pulling from edgex-devops/git-semver 08:54:29 31603596830f: Pulling fs layer 08:54:29 2a8b12db71e7: Pulling fs layer 08:54:29 6ca5941a6612: Pulling fs layer 08:54:29 ecc8261a40a4: Pulling fs layer 08:54:29 ecc8261a40a4: Waiting 08:54:29 2a8b12db71e7: Verifying Checksum 08:54:29 2a8b12db71e7: Download complete 08:54:29 31603596830f: Verifying Checksum 08:54:29 31603596830f: Download complete 08:54:29 ecc8261a40a4: Verifying Checksum 08:54:29 ecc8261a40a4: Download complete 08:54:29 6ca5941a6612: Verifying Checksum 08:54:29 6ca5941a6612: Download complete 08:54:29 31603596830f: Pull complete 08:54:30 2a8b12db71e7: Pull complete 08:54:32 6ca5941a6612: Pull complete 08:54:32 ecc8261a40a4: Pull complete 08:54:32 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:54:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:54:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:54:32 prd-centos7-docker-4c-2g-1421 does not seem to be running inside a container 08:54:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:54:35 $ docker top 7093461721d1cf78376b0e0017cf3fec703c45d36944f326058602bd10e3feba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:54:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:54:36 [ssh-agent] Looking for ssh-agent implementation... 08:54:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:54:36 $ docker exec 7093461721d1cf78376b0e0017cf3fec703c45d36944f326058602bd10e3feba ssh-agent 08:54:37 SSH_AUTH_SOCK=/tmp/ssh-PryXtPkiZdNd/agent.11 08:54:37 SSH_AGENT_PID=16 08:54:37 Running ssh-add (command line suppressed) 08:54:37 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6114300098283666277.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6114300098283666277.key) 08:54:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:54:38 + git tag --points-at HEAD [Pipeline] } 08:54:38 $ docker exec --env ******** --env ******** 7093461721d1cf78376b0e0017cf3fec703c45d36944f326058602bd10e3feba ssh-agent -k 08:54:38 unset SSH_AUTH_SOCK; 08:54:38 unset SSH_AGENT_PID; 08:54:38 echo Agent pid 16 killed; 08:54:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:54:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:54:38 [ssh-agent] Looking for ssh-agent implementation... 08:54:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:54:39 $ docker exec 7093461721d1cf78376b0e0017cf3fec703c45d36944f326058602bd10e3feba ssh-agent 08:54:39 SSH_AUTH_SOCK=/tmp/ssh-F91tFzGItnAW/agent.45 08:54:39 SSH_AGENT_PID=51 08:54:39 Running ssh-add (command line suppressed) 08:54:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2443318017904390629.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2443318017904390629.key) 08:54:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:54:39 + git semver init 08:54:39 # -> Open(): unable to determine branch for HEAD 08:54:39 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 08:54:39 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 08:54:39 # $SEMVER_REMOTE_NAME = origin 08:54:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:54:39 # $SEMVER_USER_NAME = edgex-jenkins 08:54:39 # $SEMVER_BRANCH = master 08:54:39 # $SEMVER_TEMP = /tmp/semver-754129008 08:54:39 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:54:40 # '/tmp/semver-754129008' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 08:54:40 # -> Force: false 08:54:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 08:54:40 $ docker exec --env ******** --env ******** 7093461721d1cf78376b0e0017cf3fec703c45d36944f326058602bd10e3feba ssh-agent -k 08:54:41 unset SSH_AUTH_SOCK; 08:54:41 unset SSH_AGENT_PID; 08:54:41 echo Agent pid 51 killed; 08:54:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:54:41 + git semver [Pipeline] } 08:54:41 $ docker stop --time=1 7093461721d1cf78376b0e0017cf3fec703c45d36944f326058602bd10e3feba 08:54:43 $ docker rm -f 7093461721d1cf78376b0e0017cf3fec703c45d36944f326058602bd10e3feba [Pipeline] // withDockerContainer [Pipeline] sh 08:54:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:54:44 Stashed 1 file(s) [Pipeline] echo 08:54:44 [edgeXSemver]: initialized semver on version 2.0.0-dev.47 [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 08:55:00 Still waiting to schedule task 08:55:00 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:55:00 Still waiting to schedule task 08:55:00 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:58:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1430 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 08:58:46 Running in /w/workspace/device-sdk-go/152 [Pipeline] { [Pipeline] checkout 08:58:51 using credential edgex-jenkins-ssh 08:58:51 Cloning the remote Git repository 08:58:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:58:51 > git init /w/workspace/device-sdk-go/152 # timeout=10 08:58:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:58:52 > git --version # timeout=10 08:58:52 > git --version # 'git version 2.17.1' 08:58:52 using GIT_SSH to set credentials SSH Credentials for GitHub 08:58:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:58:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:58:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:58:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:58:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:58:53 using GIT_SSH to set credentials SSH Credentials for GitHub 08:58:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:58:53 Checking out Revision b1dd491c035f10e3b0b42b335a36e7e39b70da8c (master) 08:58:53 > git config core.sparsecheckout # timeout=10 08:58:53 > git checkout -f b1dd491c035f10e3b0b42b335a36e7e39b70da8c # timeout=10 08:58:56 Running on prd-centos7-docker-4c-2g-1431 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 08:58:56 Running in /w/workspace/device-sdk-go/152 [Pipeline] { [Pipeline] checkout 08:58:58 Commit message: "Merge pull request #891 from hahattan/issue-89" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:59:00 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 08:59:00 using credential edgex-jenkins-ssh 08:59:00 Cloning the remote Git repository [Pipeline] sh 08:59:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:59:01 + sudo service docker restart 08:59:01 + true 08:59:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:59:00 > git init /w/workspace/device-sdk-go/152 # timeout=10 08:59:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:59:00 > git --version # timeout=10 08:59:00 > git --version # 'git version 2.24.3' 08:59:00 using GIT_SSH to set credentials SSH Credentials for GitHub 08:59:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:59:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:59:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:59:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:59:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:59:01 using GIT_SSH to set credentials SSH Credentials for GitHub 08:59:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:59:02 Checking out Revision b1dd491c035f10e3b0b42b335a36e7e39b70da8c (master) 08:59:02 > git config core.sparsecheckout # timeout=10 08:59:02 > git checkout -f b1dd491c035f10e3b0b42b335a36e7e39b70da8c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:59:03 provisioning config files... 08:59:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/152@tmp/config2113688551382946649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:04 ---> docker-login.sh 08:59:04 nexus3.edgexfoundry.org:10001 08:59:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:05 Configure a credential helper to remove this warning. See 08:59:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:05 08:59:05 Login Succeeded 08:59:05 nexus3.edgexfoundry.org:10002 08:59:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:05 Configure a credential helper to remove this warning. See 08:59:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:05 08:59:05 Login Succeeded 08:59:05 nexus3.edgexfoundry.org:10003 08:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:06 Configure a credential helper to remove this warning. See 08:59:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:06 08:59:06 Login Succeeded 08:59:06 nexus3.edgexfoundry.org:10004 08:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:06 Commit message: "Merge pull request #891 from hahattan/issue-89" 08:59:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:06 Configure a credential helper to remove this warning. See 08:59:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:06 08:59:06 Login Succeeded 08:59:06 docker.io 08:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:07 Configure a credential helper to remove this warning. See 08:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:07 08:59:07 Login Succeeded 08:59:07 ---> docker-login.sh ends [Pipeline] } 08:59:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:59:07 ========================================================= 08:59:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:59:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:59:07 + 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 . 08:59:08 Sending build context to Docker daemon 2.449MB 08:59:08 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:59:08 Step 2/8 : FROM ${BASE} 08:59:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:59:08 5f621e34cdf4: Pulling fs layer 08:59:08 a4357932f1b6: Pulling fs layer 08:59:08 18c013af1878: Pulling fs layer 08:59:08 00ac8860ef70: Pulling fs layer 08:59:08 63d7cb157983: Pulling fs layer 08:59:08 b116817d02f9: Pulling fs layer 08:59:08 00ac8860ef70: Waiting 08:59:08 745a02a5169b: Pulling fs layer 08:59:08 63d7cb157983: Waiting 08:59:08 b116817d02f9: Waiting 08:59:08 745a02a5169b: Waiting 08:59:08 18c013af1878: Download complete 08:59:08 a4357932f1b6: Verifying Checksum 08:59:08 a4357932f1b6: Download complete 08:59:08 63d7cb157983: Verifying Checksum 08:59:08 63d7cb157983: Download complete 08:59:08 5f621e34cdf4: Verifying Checksum 08:59:08 5f621e34cdf4: Download complete 08:59:08 b116817d02f9: Verifying Checksum 08:59:08 b116817d02f9: Download complete 08:59:09 5f621e34cdf4: Pull complete 08:59:09 a4357932f1b6: Pull complete 08:59:10 18c013af1878: Pull complete 08:59:11 745a02a5169b: Verifying Checksum 08:59:11 745a02a5169b: Download complete 08:59:12 00ac8860ef70: Verifying Checksum 08:59:12 00ac8860ef70: Download complete 08:59:22 00ac8860ef70: Pull complete 08:59:22 63d7cb157983: Pull complete 08:59:22 b116817d02f9: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:59:24 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:59:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:59:24 + sudo service docker restart 08:59:24 + true 08:59:24 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:59:26 provisioning config files... 08:59:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/152@tmp/config3055016459258837809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:26 ---> docker-login.sh 08:59:26 nexus3.edgexfoundry.org:10001 08:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:26 Configure a credential helper to remove this warning. See 08:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:26 08:59:26 Login Succeeded 08:59:27 nexus3.edgexfoundry.org:10002 08:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:27 Configure a credential helper to remove this warning. See 08:59:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:27 08:59:27 Login Succeeded 08:59:27 nexus3.edgexfoundry.org:10003 08:59:27 745a02a5169b: Pull complete 08:59:27 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:59:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:59:27 ---> b7e6874047d6 08:59:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:27 Configure a credential helper to remove this warning. See 08:59:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:27 08:59:27 Login Succeeded 08:59:27 nexus3.edgexfoundry.org:10004 08:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:27 Configure a credential helper to remove this warning. See 08:59:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:27 08:59:27 Login Succeeded 08:59:27 docker.io 08:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:27 Configure a credential helper to remove this warning. See 08:59:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:27 08:59:27 Login Succeeded 08:59:27 ---> docker-login.sh ends [Pipeline] } 08:59:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:59:28 ========================================================= 08:59:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:59:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:59:28 + 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 . 08:59:28 Sending build context to Docker daemon 2.45MB 08:59:28 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:59:28 Step 2/8 : FROM ${BASE} 08:59:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:59:28 188c0c94c7c5: Pulling fs layer 08:59:28 0ef7d3d256c8: Pulling fs layer 08:59:28 de9db76c5a1d: Pulling fs layer 08:59:28 bca2f99d35d6: Pulling fs layer 08:59:28 93359f2a8cfa: Pulling fs layer 08:59:28 7c6f9722023f: Pulling fs layer 08:59:28 a35cf1a2eb13: Pulling fs layer 08:59:28 93359f2a8cfa: Waiting 08:59:28 7c6f9722023f: Waiting 08:59:28 a35cf1a2eb13: Waiting 08:59:28 bca2f99d35d6: Waiting 08:59:28 de9db76c5a1d: Verifying Checksum 08:59:28 de9db76c5a1d: Download complete 08:59:28 0ef7d3d256c8: Verifying Checksum 08:59:28 0ef7d3d256c8: Download complete 08:59:28 93359f2a8cfa: Download complete 08:59:28 188c0c94c7c5: Verifying Checksum 08:59:28 188c0c94c7c5: Download complete 08:59:28 7c6f9722023f: Verifying Checksum 08:59:28 7c6f9722023f: Download complete 08:59:28 188c0c94c7c5: Pull complete 08:59:29 0ef7d3d256c8: Pull complete 08:59:29 de9db76c5a1d: Pull complete 08:59:29 ---> Running in 4f879d08b8ab 08:59:29 Removing intermediate container 4f879d08b8ab 08:59:29 ---> c1c259657615 08:59:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:59:29 ---> Running in c48e74a55406 08:59:30 a35cf1a2eb13: Verifying Checksum 08:59:30 a35cf1a2eb13: Download complete 08:59:30 bca2f99d35d6: Download complete 08:59:32 Removing intermediate container c48e74a55406 08:59:32 ---> 95dacb992c1e 08:59:32 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:59:32 ---> Running in 301d2587ca3e 08:59:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:59:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:59:34 (1/6) Installing libc-dev (0.7.2-r3) 08:59:34 (2/6) Installing libsodium (1.0.18-r0) 08:59:34 (3/6) Installing pkgconf (1.7.2-r0) 08:59:34 (4/6) Installing libsodium-dev (1.0.18-r0) 08:59:35 (5/6) Installing libzmq (4.3.3-r0) 08:59:35 (6/6) Installing zeromq-dev (4.3.3-r0) 08:59:35 Executing busybox-1.31.1-r19.trigger 08:59:35 OK: 144 MiB in 45 packages 08:59:36 Removing intermediate container 301d2587ca3e 08:59:36 ---> 4b20de468e29 08:59:36 Step 6/8 : WORKDIR /device-sdk-go 08:59:36 ---> Running in eab72004079c 08:59:37 Removing intermediate container eab72004079c 08:59:37 ---> 6c9111f5f3f6 08:59:37 Step 7/8 : COPY . . 08:59:37 bca2f99d35d6: Pull complete 08:59:37 93359f2a8cfa: Pull complete 08:59:37 7c6f9722023f: Pull complete 08:59:38 ---> b46ae509235c 08:59:38 Step 8/8 : RUN go mod download 08:59:38 ---> Running in 6f83adcd0124 08:59:44 a35cf1a2eb13: Pull complete 08:59:44 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:59:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:59:44 ---> a62c8e92a672 08:59:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:59:44 ---> Running in d2a3195b66d3 08:59:44 Removing intermediate container d2a3195b66d3 08:59:44 ---> c59418b1f31d 08:59:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:59:44 ---> Running in 0680775b189e 08:59:45 Removing intermediate container 0680775b189e 08:59:45 ---> aef9361e2b49 08:59:45 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:59:45 ---> Running in e8f3505ff172 08:59:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:59:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:59:46 (1/6) Installing libc-dev (0.7.2-r3) 08:59:46 (2/6) Installing libsodium (1.0.18-r0) 08:59:46 (3/6) Installing pkgconf (1.7.2-r0) 08:59:46 (4/6) Installing libsodium-dev (1.0.18-r0) 08:59:47 (5/6) Installing libzmq (4.3.3-r0) 08:59:47 (6/6) Installing zeromq-dev (4.3.3-r0) 08:59:47 Executing busybox-1.31.1-r19.trigger 08:59:47 OK: 167 MiB in 45 packages 08:59:47 Removing intermediate container e8f3505ff172 08:59:47 ---> 1adb7375fc78 08:59:47 Step 6/8 : WORKDIR /device-sdk-go 08:59:47 ---> Running in c06d0cb51b18 08:59:48 Removing intermediate container c06d0cb51b18 08:59:48 ---> b8d04a232e69 08:59:48 Step 7/8 : COPY . . 08:59:50 ---> e64d0b79e3b5 08:59:50 Step 8/8 : RUN go mod download 08:59:50 ---> Running in 70d64ea267f8 09:00:05 Removing intermediate container 6f83adcd0124 09:00:05 ---> 4803e36fac8b 09:00:05 Successfully built 4803e36fac8b 09:00:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:00:05 + docker inspect -f . ci-base-image-arm64 09:00:05 . [Pipeline] withDockerContainer 09:00:06 prd-ubuntu18.04-docker-arm64-4c-16g-1430 does not seem to be running inside a container 09:00:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/152 -v /w/workspace/device-sdk-go/152:/w/workspace/device-sdk-go/152:rw,z -v /w/workspace/device-sdk-go/152@tmp:/w/workspace/device-sdk-go/152@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 09:00:08 $ docker top 3d0e7a827dce45d85f4c2d03a2a60507c679981594505faac733f99244d920a9 -eo pid,comm [Pipeline] { [Pipeline] sh 09:00:08 + go version 09:00:08 go version go1.15.5 linux/arm64 [Pipeline] } 09:00:08 $ docker stop --time=1 3d0e7a827dce45d85f4c2d03a2a60507c679981594505faac733f99244d920a9 09:00:10 $ docker rm -f 3d0e7a827dce45d85f4c2d03a2a60507c679981594505faac733f99244d920a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:00:11 + docker inspect -f . ci-base-image-arm64 09:00:11 . [Pipeline] withDockerContainer 09:00:11 prd-ubuntu18.04-docker-arm64-4c-16g-1430 does not seem to be running inside a container 09:00:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/152 -v /w/workspace/device-sdk-go/152:/w/workspace/device-sdk-go/152:rw,z -v /w/workspace/device-sdk-go/152@tmp:/w/workspace/device-sdk-go/152@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 09:00:12 Removing intermediate container 70d64ea267f8 09:00:12 ---> a52e06eddec4 09:00:12 Successfully built a52e06eddec4 09:00:12 Successfully tagged ci-base-image-x86_64:latest 09:00:13 $ docker top ca35fedd668a540812aedc7eadeaa9d4c5994aa485b1e4481e55e08cafb855ab -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 09:00:14 + docker inspect -f . ci-base-image-x86_64 09:00:14 . [Pipeline] withDockerContainer 09:00:14 prd-centos7-docker-4c-2g-1431 does not seem to be running inside a container 09:00:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/152 -v /w/workspace/device-sdk-go/152:/w/workspace/device-sdk-go/152:rw,z -v /w/workspace/device-sdk-go/152@tmp:/w/workspace/device-sdk-go/152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:00:14 + make test 09:00:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:00:15 $ docker top d4ef451433c8b8579ae91c38304fa65dd13bba71963bfb511166d430d122dfeb -eo pid,comm [Pipeline] { [Pipeline] sh 09:00:15 + go version 09:00:15 go version go1.15.5 linux/amd64 [Pipeline] } 09:00:15 $ docker stop --time=1 d4ef451433c8b8579ae91c38304fa65dd13bba71963bfb511166d430d122dfeb 09:00:17 $ docker rm -f d4ef451433c8b8579ae91c38304fa65dd13bba71963bfb511166d430d122dfeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:00:17 + docker inspect -f . ci-base-image-x86_64 09:00:17 . [Pipeline] withDockerContainer 09:00:17 prd-centos7-docker-4c-2g-1431 does not seem to be running inside a container 09:00:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/152 -v /w/workspace/device-sdk-go/152:/w/workspace/device-sdk-go/152:rw,z -v /w/workspace/device-sdk-go/152@tmp:/w/workspace/device-sdk-go/152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:00:18 $ docker top 28b6839c0c3b674547055a001745a384363cfa5f7578c913a1ef3e1f86162d59 -eo pid,comm [Pipeline] { [Pipeline] sh 09:00:18 + make test 09:00:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:00:27 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:00:36 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 09:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 09:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:00:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.094s coverage: 28.1% of statements 09:00:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.090s coverage: 78.9% of statements 09:00:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.073s coverage: 7.8% of statements 09:00:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 09:00:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 09:00:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:00:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.092s coverage: 32.0% of statements 09:00:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 09:00:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:00:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:00:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 57.2% of statements 09:00:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.213s coverage: 6.6% of statements 09:00:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 09:00:52 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:00:52 GO111MODULE=on go vet ./... 09:01:07 gofmt -l . 09:01:07 [ "`gofmt -l .`" = "" ] 09:01:07 ./bin/test-attribution-txt.sh 09:01:08 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:01:08 $ docker stop --time=1 28b6839c0c3b674547055a001745a384363cfa5f7578c913a1ef3e1f86162d59 09:01:11 $ docker rm -f 28b6839c0c3b674547055a001745a384363cfa5f7578c913a1ef3e1f86162d59 [Pipeline] // withDockerContainer [Pipeline] sh 09:01:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:01:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:01:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:01:14 + ls -al . 09:01:14 total 188 09:01:14 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 22 09:01 . 09:01:14 drwxrwxr-x. 4 jenkins jenkins 32 Apr 22 08:59 .. 09:01:14 drwxrwxr-x. 2 jenkins jenkins 64 Apr 22 08:59 bin 09:01:14 -rw-r--r--. 1 jenkins jenkins 100024 Apr 22 09:00 coverage.out 09:01:14 -rw-rw-r--. 1 jenkins jenkins 987 Apr 22 08:59 Dockerfile.build 09:01:14 -rw-rw-r--. 1 jenkins jenkins 140 Apr 22 08:59 .dockerignore 09:01:14 drwxrwxr-x. 5 jenkins jenkins 62 Apr 22 08:59 example 09:01:14 drwxrwxr-x. 8 jenkins jenkins 162 Apr 22 08:59 .git 09:01:14 drwxrwxr-x. 2 jenkins jenkins 103 Apr 22 08:59 .github 09:01:14 -rw-rw-r--. 1 jenkins jenkins 138 Apr 22 08:59 .gitignore 09:01:14 -rw-r--r--. 1 jenkins jenkins 574 Apr 22 09:01 go.mod 09:01:14 -rw-r--r--. 1 jenkins jenkins 20735 Apr 22 09:01 go.sum 09:01:14 drwxrwxr-x. 14 jenkins jenkins 207 Apr 22 08:59 internal 09:01:14 -rw-rw-r--. 1 jenkins jenkins 901 Apr 22 08:59 Jenkinsfile 09:01:14 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 22 08:59 LICENSE 09:01:14 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 22 08:59 Makefile 09:01:14 drwxrwxr-x. 4 jenkins jenkins 26 Apr 22 08:59 openapi 09:01:14 drwxrwxr-x. 5 jenkins jenkins 50 Apr 22 08:59 pkg 09:01:14 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 22 08:59 README.md 09:01:14 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 22 08:59 RELEASE-NOTES.txt 09:01:14 drwxrwxr-x. 4 jenkins jenkins 54 Apr 22 08:59 snap 09:01:14 -rw-rw-r--. 1 jenkins jenkins 12 Apr 22 08:54 VERSION 09:01:14 -rw-rw-r--. 1 jenkins jenkins 222 Apr 22 08:59 version.go [Pipeline] isUnix [Pipeline] sh 09:01:15 + 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=b1dd491c035f10e3b0b42b335a36e7e39b70da8c --label arch=amd64 --label version=2.0.0-dev.47 . 09:01:15 Sending build context to Docker daemon 2.551MB 09:01:15 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 09:01:15 Step 2/23 : FROM ${BASE} AS builder 09:01:15 ---> a52e06eddec4 09:01:15 Step 3/23 : WORKDIR /device-sdk-go 09:01:15 ---> Running in 4ab8ea9446b2 09:01:16 Removing intermediate container 4ab8ea9446b2 09:01:16 ---> bca0c20a14ed 09:01:16 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:01:16 ---> Running in f41000e9d54b 09:01:16 Removing intermediate container f41000e9d54b 09:01:16 ---> 2c625d24b9c4 09:01:16 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:01:16 ---> Running in f12574ed2023 09:01:17 Removing intermediate container f12574ed2023 09:01:17 ---> b3d23fea35c1 09:01:17 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 09:01:17 ---> Running in a032d19f790d 09:01:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:01:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:01:19 OK: 167 MiB in 45 packages 09:01:20 Removing intermediate container a032d19f790d 09:01:20 ---> 72c11e4309eb 09:01:20 Step 7/23 : COPY . . 09:01:21 ---> 6632482871a9 09:01:21 Step 8/23 : RUN go mod download 09:01:21 ---> Running in 53e8f3194485 09:01:22 Removing intermediate container 53e8f3194485 09:01:22 ---> dd938802e724 09:01:22 Step 9/23 : RUN make build 09:01:22 ---> Running in 666d34ac9a66 09:01:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.47" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:01:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:01:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 09:01:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:01:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 09:01:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:01:35 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 09:01:35 Removing intermediate container 666d34ac9a66 09:01:35 ---> 3f8da0607894 09:01:35 Step 10/23 : FROM alpine:3.12 09:01:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.128s coverage: 28.1% of statements 09:01:36 3.12: Pulling from library/alpine 09:01:36 339de151aab4: Pulling fs layer 09:01:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.204s coverage: 78.9% of statements 09:01:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.150s coverage: 7.8% of statements 09:01:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 09:01:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 09:01:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:01:36 339de151aab4: Verifying Checksum 09:01:36 339de151aab4: Download complete 09:01:36 339de151aab4: Pull complete 09:01:36 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 09:01:36 Status: Downloaded newer image for alpine:3.12 09:01:36 ---> 13621d1b12d4 09:01:36 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:01:36 ---> Running in 514f7e235a3c 09:01:36 Removing intermediate container 514f7e235a3c 09:01:36 ---> af74f50c86b2 09:01:36 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:01:36 ---> Running in cce91a4a25f7 09:01:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.301s coverage: 32.0% of statements 09:01:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 09:01:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:01:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:01:37 Removing intermediate container cce91a4a25f7 09:01:37 ---> 14ccf717c851 09:01:37 Step 13/23 : RUN apk add --update --no-cache zeromq 09:01:37 ---> Running in 1b82076cd92e 09:01:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:01:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:01:39 (1/5) Installing libgcc (9.3.0-r2) 09:01:39 (2/5) Installing libsodium (1.0.18-r0) 09:01:39 (3/5) Installing libstdc++ (9.3.0-r2) 09:01:40 (4/5) Installing libzmq (4.3.3-r0) 09:01:40 (5/5) Installing zeromq (4.3.3-r0) 09:01:40 Executing busybox-1.31.1-r20.trigger 09:01:40 OK: 8 MiB in 19 packages 09:01:41 Removing intermediate container 1b82076cd92e 09:01:41 ---> 7a7f7cf17874 09:01:41 Step 14/23 : WORKDIR / 09:01:41 ---> Running in 63bf04d3e8e3 09:01:41 Removing intermediate container 63bf04d3e8e3 09:01:41 ---> 610a3258848e 09:01:41 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:01:41 ---> c8d9a29c1cee 09:01:41 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:01:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.302s coverage: 57.2% of statements 09:01:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.215s coverage: 6.6% of statements 09:01:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements 09:01:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:01:42 GO111MODULE=on go vet ./... 09:01:42 ---> e0e80c92736a 09:01:42 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:01:42 ---> f8a21ecb4e4f 09:01:42 Step 18/23 : EXPOSE 49990 09:01:42 ---> Running in 1ecbf80f214f 09:01:42 Removing intermediate container 1ecbf80f214f 09:01:42 ---> b9a0c0b8ddfd 09:01:42 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:01:42 ---> Running in c3b5bc2d983a 09:01:43 Removing intermediate container c3b5bc2d983a 09:01:43 ---> eef769d2b784 09:01:43 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:01:43 ---> Running in 6521c1090d84 09:01:43 Removing intermediate container 6521c1090d84 09:01:43 ---> 982c055aef2f 09:01:43 Step 21/23 : LABEL arch=amd64 09:01:43 ---> Running in 24337dca3e48 09:01:43 Removing intermediate container 24337dca3e48 09:01:43 ---> 5866c850f52a 09:01:43 Step 22/23 : LABEL git_sha=b1dd491c035f10e3b0b42b335a36e7e39b70da8c 09:01:43 ---> Running in 5ed19f309392 09:01:43 Removing intermediate container 5ed19f309392 09:01:43 ---> 0afed18638de 09:01:43 Step 23/23 : LABEL version=2.0.0-dev.47 09:01:43 ---> Running in 19748e0b41f3 09:01:43 Removing intermediate container 19748e0b41f3 09:01:43 ---> 8e4d814c6aa4 09:01:43 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:01:43 Successfully built 8e4d814c6aa4 09:01:44 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:01:44 ---> job-cost.sh 09:01:44 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9obu 09:02:02 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:02:29 gofmt -l . 09:02:29 [ "`gofmt -l .`" = "" ] 09:02:29 ./bin/test-attribution-txt.sh 09:02:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:02:29 $ docker stop --time=1 ca35fedd668a540812aedc7eadeaa9d4c5994aa485b1e4481e55e08cafb855ab 09:02:31 $ docker rm -f ca35fedd668a540812aedc7eadeaa9d4c5994aa485b1e4481e55e08cafb855ab [Pipeline] // withDockerContainer [Pipeline] sh 09:02:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:02:32 Warning: overwriting stash ‘coverage-report’ 09:02:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:02:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:02:34 + ls -al . 09:02:34 total 224 09:02:34 drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 09:02 . 09:02:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:58 .. 09:02:34 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 08:58 .dockerignore 09:02:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 08:58 .git 09:02:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:58 .github 09:02:34 -rw-rw-r-- 1 jenkins jenkins 138 Apr 22 08:58 .gitignore 09:02:34 -rw-rw-r-- 1 jenkins jenkins 987 Apr 22 08:58 Dockerfile.build 09:02:34 -rw-rw-r-- 1 jenkins jenkins 901 Apr 22 08:58 Jenkinsfile 09:02:34 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 08:58 LICENSE 09:02:34 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 22 08:58 Makefile 09:02:34 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 22 08:58 README.md 09:02:34 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 22 08:58 RELEASE-NOTES.txt 09:02:34 -rw-rw-r-- 1 jenkins jenkins 12 Apr 22 08:54 VERSION 09:02:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:58 bin 09:02:34 -rw-r--r-- 1 jenkins jenkins 100024 Apr 22 09:01 coverage.out 09:02:34 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 08:58 example 09:02:34 -rw-r--r-- 1 jenkins jenkins 574 Apr 22 09:02 go.mod 09:02:34 -rw-r--r-- 1 jenkins jenkins 20735 Apr 22 09:02 go.sum 09:02:34 drwxrwxr-x 14 jenkins jenkins 4096 Apr 22 08:58 internal 09:02:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:58 openapi 09:02:34 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 08:58 pkg 09:02:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:58 snap 09:02:34 -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 08:58 version.go [Pipeline] isUnix [Pipeline] sh 09:02:34 + 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=b1dd491c035f10e3b0b42b335a36e7e39b70da8c --label arch=arm64 --label version=2.0.0-dev.47 . 09:02:34 lf-activate-venv(): INFO: Adding /tmp/venv-9obu/bin to PATH 09:02:34 INFO: No Stack... 09:02:34 INFO: Retrieving Pricing Info for: v1-standard-2 09:02:34 INFO: Archiving Costs [Pipeline] sh 09:02:35 + cat /w/workspace/device-sdk-go/152/archives/cost.csv 09:02:35 + cut -d, -f6 09:02:35 Sending build context to Docker daemon 2.55MB 09:02:35 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 09:02:35 Step 2/23 : FROM ${BASE} AS builder 09:02:35 ---> 4803e36fac8b 09:02:35 Step 3/23 : WORKDIR /device-sdk-go [Pipeline] lock 09:02:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-152-stack-cost] 09:02:35 Resource [jenkins-edgexfoundry-device-sdk-go-master-152-stack-cost] did not exist. Created. 09:02:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:02:35 ---> Running in de78b1b2aab1 09:02:35 + echo total: 0.029999999329447746 [Pipeline] stash 09:02:35 Stashed 1 file(s) [Pipeline] } 09:02:35 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-152-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:02:36 Removing intermediate container de78b1b2aab1 09:02:36 ---> fe155c6626ca 09:02:36 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:02:36 ---> Running in 2223881f1050 09:02:36 Removing intermediate container 2223881f1050 09:02:36 ---> a394b622ed9a 09:02:36 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:02:36 ---> Running in d5684553d850 09:02:38 Removing intermediate container d5684553d850 09:02:38 ---> 29ea4146f3d5 09:02:38 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 09:02:39 ---> Running in 89fba8adaadf 09:02:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:02:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:02:41 OK: 144 MiB in 45 packages 09:02:42 Removing intermediate container 89fba8adaadf 09:02:42 ---> 0b3027e291e0 09:02:42 Step 7/23 : COPY . . 09:02:44 ---> 8ec008b61253 09:02:44 Step 8/23 : RUN go mod download 09:02:44 ---> Running in 95623491f06d 09:02:46 Removing intermediate container 95623491f06d 09:02:46 ---> f196b8d14c42 09:02:46 Step 9/23 : RUN make build 09:02:46 ---> Running in 204fb2c3933c 09:02:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.47" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:03:19 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 09:03:21 Removing intermediate container 204fb2c3933c 09:03:21 ---> 68093506766d 09:03:21 Step 10/23 : FROM alpine:3.12 09:03:21 3.12: Pulling from library/alpine 09:03:21 d2f70382dc9a: Pulling fs layer 09:03:21 d2f70382dc9a: Verifying Checksum 09:03:21 d2f70382dc9a: Download complete 09:03:22 d2f70382dc9a: Pull complete 09:03:22 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 09:03:22 Status: Downloaded newer image for alpine:3.12 09:03:22 ---> 9852663dfa18 09:03:22 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:03:22 ---> Running in 4d6fa0fa77b6 09:03:23 Removing intermediate container 4d6fa0fa77b6 09:03:23 ---> 12e0d0ad4db1 09:03:23 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:03:23 ---> Running in bd9cfdbdb164 09:03:25 Removing intermediate container bd9cfdbdb164 09:03:25 ---> 24e31152f1d9 09:03:25 Step 13/23 : RUN apk add --update --no-cache zeromq 09:03:25 ---> Running in 280daf83ce71 09:03:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:03:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:03:28 (1/5) Installing libgcc (9.3.0-r2) 09:03:28 (2/5) Installing libsodium (1.0.18-r0) 09:03:28 (3/5) Installing libstdc++ (9.3.0-r2) 09:03:28 (4/5) Installing libzmq (4.3.3-r0) 09:03:28 (5/5) Installing zeromq (4.3.3-r0) 09:03:28 Executing busybox-1.31.1-r20.trigger 09:03:28 OK: 8 MiB in 19 packages 09:03:30 Removing intermediate container 280daf83ce71 09:03:30 ---> 56cbdc84e818 09:03:30 Step 14/23 : WORKDIR / 09:03:30 ---> Running in 2a0483b5e103 09:03:30 Removing intermediate container 2a0483b5e103 09:03:30 ---> 5ee3575c6723 09:03:30 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:03:31 ---> 71edf7bbc52a 09:03:31 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:03:32 ---> 6b5b73eb68fd 09:03:32 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:03:33 ---> 5ac8d621c069 09:03:33 Step 18/23 : EXPOSE 49990 09:03:33 ---> Running in f80fd3b6a0d7 09:03:34 Removing intermediate container f80fd3b6a0d7 09:03:34 ---> 8764fb738b9c 09:03:34 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:03:34 ---> Running in bc7e486aa4ad 09:03:34 Removing intermediate container bc7e486aa4ad 09:03:34 ---> a8062093c585 09:03:34 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:03:34 ---> Running in a90e27517caf 09:03:35 Removing intermediate container a90e27517caf 09:03:35 ---> 0169d336320e 09:03:35 Step 21/23 : LABEL arch=arm64 09:03:35 ---> Running in e1d2f3dc6570 09:03:35 Removing intermediate container e1d2f3dc6570 09:03:35 ---> f6eb77ffc4e7 09:03:35 Step 22/23 : LABEL git_sha=b1dd491c035f10e3b0b42b335a36e7e39b70da8c 09:03:35 ---> Running in 7e445db3b571 09:03:36 Removing intermediate container 7e445db3b571 09:03:36 ---> 5a6038035742 09:03:36 Step 23/23 : LABEL version=2.0.0-dev.47 09:03:36 ---> Running in 190dfdadd742 09:03:37 Removing intermediate container 190dfdadd742 09:03:37 ---> 4549414a2d8b 09:03:37 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:03:37 Successfully built 4549414a2d8b 09:03:37 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 09:03:37 ---> job-cost.sh 09:03:37 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Pbhv 09:04:16 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:05:53 lf-activate-venv(): INFO: Adding /tmp/venv-Pbhv/bin to PATH 09:05:53 INFO: No Stack... 09:05:53 INFO: Retrieving Pricing Info for: lf-standard-4 09:05:53 INFO: Archiving Costs [Pipeline] sh 09:05:53 + cut -d, -f6 09:05:53 + cat /w/workspace/device-sdk-go/152/archives/cost.csv [Pipeline] lock 09:05:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-152-stack-cost] 09:05:53 Resource [jenkins-edgexfoundry-device-sdk-go-master-152-stack-cost] did not exist. Created. 09:05:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-152-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:05:54 /w/workspace/device-sdk-go/152@tmp/durable-fda7caaa/script.sh: 1: /w/workspace/device-sdk-go/152@tmp/durable-fda7caaa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 09:05:54 + echo total: 0.20999999344348907 [Pipeline] stash 09:05:54 Warning: overwriting stash ‘stack-cost’ 09:05:54 Stashed 1 file(s) [Pipeline] } 09:05:54 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-152-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 09:05:55 provisioning config files... 09:05:55 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6069676690572321321tmp [Pipeline] { [Pipeline] sh 09:05:55 + set +x 09:05:55 + curl -s https://codecov.io/bash 09:05:55 + bash -s -- 09:05:55 09:05:55 _____ _ 09:05:55 / ____| | | 09:05:55 | | ___ __| | ___ ___ _____ __ 09:05:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:05:55 | |___| (_) | (_| | __/ (_| (_) \ V / 09:05:55 \_____\___/ \__,_|\___|\___\___/ \_/ 09:05:55 Bash-1.0.2 09:05:55 09:05:55 09:05:55 ==> git version 2.24.3 found 09:05:55 ==> 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 09:05:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:05:55 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:05:55 ==> Jenkins CI detected. 09:05:55 project root: . 09:05:55 --> token set from env 09:05:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:05:56 ==> Running gcov in . (disable via -X gcov) 09:05:56 ==> Python coveragepy not found 09:05:56 ==> Searching for coverage reports in: 09:05:56 + . 09:05:56 -> Found 1 reports 09:05:56 ==> Detecting git/mercurial file structure 09:05:56 ==> Reading reports 09:05:56 + ./coverage.out bytes=100024 09:05:56 ==> Appending adjustments 09:05:56 https://docs.codecov.io/docs/fixing-reports 09:05:56 + Found adjustments 09:05:56 ==> Gzipping contents 09:05:56 16K /tmp/codecov.eqmyvL.gz 09:05:56 ==> Uploading reports 09:05:56 url: https://codecov.io 09:05:56 query: branch=master&commit=b1dd491c035f10e3b0b42b335a36e7e39b70da8c&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:05:56 -> Pinging Codecov 09:05:56 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=b1dd491c035f10e3b0b42b335a36e7e39b70da8c&build=152&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F152%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:05:56 -> Uploading to 09:05:56 https://storage.googleapis.com/codecov/v4/raw/2021-04-22/7E55EF52A471D76F132DFD9A03CDDE97/b1dd491c035f10e3b0b42b335a36e7e39b70da8c/08412374-6034-40fb-9421-34e5cbb4b3c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210422T090556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d80c208c274ab58263096a603fdf138b5aea4910a07182917b375d80910f2547 09:05:56 % Total % Received % Xferd Average Speed Time Time Time Current 09:05:56 Dload Upload Total Spent Left Speed 09:05:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13517 0 0 100 13517 0 25474 --:--:-- --:--:-- --:--:-- 25455 09:05:57 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b1dd491c035f10e3b0b42b335a36e7e39b70da8c [Pipeline] } 09:05:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:05:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:05:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:05:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:05:58 09:05:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 09:05:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:05:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:05:59 188c0c94c7c5: Pulling fs layer 09:05:59 0ef7d3d256c8: Pulling fs layer 09:05:59 de9db76c5a1d: Pulling fs layer 09:05:59 0eba1c9be4d2: Pulling fs layer 09:05:59 0d57e429df01: Pulling fs layer 09:05:59 4e4be7b47b0d: Pulling fs layer 09:05:59 e1f770b5df2f: Pulling fs layer 09:05:59 85a0685a4137: Pulling fs layer 09:05:59 0d57e429df01: Waiting 09:05:59 4e4be7b47b0d: Waiting 09:05:59 e1f770b5df2f: Waiting 09:05:59 85a0685a4137: Waiting 09:05:59 0eba1c9be4d2: Waiting 09:05:59 de9db76c5a1d: Verifying Checksum 09:05:59 de9db76c5a1d: Download complete 09:05:59 0ef7d3d256c8: Verifying Checksum 09:05:59 0ef7d3d256c8: Download complete 09:05:59 0d57e429df01: Verifying Checksum 09:05:59 0d57e429df01: Download complete 09:05:59 188c0c94c7c5: Verifying Checksum 09:05:59 188c0c94c7c5: Download complete 09:05:59 4e4be7b47b0d: Verifying Checksum 09:05:59 4e4be7b47b0d: Download complete 09:06:00 188c0c94c7c5: Pull complete 09:06:00 0ef7d3d256c8: Pull complete 09:06:00 de9db76c5a1d: Pull complete 09:06:01 e1f770b5df2f: Download complete 09:06:04 0eba1c9be4d2: Verifying Checksum 09:06:04 0eba1c9be4d2: Download complete 09:06:05 85a0685a4137: Verifying Checksum 09:06:05 85a0685a4137: Download complete 09:06:13 0eba1c9be4d2: Pull complete 09:06:14 0d57e429df01: Pull complete 09:06:14 4e4be7b47b0d: Pull complete 09:06:19 e1f770b5df2f: Pull complete 09:06:30 85a0685a4137: Pull complete 09:06:30 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 09:06:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:06:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 09:06:30 prd-centos7-docker-4c-2g-1421 does not seem to be running inside a container 09:06:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:06:33 $ docker top 3c5cc7f2a81d44462c0e85b277bb9d801f1f7075c41fb4879723aa3ed0e6800c -eo pid,comm [Pipeline] { [Pipeline] echo 09:06:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 09:06:33 + set -o pipefail 09:06:33 + snyk monitor '--org=edgex-jenkins' 09:06:52 09:06:52 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... 09:06:52 09:06:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/5991e7c5-b461-42e2-bc23-ca4c819efaa1 09:06:52 09:06:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:06:52 09:06:52 09:06:52 You have reached your monthly limit of 300 private tests for your edgex-jenkins org. 09:06:52 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:06:52 $ docker stop --time=1 3c5cc7f2a81d44462c0e85b277bb9d801f1f7075c41fb4879723aa3ed0e6800c 09:06:55 $ docker rm -f 3c5cc7f2a81d44462c0e85b277bb9d801f1f7075c41fb4879723aa3ed0e6800c [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 09:06:56 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:06:56 provisioning config files... 09:06:56 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6202221952487328547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:06:57 --> edgex-publish-swagger.sh 09:06:57 === Publish openapi/v1 API === 09:06:57 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 09:06:57 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] 09:06:57 % Total % Received % Xferd Average Speed Time Time Time Current 09:06:57 Dload Upload Total Spent Left Speed 09:06:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 21770 --:--:-- --:--:-- --:--:-- 21776 09:06:57 09:06:57 09:06:57 === Publish openapi/v2 API === 09:06:57 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 09:06:57 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] 09:06:57 % Total % Received % Xferd Average Speed Time Time Time Current 09:06:57 Dload Upload Total Spent Left Speed 09:06:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 65066 --:--:-- --:--:-- --:--:-- 65003 09:06:58 09:06:58 [Pipeline] } 09:06:58 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 09:06:59 + git log --format=format:%s -1 b1dd491c035f10e3b0b42b335a36e7e39b70da8c [Pipeline] isUnix [Pipeline] sh 09:06:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:06:59 . [Pipeline] withDockerContainer 09:06:59 prd-centos7-docker-4c-2g-1421 does not seem to be running inside a container 09:06:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:07:00 $ docker top c7a860c4e75a2cd54cbd7795f97cb8ccc76bfae472bed7dc67ee5701fd1381b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:07:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:00 [ssh-agent] Looking for ssh-agent implementation... 09:07:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:01 $ docker exec c7a860c4e75a2cd54cbd7795f97cb8ccc76bfae472bed7dc67ee5701fd1381b7 ssh-agent 09:07:01 SSH_AUTH_SOCK=/tmp/ssh-CqDvZKI9CMa6/agent.12 09:07:01 SSH_AGENT_PID=17 09:07:01 Running ssh-add (command line suppressed) 09:07:01 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5779499932521053324.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5779499932521053324.key) 09:07:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:02 + git semver tag 09:07:02 # -> Open(): unable to determine branch for HEAD 09:07:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 09:07:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 09:07:02 # $SEMVER_REMOTE_NAME = origin 09:07:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:07:02 # $SEMVER_USER_NAME = edgex-jenkins 09:07:02 # $SEMVER_BRANCH = master 09:07:02 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 09:07:02 # b1dd491c035f10e3b0b42b335a36e7e39b70da8c HEAD 09:07:02 # -> Force: false 09:07:02 # d85cab8300626893a4bd19cf79dc7100ac00723e refs/tags/v2.0.0-dev.47 [Pipeline] } 09:07:02 $ docker exec --env ******** --env ******** c7a860c4e75a2cd54cbd7795f97cb8ccc76bfae472bed7dc67ee5701fd1381b7 ssh-agent -k 09:07:03 unset SSH_AUTH_SOCK; 09:07:03 unset SSH_AGENT_PID; 09:07:03 echo Agent pid 17 killed; 09:07:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:07:04 + git semver [Pipeline] } 09:07:04 $ docker stop --time=1 c7a860c4e75a2cd54cbd7795f97cb8ccc76bfae472bed7dc67ee5701fd1381b7 09:07:06 $ docker rm -f c7a860c4e75a2cd54cbd7795f97cb8ccc76bfae472bed7dc67ee5701fd1381b7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 09:07:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:07:08 09:07:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 09:07:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:07:08 0.23.1-centos7: Pulling from edgex-lftools 09:07:08 ab5ef0e58194: Pulling fs layer 09:07:08 9712f1f96733: Pulling fs layer 09:07:08 63f879dbbcfc: Pulling fs layer 09:07:08 0d9ebad4ef96: Pulling fs layer 09:07:08 e9a5061849ea: Pulling fs layer 09:07:08 d747dcd14b5f: Pulling fs layer 09:07:08 2de7ff778b66: Pulling fs layer 09:07:08 0d9ebad4ef96: Waiting 09:07:08 e9a5061849ea: Waiting 09:07:08 d747dcd14b5f: Waiting 09:07:08 2de7ff778b66: Waiting 09:07:08 9712f1f96733: Verifying Checksum 09:07:08 9712f1f96733: Download complete 09:07:10 63f879dbbcfc: Verifying Checksum 09:07:10 63f879dbbcfc: Download complete 09:07:10 e9a5061849ea: Verifying Checksum 09:07:10 e9a5061849ea: Download complete 09:07:10 d747dcd14b5f: Verifying Checksum 09:07:10 d747dcd14b5f: Download complete 09:07:11 2de7ff778b66: Verifying Checksum 09:07:11 2de7ff778b66: Download complete 09:07:11 0d9ebad4ef96: Verifying Checksum 09:07:11 0d9ebad4ef96: Download complete 09:07:11 ab5ef0e58194: Verifying Checksum 09:07:11 ab5ef0e58194: Download complete 09:07:19 ab5ef0e58194: Pull complete 09:07:20 9712f1f96733: Pull complete 09:07:25 63f879dbbcfc: Pull complete 09:07:35 0d9ebad4ef96: Pull complete 09:07:37 e9a5061849ea: Pull complete 09:07:37 d747dcd14b5f: Pull complete 09:07:41 2de7ff778b66: Pull complete 09:07:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:07:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:07:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 09:07:41 prd-centos7-docker-4c-2g-1421 does not seem to be running inside a container 09:07:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:07:45 $ docker top 8a992e927b42018930a3068cc5da5ae6c98bf8561bd9997a520329dadec58faa -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:07:46 provisioning config files... 09:07:46 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config88087004372323463tmp 09:07:46 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4071885158792578093tmp 09:07:46 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7364386882730080690tmp [Pipeline] { [Pipeline] echo 09:07:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:07:46 ---> sigul-configuration.sh 09:07:46 gpg: directory `/root/.gnupg' created 09:07:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:07:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:07:46 gpg: keyring `/root/.gnupg/secring.gpg' created 09:07:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:07:46 gpg: CAST5 encrypted data 09:07:46 gpg: encrypted with 1 passphrase 09:07:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:07:47 + mkdir /home/jenkins 09:07:47 + mkdir /home/jenkins/sigul [Pipeline] sh 09:07:49 + 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 09:07:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:07:50 ---> sigul-install.sh 09:08:02 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 09:08:02 + git tag --list 09:08:02 0.7.1 09:08:02 delhi-tag 09:08:02 v1.0.0 09:08:02 v1.1.0 09:08:02 v1.1.1 09:08:02 v1.1.2 09:08:02 v1.2.0 09:08:02 v1.2.1 09:08:02 v1.2.2 09:08:02 v1.2.3 09:08:02 v1.3.0 09:08:02 v1.4.0 09:08:02 v2.0.0-dev.1 09:08:02 v2.0.0-dev.10 09:08:02 v2.0.0-dev.11 09:08:02 v2.0.0-dev.12 09:08:02 v2.0.0-dev.13 09:08:02 v2.0.0-dev.14 09:08:02 v2.0.0-dev.15 09:08:02 v2.0.0-dev.16 09:08:02 v2.0.0-dev.17 09:08:02 v2.0.0-dev.18 09:08:02 v2.0.0-dev.19 09:08:02 v2.0.0-dev.2 09:08:02 v2.0.0-dev.20 09:08:02 v2.0.0-dev.21 09:08:02 v2.0.0-dev.22 09:08:02 v2.0.0-dev.23 09:08:02 v2.0.0-dev.24 09:08:02 v2.0.0-dev.25 09:08:02 v2.0.0-dev.26 09:08:02 v2.0.0-dev.27 09:08:02 v2.0.0-dev.28 09:08:02 v2.0.0-dev.29 09:08:02 v2.0.0-dev.3 09:08:02 v2.0.0-dev.30 09:08:02 v2.0.0-dev.31 09:08:02 v2.0.0-dev.32 09:08:02 v2.0.0-dev.33 09:08:02 v2.0.0-dev.34 09:08:02 v2.0.0-dev.35 09:08:02 v2.0.0-dev.36 09:08:02 v2.0.0-dev.37 09:08:02 v2.0.0-dev.38 09:08:02 v2.0.0-dev.39 09:08:02 v2.0.0-dev.4 09:08:02 v2.0.0-dev.40 09:08:02 v2.0.0-dev.41 09:08:02 v2.0.0-dev.42 09:08:02 v2.0.0-dev.43 09:08:02 v2.0.0-dev.44 09:08:02 v2.0.0-dev.45 09:08:02 v2.0.0-dev.46 09:08:02 v2.0.0-dev.47 09:08:02 v2.0.0-dev.5 09:08:02 v2.0.0-dev.6 09:08:02 v2.0.0-dev.7 09:08:02 v2.0.0-dev.8 09:08:02 v2.0.0-dev.9 [Pipeline] sh 09:08:03 + lftools sign git-tag v2.0.0-dev.47 09:08:05 Signing Git tag with Sigul... 09:08:05 Signing v2.0.0-dev.47 [Pipeline] echo 09:08:07 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:08:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:08:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:08:07 $ docker stop --time=1 8a992e927b42018930a3068cc5da5ae6c98bf8561bd9997a520329dadec58faa 09:08:10 $ docker rm -f 8a992e927b42018930a3068cc5da5ae6c98bf8561bd9997a520329dadec58faa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 09:08:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:08:11 . [Pipeline] withDockerContainer 09:08:11 prd-centos7-docker-4c-2g-1421 does not seem to be running inside a container 09:08:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:08:12 $ docker top 10e57b905dde85e172d8e5ea3648ec0a47a77cc59f19e8b434a949d2ffbe35f3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:08:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:08:13 [ssh-agent] Looking for ssh-agent implementation... 09:08:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:08:13 $ docker exec 10e57b905dde85e172d8e5ea3648ec0a47a77cc59f19e8b434a949d2ffbe35f3 ssh-agent 09:08:14 SSH_AUTH_SOCK=/tmp/ssh-FubfvPXYtA0y/agent.11 09:08:14 SSH_AGENT_PID=17 09:08:14 Running ssh-add (command line suppressed) 09:08:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2080991027557867902.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2080991027557867902.key) 09:08:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:08:14 + git semver bump pre 09:08:14 # -> Open(): unable to determine branch for HEAD 09:08:14 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 09:08:14 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 09:08:14 # $SEMVER_REMOTE_NAME = origin 09:08:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:08:14 # $SEMVER_USER_NAME = edgex-jenkins 09:08:14 # $SEMVER_BRANCH = master 09:08:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 09:08:14 2.0.0-dev.48 [Pipeline] } 09:08:14 $ docker exec --env ******** --env ******** 10e57b905dde85e172d8e5ea3648ec0a47a77cc59f19e8b434a949d2ffbe35f3 ssh-agent -k 09:08:15 unset SSH_AUTH_SOCK; 09:08:15 unset SSH_AGENT_PID; 09:08:15 echo Agent pid 17 killed; 09:08:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:08:16 + git semver [Pipeline] } 09:08:16 $ docker stop --time=1 10e57b905dde85e172d8e5ea3648ec0a47a77cc59f19e8b434a949d2ffbe35f3 09:08:17 $ docker rm -f 10e57b905dde85e172d8e5ea3648ec0a47a77cc59f19e8b434a949d2ffbe35f3 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 09:08:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:08:18 . [Pipeline] withDockerContainer 09:08:18 prd-centos7-docker-4c-2g-1421 does not seem to be running inside a container 09:08:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:08:19 $ docker top d03cb1d9f5b143282d005fe533303715e3a316c4c450da4c68ffce98700922ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:08:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:08:19 [ssh-agent] Looking for ssh-agent implementation... 09:08:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:08:20 $ docker exec d03cb1d9f5b143282d005fe533303715e3a316c4c450da4c68ffce98700922ae ssh-agent 09:08:20 SSH_AUTH_SOCK=/tmp/ssh-mmxjJHL5Elru/agent.13 09:08:20 SSH_AGENT_PID=18 09:08:20 Running ssh-add (command line suppressed) 09:08:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5371411087676495297.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5371411087676495297.key) 09:08:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:08:20 + git semver push 09:08:20 # -> Open(): unable to determine branch for HEAD 09:08:20 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 09:08:20 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 09:08:20 # $SEMVER_REMOTE_NAME = origin 09:08:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:08:20 # $SEMVER_USER_NAME = edgex-jenkins 09:08:20 # $SEMVER_BRANCH = master 09:08:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 09:08:26 $ docker exec --env ******** --env ******** d03cb1d9f5b143282d005fe533303715e3a316c4c450da4c68ffce98700922ae ssh-agent -k 09:08:26 unset SSH_AUTH_SOCK; 09:08:26 unset SSH_AGENT_PID; 09:08:26 echo Agent pid 18 killed; 09:08:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:08:27 + git semver [Pipeline] } 09:08:27 $ docker stop --time=1 d03cb1d9f5b143282d005fe533303715e3a316c4c450da4c68ffce98700922ae 09:08:28 $ docker rm -f d03cb1d9f5b143282d005fe533303715e3a316c4c450da4c68ffce98700922ae [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 09:08:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:08:30 ---> package-listing.sh 09:08:30 ++ facter osfamily 09:08:30 ++ tr '[:upper:]' '[:lower:]' 09:08:30 + OS_FAMILY=redhat 09:08:30 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 09:08:30 + START_PACKAGES=/tmp/packages_start.txt 09:08:30 + END_PACKAGES=/tmp/packages_end.txt 09:08:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:08:30 + PACKAGES=/tmp/packages_start.txt 09:08:30 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 09:08:30 + PACKAGES=/tmp/packages_end.txt 09:08:30 + case "${OS_FAMILY}" in 09:08:30 + sort 09:08:30 + rpm -qa 09:08:38 + '[' -f /tmp/packages_start.txt ']' 09:08:38 + '[' -f /tmp/packages_end.txt ']' 09:08:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:08:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 09:08:38 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 09:08:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 09:08:39 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 09:08:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:08:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:08:39 09:08:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:08:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:08:40 alpine: Pulling from edgex-lftools-log-publisher 09:08:40 df20fa9351a1: Pulling fs layer 09:08:40 36b3adc4ff6f: Pulling fs layer 09:08:40 8ad3a11d3b57: Pulling fs layer 09:08:40 46f8f816bc3b: Pulling fs layer 09:08:40 93b61091891f: Pulling fs layer 09:08:40 93b9cdb0e59b: Pulling fs layer 09:08:40 5e14af77c1be: Pulling fs layer 09:08:40 01666e4c0597: Pulling fs layer 09:08:40 aa168da1d23b: Pulling fs layer 09:08:40 5e14af77c1be: Waiting 09:08:40 46f8f816bc3b: Waiting 09:08:40 93b61091891f: Waiting 09:08:40 93b9cdb0e59b: Waiting 09:08:40 01666e4c0597: Waiting 09:08:40 aa168da1d23b: Waiting 09:08:40 36b3adc4ff6f: Verifying Checksum 09:08:40 36b3adc4ff6f: Download complete 09:08:40 46f8f816bc3b: Download complete 09:08:40 df20fa9351a1: Verifying Checksum 09:08:40 df20fa9351a1: Download complete 09:08:40 93b9cdb0e59b: Verifying Checksum 09:08:40 93b9cdb0e59b: Download complete 09:08:40 5e14af77c1be: Verifying Checksum 09:08:40 5e14af77c1be: Download complete 09:08:40 93b61091891f: Verifying Checksum 09:08:40 93b61091891f: Download complete 09:08:40 01666e4c0597: Verifying Checksum 09:08:40 01666e4c0597: Download complete 09:08:40 8ad3a11d3b57: Verifying Checksum 09:08:40 8ad3a11d3b57: Download complete 09:08:41 df20fa9351a1: Pull complete 09:08:41 36b3adc4ff6f: Pull complete 09:08:42 8ad3a11d3b57: Pull complete 09:08:43 46f8f816bc3b: Pull complete 09:08:43 aa168da1d23b: Verifying Checksum 09:08:43 aa168da1d23b: Download complete 09:08:43 93b61091891f: Pull complete 09:08:44 93b9cdb0e59b: Pull complete 09:08:44 5e14af77c1be: Pull complete 09:08:45 01666e4c0597: Pull complete 09:09:00 aa168da1d23b: Pull complete 09:09:00 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:09:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:09:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:09:00 prd-centos7-docker-4c-2g-1421 does not seem to be running inside a container 09:09:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:09:04 $ docker top d7fae5b2a410110b6c774ebd083b04b0cb1d28d87095ea58fbe6260fe0e2d261 -eo pid,comm [Pipeline] { [Pipeline] sh 09:09:05 + touch /tmp/pre-build-complete [Pipeline] sh 09:09:05 + mkdir -p /var/log/sa [Pipeline] sh 09:09:06 + ls /var/log/sa-host 09:09:06 + sadf -c /var/log/sa-host/sa22 09:09:06 file_magic: OK 09:09:06 HZ: Using current value: 100 09:09:06 file_header: OK 09:09: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 09:09:06 Statistics: 09:09: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...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...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:09:06 File successfully converted to sysstat format version 12.2.1 09:09:06 + sadf -c /var/log/sa-host/sa23 09:09:06 file_magic: OK 09:09:06 HZ: Using current value: 100 09:09:06 file_header: OK 09:09: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 09:09:06 Statistics: 09:09:06 Hnuu...uuuununununu... 09:09:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:09:06 provisioning config files... 09:09:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8600531379497935447tmp [Pipeline] { [Pipeline] echo 09:09:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:09:07 ---> create-netrc.sh [Pipeline] } 09:09:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:09:07 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:09:07 ---> python-tools-install.sh [Pipeline] echo 09:09:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:09:08 ---> sudo-logs.sh 09:09:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:09:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:09:08 ---> job-cost.sh 09:09:08 lf-activate-venv: SKIPPING 09:09:08 DEBUG: total: 0.20999999344348907 09:09:08 INFO: Retrieving Stack Cost... 09:09:09 INFO: Retrieving Pricing Info for: v1-standard-2 09:09:10 INFO: Archiving Costs [Pipeline] echo 09:09:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:09:10 ---> logs-deploy.sh 09:09:10 lf-activate-venv: SKIPPING 09:09:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/152 09:09:10 INFO: archiving workspace using pattern(s): 09:09:12 Archives upload complete. 09:09:13 INFO: archiving logs to Nexus