Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33269 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 f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 (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 f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 # timeout=10 Commit message: "Merge pull request #866 from hahattan/fix-origin" > git rev-list --no-walk 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:25:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:25:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:25:37 ========================================================= 06:25:37 EdgeX Global Pipelines Version Info 06:25:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:25:38 ------------------- 06:25:38 stable info: 06:25:38 ------------------- 06:25:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:25:38 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 06:25:38 Message: update stable to v1.0.186 06:25:39 ------------------- 06:25:39 experimental info: 06:25:39 ------------------- 06:25:39 Commited By: **** collab-it+edgex@linuxfoundation.org 06:25:39 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 06:25:39 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:25:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:25:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:25:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:25:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:25:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:25:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:25:40 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:25:40 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:25:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:25:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:25:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:25:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:25:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:25:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:25:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:25:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:25:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:25:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:25:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:25:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:25:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:25:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:25:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 06:25:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 06:25:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 06:25:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 [Pipeline] echo 06:25:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6cce29 [Pipeline] echo 06:25:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:25:43 provisioning config files... 06:25:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config652786162029645286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:25:44 ---> docker-login.sh 06:25:44 nexus3.edgexfoundry.org:10001 06:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:44 Configure a credential helper to remove this warning. See 06:25:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:44 06:25:44 Login Succeeded 06:25:44 nexus3.edgexfoundry.org:10002 06:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:45 Configure a credential helper to remove this warning. See 06:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:45 06:25:45 Login Succeeded 06:25:45 nexus3.edgexfoundry.org:10003 06:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:45 Configure a credential helper to remove this warning. See 06:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:45 06:25:45 Login Succeeded 06:25:45 nexus3.edgexfoundry.org:10004 06:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:45 Configure a credential helper to remove this warning. See 06:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:45 06:25:45 Login Succeeded 06:25:45 docker.io 06:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:45 Configure a credential helper to remove this warning. See 06:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:45 06:25:45 Login Succeeded 06:25:45 ---> docker-login.sh ends [Pipeline] } 06:25:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:25:46 + git log --format=format:%s -1 f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 [Pipeline] echo 06:25:46 GIT_COMMIT: f6cce29b09ba2250dd70f8a621665f8d97cfd1e5, Commit Message: Merge pull request #866 from hahattan/fix-origin [Pipeline] echo 06:25:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:25:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:25:47 06:25:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:25:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:25:48 latest: Pulling from edgex-devops/git-semver 06:25:48 31603596830f: Pulling fs layer 06:25:48 2a8b12db71e7: Pulling fs layer 06:25:48 6ca5941a6612: Pulling fs layer 06:25:48 ecc8261a40a4: Pulling fs layer 06:25:48 ecc8261a40a4: Waiting 06:25:48 2a8b12db71e7: Download complete 06:25:48 31603596830f: Verifying Checksum 06:25:48 31603596830f: Download complete 06:25:48 ecc8261a40a4: Verifying Checksum 06:25:48 ecc8261a40a4: Download complete 06:25:48 6ca5941a6612: Verifying Checksum 06:25:48 6ca5941a6612: Download complete 06:25:48 31603596830f: Pull complete 06:25:49 2a8b12db71e7: Pull complete 06:25:49 6ca5941a6612: Pull complete 06:25:50 ecc8261a40a4: Pull complete 06:25:50 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:25:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:25:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:25:50 prd-centos7-docker-4c-2g-33269 does not seem to be running inside a container 06:25:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:25:52 $ docker top 88cfcfaff82f2abd8ae3f9cd2ff8feccf639e02cd762d5cd6e99d992f2ec72ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:25:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:25:52 [ssh-agent] Looking for ssh-agent implementation... 06:25:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:25:53 $ docker exec 88cfcfaff82f2abd8ae3f9cd2ff8feccf639e02cd762d5cd6e99d992f2ec72ab ssh-agent 06:25:53 SSH_AUTH_SOCK=/tmp/ssh-tF5mNaJh4GdP/agent.13 06:25:53 SSH_AGENT_PID=18 06:25:53 Running ssh-add (command line suppressed) 06:25:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7822825415711684729.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7822825415711684729.key) 06:25:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:25:53 + git tag --points-at HEAD [Pipeline] } 06:25:53 $ docker exec --env ******** --env ******** 88cfcfaff82f2abd8ae3f9cd2ff8feccf639e02cd762d5cd6e99d992f2ec72ab ssh-agent -k 06:25:53 unset SSH_AUTH_SOCK; 06:25:53 unset SSH_AGENT_PID; 06:25:53 echo Agent pid 18 killed; 06:25:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:25:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:25:54 [ssh-agent] Looking for ssh-agent implementation... 06:25:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:25:54 $ docker exec 88cfcfaff82f2abd8ae3f9cd2ff8feccf639e02cd762d5cd6e99d992f2ec72ab ssh-agent 06:25:54 SSH_AUTH_SOCK=/tmp/ssh-7KlJTR3jaA8b/agent.47 06:25:54 SSH_AGENT_PID=52 06:25:54 Running ssh-add (command line suppressed) 06:25:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5030321194489571392.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5030321194489571392.key) 06:25:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:25:55 + git semver init 06:25:55 # -> Open(): unable to determine branch for HEAD 06:25:55 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 06:25:55 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 06:25:55 # $SEMVER_REMOTE_NAME = origin 06:25:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:25:55 # $SEMVER_USER_NAME = edgex-jenkins 06:25:55 # $SEMVER_BRANCH = master 06:25:55 # $SEMVER_TEMP = /tmp/semver-593189292 06:25:55 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:25:55 # '/tmp/semver-593189292' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 06:25:55 # -> Force: false 06:25:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 06:25:55 $ docker exec --env ******** --env ******** 88cfcfaff82f2abd8ae3f9cd2ff8feccf639e02cd762d5cd6e99d992f2ec72ab ssh-agent -k 06:25:56 unset SSH_AUTH_SOCK; 06:25:56 unset SSH_AGENT_PID; 06:25:56 echo Agent pid 52 killed; 06:25:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:25:56 + git semver [Pipeline] } 06:25:56 $ docker stop --time=1 88cfcfaff82f2abd8ae3f9cd2ff8feccf639e02cd762d5cd6e99d992f2ec72ab 06:25:58 $ docker rm -f 88cfcfaff82f2abd8ae3f9cd2ff8feccf639e02cd762d5cd6e99d992f2ec72ab [Pipeline] // withDockerContainer [Pipeline] sh 06:25:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:25:59 Stashed 1 file(s) [Pipeline] echo 06:25:59 [edgeXSemver]: initialized semver on version 2.0.0-dev.39 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:26:14 Still waiting to schedule task 06:26:14 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:26:14 Still waiting to schedule task 06:26:14 ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ is offline 06:28:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-33270 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 06:28:04 Running in /w/workspace/device-sdk-go/144 [Pipeline] { [Pipeline] checkout 06:28:09 using credential edgex-jenkins-ssh 06:28:09 Cloning the remote Git repository 06:28:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:28:09 > git init /w/workspace/device-sdk-go/144 # timeout=10 06:28:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:28:10 > git --version # timeout=10 06:28:10 > git --version # 'git version 2.17.1' 06:28:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:28:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:28:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:28:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:28:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:28:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:28:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:28:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 06:28:12 Checking out Revision f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 (master) 06:28:12 > git config core.sparsecheckout # timeout=10 06:28:12 > git checkout -f f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 # timeout=10 06:28:16 Commit message: "Merge pull request #866 from hahattan/fix-origin" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:28:18 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:28:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:28:19 + sudo service docker restart+ 06:28:19 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:28:21 provisioning config files... 06:28:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/144@tmp/config8083160878875668070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:28:22 ---> docker-login.sh 06:28:22 nexus3.edgexfoundry.org:10001 06:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:23 Configure a credential helper to remove this warning. See 06:28:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:23 06:28:23 Login Succeeded 06:28:23 nexus3.edgexfoundry.org:10002 06:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:24 Configure a credential helper to remove this warning. See 06:28:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:24 06:28:24 Login Succeeded 06:28:24 nexus3.edgexfoundry.org:10003 06:28:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:24 Configure a credential helper to remove this warning. See 06:28:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:24 06:28:24 Login Succeeded 06:28:24 nexus3.edgexfoundry.org:10004 06:28:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:24 Configure a credential helper to remove this warning. See 06:28:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:24 06:28:24 Login Succeeded 06:28:24 docker.io 06:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:25 Configure a credential helper to remove this warning. See 06:28:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:25 06:28:25 Login Succeeded 06:28:25 ---> docker-login.sh ends [Pipeline] } 06:28:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:28:26 ========================================================= 06:28:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:28:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:28:26 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:28:26 Sending build context to Docker daemon 2.385MB 06:28:27 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:28:27 Step 2/8 : FROM ${BASE} 06:28:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:28:27 5f621e34cdf4: Pulling fs layer 06:28:27 a4357932f1b6: Pulling fs layer 06:28:27 18c013af1878: Pulling fs layer 06:28:27 00ac8860ef70: Pulling fs layer 06:28:27 63d7cb157983: Pulling fs layer 06:28:27 b116817d02f9: Pulling fs layer 06:28:27 745a02a5169b: Pulling fs layer 06:28:27 63d7cb157983: Waiting 06:28:27 b116817d02f9: Waiting 06:28:27 745a02a5169b: Waiting 06:28:27 00ac8860ef70: Waiting 06:28:27 18c013af1878: Download complete 06:28:27 a4357932f1b6: Verifying Checksum 06:28:27 a4357932f1b6: Download complete 06:28:27 63d7cb157983: Verifying Checksum 06:28:27 63d7cb157983: Download complete 06:28:27 b116817d02f9: Verifying Checksum 06:28:27 b116817d02f9: Download complete 06:28:28 5f621e34cdf4: Verifying Checksum 06:28:28 5f621e34cdf4: Download complete 06:28:28 5f621e34cdf4: Pull complete 06:28:29 a4357932f1b6: Pull complete 06:28:29 18c013af1878: Pull complete 06:28:30 745a02a5169b: Verifying Checksum 06:28:30 745a02a5169b: Download complete 06:28:31 00ac8860ef70: Verifying Checksum 06:28:31 00ac8860ef70: Download complete 06:28:41 00ac8860ef70: Pull complete 06:28:41 63d7cb157983: Pull complete 06:28:42 b116817d02f9: Pull complete 06:28:46 745a02a5169b: Pull complete 06:28:46 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:28:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:28:46 ---> b7e6874047d6 06:28:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:28:49 ---> Running in 91d37c8f0a9e 06:28:49 Removing intermediate container 91d37c8f0a9e 06:28:49 ---> 4b801cd9773f 06:28:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:28:49 ---> Running in 5a5059290592 06:28:51 Removing intermediate container 5a5059290592 06:28:51 ---> b734e3fe2c77 06:28:51 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:28:51 ---> Running in b64bcb64915d 06:28:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:28:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:28:53 (1/6) Installing libc-dev (0.7.2-r3) 06:28:54 (2/6) Installing libsodium (1.0.18-r0) 06:28:54 (3/6) Installing pkgconf (1.7.2-r0) 06:28:54 (4/6) Installing libsodium-dev (1.0.18-r0) 06:28:54 (5/6) Installing libzmq (4.3.3-r0) 06:28:54 (6/6) Installing zeromq-dev (4.3.3-r0) 06:28:54 Executing busybox-1.31.1-r19.trigger 06:28:54 OK: 144 MiB in 45 packages 06:28:56 Removing intermediate container b64bcb64915d 06:28:56 ---> ecc0f29d4b04 06:28:56 Step 6/8 : WORKDIR /device-sdk-go 06:28:56 ---> Running in b19c7793455b 06:28:56 Removing intermediate container b19c7793455b 06:28:56 ---> b793e1225245 06:28:56 Step 7/8 : COPY . . 06:28:57 ---> 4fe37a0439c3 06:28:57 Step 8/8 : RUN go mod download 06:28:57 ---> Running in fde8efde4e0a 06:29:24 Removing intermediate container fde8efde4e0a 06:29:24 ---> 640827f636d1 06:29:24 Successfully built 640827f636d1 06:29:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:29:25 + docker inspect -f . ci-base-image-arm64 06:29:25 . [Pipeline] withDockerContainer 06:29:25 prd-ubuntu18.04-docker-arm64-4c-16g-33270 does not seem to be running inside a container 06:29:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/144 -v /w/workspace/device-sdk-go/144:/w/workspace/device-sdk-go/144:rw,z -v /w/workspace/device-sdk-go/144@tmp:/w/workspace/device-sdk-go/144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:29:27 $ docker top 0e70292538d646412523d053e2e8a99fb9a28475ec37890609039982d850042c -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:28 + go version 06:29:28 go version go1.15.5 linux/arm64 [Pipeline] } 06:29:28 $ docker stop --time=1 0e70292538d646412523d053e2e8a99fb9a28475ec37890609039982d850042c 06:29:30 $ docker rm -f 0e70292538d646412523d053e2e8a99fb9a28475ec37890609039982d850042c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:29:31 + docker inspect -f . ci-base-image-arm64 06:29:31 . [Pipeline] withDockerContainer 06:29:31 prd-ubuntu18.04-docker-arm64-4c-16g-33270 does not seem to be running inside a container 06:29:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/144 -v /w/workspace/device-sdk-go/144:/w/workspace/device-sdk-go/144:rw,z -v /w/workspace/device-sdk-go/144@tmp:/w/workspace/device-sdk-go/144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:29:33 $ docker top d4bfebd8c7607ae302fff206715a2ba70e4ec6db5ef00a8f4529d1a8c08ec080 -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:34 + make test 06:29:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:29:37 Running on prd-centos7-docker-4c-2g-33271 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 06:29:37 Running in /w/workspace/device-sdk-go/144 [Pipeline] { [Pipeline] checkout 06:29:50 using credential edgex-jenkins-ssh 06:29:51 Cloning the remote Git repository 06:29:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:29:51 > git init /w/workspace/device-sdk-go/144 # timeout=10 06:29:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:29:51 > git --version # timeout=10 06:29:51 > git --version # 'git version 2.24.3' 06:29:51 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:29:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:29:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:29:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:29:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:29:53 using GIT_SSH to set credentials SSH Credentials for GitHub 06:29:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 06:29:53 Checking out Revision f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 (master) 06:29:53 > git config core.sparsecheckout # timeout=10 06:29:53 > git checkout -f f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 # timeout=10 06:29:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:29:58 Commit message: "Merge pull request #866 from hahattan/fix-origin" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:30:00 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:30:01 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:30:01 + sudo service docker restart 06:30:01 + true 06:30:01 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:30:04 provisioning config files... 06:30:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/144@tmp/config3237051392234507231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:04 ---> docker-login.sh 06:30:04 nexus3.edgexfoundry.org:10001 06:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:06 Configure a credential helper to remove this warning. See 06:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:06 06:30:06 Login Succeeded 06:30:06 nexus3.edgexfoundry.org:10002 06:30:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:07 Configure a credential helper to remove this warning. See 06:30:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:07 06:30:07 Login Succeeded 06:30:07 nexus3.edgexfoundry.org:10003 06:30:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:08 Configure a credential helper to remove this warning. See 06:30:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:08 06:30:08 Login Succeeded 06:30:08 nexus3.edgexfoundry.org:10004 06:30:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:08 Configure a credential helper to remove this warning. See 06:30:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:08 06:30:08 Login Succeeded 06:30:08 docker.io 06:30:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:10 Configure a credential helper to remove this warning. See 06:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:10 06:30:10 Login Succeeded 06:30:10 ---> docker-login.sh ends [Pipeline] } 06:30:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:30:10 ========================================================= 06:30:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:30:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:30:11 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:30:12 Sending build context to Docker daemon 2.399MB 06:30:12 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:30:12 Step 2/8 : FROM ${BASE} 06:30:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:30:13 188c0c94c7c5: Pulling fs layer 06:30:13 0ef7d3d256c8: Pulling fs layer 06:30:13 de9db76c5a1d: Pulling fs layer 06:30:13 bca2f99d35d6: Pulling fs layer 06:30:13 93359f2a8cfa: Pulling fs layer 06:30:13 7c6f9722023f: Pulling fs layer 06:30:13 a35cf1a2eb13: Pulling fs layer 06:30:13 bca2f99d35d6: Waiting 06:30:13 93359f2a8cfa: Waiting 06:30:13 7c6f9722023f: Waiting 06:30:13 a35cf1a2eb13: Waiting 06:30:13 de9db76c5a1d: Verifying Checksum 06:30:13 de9db76c5a1d: Download complete 06:30:13 0ef7d3d256c8: Verifying Checksum 06:30:13 0ef7d3d256c8: Download complete 06:30:13 93359f2a8cfa: Verifying Checksum 06:30:13 93359f2a8cfa: Download complete 06:30:13 7c6f9722023f: Verifying Checksum 06:30:13 7c6f9722023f: Download complete 06:30:13 188c0c94c7c5: Verifying Checksum 06:30:13 188c0c94c7c5: Download complete 06:30:14 188c0c94c7c5: Pull complete 06:30:15 0ef7d3d256c8: Pull complete 06:30:15 de9db76c5a1d: Pull complete 06:30:18 a35cf1a2eb13: Verifying Checksum 06:30:18 a35cf1a2eb13: Download complete 06:30:21 bca2f99d35d6: Verifying Checksum 06:30:21 bca2f99d35d6: Download complete 06:30:36 bca2f99d35d6: Pull complete 06:30:37 93359f2a8cfa: Pull complete 06:30:37 7c6f9722023f: Pull complete 06:30:48 a35cf1a2eb13: Pull complete 06:30:48 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:30:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:30:48 ---> a62c8e92a672 06:30:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:30:48 ---> Running in 35568d8193ee 06:30:48 Removing intermediate container 35568d8193ee 06:30:48 ---> b41f9e921f76 06:30:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:30:48 ---> Running in 1b4277dc5df4 06:30:51 Removing intermediate container 1b4277dc5df4 06:30:51 ---> a645702d1ba8 06:30:51 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:30:51 ---> Running in 870e10ea9919 06:30:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:30:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:30:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:30:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:30:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:30:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:30:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:30:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 28.1% of statements 06:30:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.183s coverage: 78.9% of statements 06:30:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.203s coverage: 7.8% of statements 06:30:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:30:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:30:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:30:55 (1/6) Installing libc-dev (0.7.2-r3) 06:30:55 (2/6) Installing libsodium (1.0.18-r0) 06:30:55 (3/6) Installing pkgconf (1.7.2-r0) 06:30:55 (4/6) Installing libsodium-dev (1.0.18-r0) 06:30:56 (5/6) Installing libzmq (4.3.3-r0) 06:30:56 (6/6) Installing zeromq-dev (4.3.3-r0) 06:30:56 Executing busybox-1.31.1-r19.trigger 06:30:56 OK: 167 MiB in 45 packages 06:30:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.322s coverage: 32.5% of statements 06:30:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:30:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:30:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:30:57 Removing intermediate container 870e10ea9919 06:30:57 ---> 28e028671d7e 06:30:57 Step 6/8 : WORKDIR /device-sdk-go 06:30:58 ---> Running in 26602ff4c826 06:30:58 Removing intermediate container 26602ff4c826 06:30:58 ---> 03029f1d2c19 06:30:58 Step 7/8 : COPY . . 06:31:00 ---> 1f2959424eaf 06:31:00 Step 8/8 : RUN go mod download 06:31:00 ---> Running in 678b0224c8a1 06:31:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.282s coverage: 57.1% of statements 06:31:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.038s coverage: 6.6% of statements 06:31:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.146s coverage: 5.0% of statements 06:31:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:31:01 GO111MODULE=on go vet ./... 06:31:33 Removing intermediate container 678b0224c8a1 06:31:33 ---> 4f9d3d2fb5ff 06:31:33 Successfully built 4f9d3d2fb5ff 06:31:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:31:33 + docker inspect -f . ci-base-image-x86_64 06:31:34 . [Pipeline] withDockerContainer 06:31:34 prd-centos7-docker-4c-2g-33271 does not seem to be running inside a container 06:31:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/144 -v /w/workspace/device-sdk-go/144:/w/workspace/device-sdk-go/144:rw,z -v /w/workspace/device-sdk-go/144@tmp:/w/workspace/device-sdk-go/144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:31:37 $ docker top cb84fdead6f76836c22d3d4e881667ec8ee3dcf1ba24a74de2feb710fbc259e5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:31:38 + go version 06:31:38 go version go1.15.5 linux/amd64 [Pipeline] } 06:31:38 $ docker stop --time=1 cb84fdead6f76836c22d3d4e881667ec8ee3dcf1ba24a74de2feb710fbc259e5 06:31:40 $ docker rm -f cb84fdead6f76836c22d3d4e881667ec8ee3dcf1ba24a74de2feb710fbc259e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:31:41 + docker inspect -f . ci-base-image-x86_64 06:31:41 . [Pipeline] withDockerContainer 06:31:42 prd-centos7-docker-4c-2g-33271 does not seem to be running inside a container 06:31:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/144 -v /w/workspace/device-sdk-go/144:/w/workspace/device-sdk-go/144:rw,z -v /w/workspace/device-sdk-go/144@tmp:/w/workspace/device-sdk-go/144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:31:43 $ docker top 69ed0471f19930bfb8b023e412c580c003d2928cba0b283d4a6fdd84b49e6e9b -eo pid,comm [Pipeline] { [Pipeline] sh 06:31:45 + make test 06:31:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:31:48 gofmt -l . 06:31:48 [ "`gofmt -l .`" = "" ] 06:31:48 ./bin/test-attribution-txt.sh 06:31:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:31:48 $ docker stop --time=1 d4bfebd8c7607ae302fff206715a2ba70e4ec6db5ef00a8f4529d1a8c08ec080 06:31:50 $ docker rm -f d4bfebd8c7607ae302fff206715a2ba70e4ec6db5ef00a8f4529d1a8c08ec080 [Pipeline] // withDockerContainer [Pipeline] sh 06:31:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:31:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:31:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:31:56 + ls -al . 06:31:56 total 224 06:31:56 drwxrwxr-x 10 jenkins jenkins 4096 Apr 8 06:31 . 06:31:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 06:28 .. 06:31:56 -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 06:28 .dockerignore 06:31:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 06:28 .git 06:31:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 06:28 .github 06:31:56 -rw-rw-r-- 1 jenkins jenkins 138 Apr 8 06:28 .gitignore 06:31:56 -rw-rw-r-- 1 jenkins jenkins 987 Apr 8 06:28 Dockerfile.build 06:31:56 -rw-rw-r-- 1 jenkins jenkins 901 Apr 8 06:28 Jenkinsfile 06:31:56 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 06:28 LICENSE 06:31:56 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 8 06:28 Makefile 06:31:56 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 8 06:28 README.md 06:31:56 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 8 06:28 RELEASE-NOTES.txt 06:31:56 -rw-rw-r-- 1 jenkins jenkins 12 Apr 8 06:25 VERSION 06:31:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 06:28 bin 06:31:56 -rw-r--r-- 1 jenkins jenkins 99750 Apr 8 06:31 coverage.out 06:31:56 drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 06:28 example 06:31:56 -rw-r--r-- 1 jenkins jenkins 572 Apr 8 06:31 go.mod 06:31:56 -rw-r--r-- 1 jenkins jenkins 20946 Apr 8 06:31 go.sum 06:31:56 drwxrwxr-x 14 jenkins jenkins 4096 Apr 8 06:28 internal 06:31:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 06:28 openapi 06:31:56 drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 06:28 pkg 06:31:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 06:28 snap 06:31:56 -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 06:28 version.go [Pipeline] isUnix [Pipeline] sh 06:31:56 + 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=f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 --label arch=arm64 --label version=2.0.0-dev.39 . 06:31:56 Sending build context to Docker daemon 2.485MB 06:31:57 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:31:57 Step 2/23 : FROM ${BASE} AS builder 06:31:57 ---> 640827f636d1 06:31:57 Step 3/23 : WORKDIR /device-sdk-go 06:31:57 ---> Running in 3e82f2ca3dfa 06:31:57 Removing intermediate container 3e82f2ca3dfa 06:31:57 ---> 31b7a1304a90 06:31:57 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:31:58 ---> Running in e3be4788ac39 06:31:58 Removing intermediate container e3be4788ac39 06:31:58 ---> 8b3dd37913a0 06:31:58 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:31:58 ---> Running in ce3aa7faa8b1 06:32:00 Removing intermediate container ce3aa7faa8b1 06:32:00 ---> abeda4a6e728 06:32:00 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:32:00 ---> Running in 58895f6a3e2b 06:32:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:32:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:32:03 OK: 144 MiB in 45 packages 06:32:04 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:32:04 Removing intermediate container 58895f6a3e2b 06:32:04 ---> a5d90bb5d198 06:32:04 Step 7/23 : COPY . . 06:32:05 ---> 322178e11b0d 06:32:05 Step 8/23 : RUN go mod download 06:32:05 ---> Running in 0d4d585b5087 06:32:08 Removing intermediate container 0d4d585b5087 06:32:08 ---> 9e2b2c7ab412 06:32:08 Step 9/23 : RUN make build 06:32:08 ---> Running in 01cb662594df 06:32:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.39" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:32:41 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:32:44 Removing intermediate container 01cb662594df 06:32:44 ---> 15c5f5bb5232 06:32:44 Step 10/23 : FROM alpine:3.12 06:32:44 3.12: Pulling from library/alpine 06:32:46 9a219e8acc52: Pulling fs layer 06:32:46 9a219e8acc52: Download complete 06:32:47 9a219e8acc52: Pull complete 06:32:47 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 06:32:47 Status: Downloaded newer image for alpine:3.12 06:32:47 ---> d75e27dfc0a0 06:32:47 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:32:47 ---> Running in 780fcf3931b7 06:32:48 Removing intermediate container 780fcf3931b7 06:32:48 ---> 95dfa57063cc 06:32:48 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:32:48 ---> Running in afbd73f328cf 06:32:50 Removing intermediate container afbd73f328cf 06:32:50 ---> ae21b6eea3ac 06:32:50 Step 13/23 : RUN apk add --update --no-cache zeromq 06:32:50 ---> Running in 938168fe4b84 06:32:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:32:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:32:53 (1/5) Installing libgcc (9.3.0-r2) 06:32:53 (2/5) Installing libsodium (1.0.18-r0) 06:32:53 (3/5) Installing libstdc++ (9.3.0-r2) 06:32:53 (4/5) Installing libzmq (4.3.3-r0) 06:32:53 (5/5) Installing zeromq (4.3.3-r0) 06:32:53 Executing busybox-1.31.1-r20.trigger 06:32:53 OK: 8 MiB in 19 packages 06:32:55 Removing intermediate container 938168fe4b84 06:32:55 ---> 9f14f23dcf1e 06:32:55 Step 14/23 : WORKDIR / 06:32:55 ---> Running in 3118b6fc3bcc 06:32:55 Removing intermediate container 3118b6fc3bcc 06:32:55 ---> c0f59db0dc90 06:32:55 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:32:56 ---> 59d89ff56e20 06:32:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:32:57 ---> a36ac3f52b91 06:32:57 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:32:58 ---> c387d0c5040c 06:32:58 Step 18/23 : EXPOSE 49990 06:32:58 ---> Running in 01c70264e7cb 06:32:58 Removing intermediate container 01c70264e7cb 06:32:58 ---> 1bf168aa53d4 06:32:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:32:59 ---> Running in 9047ed6f522d 06:32:59 Removing intermediate container 9047ed6f522d 06:32:59 ---> 1b76b13ef95f 06:32:59 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:32:59 ---> Running in a47c7ddd9876 06:32:59 Removing intermediate container a47c7ddd9876 06:32:59 ---> c8c6efd97040 06:32:59 Step 21/23 : LABEL arch=arm64 06:33:00 ---> Running in d5f2e8183599 06:33:00 Removing intermediate container d5f2e8183599 06:33:00 ---> fee5a6477d17 06:33:00 Step 22/23 : LABEL git_sha=f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 06:33:00 ---> Running in 38674f8dd057 06:33:01 Removing intermediate container 38674f8dd057 06:33:01 ---> 867bcaf23c0b 06:33:01 Step 23/23 : LABEL version=2.0.0-dev.39 06:33:01 ---> Running in 0d9d9fd3326e 06:33:02 Removing intermediate container 0d9d9fd3326e 06:33:02 ---> fd5efcee60be 06:33:02 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:33:02 Successfully built fd5efcee60be 06:33:02 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 06:33:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:33:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:33:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:33:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:33:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:33:03 ---> job-cost.sh 06:33:03 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-R7zA 06:33:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.177s coverage: 28.1% of statements 06:33:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.358s coverage: 78.9% of statements 06:33:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.423s coverage: 7.8% of statements 06:33:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:33:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:33:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:33:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.286s coverage: 32.5% of statements 06:33:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:33:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:33:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:33:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.130s coverage: 57.1% of statements 06:33:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.468s coverage: 6.6% of statements 06:33:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.203s coverage: 5.0% of statements 06:33:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:33:12 GO111MODULE=on go vet ./... 06:33:42 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:34:01 gofmt -l . 06:34:01 [ "`gofmt -l .`" = "" ] 06:34:01 ./bin/test-attribution-txt.sh 06:34:01 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:34:01 $ docker stop --time=1 69ed0471f19930bfb8b023e412c580c003d2928cba0b283d4a6fdd84b49e6e9b 06:34:04 $ docker rm -f 69ed0471f19930bfb8b023e412c580c003d2928cba0b283d4a6fdd84b49e6e9b [Pipeline] // withDockerContainer [Pipeline] sh 06:34:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:34:06 Warning: overwriting stash ‘coverage-report’ 06:34:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:34:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:34:08 + ls -al . 06:34:08 total 188 06:34:08 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 8 06:34 . 06:34:08 drwxrwxr-x. 4 jenkins jenkins 32 Apr 8 06:29 .. 06:34:08 drwxrwxr-x. 2 jenkins jenkins 64 Apr 8 06:29 bin 06:34:08 -rw-r--r--. 1 jenkins jenkins 99750 Apr 8 06:33 coverage.out 06:34:08 -rw-rw-r--. 1 jenkins jenkins 987 Apr 8 06:29 Dockerfile.build 06:34:08 -rw-rw-r--. 1 jenkins jenkins 140 Apr 8 06:29 .dockerignore 06:34:08 drwxrwxr-x. 5 jenkins jenkins 62 Apr 8 06:29 example 06:34:08 drwxrwxr-x. 8 jenkins jenkins 162 Apr 8 06:29 .git 06:34:08 drwxrwxr-x. 2 jenkins jenkins 103 Apr 8 06:29 .github 06:34:08 -rw-rw-r--. 1 jenkins jenkins 138 Apr 8 06:29 .gitignore 06:34:08 -rw-r--r--. 1 jenkins jenkins 572 Apr 8 06:34 go.mod 06:34:08 -rw-r--r--. 1 jenkins jenkins 20946 Apr 8 06:34 go.sum 06:34:08 drwxrwxr-x. 14 jenkins jenkins 207 Apr 8 06:29 internal 06:34:08 -rw-rw-r--. 1 jenkins jenkins 901 Apr 8 06:29 Jenkinsfile 06:34:08 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 8 06:29 LICENSE 06:34:08 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 8 06:29 Makefile 06:34:08 drwxrwxr-x. 4 jenkins jenkins 26 Apr 8 06:29 openapi 06:34:08 drwxrwxr-x. 5 jenkins jenkins 50 Apr 8 06:29 pkg 06:34:08 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 8 06:29 README.md 06:34:08 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 8 06:29 RELEASE-NOTES.txt 06:34:08 drwxrwxr-x. 4 jenkins jenkins 54 Apr 8 06:29 snap 06:34:08 -rw-rw-r--. 1 jenkins jenkins 12 Apr 8 06:25 VERSION 06:34:08 -rw-rw-r--. 1 jenkins jenkins 222 Apr 8 06:29 version.go [Pipeline] isUnix [Pipeline] sh 06:34:09 + 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=f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 --label arch=amd64 --label version=2.0.0-dev.39 . 06:34:10 Sending build context to Docker daemon 2.5MB 06:34:10 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:34:10 Step 2/23 : FROM ${BASE} AS builder 06:34:10 ---> 4f9d3d2fb5ff 06:34:10 Step 3/23 : WORKDIR /device-sdk-go 06:34:11 ---> Running in 60146ae37363 06:34:11 Removing intermediate container 60146ae37363 06:34:11 ---> fc525c3a750a 06:34:11 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:34:11 ---> Running in 73c38269c686 06:34:12 Removing intermediate container 73c38269c686 06:34:12 ---> d744d1e0d914 06:34:12 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:34:12 ---> Running in 6e0a30235038 06:34:14 Removing intermediate container 6e0a30235038 06:34:14 ---> af5c32a679f7 06:34:14 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:34:14 ---> Running in 8101027d44c1 06:34:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:34:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:34:17 OK: 167 MiB in 45 packages 06:34:18 Removing intermediate container 8101027d44c1 06:34:18 ---> dfc82d62722c 06:34:18 Step 7/23 : COPY . . 06:34:20 ---> 5b38284f1805 06:34:20 Step 8/23 : RUN go mod download 06:34:20 ---> Running in ae44f5151eea 06:34:24 Removing intermediate container ae44f5151eea 06:34:24 ---> 94862b95f135 06:34:24 Step 9/23 : RUN make build 06:34:24 ---> Running in 3235517d6bf1 06:34:25 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.39" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:34:53 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:34:58 Removing intermediate container 3235517d6bf1 06:34:58 ---> b32a73907d9c 06:34:58 Step 10/23 : FROM alpine:3.12 06:34:58 3.12: Pulling from library/alpine 06:34:58 532819f3e44c: Pulling fs layer 06:34:58 532819f3e44c: Verifying Checksum 06:34:58 532819f3e44c: Download complete 06:34:59 532819f3e44c: Pull complete 06:34:59 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 06:34:59 Status: Downloaded newer image for alpine:3.12 06:34:59 ---> 7230e588e954 06:34:59 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:34:59 ---> Running in 3e3c27b548c2 06:35:00 Removing intermediate container 3e3c27b548c2 06:35:00 ---> a3aca982da90 06:35:00 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:35:00 ---> Running in 816bf0ae0eaa 06:35:02 Removing intermediate container 816bf0ae0eaa 06:35:02 ---> 5a8a0998b890 06:35:02 Step 13/23 : RUN apk add --update --no-cache zeromq 06:35:02 ---> Running in 2c7a0d63c982 06:35:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:35:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:35:04 (1/5) Installing libgcc (9.3.0-r2) 06:35:04 (2/5) Installing libsodium (1.0.18-r0) 06:35:04 (3/5) Installing libstdc++ (9.3.0-r2) 06:35:05 (4/5) Installing libzmq (4.3.3-r0) 06:35:05 (5/5) Installing zeromq (4.3.3-r0) 06:35:05 Executing busybox-1.31.1-r20.trigger 06:35:05 OK: 8 MiB in 19 packages 06:35:06 Removing intermediate container 2c7a0d63c982 06:35:06 ---> ba20f5a3577b 06:35:06 Step 14/23 : WORKDIR / 06:35:06 ---> Running in 36ddbc6c56f7 06:35:06 Removing intermediate container 36ddbc6c56f7 06:35:06 ---> cf45a4577ebc 06:35:06 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:35:07 ---> c34b19bdedfe 06:35:07 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:35:08 ---> 72706da5d745 06:35:08 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:35:09 ---> 430c0f9add9a 06:35:09 Step 18/23 : EXPOSE 49990 06:35:09 ---> Running in 1daf5ba63c3e 06:35:10 Removing intermediate container 1daf5ba63c3e 06:35:10 ---> 3afafd2ae5a8 06:35:10 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:35:10 ---> Running in e1d1d054705c 06:35:10 Removing intermediate container e1d1d054705c 06:35:10 ---> 8483f2815e40 06:35:10 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:35:10 ---> Running in 61329832f7da 06:35:11 Removing intermediate container 61329832f7da 06:35:11 ---> d301ef7c4e1e 06:35:11 Step 21/23 : LABEL arch=amd64 06:35:11 ---> Running in 955b8da30068 06:35:11 Removing intermediate container 955b8da30068 06:35:11 ---> 9ebe9625cce6 06:35:11 Step 22/23 : LABEL git_sha=f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 06:35:11 ---> Running in 645970faa262 06:35:12 Removing intermediate container 645970faa262 06:35:12 ---> 67b0c4d9a3c9 06:35:12 Step 23/23 : LABEL version=2.0.0-dev.39 06:35:12 ---> Running in 3da2932b823d 06:35:12 Removing intermediate container 3da2932b823d 06:35:12 ---> 9e3edafb25e0 06:35:12 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:35:12 Successfully built 9e3edafb25e0 06:35:12 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 06:35:13 ---> job-cost.sh 06:35:13 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KPsA 06:35:18 lf-activate-venv(): INFO: Adding /tmp/venv-R7zA/bin to PATH 06:35:18 INFO: No Stack... 06:35:18 INFO: Retrieving Pricing Info for: lf-standard-4 06:35:18 INFO: Archiving Costs [Pipeline] sh 06:35:19 + cat /w/workspace/device-sdk-go/144/archives/cost.csv 06:35:19 + cut -d, -f6 [Pipeline] lock 06:35:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-144-stack-cost] 06:35:19 Resource [jenkins-edgexfoundry-device-sdk-go-master-144-stack-cost] did not exist. Created. 06:35:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-144-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:35:19 + echo total: 0.20999999344348907 [Pipeline] stash 06:35:19 Stashed 1 file(s) [Pipeline] } 06:35:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-144-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:35:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:36:33 lf-activate-venv(): INFO: Adding /tmp/venv-KPsA/bin to PATH 06:36:33 INFO: No Stack... 06:36:33 INFO: Retrieving Pricing Info for: v1-standard-2 06:36:33 INFO: Archiving Costs [Pipeline] sh 06:36:34 + cut -d, -f6 06:36:34 + cat /w/workspace/device-sdk-go/144/archives/cost.csv [Pipeline] lock 06:36:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-144-stack-cost] 06:36:34 Resource [jenkins-edgexfoundry-device-sdk-go-master-144-stack-cost] did not exist. Created. 06:36:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-144-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:36:35 /w/workspace/device-sdk-go/144@tmp/durable-f0ac1cce/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 06:36:35 + echo total: 0.029999999329447746 [Pipeline] stash 06:36:35 Warning: overwriting stash ‘stack-cost’ 06:36:36 Stashed 1 file(s) [Pipeline] } 06:36:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-144-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 06:36:37 provisioning config files... 06:36:37 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1370408505438384922tmp [Pipeline] { [Pipeline] sh 06:36:37 + set +x 06:36:37 + bash -s -- 06:36:37 + curl -s https://codecov.io/bash 06:36:38 06:36:38 _____ _ 06:36:38 / ____| | | 06:36:38 | | ___ __| | ___ ___ _____ __ 06:36:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:36:38 | |___| (_) | (_| | __/ (_| (_) \ V / 06:36:38 \_____\___/ \__,_|\___|\___\___/ \_/ 06:36:38 Bash-20210309-2b87ace 06:36:38 06:36:38 06:36:38 ==> git version 2.24.3 found 06:36:38 ==> 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 06:36:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:36:38 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:36:38 ==> Jenkins CI detected. 06:36:38 project root: . 06:36:38 --> token set from env 06:36:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:36:38 ==> Running gcov in . (disable via -X gcov) 06:36:38 ==> Python coveragepy not found 06:36:38 ==> Searching for coverage reports in: 06:36:38 + . 06:36:38 -> Found 1 reports 06:36:38 ==> Detecting git/mercurial file structure 06:36:38 ==> Reading reports 06:36:38 + ./coverage.out bytes=99750 06:36:38 ==> Appending adjustments 06:36:38 https://docs.codecov.io/docs/fixing-reports 06:36:38 + Found adjustments 06:36:38 ==> Gzipping contents 06:36:38 16K /tmp/codecov.KJltO5.gz 06:36:38 ==> Uploading reports 06:36:38 url: https://codecov.io 06:36:38 query: branch=master&commit=f6cce29b09ba2250dd70f8a621665f8d97cfd1e5&build=144&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F144%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:36:38 -> Pinging Codecov 06:36:38 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=f6cce29b09ba2250dd70f8a621665f8d97cfd1e5&build=144&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F144%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:36:38 -> Uploading to 06:36:38 https://storage.googleapis.com/codecov/v4/raw/2021-04-08/7E55EF52A471D76F132DFD9A03CDDE97/f6cce29b09ba2250dd70f8a621665f8d97cfd1e5/2181aea3-5a55-45e6-93f7-b189bfbedddc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210408%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210408T063638Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9bbe437a67ed8bde1f81c5094f8b1339613ffd8b85c8b070f21c0509533cf5e4 06:36:38 % Total % Received % Xferd Average Speed Time Time Time Current 06:36:38 Dload Upload Total Spent Left Speed 06:36:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13507 0 0 100 13507 0 28228 --:--:-- --:--:-- --:--:-- 28257 06:36:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 [Pipeline] } 06:36:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:36:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:36:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:36:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:36:40 06:36:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:36:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:36:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:36:41 188c0c94c7c5: Pulling fs layer 06:36:41 0ef7d3d256c8: Pulling fs layer 06:36:41 de9db76c5a1d: Pulling fs layer 06:36:41 0eba1c9be4d2: Pulling fs layer 06:36:41 0d57e429df01: Pulling fs layer 06:36:41 4e4be7b47b0d: Pulling fs layer 06:36:41 e1f770b5df2f: Pulling fs layer 06:36:41 85a0685a4137: Pulling fs layer 06:36:41 0eba1c9be4d2: Waiting 06:36:41 4e4be7b47b0d: Waiting 06:36:41 0d57e429df01: Waiting 06:36:41 e1f770b5df2f: Waiting 06:36:41 de9db76c5a1d: Verifying Checksum 06:36:41 de9db76c5a1d: Download complete 06:36:41 0ef7d3d256c8: Verifying Checksum 06:36:41 0ef7d3d256c8: Download complete 06:36:41 0d57e429df01: Verifying Checksum 06:36:41 0d57e429df01: Download complete 06:36:41 188c0c94c7c5: Verifying Checksum 06:36:41 188c0c94c7c5: Download complete 06:36:41 4e4be7b47b0d: Verifying Checksum 06:36:41 4e4be7b47b0d: Download complete 06:36:41 188c0c94c7c5: Pull complete 06:36:41 0ef7d3d256c8: Pull complete 06:36:41 de9db76c5a1d: Pull complete 06:36:43 e1f770b5df2f: Verifying Checksum 06:36:43 e1f770b5df2f: Download complete 06:36:45 0eba1c9be4d2: Verifying Checksum 06:36:45 0eba1c9be4d2: Download complete 06:36:46 85a0685a4137: Verifying Checksum 06:36:46 85a0685a4137: Download complete 06:36:52 0eba1c9be4d2: Pull complete 06:36:52 0d57e429df01: Pull complete 06:36:52 4e4be7b47b0d: Pull complete 06:36:54 e1f770b5df2f: Pull complete 06:37:02 85a0685a4137: Pull complete 06:37:02 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:37:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:37:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:37:02 prd-centos7-docker-4c-2g-33269 does not seem to be running inside a container 06:37:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:37:03 $ docker top 0c01c7be4af63e392657260ce2a714ee0a3a75edd2da22887fc896c0744699c7 -eo pid,comm [Pipeline] { [Pipeline] echo 06:37:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:37:04 + set -o pipefail 06:37:04 + snyk monitor '--org=edgex-jenkins' 06:37:19 06:37:19 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... 06:37:19 06:37:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/a850292d-c689-4d6f-ba1c-03d368142620 06:37:19 06:37:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:37:19 06:37:19 06:37:19 You have reached your monthly limit of 300 private tests for your edgex-jenkins org. 06:37:19 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:37:19 $ docker stop --time=1 0c01c7be4af63e392657260ce2a714ee0a3a75edd2da22887fc896c0744699c7 06:37:22 $ docker rm -f 0c01c7be4af63e392657260ce2a714ee0a3a75edd2da22887fc896c0744699c7 [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 06:37:23 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:37:24 provisioning config files... 06:37:24 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config40014214888166092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:24 --> edgex-publish-swagger.sh 06:37:24 === Publish openapi/v1 API === 06:37:24 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 06:37:24 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] 06:37:24 % Total % Received % Xferd Average Speed Time Time Time Current 06:37:24 Dload Upload Total Spent Left Speed 06:37:25 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 24301 --:--:-- --:--:-- --:--:-- 24325 06:37:25 06:37:25 06:37:25 === Publish openapi/v2 API === 06:37:25 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 06:37:25 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] 06:37:25 % Total % Received % Xferd Average Speed Time Time Time Current 06:37:25 Dload Upload Total Spent Left Speed 06:37:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 79123 --:--:-- --:--:-- --:--:-- 79082 100 51483 0 0 100 51483 0 79102 --:--:-- --:--:-- --:--:-- 79082 06:37:25 06:37:25 [Pipeline] } 06:37:25 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 06:37:26 + git log --format=format:%s -1 f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 [Pipeline] isUnix [Pipeline] sh 06:37:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:37:27 . [Pipeline] withDockerContainer 06:37:27 prd-centos7-docker-4c-2g-33269 does not seem to be running inside a container 06:37:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:37:28 $ docker top 55d9c53c259cb5629e9808b1f7e6a2738c16cdda757a58fc54b58a8eab13ae02 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:37:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:37:28 [ssh-agent] Looking for ssh-agent implementation... 06:37:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:37:28 $ docker exec 55d9c53c259cb5629e9808b1f7e6a2738c16cdda757a58fc54b58a8eab13ae02 ssh-agent 06:37:29 SSH_AUTH_SOCK=/tmp/ssh-CGBc2xfX9Y6u/agent.11 06:37:29 SSH_AGENT_PID=16 06:37:29 Running ssh-add (command line suppressed) 06:37:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7181500545654392071.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7181500545654392071.key) 06:37:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:37:29 + git semver tag 06:37:29 # -> Open(): unable to determine branch for HEAD 06:37:29 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 06:37:29 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 06:37:29 # $SEMVER_REMOTE_NAME = origin 06:37:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:37:29 # $SEMVER_USER_NAME = edgex-jenkins 06:37:29 # $SEMVER_BRANCH = master 06:37:29 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 06:37:29 # f6cce29b09ba2250dd70f8a621665f8d97cfd1e5 HEAD 06:37:29 # -> Force: false 06:37:29 # ec2272cba3761dfb001fd73b0a744059198b1c23 refs/tags/v2.0.0-dev.39 [Pipeline] } 06:37:29 $ docker exec --env ******** --env ******** 55d9c53c259cb5629e9808b1f7e6a2738c16cdda757a58fc54b58a8eab13ae02 ssh-agent -k 06:37:30 unset SSH_AUTH_SOCK; 06:37:30 unset SSH_AGENT_PID; 06:37:30 echo Agent pid 16 killed; 06:37:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:37:30 + git semver [Pipeline] } 06:37:30 $ docker stop --time=1 55d9c53c259cb5629e9808b1f7e6a2738c16cdda757a58fc54b58a8eab13ae02 06:37:32 $ docker rm -f 55d9c53c259cb5629e9808b1f7e6a2738c16cdda757a58fc54b58a8eab13ae02 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:37:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:37:32 06:37:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:37:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:37:33 0.23.1-centos7: Pulling from edgex-lftools 06:37:33 ab5ef0e58194: Pulling fs layer 06:37:33 9712f1f96733: Pulling fs layer 06:37:33 63f879dbbcfc: Pulling fs layer 06:37:33 0d9ebad4ef96: Pulling fs layer 06:37:33 e9a5061849ea: Pulling fs layer 06:37:33 d747dcd14b5f: Pulling fs layer 06:37:33 2de7ff778b66: Pulling fs layer 06:37:33 0d9ebad4ef96: Waiting 06:37:33 e9a5061849ea: Waiting 06:37:33 d747dcd14b5f: Waiting 06:37:33 2de7ff778b66: Waiting 06:37:33 9712f1f96733: Download complete 06:37:34 63f879dbbcfc: Verifying Checksum 06:37:34 63f879dbbcfc: Download complete 06:37:34 e9a5061849ea: Verifying Checksum 06:37:34 e9a5061849ea: Download complete 06:37:34 d747dcd14b5f: Verifying Checksum 06:37:34 d747dcd14b5f: Download complete 06:37:35 2de7ff778b66: Verifying Checksum 06:37:35 2de7ff778b66: Download complete 06:37:35 0d9ebad4ef96: Verifying Checksum 06:37:35 0d9ebad4ef96: Download complete 06:37:35 ab5ef0e58194: Verifying Checksum 06:37:35 ab5ef0e58194: Download complete 06:37:41 ab5ef0e58194: Pull complete 06:37:41 9712f1f96733: Pull complete 06:37:43 63f879dbbcfc: Pull complete 06:37:51 0d9ebad4ef96: Pull complete 06:37:52 e9a5061849ea: Pull complete 06:37:52 d747dcd14b5f: Pull complete 06:37:55 2de7ff778b66: Pull complete 06:37:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:37:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:37:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:37:55 prd-centos7-docker-4c-2g-33269 does not seem to be running inside a container 06:37:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:37:59 $ docker top 583b414ce252d728fc45d5149e345866dacc1b87dde82f8e80362b9bdab4a44d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:37:59 provisioning config files... 06:37:59 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3453026854320565861tmp 06:37:59 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4282939106197225628tmp 06:37:59 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1684765468650011366tmp [Pipeline] { [Pipeline] echo 06:37:59 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:38:00 ---> sigul-configuration.sh 06:38:00 gpg: directory `/root/.gnupg' created 06:38:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:38:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:38:00 gpg: keyring `/root/.gnupg/secring.gpg' created 06:38:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:38:00 gpg: CAST5 encrypted data 06:38:00 gpg: encrypted with 1 passphrase 06:38:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:38:00 + mkdir /home/jenkins 06:38:00 + mkdir /home/jenkins/sigul [Pipeline] sh 06:38:01 + 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 06:38:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:38:01 ---> sigul-install.sh 06:38:09 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 06:38:09 + git tag --list 06:38:09 0.7.1 06:38:09 delhi-tag 06:38:09 v1.0.0 06:38:09 v1.1.0 06:38:09 v1.1.1 06:38:09 v1.1.2 06:38:09 v1.2.0 06:38:09 v1.2.1 06:38:09 v1.2.2 06:38:09 v1.2.3 06:38:09 v1.3.0 06:38:09 v1.4.0 06:38:09 v2.0.0-dev.1 06:38:09 v2.0.0-dev.10 06:38:09 v2.0.0-dev.11 06:38:09 v2.0.0-dev.12 06:38:09 v2.0.0-dev.13 06:38:09 v2.0.0-dev.14 06:38:09 v2.0.0-dev.15 06:38:09 v2.0.0-dev.16 06:38:09 v2.0.0-dev.17 06:38:09 v2.0.0-dev.18 06:38:09 v2.0.0-dev.19 06:38:09 v2.0.0-dev.2 06:38:09 v2.0.0-dev.20 06:38:09 v2.0.0-dev.21 06:38:09 v2.0.0-dev.22 06:38:09 v2.0.0-dev.23 06:38:09 v2.0.0-dev.24 06:38:09 v2.0.0-dev.25 06:38:09 v2.0.0-dev.26 06:38:09 v2.0.0-dev.27 06:38:09 v2.0.0-dev.28 06:38:09 v2.0.0-dev.29 06:38:09 v2.0.0-dev.3 06:38:09 v2.0.0-dev.30 06:38:09 v2.0.0-dev.31 06:38:09 v2.0.0-dev.32 06:38:09 v2.0.0-dev.33 06:38:09 v2.0.0-dev.34 06:38:09 v2.0.0-dev.35 06:38:09 v2.0.0-dev.36 06:38:09 v2.0.0-dev.37 06:38:09 v2.0.0-dev.38 06:38:09 v2.0.0-dev.39 06:38:09 v2.0.0-dev.4 06:38:09 v2.0.0-dev.5 06:38:09 v2.0.0-dev.6 06:38:09 v2.0.0-dev.7 06:38:09 v2.0.0-dev.8 06:38:09 v2.0.0-dev.9 [Pipeline] sh 06:38:10 + lftools sign git-tag v2.0.0-dev.39 06:38:11 Signing Git tag with Sigul... 06:38:11 Signing v2.0.0-dev.39 [Pipeline] echo 06:38:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:38:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:38:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:38:12 $ docker stop --time=1 583b414ce252d728fc45d5149e345866dacc1b87dde82f8e80362b9bdab4a44d 06:38:15 $ docker rm -f 583b414ce252d728fc45d5149e345866dacc1b87dde82f8e80362b9bdab4a44d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 06:38:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:38:16 . [Pipeline] withDockerContainer 06:38:17 prd-centos7-docker-4c-2g-33269 does not seem to be running inside a container 06:38:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:38:18 $ docker top c4f03858e97b0df7e4001019c78dd86dc425822b0f635f79345401fb483c73fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:38:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:38:18 [ssh-agent] Looking for ssh-agent implementation... 06:38:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:38:19 $ docker exec c4f03858e97b0df7e4001019c78dd86dc425822b0f635f79345401fb483c73fc ssh-agent 06:38:19 SSH_AUTH_SOCK=/tmp/ssh-sOmSl6maNZcc/agent.12 06:38:19 SSH_AGENT_PID=18 06:38:19 Running ssh-add (command line suppressed) 06:38:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2869965639716378311.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2869965639716378311.key) 06:38:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:38:19 + git semver bump pre 06:38:19 # -> Open(): unable to determine branch for HEAD 06:38:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 06:38:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 06:38:19 # $SEMVER_REMOTE_NAME = origin 06:38:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:38:19 # $SEMVER_USER_NAME = edgex-jenkins 06:38:19 # $SEMVER_BRANCH = master 06:38:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 06:38:19 2.0.0-dev.40 [Pipeline] } 06:38:19 $ docker exec --env ******** --env ******** c4f03858e97b0df7e4001019c78dd86dc425822b0f635f79345401fb483c73fc ssh-agent -k 06:38:20 unset SSH_AUTH_SOCK; 06:38:20 unset SSH_AGENT_PID; 06:38:20 echo Agent pid 18 killed; 06:38:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:38:20 + git semver [Pipeline] } 06:38:20 $ docker stop --time=1 c4f03858e97b0df7e4001019c78dd86dc425822b0f635f79345401fb483c73fc 06:38:22 $ docker rm -f c4f03858e97b0df7e4001019c78dd86dc425822b0f635f79345401fb483c73fc [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 06:38:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:38:22 . [Pipeline] withDockerContainer 06:38:22 prd-centos7-docker-4c-2g-33269 does not seem to be running inside a container 06:38:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:38:23 $ docker top 6a0c982be93a739093b94591c25e0975109274b930177cb1be1380747fa5bfe3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:38:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:38:23 [ssh-agent] Looking for ssh-agent implementation... 06:38:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:38:24 $ docker exec 6a0c982be93a739093b94591c25e0975109274b930177cb1be1380747fa5bfe3 ssh-agent 06:38:24 SSH_AUTH_SOCK=/tmp/ssh-gLOyUeZV7Om6/agent.12 06:38:24 SSH_AGENT_PID=17 06:38:24 Running ssh-add (command line suppressed) 06:38:24 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8138938168900165176.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8138938168900165176.key) 06:38:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:38:24 + git semver push 06:38:24 # -> Open(): unable to determine branch for HEAD 06:38:24 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 06:38:24 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 06:38:24 # $SEMVER_REMOTE_NAME = origin 06:38:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:38:24 # $SEMVER_USER_NAME = edgex-jenkins 06:38:24 # $SEMVER_BRANCH = master 06:38:24 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 06:38:30 $ docker exec --env ******** --env ******** 6a0c982be93a739093b94591c25e0975109274b930177cb1be1380747fa5bfe3 ssh-agent -k 06:38:30 unset SSH_AUTH_SOCK; 06:38:30 unset SSH_AGENT_PID; 06:38:30 echo Agent pid 17 killed; 06:38:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:38:30 + git semver [Pipeline] } 06:38:30 $ docker stop --time=1 6a0c982be93a739093b94591c25e0975109274b930177cb1be1380747fa5bfe3 06:38:32 $ docker rm -f 6a0c982be93a739093b94591c25e0975109274b930177cb1be1380747fa5bfe3 [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 06:38:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:38:34 ---> package-listing.sh 06:38:34 ++ facter osfamily 06:38:34 ++ tr '[:upper:]' '[:lower:]' 06:38:34 + OS_FAMILY=redhat 06:38:34 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 06:38:34 + START_PACKAGES=/tmp/packages_start.txt 06:38:34 + END_PACKAGES=/tmp/packages_end.txt 06:38:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:38:34 + PACKAGES=/tmp/packages_start.txt 06:38:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 06:38:34 + PACKAGES=/tmp/packages_end.txt 06:38:34 + case "${OS_FAMILY}" in 06:38:34 + rpm -qa 06:38:34 + sort 06:38:40 + '[' -f /tmp/packages_start.txt ']' 06:38:40 + '[' -f /tmp/packages_end.txt ']' 06:38:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:38:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 06:38:40 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 06:38:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 06:38:40 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 06:38:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:38:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:38:40 06:38:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:38:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:38:41 alpine: Pulling from edgex-lftools-log-publisher 06:38:41 df20fa9351a1: Pulling fs layer 06:38:41 36b3adc4ff6f: Pulling fs layer 06:38:41 8ad3a11d3b57: Pulling fs layer 06:38:41 46f8f816bc3b: Pulling fs layer 06:38:41 93b61091891f: Pulling fs layer 06:38:41 93b9cdb0e59b: Pulling fs layer 06:38:41 5e14af77c1be: Pulling fs layer 06:38:41 01666e4c0597: Pulling fs layer 06:38:41 aa168da1d23b: Pulling fs layer 06:38:41 93b9cdb0e59b: Waiting 06:38:41 5e14af77c1be: Waiting 06:38:41 46f8f816bc3b: Waiting 06:38:41 01666e4c0597: Waiting 06:38:41 aa168da1d23b: Waiting 06:38:41 93b61091891f: Waiting 06:38:41 36b3adc4ff6f: Verifying Checksum 06:38:41 36b3adc4ff6f: Download complete 06:38:41 46f8f816bc3b: Verifying Checksum 06:38:41 46f8f816bc3b: Download complete 06:38:41 df20fa9351a1: Verifying Checksum 06:38:41 df20fa9351a1: Download complete 06:38:41 93b9cdb0e59b: Verifying Checksum 06:38:41 93b9cdb0e59b: Download complete 06:38:41 5e14af77c1be: Verifying Checksum 06:38:41 5e14af77c1be: Download complete 06:38:41 01666e4c0597: Verifying Checksum 06:38:41 01666e4c0597: Download complete 06:38:41 93b61091891f: Verifying Checksum 06:38:41 93b61091891f: Download complete 06:38:41 8ad3a11d3b57: Verifying Checksum 06:38:41 8ad3a11d3b57: Download complete 06:38:41 df20fa9351a1: Pull complete 06:38:41 36b3adc4ff6f: Pull complete 06:38:43 8ad3a11d3b57: Pull complete 06:38:43 46f8f816bc3b: Pull complete 06:38:43 aa168da1d23b: Verifying Checksum 06:38:43 aa168da1d23b: Download complete 06:38:44 93b61091891f: Pull complete 06:38:44 93b9cdb0e59b: Pull complete 06:38:44 5e14af77c1be: Pull complete 06:38:44 01666e4c0597: Pull complete 06:38:52 aa168da1d23b: Pull complete 06:38:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:38:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:38:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:38:53 prd-centos7-docker-4c-2g-33269 does not seem to be running inside a container 06:38:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:38:56 $ docker top e4ecdd402a350ac3b9365f2f75e9d51173d495b9427f898f19c6ef6ef675c5ff -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:56 + touch /tmp/pre-build-complete [Pipeline] sh 06:38:56 + mkdir -p /var/log/sa [Pipeline] sh 06:38:57 + ls /var/log/sa-host 06:38:57 + sadf -c /var/log/sa-host/sa08 06:38:57 file_magic: OK 06:38:57 HZ: Using current value: 100 06:38:57 file_header: OK 06:38:57 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 06:38:57 Statistics: 06:38:57 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... 06:38:57 File successfully converted to sysstat format version 12.2.1 06:38:57 + sadf -c /var/log/sa-host/sa23 06:38:57 file_magic: OK 06:38:57 HZ: Using current value: 100 06:38:57 file_header: OK 06:38:57 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 06:38:57 Statistics: 06:38:57 Hnuu...uuuununununu... 06:38:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:38:57 provisioning config files... 06:38:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3684326677415114980tmp [Pipeline] { [Pipeline] echo 06:38:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:38:58 ---> create-netrc.sh [Pipeline] } 06:38:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:38:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:38:58 ---> python-tools-install.sh [Pipeline] echo 06:38:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:38:59 ---> sudo-logs.sh 06:38:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:38:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:38:59 ---> job-cost.sh 06:38:59 lf-activate-venv: SKIPPING 06:38:59 DEBUG: total: 0.029999999329447746 06:38:59 INFO: Retrieving Stack Cost... 06:39:00 INFO: Retrieving Pricing Info for: v1-standard-2 06:39:00 INFO: Archiving Costs [Pipeline] echo 06:39:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:39:01 ---> logs-deploy.sh 06:39:01 lf-activate-venv: SKIPPING 06:39:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/144 06:39:01 INFO: archiving workspace using pattern(s): 06:39:03 Archives upload complete. 06:39:03 INFO: archiving logs to Nexus