Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 937f7680f1554a72c84329a55ac11d6ee07f800f+8659f99871c0873da8324f2f6a625b509cb242d1 (122a786aaf2750d7d84dad5092d28d7db12d013c) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-584 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [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_PR-883 # 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 Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit 937f7680f1554a72c84329a55ac11d6ee07f800f Merge succeeded, producing e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 Checking out Revision e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 (PR-883) > 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/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 # timeout=10 Commit message: "Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD" > git rev-list --no-walk 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:42:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:42:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:42:31 ========================================================= 22:42:31 EdgeX Global Pipelines Version Info 22:42:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:42:32 ------------------- 22:42:32 stable info: 22:42:32 ------------------- 22:42:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:42:32 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 22:42:32 Message: update stable to v1.0.186 22:42:33 ------------------- 22:42:33 experimental info: 22:42:33 ------------------- 22:42:33 Commited By: **** collab-it+edgex@linuxfoundation.org 22:42:33 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 22:42:33 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:42:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:42:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:42:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:42:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:42:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:42:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-883 [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-883 [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-883 [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8cca5a [Pipeline] echo 22:42:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:42:34 provisioning config files... 22:42:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config7386762577268126859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:35 ---> docker-login.sh 22:42:35 nexus3.edgexfoundry.org:10001 22:42:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:35 Configure a credential helper to remove this warning. See 22:42:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:35 22:42:35 Login Succeeded 22:42:35 nexus3.edgexfoundry.org:10002 22:42:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:35 Configure a credential helper to remove this warning. See 22:42:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:35 22:42:35 Login Succeeded 22:42:35 nexus3.edgexfoundry.org:10003 22:42:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:35 Configure a credential helper to remove this warning. See 22:42:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:35 22:42:35 Login Succeeded 22:42:35 nexus3.edgexfoundry.org:10004 22:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:36 Configure a credential helper to remove this warning. See 22:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:36 22:42:36 Login Succeeded 22:42:36 docker.io 22:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:36 Configure a credential helper to remove this warning. See 22:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:36 22:42:36 Login Succeeded 22:42:36 ---> docker-login.sh ends [Pipeline] } 22:42:36 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 22:42:36 + git log --format=format:%s -1 e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 [Pipeline] echo 22:42:36 GIT_COMMIT: e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18, Commit Message: Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD [Pipeline] echo 22:42:36 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:42:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:37 22:42:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:42:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:37 latest: Pulling from edgex-devops/git-semver 22:42:37 31603596830f: Pulling fs layer 22:42:37 2a8b12db71e7: Pulling fs layer 22:42:37 6ca5941a6612: Pulling fs layer 22:42:37 ecc8261a40a4: Pulling fs layer 22:42:37 ecc8261a40a4: Waiting 22:42:37 2a8b12db71e7: Verifying Checksum 22:42:37 2a8b12db71e7: Download complete 22:42:37 31603596830f: Verifying Checksum 22:42:37 31603596830f: Download complete 22:42:38 ecc8261a40a4: Verifying Checksum 22:42:38 ecc8261a40a4: Download complete 22:42:38 6ca5941a6612: Download complete 22:42:38 31603596830f: Pull complete 22:42:38 2a8b12db71e7: Pull complete 22:42:39 6ca5941a6612: Pull complete 22:42:39 ecc8261a40a4: Pull complete 22:42:39 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:42:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:42:39 prd-centos7-docker-4c-2g-584 does not seem to be running inside a container 22:42:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-883 -v /w/workspace/dgexfoundry_device-sdk-go_PR-883:/w/workspace/dgexfoundry_device-sdk-go_PR-883:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:42:41 $ docker top fdc3f2ef23c4a1619f498c6e480108eb36d3ff26da2cd487659b73ad207216a3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:42:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:42 [ssh-agent] Looking for ssh-agent implementation... 22:42:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:42 $ docker exec fdc3f2ef23c4a1619f498c6e480108eb36d3ff26da2cd487659b73ad207216a3 ssh-agent 22:42:42 SSH_AUTH_SOCK=/tmp/ssh-pj6Lnj9ZV1Pa/agent.12 22:42:42 SSH_AGENT_PID=18 22:42:42 Running ssh-add (command line suppressed) 22:42:42 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_7492145814485322395.key (/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_7492145814485322395.key) 22:42:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:42 + git tag --points-at HEAD [Pipeline] } 22:42:43 $ docker exec --env ******** --env ******** fdc3f2ef23c4a1619f498c6e480108eb36d3ff26da2cd487659b73ad207216a3 ssh-agent -k 22:42:43 unset SSH_AUTH_SOCK; 22:42:43 unset SSH_AGENT_PID; 22:42:43 echo Agent pid 18 killed; 22:42:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:42:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:43 [ssh-agent] Looking for ssh-agent implementation... 22:42:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:43 $ docker exec fdc3f2ef23c4a1619f498c6e480108eb36d3ff26da2cd487659b73ad207216a3 ssh-agent 22:42:43 SSH_AUTH_SOCK=/tmp/ssh-peypzzgujtzZ/agent.49 22:42:43 SSH_AGENT_PID=54 22:42:43 Running ssh-add (command line suppressed) 22:42:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_4416370010406782583.key (/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_4416370010406782583.key) 22:42:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:44 + git semver init 22:42:44 # -> Open(): unable to determine branch for HEAD 22:42:44 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-883/.git 22:42:44 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-883 22:42:44 # $SEMVER_REMOTE_NAME = origin 22:42:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:42:44 # $SEMVER_USER_NAME = edgex-jenkins 22:42:44 # $SEMVER_BRANCH = PR-883 22:42:44 # $SEMVER_TEMP = /tmp/semver-938629700 22:42:44 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:42:45 # '/tmp/semver-938629700' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-883/.semver' 22:42:45 # -> Force: false 22:42:45 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-883/.semver [Pipeline] } 22:42:45 $ docker exec --env ******** --env ******** fdc3f2ef23c4a1619f498c6e480108eb36d3ff26da2cd487659b73ad207216a3 ssh-agent -k 22:42:45 unset SSH_AUTH_SOCK; 22:42:45 unset SSH_AGENT_PID; 22:42:45 echo Agent pid 54 killed; 22:42:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:42:45 + git semver [Pipeline] } 22:42:45 $ docker stop --time=1 fdc3f2ef23c4a1619f498c6e480108eb36d3ff26da2cd487659b73ad207216a3 22:42:47 $ docker rm -f fdc3f2ef23c4a1619f498c6e480108eb36d3ff26da2cd487659b73ad207216a3 [Pipeline] // withDockerContainer [Pipeline] sh 22:42:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:42:48 Stashed 1 file(s) [Pipeline] echo 22:42:48 [edgeXSemver]: initialized semver on version 0.0.0 [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 22:43:03 Still waiting to schedule task 22:43:03 ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-585’ is offline 22:43:03 Still waiting to schedule task 22:43:03 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:44:46 Running on prd-centos7-docker-4c-2g-591 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [Pipeline] { [Pipeline] ws 22:44:46 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 22:44:49 using credential edgex-jenkins-ssh 22:44:49 Cloning the remote Git repository 22:44:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:44:49 > git init /w/workspace/device-sdk-go/2 # timeout=10 22:44:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:49 > git --version # timeout=10 22:44:49 > git --version # 'git version 2.24.3' 22:44:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:50 Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit 937f7680f1554a72c84329a55ac11d6ee07f800f 22:44:50 Merge succeeded, producing 5f9eecc86969829f92b3751fdfc0cad141c1ac88 22:44:50 Checking out Revision 5f9eecc86969829f92b3751fdfc0cad141c1ac88 (PR-883) 22:44:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:44:50 > git config core.sparsecheckout # timeout=10 22:44:50 > git checkout -f 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 22:44:50 > git remote # timeout=10 22:44:50 > git config --get remote.origin.url # timeout=10 22:44:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:50 > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 22:44:50 > git rev-parse HEAD^{commit} # timeout=10 22:44:50 > git config core.sparsecheckout # timeout=10 22:44:50 > git checkout -f 5f9eecc86969829f92b3751fdfc0cad141c1ac88 # timeout=10 22:44:54 Commit message: "Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD" 22:44:54 > git rev-list --no-walk 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:55 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:44:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:44:56 + sudo service docker restart 22:44:56 + true 22:44:56 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:44:57 provisioning config files... 22:44:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2713534378812816006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:57 ---> docker-login.sh 22:44:57 nexus3.edgexfoundry.org:10001 22:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:58 Configure a credential helper to remove this warning. See 22:44:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:58 22:44:58 Login Succeeded 22:44:58 nexus3.edgexfoundry.org:10002 22:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:58 Configure a credential helper to remove this warning. See 22:44:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:58 22:44:58 Login Succeeded 22:44:58 nexus3.edgexfoundry.org:10003 22:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:58 Configure a credential helper to remove this warning. See 22:44:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:58 22:44:58 Login Succeeded 22:44:58 nexus3.edgexfoundry.org:10004 22:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:58 Configure a credential helper to remove this warning. See 22:44:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:58 22:44:58 Login Succeeded 22:44:58 docker.io 22:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:59 Configure a credential helper to remove this warning. See 22:44:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:59 22:44:59 Login Succeeded 22:44:59 ---> docker-login.sh ends [Pipeline] } 22:44:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:59 ========================================================= 22:44:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:44:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:44:59 + 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 . 22:44:59 Sending build context to Docker daemon 2.445MB 22:44:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:44:59 Step 2/8 : FROM ${BASE} 22:44:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:44:59 188c0c94c7c5: Pulling fs layer 22:44:59 0ef7d3d256c8: Pulling fs layer 22:44:59 de9db76c5a1d: Pulling fs layer 22:44:59 bca2f99d35d6: Pulling fs layer 22:44:59 93359f2a8cfa: Pulling fs layer 22:44:59 7c6f9722023f: Pulling fs layer 22:44:59 a35cf1a2eb13: Pulling fs layer 22:44:59 bca2f99d35d6: Waiting 22:44:59 93359f2a8cfa: Waiting 22:44:59 7c6f9722023f: Waiting 22:44:59 a35cf1a2eb13: Waiting 22:44:59 de9db76c5a1d: Download complete 22:44:59 0ef7d3d256c8: Verifying Checksum 22:44:59 0ef7d3d256c8: Download complete 22:44:59 93359f2a8cfa: Download complete 22:44:59 7c6f9722023f: Verifying Checksum 22:44:59 7c6f9722023f: Download complete 22:44:59 188c0c94c7c5: Verifying Checksum 22:44:59 188c0c94c7c5: Download complete 22:45:00 188c0c94c7c5: Pull complete 22:45:00 0ef7d3d256c8: Pull complete 22:45:00 de9db76c5a1d: Pull complete 22:45:01 a35cf1a2eb13: Verifying Checksum 22:45:01 a35cf1a2eb13: Download complete 22:45:02 bca2f99d35d6: Verifying Checksum 22:45:02 bca2f99d35d6: Download complete 22:45:07 bca2f99d35d6: Pull complete 22:45:07 93359f2a8cfa: Pull complete 22:45:07 7c6f9722023f: Pull complete 22:45:17 a35cf1a2eb13: Pull complete 22:45:17 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:45:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:45:17 ---> a62c8e92a672 22:45:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:45:17 ---> Running in e499907e0e89 22:45:17 Removing intermediate container e499907e0e89 22:45:17 ---> 9ba17e3d00a2 22:45:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:17 ---> Running in e19da7dedbb8 22:45:17 Removing intermediate container e19da7dedbb8 22:45:17 ---> 9ca99be14b95 22:45:17 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:45:17 ---> Running in 821f9a586dca 22:45:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:45:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:45:19 (1/6) Installing libc-dev (0.7.2-r3) 22:45:19 (2/6) Installing libsodium (1.0.18-r0) 22:45:19 (3/6) Installing pkgconf (1.7.2-r0) 22:45:19 (4/6) Installing libsodium-dev (1.0.18-r0) 22:45:19 (5/6) Installing libzmq (4.3.3-r0) 22:45:19 (6/6) Installing zeromq-dev (4.3.3-r0) 22:45:20 Executing busybox-1.31.1-r19.trigger 22:45:20 OK: 167 MiB in 45 packages 22:45:20 Removing intermediate container 821f9a586dca 22:45:20 ---> 2036666e05cc 22:45:20 Step 6/8 : WORKDIR /device-sdk-go 22:45:20 ---> Running in 3deea9bc529c 22:45:21 Removing intermediate container 3deea9bc529c 22:45:21 ---> a68378ca959b 22:45:21 Step 7/8 : COPY . . 22:45:22 ---> 918a90f67656 22:45:22 Step 8/8 : RUN go mod download 22:45:22 ---> Running in f1effedf2e6e 22:45:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-592 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [Pipeline] { [Pipeline] ws 22:45:40 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 22:45:45 Removing intermediate container f1effedf2e6e 22:45:45 ---> 7946fb5c44fe 22:45:45 Successfully built 7946fb5c44fe 22:45:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:45:45 + docker inspect -f . ci-base-image-x86_64 22:45:45 . [Pipeline] withDockerContainer 22:45:45 prd-centos7-docker-4c-2g-591 does not seem to be running inside a container 22:45:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:45:46 using credential edgex-jenkins-ssh 22:45:46 Cloning the remote Git repository 22:45:46 $ docker top 5c955009483b8335ad9e5b4d51eefc4f085f9f40535bafec1d4eb891b63b62fd -eo pid,comm 22:45:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:45:46 > git init /w/workspace/device-sdk-go/2 # timeout=10 22:45:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:46 > git --version # timeout=10 22:45:46 > git --version # 'git version 2.17.1' 22:45:46 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] sh 22:45:47 + go version 22:45:47 go version go1.15.5 linux/amd64 [Pipeline] } 22:45:47 $ docker stop --time=1 5c955009483b8335ad9e5b4d51eefc4f085f9f40535bafec1d4eb891b63b62fd 22:45:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:47 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:45:48 Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit 937f7680f1554a72c84329a55ac11d6ee07f800f 22:45:48 Merge succeeded, producing ccf77303847489fc11cf567f046e27b0179a3f34 22:45:48 Checking out Revision ccf77303847489fc11cf567f046e27b0179a3f34 (PR-883) 22:45:48 $ docker rm -f 5c955009483b8335ad9e5b4d51eefc4f085f9f40535bafec1d4eb891b63b62fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:45:49 + docker inspect -f . ci-base-image-x86_64 22:45:49 . [Pipeline] withDockerContainer 22:45:49 prd-centos7-docker-4c-2g-591 does not seem to be running inside a container 22:45:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:45:48 > git config core.sparsecheckout # timeout=10 22:45:48 > git checkout -f 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 22:45:48 > git remote # timeout=10 22:45:48 > git config --get remote.origin.url # timeout=10 22:45:48 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:48 > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 22:45:48 > git rev-parse HEAD^{commit} # timeout=10 22:45:48 > git config core.sparsecheckout # timeout=10 22:45:48 > git checkout -f ccf77303847489fc11cf567f046e27b0179a3f34 # timeout=10 22:45:50 $ docker top 54f3a092f551ac21b2acbf01b56a6aed8cc48eb74b338eb733c3d5c503a42d9a -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:50 + make test 22:45:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:45:52 Commit message: "Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD" 22:45:52 > git rev-list --no-walk 937f7680f1554a72c84329a55ac11d6ee07f800f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:54 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:45:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:45:55 + sudo service docker restart 22:45:55 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:45:57 provisioning config files... 22:45:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7061210409879181943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:58 ---> docker-login.sh 22:45:58 nexus3.edgexfoundry.org:10001 22:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:58 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:45:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:59 Configure a credential helper to remove this warning. See 22:45:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:59 22:45:59 Login Succeeded 22:45:59 nexus3.edgexfoundry.org:10002 22:45:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:59 Configure a credential helper to remove this warning. See 22:45:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:59 22:45:59 Login Succeeded 22:45:59 nexus3.edgexfoundry.org:10003 22:46:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:00 Configure a credential helper to remove this warning. See 22:46:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:00 22:46:00 Login Succeeded 22:46:00 nexus3.edgexfoundry.org:10004 22:46:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:00 Configure a credential helper to remove this warning. See 22:46:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:00 22:46:00 Login Succeeded 22:46:00 docker.io 22:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:01 Configure a credential helper to remove this warning. See 22:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:01 22:46:01 Login Succeeded 22:46:01 ---> docker-login.sh ends [Pipeline] } 22:46:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:46:01 ========================================================= 22:46:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:46:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:46:01 + 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 . 22:46:02 Sending build context to Docker daemon 2.452MB 22:46:02 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:46:02 Step 2/8 : FROM ${BASE} 22:46:02 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:46:02 5f621e34cdf4: Pulling fs layer 22:46:02 a4357932f1b6: Pulling fs layer 22:46:02 18c013af1878: Pulling fs layer 22:46:02 00ac8860ef70: Pulling fs layer 22:46:02 63d7cb157983: Pulling fs layer 22:46:02 b116817d02f9: Pulling fs layer 22:46:02 745a02a5169b: Pulling fs layer 22:46:02 63d7cb157983: Waiting 22:46:02 b116817d02f9: Waiting 22:46:02 745a02a5169b: Waiting 22:46:02 00ac8860ef70: Waiting 22:46:02 18c013af1878: Verifying Checksum 22:46:02 18c013af1878: Download complete 22:46:02 a4357932f1b6: Download complete 22:46:02 63d7cb157983: Verifying Checksum 22:46:02 63d7cb157983: Download complete 22:46:02 b116817d02f9: Verifying Checksum 22:46:02 b116817d02f9: Download complete 22:46:02 5f621e34cdf4: Download complete 22:46:03 5f621e34cdf4: Pull complete 22:46:03 a4357932f1b6: Pull complete 22:46:04 18c013af1878: Pull complete 22:46:04 745a02a5169b: Verifying Checksum 22:46:04 745a02a5169b: Download complete 22:46:06 00ac8860ef70: Verifying Checksum 22:46:06 00ac8860ef70: Download complete 22:46:16 00ac8860ef70: Pull complete 22:46:16 63d7cb157983: Pull complete 22:46:16 b116817d02f9: Pull complete 22:46:20 745a02a5169b: Pull complete 22:46:20 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:46:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:46:20 ---> b7e6874047d6 22:46:20 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:46:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:46:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:46:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:46:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:46:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:46:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.185s coverage: 28.1% of statements 22:46:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.113s coverage: 78.9% of statements 22:46:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.091s coverage: 7.8% of statements 22:46:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:46:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:46:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:46:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 32.0% of statements 22:46:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:46:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:46:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:46:23 ---> Running in 670ea586a1b3 22:46:23 Removing intermediate container 670ea586a1b3 22:46:23 ---> de352f23c6ad 22:46:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:23 ---> Running in 383558eed8a1 22:46:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.110s coverage: 57.1% of statements 22:46:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.238s coverage: 6.6% of statements 22:46:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 5.0% of statements 22:46:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:46:24 GO111MODULE=on go vet ./... 22:46:26 Removing intermediate container 383558eed8a1 22:46:26 ---> ff0dfa795774 22:46:26 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:46:26 ---> Running in b9ff26ad9493 22:46:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:46:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:46:28 (1/6) Installing libc-dev (0.7.2-r3) 22:46:28 (2/6) Installing libsodium (1.0.18-r0) 22:46:29 (3/6) Installing pkgconf (1.7.2-r0) 22:46:29 (4/6) Installing libsodium-dev (1.0.18-r0) 22:46:29 (5/6) Installing libzmq (4.3.3-r0) 22:46:29 (6/6) Installing zeromq-dev (4.3.3-r0) 22:46:29 Executing busybox-1.31.1-r19.trigger 22:46:29 OK: 144 MiB in 45 packages 22:46:31 Removing intermediate container b9ff26ad9493 22:46:31 ---> 979e23803a13 22:46:31 Step 6/8 : WORKDIR /device-sdk-go 22:46:31 ---> Running in b607e1e5ecb5 22:46:31 Removing intermediate container b607e1e5ecb5 22:46:31 ---> 23bb6ff36c6f 22:46:31 Step 7/8 : COPY . . 22:46:32 ---> c47c8b32dcf7 22:46:32 Step 8/8 : RUN go mod download 22:46:33 ---> Running in a98a629145cd 22:46:39 gofmt -l . 22:46:39 [ "`gofmt -l .`" = "" ] 22:46:39 ./bin/test-attribution-txt.sh 22:46:40 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:46:40 $ docker stop --time=1 54f3a092f551ac21b2acbf01b56a6aed8cc48eb74b338eb733c3d5c503a42d9a 22:46:42 $ docker rm -f 54f3a092f551ac21b2acbf01b56a6aed8cc48eb74b338eb733c3d5c503a42d9a [Pipeline] // withDockerContainer [Pipeline] sh 22:46:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:46:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:46:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:46:45 + ls -al . 22:46:45 total 188 22:46:45 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 17 22:46 . 22:46:45 drwxrwxr-x. 4 jenkins jenkins 28 Apr 17 22:44 .. 22:46:45 drwxrwxr-x. 2 jenkins jenkins 64 Apr 17 22:44 bin 22:46:45 -rw-r--r--. 1 jenkins jenkins 100116 Apr 17 22:46 coverage.out 22:46:45 -rw-rw-r--. 1 jenkins jenkins 987 Apr 17 22:44 Dockerfile.build 22:46:45 -rw-rw-r--. 1 jenkins jenkins 140 Apr 17 22:44 .dockerignore 22:46:45 drwxrwxr-x. 5 jenkins jenkins 62 Apr 17 22:44 example 22:46:45 drwxrwxr-x. 8 jenkins jenkins 179 Apr 17 22:44 .git 22:46:45 drwxrwxr-x. 2 jenkins jenkins 103 Apr 17 22:44 .github 22:46:45 -rw-rw-r--. 1 jenkins jenkins 138 Apr 17 22:44 .gitignore 22:46:45 -rw-r--r--. 1 jenkins jenkins 574 Apr 17 22:46 go.mod 22:46:45 -rw-r--r--. 1 jenkins jenkins 20735 Apr 17 22:46 go.sum 22:46:45 drwxrwxr-x. 14 jenkins jenkins 207 Apr 17 22:44 internal 22:46:45 -rw-rw-r--. 1 jenkins jenkins 901 Apr 17 22:44 Jenkinsfile 22:46:45 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 17 22:44 LICENSE 22:46:45 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 17 22:44 Makefile 22:46:45 drwxrwxr-x. 4 jenkins jenkins 26 Apr 17 22:44 openapi 22:46:45 drwxrwxr-x. 5 jenkins jenkins 50 Apr 17 22:44 pkg 22:46:45 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 17 22:44 README.md 22:46:45 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 17 22:44 RELEASE-NOTES.txt 22:46:45 drwxrwxr-x. 4 jenkins jenkins 54 Apr 17 22:44 snap 22:46:45 -rw-rw-r--. 1 jenkins jenkins 5 Apr 17 22:42 VERSION 22:46:45 -rw-rw-r--. 1 jenkins jenkins 222 Apr 17 22:44 version.go [Pipeline] isUnix [Pipeline] sh 22:46:45 + 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=e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 --label arch=amd64 --label version=0.0.0 . 22:46:45 Sending build context to Docker daemon 2.546MB 22:46:45 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:46:45 Step 2/23 : FROM ${BASE} AS builder 22:46:45 ---> 7946fb5c44fe 22:46:45 Step 3/23 : WORKDIR /device-sdk-go 22:46:46 ---> Running in dceaabdf26e6 22:46:46 Removing intermediate container dceaabdf26e6 22:46:46 ---> 3beab9996f18 22:46:46 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:46:46 ---> Running in 3aaedbbfb98d 22:46:46 Removing intermediate container 3aaedbbfb98d 22:46:46 ---> 6e69d71106e2 22:46:46 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:46 ---> Running in edece2f92f2e 22:46:47 Removing intermediate container edece2f92f2e 22:46:47 ---> f576612a0154 22:46:47 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:46:47 ---> Running in 16a2ba359a56 22:46:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:46:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:46:49 OK: 167 MiB in 45 packages 22:46:49 Removing intermediate container 16a2ba359a56 22:46:49 ---> c2ec1c3a89a1 22:46:49 Step 7/23 : COPY . . 22:46:51 ---> 4037f9e1a61f 22:46:51 Step 8/23 : RUN go mod download 22:46:51 ---> Running in 73ca4e1f26be 22:46:52 Removing intermediate container 73ca4e1f26be 22:46:52 ---> 23aa645b0243 22:46:52 Step 9/23 : RUN make build 22:46:52 ---> Running in 334282a352c9 22:46:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:46:59 Removing intermediate container a98a629145cd 22:46:59 ---> 6954ffbee442 22:46:59 Successfully built 6954ffbee442 22:46:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:47:00 + docker inspect -f . ci-base-image-arm64 22:47:00 . [Pipeline] withDockerContainer 22:47:00 prd-ubuntu18.04-docker-arm64-4c-16g-592 does not seem to be running inside a container 22:47:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:47:02 $ docker top 627077d39dd12144e221b2b2c134df35228b9e3f59db6dd9bcb898ff17423fb9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:03 + go version 22:47:03 go version go1.15.5 linux/arm64 [Pipeline] } 22:47:03 $ docker stop --time=1 627077d39dd12144e221b2b2c134df35228b9e3f59db6dd9bcb898ff17423fb9 22:47:05 $ docker rm -f 627077d39dd12144e221b2b2c134df35228b9e3f59db6dd9bcb898ff17423fb9 22:47:05 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:47:05 Removing intermediate container 334282a352c9 22:47:05 ---> f732f2573cea 22:47:05 Step 10/23 : FROM alpine:3.12 22:47:05 + docker inspect -f . ci-base-image-arm64 22:47:05 . [Pipeline] withDockerContainer 22:47:05 3.12: Pulling from library/alpine 22:47:05 339de151aab4: Pulling fs layer 22:47:06 prd-ubuntu18.04-docker-arm64-4c-16g-592 does not seem to be running inside a container 22:47:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:47:06 339de151aab4: Verifying Checksum 22:47:06 339de151aab4: Download complete 22:47:06 339de151aab4: Pull complete 22:47:06 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:47:06 Status: Downloaded newer image for alpine:3.12 22:47:06 ---> 13621d1b12d4 22:47:06 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:06 ---> Running in 1666ce288cb8 22:47:06 Removing intermediate container 1666ce288cb8 22:47:06 ---> 9259ac2f2aad 22:47:06 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:06 ---> Running in 5ee67ead5623 22:47:07 $ docker top 24af756bad3469b6eeae5b6669cb5f0445d84ec070cdce749fc778ad501ba878 -eo pid,comm 22:47:07 Removing intermediate container 5ee67ead5623 22:47:07 ---> fb293a997558 22:47:07 Step 13/23 : RUN apk add --update --no-cache zeromq 22:47:07 ---> Running in 50a429e7c0dc [Pipeline] { [Pipeline] sh 22:47:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:47:08 + make test 22:47:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:47:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:47:09 (1/5) Installing libgcc (9.3.0-r2) 22:47:09 (2/5) Installing libsodium (1.0.18-r0) 22:47:09 (3/5) Installing libstdc++ (9.3.0-r2) 22:47:10 (4/5) Installing libzmq (4.3.3-r0) 22:47:10 (5/5) Installing zeromq (4.3.3-r0) 22:47:10 Executing busybox-1.31.1-r20.trigger 22:47:10 OK: 8 MiB in 19 packages 22:47:11 Removing intermediate container 50a429e7c0dc 22:47:11 ---> a027663b9048 22:47:11 Step 14/23 : WORKDIR / 22:47:11 ---> Running in 3b0f4d2ca27e 22:47:11 Removing intermediate container 3b0f4d2ca27e 22:47:11 ---> 1e9c91407409 22:47:11 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:47:11 ---> 2c04763b3399 22:47:11 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:47:12 ---> 5ac84e2e3afe 22:47:12 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:47:12 ---> f9e3ddeea6b3 22:47:12 Step 18/23 : EXPOSE 49990 22:47:12 ---> Running in 66325b2c70e5 22:47:12 Removing intermediate container 66325b2c70e5 22:47:12 ---> 1569a0321cea 22:47:12 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:47:12 ---> Running in d098be646d10 22:47:13 Removing intermediate container d098be646d10 22:47:13 ---> f876dac591e0 22:47:13 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:47:13 ---> Running in ec53d8a9995f 22:47:13 Removing intermediate container ec53d8a9995f 22:47:13 ---> bb42afd1d3e7 22:47:13 Step 21/23 : LABEL arch=amd64 22:47:13 ---> Running in ea77b0539def 22:47:13 Removing intermediate container ea77b0539def 22:47:13 ---> 552fd6fbfb04 22:47:13 Step 22/23 : LABEL git_sha=e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 22:47:14 ---> Running in 582deb5940de 22:47:14 Removing intermediate container 582deb5940de 22:47:14 ---> 20ec1d89a630 22:47:14 Step 23/23 : LABEL version=0.0.0 22:47:14 ---> Running in 6e3f58a6f45c 22:47:14 Removing intermediate container 6e3f58a6f45c 22:47:14 ---> d0239627b688 22:47:14 [Warning] One or more build-args [ARCH MAKE] were not consumed 22:47:14 Successfully built d0239627b688 22:47: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 22:47:15 ---> job-cost.sh 22:47:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2igK 22:47:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:47:30 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:48:02 lf-activate-venv(): INFO: Adding /tmp/venv-2igK/bin to PATH 22:48:02 INFO: No Stack... 22:48:02 INFO: Retrieving Pricing Info for: v1-standard-2 22:48:02 INFO: Archiving Costs [Pipeline] sh 22:48:02 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 22:48:02 + cut -d, -f6 [Pipeline] lock 22:48:02 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] 22:48:02 Resource [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] did not exist. Created. 22:48:02 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:48:02 + echo total: 0.029999999329447746 [Pipeline] stash 22:48:03 Stashed 1 file(s) [Pipeline] } 22:48:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:48:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:48:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:48:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:48:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:48:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:48:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.185s coverage: 28.1% of statements 22:48:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.255s coverage: 78.9% of statements 22:48:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.139s coverage: 7.8% of statements 22:48:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:48:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:48:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:48:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.266s coverage: 32.0% of statements 22:48:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:48:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:48:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:48:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.298s coverage: 57.1% of statements 22:48:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.108s coverage: 6.6% of statements 22:48:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.152s coverage: 5.0% of statements 22:48:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:48:36 GO111MODULE=on go vet ./... 22:49:23 gofmt -l . 22:49:23 [ "`gofmt -l .`" = "" ] 22:49:23 ./bin/test-attribution-txt.sh 22:49:23 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:49:23 $ docker stop --time=1 24af756bad3469b6eeae5b6669cb5f0445d84ec070cdce749fc778ad501ba878 22:49:25 $ docker rm -f 24af756bad3469b6eeae5b6669cb5f0445d84ec070cdce749fc778ad501ba878 [Pipeline] // withDockerContainer [Pipeline] sh 22:49:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:49:26 Warning: overwriting stash ‘coverage-report’ 22:49:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:49:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:49:28 + ls -al . 22:49:28 total 224 22:49:28 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 22:49 . 22:49:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:45 .. 22:49:28 -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 22:45 .dockerignore 22:49:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 22:45 .git 22:49:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 22:45 .github 22:49:28 -rw-rw-r-- 1 jenkins jenkins 138 Apr 17 22:45 .gitignore 22:49:28 -rw-rw-r-- 1 jenkins jenkins 987 Apr 17 22:45 Dockerfile.build 22:49:28 -rw-rw-r-- 1 jenkins jenkins 901 Apr 17 22:45 Jenkinsfile 22:49:28 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 22:45 LICENSE 22:49:28 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 17 22:45 Makefile 22:49:28 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 17 22:45 README.md 22:49:28 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 17 22:45 RELEASE-NOTES.txt 22:49:28 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 22:42 VERSION 22:49:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 22:45 bin 22:49:28 -rw-r--r-- 1 jenkins jenkins 100116 Apr 17 22:48 coverage.out 22:49:28 drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 22:45 example 22:49:28 -rw-r--r-- 1 jenkins jenkins 574 Apr 17 22:49 go.mod 22:49:28 -rw-r--r-- 1 jenkins jenkins 20735 Apr 17 22:49 go.sum 22:49:28 drwxrwxr-x 14 jenkins jenkins 4096 Apr 17 22:45 internal 22:49:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:45 openapi 22:49:28 drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 22:45 pkg 22:49:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:45 snap 22:49:28 -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 22:45 version.go [Pipeline] isUnix [Pipeline] sh 22:49:28 + 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=e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 --label arch=arm64 --label version=0.0.0 . 22:49:29 Sending build context to Docker daemon 2.553MB 22:49:29 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:49:29 Step 2/23 : FROM ${BASE} AS builder 22:49:29 ---> 6954ffbee442 22:49:29 Step 3/23 : WORKDIR /device-sdk-go 22:49:29 ---> Running in 0000651d1692 22:49:30 Removing intermediate container 0000651d1692 22:49:30 ---> 912acb8af76b 22:49:30 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:49:30 ---> Running in 606a67d99ac8 22:49:30 Removing intermediate container 606a67d99ac8 22:49:30 ---> 354b447d7192 22:49:30 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:49:30 ---> Running in 6fc0f29b1a63 22:49:32 Removing intermediate container 6fc0f29b1a63 22:49:32 ---> 6a58d6f1e8b6 22:49:32 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:49:32 ---> Running in d4aed34c23b9 22:49:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:49:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:49:35 OK: 144 MiB in 45 packages 22:49:36 Removing intermediate container d4aed34c23b9 22:49:36 ---> e05f0a48a3c0 22:49:36 Step 7/23 : COPY . . 22:49:37 ---> 307239fab44d 22:49:37 Step 8/23 : RUN go mod download 22:49:37 ---> Running in e0c02aa34ab1 22:49:39 Removing intermediate container e0c02aa34ab1 22:49:39 ---> baff6fc84db0 22:49:39 Step 9/23 : RUN make build 22:49:40 ---> Running in 35ec5976c7d1 22:49:41 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:50:13 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:50:15 Removing intermediate container 35ec5976c7d1 22:50:15 ---> 26d4c75a8bd5 22:50:15 Step 10/23 : FROM alpine:3.12 22:50:15 3.12: Pulling from library/alpine 22:50:15 d2f70382dc9a: Pulling fs layer 22:50:16 d2f70382dc9a: Verifying Checksum 22:50:16 d2f70382dc9a: Download complete 22:50:16 d2f70382dc9a: Pull complete 22:50:16 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:50:16 Status: Downloaded newer image for alpine:3.12 22:50:16 ---> 9852663dfa18 22:50:16 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:50:16 ---> Running in a373271d4a4e 22:50:17 Removing intermediate container a373271d4a4e 22:50:17 ---> 67ce8ed977ea 22:50:17 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:17 ---> Running in c7c1e146c01c 22:50:19 Removing intermediate container c7c1e146c01c 22:50:19 ---> 318d7dd615fa 22:50:19 Step 13/23 : RUN apk add --update --no-cache zeromq 22:50:19 ---> Running in f4bc944ad64d 22:50:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:50:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:50:24 (1/5) Installing libgcc (9.3.0-r2) 22:50:24 (2/5) Installing libsodium (1.0.18-r0) 22:50:24 (3/5) Installing libstdc++ (9.3.0-r2) 22:50:25 (4/5) Installing libzmq (4.3.3-r0) 22:50:25 (5/5) Installing zeromq (4.3.3-r0) 22:50:25 Executing busybox-1.31.1-r20.trigger 22:50:25 OK: 8 MiB in 19 packages 22:50:27 Removing intermediate container f4bc944ad64d 22:50:27 ---> 3e9ed0c43dac 22:50:27 Step 14/23 : WORKDIR / 22:50:27 ---> Running in 4301f7ec0784 22:50:27 Removing intermediate container 4301f7ec0784 22:50:27 ---> e6293cb2d427 22:50:27 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:50:28 ---> 20acde61f5ac 22:50:28 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:50:29 ---> 0458f6fa4398 22:50:29 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:50:30 ---> 015dc17a35ff 22:50:30 Step 18/23 : EXPOSE 49990 22:50:30 ---> Running in a39202779730 22:50:30 Removing intermediate container a39202779730 22:50:30 ---> 303cced0d209 22:50:30 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:50:31 ---> Running in aa0817048285 22:50:31 Removing intermediate container aa0817048285 22:50:31 ---> d53d87e82dab 22:50:31 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:50:31 ---> Running in 90dbb5fd0f64 22:50:31 Removing intermediate container 90dbb5fd0f64 22:50:31 ---> c8870abf7b06 22:50:31 Step 21/23 : LABEL arch=arm64 22:50:32 ---> Running in 91336c85f505 22:50:32 Removing intermediate container 91336c85f505 22:50:32 ---> 7602351ad67e 22:50:32 Step 22/23 : LABEL git_sha=e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 22:50:32 ---> Running in 351e2647fa56 22:50:32 Removing intermediate container 351e2647fa56 22:50:32 ---> 29eeee2d73f2 22:50:32 Step 23/23 : LABEL version=0.0.0 22:50:33 ---> Running in 5b9491a4f624 22:50:33 Removing intermediate container 5b9491a4f624 22:50:33 ---> c1b8ded77b9c 22:50:33 [Warning] One or more build-args [MAKE ARCH] were not consumed 22:50:33 Successfully built c1b8ded77b9c 22:50:33 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 22:50:33 ---> job-cost.sh 22:50:33 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8JJb 22:51:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:52:34 lf-activate-venv(): INFO: Adding /tmp/venv-8JJb/bin to PATH 22:52:34 INFO: No Stack... 22:52:35 INFO: Retrieving Pricing Info for: lf-standard-4 22:52:36 INFO: Archiving Costs [Pipeline] sh 22:52:36 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 22:52:36 + cut -d, -f6 [Pipeline] lock 22:52:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] 22:52:36 Resource [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] did not exist. Created. 22:52:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-883-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:52:36 /w/workspace/device-sdk-go/2@tmp/durable-c9d94dba/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-c9d94dba/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:52:37 + echo total: 0.20999999344348907 [Pipeline] stash 22:52:37 Warning: overwriting stash ‘stack-cost’ 22:52:37 Stashed 1 file(s) [Pipeline] } 22:52:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-883-2-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 22:52:37 provisioning config files... 22:52:37 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config7709486388282425812tmp [Pipeline] { [Pipeline] sh 22:52:38 + set +x 22:52:38 + curl -s https://codecov.io/bash 22:52:38 + bash -s -- 22:52:38 22:52:38 _____ _ 22:52:38 / ____| | | 22:52:38 | | ___ __| | ___ ___ _____ __ 22:52:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:52:38 | |___| (_) | (_| | __/ (_| (_) \ V / 22:52:38 \_____\___/ \__,_|\___|\___\___/ \_/ 22:52:38 Bash-1.0.1 22:52:38 22:52:38 22:52:38 ==> git version 2.24.3 found 22:52:38 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 22:52:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:52:38 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:52:38 ==> Jenkins CI detected. 22:52:38 project root: . 22:52:38 --> token set from env 22:52:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:52:38 ==> Running gcov in . (disable via -X gcov) 22:52:38 ==> Python coveragepy not found 22:52:38 ==> Searching for coverage reports in: 22:52:38 + . 22:52:38 -> Found 1 reports 22:52:38 ==> Detecting git/mercurial file structure 22:52:38 ==> Reading reports 22:52:38 + ./coverage.out bytes=100116 22:52:38 ==> Appending adjustments 22:52:38 https://docs.codecov.io/docs/fixing-reports 22:52:38 + Found adjustments 22:52:38 ==> Gzipping contents 22:52:38 16K /tmp/codecov.EVB3BP.gz 22:52:38 ==> Uploading reports 22:52:38 url: https://codecov.io 22:52:38 query: branch=PR-883&commit=e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-883%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=883&job=&cmd_args= 22:52:38 -> Pinging Codecov 22:52:38 https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-883&commit=e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-883%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=883&job=&cmd_args= 22:52:39 -> Uploading to 22:52:39 https://storage.googleapis.com/codecov/v4/raw/2021-04-17/7E55EF52A471D76F132DFD9A03CDDE97/e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18/fbeea09b-f462-4d98-8b7a-001742225e88.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQTQ3YJIJLIJGVGTVHAPGJID7VJUNCGTQF3BY2BVBYAXUZ3IB42ZKRMI%2F20210417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210417T225239Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f36a961c12014168d8e359f80f224d640ac466bd2e6d6703c17ae842588ff5e 22:52:39 % Total % Received % Xferd Average Speed Time Time Time Current 22:52:39 Dload Upload Total Spent Left Speed 22:52:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 13530 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13530 0 0 100 13530 0 29229 --:--:-- --:--:-- --:--:-- 29222 22:52:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e8cca5a8276a5aed9ccf4434c1f9e2cea3e67b18 [Pipeline] } 22:52:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 22:52:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:52:41 ---> package-listing.sh 22:52:41 ++ facter osfamily 22:52:41 ++ tr '[:upper:]' '[:lower:]' 22:52:41 + OS_FAMILY=redhat 22:52:41 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-883 22:52:41 + START_PACKAGES=/tmp/packages_start.txt 22:52:41 + END_PACKAGES=/tmp/packages_end.txt 22:52:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:52:41 + PACKAGES=/tmp/packages_start.txt 22:52:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-883 ']' 22:52:41 + PACKAGES=/tmp/packages_end.txt 22:52:41 + case "${OS_FAMILY}" in 22:52:41 + rpm -qa 22:52:41 + sort 22:52:46 + '[' -f /tmp/packages_start.txt ']' 22:52:46 + '[' -f /tmp/packages_end.txt ']' 22:52:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:52:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-883 ']' 22:52:46 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-883/archives/ 22:52:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-883/archives/ [Pipeline] echo 22:52:46 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_PR-883/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:52:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:52:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:52:47 22:52:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:52:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:52:47 alpine: Pulling from edgex-lftools-log-publisher 22:52:47 df20fa9351a1: Pulling fs layer 22:52:47 36b3adc4ff6f: Pulling fs layer 22:52:47 8ad3a11d3b57: Pulling fs layer 22:52:47 46f8f816bc3b: Pulling fs layer 22:52:47 93b61091891f: Pulling fs layer 22:52:47 93b9cdb0e59b: Pulling fs layer 22:52:47 5e14af77c1be: Pulling fs layer 22:52:47 01666e4c0597: Pulling fs layer 22:52:47 aa168da1d23b: Pulling fs layer 22:52:47 93b9cdb0e59b: Waiting 22:52:47 46f8f816bc3b: Waiting 22:52:47 5e14af77c1be: Waiting 22:52:47 93b61091891f: Waiting 22:52:47 aa168da1d23b: Waiting 22:52:47 36b3adc4ff6f: Verifying Checksum 22:52:47 36b3adc4ff6f: Download complete 22:52:47 46f8f816bc3b: Verifying Checksum 22:52:47 46f8f816bc3b: Download complete 22:52:48 df20fa9351a1: Verifying Checksum 22:52:48 df20fa9351a1: Download complete 22:52:48 93b9cdb0e59b: Verifying Checksum 22:52:48 93b9cdb0e59b: Download complete 22:52:48 5e14af77c1be: Download complete 22:52:48 93b61091891f: Download complete 22:52:48 01666e4c0597: Verifying Checksum 22:52:48 01666e4c0597: Download complete 22:52:48 8ad3a11d3b57: Verifying Checksum 22:52:48 8ad3a11d3b57: Download complete 22:52:48 df20fa9351a1: Pull complete 22:52:48 36b3adc4ff6f: Pull complete 22:52:50 8ad3a11d3b57: Pull complete 22:52:50 aa168da1d23b: Verifying Checksum 22:52:50 aa168da1d23b: Download complete 22:52:50 46f8f816bc3b: Pull complete 22:52:50 93b61091891f: Pull complete 22:52:50 93b9cdb0e59b: Pull complete 22:52:50 5e14af77c1be: Pull complete 22:52:50 01666e4c0597: Pull complete 22:52:59 aa168da1d23b: Pull complete 22:52:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:52:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:52:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:52:59 prd-centos7-docker-4c-2g-584 does not seem to be running inside a container 22:52:59 $ 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_PR-883/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_PR-883 -v /w/workspace/dgexfoundry_device-sdk-go_PR-883:/w/workspace/dgexfoundry_device-sdk-go_PR-883:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:53:02 $ docker top 655fd2d0b8f4b906fb4dca3587a9addc06db7e5a29726a1800417cbdcbfd3fce -eo pid,comm [Pipeline] { [Pipeline] sh 22:53:03 + touch /tmp/pre-build-complete [Pipeline] sh 22:53:03 + mkdir -p /var/log/sa [Pipeline] sh 22:53:03 + ls /var/log/sa-host 22:53:03 + sadf -c /var/log/sa-host/sa17 22:53:03 file_magic: OK 22:53:03 HZ: Using current value: 100 22:53:03 file_header: OK 22:53:03 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 22:53:03 Statistics: 22:53:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:53:03 File successfully converted to sysstat format version 12.2.1 22:53:03 + sadf -c /var/log/sa-host/sa23 22:53:03 file_magic: OK 22:53:03 HZ: Using current value: 100 22:53:03 file_header: OK 22:53:03 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 22:53:03 Statistics: 22:53:03 Hnuu...uuuununununu... 22:53:03 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:53:04 provisioning config files... 22:53:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config1282758716865045008tmp [Pipeline] { [Pipeline] echo 22:53:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:53:04 ---> create-netrc.sh [Pipeline] } 22:53:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:53:04 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:53:04 ---> python-tools-install.sh [Pipeline] echo 22:53:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:53:05 ---> sudo-logs.sh 22:53:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:53:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:53:05 ---> job-cost.sh 22:53:05 lf-activate-venv: SKIPPING 22:53:05 DEBUG: total: 0.20999999344348907 22:53:05 INFO: Retrieving Stack Cost... 22:53:06 INFO: Retrieving Pricing Info for: v1-standard-2 22:53:06 INFO: Archiving Costs [Pipeline] echo 22:53:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:53:07 ---> logs-deploy.sh 22:53:07 lf-activate-venv: SKIPPING 22:53:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-883/2 22:53:07 INFO: archiving workspace using pattern(s): 22:53:09 Archives upload complete. 22:53:09 INFO: archiving logs to Nexus