Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+4afc3732447dbc1bcd63643089443d556eeee277 (f0af03001248f97682676fc1c871fee5bd4ffc16) 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: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: 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-512 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # 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/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 5158b96cebebe48af021ba8fe4939eb881cc437b Checking out Revision 5158b96cebebe48af021ba8fe4939eb881cc437b (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # 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 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5158b96cebebe48af021ba8fe4939eb881cc437b # timeout=10 Commit message: "Merge commit '4afc3732447dbc1bcd63643089443d556eeee277' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:41:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:41:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:41:41 ========================================================= 22:41:41 EdgeX Global Pipelines Version Info 22:41:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:41:43 ------------------- 22:41:43 stable info: 22:41:43 ------------------- 22:41:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:43 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 22:41:43 Message: update stable to v1.0.186 22:41:43 ------------------- 22:41:43 experimental info: 22:41:43 ------------------- 22:41:43 Commited By: **** collab-it+edgex@linuxfoundation.org 22:41:43 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 22:41:43 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 22:41:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 22:41:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 22:41:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5158b96cebebe48af021ba8fe4939eb881cc437b [Pipeline] echo 22:41:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5158b96 [Pipeline] echo 22:41:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:41:45 provisioning config files... 22:41:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config674701472890485082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:45 ---> docker-login.sh 22:41:45 nexus3.edgexfoundry.org:10001 22:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:46 Configure a credential helper to remove this warning. See 22:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:46 22:41:46 Login Succeeded 22:41:46 nexus3.edgexfoundry.org:10002 22:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:46 Configure a credential helper to remove this warning. See 22:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:46 22:41:46 Login Succeeded 22:41:46 nexus3.edgexfoundry.org:10003 22:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:46 Configure a credential helper to remove this warning. See 22:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:46 22:41:46 Login Succeeded 22:41:46 nexus3.edgexfoundry.org:10004 22:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:46 Configure a credential helper to remove this warning. See 22:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:46 22:41:46 Login Succeeded 22:41:46 docker.io 22:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:46 Configure a credential helper to remove this warning. See 22:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:46 22:41:46 Login Succeeded 22:41:46 ---> docker-login.sh ends [Pipeline] } 22:41:46 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:41:47 + git log --format=format:%s -1 5158b96cebebe48af021ba8fe4939eb881cc437b [Pipeline] echo 22:41:47 GIT_COMMIT: 5158b96cebebe48af021ba8fe4939eb881cc437b, Commit Message: Merge commit '4afc3732447dbc1bcd63643089443d556eeee277' into HEAD [Pipeline] echo 22:41:47 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:41:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:48 22:41:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:41:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:48 latest: Pulling from edgex-devops/git-semver 22:41:48 31603596830f: Pulling fs layer 22:41:48 2a8b12db71e7: Pulling fs layer 22:41:48 6ca5941a6612: Pulling fs layer 22:41:48 ecc8261a40a4: Pulling fs layer 22:41:48 ecc8261a40a4: Waiting 22:41:48 2a8b12db71e7: Verifying Checksum 22:41:48 2a8b12db71e7: Download complete 22:41:48 31603596830f: Verifying Checksum 22:41:48 31603596830f: Download complete 22:41:49 ecc8261a40a4: Verifying Checksum 22:41:49 ecc8261a40a4: Download complete 22:41:49 6ca5941a6612: Verifying Checksum 22:41:49 6ca5941a6612: Download complete 22:41:49 31603596830f: Pull complete 22:41:49 2a8b12db71e7: Pull complete 22:41:50 6ca5941a6612: Pull complete 22:41:50 ecc8261a40a4: Pull complete 22:41:50 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:41:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:41:50 prd-centos7-docker-4c-2g-512 does not seem to be running inside a container 22:41:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:41:53 $ docker top ab12d71589cc5444f3f8c920e7b4b0913da1b6e70a9ea38e76ec77ea796c4584 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:41:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:53 [ssh-agent] Looking for ssh-agent implementation... 22:41:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:53 $ docker exec ab12d71589cc5444f3f8c920e7b4b0913da1b6e70a9ea38e76ec77ea796c4584 ssh-agent 22:41:53 SSH_AUTH_SOCK=/tmp/ssh-m3Edie5XTmYn/agent.11 22:41:53 SSH_AGENT_PID=16 22:41:53 Running ssh-add (command line suppressed) 22:41:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4440510114465809337.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4440510114465809337.key) 22:41:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:54 + git tag --points-at HEAD [Pipeline] } 22:41:54 $ docker exec --env ******** --env ******** ab12d71589cc5444f3f8c920e7b4b0913da1b6e70a9ea38e76ec77ea796c4584 ssh-agent -k 22:41:54 unset SSH_AUTH_SOCK; 22:41:54 unset SSH_AGENT_PID; 22:41:54 echo Agent pid 16 killed; 22:41:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:41:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:54 [ssh-agent] Looking for ssh-agent implementation... 22:41:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:54 $ docker exec ab12d71589cc5444f3f8c920e7b4b0913da1b6e70a9ea38e76ec77ea796c4584 ssh-agent 22:41:54 SSH_AUTH_SOCK=/tmp/ssh-A2kMRVxce9Pv/agent.46 22:41:54 SSH_AGENT_PID=52 22:41:54 Running ssh-add (command line suppressed) 22:41:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_114960384819129293.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_114960384819129293.key) 22:41:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:55 + git semver init 22:41:55 # -> Open(): unable to determine branch for HEAD 22:41:55 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 22:41:55 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 22:41:55 # $SEMVER_REMOTE_NAME = origin 22:41:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:41:55 # $SEMVER_USER_NAME = edgex-jenkins 22:41:55 # $SEMVER_BRANCH = PR-725 22:41:55 # $SEMVER_TEMP = /tmp/semver-798067922 22:41:55 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:41:56 # '/tmp/semver-798067922' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 22:41:56 # -> Force: false 22:41:56 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 22:41:56 $ docker exec --env ******** --env ******** ab12d71589cc5444f3f8c920e7b4b0913da1b6e70a9ea38e76ec77ea796c4584 ssh-agent -k 22:41:56 unset SSH_AUTH_SOCK; 22:41:56 unset SSH_AGENT_PID; 22:41:56 echo Agent pid 52 killed; 22:41:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:41:56 + git semver [Pipeline] } 22:41:56 $ docker stop --time=1 ab12d71589cc5444f3f8c920e7b4b0913da1b6e70a9ea38e76ec77ea796c4584 22:41:58 $ docker rm -f ab12d71589cc5444f3f8c920e7b4b0913da1b6e70a9ea38e76ec77ea796c4584 [Pipeline] // withDockerContainer [Pipeline] sh 22:41:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:41:59 Stashed 1 file(s) [Pipeline] echo 22:41:59 [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:42:14 Still waiting to schedule task 22:42:14 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-512’ 22:42:14 Still waiting to schedule task 22:42:14 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:44:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-513 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 22:44:06 Running in /w/workspace/device-sdk-go/35 [Pipeline] { [Pipeline] checkout 22:44:12 using credential edgex-jenkins-ssh 22:44:12 Cloning the remote Git repository 22:44:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:44:12 > git init /w/workspace/device-sdk-go/35 # timeout=10 22:44:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:12 > git --version # timeout=10 22:44:12 > git --version # 'git version 2.17.1' 22:44:12 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:13 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:44:14 Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 22:44:14 Merge succeeded, producing 10d71f9d38eb180e1fac66d76f9b127332434c09 22:44:14 Checking out Revision 10d71f9d38eb180e1fac66d76f9b127332434c09 (PR-725) 22:44:14 > git config core.sparsecheckout # timeout=10 22:44:14 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 22:44:14 > git remote # timeout=10 22:44:14 > git config --get remote.origin.url # timeout=10 22:44:14 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:14 > git merge 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 22:44:14 > git rev-parse HEAD^{commit} # timeout=10 22:44:14 > git config core.sparsecheckout # timeout=10 22:44:14 > git checkout -f 10d71f9d38eb180e1fac66d76f9b127332434c09 # timeout=10 22:44:19 Commit message: "Merge commit '4afc3732447dbc1bcd63643089443d556eeee277' into HEAD" 22:44:19 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:19 > git rev-list --no-walk c7245e1f238ffc000a074cf31df94e3033b17301 # timeout=10 22:44:20 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:44:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:44:21 + + sudo servicetrue docker 22:44:21 restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:44:23 provisioning config files... 22:44:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/35@tmp/config1198089613898765406tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:23 ---> docker-login.sh 22:44:23 nexus3.edgexfoundry.org:10001 22:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:25 Configure a credential helper to remove this warning. See 22:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:25 22:44:25 Login Succeeded 22:44:25 nexus3.edgexfoundry.org:10002 22:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:26 Configure a credential helper to remove this warning. See 22:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:26 22:44:26 Login Succeeded 22:44:26 nexus3.edgexfoundry.org:10003 22:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:26 Configure a credential helper to remove this warning. See 22:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:26 22:44:26 Login Succeeded 22:44:26 nexus3.edgexfoundry.org:10004 22:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:26 Configure a credential helper to remove this warning. See 22:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:26 22:44:26 Login Succeeded 22:44:26 docker.io 22:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:27 Configure a credential helper to remove this warning. See 22:44:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:27 22:44:27 Login Succeeded 22:44:27 ---> docker-login.sh ends [Pipeline] } 22:44:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:28 ========================================================= 22:44:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:44:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:44:28 + 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:44:28 Sending build context to Docker daemon 2.445MB 22:44:28 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:44:28 Step 2/8 : FROM ${BASE} 22:44:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:44:28 5f621e34cdf4: Pulling fs layer 22:44:28 a4357932f1b6: Pulling fs layer 22:44:28 18c013af1878: Pulling fs layer 22:44:28 00ac8860ef70: Pulling fs layer 22:44:28 63d7cb157983: Pulling fs layer 22:44:28 b116817d02f9: Pulling fs layer 22:44:28 745a02a5169b: Pulling fs layer 22:44:28 00ac8860ef70: Waiting 22:44:28 63d7cb157983: Waiting 22:44:28 b116817d02f9: Waiting 22:44:28 18c013af1878: Verifying Checksum 22:44:28 18c013af1878: Download complete 22:44:28 a4357932f1b6: Download complete 22:44:28 63d7cb157983: Verifying Checksum 22:44:28 63d7cb157983: Download complete 22:44:28 b116817d02f9: Verifying Checksum 22:44:28 b116817d02f9: Download complete 22:44:28 5f621e34cdf4: Verifying Checksum 22:44:28 5f621e34cdf4: Download complete 22:44:29 5f621e34cdf4: Pull complete 22:44:30 a4357932f1b6: Pull complete 22:44:30 18c013af1878: Pull complete 22:44:31 745a02a5169b: Verifying Checksum 22:44:31 745a02a5169b: Download complete 22:44:32 00ac8860ef70: Verifying Checksum 22:44:32 00ac8860ef70: Download complete 22:44:42 00ac8860ef70: Pull complete 22:44:42 63d7cb157983: Pull complete 22:44:43 b116817d02f9: Pull complete 22:44:46 745a02a5169b: Pull complete 22:44:46 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:44:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:44:46 ---> b7e6874047d6 22:44:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:44:49 ---> Running in 9945acda43c5 22:44:49 Removing intermediate container 9945acda43c5 22:44:49 ---> e87724833190 22:44:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:49 ---> Running in fa7c0d4397a3 22:44:52 Removing intermediate container fa7c0d4397a3 22:44:52 ---> facbb8a737ae 22:44:52 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:44:52 ---> Running in 1ab58e7dbb57 22:44:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:44:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:44:55 (1/6) Installing libc-dev (0.7.2-r3) 22:44:55 (2/6) Installing libsodium (1.0.18-r0) 22:44:55 (3/6) Installing pkgconf (1.7.2-r0) 22:44:55 (4/6) Installing libsodium-dev (1.0.18-r0) 22:44:56 (5/6) Installing libzmq (4.3.3-r0) 22:44:56 (6/6) Installing zeromq-dev (4.3.3-r0) 22:44:56 Executing busybox-1.31.1-r19.trigger 22:44:56 OK: 144 MiB in 45 packages 22:44:57 Removing intermediate container 1ab58e7dbb57 22:44:57 ---> 45b30e4a8905 22:44:57 Step 6/8 : WORKDIR /device-sdk-go 22:44:57 ---> Running in 1b0e0c2d1315 22:44:58 Removing intermediate container 1b0e0c2d1315 22:44:58 ---> a9410b3f3161 22:44:58 Step 7/8 : COPY . . 22:44:59 ---> 436f8fc85de1 22:44:59 Step 8/8 : RUN go mod download 22:44:59 ---> Running in 9351a67b9882 22:45:32 Removing intermediate container 9351a67b9882 22:45:32 ---> bcb174eacbe4 22:45:32 Successfully built bcb174eacbe4 22:45:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:45:32 + docker inspect -f . ci-base-image-arm64 22:45:32 . [Pipeline] withDockerContainer 22:45:32 prd-ubuntu18.04-docker-arm64-4c-16g-513 does not seem to be running inside a container 22:45:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/35 -v /w/workspace/device-sdk-go/35:/w/workspace/device-sdk-go/35:rw,z -v /w/workspace/device-sdk-go/35@tmp:/w/workspace/device-sdk-go/35@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:45:34 $ docker top 6f4c0d9510c917f1435b0f633f7e2c923cc2b0dddf28f752edfdc366806963c4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:35 + go version 22:45:35 go version go1.15.5 linux/arm64 [Pipeline] } 22:45:35 $ docker stop --time=1 6f4c0d9510c917f1435b0f633f7e2c923cc2b0dddf28f752edfdc366806963c4 22:45:36 $ docker rm -f 6f4c0d9510c917f1435b0f633f7e2c923cc2b0dddf28f752edfdc366806963c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:45:37 + docker inspect -f . ci-base-image-arm64 22:45:37 . [Pipeline] withDockerContainer 22:45:37 prd-ubuntu18.04-docker-arm64-4c-16g-513 does not seem to be running inside a container 22:45:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/35 -v /w/workspace/device-sdk-go/35:/w/workspace/device-sdk-go/35:rw,z -v /w/workspace/device-sdk-go/35@tmp:/w/workspace/device-sdk-go/35@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:45:39 $ docker top bd4928204ec756399feb31cec97225eac9023f9992112833ffbaca132ee5529e -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:40 Running on prd-centos7-docker-4c-2g-514 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 22:45:40 Running in /w/workspace/device-sdk-go/35 [Pipeline] { [Pipeline] checkout 22:45:40 + make test 22:45:40 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:45:49 using credential edgex-jenkins-ssh 22:45:49 Cloning the remote Git repository 22:45:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:45:49 > git init /w/workspace/device-sdk-go/35 # timeout=10 22:45:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:49 > git --version # timeout=10 22:45:49 > git --version # 'git version 2.24.3' 22:45:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:52 Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 22:45:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:51 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:45:52 > git config core.sparsecheckout # timeout=10 22:45:52 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 22:45:52 > git remote # timeout=10 22:45:52 > git config --get remote.origin.url # timeout=10 22:45:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:52 > git merge 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 22:45:52 Merge succeeded, producing 188d6093ca57a60b0bea1adf2684b9c4611c64ee 22:45:52 Checking out Revision 188d6093ca57a60b0bea1adf2684b9c4611c64ee (PR-725) 22:45:52 > git rev-parse HEAD^{commit} # timeout=10 22:45:52 > git config core.sparsecheckout # timeout=10 22:45:52 > git checkout -f 188d6093ca57a60b0bea1adf2684b9c4611c64ee # timeout=10 22:45:57 Commit message: "Merge commit '4afc3732447dbc1bcd63643089443d556eeee277' into HEAD" 22:45:57 > git rev-list --no-walk c7245e1f238ffc000a074cf31df94e3033b17301 # timeout=10 22:45:57 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:59 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:46:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:46:00 + sudo service docker restart 22:46:00 + true 22:46:00 Redirecting to /bin/systemctl restart docker.service 22:46:02 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:46:03 provisioning config files... 22:46:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/35@tmp/config795177401878741219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:04 ---> docker-login.sh 22:46:04 nexus3.edgexfoundry.org:10001 22:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:05 Configure a credential helper to remove this warning. See 22:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:05 22:46:05 Login Succeeded 22:46:05 nexus3.edgexfoundry.org:10002 22:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:06 Configure a credential helper to remove this warning. See 22:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:06 22:46:06 Login Succeeded 22:46:06 nexus3.edgexfoundry.org:10003 22:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:07 Configure a credential helper to remove this warning. See 22:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:07 22:46:07 Login Succeeded 22:46:07 nexus3.edgexfoundry.org:10004 22:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:08 Configure a credential helper to remove this warning. See 22:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:08 22:46:08 Login Succeeded 22:46:08 docker.io 22:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:09 Configure a credential helper to remove this warning. See 22:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:09 22:46:09 Login Succeeded 22:46:09 ---> docker-login.sh ends [Pipeline] } 22:46:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:46:09 ========================================================= 22:46:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:46:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:46:10 + 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:46:10 Sending build context to Docker daemon 2.436MB 22:46:10 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:46:10 Step 2/8 : FROM ${BASE} 22:46:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:46:10 188c0c94c7c5: Pulling fs layer 22:46:10 0ef7d3d256c8: Pulling fs layer 22:46:10 de9db76c5a1d: Pulling fs layer 22:46:10 bca2f99d35d6: Pulling fs layer 22:46:10 93359f2a8cfa: Pulling fs layer 22:46:10 7c6f9722023f: Pulling fs layer 22:46:10 a35cf1a2eb13: Pulling fs layer 22:46:10 bca2f99d35d6: Waiting 22:46:10 93359f2a8cfa: Waiting 22:46:10 7c6f9722023f: Waiting 22:46:10 a35cf1a2eb13: Waiting 22:46:10 de9db76c5a1d: Download complete 22:46:10 0ef7d3d256c8: Verifying Checksum 22:46:10 0ef7d3d256c8: Download complete 22:46:10 93359f2a8cfa: Verifying Checksum 22:46:10 93359f2a8cfa: Download complete 22:46:10 7c6f9722023f: Download complete 22:46:11 188c0c94c7c5: Verifying Checksum 22:46:11 188c0c94c7c5: Download complete 22:46:12 188c0c94c7c5: Pull complete 22:46:13 0ef7d3d256c8: Pull complete 22:46:13 de9db76c5a1d: Pull complete 22:46:18 a35cf1a2eb13: Verifying Checksum 22:46:18 a35cf1a2eb13: Download complete 22:46:20 bca2f99d35d6: Verifying Checksum 22:46:20 bca2f99d35d6: Download complete 22:46:39 bca2f99d35d6: Pull complete 22:46:39 93359f2a8cfa: Pull complete 22:46:39 7c6f9722023f: Pull complete 22:46:46 a35cf1a2eb13: Pull complete 22:46:46 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:46:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:46:46 ---> a62c8e92a672 22:46:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:46:46 ---> Running in 6099686c4c16 22:46:46 Removing intermediate container 6099686c4c16 22:46:46 ---> f506339ffee8 22:46:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:46 ---> Running in fd5f8d77450d 22:46:48 Removing intermediate container fd5f8d77450d 22:46:48 ---> 4c45b212b7bf 22:46:48 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:46:49 ---> Running in 3321a8df6455 22:46:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:46:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:46:52 (1/6) Installing libc-dev (0.7.2-r3) 22:46:52 (2/6) Installing libsodium (1.0.18-r0) 22:46:52 (3/6) Installing pkgconf (1.7.2-r0) 22:46:52 (4/6) Installing libsodium-dev (1.0.18-r0) 22:46:52 (5/6) Installing libzmq (4.3.3-r0) 22:46:52 (6/6) Installing zeromq-dev (4.3.3-r0) 22:46:52 Executing busybox-1.31.1-r19.trigger 22:46:52 OK: 167 MiB in 45 packages 22:46:54 Removing intermediate container 3321a8df6455 22:46:54 ---> 8a9656803133 22:46:54 Step 6/8 : WORKDIR /device-sdk-go 22:46:54 ---> Running in dfc1f6d7b022 22:46:55 Removing intermediate container dfc1f6d7b022 22:46:55 ---> bfa7b9b90b16 22:46:55 Step 7/8 : COPY . . 22:46:56 ---> ac34658854f1 22:46:56 Step 8/8 : RUN go mod download 22:46:57 ---> Running in 82e8fb67ff4c 22:46:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:46:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:46:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:46:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:46:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:47:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.144s coverage: 28.1% of statements 22:47:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.233s coverage: 78.9% of statements 22:47:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.147s coverage: 7.8% of statements 22:47:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:47:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:47:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:47:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.264s coverage: 32.0% of statements 22:47:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:47:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:47:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:47:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.276s coverage: 57.1% of statements 22:47:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.152s coverage: 6.6% of statements 22:47:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 5.0% of statements 22:47:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:47:08 GO111MODULE=on go vet ./... 22:47:37 Removing intermediate container 82e8fb67ff4c 22:47:37 ---> 035b6a410ef2 22:47:37 Successfully built 035b6a410ef2 22:47:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:47:37 + docker inspect -f . ci-base-image-x86_64 22:47:37 . [Pipeline] withDockerContainer 22:47:38 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 22:47:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/35 -v /w/workspace/device-sdk-go/35:/w/workspace/device-sdk-go/35:rw,z -v /w/workspace/device-sdk-go/35@tmp:/w/workspace/device-sdk-go/35@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:47:41 $ docker top d984262cf7c029442e46d589f40f0cb430c2b16e8c3aba9389efb77aa2d9aa26 -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:42 + go version 22:47:42 go version go1.15.5 linux/amd64 [Pipeline] } 22:47:42 $ docker stop --time=1 d984262cf7c029442e46d589f40f0cb430c2b16e8c3aba9389efb77aa2d9aa26 22:47:43 $ docker rm -f d984262cf7c029442e46d589f40f0cb430c2b16e8c3aba9389efb77aa2d9aa26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:47:44 + docker inspect -f . ci-base-image-x86_64 22:47:44 . [Pipeline] withDockerContainer 22:47:44 prd-centos7-docker-4c-2g-514 does not seem to be running inside a container 22:47:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/35 -v /w/workspace/device-sdk-go/35:/w/workspace/device-sdk-go/35:rw,z -v /w/workspace/device-sdk-go/35@tmp:/w/workspace/device-sdk-go/35@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:47:46 $ docker top 9bb09bc1506a7390a2dcf2817f3856d31657b79b119a48c838dc289ffffece09 -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:47 + make test 22:47:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:47:55 gofmt -l . 22:47:55 [ "`gofmt -l .`" = "" ] 22:47:55 ./bin/test-attribution-txt.sh 22:47:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:47:55 $ docker stop --time=1 bd4928204ec756399feb31cec97225eac9023f9992112833ffbaca132ee5529e 22:47:58 $ docker rm -f bd4928204ec756399feb31cec97225eac9023f9992112833ffbaca132ee5529e [Pipeline] // withDockerContainer [Pipeline] sh 22:47:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:48:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:48:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:48:03 + ls -al . 22:48:03 total 224 22:48:03 drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 22:47 . 22:48:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 22:44 .. 22:48:03 -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 22:44 .dockerignore 22:48:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 22:44 .git 22:48:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 22:44 .github 22:48:03 -rw-rw-r-- 1 jenkins jenkins 138 Apr 16 22:44 .gitignore 22:48:03 -rw-rw-r-- 1 jenkins jenkins 987 Apr 16 22:44 Dockerfile.build 22:48:03 -rw-rw-r-- 1 jenkins jenkins 894 Apr 16 22:44 Jenkinsfile 22:48:03 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 22:44 LICENSE 22:48:03 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 16 22:44 Makefile 22:48:03 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 16 22:44 README.md 22:48:03 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 16 22:44 RELEASE-NOTES.txt 22:48:03 -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 22:41 VERSION 22:48:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 22:44 bin 22:48:03 -rw-r--r-- 1 jenkins jenkins 99931 Apr 16 22:47 coverage.out 22:48:03 drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 22:44 example 22:48:03 -rw-r--r-- 1 jenkins jenkins 574 Apr 16 22:47 go.mod 22:48:03 -rw-r--r-- 1 jenkins jenkins 20735 Apr 16 22:47 go.sum 22:48:03 drwxrwxr-x 14 jenkins jenkins 4096 Apr 16 22:44 internal 22:48:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 22:44 openapi 22:48:03 drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 22:44 pkg 22:48:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 22:44 snap 22:48:03 -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 22:44 version.go [Pipeline] isUnix [Pipeline] sh 22:48:03 + docker build -t 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=5158b96cebebe48af021ba8fe4939eb881cc437b --label arch=arm64 --label version=0.0.0 . 22:48:04 Sending build context to Docker daemon 2.546MB 22:48:04 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:48:04 Step 2/23 : FROM ${BASE} AS builder 22:48:04 ---> bcb174eacbe4 22:48:04 Step 3/23 : WORKDIR /device-sdk-go 22:48:04 ---> Running in 8172dfd374e9 22:48:04 Removing intermediate container 8172dfd374e9 22:48:04 ---> 2a2c3e522076 22:48:04 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:48:04 ---> Running in bd008206b76a 22:48:05 Removing intermediate container bd008206b76a 22:48:05 ---> 274170473ca3 22:48:05 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:48:05 ---> Running in a14a6ce85359 22:48:07 Removing intermediate container a14a6ce85359 22:48:07 ---> 7edcaef9a472 22:48:07 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:48:07 ---> Running in 447d45bf7440 22:48:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:48:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:48:10 OK: 144 MiB in 45 packages 22:48:10 Removing intermediate container 447d45bf7440 22:48:10 ---> 27e9b0b9ec43 22:48:10 Step 7/23 : COPY . . 22:48:11 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:48:12 ---> 0f31b58943f5 22:48:12 Step 8/23 : RUN go mod download 22:48:12 ---> Running in 4b95fbd25317 22:48:15 Removing intermediate container 4b95fbd25317 22:48:15 ---> 2125e767d193 22:48:15 Step 9/23 : RUN make build 22:48:15 ---> Running in cf96a777d316 22:48:16 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:48:48 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:48:50 Removing intermediate container cf96a777d316 22:48:50 ---> 97aedd9858db 22:48:50 Step 10/23 : FROM alpine:3.12 22:48:50 3.12: Pulling from library/alpine 22:48:50 d2f70382dc9a: Pulling fs layer 22:48:50 d2f70382dc9a: Verifying Checksum 22:48:50 d2f70382dc9a: Download complete 22:48:51 d2f70382dc9a: Pull complete 22:48:51 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:48:51 Status: Downloaded newer image for alpine:3.12 22:48:51 ---> 9852663dfa18 22:48:51 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:48:51 ---> Running in 75b5d7fe43d6 22:48:52 Removing intermediate container 75b5d7fe43d6 22:48:52 ---> e9768c5e0c71 22:48:52 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:48:52 ---> Running in 9de22aed652e 22:48:54 Removing intermediate container 9de22aed652e 22:48:54 ---> 9bcc32337752 22:48:54 Step 13/23 : RUN apk add --update --no-cache zeromq 22:48:54 ---> Running in 80858117ee5d 22:48:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:48:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:48:57 (1/5) Installing libgcc (9.3.0-r2) 22:48:57 (2/5) Installing libsodium (1.0.18-r0) 22:48:57 (3/5) Installing libstdc++ (9.3.0-r2) 22:48:57 (4/5) Installing libzmq (4.3.3-r0) 22:48:57 (5/5) Installing zeromq (4.3.3-r0) 22:48:58 Executing busybox-1.31.1-r20.trigger 22:48:58 OK: 8 MiB in 19 packages 22:48:59 Removing intermediate container 80858117ee5d 22:48:59 ---> 03a145e0d223 22:48:59 Step 14/23 : WORKDIR / 22:48:59 ---> Running in e18714747388 22:48:59 Removing intermediate container e18714747388 22:48:59 ---> 91feedacef84 22:48:59 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:49:00 ---> f2874fc8cd06 22:49:00 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:49:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:49:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:49:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:49:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:49:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:49:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.243s coverage: 28.1% of statements 22:49:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.286s coverage: 78.9% of statements 22:49:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.121s coverage: 7.8% of statements 22:49:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:49:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:49:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:49:01 ---> fd7ce3fa39ac 22:49:01 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:49:02 ---> e1a9fdb6babe 22:49:02 Step 18/23 : EXPOSE 49990 22:49:02 ---> Running in 20478d08e69b 22:49:03 Removing intermediate container 20478d08e69b 22:49:03 ---> c89a52649af9 22:49:03 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:49:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.138s coverage: 32.0% of statements 22:49:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:49:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:49:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:49:03 ---> Running in 18854361b68d 22:49:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.511s coverage: 57.1% of statements 22:49:03 Removing intermediate container 18854361b68d 22:49:03 ---> 3572e5b73313 22:49:03 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:49:04 ---> Running in d66850ad6cac 22:49:04 Removing intermediate container d66850ad6cac 22:49:04 ---> 06e594e80f7a 22:49:04 Step 21/23 : LABEL arch=arm64 22:49:04 ---> Running in 221c8844d15e 22:49:05 Removing intermediate container 221c8844d15e 22:49:05 ---> ce69021a2545 22:49:05 Step 22/23 : LABEL git_sha=5158b96cebebe48af021ba8fe4939eb881cc437b 22:49:05 ---> Running in 7256af4278bc 22:49:05 Removing intermediate container 7256af4278bc 22:49:05 ---> 5f14fed12ca9 22:49:05 Step 23/23 : LABEL version=0.0.0 22:49:05 ---> Running in bcde0baf74d1 22:49:06 Removing intermediate container bcde0baf74d1 22:49:06 ---> fcdf9477a76c 22:49:06 [Warning] One or more build-args [ARCH MAKE] were not consumed 22:49:06 Successfully built fcdf9477a76c 22:49:06 Successfully tagged 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 22:49:06 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.707s coverage: 6.6% of statements 22:49:06 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.657s coverage: 5.0% of statements 22:49:06 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:49:06 GO111MODULE=on go vet ./... [Pipeline] libraryResource [Pipeline] sh 22:49:07 ---> job-cost.sh 22:49:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BGXO 22:49:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:49:46 gofmt -l . 22:49:46 [ "`gofmt -l .`" = "" ] 22:49:46 ./bin/test-attribution-txt.sh 22:49:46 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:49:46 $ docker stop --time=1 9bb09bc1506a7390a2dcf2817f3856d31657b79b119a48c838dc289ffffece09 22:49:49 $ docker rm -f 9bb09bc1506a7390a2dcf2817f3856d31657b79b119a48c838dc289ffffece09 [Pipeline] // withDockerContainer [Pipeline] sh 22:49:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:49:50 Warning: overwriting stash ‘coverage-report’ 22:49:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:49:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:49:52 + ls -al . 22:49:52 total 188 22:49:52 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 16 22:49 . 22:49:52 drwxrwxr-x. 4 jenkins jenkins 30 Apr 16 22:45 .. 22:49:52 drwxrwxr-x. 2 jenkins jenkins 64 Apr 16 22:45 bin 22:49:52 -rw-r--r--. 1 jenkins jenkins 99931 Apr 16 22:49 coverage.out 22:49:52 -rw-rw-r--. 1 jenkins jenkins 987 Apr 16 22:45 Dockerfile.build 22:49:52 -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 22:45 .dockerignore 22:49:52 drwxrwxr-x. 5 jenkins jenkins 62 Apr 16 22:45 example 22:49:52 drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 22:45 .git 22:49:52 drwxrwxr-x. 2 jenkins jenkins 103 Apr 16 22:45 .github 22:49:52 -rw-rw-r--. 1 jenkins jenkins 138 Apr 16 22:45 .gitignore 22:49:52 -rw-r--r--. 1 jenkins jenkins 574 Apr 16 22:49 go.mod 22:49:52 -rw-r--r--. 1 jenkins jenkins 20735 Apr 16 22:49 go.sum 22:49:52 drwxrwxr-x. 14 jenkins jenkins 207 Apr 16 22:45 internal 22:49:52 -rw-rw-r--. 1 jenkins jenkins 894 Apr 16 22:45 Jenkinsfile 22:49:52 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 16 22:45 LICENSE 22:49:52 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 16 22:45 Makefile 22:49:52 drwxrwxr-x. 4 jenkins jenkins 26 Apr 16 22:45 openapi 22:49:52 drwxrwxr-x. 5 jenkins jenkins 50 Apr 16 22:45 pkg 22:49:52 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 16 22:45 README.md 22:49:52 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 16 22:45 RELEASE-NOTES.txt 22:49:52 drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 22:45 snap 22:49:52 -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 22:41 VERSION 22:49:52 -rw-rw-r--. 1 jenkins jenkins 222 Apr 16 22:45 version.go [Pipeline] isUnix [Pipeline] sh 22:49:52 + docker build -t 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=5158b96cebebe48af021ba8fe4939eb881cc437b --label arch=amd64 --label version=0.0.0 . 22:49:53 Sending build context to Docker daemon 2.537MB 22:49:53 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:49:53 Step 2/23 : FROM ${BASE} AS builder 22:49:53 ---> 035b6a410ef2 22:49:53 Step 3/23 : WORKDIR /device-sdk-go 22:49:53 ---> Running in 83bb733cd87b 22:49:54 Removing intermediate container 83bb733cd87b 22:49:54 ---> ba1c42b031b4 22:49:54 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:49:54 ---> Running in be0a39ecb663 22:49:54 Removing intermediate container be0a39ecb663 22:49:54 ---> 4a5e87573d28 22:49:54 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:49:54 ---> Running in c1be844161b8 22:49:57 Removing intermediate container c1be844161b8 22:49:57 ---> 0fedef639317 22:49:57 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:49:58 ---> Running in 24328b30ee86 22:49:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:49:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:50:00 OK: 167 MiB in 45 packages 22:50:01 Removing intermediate container 24328b30ee86 22:50:01 ---> 76b2fb945df9 22:50:01 Step 7/23 : COPY . . 22:50:03 ---> 12d9afb3d706 22:50:03 Step 8/23 : RUN go mod download 22:50:03 ---> Running in 5df7a99d9448 22:50:05 Removing intermediate container 5df7a99d9448 22:50:05 ---> 3188ac348686 22:50:05 Step 9/23 : RUN make build 22:50:05 ---> Running in 9d45a758f527 22:50:06 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:34 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:50:37 Removing intermediate container 9d45a758f527 22:50:37 ---> 5e414cfb6520 22:50:37 Step 10/23 : FROM alpine:3.12 22:50:37 3.12: Pulling from library/alpine 22:50:37 339de151aab4: Pulling fs layer 22:50:38 339de151aab4: Verifying Checksum 22:50:38 339de151aab4: Download complete 22:50:38 339de151aab4: Pull complete 22:50:38 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:50:38 Status: Downloaded newer image for alpine:3.12 22:50:38 ---> 13621d1b12d4 22:50:38 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:50:39 ---> Running in 2f8f8142a44e 22:50:39 Removing intermediate container 2f8f8142a44e 22:50:39 ---> 81fb6ee9734e 22:50:39 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:39 ---> Running in 7d050effb248 22:50:42 Removing intermediate container 7d050effb248 22:50:42 ---> 9b09894a2edc 22:50:42 Step 13/23 : RUN apk add --update --no-cache zeromq 22:50:42 ---> Running in 7391940170e1 22:50:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:50:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:50:45 (1/5) Installing libgcc (9.3.0-r2) 22:50:45 (2/5) Installing libsodium (1.0.18-r0) 22:50:45 (3/5) Installing libstdc++ (9.3.0-r2) 22:50:46 (4/5) Installing libzmq (4.3.3-r0) 22:50:46 (5/5) Installing zeromq (4.3.3-r0) 22:50:46 Executing busybox-1.31.1-r20.trigger 22:50:46 OK: 8 MiB in 19 packages 22:50:47 Removing intermediate container 7391940170e1 22:50:47 ---> b7db8650ccda 22:50:47 Step 14/23 : WORKDIR / 22:50:47 ---> Running in ff939823bac0 22:50:48 Removing intermediate container ff939823bac0 22:50:48 ---> 0a96e625ba4c 22:50:48 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:50:49 ---> 451e706601c2 22:50:49 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:50:50 ---> f988a8a61ec0 22:50:50 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:50:51 ---> 50b6cb7770fa 22:50:51 Step 18/23 : EXPOSE 49990 22:50:51 ---> Running in db85fbf61b33 22:50:51 Removing intermediate container db85fbf61b33 22:50:51 ---> 68b7b4e507ce 22:50:51 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:50:52 ---> Running in 13e70957491e 22:50:52 Removing intermediate container 13e70957491e 22:50:52 ---> 6d22530c7495 22:50:52 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:50:52 ---> Running in 96c159bf2bee 22:50:53 Removing intermediate container 96c159bf2bee 22:50:53 ---> 76c1a4d7ac04 22:50:53 Step 21/23 : LABEL arch=amd64 22:50:53 ---> Running in 762f2eaa24a4 22:50:54 Removing intermediate container 762f2eaa24a4 22:50:54 ---> 657686244133 22:50:54 Step 22/23 : LABEL git_sha=5158b96cebebe48af021ba8fe4939eb881cc437b 22:50:54 ---> Running in 2c5b6ccb8d99 22:50:54 Removing intermediate container 2c5b6ccb8d99 22:50:54 ---> 02bc0851eaf5 22:50:54 Step 23/23 : LABEL version=0.0.0 22:50:54 ---> Running in d373acb45da6 22:50:54 Removing intermediate container d373acb45da6 22:50:54 ---> 5a5ee5a6cc9a 22:50:54 [Warning] One or more build-args [ARCH MAKE] were not consumed 22:50:55 Successfully built 5a5ee5a6cc9a 22:50:55 Successfully tagged 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:50:55 ---> job-cost.sh 22:50:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FE3N 22:51:22 lf-activate-venv(): INFO: Adding /tmp/venv-BGXO/bin to PATH 22:51:22 INFO: No Stack... 22:51:22 INFO: Retrieving Pricing Info for: lf-standard-4 22:51:22 INFO: Archiving Costs [Pipeline] sh 22:51:22 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:51:23 + cat /w/workspace/device-sdk-go/35/archives/cost.csv 22:51:23 + cut -d, -f6 [Pipeline] lock 22:51:23 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-35-stack-cost] 22:51:23 Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-35-stack-cost] did not exist. Created. 22:51:23 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:51:23 + echo total: 0.20999999344348907 [Pipeline] stash 22:51:23 Stashed 1 file(s) [Pipeline] } 22:51:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-35-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:52:02 lf-activate-venv(): INFO: Adding /tmp/venv-FE3N/bin to PATH 22:52:02 INFO: No Stack... 22:52:02 INFO: Retrieving Pricing Info for: v1-standard-2 22:52:03 INFO: Archiving Costs [Pipeline] sh 22:52:04 + cat /w/workspace/device-sdk-go/35/archives/cost.csv 22:52:04 + cut -d, -f6 [Pipeline] lock 22:52:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-35-stack-cost] 22:52:04 Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-35-stack-cost] did not exist. Created. 22:52:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:52:05 /w/workspace/device-sdk-go/35@tmp/durable-10525cdf/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 22:52:06 + echo total: 0.029999999329447746 [Pipeline] stash 22:52:06 Warning: overwriting stash ‘stack-cost’ 22:52:06 Stashed 1 file(s) [Pipeline] } 22:52:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-35-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:07 provisioning config files... 22:52:07 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config7770044774495863531tmp [Pipeline] { [Pipeline] sh 22:52:07 + set +x 22:52:07 + bash -s -- 22:52:07 + curl -s https://codecov.io/bash 22:52:07 22:52:07 _____ _ 22:52:07 / ____| | | 22:52:07 | | ___ __| | ___ ___ _____ __ 22:52:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:52:07 | |___| (_) | (_| | __/ (_| (_) \ V / 22:52:07 \_____\___/ \__,_|\___|\___\___/ \_/ 22:52:07 Bash-1.0.1 22:52:07 22:52:07 22:52:07 ==> git version 2.24.3 found 22:52:07 ==> 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:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:52:07 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:52:07 ==> Jenkins CI detected. 22:52:07 project root: . 22:52:07 --> token set from env 22:52:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:52:07 ==> Running gcov in . (disable via -X gcov) 22:52:07 ==> Python coveragepy not found 22:52:07 ==> Searching for coverage reports in: 22:52:07 + . 22:52:07 -> Found 1 reports 22:52:07 ==> Detecting git/mercurial file structure 22:52:07 ==> Reading reports 22:52:07 + ./coverage.out bytes=99931 22:52:07 ==> Appending adjustments 22:52:07 https://docs.codecov.io/docs/fixing-reports 22:52:08 + Found adjustments 22:52:08 ==> Gzipping contents 22:52:08 16K /tmp/codecov.Kkz52H.gz 22:52:08 ==> Uploading reports 22:52:08 url: https://codecov.io 22:52:08 query: branch=PR-725&commit=5158b96cebebe48af021ba8fe4939eb881cc437b&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 22:52:08 -> Pinging Codecov 22:52:08 https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-725&commit=5158b96cebebe48af021ba8fe4939eb881cc437b&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 22:52:08 -> Uploading to 22:52:08 https://storage.googleapis.com/codecov/v4/raw/2021-04-16/7E55EF52A471D76F132DFD9A03CDDE97/5158b96cebebe48af021ba8fe4939eb881cc437b/88770f83-2d3d-4cf3-985d-bb6ba224d17b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210416%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210416T225208Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96733f358dca9c7e3cb19609dadf74793f44feb8abf89ccdf733cf3e047a054c 22:52:08 % Total % Received % Xferd Average Speed Time Time Time Current 22:52:08 Dload Upload Total Spent Left Speed 22:52:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13487 0 0 100 13487 0 33179 --:--:-- --:--:-- --:--:-- 33137 22:52:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5158b96cebebe48af021ba8fe4939eb881cc437b [Pipeline] } 22:52:09 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:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:52:10 ---> package-listing.sh 22:52:10 ++ facter osfamily 22:52:10 ++ tr '[:upper:]' '[:lower:]' 22:52:10 + OS_FAMILY=redhat 22:52:10 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 22:52:10 + START_PACKAGES=/tmp/packages_start.txt 22:52:10 + END_PACKAGES=/tmp/packages_end.txt 22:52:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:52:10 + PACKAGES=/tmp/packages_start.txt 22:52:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 22:52:10 + PACKAGES=/tmp/packages_end.txt 22:52:10 + case "${OS_FAMILY}" in 22:52:10 + rpm -qa 22:52:10 + sort 22:52:15 + '[' -f /tmp/packages_start.txt ']' 22:52:15 + '[' -f /tmp/packages_end.txt ']' 22:52:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:52:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 22:52:15 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 22:52:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo 22:52:15 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:52:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:52:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:52:16 22:52:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:52:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:52:16 alpine: Pulling from edgex-lftools-log-publisher 22:52:16 df20fa9351a1: Pulling fs layer 22:52:16 36b3adc4ff6f: Pulling fs layer 22:52:16 8ad3a11d3b57: Pulling fs layer 22:52:16 46f8f816bc3b: Pulling fs layer 22:52:16 93b61091891f: Pulling fs layer 22:52:16 93b9cdb0e59b: Pulling fs layer 22:52:16 5e14af77c1be: Pulling fs layer 22:52:16 01666e4c0597: Pulling fs layer 22:52:16 aa168da1d23b: Pulling fs layer 22:52:16 93b9cdb0e59b: Waiting 22:52:16 5e14af77c1be: Waiting 22:52:16 01666e4c0597: Waiting 22:52:16 aa168da1d23b: Waiting 22:52:16 46f8f816bc3b: Waiting 22:52:16 93b61091891f: Waiting 22:52:17 36b3adc4ff6f: Verifying Checksum 22:52:17 36b3adc4ff6f: Download complete 22:52:17 46f8f816bc3b: Verifying Checksum 22:52:17 46f8f816bc3b: Download complete 22:52:17 df20fa9351a1: Verifying Checksum 22:52:17 df20fa9351a1: Download complete 22:52:17 93b9cdb0e59b: Verifying Checksum 22:52:17 93b9cdb0e59b: Download complete 22:52:17 5e14af77c1be: Download complete 22:52:17 93b61091891f: Verifying Checksum 22:52:17 93b61091891f: Download complete 22:52:17 df20fa9351a1: Pull complete 22:52:17 8ad3a11d3b57: Verifying Checksum 22:52:17 8ad3a11d3b57: Download complete 22:52:17 36b3adc4ff6f: Pull complete 22:52:18 01666e4c0597: Verifying Checksum 22:52:18 01666e4c0597: Download complete 22:52:18 8ad3a11d3b57: Pull complete 22:52:18 46f8f816bc3b: Pull complete 22:52:19 93b61091891f: Pull complete 22:52:19 93b9cdb0e59b: Pull complete 22:52:19 aa168da1d23b: Verifying Checksum 22:52:19 aa168da1d23b: Download complete 22:52:19 5e14af77c1be: Pull complete 22:52:19 01666e4c0597: Pull complete 22:52:27 aa168da1d23b: Pull complete 22:52:27 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:52:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:52:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:52:27 prd-centos7-docker-4c-2g-512 does not seem to be running inside a container 22:52:27 $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:52:30 $ docker top d04e7f3f2ec1c6ab2b09f441e70cb6708bd83c433a760881cbd51fbe82e17e9c -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:31 + touch /tmp/pre-build-complete [Pipeline] sh 22:52:31 + mkdir -p /var/log/sa [Pipeline] sh 22:52:31 + ls /var/log/sa-host 22:52:31 + sadf -c /var/log/sa-host/sa16 22:52:31 file_magic: OK 22:52:31 HZ: Using current value: 100 22:52:31 file_header: OK 22:52:31 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:52:31 Statistics: 22:52:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:52:31 File successfully converted to sysstat format version 12.2.1 22:52:31 + sadf -c /var/log/sa-host/sa23 22:52:31 file_magic: OK 22:52:31 HZ: Using current value: 100 22:52:31 file_header: OK 22:52:31 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:52:31 Statistics: 22:52:31 Hnuu...uuuununununu... 22:52:31 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:52:32 provisioning config files... 22:52:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1181873127728727159tmp [Pipeline] { [Pipeline] echo 22:52:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:52:32 ---> create-netrc.sh [Pipeline] } 22:52:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:52:32 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:52:32 ---> python-tools-install.sh [Pipeline] echo 22:52:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:52:33 ---> sudo-logs.sh 22:52:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:52:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:52:33 ---> job-cost.sh 22:52:33 lf-activate-venv: SKIPPING 22:52:33 DEBUG: total: 0.029999999329447746 22:52:33 INFO: Retrieving Stack Cost... 22:52:34 INFO: Retrieving Pricing Info for: v1-standard-2 22:52:35 INFO: Archiving Costs [Pipeline] echo 22:52:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:52:35 ---> logs-deploy.sh 22:52:35 lf-activate-venv: SKIPPING 22:52:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/35 22:52:35 INFO: archiving workspace using pattern(s): 22:52:37 Archives upload complete. 22:52:37 INFO: archiving logs to Nexus