Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d38291b108151c678147caa989c3776b19aa5fc1 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27630’ Running on prd-centos7-docker-4c-2g-27636 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 d38291b108151c678147caa989c3776b19aa5fc1 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 Commit message: "Merge pull request #798 from hahattan/issue-573" > git rev-list --no-walk 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:06:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:06:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:06:34 ========================================================= 10:06:34 EdgeX Global Pipelines Version Info 10:06:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:06:35 ------------------- 10:06:35 stable info: 10:06:35 ------------------- 10:06:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:06:35 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 10:06:35 Message: update stable to v1.0.181 10:06:36 ------------------- 10:06:36 experimental info: 10:06:36 ------------------- 10:06:36 Commited By: **** collab-it+edgex@linuxfoundation.org 10:06:36 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 10:06:36 Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:06:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:06:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:06:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:06:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:06:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:06:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:06:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:06:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:06:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:06:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:06:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:06:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:06:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:06:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:06:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:06:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:06:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:06:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:06:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 10:06:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 10:06:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 10:06:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d38291b108151c678147caa989c3776b19aa5fc1 [Pipeline] echo 10:06:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d38291b [Pipeline] echo 10:06:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:06:39 provisioning config files... 10:06:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3475128852978104287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:06:40 ---> docker-login.sh 10:06:40 nexus3.edgexfoundry.org:10001 10:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:40 Configure a credential helper to remove this warning. See 10:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:40 10:06:40 Login Succeeded 10:06:40 nexus3.edgexfoundry.org:10002 10:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:40 Configure a credential helper to remove this warning. See 10:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:40 10:06:40 Login Succeeded 10:06:40 nexus3.edgexfoundry.org:10003 10:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:40 Configure a credential helper to remove this warning. See 10:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:40 10:06:40 Login Succeeded 10:06:40 nexus3.edgexfoundry.org:10004 10:06:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:41 Configure a credential helper to remove this warning. See 10:06:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:41 10:06:41 Login Succeeded 10:06:41 docker.io 10:06:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:41 Configure a credential helper to remove this warning. See 10:06:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:41 10:06:41 Login Succeeded 10:06:41 ---> docker-login.sh ends [Pipeline] } 10:06:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:06:42 + git log --format=format:%s -1 d38291b108151c678147caa989c3776b19aa5fc1 [Pipeline] echo 10:06:42 GIT_COMMIT: d38291b108151c678147caa989c3776b19aa5fc1, Commit Message: Merge pull request #798 from hahattan/issue-573 [Pipeline] echo 10:06:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:06:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:06:43 10:06:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:06:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:06:43 latest: Pulling from edgex-devops/git-semver 10:06:43 31603596830f: Pulling fs layer 10:06:43 2a8b12db71e7: Pulling fs layer 10:06:43 6ca5941a6612: Pulling fs layer 10:06:43 ecc8261a40a4: Pulling fs layer 10:06:43 ecc8261a40a4: Waiting 10:06:43 2a8b12db71e7: Verifying Checksum 10:06:43 2a8b12db71e7: Download complete 10:06:43 31603596830f: Verifying Checksum 10:06:43 31603596830f: Download complete 10:06:43 6ca5941a6612: Verifying Checksum 10:06:43 6ca5941a6612: Download complete 10:06:43 ecc8261a40a4: Verifying Checksum 10:06:43 ecc8261a40a4: Download complete 10:06:44 31603596830f: Pull complete 10:06:44 2a8b12db71e7: Pull complete 10:06:45 6ca5941a6612: Pull complete 10:06:45 ecc8261a40a4: Pull complete 10:06:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:06:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:06:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:06:45 prd-centos7-docker-4c-2g-27636 does not seem to be running inside a container 10:06:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:06:47 $ docker top e8da76827ee96a06065f1bddc1553389d24b623fd4c2dbc9d75cf2a0164aac59 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:06:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:06:47 [ssh-agent] Looking for ssh-agent implementation... 10:06:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:06:47 $ docker exec e8da76827ee96a06065f1bddc1553389d24b623fd4c2dbc9d75cf2a0164aac59 ssh-agent 10:06:47 SSH_AUTH_SOCK=/tmp/ssh-aINyHKj2LvMb/agent.11 10:06:47 SSH_AGENT_PID=16 10:06:47 Running ssh-add (command line suppressed) 10:06:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6715283432874362765.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6715283432874362765.key) 10:06:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:06:48 + git tag --points-at HEAD [Pipeline] } 10:06:48 $ docker exec --env ******** --env ******** e8da76827ee96a06065f1bddc1553389d24b623fd4c2dbc9d75cf2a0164aac59 ssh-agent -k 10:06:48 unset SSH_AUTH_SOCK; 10:06:48 unset SSH_AGENT_PID; 10:06:48 echo Agent pid 16 killed; 10:06:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:06:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:06:48 [ssh-agent] Looking for ssh-agent implementation... 10:06:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:06:48 $ docker exec e8da76827ee96a06065f1bddc1553389d24b623fd4c2dbc9d75cf2a0164aac59 ssh-agent 10:06:49 SSH_AUTH_SOCK=/tmp/ssh-HaDGIC4qLutK/agent.47 10:06:49 SSH_AGENT_PID=52 10:06:49 Running ssh-add (command line suppressed) 10:06:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4318955297605937776.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4318955297605937776.key) 10:06:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:06:49 + git semver init 10:06:49 # -> Open(): unable to determine branch for HEAD 10:06:49 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 10:06:49 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 10:06:49 # $SEMVER_REMOTE_NAME = origin 10:06:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:06:49 # $SEMVER_USER_NAME = edgex-jenkins 10:06:49 # $SEMVER_BRANCH = master 10:06:49 # $SEMVER_TEMP = /tmp/semver-735801355 10:06:49 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:06:50 # '/tmp/semver-735801355' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 10:06:50 # -> Force: false 10:06:50 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 10:06:50 $ docker exec --env ******** --env ******** e8da76827ee96a06065f1bddc1553389d24b623fd4c2dbc9d75cf2a0164aac59 ssh-agent -k 10:06:50 unset SSH_AUTH_SOCK; 10:06:50 unset SSH_AGENT_PID; 10:06:50 echo Agent pid 52 killed; 10:06:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:06:50 + git semver [Pipeline] } 10:06:50 $ docker stop --time=1 e8da76827ee96a06065f1bddc1553389d24b623fd4c2dbc9d75cf2a0164aac59 10:06:52 $ docker rm -f e8da76827ee96a06065f1bddc1553389d24b623fd4c2dbc9d75cf2a0164aac59 [Pipeline] // withDockerContainer [Pipeline] sh 10:06:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:06:53 Stashed 1 file(s) [Pipeline] echo 10:06:53 [edgeXSemver]: initialized semver on version 2.0.0-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 10:07:08 Still waiting to schedule task 10:07:08 Waiting for next available executor on ‘centos7-docker-4c-2g’ 10:07:08 Still waiting to schedule task 10:07:08 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 10:09:43 Running on prd-centos7-docker-4c-2g-27637 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 10:09:44 Running in /w/workspace/device-sdk-go/122 [Pipeline] { [Pipeline] checkout 10:09:46 using credential edgex-jenkins-ssh 10:09:46 Cloning the remote Git repository 10:09:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:09:45 > git init /w/workspace/device-sdk-go/122 # timeout=10 10:09:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:09:45 > git --version # timeout=10 10:09:45 > git --version # 'git version 2.24.3' 10:09:45 using GIT_SSH to set credentials SSH Credentials for GitHub 10:09:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:09:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:09:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:09:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:09:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:09:46 using GIT_SSH to set credentials SSH Credentials for GitHub 10:09:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 10:09:47 Checking out Revision d38291b108151c678147caa989c3776b19aa5fc1 (master) 10:09:47 > git config core.sparsecheckout # timeout=10 10:09:47 > git checkout -f d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 10:09:51 Commit message: "Merge pull request #798 from hahattan/issue-573" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:09:52 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 10:09:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:09:53 + sudo service docker restart 10:09:53 + true 10:09:53 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:09:54 provisioning config files... 10:09:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/122@tmp/config1533979858956467832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:09:54 ---> docker-login.sh 10:09:54 nexus3.edgexfoundry.org:10001 10:09:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:54 Configure a credential helper to remove this warning. See 10:09:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:54 10:09:54 Login Succeeded 10:09:54 nexus3.edgexfoundry.org:10002 10:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:55 Configure a credential helper to remove this warning. See 10:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:55 10:09:55 Login Succeeded 10:09:55 nexus3.edgexfoundry.org:10003 10:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:55 Configure a credential helper to remove this warning. See 10:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:55 10:09:55 Login Succeeded 10:09:55 nexus3.edgexfoundry.org:10004 10:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:55 Configure a credential helper to remove this warning. See 10:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:55 10:09:55 Login Succeeded 10:09:55 docker.io 10:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:55 Configure a credential helper to remove this warning. See 10:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:55 10:09:55 Login Succeeded 10:09:55 ---> docker-login.sh ends [Pipeline] } 10:09:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:09:56 ========================================================= 10:09:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:09:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:09:56 + 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 . 10:09:56 Sending build context to Docker daemon 2.411MB 10:09:56 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:09:56 Step 2/8 : FROM ${BASE} 10:09:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:09:56 188c0c94c7c5: Pulling fs layer 10:09:56 0ef7d3d256c8: Pulling fs layer 10:09:56 de9db76c5a1d: Pulling fs layer 10:09:56 bca2f99d35d6: Pulling fs layer 10:09:56 93359f2a8cfa: Pulling fs layer 10:09:56 7c6f9722023f: Pulling fs layer 10:09:56 a35cf1a2eb13: Pulling fs layer 10:09:56 bca2f99d35d6: Waiting 10:09:56 93359f2a8cfa: Waiting 10:09:56 7c6f9722023f: Waiting 10:09:56 a35cf1a2eb13: Waiting 10:09:56 de9db76c5a1d: Download complete 10:09:56 0ef7d3d256c8: Download complete 10:09:56 93359f2a8cfa: Verifying Checksum 10:09:56 93359f2a8cfa: Download complete 10:09:56 188c0c94c7c5: Verifying Checksum 10:09:56 188c0c94c7c5: Download complete 10:09:56 7c6f9722023f: Verifying Checksum 10:09:56 7c6f9722023f: Download complete 10:09:57 188c0c94c7c5: Pull complete 10:09:57 0ef7d3d256c8: Pull complete 10:09:57 de9db76c5a1d: Pull complete 10:09:59 a35cf1a2eb13: Verifying Checksum 10:09:59 a35cf1a2eb13: Download complete 10:09:59 bca2f99d35d6: Verifying Checksum 10:09:59 bca2f99d35d6: Download complete 10:10:04 bca2f99d35d6: Pull complete 10:10:04 93359f2a8cfa: Pull complete 10:10:04 7c6f9722023f: Pull complete 10:10:11 a35cf1a2eb13: Pull complete 10:10:11 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 10:10:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:10:11 ---> a62c8e92a672 10:10:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:10:11 ---> Running in a3323c37a0d9 10:10:11 Removing intermediate container a3323c37a0d9 10:10:11 ---> 5c7c2b3ffb31 10:10:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:10:11 ---> Running in 50c6bc5a695a 10:10:12 Removing intermediate container 50c6bc5a695a 10:10:12 ---> 73caf3260e88 10:10:12 Step 5/8 : RUN apk add --update --no-cache make git 10:10:12 ---> Running in e6d17b84b2d2 10:10:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:10:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:10:14 OK: 166 MiB in 39 packages 10:10:14 Removing intermediate container e6d17b84b2d2 10:10:14 ---> aaa03af5cf23 10:10:14 Step 6/8 : WORKDIR /device-sdk-go 10:10:14 ---> Running in 041d6dc183fc 10:10:15 Removing intermediate container 041d6dc183fc 10:10:15 ---> 41f14b440ca5 10:10:15 Step 7/8 : COPY . . 10:10:16 ---> dbaf46f41106 10:10:16 Step 8/8 : RUN go mod download 10:10:16 ---> Running in a814e37f6dd0 10:10:38 Removing intermediate container a814e37f6dd0 10:10:38 ---> 24e6c2c294f2 10:10:38 Successfully built 24e6c2c294f2 10:10:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:10:38 + docker inspect -f . ci-base-image-x86_64 10:10:38 . [Pipeline] withDockerContainer 10:10:39 prd-centos7-docker-4c-2g-27637 does not seem to be running inside a container 10:10:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/122 -v /w/workspace/device-sdk-go/122:/w/workspace/device-sdk-go/122:rw,z -v /w/workspace/device-sdk-go/122@tmp:/w/workspace/device-sdk-go/122@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 ******** ci-base-image-x86_64 cat 10:10:40 $ docker top 77e9f0563fc6601b55d91f8fb43a2bc2c33d3a67e909094f02d7f2bae2b4226b -eo pid,comm [Pipeline] { [Pipeline] sh 10:10:41 + go version 10:10:41 go version go1.15.5 linux/amd64 [Pipeline] } 10:10:41 $ docker stop --time=1 77e9f0563fc6601b55d91f8fb43a2bc2c33d3a67e909094f02d7f2bae2b4226b 10:10:42 $ docker rm -f 77e9f0563fc6601b55d91f8fb43a2bc2c33d3a67e909094f02d7f2bae2b4226b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:10:43 + docker inspect -f . ci-base-image-x86_64 10:10:43 . [Pipeline] withDockerContainer 10:10:43 prd-centos7-docker-4c-2g-27637 does not seem to be running inside a container 10:10:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/122 -v /w/workspace/device-sdk-go/122:/w/workspace/device-sdk-go/122:rw,z -v /w/workspace/device-sdk-go/122@tmp:/w/workspace/device-sdk-go/122@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 ******** ci-base-image-x86_64 cat 10:10:44 $ docker top 0624a5860ede91d54451427f19bd09fd103fe172d81a619292975af2b43ca876 -eo pid,comm [Pipeline] { [Pipeline] sh 10:10:44 + make test 10:10:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:10:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27638 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 10:10:46 Running in /w/workspace/device-sdk-go/122 [Pipeline] { [Pipeline] checkout 10:10:51 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:10:51 using credential edgex-jenkins-ssh 10:10:51 Cloning the remote Git repository 10:10:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:10:51 > git init /w/workspace/device-sdk-go/122 # timeout=10 10:10:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:10:51 > git --version # timeout=10 10:10:51 > git --version # 'git version 2.17.1' 10:10:51 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:10:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:10:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:10:53 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:53 Checking out Revision d38291b108151c678147caa989c3776b19aa5fc1 (master) 10:10:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 10:10:53 > git config core.sparsecheckout # timeout=10 10:10:53 > git checkout -f d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 10:10:58 Commit message: "Merge pull request #798 from hahattan/issue-573" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:59 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 10:11:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:11:00 + + sudo servicetrue docker 10:11:00 restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:11:03 provisioning config files... 10:11:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/122@tmp/config3674545890097285381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:03 ---> docker-login.sh 10:11:03 nexus3.edgexfoundry.org:10001 10:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:04 Configure a credential helper to remove this warning. See 10:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:04 10:11:04 Login Succeeded 10:11:04 nexus3.edgexfoundry.org:10002 10:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:05 Configure a credential helper to remove this warning. See 10:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:05 10:11:05 Login Succeeded 10:11:05 nexus3.edgexfoundry.org:10003 10:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:06 Configure a credential helper to remove this warning. See 10:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:06 10:11:06 Login Succeeded 10:11:06 nexus3.edgexfoundry.org:10004 10:11:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:11:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:11:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:06 Configure a credential helper to remove this warning. See 10:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:06 10:11:06 Login Succeeded 10:11:06 docker.io 10:11:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:07 Configure a credential helper to remove this warning. See 10:11:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:07 10:11:07 Login Succeeded 10:11:07 ---> docker-login.sh ends [Pipeline] } 10:11:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:11:08 ========================================================= 10:11:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:11:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:11:08 + 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 . 10:11:08 Sending build context to Docker daemon 2.401MB 10:11:08 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:11:08 Step 2/8 : FROM ${BASE} 10:11:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:11:08 5f621e34cdf4: Pulling fs layer 10:11:08 a4357932f1b6: Pulling fs layer 10:11:08 18c013af1878: Pulling fs layer 10:11:08 00ac8860ef70: Pulling fs layer 10:11:08 63d7cb157983: Pulling fs layer 10:11:08 b116817d02f9: Pulling fs layer 10:11:08 745a02a5169b: Pulling fs layer 10:11:08 63d7cb157983: Waiting 10:11:08 b116817d02f9: Waiting 10:11:08 745a02a5169b: Waiting 10:11:08 00ac8860ef70: Waiting 10:11:08 18c013af1878: Verifying Checksum 10:11:08 18c013af1878: Download complete 10:11:08 a4357932f1b6: Verifying Checksum 10:11:08 a4357932f1b6: Download complete 10:11:08 63d7cb157983: Verifying Checksum 10:11:08 63d7cb157983: Download complete 10:11:08 5f621e34cdf4: Verifying Checksum 10:11:08 5f621e34cdf4: Download complete 10:11:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 25.5% of statements 10:11:09 b116817d02f9: Download complete 10:11:09 5f621e34cdf4: Pull complete 10:11:10 a4357932f1b6: Pull complete 10:11:10 18c013af1878: Pull complete 10:11:11 745a02a5169b: Verifying Checksum 10:11:11 745a02a5169b: Download complete 10:11:13 00ac8860ef70: Download complete 10:11:23 00ac8860ef70: Pull complete 10:11:23 63d7cb157983: Pull complete 10:11:23 b116817d02f9: Pull complete 10:11:27 745a02a5169b: Pull complete 10:11:27 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 10:11:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:11:27 ---> b7e6874047d6 10:11:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:11:30 ---> Running in 66536a5abeaf 10:11:30 Removing intermediate container 66536a5abeaf 10:11:30 ---> e6b2c762564e 10:11:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:30 ---> Running in f8f13b3d4ccd 10:11:32 Removing intermediate container f8f13b3d4ccd 10:11:32 ---> 3ce66ba4d2de 10:11:32 Step 5/8 : RUN apk add --update --no-cache make git 10:11:33 ---> Running in b5c88e31de24 10:11:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:11:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:11:35 OK: 142 MiB in 39 packages 10:11:36 Removing intermediate container b5c88e31de24 10:11:36 ---> 85dc6006253c 10:11:36 Step 6/8 : WORKDIR /device-sdk-go 10:11:36 ---> Running in 396d081287fc 10:11:37 Removing intermediate container 396d081287fc 10:11:37 ---> ef7a23f55195 10:11:37 Step 7/8 : COPY . . 10:11:38 ---> 07f8d8c48ea5 10:11:38 Step 8/8 : RUN go mod download 10:11:38 ---> Running in a06dec138af3 10:11:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.056s coverage: 10.1% of statements 10:11:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.047s coverage: 12.5% of statements 10:11:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:11:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.060s coverage: 84.8% of statements 10:11:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 10:11:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 10:11:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:11:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:11:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.073s coverage: 48.7% of statements 10:11:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 10:11:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.060s coverage: 81.3% of statements 10:11:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.074s coverage: 24.8% of statements 10:11:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.485s coverage: 83.5% of statements 10:11:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 5.3% of statements 10:11:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:11:41 GO111MODULE=on go vet ./... 10:11:47 gofmt -l . 10:11:47 [ "`gofmt -l .`" = "" ] 10:11:47 ./bin/test-attribution-txt.sh 10:11:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:11:48 $ docker stop --time=1 0624a5860ede91d54451427f19bd09fd103fe172d81a619292975af2b43ca876 10:11:50 $ docker rm -f 0624a5860ede91d54451427f19bd09fd103fe172d81a619292975af2b43ca876 [Pipeline] // withDockerContainer [Pipeline] sh 10:11:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:11:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:11:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:11:53 + ls -al . 10:11:53 total 184 10:11:53 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 25 10:11 . 10:11:53 drwxrwxr-x. 4 jenkins jenkins 32 Feb 25 10:09 .. 10:11:53 drwxrwxr-x. 2 jenkins jenkins 64 Feb 25 10:09 bin 10:11:53 -rw-r--r--. 1 jenkins jenkins 102310 Feb 25 10:11 coverage.out 10:11:53 -rw-rw-r--. 1 jenkins jenkins 949 Feb 25 10:09 Dockerfile.build 10:11:53 -rw-rw-r--. 1 jenkins jenkins 140 Feb 25 10:09 .dockerignore 10:11:53 drwxrwxr-x. 4 jenkins jenkins 48 Feb 25 10:09 example 10:11:53 drwxrwxr-x. 8 jenkins jenkins 162 Feb 25 10:09 .git 10:11:53 drwxrwxr-x. 2 jenkins jenkins 103 Feb 25 10:09 .github 10:11:53 -rw-rw-r--. 1 jenkins jenkins 138 Feb 25 10:09 .gitignore 10:11:53 -rw-r--r--. 1 jenkins jenkins 516 Feb 25 10:11 go.mod 10:11:53 -rw-r--r--. 1 jenkins jenkins 17254 Feb 25 10:11 go.sum 10:11:53 drwxrwxr-x. 13 jenkins jenkins 183 Feb 25 10:09 internal 10:11:53 -rw-rw-r--. 1 jenkins jenkins 901 Feb 25 10:09 Jenkinsfile 10:11:53 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 25 10:09 LICENSE 10:11:53 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 25 10:09 Makefile 10:11:53 drwxrwxr-x. 4 jenkins jenkins 26 Feb 25 10:09 openapi 10:11:53 drwxrwxr-x. 5 jenkins jenkins 50 Feb 25 10:09 pkg 10:11:53 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 25 10:09 README.md 10:11:53 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 25 10:09 RELEASE-NOTES.txt 10:11:53 drwxrwxr-x. 4 jenkins jenkins 54 Feb 25 10:09 snap 10:11:53 -rw-rw-r--. 1 jenkins jenkins 12 Feb 25 10:06 VERSION 10:11:53 -rw-rw-r--. 1 jenkins jenkins 222 Feb 25 10:09 version.go [Pipeline] isUnix [Pipeline] sh 10:11:54 + 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=d38291b108151c678147caa989c3776b19aa5fc1 --label arch=amd64 --label version=2.0.0-dev.17 . 10:11:54 Sending build context to Docker daemon 2.514MB 10:11:54 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 10:11:54 Step 2/24 : FROM ${BASE} AS builder 10:11:54 ---> 24e6c2c294f2 10:11:54 Step 3/24 : ARG MAKE='make build' 10:11:55 ---> Running in 79557e6bce6b 10:11:55 Removing intermediate container 79557e6bce6b 10:11:55 ---> 88f0b468457d 10:11:55 Step 4/24 : WORKDIR /device-sdk-go 10:11:55 ---> Running in 0826bc9029f1 10:11:55 Removing intermediate container 0826bc9029f1 10:11:55 ---> 75dfba69d21f 10:11:55 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:11:55 ---> Running in 4b44ff706107 10:11:55 Removing intermediate container 4b44ff706107 10:11:55 ---> b82bbd4d6d26 10:11:55 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:55 ---> Running in 1d1715d7015b 10:11:56 Removing intermediate container 1d1715d7015b 10:11:56 ---> 6f9ec14ab9fa 10:11:56 Step 7/24 : RUN apk add --update --no-cache make git 10:11:56 ---> Running in bbdc97fd2be9 10:11:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:11:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:11:58 OK: 166 MiB in 39 packages 10:11:58 Removing intermediate container bbdc97fd2be9 10:11:58 ---> 4e0b8c521ae6 10:11:58 Step 8/24 : COPY . . 10:11:59 ---> 0dfd50c98da8 10:11:59 Step 9/24 : RUN ${MAKE} 10:11:59 ---> Running in f366ef82d0e2 10:12:00 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.17" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:12:05 Removing intermediate container a06dec138af3 10:12:05 ---> 50ed8016336d 10:12:05 Successfully built 50ed8016336d 10:12:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:12:05 + docker inspect -f . ci-base-image-arm64 10:12:05 . [Pipeline] withDockerContainer 10:12:06 prd-ubuntu18.04-docker-arm64-4c-16g-27638 does not seem to be running inside a container 10:12:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/122 -v /w/workspace/device-sdk-go/122:/w/workspace/device-sdk-go/122:rw,z -v /w/workspace/device-sdk-go/122@tmp:/w/workspace/device-sdk-go/122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:12:07 $ docker top a8b1c415970fcd2f4bc9e33b15e75adecb75d648f9dc3bdcd13305105f151261 -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:08 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:12:08 + go version 10:12:08 go version go1.15.5 linux/arm64 [Pipeline] } 10:12:08 $ docker stop --time=1 a8b1c415970fcd2f4bc9e33b15e75adecb75d648f9dc3bdcd13305105f151261 10:12:10 $ docker rm -f a8b1c415970fcd2f4bc9e33b15e75adecb75d648f9dc3bdcd13305105f151261 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:12:11 + docker inspect -f . ci-base-image-arm64 10:12:11 . 10:12:11 Removing intermediate container f366ef82d0e2 10:12:11 ---> 8a1e770bddbf 10:12:11 Step 10/24 : FROM scratch 10:12:11 ---> 10:12:11 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:12:11 ---> Running in 94c43ba90c32 10:12:11 Removing intermediate container 94c43ba90c32 10:12:11 ---> d9d522fd824b 10:12:11 Step 12/24 : ENV APP_PORT=49990 [Pipeline] withDockerContainer 10:12:11 prd-ubuntu18.04-docker-arm64-4c-16g-27638 does not seem to be running inside a container 10:12:11 ---> Running in c6b8fc7ecda8 10:12:11 Removing intermediate container c6b8fc7ecda8 10:12:11 ---> 855e2c2f28a1 10:12:11 Step 13/24 : EXPOSE $APP_PORT 10:12:11 ---> Running in ef06345815d0 10:12:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/122 -v /w/workspace/device-sdk-go/122:/w/workspace/device-sdk-go/122:rw,z -v /w/workspace/device-sdk-go/122@tmp:/w/workspace/device-sdk-go/122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:12:12 Removing intermediate container ef06345815d0 10:12:12 ---> 5f5138863bc9 10:12:12 Step 14/24 : WORKDIR / 10:12:12 ---> Running in ded94dadf1e5 10:12:12 Removing intermediate container ded94dadf1e5 10:12:12 ---> 33679cfb804b 10:12:12 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:12:12 ---> 99bfd575f069 10:12:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:12:12 ---> e6e73e6ac6c5 10:12:12 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:12:13 ---> e68f3a1cbc19 10:12:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:12:13 $ docker top c13dcb3c725f0bf4b71dac966a1410aea2598bdaea0b85b816c6fb9a6eb5c640 -eo pid,comm 10:12:13 ---> 7d4164b0f33f 10:12:13 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [Pipeline] { 10:12:13 ---> cf9ccc45eb86 10:12:13 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:12:13 ---> Running in ea727105925d [Pipeline] sh 10:12:14 Removing intermediate container ea727105925d 10:12:14 ---> 26f401658069 10:12:14 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:12:14 ---> Running in d403356de667 10:12:14 Removing intermediate container d403356de667 10:12:14 ---> 4f1e1b6ea1e5 10:12:14 Step 22/24 : LABEL arch=amd64 10:12:14 ---> Running in a2b265694b2b 10:12:14 Removing intermediate container a2b265694b2b 10:12:14 ---> ece98c3a2e06 10:12:14 Step 23/24 : LABEL git_sha=d38291b108151c678147caa989c3776b19aa5fc1 10:12:14 + make test 10:12:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:12:14 ---> Running in 13fdd17ea089 10:12:14 Removing intermediate container 13fdd17ea089 10:12:14 ---> d59866855415 10:12:14 Step 24/24 : LABEL version=2.0.0-dev.17 10:12:14 ---> Running in 7fd0a53f0df5 10:12:14 Removing intermediate container 7fd0a53f0df5 10:12:14 ---> f222e24e0b5e 10:12:14 [Warning] One or more build-args [ARCH] were not consumed 10:12:14 Successfully built f222e24e0b5e 10:12:14 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 10:12:15 ---> job-cost.sh 10:12:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9hRk 10:12:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:12:36 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:12:57 lf-activate-venv(): INFO: Adding /tmp/venv-9hRk/bin to PATH 10:12:57 INFO: No Stack... 10:12:57 INFO: Retrieving Pricing Info for: v1-standard-2 10:12:57 INFO: Archiving Costs [Pipeline] sh 10:12:58 + cat /w/workspace/device-sdk-go/122/archives/cost.csv 10:12:58 + cut -d, -f6 [Pipeline] lock 10:12:58 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] 10:12:58 Resource [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] did not exist. Created. 10:12:58 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:12:58 + echo total: 0.029999999329447746 [Pipeline] stash 10:12:58 Stashed 1 file(s) [Pipeline] } 10:12:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:13:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:13:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:13:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:13:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.156s coverage: 25.5% of statements 10:13:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.133s coverage: 10.1% of statements 10:13:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.170s coverage: 12.5% of statements 10:13:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:13:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.153s coverage: 84.8% of statements 10:13:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 10:13:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 10:13:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:13:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:13:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 48.7% of statements 10:13:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 10:13:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.153s coverage: 81.3% of statements 10:13:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.176s coverage: 24.8% of statements 10:13:49 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.783s coverage: 83.5% of statements 10:13:49 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.3% of statements 10:13:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:13:49 GO111MODULE=on go vet ./... 10:14:21 gofmt -l . 10:14:21 [ "`gofmt -l .`" = "" ] 10:14:21 ./bin/test-attribution-txt.sh 10:14:21 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:14:22 $ docker stop --time=1 c13dcb3c725f0bf4b71dac966a1410aea2598bdaea0b85b816c6fb9a6eb5c640 10:14:24 $ docker rm -f c13dcb3c725f0bf4b71dac966a1410aea2598bdaea0b85b816c6fb9a6eb5c640 [Pipeline] // withDockerContainer [Pipeline] sh 10:14:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:14:25 Warning: overwriting stash ‘coverage-report’ 10:14:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:14:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:14:27 + ls -al . 10:14:27 total 220 10:14:27 drwxrwxr-x 10 jenkins jenkins 4096 Feb 25 10:14 . 10:14:27 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 10:10 .. 10:14:27 -rw-rw-r-- 1 jenkins jenkins 140 Feb 25 10:10 .dockerignore 10:14:27 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 10:10 .git 10:14:27 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 10:10 .github 10:14:27 -rw-rw-r-- 1 jenkins jenkins 138 Feb 25 10:10 .gitignore 10:14:27 -rw-rw-r-- 1 jenkins jenkins 949 Feb 25 10:10 Dockerfile.build 10:14:27 -rw-rw-r-- 1 jenkins jenkins 901 Feb 25 10:10 Jenkinsfile 10:14:27 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 25 10:10 LICENSE 10:14:27 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 25 10:10 Makefile 10:14:27 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 25 10:10 README.md 10:14:27 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 25 10:10 RELEASE-NOTES.txt 10:14:27 -rw-rw-r-- 1 jenkins jenkins 12 Feb 25 10:06 VERSION 10:14:27 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 10:10 bin 10:14:27 -rw-r--r-- 1 jenkins jenkins 102310 Feb 25 10:13 coverage.out 10:14:27 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 10:10 example 10:14:27 -rw-r--r-- 1 jenkins jenkins 516 Feb 25 10:14 go.mod 10:14:27 -rw-r--r-- 1 jenkins jenkins 17254 Feb 25 10:14 go.sum 10:14:27 drwxrwxr-x 13 jenkins jenkins 4096 Feb 25 10:10 internal 10:14:27 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 10:10 openapi 10:14:27 drwxrwxr-x 5 jenkins jenkins 4096 Feb 25 10:10 pkg 10:14:27 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 10:10 snap 10:14:27 -rw-rw-r-- 1 jenkins jenkins 222 Feb 25 10:10 version.go [Pipeline] isUnix [Pipeline] sh 10:14:27 + 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=d38291b108151c678147caa989c3776b19aa5fc1 --label arch=arm64 --label version=2.0.0-dev.17 . 10:14:28 Sending build context to Docker daemon 2.504MB 10:14:28 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 10:14:28 Step 2/24 : FROM ${BASE} AS builder 10:14:28 ---> 50ed8016336d 10:14:28 Step 3/24 : ARG MAKE='make build' 10:14:28 ---> Running in ceaa5ce14a8a 10:14:28 Removing intermediate container ceaa5ce14a8a 10:14:28 ---> 68920b41b15e 10:14:28 Step 4/24 : WORKDIR /device-sdk-go 10:14:29 ---> Running in 39554981cae6 10:14:29 Removing intermediate container 39554981cae6 10:14:29 ---> 711c94f46f1b 10:14:29 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:14:29 ---> Running in 296c6acd4d59 10:14:30 Removing intermediate container 296c6acd4d59 10:14:30 ---> ce8ea1e088f1 10:14:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:14:30 ---> Running in 7c090ac954dc 10:14:32 Removing intermediate container 7c090ac954dc 10:14:32 ---> 0a772b473648 10:14:32 Step 7/24 : RUN apk add --update --no-cache make git 10:14:32 ---> Running in eee4f6081f86 10:14:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:14:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:14:35 OK: 142 MiB in 39 packages 10:14:36 Removing intermediate container eee4f6081f86 10:14:36 ---> 8e54be5a1339 10:14:36 Step 8/24 : COPY . . 10:14:37 ---> f17a0e1fdd5a 10:14:37 Step 9/24 : RUN ${MAKE} 10:14:37 ---> Running in a5715b7389b4 10:14:38 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.17" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:15:05 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:15:06 Removing intermediate container a5715b7389b4 10:15:06 ---> 1a4c3e37a4ef 10:15:06 Step 10/24 : FROM scratch 10:15:06 ---> 10:15:06 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:15:06 ---> Running in f988638fcfa6 10:15:06 Removing intermediate container f988638fcfa6 10:15:06 ---> 5f80f19b16b4 10:15:06 Step 12/24 : ENV APP_PORT=49990 10:15:06 ---> Running in 87845dbe0f58 10:15:06 Removing intermediate container 87845dbe0f58 10:15:06 ---> 9d8509e08580 10:15:06 Step 13/24 : EXPOSE $APP_PORT 10:15:07 ---> Running in e24454ba66f9 10:15:07 Removing intermediate container e24454ba66f9 10:15:07 ---> 0113e655f77e 10:15:07 Step 14/24 : WORKDIR / 10:15:07 ---> Running in 2f3a27889450 10:15:08 Removing intermediate container 2f3a27889450 10:15:08 ---> 86b6d7af41ec 10:15:08 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:15:08 ---> d02b92c4e0c6 10:15:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:15:09 ---> f9804d4291f3 10:15:09 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:15:10 ---> 317d0d1576db 10:15:10 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:15:11 ---> 648675e5f40e 10:15:11 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:15:12 ---> 250ca6e183a1 10:15:12 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:15:12 ---> Running in 98df3a331de8 10:15:12 Removing intermediate container 98df3a331de8 10:15:12 ---> 8688eb40eac6 10:15:12 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:15:12 ---> Running in d32a89443be9 10:15:13 Removing intermediate container d32a89443be9 10:15:13 ---> 5d9b3c9f35a0 10:15:13 Step 22/24 : LABEL arch=arm64 10:15:13 ---> Running in 9bca29bc04b7 10:15:13 Removing intermediate container 9bca29bc04b7 10:15:13 ---> 28ef498045eb 10:15:13 Step 23/24 : LABEL git_sha=d38291b108151c678147caa989c3776b19aa5fc1 10:15:13 ---> Running in bd982ef860b2 10:15:14 Removing intermediate container bd982ef860b2 10:15:14 ---> a95701f63483 10:15:14 Step 24/24 : LABEL version=2.0.0-dev.17 10:15:14 ---> Running in 9add670be91c 10:15:15 Removing intermediate container 9add670be91c 10:15:15 ---> e21e1e5fe9de 10:15:15 [Warning] One or more build-args [ARCH] were not consumed 10:15:15 Successfully built e21e1e5fe9de 10:15:15 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 10:15:16 ---> job-cost.sh 10:15:16 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-04oP 10:15:54 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:18:01 lf-activate-venv(): INFO: Adding /tmp/venv-04oP/bin to PATH 10:18:01 INFO: No Stack... 10:18:01 INFO: Retrieving Pricing Info for: lf-standard-4 10:18:01 INFO: Archiving Costs [Pipeline] sh 10:18:02 + + cutcat -d, /w/workspace/device-sdk-go/122/archives/cost.csv -f6 10:18:02 [Pipeline] lock 10:18:02 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] 10:18:02 Resource [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] did not exist. Created. 10:18:02 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:18:02 /w/workspace/device-sdk-go/122@tmp/durable-5ed10eed/script.sh: 1: /w/workspace/device-sdk-go/122@tmp/durable-5ed10eed/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 10:18:03 + echo total: 0.20999999344348907 [Pipeline] stash 10:18:03 Warning: overwriting stash ‘stack-cost’ 10:18:03 Stashed 1 file(s) [Pipeline] } 10:18:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-122-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 10:18:04 provisioning config files... 10:18:04 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6047142472423369086tmp [Pipeline] { [Pipeline] sh 10:18:05 + set +x 10:18:05 + curl -s https://codecov.io/bash 10:18:05 + bash -s -- 10:18:05 10:18:05 _____ _ 10:18:05 / ____| | | 10:18:05 | | ___ __| | ___ ___ _____ __ 10:18:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:18:05 | |___| (_) | (_| | __/ (_| (_) \ V / 10:18:05 \_____\___/ \__,_|\___|\___\___/ \_/ 10:18:05 Bash-20210129-7c25fce 10:18:05 10:18:05 10:18:05 ==> git version 2.24.3 found 10:18:05 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 10:18:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:18:05 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:18:05 ==> Jenkins CI detected. 10:18:05 project root: . 10:18:05 --> token set from env 10:18:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:18:05 ==> Running gcov in . (disable via -X gcov) 10:18:05 ==> Python coveragepy not found 10:18:05 ==> Searching for coverage reports in: 10:18:05 + . 10:18:05 -> Found 1 reports 10:18:05 ==> Detecting git/mercurial file structure 10:18:05 ==> Reading reports 10:18:05 + ./coverage.out bytes=102310 10:18:05 ==> Appending adjustments 10:18:05 https://docs.codecov.io/docs/fixing-reports 10:18:05 + Found adjustments 10:18:05 ==> Gzipping contents 10:18:05 20K /tmp/codecov.8Kg0b1.gz 10:18:05 ==> Uploading reports 10:18:05 url: https://codecov.io 10:18:05 query: branch=master&commit=d38291b108151c678147caa989c3776b19aa5fc1&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F122%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:18:05 -> Pinging Codecov 10:18:05 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=d38291b108151c678147caa989c3776b19aa5fc1&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F122%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:18:06 -> Uploading to 10:18:06 https://storage.googleapis.com/codecov/v4/raw/2021-02-25/7E55EF52A471D76F132DFD9A03CDDE97/d38291b108151c678147caa989c3776b19aa5fc1/3a51474d-2819-4f82-8a04-ea28f950eb49.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210225%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210225T101805Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1dd9eeb6c01d3f34f3497d905500d5164c797c494f3d78ba2026077c643af206 10:18:06 % Total % Received % Xferd Average Speed Time Time Time Current 10:18:06 Dload Upload Total Spent Left Speed 10:18:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16522 0 0 100 16522 0 35473 --:--:-- --:--:-- --:--:-- 35531 10:18:06 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d38291b108151c678147caa989c3776b19aa5fc1 [Pipeline] } 10:18:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:18:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:18:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:18:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:18:08 10:18:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 10:18:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:18:08 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:18:08 188c0c94c7c5: Pulling fs layer 10:18:08 0ef7d3d256c8: Pulling fs layer 10:18:08 de9db76c5a1d: Pulling fs layer 10:18:08 0eba1c9be4d2: Pulling fs layer 10:18:08 0d57e429df01: Pulling fs layer 10:18:08 4e4be7b47b0d: Pulling fs layer 10:18:08 e1f770b5df2f: Pulling fs layer 10:18:08 85a0685a4137: Pulling fs layer 10:18:08 0eba1c9be4d2: Waiting 10:18:08 0d57e429df01: Waiting 10:18:08 4e4be7b47b0d: Waiting 10:18:08 e1f770b5df2f: Waiting 10:18:08 85a0685a4137: Waiting 10:18:08 de9db76c5a1d: Verifying Checksum 10:18:08 de9db76c5a1d: Download complete 10:18:08 0ef7d3d256c8: Verifying Checksum 10:18:08 0ef7d3d256c8: Download complete 10:18:08 0d57e429df01: Verifying Checksum 10:18:08 0d57e429df01: Download complete 10:18:08 188c0c94c7c5: Download complete 10:18:08 4e4be7b47b0d: Verifying Checksum 10:18:08 4e4be7b47b0d: Download complete 10:18:08 188c0c94c7c5: Pull complete 10:18:08 0ef7d3d256c8: Pull complete 10:18:09 de9db76c5a1d: Pull complete 10:18:10 e1f770b5df2f: Verifying Checksum 10:18:10 e1f770b5df2f: Download complete 10:18:12 0eba1c9be4d2: Verifying Checksum 10:18:12 0eba1c9be4d2: Download complete 10:18:12 85a0685a4137: Verifying Checksum 10:18:12 85a0685a4137: Download complete 10:18:19 0eba1c9be4d2: Pull complete 10:18:19 0d57e429df01: Pull complete 10:18:19 4e4be7b47b0d: Pull complete 10:18:20 e1f770b5df2f: Pull complete 10:18:28 85a0685a4137: Pull complete 10:18:28 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 10:18:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:18:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 10:18:29 prd-centos7-docker-4c-2g-27636 does not seem to be running inside a container 10:18:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 10:18:30 $ docker top 4032267a527489ddedf5cb6f8685486fce04d00d011820db0a5d20bb77099e89 -eo pid,comm [Pipeline] { [Pipeline] echo 10:18:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 10:18:30 + set -o pipefail 10:18:30 + snyk monitor '--org=edgex-jenkins' 10:18:38 10:18:38 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... 10:18:38 10:18:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/f73582b9-488e-42b1-a5af-dcfe384fdca6 10:18:38 10:18:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:18:38 10:18:38 10:18:38 You have reached your monthly limit of 300 private tests for your edgex-jenkins org. 10:18:38 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:18:38 $ docker stop --time=1 4032267a527489ddedf5cb6f8685486fce04d00d011820db0a5d20bb77099e89 10:18:41 $ docker rm -f 4032267a527489ddedf5cb6f8685486fce04d00d011820db0a5d20bb77099e89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 10:18:42 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:18:42 provisioning config files... 10:18:42 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3038520223501436899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:43 --> edgex-publish-swagger.sh 10:18:43 === Publish openapi/v1 API === 10:18:43 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 10:18:43 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] 10:18:43 % Total % Received % Xferd Average Speed Time Time Time Current 10:18:43 Dload Upload Total Spent Left Speed 10:18:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 28208 --:--:-- --:--:-- --:--:-- 28253 10:18:43 10:18:43 10:18:43 === Publish openapi/v2 API === 10:18:43 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 10:18:43 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] 10:18:43 % Total % Received % Xferd Average Speed Time Time Time Current 10:18:43 Dload Upload Total Spent Left Speed 10:18:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52256 0 0 100 52256 0 80334 --:--:-- --:--:-- --:--:-- 80270 10:18:44 10:18:44 [Pipeline] } 10:18:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:18:45 + git log --format=format:%s -1 d38291b108151c678147caa989c3776b19aa5fc1 [Pipeline] isUnix [Pipeline] sh 10:18:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:18:45 . [Pipeline] withDockerContainer 10:18:45 prd-centos7-docker-4c-2g-27636 does not seem to be running inside a container 10:18:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:18:46 $ docker top 2d0a828c4f2fa584faad0a1b2889f55deb5b80ed40b9fd37bc4bba9631492406 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:18:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:18:46 [ssh-agent] Looking for ssh-agent implementation... 10:18:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:47 $ docker exec 2d0a828c4f2fa584faad0a1b2889f55deb5b80ed40b9fd37bc4bba9631492406 ssh-agent 10:18:47 SSH_AUTH_SOCK=/tmp/ssh-sehJwvCfJmd8/agent.12 10:18:47 SSH_AGENT_PID=17 10:18:47 Running ssh-add (command line suppressed) 10:18:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7733619975204841976.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7733619975204841976.key) 10:18:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:18:47 + git semver tag 10:18:47 # -> Open(): unable to determine branch for HEAD 10:18:47 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 10:18:47 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 10:18:47 # $SEMVER_REMOTE_NAME = origin 10:18:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:18:47 # $SEMVER_USER_NAME = edgex-jenkins 10:18:47 # $SEMVER_BRANCH = master 10:18:47 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 10:18:47 # d38291b108151c678147caa989c3776b19aa5fc1 HEAD 10:18:47 # -> Force: false 10:18:47 # 5c1c20d6281efc060e243ea66dec009cd7a9642c refs/tags/v2.0.0-dev.17 [Pipeline] } 10:18:47 $ docker exec --env ******** --env ******** 2d0a828c4f2fa584faad0a1b2889f55deb5b80ed40b9fd37bc4bba9631492406 ssh-agent -k 10:18:47 unset SSH_AUTH_SOCK; 10:18:47 unset SSH_AGENT_PID; 10:18:47 echo Agent pid 17 killed; 10:18:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:18:48 + git semver [Pipeline] } 10:18:48 $ docker stop --time=1 2d0a828c4f2fa584faad0a1b2889f55deb5b80ed40b9fd37bc4bba9631492406 10:18:49 $ docker rm -f 2d0a828c4f2fa584faad0a1b2889f55deb5b80ed40b9fd37bc4bba9631492406 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 10:18:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:18:50 10:18:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 10:18:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:18:50 0.23.1-centos7: Pulling from edgex-lftools 10:18:50 ab5ef0e58194: Pulling fs layer 10:18:50 9712f1f96733: Pulling fs layer 10:18:50 63f879dbbcfc: Pulling fs layer 10:18:50 0d9ebad4ef96: Pulling fs layer 10:18:50 e9a5061849ea: Pulling fs layer 10:18:50 d747dcd14b5f: Pulling fs layer 10:18:50 2de7ff778b66: Pulling fs layer 10:18:50 e9a5061849ea: Waiting 10:18:50 d747dcd14b5f: Waiting 10:18:50 2de7ff778b66: Waiting 10:18:50 0d9ebad4ef96: Waiting 10:18:50 9712f1f96733: Verifying Checksum 10:18:50 9712f1f96733: Download complete 10:18:52 63f879dbbcfc: Verifying Checksum 10:18:52 63f879dbbcfc: Download complete 10:18:52 e9a5061849ea: Verifying Checksum 10:18:52 e9a5061849ea: Download complete 10:18:52 d747dcd14b5f: Verifying Checksum 10:18:52 d747dcd14b5f: Download complete 10:18:52 2de7ff778b66: Verifying Checksum 10:18:52 2de7ff778b66: Download complete 10:18:53 0d9ebad4ef96: Verifying Checksum 10:18:53 0d9ebad4ef96: Download complete 10:18:53 ab5ef0e58194: Verifying Checksum 10:18:53 ab5ef0e58194: Download complete 10:18:57 ab5ef0e58194: Pull complete 10:18:57 9712f1f96733: Pull complete 10:19:00 63f879dbbcfc: Pull complete 10:19:06 0d9ebad4ef96: Pull complete 10:19:08 e9a5061849ea: Pull complete 10:19:08 d747dcd14b5f: Pull complete 10:19:10 2de7ff778b66: Pull complete 10:19:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:19:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:19:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 10:19:11 prd-centos7-docker-4c-2g-27636 does not seem to be running inside a container 10:19:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:19:14 $ docker top 7e930d31a5810314c31de5fda5235916deefa81e5a8676e741824d28ffc84059 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:19:14 provisioning config files... 10:19:14 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5168619683096256142tmp 10:19:14 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5029723075568112728tmp 10:19:14 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8170944397627365569tmp [Pipeline] { [Pipeline] echo 10:19:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:19:15 ---> sigul-configuration.sh 10:19:15 gpg: directory `/root/.gnupg' created 10:19:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:19:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:19:15 gpg: keyring `/root/.gnupg/secring.gpg' created 10:19:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:19:15 gpg: CAST5 encrypted data 10:19:15 gpg: encrypted with 1 passphrase 10:19:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:19:15 + mkdir /home/jenkins 10:19:15 + mkdir /home/jenkins/sigul [Pipeline] sh 10:19:16 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 10:19:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:19:16 ---> sigul-install.sh 10:19:22 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 10:19:23 + git tag --list 10:19:23 0.7.1 10:19:23 delhi-tag 10:19:23 v1.0.0 10:19:23 v1.1.0 10:19:23 v1.1.1 10:19:23 v1.1.2 10:19:23 v1.2.0 10:19:23 v1.2.1 10:19:23 v1.2.2 10:19:23 v1.2.3 10:19:23 v1.3.0 10:19:23 v1.4.0 10:19:23 v2.0.0-dev.1 10:19:23 v2.0.0-dev.10 10:19:23 v2.0.0-dev.11 10:19:23 v2.0.0-dev.12 10:19:23 v2.0.0-dev.13 10:19:23 v2.0.0-dev.14 10:19:23 v2.0.0-dev.15 10:19:23 v2.0.0-dev.16 10:19:23 v2.0.0-dev.17 10:19:23 v2.0.0-dev.2 10:19:23 v2.0.0-dev.3 10:19:23 v2.0.0-dev.4 10:19:23 v2.0.0-dev.5 10:19:23 v2.0.0-dev.6 10:19:23 v2.0.0-dev.7 10:19:23 v2.0.0-dev.8 10:19:23 v2.0.0-dev.9 [Pipeline] sh 10:19:23 + lftools sign git-tag v2.0.0-dev.17 10:19:25 Signing Git tag with Sigul... 10:19:25 Signing v2.0.0-dev.17 [Pipeline] echo 10:19:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:19:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:19:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:19:26 $ docker stop --time=1 7e930d31a5810314c31de5fda5235916deefa81e5a8676e741824d28ffc84059 10:19:28 $ docker rm -f 7e930d31a5810314c31de5fda5235916deefa81e5a8676e741824d28ffc84059 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 10:19:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:19:29 . [Pipeline] withDockerContainer 10:19:29 prd-centos7-docker-4c-2g-27636 does not seem to be running inside a container 10:19:29 $ 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 10:19:30 $ docker top 46b3362e2439765f307b6685b65e29412f5f9915979d0353eccaef164f38a9bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:19:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:19:30 [ssh-agent] Looking for ssh-agent implementation... 10:19:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:19:30 $ docker exec 46b3362e2439765f307b6685b65e29412f5f9915979d0353eccaef164f38a9bb ssh-agent 10:19:30 SSH_AUTH_SOCK=/tmp/ssh-4MXGJFL2sK6P/agent.12 10:19:30 SSH_AGENT_PID=18 10:19:30 Running ssh-add (command line suppressed) 10:19:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2873897536529080119.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2873897536529080119.key) 10:19:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:19:31 + git semver bump pre 10:19:31 # -> Open(): unable to determine branch for HEAD 10:19:31 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 10:19:31 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 10:19:31 # $SEMVER_REMOTE_NAME = origin 10:19:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:19:31 # $SEMVER_USER_NAME = edgex-jenkins 10:19:31 # $SEMVER_BRANCH = master 10:19:31 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 10:19:31 2.0.0-dev.18 [Pipeline] } 10:19:31 $ docker exec --env ******** --env ******** 46b3362e2439765f307b6685b65e29412f5f9915979d0353eccaef164f38a9bb ssh-agent -k 10:19:31 unset SSH_AUTH_SOCK; 10:19:31 unset SSH_AGENT_PID; 10:19:31 echo Agent pid 18 killed; 10:19:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:19:32 + git semver [Pipeline] } 10:19:32 $ docker stop --time=1 46b3362e2439765f307b6685b65e29412f5f9915979d0353eccaef164f38a9bb 10:19:33 $ docker rm -f 46b3362e2439765f307b6685b65e29412f5f9915979d0353eccaef164f38a9bb [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 10:19:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:19:34 . [Pipeline] withDockerContainer 10:19:34 prd-centos7-docker-4c-2g-27636 does not seem to be running inside a container 10:19:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:19:34 $ docker top edd51cd0ac95a79a70b254b567edc3fa077d5cf76e05ee903e7b836ee6467056 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:19:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:19:35 [ssh-agent] Looking for ssh-agent implementation... 10:19:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:19:35 $ docker exec edd51cd0ac95a79a70b254b567edc3fa077d5cf76e05ee903e7b836ee6467056 ssh-agent 10:19:35 SSH_AUTH_SOCK=/tmp/ssh-Eu7RRmAWM5es/agent.12 10:19:35 SSH_AGENT_PID=18 10:19:35 Running ssh-add (command line suppressed) 10:19:35 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4372938254379350235.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4372938254379350235.key) 10:19:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:19:35 + git semver push 10:19:35 # -> Open(): unable to determine branch for HEAD 10:19:35 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 10:19:35 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 10:19:35 # $SEMVER_REMOTE_NAME = origin 10:19:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:19:35 # $SEMVER_USER_NAME = edgex-jenkins 10:19:35 # $SEMVER_BRANCH = master 10:19:35 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 10:19:42 $ docker exec --env ******** --env ******** edd51cd0ac95a79a70b254b567edc3fa077d5cf76e05ee903e7b836ee6467056 ssh-agent -k 10:19:42 unset SSH_AUTH_SOCK; 10:19:42 unset SSH_AGENT_PID; 10:19:42 echo Agent pid 18 killed; 10:19:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:19:43 + git semver [Pipeline] } 10:19:43 $ docker stop --time=1 edd51cd0ac95a79a70b254b567edc3fa077d5cf76e05ee903e7b836ee6467056 10:19:44 $ docker rm -f edd51cd0ac95a79a70b254b567edc3fa077d5cf76e05ee903e7b836ee6467056 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 10:19:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:19:47 ---> package-listing.sh 10:19:47 ++ facter osfamily 10:19:47 ++ tr '[:upper:]' '[:lower:]' 10:19:47 + OS_FAMILY=redhat 10:19:47 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 10:19:47 + START_PACKAGES=/tmp/packages_start.txt 10:19:47 + END_PACKAGES=/tmp/packages_end.txt 10:19:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:19:47 + PACKAGES=/tmp/packages_start.txt 10:19:47 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 10:19:47 + PACKAGES=/tmp/packages_end.txt 10:19:47 + case "${OS_FAMILY}" in 10:19:47 + rpm -qa 10:19:47 + sort 10:19:52 + '[' -f /tmp/packages_start.txt ']' 10:19:52 + '[' -f /tmp/packages_end.txt ']' 10:19:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:19:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 10:19:52 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 10:19:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 10:19:52 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:19:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:19:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:19:53 10:19:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:19:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:19:53 alpine: Pulling from edgex-lftools-log-publisher 10:19:53 df20fa9351a1: Pulling fs layer 10:19:53 36b3adc4ff6f: Pulling fs layer 10:19:53 8ad3a11d3b57: Pulling fs layer 10:19:53 46f8f816bc3b: Pulling fs layer 10:19:53 93b61091891f: Pulling fs layer 10:19:53 93b9cdb0e59b: Pulling fs layer 10:19:53 5e14af77c1be: Pulling fs layer 10:19:53 01666e4c0597: Pulling fs layer 10:19:53 aa168da1d23b: Pulling fs layer 10:19:53 93b9cdb0e59b: Waiting 10:19:53 5e14af77c1be: Waiting 10:19:53 01666e4c0597: Waiting 10:19:53 aa168da1d23b: Waiting 10:19:53 46f8f816bc3b: Waiting 10:19:53 93b61091891f: Waiting 10:19:53 36b3adc4ff6f: Verifying Checksum 10:19:53 36b3adc4ff6f: Download complete 10:19:53 46f8f816bc3b: Verifying Checksum 10:19:53 46f8f816bc3b: Download complete 10:19:53 df20fa9351a1: Verifying Checksum 10:19:53 df20fa9351a1: Download complete 10:19:53 93b9cdb0e59b: Verifying Checksum 10:19:53 93b9cdb0e59b: Download complete 10:19:53 93b61091891f: Download complete 10:19:53 5e14af77c1be: Verifying Checksum 10:19:53 5e14af77c1be: Download complete 10:19:53 01666e4c0597: Verifying Checksum 10:19:53 01666e4c0597: Download complete 10:19:54 df20fa9351a1: Pull complete 10:19:54 8ad3a11d3b57: Verifying Checksum 10:19:54 36b3adc4ff6f: Pull complete 10:19:56 aa168da1d23b: Download complete 10:19:56 8ad3a11d3b57: Pull complete 10:19:56 46f8f816bc3b: Pull complete 10:19:56 93b61091891f: Pull complete 10:19:57 93b9cdb0e59b: Pull complete 10:19:57 5e14af77c1be: Pull complete 10:19:57 01666e4c0597: Pull complete 10:20:05 aa168da1d23b: Pull complete 10:20:05 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:20:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:20:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:20:05 prd-centos7-docker-4c-2g-27636 does not seem to be running inside a container 10:20:05 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:20:08 $ docker top cccf219d1a9fac2b97cfe8ccd08fcfc0915d2239165a876b4e14568612baee86 -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:09 + touch /tmp/pre-build-complete [Pipeline] sh 10:20:09 + mkdir -p /var/log/sa [Pipeline] sh 10:20:09 + ls /var/log/sa-host 10:20:09 + sadf -c /var/log/sa-host/sa23 10:20:09 file_magic: OK 10:20:09 HZ: Using current value: 100 10:20:09 file_header: OK 10:20:09 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 10:20:09 Statistics: 10:20:09 Hnuu...uuuununununu... 10:20:09 File successfully converted to sysstat format version 12.2.1 10:20:09 + sadf -c /var/log/sa-host/sa25 10:20:09 file_magic: OK 10:20:09 HZ: Using current value: 100 10:20:09 file_header: OK 10:20:09 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 10:20:09 Statistics: 10:20:09 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... 10:20:09 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:10 provisioning config files... 10:20:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6148972629667374818tmp [Pipeline] { [Pipeline] echo 10:20:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:20:10 ---> create-netrc.sh [Pipeline] } 10:20:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:20:10 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:20:11 ---> python-tools-install.sh [Pipeline] echo 10:20:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:20:11 ---> sudo-logs.sh 10:20:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:20:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:20:11 ---> job-cost.sh 10:20:11 lf-activate-venv: SKIPPING 10:20:11 DEBUG: total: 0.20999999344348907 10:20:11 INFO: Retrieving Stack Cost... 10:20:13 INFO: Retrieving Pricing Info for: v1-standard-2 10:20:13 INFO: Archiving Costs [Pipeline] echo 10:20:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:20:13 ---> logs-deploy.sh 10:20:13 lf-activate-venv: SKIPPING 10:20:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/122 10:20:13 INFO: archiving workspace using pattern(s): 10:20:15 Archives upload complete. 10:20:15 INFO: archiving logs to Nexus