Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 00c5ba735e55045c2b436cba75d2b8d60948dbc8 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-33112 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 00c5ba735e55045c2b436cba75d2b8d60948dbc8 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 Commit message: "Merge pull request #864 from lenny-intel/config-version" > git rev-list --no-walk 7565948cf2a22d3fef01b48e9653f9446226441c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:14:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:14:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:14:39 ========================================================= 04:14:39 EdgeX Global Pipelines Version Info 04:14:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:14:43 ------------------- 04:14:43 stable info: 04:14:43 ------------------- 04:14:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:14:43 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 04:14:43 Message: update stable to v1.0.186 04:14:44 ------------------- 04:14:44 experimental info: 04:14:44 ------------------- 04:14:44 Commited By: **** collab-it+edgex@linuxfoundation.org 04:14:44 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 04:14:44 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:14:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:14:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:14:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:14:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:14:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:14:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 04:14:45 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:14:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 04:14:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:14:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:14:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:14:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 04:14:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:14:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:14:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:14:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:14:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:14:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:14:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:14:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:14:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:14:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 04:14:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:14:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:14:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:14:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:14:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 04:14:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 04:14:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 04:14:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00c5ba735e55045c2b436cba75d2b8d60948dbc8 [Pipeline] echo 04:14:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00c5ba7 [Pipeline] echo 04:14:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:14:48 provisioning config files... 04:14:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2222285976684339453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:49 ---> docker-login.sh 04:14:49 nexus3.edgexfoundry.org:10001 04:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:50 Configure a credential helper to remove this warning. See 04:14:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:50 04:14:50 Login Succeeded 04:14:50 nexus3.edgexfoundry.org:10002 04:14:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:51 Configure a credential helper to remove this warning. See 04:14:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:51 04:14:51 Login Succeeded 04:14:51 nexus3.edgexfoundry.org:10003 04:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:52 Configure a credential helper to remove this warning. See 04:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:52 04:14:52 Login Succeeded 04:14:52 nexus3.edgexfoundry.org:10004 04:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:53 Configure a credential helper to remove this warning. See 04:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:53 04:14:53 Login Succeeded 04:14:53 docker.io 04:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:54 Configure a credential helper to remove this warning. See 04:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:54 04:14:54 Login Succeeded 04:14:54 ---> docker-login.sh ends [Pipeline] } 04:14:54 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 04:14:55 + git log --format=format:%s -1 00c5ba735e55045c2b436cba75d2b8d60948dbc8 [Pipeline] echo 04:14:55 GIT_COMMIT: 00c5ba735e55045c2b436cba75d2b8d60948dbc8, Commit Message: Merge pull request #864 from lenny-intel/config-version [Pipeline] echo 04:14:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:14:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:14:56 04:14:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:14:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:14:57 latest: Pulling from edgex-devops/git-semver 04:14:57 31603596830f: Pulling fs layer 04:14:57 2a8b12db71e7: Pulling fs layer 04:14:57 6ca5941a6612: Pulling fs layer 04:14:57 ecc8261a40a4: Pulling fs layer 04:14:57 ecc8261a40a4: Waiting 04:14:57 2a8b12db71e7: Verifying Checksum 04:14:57 2a8b12db71e7: Download complete 04:14:57 31603596830f: Verifying Checksum 04:14:57 31603596830f: Download complete 04:14:58 ecc8261a40a4: Download complete 04:14:59 6ca5941a6612: Verifying Checksum 04:14:59 6ca5941a6612: Download complete 04:14:59 31603596830f: Pull complete 04:14:59 2a8b12db71e7: Pull complete 04:15:02 6ca5941a6612: Pull complete 04:15:03 ecc8261a40a4: Pull complete 04:15:03 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:15:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:15:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:15:04 prd-centos7-docker-4c-2g-33112 does not seem to be running inside a container 04:15:05 $ 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 04:15:08 $ docker top d873261082a0ed3bd8221bfe797859649501dc10a701a9a3566085c068631e20 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:15:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:09 [ssh-agent] Looking for ssh-agent implementation... 04:15:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:10 $ docker exec d873261082a0ed3bd8221bfe797859649501dc10a701a9a3566085c068631e20 ssh-agent 04:15:11 SSH_AUTH_SOCK=/tmp/ssh-F8G6ZJUZoYPC/agent.12 04:15:11 SSH_AGENT_PID=17 04:15:11 Running ssh-add (command line suppressed) 04:15:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3734932355790125060.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3734932355790125060.key) 04:15:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:13 + git tag --points-at HEAD [Pipeline] } 04:15:13 $ docker exec --env ******** --env ******** d873261082a0ed3bd8221bfe797859649501dc10a701a9a3566085c068631e20 ssh-agent -k 04:15:14 unset SSH_AUTH_SOCK; 04:15:14 unset SSH_AGENT_PID; 04:15:14 echo Agent pid 17 killed; 04:15:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:15:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:15 [ssh-agent] Looking for ssh-agent implementation... 04:15:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:16 $ docker exec d873261082a0ed3bd8221bfe797859649501dc10a701a9a3566085c068631e20 ssh-agent 04:15:16 SSH_AUTH_SOCK=/tmp/ssh-pcWIEi6o1y6E/agent.45 04:15:16 SSH_AGENT_PID=50 04:15:16 Running ssh-add (command line suppressed) 04:15:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4299656342760387171.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4299656342760387171.key) 04:15:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:18 + git semver init 04:15:18 # -> Open(): unable to determine branch for HEAD 04:15:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 04:15:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 04:15:18 # $SEMVER_REMOTE_NAME = origin 04:15:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:15:18 # $SEMVER_USER_NAME = edgex-jenkins 04:15:18 # $SEMVER_BRANCH = master 04:15:18 # $SEMVER_TEMP = /tmp/semver-182880953 04:15:18 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:15:20 # '/tmp/semver-182880953' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 04:15:20 # -> Force: false 04:15:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 04:15:20 $ docker exec --env ******** --env ******** d873261082a0ed3bd8221bfe797859649501dc10a701a9a3566085c068631e20 ssh-agent -k 04:15:21 unset SSH_AUTH_SOCK; 04:15:21 unset SSH_AGENT_PID; 04:15:21 echo Agent pid 50 killed; 04:15:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:15:23 + git semver [Pipeline] } 04:15:23 $ docker stop --time=1 d873261082a0ed3bd8221bfe797859649501dc10a701a9a3566085c068631e20 04:15:26 $ docker rm -f d873261082a0ed3bd8221bfe797859649501dc10a701a9a3566085c068631e20 [Pipeline] // withDockerContainer [Pipeline] sh 04:15:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:15:27 Stashed 1 file(s) [Pipeline] echo 04:15:27 [edgeXSemver]: initialized semver on version 2.0.0-dev.38 [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 04:15:43 Still waiting to schedule task 04:15:43 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:15:43 Still waiting to schedule task 04:15:43 ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ is offline 04:17:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-33113 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 04:17:27 Running in /w/workspace/device-sdk-go/143 [Pipeline] { [Pipeline] checkout 04:17:32 using credential edgex-jenkins-ssh 04:17:32 Cloning the remote Git repository 04:17:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:17:32 > git init /w/workspace/device-sdk-go/143 # timeout=10 04:17:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:17:32 > git --version # timeout=10 04:17:32 > git --version # 'git version 2.17.1' 04:17:32 using GIT_SSH to set credentials SSH Credentials for GitHub 04:17:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:17:34 Checking out Revision 00c5ba735e55045c2b436cba75d2b8d60948dbc8 (master) 04:17:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:17:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:17:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:17:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:17:34 using GIT_SSH to set credentials SSH Credentials for GitHub 04:17:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 04:17:34 > git config core.sparsecheckout # timeout=10 04:17:34 > git checkout -f 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 04:17:39 Commit message: "Merge pull request #864 from lenny-intel/config-version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:17:40 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:17:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:17:41 + true 04:17:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:17:44 provisioning config files... 04:17:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/143@tmp/config50485605185972959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:44 ---> docker-login.sh 04:17:44 nexus3.edgexfoundry.org:10001 04:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:46 Configure a credential helper to remove this warning. See 04:17:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:46 04:17:46 Login Succeeded 04:17:46 nexus3.edgexfoundry.org:10002 04:17:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:46 Configure a credential helper to remove this warning. See 04:17:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:46 04:17:46 Login Succeeded 04:17:46 nexus3.edgexfoundry.org:10003 04:17:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:47 Configure a credential helper to remove this warning. See 04:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:47 04:17:47 Login Succeeded 04:17:47 nexus3.edgexfoundry.org:10004 04:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:47 Configure a credential helper to remove this warning. See 04:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:47 04:17:47 Login Succeeded 04:17:47 docker.io 04:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:48 Configure a credential helper to remove this warning. See 04:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:48 04:17:48 Login Succeeded 04:17:48 ---> docker-login.sh ends [Pipeline] } 04:17:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:17:48 ========================================================= 04:17:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:17:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:17:49 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 04:17:49 Sending build context to Docker daemon 2.386MB 04:17:49 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:17:49 Step 2/8 : FROM ${BASE} 04:17:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:17:49 5f621e34cdf4: Pulling fs layer 04:17:49 a4357932f1b6: Pulling fs layer 04:17:49 18c013af1878: Pulling fs layer 04:17:49 00ac8860ef70: Pulling fs layer 04:17:49 63d7cb157983: Pulling fs layer 04:17:49 b116817d02f9: Pulling fs layer 04:17:49 745a02a5169b: Pulling fs layer 04:17:49 00ac8860ef70: Waiting 04:17:49 63d7cb157983: Waiting 04:17:49 b116817d02f9: Waiting 04:17:49 745a02a5169b: Waiting 04:17:49 18c013af1878: Verifying Checksum 04:17:49 18c013af1878: Download complete 04:17:49 a4357932f1b6: Verifying Checksum 04:17:49 a4357932f1b6: Download complete 04:17:49 63d7cb157983: Download complete 04:17:49 b116817d02f9: Verifying Checksum 04:17:49 b116817d02f9: Download complete 04:17:49 5f621e34cdf4: Verifying Checksum 04:17:49 5f621e34cdf4: Download complete 04:17:50 5f621e34cdf4: Pull complete 04:17:50 a4357932f1b6: Pull complete 04:17:51 18c013af1878: Pull complete 04:17:52 745a02a5169b: Verifying Checksum 04:17:52 745a02a5169b: Download complete 04:17:53 00ac8860ef70: Verifying Checksum 04:17:53 00ac8860ef70: Download complete 04:18:03 00ac8860ef70: Pull complete 04:18:03 63d7cb157983: Pull complete 04:18:04 b116817d02f9: Pull complete 04:18:08 745a02a5169b: Pull complete 04:18:08 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 04:18:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:18:08 ---> b7e6874047d6 04:18:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:18:11 ---> Running in b0d8dba412da 04:18:11 Removing intermediate container b0d8dba412da 04:18:11 ---> a26f22301d91 04:18:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:18:11 ---> Running in cd41481c53cd 04:18:14 Removing intermediate container cd41481c53cd 04:18:14 ---> 2fb5eb8bb870 04:18:14 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 04:18:14 ---> Running in 5c1b6ed3493d 04:18:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:18:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:18:17 (1/6) Installing libc-dev (0.7.2-r3) 04:18:17 (2/6) Installing libsodium (1.0.18-r0) 04:18:17 (3/6) Installing pkgconf (1.7.2-r0) 04:18:17 (4/6) Installing libsodium-dev (1.0.18-r0) 04:18:17 (5/6) Installing libzmq (4.3.3-r0) 04:18:17 (6/6) Installing zeromq-dev (4.3.3-r0) 04:18:17 Executing busybox-1.31.1-r19.trigger 04:18:17 OK: 144 MiB in 45 packages 04:18:17 Running on prd-centos7-docker-4c-2g-33114 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 04:18:17 Running in /w/workspace/device-sdk-go/143 [Pipeline] { [Pipeline] checkout 04:18:18 Removing intermediate container 5c1b6ed3493d 04:18:18 ---> d6d93c7e3dbb 04:18:18 Step 6/8 : WORKDIR /device-sdk-go 04:18:18 ---> Running in a119fa9e62a5 04:18:19 Removing intermediate container a119fa9e62a5 04:18:19 ---> 3768d24f2810 04:18:19 Step 7/8 : COPY . . 04:18:20 using credential edgex-jenkins-ssh 04:18:20 Cloning the remote Git repository 04:18:20 ---> 11a6d4f0407a 04:18:20 Step 8/8 : RUN go mod download 04:18:20 ---> Running in 244ddc503f8e 04:18:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:18:19 > git init /w/workspace/device-sdk-go/143 # timeout=10 04:18:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:18:20 > git --version # timeout=10 04:18:20 > git --version # 'git version 2.24.3' 04:18:20 using GIT_SSH to set credentials SSH Credentials for GitHub 04:18:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:18:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:18:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:18:21 Checking out Revision 00c5ba735e55045c2b436cba75d2b8d60948dbc8 (master) 04:18:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:18:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:18:20 using GIT_SSH to set credentials SSH Credentials for GitHub 04:18:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 04:18:21 > git config core.sparsecheckout # timeout=10 04:18:21 > git checkout -f 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 04:18:25 Commit message: "Merge pull request #864 from lenny-intel/config-version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:18:26 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:18:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:18:26 + sudo service docker restart 04:18:26 + true 04:18:26 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:18:27 provisioning config files... 04:18:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/143@tmp/config6108335851744209638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:28 ---> docker-login.sh 04:18:28 nexus3.edgexfoundry.org:10001 04:18:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:28 Configure a credential helper to remove this warning. See 04:18:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:28 04:18:28 Login Succeeded 04:18:28 nexus3.edgexfoundry.org:10002 04:18:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:28 Configure a credential helper to remove this warning. See 04:18:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:28 04:18:28 Login Succeeded 04:18:28 nexus3.edgexfoundry.org:10003 04:18:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:29 Configure a credential helper to remove this warning. See 04:18:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:29 04:18:29 Login Succeeded 04:18:29 nexus3.edgexfoundry.org:10004 04:18:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:29 Configure a credential helper to remove this warning. See 04:18:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:29 04:18:29 Login Succeeded 04:18:29 docker.io 04:18:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:29 Configure a credential helper to remove this warning. See 04:18:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:29 04:18:29 Login Succeeded 04:18:29 ---> docker-login.sh ends [Pipeline] } 04:18:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:18:29 ========================================================= 04:18:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:18:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:18:30 + 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 . 04:18:30 Sending build context to Docker daemon 2.376MB 04:18:30 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:18:30 Step 2/8 : FROM ${BASE} 04:18:30 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:18:30 188c0c94c7c5: Pulling fs layer 04:18:30 0ef7d3d256c8: Pulling fs layer 04:18:30 de9db76c5a1d: Pulling fs layer 04:18:30 bca2f99d35d6: Pulling fs layer 04:18:30 93359f2a8cfa: Pulling fs layer 04:18:30 7c6f9722023f: Pulling fs layer 04:18:30 a35cf1a2eb13: Pulling fs layer 04:18:30 bca2f99d35d6: Waiting 04:18:30 93359f2a8cfa: Waiting 04:18:30 7c6f9722023f: Waiting 04:18:30 a35cf1a2eb13: Waiting 04:18:30 de9db76c5a1d: Verifying Checksum 04:18:30 de9db76c5a1d: Download complete 04:18:30 0ef7d3d256c8: Verifying Checksum 04:18:30 0ef7d3d256c8: Download complete 04:18:30 93359f2a8cfa: Verifying Checksum 04:18:30 93359f2a8cfa: Download complete 04:18:30 188c0c94c7c5: Verifying Checksum 04:18:30 188c0c94c7c5: Download complete 04:18:30 7c6f9722023f: Verifying Checksum 04:18:30 7c6f9722023f: Download complete 04:18:30 188c0c94c7c5: Pull complete 04:18:31 0ef7d3d256c8: Pull complete 04:18:31 de9db76c5a1d: Pull complete 04:18:31 a35cf1a2eb13: Verifying Checksum 04:18:31 a35cf1a2eb13: Download complete 04:18:32 bca2f99d35d6: Verifying Checksum 04:18:32 bca2f99d35d6: Download complete 04:18:38 bca2f99d35d6: Pull complete 04:18:38 93359f2a8cfa: Pull complete 04:18:38 7c6f9722023f: Pull complete 04:18:44 a35cf1a2eb13: Pull complete 04:18:44 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 04:18:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:18:44 ---> a62c8e92a672 04:18:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:18:44 ---> Running in b0059148d485 04:18:45 Removing intermediate container b0059148d485 04:18:45 ---> a061fee6c862 04:18:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:18:45 ---> Running in 23d87f5e38c3 04:18:46 Removing intermediate container 23d87f5e38c3 04:18:46 ---> 82ba9ecfe058 04:18:46 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 04:18:46 ---> Running in ea9835bc4b3d 04:18:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:18:47 Removing intermediate container 244ddc503f8e 04:18:47 ---> f0306f802939 04:18:47 Successfully built f0306f802939 04:18:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:18:48 + docker inspect -f . ci-base-image-arm64 04:18:48 . [Pipeline] withDockerContainer 04:18:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:18:48 prd-ubuntu18.04-docker-arm64-4c-16g-33113 does not seem to be running inside a container 04:18:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/143 -v /w/workspace/device-sdk-go/143:/w/workspace/device-sdk-go/143:rw,z -v /w/workspace/device-sdk-go/143@tmp:/w/workspace/device-sdk-go/143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:18:48 (1/6) Installing libc-dev (0.7.2-r3) 04:18:48 (2/6) Installing libsodium (1.0.18-r0) 04:18:48 (3/6) Installing pkgconf (1.7.2-r0) 04:18:48 (4/6) Installing libsodium-dev (1.0.18-r0) 04:18:48 (5/6) Installing libzmq (4.3.3-r0) 04:18:48 (6/6) Installing zeromq-dev (4.3.3-r0) 04:18:48 Executing busybox-1.31.1-r19.trigger 04:18:48 OK: 167 MiB in 45 packages 04:18:49 Removing intermediate container ea9835bc4b3d 04:18:49 ---> 4c046ff5ff9b 04:18:49 Step 6/8 : WORKDIR /device-sdk-go 04:18:49 ---> Running in 8bf04738e490 04:18:49 Removing intermediate container 8bf04738e490 04:18:49 ---> 53d9e2873987 04:18:49 Step 7/8 : COPY . . 04:18:49 $ docker top 34fa859d24fb2fbc64062a717ce7f7abdd0e53a73b0c758b478509e602062093 -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:50 + go version 04:18:50 go version go1.15.5 linux/arm64 [Pipeline] } 04:18:51 $ docker stop --time=1 34fa859d24fb2fbc64062a717ce7f7abdd0e53a73b0c758b478509e602062093 04:18:51 ---> 24433cf679f3 04:18:51 Step 8/8 : RUN go mod download 04:18:51 ---> Running in 4537518f307d 04:18:52 $ docker rm -f 34fa859d24fb2fbc64062a717ce7f7abdd0e53a73b0c758b478509e602062093 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:18:53 + docker inspect -f . ci-base-image-arm64 04:18:53 . [Pipeline] withDockerContainer 04:18:54 prd-ubuntu18.04-docker-arm64-4c-16g-33113 does not seem to be running inside a container 04:18:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/143 -v /w/workspace/device-sdk-go/143:/w/workspace/device-sdk-go/143:rw,z -v /w/workspace/device-sdk-go/143@tmp:/w/workspace/device-sdk-go/143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:18:55 $ docker top f8d07918f0b8d454e5298e72224239c135a43292c15296acfb86188c0cc5580d -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:56 + make test 04:18:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:19:13 Removing intermediate container 4537518f307d 04:19:13 ---> 8bb4ff29ef5b 04:19:13 Successfully built 8bb4ff29ef5b 04:19:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:19:13 + docker inspect -f . ci-base-image-x86_64 04:19:13 . [Pipeline] withDockerContainer 04:19:13 prd-centos7-docker-4c-2g-33114 does not seem to be running inside a container 04:19:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/143 -v /w/workspace/device-sdk-go/143:/w/workspace/device-sdk-go/143:rw,z -v /w/workspace/device-sdk-go/143@tmp:/w/workspace/device-sdk-go/143@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 04:19:15 $ docker top 868b271774e7292a545d226267589e04aff3f4971a0e6f6f79448afcfd7b87d9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:15 + go version 04:19:15 go version go1.15.5 linux/amd64 [Pipeline] } 04:19:15 $ docker stop --time=1 868b271774e7292a545d226267589e04aff3f4971a0e6f6f79448afcfd7b87d9 04:19:17 $ docker rm -f 868b271774e7292a545d226267589e04aff3f4971a0e6f6f79448afcfd7b87d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:19:18 + docker inspect -f . ci-base-image-x86_64 04:19:18 . [Pipeline] withDockerContainer 04:19:18 prd-centos7-docker-4c-2g-33114 does not seem to be running inside a container 04:19:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/143 -v /w/workspace/device-sdk-go/143:/w/workspace/device-sdk-go/143:rw,z -v /w/workspace/device-sdk-go/143@tmp:/w/workspace/device-sdk-go/143@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 04:19:18 $ docker top 2b2ee919bd92957d0fc6afef2fcfc091d07c9613ae5ba37d3a55a8656ace9e5d -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:19:19 + make test 04:19:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:19:27 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:19:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:19:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:19:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:19:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:19:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:19:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 28.1% of statements 04:19:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements 04:19:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.071s coverage: 7.8% of statements 04:19:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:19:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:19:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:19:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.087s coverage: 32.5% of statements 04:19:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:19:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:19:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:19:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 57.3% of statements 04:19:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.169s coverage: 6.6% of statements 04:19:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 04:19:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:19:50 GO111MODULE=on go vet ./... 04:20:05 gofmt -l . 04:20:05 [ "`gofmt -l .`" = "" ] 04:20:05 ./bin/test-attribution-txt.sh 04:20:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:20:06 $ docker stop --time=1 2b2ee919bd92957d0fc6afef2fcfc091d07c9613ae5ba37d3a55a8656ace9e5d 04:20:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:20:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:20:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:20:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:20:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:20:07 $ docker rm -f 2b2ee919bd92957d0fc6afef2fcfc091d07c9613ae5ba37d3a55a8656ace9e5d [Pipeline] // withDockerContainer [Pipeline] sh 04:20:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:20:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:20:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:20:11 + ls -al . 04:20:11 total 188 04:20:11 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 7 04:20 . 04:20:11 drwxrwxr-x. 4 jenkins jenkins 32 Apr 7 04:18 .. 04:20:11 drwxrwxr-x. 2 jenkins jenkins 64 Apr 7 04:18 bin 04:20:11 -rw-r--r--. 1 jenkins jenkins 99189 Apr 7 04:19 coverage.out 04:20:11 -rw-rw-r--. 1 jenkins jenkins 987 Apr 7 04:18 Dockerfile.build 04:20:11 -rw-rw-r--. 1 jenkins jenkins 140 Apr 7 04:18 .dockerignore 04:20:11 drwxrwxr-x. 5 jenkins jenkins 62 Apr 7 04:18 example 04:20:11 drwxrwxr-x. 8 jenkins jenkins 162 Apr 7 04:18 .git 04:20:11 drwxrwxr-x. 2 jenkins jenkins 103 Apr 7 04:18 .github 04:20:11 -rw-rw-r--. 1 jenkins jenkins 138 Apr 7 04:18 .gitignore 04:20:11 -rw-r--r--. 1 jenkins jenkins 572 Apr 7 04:20 go.mod 04:20:11 -rw-r--r--. 1 jenkins jenkins 20946 Apr 7 04:20 go.sum 04:20:11 drwxrwxr-x. 14 jenkins jenkins 207 Apr 7 04:18 internal 04:20:11 -rw-rw-r--. 1 jenkins jenkins 901 Apr 7 04:18 Jenkinsfile 04:20:11 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 7 04:18 LICENSE 04:20:11 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 7 04:18 Makefile 04:20:11 drwxrwxr-x. 4 jenkins jenkins 26 Apr 7 04:18 openapi 04:20:11 drwxrwxr-x. 5 jenkins jenkins 50 Apr 7 04:18 pkg 04:20:11 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 7 04:18 README.md 04:20:11 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 7 04:18 RELEASE-NOTES.txt 04:20:11 drwxrwxr-x. 4 jenkins jenkins 54 Apr 7 04:18 snap 04:20:11 -rw-rw-r--. 1 jenkins jenkins 12 Apr 7 04:15 VERSION 04:20:11 -rw-rw-r--. 1 jenkins jenkins 222 Apr 7 04:18 version.go [Pipeline] isUnix [Pipeline] sh 04:20:12 + 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=00c5ba735e55045c2b436cba75d2b8d60948dbc8 --label arch=amd64 --label version=2.0.0-dev.38 . 04:20:12 Sending build context to Docker daemon 2.476MB 04:20:12 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 04:20:12 Step 2/23 : FROM ${BASE} AS builder 04:20:12 ---> 8bb4ff29ef5b 04:20:12 Step 3/23 : WORKDIR /device-sdk-go 04:20:12 ---> Running in 1c9cd5dd32f1 04:20:13 Removing intermediate container 1c9cd5dd32f1 04:20:13 ---> 56ed485fbcef 04:20:13 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:20:13 ---> Running in b1f2fe4ca26c 04:20:13 Removing intermediate container b1f2fe4ca26c 04:20:13 ---> 28ec912406bb 04:20:13 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:20:13 ---> Running in bf3fa03e4184 04:20:14 Removing intermediate container bf3fa03e4184 04:20:14 ---> 9c79027fa2e2 04:20:14 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:20:14 ---> Running in d403f3af9da6 04:20:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:20:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:20:16 OK: 167 MiB in 45 packages 04:20:16 Removing intermediate container d403f3af9da6 04:20:16 ---> 7a0752070def 04:20:16 Step 7/23 : COPY . . 04:20:17 ---> 630935805313 04:20:17 Step 8/23 : RUN go mod download 04:20:17 ---> Running in 8bec9f5000ad 04:20:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.139s coverage: 28.1% of statements 04:20:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.172s coverage: 78.9% of statements 04:20:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.171s coverage: 7.8% of statements 04:20:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:20:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:20:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:20:18 Removing intermediate container 8bec9f5000ad 04:20:18 ---> 34628b1fdaa0 04:20:18 Step 9/23 : RUN make build 04:20:18 ---> Running in b41597a504a9 04:20:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.38" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:20:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.267s coverage: 32.5% of statements 04:20:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:20:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:20:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:20:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.285s coverage: 57.3% of statements 04:20:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.057s coverage: 6.6% of statements 04:20:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.146s coverage: 5.0% of statements 04:20:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:20:24 GO111MODULE=on go vet ./... 04:20:29 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:20:31 Removing intermediate container b41597a504a9 04:20:31 ---> d4db55d4328c 04:20:31 Step 10/23 : FROM alpine:3.12 04:20:31 3.12: Pulling from library/alpine 04:20:31 532819f3e44c: Pulling fs layer 04:20:32 532819f3e44c: Verifying Checksum 04:20:32 532819f3e44c: Download complete 04:20:32 532819f3e44c: Pull complete 04:20:32 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 04:20:32 Status: Downloaded newer image for alpine:3.12 04:20:32 ---> 7230e588e954 04:20:32 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:20:32 ---> Running in 095cf6f499bc 04:20:32 Removing intermediate container 095cf6f499bc 04:20:32 ---> 4a8fb362b255 04:20:32 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:20:32 ---> Running in 64c081d4d0da 04:20:33 Removing intermediate container 64c081d4d0da 04:20:33 ---> 7035a2d134ec 04:20:33 Step 13/23 : RUN apk add --update --no-cache zeromq 04:20:33 ---> Running in e32c94cb1866 04:20:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:20:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:20:34 (1/5) Installing libgcc (9.3.0-r2) 04:20:35 (2/5) Installing libsodium (1.0.18-r0) 04:20:35 (3/5) Installing libstdc++ (9.3.0-r2) 04:20:35 (4/5) Installing libzmq (4.3.3-r0) 04:20:35 (5/5) Installing zeromq (4.3.3-r0) 04:20:35 Executing busybox-1.31.1-r20.trigger 04:20:35 OK: 8 MiB in 19 packages 04:20:36 Removing intermediate container e32c94cb1866 04:20:36 ---> 176f13c5e8bc 04:20:36 Step 14/23 : WORKDIR / 04:20:36 ---> Running in c96152800db0 04:20:36 Removing intermediate container c96152800db0 04:20:36 ---> 6edc44e1f7ac 04:20:36 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:20:36 ---> 20f8abe23ffc 04:20:36 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:20:37 ---> 6b3456b6fafc 04:20:37 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:20:37 ---> 4a5596b58a17 04:20:37 Step 18/23 : EXPOSE 49990 04:20:37 ---> Running in c11faf54b14f 04:20:37 Removing intermediate container c11faf54b14f 04:20:37 ---> 931d2fc57d4a 04:20:37 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:20:37 ---> Running in c0e4a87d7397 04:20:37 Removing intermediate container c0e4a87d7397 04:20:37 ---> 4e499d9e8b49 04:20:37 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:20:38 ---> Running in 039c03d93cce 04:20:38 Removing intermediate container 039c03d93cce 04:20:38 ---> add09c44d910 04:20:38 Step 21/23 : LABEL arch=amd64 04:20:38 ---> Running in afad115969a3 04:20:38 Removing intermediate container afad115969a3 04:20:38 ---> c55c2504e748 04:20:38 Step 22/23 : LABEL git_sha=00c5ba735e55045c2b436cba75d2b8d60948dbc8 04:20:38 ---> Running in 22f7ae5b68bf 04:20:38 Removing intermediate container 22f7ae5b68bf 04:20:38 ---> 79fcd6547d1d 04:20:38 Step 23/23 : LABEL version=2.0.0-dev.38 04:20:38 ---> Running in bd3af36a19f9 04:20:39 Removing intermediate container bd3af36a19f9 04:20:39 ---> 1e416bf20ddd 04:20:39 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:20:39 Successfully built 1e416bf20ddd 04:20:39 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 04:20:40 ---> job-cost.sh 04:20:40 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6uvH 04:20:55 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:21:11 gofmt -l . 04:21:11 [ "`gofmt -l .`" = "" ] 04:21:11 ./bin/test-attribution-txt.sh 04:21:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:21:11 $ docker stop --time=1 f8d07918f0b8d454e5298e72224239c135a43292c15296acfb86188c0cc5580d 04:21:14 $ docker rm -f f8d07918f0b8d454e5298e72224239c135a43292c15296acfb86188c0cc5580d [Pipeline] // withDockerContainer [Pipeline] sh 04:21:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:21:15 Warning: overwriting stash ‘coverage-report’ 04:21:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:21:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:21:17 + ls -al . 04:21:17 total 224 04:21:17 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 04:21 . 04:21:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 04:17 .. 04:21:17 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 04:17 .dockerignore 04:21:17 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 04:17 .git 04:21:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 04:17 .github 04:21:17 -rw-rw-r-- 1 jenkins jenkins 138 Apr 7 04:17 .gitignore 04:21:17 -rw-rw-r-- 1 jenkins jenkins 987 Apr 7 04:17 Dockerfile.build 04:21:17 -rw-rw-r-- 1 jenkins jenkins 901 Apr 7 04:17 Jenkinsfile 04:21:17 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 7 04:17 LICENSE 04:21:17 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 7 04:17 Makefile 04:21:17 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 7 04:17 README.md 04:21:17 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 7 04:17 RELEASE-NOTES.txt 04:21:17 -rw-rw-r-- 1 jenkins jenkins 12 Apr 7 04:15 VERSION 04:21:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 04:17 bin 04:21:17 -rw-r--r-- 1 jenkins jenkins 99189 Apr 7 04:20 coverage.out 04:21:17 drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 04:17 example 04:21:17 -rw-r--r-- 1 jenkins jenkins 572 Apr 7 04:21 go.mod 04:21:17 -rw-r--r-- 1 jenkins jenkins 20946 Apr 7 04:21 go.sum 04:21:17 drwxrwxr-x 14 jenkins jenkins 4096 Apr 7 04:17 internal 04:21:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 04:17 openapi 04:21:17 drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 04:17 pkg 04:21:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 04:17 snap 04:21:17 -rw-rw-r-- 1 jenkins jenkins 222 Apr 7 04:17 version.go [Pipeline] isUnix [Pipeline] sh 04:21:17 + 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=00c5ba735e55045c2b436cba75d2b8d60948dbc8 --label arch=arm64 --label version=2.0.0-dev.38 . 04:21:17 Sending build context to Docker daemon 2.486MB 04:21:17 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 04:21:17 Step 2/23 : FROM ${BASE} AS builder 04:21:17 ---> f0306f802939 04:21:17 Step 3/23 : WORKDIR /device-sdk-go 04:21:18 ---> Running in ee9e59c71698 04:21:18 Removing intermediate container ee9e59c71698 04:21:18 ---> 941c06baf2ce 04:21:18 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:21:18 ---> Running in 32c6b8ceb59b 04:21:19 Removing intermediate container 32c6b8ceb59b 04:21:19 ---> 4cd9ae1ba04a 04:21:19 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:21:19 ---> Running in 2ad1dae32165 04:21:21 lf-activate-venv(): INFO: Adding /tmp/venv-6uvH/bin to PATH 04:21:21 INFO: No Stack... 04:21:21 INFO: Retrieving Pricing Info for: v1-standard-2 04:21:21 Removing intermediate container 2ad1dae32165 04:21:21 ---> b4891656d216 04:21:21 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:21:21 ---> Running in 1ca09453e3cb 04:21:21 INFO: Archiving Costs [Pipeline] sh 04:21:22 + cat /w/workspace/device-sdk-go/143/archives/cost.csv 04:21:22 + cut -d, -f6 [Pipeline] lock 04:21:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-143-stack-cost] 04:21:22 Resource [jenkins-edgexfoundry-device-sdk-go-master-143-stack-cost] did not exist. Created. 04:21:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-143-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:21:22 + echo total: 0.029999999329447746 [Pipeline] stash 04:21:22 Stashed 1 file(s) [Pipeline] } 04:21:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-143-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } 04:21:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:21:23 OK: 144 MiB in 45 packages 04:21:24 Removing intermediate container 1ca09453e3cb 04:21:24 ---> 53929bbac856 04:21:24 Step 7/23 : COPY . . 04:21:26 ---> d5fdb17725ea 04:21:26 Step 8/23 : RUN go mod download 04:21:26 ---> Running in 36854b115f19 04:21:28 Removing intermediate container 36854b115f19 04:21:28 ---> 8e1233e99a01 04:21:28 Step 9/23 : RUN make build 04:21:28 ---> Running in 0141c591bd7e 04:21:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.38" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:22:02 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:22:04 Removing intermediate container 0141c591bd7e 04:22:04 ---> da7a42de8bdf 04:22:04 Step 10/23 : FROM alpine:3.12 04:22:04 3.12: Pulling from library/alpine 04:22:05 9a219e8acc52: Pulling fs layer 04:22:05 9a219e8acc52: Verifying Checksum 04:22:05 9a219e8acc52: Download complete 04:22:05 9a219e8acc52: Pull complete 04:22:05 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 04:22:05 Status: Downloaded newer image for alpine:3.12 04:22:05 ---> d75e27dfc0a0 04:22:05 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:22:06 ---> Running in 63d64f7a53c6 04:22:06 Removing intermediate container 63d64f7a53c6 04:22:06 ---> ba0e8977a438 04:22:06 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:06 ---> Running in 13f4bc508391 04:22:08 Removing intermediate container 13f4bc508391 04:22:08 ---> bbd9f4ca53f0 04:22:08 Step 13/23 : RUN apk add --update --no-cache zeromq 04:22:08 ---> Running in efbf29b8e76b 04:22:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:22:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:22:11 (1/5) Installing libgcc (9.3.0-r2) 04:22:11 (2/5) Installing libsodium (1.0.18-r0) 04:22:11 (3/5) Installing libstdc++ (9.3.0-r2) 04:22:11 (4/5) Installing libzmq (4.3.3-r0) 04:22:11 (5/5) Installing zeromq (4.3.3-r0) 04:22:11 Executing busybox-1.31.1-r20.trigger 04:22:11 OK: 8 MiB in 19 packages 04:22:12 Removing intermediate container efbf29b8e76b 04:22:12 ---> d726674a29f5 04:22:12 Step 14/23 : WORKDIR / 04:22:13 ---> Running in b317c503d104 04:22:13 Removing intermediate container b317c503d104 04:22:13 ---> de6641c96dc1 04:22:13 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:22:14 ---> cfaef5d1121b 04:22:14 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:22:15 ---> 8dbade223be7 04:22:15 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:22:16 ---> 7b49b09d834a 04:22:16 Step 18/23 : EXPOSE 49990 04:22:16 ---> Running in 17391e34747a 04:22:16 Removing intermediate container 17391e34747a 04:22:16 ---> a5c8763b8018 04:22:16 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:22:16 ---> Running in 101a6b4f180d 04:22:17 Removing intermediate container 101a6b4f180d 04:22:17 ---> e946c84c2c1c 04:22:17 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:22:17 ---> Running in 3a6cd60434c6 04:22:17 Removing intermediate container 3a6cd60434c6 04:22:17 ---> b42e69583762 04:22:17 Step 21/23 : LABEL arch=arm64 04:22:18 ---> Running in 4c1c86632610 04:22:18 Removing intermediate container 4c1c86632610 04:22:18 ---> 41e49b6e73f0 04:22:18 Step 22/23 : LABEL git_sha=00c5ba735e55045c2b436cba75d2b8d60948dbc8 04:22:18 ---> Running in b225a5723342 04:22:19 Removing intermediate container b225a5723342 04:22:19 ---> 7169c0c47f15 04:22:19 Step 23/23 : LABEL version=2.0.0-dev.38 04:22:19 ---> Running in 86df3623639d 04:22:19 Removing intermediate container 86df3623639d 04:22:19 ---> 2ca04377d665 04:22:19 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:22:19 Successfully built 2ca04377d665 04:22:19 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 04:22:20 ---> job-cost.sh 04:22:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RYOR 04:22:59 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:24:36 lf-activate-venv(): INFO: Adding /tmp/venv-RYOR/bin to PATH 04:24:36 INFO: No Stack... 04:24:36 INFO: Retrieving Pricing Info for: lf-standard-4 04:24:36 INFO: Archiving Costs [Pipeline] sh 04:24:36 + cut -d, -f6 04:24:36 + cat /w/workspace/device-sdk-go/143/archives/cost.csv [Pipeline] lock 04:24:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-143-stack-cost] 04:24:36 Resource [jenkins-edgexfoundry-device-sdk-go-master-143-stack-cost] did not exist. Created. 04:24:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-143-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:24:37 /w/workspace/device-sdk-go/143@tmp/durable-f3eae012/script.sh: 1: /w/workspace/device-sdk-go/143@tmp/durable-f3eae012/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:24:37 + echo total: 0.20999999344348907 [Pipeline] stash 04:24:37 Warning: overwriting stash ‘stack-cost’ 04:24:37 Stashed 1 file(s) [Pipeline] } 04:24:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-143-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 04:24:39 provisioning config files... 04:24:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8715038974074095599tmp [Pipeline] { [Pipeline] sh 04:24:40 + set +x 04:24:40 + curl -s https://codecov.io/bash 04:24:40 + bash -s -- 04:24:41 04:24:41 _____ _ 04:24:41 / ____| | | 04:24:41 | | ___ __| | ___ ___ _____ __ 04:24:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:24:41 | |___| (_) | (_| | __/ (_| (_) \ V / 04:24:41 \_____\___/ \__,_|\___|\___\___/ \_/ 04:24:41 Bash-20210309-2b87ace 04:24:41 04:24:41 04:24:41 ==> git version 2.24.3 found 04:24:41 ==> 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 04:24:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:24:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:24:41 ==> Jenkins CI detected. 04:24:41 project root: . 04:24:41 --> token set from env 04:24:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:24:41 ==> Running gcov in . (disable via -X gcov) 04:24:41 ==> Python coveragepy not found 04:24:41 ==> Searching for coverage reports in: 04:24:41 + . 04:24:41 -> Found 1 reports 04:24:41 ==> Detecting git/mercurial file structure 04:24:41 ==> Reading reports 04:24:41 + ./coverage.out bytes=99189 04:24:41 ==> Appending adjustments 04:24:41 https://docs.codecov.io/docs/fixing-reports 04:24:42 + Found adjustments 04:24:42 ==> Gzipping contents 04:24:42 16K /tmp/codecov.zMByYM.gz 04:24:42 ==> Uploading reports 04:24:42 url: https://codecov.io 04:24:42 query: branch=master&commit=00c5ba735e55045c2b436cba75d2b8d60948dbc8&build=143&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F143%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:24:42 -> Pinging Codecov 04:24:42 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=00c5ba735e55045c2b436cba75d2b8d60948dbc8&build=143&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F143%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:24:43 -> Uploading to 04:24:43 https://storage.googleapis.com/codecov/v4/raw/2021-04-07/7E55EF52A471D76F132DFD9A03CDDE97/00c5ba735e55045c2b436cba75d2b8d60948dbc8/60b96301-4a78-4c51-b1e0-3a9444591881.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210407T042442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=86030934177b86e741b6558b3b93e6dd7657987fcdec037fc80fb629d664c744 04:24:43 % Total % Received % Xferd Average Speed Time Time Time Current 04:24:43 Dload Upload Total Spent Left Speed 04:24:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13365 0 0 100 13365 0 21654 --:--:-- --:--:-- --:--:-- 21696 04:24:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/00c5ba735e55045c2b436cba75d2b8d60948dbc8 [Pipeline] } 04:24:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:24:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:24:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:24:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:24:45 04:24:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:24:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:24:47 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:24:47 188c0c94c7c5: Pulling fs layer 04:24:47 0ef7d3d256c8: Pulling fs layer 04:24:47 de9db76c5a1d: Pulling fs layer 04:24:47 0eba1c9be4d2: Pulling fs layer 04:24:47 0d57e429df01: Pulling fs layer 04:24:47 4e4be7b47b0d: Pulling fs layer 04:24:47 e1f770b5df2f: Pulling fs layer 04:24:47 85a0685a4137: Pulling fs layer 04:24:47 0eba1c9be4d2: Waiting 04:24:47 0d57e429df01: Waiting 04:24:47 4e4be7b47b0d: Waiting 04:24:47 e1f770b5df2f: Waiting 04:24:47 85a0685a4137: Waiting 04:24:47 de9db76c5a1d: Verifying Checksum 04:24:47 de9db76c5a1d: Download complete 04:24:47 0ef7d3d256c8: Verifying Checksum 04:24:47 0ef7d3d256c8: Download complete 04:24:47 0d57e429df01: Verifying Checksum 04:24:47 0d57e429df01: Download complete 04:24:47 4e4be7b47b0d: Verifying Checksum 04:24:47 4e4be7b47b0d: Download complete 04:24:47 188c0c94c7c5: Verifying Checksum 04:24:47 188c0c94c7c5: Download complete 04:24:49 188c0c94c7c5: Pull complete 04:24:49 0ef7d3d256c8: Pull complete 04:24:49 de9db76c5a1d: Pull complete 04:24:51 e1f770b5df2f: Verifying Checksum 04:24:51 e1f770b5df2f: Download complete 04:24:58 0eba1c9be4d2: Verifying Checksum 04:24:58 0eba1c9be4d2: Download complete 04:24:58 85a0685a4137: Verifying Checksum 04:24:58 85a0685a4137: Download complete 04:25:11 0eba1c9be4d2: Pull complete 04:25:11 0d57e429df01: Pull complete 04:25:11 4e4be7b47b0d: Pull complete 04:25:14 e1f770b5df2f: Pull complete 04:25:30 85a0685a4137: Pull complete 04:25:30 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:25:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:25:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:25:30 prd-centos7-docker-4c-2g-33112 does not seem to be running inside a container 04:25:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:25:34 $ docker top e725b29ad1c32ef1c31609f24db90ff8a19f462e6c1c6608608dc5d88c897982 -eo pid,comm [Pipeline] { [Pipeline] echo 04:25:34 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:25:36 + set -o pipefail 04:25:36 + snyk monitor '--org=edgex-jenkins' 04:25:59 04:25:59 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... 04:25:59 04:25:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/9c47c675-5905-4540-9faf-47532611d04e 04:25:59 04:25:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:25:59 04:25:59 04:25:59 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 04:25:59 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:25:59 $ docker stop --time=1 e725b29ad1c32ef1c31609f24db90ff8a19f462e6c1c6608608dc5d88c897982 04:26:03 $ docker rm -f e725b29ad1c32ef1c31609f24db90ff8a19f462e6c1c6608608dc5d88c897982 [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 04:26:05 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:05 provisioning config files... 04:26:05 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5541552763358492806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:06 --> edgex-publish-swagger.sh 04:26:06 === Publish openapi/v1 API === 04:26:06 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 04:26:06 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] 04:26:06 % Total % Received % Xferd Average Speed Time Time Time Current 04:26:06 Dload Upload Total Spent Left Speed 04:26:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 26183 --:--:-- --:--:-- --:--:-- 26211 100 19947 0 0 100 19947 0 26174 --:--:-- --:--:-- --:--:-- 26211 04:26:06 04:26:06 04:26:06 === Publish openapi/v2 API === 04:26:06 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 04:26:07 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] 04:26:07 % Total % Received % Xferd Average Speed Time Time Time Current 04:26:07 Dload Upload Total Spent Left Speed 04:26:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 74935 --:--:-- --:--:-- --:--:-- 75048 04:26:07 04:26:07 [Pipeline] } 04:26:07 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 04:26:08 + git log --format=format:%s -1 00c5ba735e55045c2b436cba75d2b8d60948dbc8 [Pipeline] isUnix [Pipeline] sh 04:26:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:26:09 . [Pipeline] withDockerContainer 04:26:09 prd-centos7-docker-4c-2g-33112 does not seem to be running inside a container 04:26:10 $ 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 04:26:12 $ docker top ad7cdf42577a72f50ffe744ef3b50a856042266f077fa6527e235b2005afbec0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:26:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:26:12 [ssh-agent] Looking for ssh-agent implementation... 04:26:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:26:13 $ docker exec ad7cdf42577a72f50ffe744ef3b50a856042266f077fa6527e235b2005afbec0 ssh-agent 04:26:14 SSH_AUTH_SOCK=/tmp/ssh-8LIAemXvAwLi/agent.12 04:26:14 SSH_AGENT_PID=17 04:26:14 Running ssh-add (command line suppressed) 04:26:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3825574890306919268.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3825574890306919268.key) 04:26:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:26:16 + git semver tag 04:26:16 # -> Open(): unable to determine branch for HEAD 04:26:16 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 04:26:16 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 04:26:16 # $SEMVER_REMOTE_NAME = origin 04:26:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:26:16 # $SEMVER_USER_NAME = edgex-jenkins 04:26:16 # $SEMVER_BRANCH = master 04:26:16 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 04:26:16 # 00c5ba735e55045c2b436cba75d2b8d60948dbc8 HEAD 04:26:16 # -> Force: false 04:26:16 # e856362c130524aaaca5b0d27b4dd5502bf3504c refs/tags/v2.0.0-dev.38 [Pipeline] } 04:26:16 $ docker exec --env ******** --env ******** ad7cdf42577a72f50ffe744ef3b50a856042266f077fa6527e235b2005afbec0 ssh-agent -k 04:26:17 unset SSH_AUTH_SOCK; 04:26:17 unset SSH_AGENT_PID; 04:26:17 echo Agent pid 17 killed; 04:26:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:26:18 + git semver [Pipeline] } 04:26:18 $ docker stop --time=1 ad7cdf42577a72f50ffe744ef3b50a856042266f077fa6527e235b2005afbec0 04:26:21 $ docker rm -f ad7cdf42577a72f50ffe744ef3b50a856042266f077fa6527e235b2005afbec0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:26:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:26:22 04:26:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:26:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:26:23 0.23.1-centos7: Pulling from edgex-lftools 04:26:23 ab5ef0e58194: Pulling fs layer 04:26:23 9712f1f96733: Pulling fs layer 04:26:23 63f879dbbcfc: Pulling fs layer 04:26:23 0d9ebad4ef96: Pulling fs layer 04:26:23 e9a5061849ea: Pulling fs layer 04:26:23 d747dcd14b5f: Pulling fs layer 04:26:23 2de7ff778b66: Pulling fs layer 04:26:23 e9a5061849ea: Waiting 04:26:23 d747dcd14b5f: Waiting 04:26:23 2de7ff778b66: Waiting 04:26:23 0d9ebad4ef96: Waiting 04:26:23 9712f1f96733: Verifying Checksum 04:26:23 9712f1f96733: Download complete 04:26:29 63f879dbbcfc: Verifying Checksum 04:26:29 63f879dbbcfc: Download complete 04:26:29 e9a5061849ea: Verifying Checksum 04:26:29 e9a5061849ea: Download complete 04:26:29 d747dcd14b5f: Verifying Checksum 04:26:29 d747dcd14b5f: Download complete 04:26:30 2de7ff778b66: Verifying Checksum 04:26:30 2de7ff778b66: Download complete 04:26:31 ab5ef0e58194: Verifying Checksum 04:26:31 ab5ef0e58194: Download complete 04:26:31 0d9ebad4ef96: Verifying Checksum 04:26:31 0d9ebad4ef96: Download complete 04:26:44 ab5ef0e58194: Pull complete 04:26:44 9712f1f96733: Pull complete 04:26:46 63f879dbbcfc: Pull complete 04:26:59 0d9ebad4ef96: Pull complete 04:27:00 e9a5061849ea: Pull complete 04:27:00 d747dcd14b5f: Pull complete 04:27:07 2de7ff778b66: Pull complete 04:27:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:27:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:27:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:27:09 prd-centos7-docker-4c-2g-33112 does not seem to be running inside a container 04:27:09 $ 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 04:27:13 $ docker top 3a4780b843cd0627c620c0be2115ab8523972836f91eaf56f0c107d89c65496c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:27:14 provisioning config files... 04:27:14 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6814616459147379077tmp 04:27:14 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config944343312920024986tmp 04:27:14 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6926172481185514174tmp [Pipeline] { [Pipeline] echo 04:27:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:27:15 ---> sigul-configuration.sh 04:27:15 gpg: directory `/root/.gnupg' created 04:27:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:27:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:27:15 gpg: keyring `/root/.gnupg/secring.gpg' created 04:27:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:27:15 gpg: CAST5 encrypted data 04:27:15 gpg: encrypted with 1 passphrase 04:27:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:27:16 + mkdir /home/jenkins 04:27:16 + mkdir /home/jenkins/sigul [Pipeline] sh 04:27:17 + 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 04:27:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:27:18 ---> sigul-install.sh 04:27:34 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 04:27:34 + git tag --list 04:27:34 0.7.1 04:27:34 delhi-tag 04:27:34 v1.0.0 04:27:34 v1.1.0 04:27:34 v1.1.1 04:27:34 v1.1.2 04:27:34 v1.2.0 04:27:34 v1.2.1 04:27:34 v1.2.2 04:27:34 v1.2.3 04:27:34 v1.3.0 04:27:34 v1.4.0 04:27:34 v2.0.0-dev.1 04:27:34 v2.0.0-dev.10 04:27:34 v2.0.0-dev.11 04:27:34 v2.0.0-dev.12 04:27:34 v2.0.0-dev.13 04:27:34 v2.0.0-dev.14 04:27:34 v2.0.0-dev.15 04:27:34 v2.0.0-dev.16 04:27:34 v2.0.0-dev.17 04:27:34 v2.0.0-dev.18 04:27:34 v2.0.0-dev.19 04:27:34 v2.0.0-dev.2 04:27:34 v2.0.0-dev.20 04:27:34 v2.0.0-dev.21 04:27:34 v2.0.0-dev.22 04:27:34 v2.0.0-dev.23 04:27:34 v2.0.0-dev.24 04:27:34 v2.0.0-dev.25 04:27:34 v2.0.0-dev.26 04:27:34 v2.0.0-dev.27 04:27:34 v2.0.0-dev.28 04:27:34 v2.0.0-dev.29 04:27:34 v2.0.0-dev.3 04:27:34 v2.0.0-dev.30 04:27:34 v2.0.0-dev.31 04:27:34 v2.0.0-dev.32 04:27:34 v2.0.0-dev.33 04:27:34 v2.0.0-dev.34 04:27:34 v2.0.0-dev.35 04:27:34 v2.0.0-dev.36 04:27:34 v2.0.0-dev.37 04:27:34 v2.0.0-dev.38 04:27:34 v2.0.0-dev.4 04:27:34 v2.0.0-dev.5 04:27:34 v2.0.0-dev.6 04:27:34 v2.0.0-dev.7 04:27:34 v2.0.0-dev.8 04:27:34 v2.0.0-dev.9 [Pipeline] sh 04:27:35 + lftools sign git-tag v2.0.0-dev.38 04:27:38 Signing Git tag with Sigul... 04:27:38 Signing v2.0.0-dev.38 [Pipeline] echo 04:27:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:27:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:27:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:27:41 $ docker stop --time=1 3a4780b843cd0627c620c0be2115ab8523972836f91eaf56f0c107d89c65496c 04:27:44 $ docker rm -f 3a4780b843cd0627c620c0be2115ab8523972836f91eaf56f0c107d89c65496c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 04:27:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:27:46 . [Pipeline] withDockerContainer 04:27:47 prd-centos7-docker-4c-2g-33112 does not seem to be running inside a container 04:27:47 $ 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 04:27:50 $ docker top 906c46e1f084e48d9fda6da73fdd55f4237e48f8d101e4cba17110c7221e5cce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:27:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:27:50 [ssh-agent] Looking for ssh-agent implementation... 04:27:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:27:51 $ docker exec 906c46e1f084e48d9fda6da73fdd55f4237e48f8d101e4cba17110c7221e5cce ssh-agent 04:27:52 SSH_AUTH_SOCK=/tmp/ssh-WESiOgvmgDOs/agent.13 04:27:52 SSH_AGENT_PID=18 04:27:52 Running ssh-add (command line suppressed) 04:27:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8543660165466580924.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8543660165466580924.key) 04:27:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:27:55 + git semver bump pre 04:27:55 # -> Open(): unable to determine branch for HEAD 04:27:55 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 04:27:55 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 04:27:55 # $SEMVER_REMOTE_NAME = origin 04:27:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:27:55 # $SEMVER_USER_NAME = edgex-jenkins 04:27:55 # $SEMVER_BRANCH = master 04:27:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 04:27:55 2.0.0-dev.39 [Pipeline] } 04:27:55 $ docker exec --env ******** --env ******** 906c46e1f084e48d9fda6da73fdd55f4237e48f8d101e4cba17110c7221e5cce ssh-agent -k 04:27:56 unset SSH_AUTH_SOCK; 04:27:56 unset SSH_AGENT_PID; 04:27:56 echo Agent pid 18 killed; 04:27:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:27:58 + git semver [Pipeline] } 04:27:58 $ docker stop --time=1 906c46e1f084e48d9fda6da73fdd55f4237e48f8d101e4cba17110c7221e5cce 04:28:02 $ docker rm -f 906c46e1f084e48d9fda6da73fdd55f4237e48f8d101e4cba17110c7221e5cce [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 04:28:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:28:03 . [Pipeline] withDockerContainer 04:28:04 prd-centos7-docker-4c-2g-33112 does not seem to be running inside a container 04:28:04 $ 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 04:28:06 $ docker top 96dc0f17c510d6d306928fa12e646874d38fae5fd8fa0714b79f9e6d87aa396b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:28:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:28:06 [ssh-agent] Looking for ssh-agent implementation... 04:28:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:07 $ docker exec 96dc0f17c510d6d306928fa12e646874d38fae5fd8fa0714b79f9e6d87aa396b ssh-agent 04:28:08 SSH_AUTH_SOCK=/tmp/ssh-Bd2msibhpDjS/agent.11 04:28:08 SSH_AGENT_PID=17 04:28:08 Running ssh-add (command line suppressed) 04:28:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1895593371855990102.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1895593371855990102.key) 04:28:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:28:11 + git semver push 04:28:11 # -> Open(): unable to determine branch for HEAD 04:28:11 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 04:28:11 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 04:28:11 # $SEMVER_REMOTE_NAME = origin 04:28:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:28:11 # $SEMVER_USER_NAME = edgex-jenkins 04:28:11 # $SEMVER_BRANCH = master 04:28:11 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 04:28:17 $ docker exec --env ******** --env ******** 96dc0f17c510d6d306928fa12e646874d38fae5fd8fa0714b79f9e6d87aa396b ssh-agent -k 04:28:17 unset SSH_AUTH_SOCK; 04:28:17 unset SSH_AGENT_PID; 04:28:17 echo Agent pid 17 killed; 04:28:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:28:18 + git semver [Pipeline] } 04:28:18 $ docker stop --time=1 96dc0f17c510d6d306928fa12e646874d38fae5fd8fa0714b79f9e6d87aa396b 04:28:21 $ docker rm -f 96dc0f17c510d6d306928fa12e646874d38fae5fd8fa0714b79f9e6d87aa396b [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 04:28:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:28:25 ---> package-listing.sh 04:28:25 ++ tr '[:upper:]' '[:lower:]' 04:28:25 ++ facter osfamily 04:28:26 + OS_FAMILY=redhat 04:28:26 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 04:28:26 + START_PACKAGES=/tmp/packages_start.txt 04:28:26 + END_PACKAGES=/tmp/packages_end.txt 04:28:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:28:26 + PACKAGES=/tmp/packages_start.txt 04:28:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 04:28:26 + PACKAGES=/tmp/packages_end.txt 04:28:26 + case "${OS_FAMILY}" in 04:28:26 + rpm -qa 04:28:26 + sort 04:28:32 + '[' -f /tmp/packages_start.txt ']' 04:28:32 + '[' -f /tmp/packages_end.txt ']' 04:28:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:28:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 04:28:33 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 04:28:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 04:28:33 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 04:28:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:28:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:28:35 04:28:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:28:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:28:36 alpine: Pulling from edgex-lftools-log-publisher 04:28:36 df20fa9351a1: Pulling fs layer 04:28:36 36b3adc4ff6f: Pulling fs layer 04:28:36 8ad3a11d3b57: Pulling fs layer 04:28:36 46f8f816bc3b: Pulling fs layer 04:28:36 93b61091891f: Pulling fs layer 04:28:36 93b9cdb0e59b: Pulling fs layer 04:28:36 5e14af77c1be: Pulling fs layer 04:28:36 01666e4c0597: Pulling fs layer 04:28:36 aa168da1d23b: Pulling fs layer 04:28:36 46f8f816bc3b: Waiting 04:28:36 93b61091891f: Waiting 04:28:36 93b9cdb0e59b: Waiting 04:28:36 5e14af77c1be: Waiting 04:28:36 01666e4c0597: Waiting 04:28:36 aa168da1d23b: Waiting 04:28:36 36b3adc4ff6f: Verifying Checksum 04:28:36 36b3adc4ff6f: Download complete 04:28:36 46f8f816bc3b: Verifying Checksum 04:28:36 46f8f816bc3b: Download complete 04:28:36 df20fa9351a1: Verifying Checksum 04:28:36 df20fa9351a1: Download complete 04:28:37 93b61091891f: Verifying Checksum 04:28:37 93b61091891f: Download complete 04:28:37 93b9cdb0e59b: Verifying Checksum 04:28:37 93b9cdb0e59b: Download complete 04:28:37 5e14af77c1be: Verifying Checksum 04:28:37 5e14af77c1be: Download complete 04:28:37 01666e4c0597: Verifying Checksum 04:28:37 01666e4c0597: Download complete 04:28:38 8ad3a11d3b57: Verifying Checksum 04:28:38 8ad3a11d3b57: Download complete 04:28:38 df20fa9351a1: Pull complete 04:28:38 36b3adc4ff6f: Pull complete 04:28:41 8ad3a11d3b57: Pull complete 04:28:41 46f8f816bc3b: Pull complete 04:28:42 93b61091891f: Pull complete 04:28:43 93b9cdb0e59b: Pull complete 04:28:44 5e14af77c1be: Pull complete 04:28:44 aa168da1d23b: Verifying Checksum 04:28:44 aa168da1d23b: Download complete 04:28:45 01666e4c0597: Pull complete 04:29:08 aa168da1d23b: Pull complete 04:29:08 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:29:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:29:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:29:08 prd-centos7-docker-4c-2g-33112 does not seem to be running inside a container 04:29:08 $ 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 04:29:13 $ docker top fc4bcfb76f1a10b4c5222ac9297dbb3c7440975f71d1f3862893e3781a3d86e6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:15 + touch /tmp/pre-build-complete [Pipeline] sh 04:29:16 + mkdir -p /var/log/sa [Pipeline] sh 04:29:16 + ls /var/log/sa-host 04:29:16 + sadf -c /var/log/sa-host/sa07 04:29:16 file_magic: OK 04:29:16 HZ: Using current value: 100 04:29:16 file_header: OK 04:29:16 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 04:29:16 Statistics: 04:29:16 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:29:16 File successfully converted to sysstat format version 12.2.1 04:29:16 + sadf -c /var/log/sa-host/sa23 04:29:16 file_magic: OK 04:29:16 HZ: Using current value: 100 04:29:16 file_header: OK 04:29:16 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 04:29:16 Statistics: 04:29:16 Hnuu...uuuununununu... 04:29:16 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:29:17 provisioning config files... 04:29:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config727633680006777077tmp [Pipeline] { [Pipeline] echo 04:29:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:29:18 ---> create-netrc.sh [Pipeline] } 04:29:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:29:18 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:29:19 ---> python-tools-install.sh [Pipeline] echo 04:29:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:29:19 ---> sudo-logs.sh 04:29:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:29:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:29:20 ---> job-cost.sh 04:29:20 lf-activate-venv: SKIPPING 04:29:20 DEBUG: total: 0.20999999344348907 04:29:20 INFO: Retrieving Stack Cost... 04:29:21 INFO: Retrieving Pricing Info for: v1-standard-2 04:29:22 INFO: Archiving Costs [Pipeline] echo 04:29:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:29:23 ---> logs-deploy.sh 04:29:23 lf-activate-venv: SKIPPING 04:29:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/143 04:29:23 INFO: archiving workspace using pattern(s): 04:29:26 Archives upload complete. 04:29:26 INFO: archiving logs to Nexus