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+188b4cc14b9321dd8b2b5872b94485f2cb4f6961 (c85acae711aa5a60059587a6e7d11ae63463e328) 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-1879 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 Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc > 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 > 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 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 Merge succeeded, producing aac70bba8a8cbe0961ac72a11d2de48656e10374 Checking out Revision aac70bba8a8cbe0961ac72a11d2de48656e10374 (PR-725) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aac70bba8a8cbe0961ac72a11d2de48656e10374 # timeout=10 Commit message: "Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 02adb78950723d59fdd745462f627754dd55f7e4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:55:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:55:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:55:05 ========================================================= 22:55:05 EdgeX Global Pipelines Version Info 22:55:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:55:07 ------------------- 22:55:07 stable info: 22:55:07 ------------------- 22:55:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:55:07 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 22:55:07 Message: update stable to v1.0.186 22:55:08 ------------------- 22:55:08 experimental info: 22:55:08 ------------------- 22:55:08 Commited By: **** collab-it+edgex@linuxfoundation.org 22:55:08 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 22:55:08 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:55:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 22:55:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:55:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:55:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:55:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:55:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 22:55:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 22:55:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 22:55:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aac70bba8a8cbe0961ac72a11d2de48656e10374 [Pipeline] echo 22:55:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aac70bb [Pipeline] echo 22:55:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:55:09 provisioning config files... 22:55:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config11806397089311467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:09 ---> docker-login.sh 22:55:09 nexus3.edgexfoundry.org:10001 22:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:10 Configure a credential helper to remove this warning. See 22:55:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:10 22:55:10 Login Succeeded 22:55:10 nexus3.edgexfoundry.org:10002 22:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:10 Configure a credential helper to remove this warning. See 22:55:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:10 22:55:10 Login Succeeded 22:55:10 nexus3.edgexfoundry.org:10003 22:55:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:10 Configure a credential helper to remove this warning. See 22:55:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:10 22:55:10 Login Succeeded 22:55:10 nexus3.edgexfoundry.org:10004 22:55:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:11 Configure a credential helper to remove this warning. See 22:55:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:11 22:55:11 Login Succeeded 22:55:11 docker.io 22:55:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:11 Configure a credential helper to remove this warning. See 22:55:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:11 22:55:11 Login Succeeded 22:55:11 ---> docker-login.sh ends [Pipeline] } 22:55:11 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:55:12 + git log --format=format:%s -1 aac70bba8a8cbe0961ac72a11d2de48656e10374 [Pipeline] echo 22:55:12 GIT_COMMIT: aac70bba8a8cbe0961ac72a11d2de48656e10374, Commit Message: Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD [Pipeline] echo 22:55:12 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:55:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:12 22:55:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:55:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:13 latest: Pulling from edgex-devops/git-semver 22:55:13 31603596830f: Pulling fs layer 22:55:13 2a8b12db71e7: Pulling fs layer 22:55:13 6ca5941a6612: Pulling fs layer 22:55:13 ecc8261a40a4: Pulling fs layer 22:55:13 ecc8261a40a4: Waiting 22:55:13 2a8b12db71e7: Verifying Checksum 22:55:13 2a8b12db71e7: Download complete 22:55:13 31603596830f: Verifying Checksum 22:55:13 31603596830f: Download complete 22:55:13 ecc8261a40a4: Verifying Checksum 22:55:13 ecc8261a40a4: Download complete 22:55:13 6ca5941a6612: Verifying Checksum 22:55:13 6ca5941a6612: Download complete 22:55:14 31603596830f: Pull complete 22:55:14 2a8b12db71e7: Pull complete 22:55:15 6ca5941a6612: Pull complete 22:55:15 ecc8261a40a4: Pull complete 22:55:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:55:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:55:15 prd-centos7-docker-4c-2g-1879 does not seem to be running inside a container 22:55:15 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:55:18 $ docker top d551c97034b924f57c4b840f67c119d3f41e6127a5d294d0bf7d3d589daab169 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:55:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:18 [ssh-agent] Looking for ssh-agent implementation... 22:55:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:18 $ docker exec d551c97034b924f57c4b840f67c119d3f41e6127a5d294d0bf7d3d589daab169 ssh-agent 22:55:18 SSH_AUTH_SOCK=/tmp/ssh-tEj20dQOunB6/agent.12 22:55:18 SSH_AGENT_PID=17 22:55:18 Running ssh-add (command line suppressed) 22:55:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5403704625520624617.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5403704625520624617.key) 22:55:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:19 + git tag --points-at HEAD [Pipeline] } 22:55:19 $ docker exec --env ******** --env ******** d551c97034b924f57c4b840f67c119d3f41e6127a5d294d0bf7d3d589daab169 ssh-agent -k 22:55:19 unset SSH_AUTH_SOCK; 22:55:19 unset SSH_AGENT_PID; 22:55:19 echo Agent pid 17 killed; 22:55:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:55:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:19 [ssh-agent] Looking for ssh-agent implementation... 22:55:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:19 $ docker exec d551c97034b924f57c4b840f67c119d3f41e6127a5d294d0bf7d3d589daab169 ssh-agent 22:55:19 SSH_AUTH_SOCK=/tmp/ssh-cwv9ShofQFnR/agent.46 22:55:19 SSH_AGENT_PID=51 22:55:19 Running ssh-add (command line suppressed) 22:55:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4861742894165286997.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4861742894165286997.key) 22:55:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:20 + git semver init 22:55:20 # -> Open(): unable to determine branch for HEAD 22:55:20 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 22:55:20 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 22:55:20 # $SEMVER_REMOTE_NAME = origin 22:55:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:55:20 # $SEMVER_USER_NAME = edgex-jenkins 22:55:20 # $SEMVER_BRANCH = PR-725 22:55:20 # $SEMVER_TEMP = /tmp/semver-795808116 22:55:20 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:55:21 # '/tmp/semver-795808116' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 22:55:21 # -> Force: false 22:55:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 22:55:21 $ docker exec --env ******** --env ******** d551c97034b924f57c4b840f67c119d3f41e6127a5d294d0bf7d3d589daab169 ssh-agent -k 22:55:21 unset SSH_AUTH_SOCK; 22:55:21 unset SSH_AGENT_PID; 22:55:21 echo Agent pid 51 killed; 22:55:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:55:22 + git semver [Pipeline] } 22:55:22 $ docker stop --time=1 d551c97034b924f57c4b840f67c119d3f41e6127a5d294d0bf7d3d589daab169 22:55:23 $ docker rm -f d551c97034b924f57c4b840f67c119d3f41e6127a5d294d0bf7d3d589daab169 [Pipeline] // withDockerContainer [Pipeline] sh 22:55:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:55:24 Stashed 1 file(s) [Pipeline] echo 22:55:24 [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:55:39 Still waiting to schedule task 22:55:39 Executor slot already in use; ‘prd-centos7-docker-4c-2g-1882’ is offline 22:55:39 Still waiting to schedule task 22:55:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:55:49 Running on prd-centos7-docker-4c-2g-1882 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 22:55:49 Running in /w/workspace/device-sdk-go/39 [Pipeline] { [Pipeline] checkout 22:55:51 using credential edgex-jenkins-ssh 22:55:51 Cloning the remote Git repository 22:55:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:55:51 > git init /w/workspace/device-sdk-go/39 # timeout=10 22:55:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:55:51 > git --version # timeout=10 22:55:51 > git --version # 'git version 2.24.3' 22:55:51 using GIT_SSH to set credentials SSH Credentials for GitHub 22:55:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:55:53 Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 22:55:53 Merge succeeded, producing bafcb6b579942374e15c29b181e34d7847f24703 22:55:53 Checking out Revision bafcb6b579942374e15c29b181e34d7847f24703 (PR-725) 22:55:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:55:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:55:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:55:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:55:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:55:52 > 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:55:53 > git config core.sparsecheckout # timeout=10 22:55:53 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 22:55:53 > git remote # timeout=10 22:55:53 > git config --get remote.origin.url # timeout=10 22:55:53 using GIT_SSH to set credentials SSH Credentials for GitHub 22:55:53 > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 22:55:53 > git rev-parse HEAD^{commit} # timeout=10 22:55:53 > git config core.sparsecheckout # timeout=10 22:55:53 > git checkout -f bafcb6b579942374e15c29b181e34d7847f24703 # timeout=10 22:55:57 Commit message: "Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD" 22:55:57 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:55:57 > git rev-list --no-walk 02adb78950723d59fdd745462f627754dd55f7e4 # timeout=10 22:55:58 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:55:58 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:55:58 + true 22:55:58 + sudo service docker restart 22:55:58 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:55:59 provisioning config files... 22:55:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/39@tmp/config4115442010809926600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:56:00 ---> docker-login.sh 22:56:00 nexus3.edgexfoundry.org:10001 22:56:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:00 Configure a credential helper to remove this warning. See 22:56:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:00 22:56:00 Login Succeeded 22:56:00 nexus3.edgexfoundry.org:10002 22:56:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:00 Configure a credential helper to remove this warning. See 22:56:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:00 22:56:00 Login Succeeded 22:56:00 nexus3.edgexfoundry.org:10003 22:56:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:00 Configure a credential helper to remove this warning. See 22:56:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:00 22:56:00 Login Succeeded 22:56:00 nexus3.edgexfoundry.org:10004 22:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:01 Configure a credential helper to remove this warning. See 22:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:01 22:56:01 Login Succeeded 22:56:01 docker.io 22:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:56:01 Configure a credential helper to remove this warning. See 22:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:56:01 22:56:01 Login Succeeded 22:56:01 ---> docker-login.sh ends [Pipeline] } 22:56:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:56:01 ========================================================= 22:56:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:56:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:56:02 + 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:56:02 Sending build context to Docker daemon 2.469MB 22:56:02 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:56:02 Step 2/8 : FROM ${BASE} 22:56:02 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:56:02 188c0c94c7c5: Pulling fs layer 22:56:02 0ef7d3d256c8: Pulling fs layer 22:56:02 de9db76c5a1d: Pulling fs layer 22:56:02 bca2f99d35d6: Pulling fs layer 22:56:02 93359f2a8cfa: Pulling fs layer 22:56:02 7c6f9722023f: Pulling fs layer 22:56:02 a35cf1a2eb13: Pulling fs layer 22:56:02 bca2f99d35d6: Waiting 22:56:02 7c6f9722023f: Waiting 22:56:02 a35cf1a2eb13: Waiting 22:56:02 93359f2a8cfa: Waiting 22:56:02 0ef7d3d256c8: Verifying Checksum 22:56:02 0ef7d3d256c8: Download complete 22:56:02 de9db76c5a1d: Verifying Checksum 22:56:02 de9db76c5a1d: Download complete 22:56:02 93359f2a8cfa: Verifying Checksum 22:56:02 93359f2a8cfa: Download complete 22:56:02 7c6f9722023f: Verifying Checksum 22:56:02 7c6f9722023f: Download complete 22:56:02 188c0c94c7c5: Download complete 22:56:02 188c0c94c7c5: Pull complete 22:56:02 0ef7d3d256c8: Pull complete 22:56:03 de9db76c5a1d: Pull complete 22:56:03 a35cf1a2eb13: Verifying Checksum 22:56:03 a35cf1a2eb13: Download complete 22:56:04 bca2f99d35d6: Verifying Checksum 22:56:04 bca2f99d35d6: Download complete 22:56:09 bca2f99d35d6: Pull complete 22:56:09 93359f2a8cfa: Pull complete 22:56:09 7c6f9722023f: Pull complete 22:56:16 a35cf1a2eb13: Pull complete 22:56:16 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:56:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:56:16 ---> a62c8e92a672 22:56:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:56:16 ---> Running in 7a1597be532c 22:56:17 Removing intermediate container 7a1597be532c 22:56:17 ---> d71f1641688b 22:56:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:56:17 ---> Running in 936a5746a187 22:56:18 Removing intermediate container 936a5746a187 22:56:18 ---> a15d0ea8d7d7 22:56:18 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:56:18 ---> Running in 8a2469ed206b 22:56:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:56:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:56:20 (1/6) Installing libc-dev (0.7.2-r3) 22:56:20 (2/6) Installing libsodium (1.0.18-r0) 22:56:20 (3/6) Installing pkgconf (1.7.2-r0) 22:56:20 (4/6) Installing libsodium-dev (1.0.18-r0) 22:56:20 (5/6) Installing libzmq (4.3.3-r0) 22:56:20 (6/6) Installing zeromq-dev (4.3.3-r0) 22:56:20 Executing busybox-1.31.1-r19.trigger 22:56:20 OK: 167 MiB in 45 packages 22:56:21 Removing intermediate container 8a2469ed206b 22:56:21 ---> 0c358dfba4f5 22:56:21 Step 6/8 : WORKDIR /device-sdk-go 22:56:21 ---> Running in 67598b9d022c 22:56:21 Removing intermediate container 67598b9d022c 22:56:21 ---> 7daf497262a6 22:56:21 Step 7/8 : COPY . . 22:56:23 ---> 148bc6503d02 22:56:23 Step 8/8 : RUN go mod download 22:56:23 ---> Running in 3f2c9ab3bc83 22:56:45 Removing intermediate container 3f2c9ab3bc83 22:56:45 ---> a991ff60746f 22:56:45 Successfully built a991ff60746f 22:56:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:56:45 + docker inspect -f . ci-base-image-x86_64 22:56:46 . [Pipeline] withDockerContainer 22:56:46 prd-centos7-docker-4c-2g-1882 does not seem to be running inside a container 22:56:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/39 -v /w/workspace/device-sdk-go/39:/w/workspace/device-sdk-go/39:rw,z -v /w/workspace/device-sdk-go/39@tmp:/w/workspace/device-sdk-go/39@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:56:47 $ docker top de0ddf87950e26f5f83b5043abe2c74494502b956c9e5a19fe75c047efea9bd7 -eo pid,comm [Pipeline] { [Pipeline] sh 22:56:47 + go version 22:56:47 go version go1.15.5 linux/amd64 [Pipeline] } 22:56:47 $ docker stop --time=1 de0ddf87950e26f5f83b5043abe2c74494502b956c9e5a19fe75c047efea9bd7 22:56:49 $ docker rm -f de0ddf87950e26f5f83b5043abe2c74494502b956c9e5a19fe75c047efea9bd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:56:49 + docker inspect -f . ci-base-image-x86_64 22:56:49 . [Pipeline] withDockerContainer 22:56:49 prd-centos7-docker-4c-2g-1882 does not seem to be running inside a container 22:56:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/39 -v /w/workspace/device-sdk-go/39:/w/workspace/device-sdk-go/39:rw,z -v /w/workspace/device-sdk-go/39@tmp:/w/workspace/device-sdk-go/39@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:56:50 $ docker top b6746c580b7799780af5a7c0c8fd71d0e180b634172ad114e8e71024728b0f97 -eo pid,comm [Pipeline] { [Pipeline] sh 22:56:50 + make test 22:56:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:56:59 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:57:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:57:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:57:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:57:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:57:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:57:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.104s coverage: 28.1% of statements 22:57:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.084s coverage: 78.9% of statements 22:57:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.071s coverage: 7.8% of statements 22:57:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:57:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:57:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:57:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.135s coverage: 32.0% of statements 22:57:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:57:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:57:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:57:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.141s coverage: 57.2% of statements 22:57:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.289s coverage: 6.6% of statements 22:57:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.0% of statements 22:57:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:57:24 GO111MODULE=on go vet ./... 22:57:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1883 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 22:57:31 Running in /w/workspace/device-sdk-go/39 [Pipeline] { [Pipeline] checkout 22:57:36 using credential edgex-jenkins-ssh 22:57:36 Cloning the remote Git repository 22:57:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:57:37 > git init /w/workspace/device-sdk-go/39 # timeout=10 22:57:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:57:37 > git --version # timeout=10 22:57:37 > git --version # 'git version 2.17.1' 22:57:37 using GIT_SSH to set credentials SSH Credentials for GitHub 22:57:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:57:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:57:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:57:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:57:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:57:38 using GIT_SSH to set credentials SSH Credentials for GitHub 22:57:38 > 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:57:39 Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 22:57:39 Merge succeeded, producing f9162cc0bd1667bc92c4ddb2f139765b36aa5097 22:57:39 Checking out Revision f9162cc0bd1667bc92c4ddb2f139765b36aa5097 (PR-725) 22:57:39 > git config core.sparsecheckout # timeout=10 22:57:39 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 22:57:39 > git remote # timeout=10 22:57:39 > git config --get remote.origin.url # timeout=10 22:57:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:57:39 > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 22:57:39 > git rev-parse HEAD^{commit} # timeout=10 22:57:39 > git config core.sparsecheckout # timeout=10 22:57:39 > git checkout -f f9162cc0bd1667bc92c4ddb2f139765b36aa5097 # timeout=10 22:57:42 gofmt -l . 22:57:42 [ "`gofmt -l .`" = "" ] 22:57:42 ./bin/test-attribution-txt.sh 22:57:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:57:42 $ docker stop --time=1 b6746c580b7799780af5a7c0c8fd71d0e180b634172ad114e8e71024728b0f97 22:57:43 Commit message: "Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD" 22:57:43 First time build. Skipping changelog. 22:57:44 $ docker rm -f b6746c580b7799780af5a7c0c8fd71d0e180b634172ad114e8e71024728b0f97 22:57:43 > git rev-list --no-walk 02adb78950723d59fdd745462f627754dd55f7e4 # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:57:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:57:46 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 22:57:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 22:57:46 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh 22:57:49 + true 22:57:49 + sudo service docker restart 22:57:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:57:50 + ls -al . 22:57:50 total 188 22:57:50 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 26 22:57 . 22:57:50 drwxrwxr-x. 4 jenkins jenkins 30 Apr 26 22:55 .. 22:57:50 drwxrwxr-x. 2 jenkins jenkins 64 Apr 26 22:55 bin 22:57:50 -rw-r--r--. 1 jenkins jenkins 100024 Apr 26 22:57 coverage.out 22:57:50 -rw-rw-r--. 1 jenkins jenkins 987 Apr 26 22:55 Dockerfile.build 22:57:50 -rw-rw-r--. 1 jenkins jenkins 140 Apr 26 22:55 .dockerignore 22:57:50 drwxrwxr-x. 5 jenkins jenkins 62 Apr 26 22:55 example 22:57:50 drwxrwxr-x. 8 jenkins jenkins 179 Apr 26 22:55 .git 22:57:50 drwxrwxr-x. 2 jenkins jenkins 103 Apr 26 22:55 .github 22:57:50 -rw-rw-r--. 1 jenkins jenkins 138 Apr 26 22:55 .gitignore 22:57:50 -rw-r--r--. 1 jenkins jenkins 575 Apr 26 22:57 go.mod 22:57:50 -rw-r--r--. 1 jenkins jenkins 20957 Apr 26 22:57 go.sum 22:57:50 drwxrwxr-x. 14 jenkins jenkins 207 Apr 26 22:55 internal 22:57:50 -rw-rw-r--. 1 jenkins jenkins 894 Apr 26 22:55 Jenkinsfile 22:57:50 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 26 22:55 LICENSE 22:57:50 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 26 22:55 Makefile 22:57:50 drwxrwxr-x. 4 jenkins jenkins 26 Apr 26 22:55 openapi 22:57:50 drwxrwxr-x. 5 jenkins jenkins 50 Apr 26 22:55 pkg 22:57:50 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 26 22:55 README.md 22:57:50 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 26 22:55 RELEASE-NOTES.txt 22:57:50 drwxrwxr-x. 4 jenkins jenkins 54 Apr 26 22:55 snap 22:57:50 -rw-rw-r--. 1 jenkins jenkins 5 Apr 26 22:55 VERSION 22:57:50 -rw-rw-r--. 1 jenkins jenkins 222 Apr 26 22:55 version.go [Pipeline] isUnix [Pipeline] sh 22:57:50 + 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=aac70bba8a8cbe0961ac72a11d2de48656e10374 --label arch=amd64 --label version=0.0.0 . 22:57:50 Sending build context to Docker daemon 2.57MB 22:57:50 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:57:50 Step 2/23 : FROM ${BASE} AS builder 22:57:50 ---> a991ff60746f 22:57:50 Step 3/23 : WORKDIR /device-sdk-go 22:57:51 ---> Running in dc98c4574a19 22:57:51 Removing intermediate container dc98c4574a19 22:57:51 ---> 66e6953acffb 22:57:51 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:57:51 ---> Running in 0f020bde68d5 22:57:51 Removing intermediate container 0f020bde68d5 22:57:51 ---> b11d7e07e841 22:57:51 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:57:51 ---> Running in bef0b6f699ef [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:57:51 provisioning config files... 22:57:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/39@tmp/config8705836931006901272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:52 ---> docker-login.sh 22:57:52 nexus3.edgexfoundry.org:10001 22:57:52 Removing intermediate container bef0b6f699ef 22:57:52 ---> 62955246682f 22:57:52 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:57:52 ---> Running in b66a5e1b2461 22:57:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:57:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:53 Configure a credential helper to remove this warning. See 22:57:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:53 22:57:53 Login Succeeded 22:57:53 nexus3.edgexfoundry.org:10002 22:57:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:53 Configure a credential helper to remove this warning. See 22:57:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:53 22:57:53 Login Succeeded 22:57:53 nexus3.edgexfoundry.org:10003 22:57:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:57:54 OK: 167 MiB in 45 packages 22:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:54 Configure a credential helper to remove this warning. See 22:57:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:54 22:57:54 Login Succeeded 22:57:54 nexus3.edgexfoundry.org:10004 22:57:54 Removing intermediate container b66a5e1b2461 22:57:54 ---> 171a6127deb0 22:57:54 Step 7/23 : COPY . . 22:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:55 Configure a credential helper to remove this warning. See 22:57:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:55 22:57:55 Login Succeeded 22:57:55 docker.io 22:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:55 ---> 94a8ac5ff859 22:57:55 Step 8/23 : RUN go mod download 22:57:55 ---> Running in 5e7a6cb17174 22:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:56 Configure a credential helper to remove this warning. See 22:57:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:56 22:57:56 Login Succeeded 22:57:56 ---> docker-login.sh ends [Pipeline] } 22:57:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:57:56 ========================================================= 22:57:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:57:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:57:56 + 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:57:56 Removing intermediate container 5e7a6cb17174 22:57:56 ---> 67b2199f9fbe 22:57:56 Step 9/23 : RUN make build 22:57:56 Sending build context to Docker daemon 2.468MB 22:57:57 ---> Running in bf1122a7ee4c 22:57:57 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:57:57 Step 2/8 : FROM ${BASE} 22:57:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:57:57 5f621e34cdf4: Pulling fs layer 22:57:57 a4357932f1b6: Pulling fs layer 22:57:57 18c013af1878: Pulling fs layer 22:57:57 00ac8860ef70: Pulling fs layer 22:57:57 63d7cb157983: Pulling fs layer 22:57:57 b116817d02f9: Pulling fs layer 22:57:57 745a02a5169b: Pulling fs layer 22:57:57 63d7cb157983: Waiting 22:57:57 00ac8860ef70: Waiting 22:57:57 745a02a5169b: Waiting 22:57:57 b116817d02f9: Waiting 22:57:57 18c013af1878: Download complete 22:57:57 a4357932f1b6: Verifying Checksum 22:57:57 a4357932f1b6: Download complete 22:57:57 63d7cb157983: Verifying Checksum 22:57:57 63d7cb157983: Download complete 22:57:57 b116817d02f9: Download complete 22:57:57 5f621e34cdf4: Download complete 22:57:57 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:57:57 5f621e34cdf4: Pull complete 22:57:58 a4357932f1b6: Pull complete 22:57:58 18c013af1878: Pull complete 22:57:59 745a02a5169b: Verifying Checksum 22:57:59 745a02a5169b: Download complete 22:58:00 00ac8860ef70: Verifying Checksum 22:58:00 00ac8860ef70: Download complete 22:58:10 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:58:10 Removing intermediate container bf1122a7ee4c 22:58:10 ---> 90ab44418c15 22:58:10 Step 10/23 : FROM alpine:3.12 22:58:10 00ac8860ef70: Pull complete 22:58:10 63d7cb157983: Pull complete 22:58:11 b116817d02f9: Pull complete 22:58:11 3.12: Pulling from library/alpine 22:58:11 339de151aab4: Pulling fs layer 22:58:11 339de151aab4: Download complete 22:58:11 339de151aab4: Pull complete 22:58:11 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:58:11 Status: Downloaded newer image for alpine:3.12 22:58:11 ---> 13621d1b12d4 22:58:11 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:58:11 ---> Running in 7be010dbe493 22:58:11 Removing intermediate container 7be010dbe493 22:58:11 ---> 75bc71cd8c51 22:58:11 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:58:11 ---> Running in 4c4fe004f3db 22:58:12 Removing intermediate container 4c4fe004f3db 22:58:12 ---> b997b0dc88ff 22:58:12 Step 13/23 : RUN apk add --update --no-cache zeromq 22:58:13 ---> Running in 24b98b1e3902 22:58:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:58:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:58:14 (1/5) Installing libgcc (9.3.0-r2) 22:58:14 (2/5) Installing libsodium (1.0.18-r0) 22:58:14 (3/5) Installing libstdc++ (9.3.0-r2) 22:58:15 745a02a5169b: Pull complete 22:58:15 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:58:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:58:15 ---> b7e6874047d6 22:58:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:58:16 (4/5) Installing libzmq (4.3.3-r0) 22:58:16 (5/5) Installing zeromq (4.3.3-r0) 22:58:16 Executing busybox-1.31.1-r20.trigger 22:58:16 OK: 8 MiB in 19 packages 22:58:17 Removing intermediate container 24b98b1e3902 22:58:17 ---> 43513e4c7dcc 22:58:17 Step 14/23 : WORKDIR / 22:58:17 ---> Running in e379120f5092 22:58:17 Removing intermediate container e379120f5092 22:58:17 ---> b87234263668 22:58:17 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:58:17 ---> b84ad9c6f927 22:58:17 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:58:18 ---> Running in d7f859319e23 22:58:18 Removing intermediate container d7f859319e23 22:58:18 ---> 34efef116d6b 22:58:18 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:58:18 ---> 1e5c4b836ded 22:58:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:58:18 ---> Running in 65600ce9ae5b 22:58:18 ---> 11f305218e94 22:58:18 Step 18/23 : EXPOSE 49990 22:58:18 ---> Running in 782ec5eac630 22:58:18 Removing intermediate container 782ec5eac630 22:58:18 ---> eabfff5231cc 22:58:18 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:58:18 ---> Running in cc5fa44b5c31 22:58:19 Removing intermediate container cc5fa44b5c31 22:58:19 ---> b7279630ee47 22:58:19 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:58:19 ---> Running in 617986030f39 22:58:19 Removing intermediate container 617986030f39 22:58:19 ---> 5d573ea3bdf9 22:58:19 Step 21/23 : LABEL arch=amd64 22:58:19 ---> Running in b42be683a43f 22:58:19 Removing intermediate container b42be683a43f 22:58:19 ---> 9599d8651997 22:58:19 Step 22/23 : LABEL git_sha=aac70bba8a8cbe0961ac72a11d2de48656e10374 22:58:19 ---> Running in 7d60b1c85a73 22:58:19 Removing intermediate container 7d60b1c85a73 22:58:19 ---> c3a6cc9a3a99 22:58:19 Step 23/23 : LABEL version=0.0.0 22:58:19 ---> Running in fc5f9bbe03d0 22:58:19 Removing intermediate container fc5f9bbe03d0 22:58:19 ---> 99ff915e9178 22:58:19 [Warning] One or more build-args [ARCH MAKE] were not consumed 22:58:19 Successfully built 99ff915e9178 22:58:19 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:58:20 ---> job-cost.sh 22:58:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2829 22:58:20 Removing intermediate container 65600ce9ae5b 22:58:20 ---> 69f78cf71197 22:58:20 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:58:20 ---> Running in 4a7fe8e7daaa 22:58:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:58:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:58:23 (1/6) Installing libc-dev (0.7.2-r3) 22:58:23 (2/6) Installing libsodium (1.0.18-r0) 22:58:23 (3/6) Installing pkgconf (1.7.2-r0) 22:58:23 (4/6) Installing libsodium-dev (1.0.18-r0) 22:58:24 (5/6) Installing libzmq (4.3.3-r0) 22:58:24 (6/6) Installing zeromq-dev (4.3.3-r0) 22:58:24 Executing busybox-1.31.1-r19.trigger 22:58:24 OK: 144 MiB in 45 packages 22:58:25 Removing intermediate container 4a7fe8e7daaa 22:58:25 ---> 5ed1bb789044 22:58:25 Step 6/8 : WORKDIR /device-sdk-go 22:58:25 ---> Running in b0b835972e5f 22:58:26 Removing intermediate container b0b835972e5f 22:58:26 ---> 026fca1e09a9 22:58:26 Step 7/8 : COPY . . 22:58:27 ---> bf3caf443b9e 22:58:27 Step 8/8 : RUN go mod download 22:58:27 ---> Running in b0cb27347cb6 22:58:35 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:58:54 Removing intermediate container b0cb27347cb6 22:58:54 ---> ab23769d91a0 22:58:54 Successfully built ab23769d91a0 22:58:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:58:54 + docker inspect -f . ci-base-image-arm64 22:58:54 . [Pipeline] withDockerContainer 22:58:55 prd-ubuntu18.04-docker-arm64-4c-16g-1883 does not seem to be running inside a container 22:58:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/39 -v /w/workspace/device-sdk-go/39:/w/workspace/device-sdk-go/39:rw,z -v /w/workspace/device-sdk-go/39@tmp:/w/workspace/device-sdk-go/39@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:58:56 $ docker top 276dca1b7ba3c84a5025baa135930ced5db8b8b1a33e2038ad76d4d791fff329 -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:57 + go version 22:58:57 go version go1.15.5 linux/arm64 [Pipeline] } 22:58:57 $ docker stop --time=1 276dca1b7ba3c84a5025baa135930ced5db8b8b1a33e2038ad76d4d791fff329 22:58:59 $ docker rm -f 276dca1b7ba3c84a5025baa135930ced5db8b8b1a33e2038ad76d4d791fff329 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:59:00 + docker inspect -f . ci-base-image-arm64 22:59:00 . [Pipeline] withDockerContainer 22:59:00 prd-ubuntu18.04-docker-arm64-4c-16g-1883 does not seem to be running inside a container 22:59:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/39 -v /w/workspace/device-sdk-go/39:/w/workspace/device-sdk-go/39:rw,z -v /w/workspace/device-sdk-go/39@tmp:/w/workspace/device-sdk-go/39@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:59:02 $ docker top 673e0bb24232b207574bc73bb3fa94bf5333704fa9c4f7f4522daa8cd1c2a17f -eo pid,comm 22:59:02 lf-activate-venv(): INFO: Adding /tmp/venv-2829/bin to PATH 22:59:02 INFO: No Stack... [Pipeline] { [Pipeline] sh 22:59:03 + make test 22:59:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:59:03 INFO: Retrieving Pricing Info for: v1-standard-2 22:59:04 INFO: Archiving Costs [Pipeline] sh 22:59:04 + cat /w/workspace/device-sdk-go/39/archives/cost.csv 22:59:04 + cut -d, -f6 [Pipeline] lock 22:59:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-39-stack-cost] 22:59:05 Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-39-stack-cost] did not exist. Created. 22:59:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:59:05 + echo total: 0.029999999329447746 [Pipeline] stash 22:59:05 Stashed 1 file(s) [Pipeline] } 22:59:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-39-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:59:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:00:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:00:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:00:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:00:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 23:00:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:00:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 28.1% of statements 23:00:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.207s coverage: 78.9% of statements 23:00:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.158s coverage: 7.8% of statements 23:00:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 23:00:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:00:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:00:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.252s coverage: 32.0% of statements 23:00:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:00:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:00:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:00:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.291s coverage: 57.2% of statements 23:00:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.142s coverage: 6.6% of statements 23:00:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements 23:00:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:00:31 GO111MODULE=on go vet ./... 23:01:18 gofmt -l . 23:01:18 [ "`gofmt -l .`" = "" ] 23:01:18 ./bin/test-attribution-txt.sh 23:01:18 ./bin/test-go-mod-tidy.sh [Pipeline] } 23:01:18 $ docker stop --time=1 673e0bb24232b207574bc73bb3fa94bf5333704fa9c4f7f4522daa8cd1c2a17f 23:01:20 $ docker rm -f 673e0bb24232b207574bc73bb3fa94bf5333704fa9c4f7f4522daa8cd1c2a17f [Pipeline] // withDockerContainer [Pipeline] sh 23:01:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:01:21 Warning: overwriting stash ‘coverage-report’ 23:01:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:01:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:01:23 + ls -al . 23:01:23 total 224 23:01:23 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 23:01 . 23:01:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 22:57 .. 23:01:23 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 22:57 .dockerignore 23:01:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 22:57 .git 23:01:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 22:57 .github 23:01:23 -rw-rw-r-- 1 jenkins jenkins 138 Apr 26 22:57 .gitignore 23:01:23 -rw-rw-r-- 1 jenkins jenkins 987 Apr 26 22:57 Dockerfile.build 23:01:23 -rw-rw-r-- 1 jenkins jenkins 894 Apr 26 22:57 Jenkinsfile 23:01:23 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 22:57 LICENSE 23:01:23 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 26 22:57 Makefile 23:01:23 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 26 22:57 README.md 23:01:23 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 26 22:57 RELEASE-NOTES.txt 23:01:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 22:55 VERSION 23:01:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 22:57 bin 23:01:23 -rw-r--r-- 1 jenkins jenkins 100024 Apr 26 23:00 coverage.out 23:01:23 drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 22:57 example 23:01:23 -rw-r--r-- 1 jenkins jenkins 575 Apr 26 23:01 go.mod 23:01:23 -rw-r--r-- 1 jenkins jenkins 20957 Apr 26 23:01 go.sum 23:01:23 drwxrwxr-x 14 jenkins jenkins 4096 Apr 26 22:57 internal 23:01:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 22:57 openapi 23:01:23 drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 22:57 pkg 23:01:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 22:57 snap 23:01:23 -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 22:57 version.go [Pipeline] isUnix [Pipeline] sh 23:01:23 + 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=aac70bba8a8cbe0961ac72a11d2de48656e10374 --label arch=arm64 --label version=0.0.0 . 23:01:24 Sending build context to Docker daemon 2.569MB 23:01:24 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 23:01:24 Step 2/23 : FROM ${BASE} AS builder 23:01:24 ---> ab23769d91a0 23:01:24 Step 3/23 : WORKDIR /device-sdk-go 23:01:24 ---> Running in e4fc2c860678 23:01:25 Removing intermediate container e4fc2c860678 23:01:25 ---> dc5d2db433cd 23:01:25 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:01:25 ---> Running in b76057afd1e9 23:01:25 Removing intermediate container b76057afd1e9 23:01:25 ---> 954f989cfcd5 23:01:25 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:01:25 ---> Running in d176360e9390 23:01:27 Removing intermediate container d176360e9390 23:01:27 ---> fefb03909bbf 23:01:27 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:01:28 ---> Running in 9f9024ed7ff9 23:01:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:01:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:01:30 OK: 144 MiB in 45 packages 23:01:31 Removing intermediate container 9f9024ed7ff9 23:01:31 ---> acf534f9cca8 23:01:31 Step 7/23 : COPY . . 23:01:32 ---> bb0df604c9e4 23:01:32 Step 8/23 : RUN go mod download 23:01:32 ---> Running in f960eeb7a6c0 23:01:34 Removing intermediate container f960eeb7a6c0 23:01:34 ---> 94dc0d091d4f 23:01:34 Step 9/23 : RUN make build 23:01:35 ---> Running in 61d71161af6e 23:01:36 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 23:02:08 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:02:11 Removing intermediate container 61d71161af6e 23:02:11 ---> 153025636993 23:02:11 Step 10/23 : FROM alpine:3.12 23:02:12 3.12: Pulling from library/alpine 23:02:12 d2f70382dc9a: Pulling fs layer 23:02:12 d2f70382dc9a: Verifying Checksum 23:02:12 d2f70382dc9a: Download complete 23:02:13 d2f70382dc9a: Pull complete 23:02:13 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 23:02:13 Status: Downloaded newer image for alpine:3.12 23:02:13 ---> 9852663dfa18 23:02:13 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:02:13 ---> Running in 14dc6c7324ba 23:02:13 Removing intermediate container 14dc6c7324ba 23:02:13 ---> dcf2f8f60be6 23:02:13 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:02:13 ---> Running in 347775ddf643 23:02:15 Removing intermediate container 347775ddf643 23:02:15 ---> 07950efeffc1 23:02:15 Step 13/23 : RUN apk add --update --no-cache zeromq 23:02:16 ---> Running in 1d44ae53fde9 23:02:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:02:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:02:18 (1/5) Installing libgcc (9.3.0-r2) 23:02:18 (2/5) Installing libsodium (1.0.18-r0) 23:02:18 (3/5) Installing libstdc++ (9.3.0-r2) 23:02:18 (4/5) Installing libzmq (4.3.3-r0) 23:02:19 (5/5) Installing zeromq (4.3.3-r0) 23:02:19 Executing busybox-1.31.1-r20.trigger 23:02:19 OK: 8 MiB in 19 packages 23:02:20 Removing intermediate container 1d44ae53fde9 23:02:20 ---> 226c276b1a74 23:02:20 Step 14/23 : WORKDIR / 23:02:20 ---> Running in 0bef1bba4b69 23:02:21 Removing intermediate container 0bef1bba4b69 23:02:21 ---> 4c115d1b1529 23:02:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:02:21 ---> 15e94387464c 23:02:21 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:02:23 ---> 318e25b86308 23:02:23 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:02:23 ---> a59ccf5db30b 23:02:23 Step 18/23 : EXPOSE 49990 23:02:23 ---> Running in 783a623673b3 23:02:24 Removing intermediate container 783a623673b3 23:02:24 ---> 1a59f94fa729 23:02:24 Step 19/23 : ENTRYPOINT ["/device-simple"] 23:02:24 ---> Running in cdc08ed70ebd 23:02:25 Removing intermediate container cdc08ed70ebd 23:02:25 ---> c91ec0861611 23:02:25 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:02:25 ---> Running in 0c331907f70c 23:02:25 Removing intermediate container 0c331907f70c 23:02:25 ---> be0bd20ec7b2 23:02:25 Step 21/23 : LABEL arch=arm64 23:02:25 ---> Running in d3beb90e5b5c 23:02:26 Removing intermediate container d3beb90e5b5c 23:02:26 ---> 59c420238497 23:02:26 Step 22/23 : LABEL git_sha=aac70bba8a8cbe0961ac72a11d2de48656e10374 23:02:26 ---> Running in 8ae865de2455 23:02:26 Removing intermediate container 8ae865de2455 23:02:26 ---> 5cd0e308f26c 23:02:26 Step 23/23 : LABEL version=0.0.0 23:02:26 ---> Running in 459e2dca2298 23:02:27 Removing intermediate container 459e2dca2298 23:02:27 ---> cd1da08bfb1c 23:02:27 [Warning] One or more build-args [MAKE ARCH] were not consumed 23:02:27 Successfully built cd1da08bfb1c 23:02:27 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 [Pipeline] libraryResource [Pipeline] sh 23:02:27 ---> job-cost.sh 23:02:27 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rHYw 23:03:06 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:04:28 lf-activate-venv(): INFO: Adding /tmp/venv-rHYw/bin to PATH 23:04:28 INFO: No Stack... 23:04:28 INFO: Retrieving Pricing Info for: lf-standard-4 23:04:29 INFO: Archiving Costs [Pipeline] sh 23:04:29 + cut -d, -f6 23:04:29 + cat /w/workspace/device-sdk-go/39/archives/cost.csv [Pipeline] lock 23:04:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-39-stack-cost] 23:04:29 Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-39-stack-cost] did not exist. Created. 23:04:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:04:30 /w/workspace/device-sdk-go/39@tmp/durable-f2607314/script.sh: 1: /w/workspace/device-sdk-go/39@tmp/durable-f2607314/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:04:30 + echo total: 0.20999999344348907 [Pipeline] stash 23:04:30 Warning: overwriting stash ‘stack-cost’ 23:04:30 Stashed 1 file(s) [Pipeline] } 23:04:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-39-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 23:04:31 provisioning config files... 23:04:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2430010283346522678tmp [Pipeline] { [Pipeline] sh 23:04:31 + set +x 23:04:31 + curl -s https://codecov.io/bash 23:04:31 + bash -s -- 23:04:31 23:04:31 _____ _ 23:04:31 / ____| | | 23:04:31 | | ___ __| | ___ ___ _____ __ 23:04:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:04:31 | |___| (_) | (_| | __/ (_| (_) \ V / 23:04:31 \_____\___/ \__,_|\___|\___\___/ \_/ 23:04:31 Bash-1.0.2 23:04:31 23:04:31 23:04:31 ==> git version 2.24.3 found 23:04:31 ==> 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 23:04:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:04:31 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:04:31 ==> Jenkins CI detected. 23:04:31 project root: . 23:04:31 --> token set from env 23:04:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:04:31 ==> Running gcov in . (disable via -X gcov) 23:04:31 ==> Python coveragepy not found 23:04:31 ==> Searching for coverage reports in: 23:04:31 + . 23:04:31 -> Found 1 reports 23:04:31 ==> Detecting git/mercurial file structure 23:04:31 ==> Reading reports 23:04:31 + ./coverage.out bytes=100024 23:04:31 ==> Appending adjustments 23:04:31 https://docs.codecov.io/docs/fixing-reports 23:04:32 + Found adjustments 23:04:32 ==> Gzipping contents 23:04:32 16K /tmp/codecov.TtTkUd.gz 23:04:32 ==> Uploading reports 23:04:32 url: https://codecov.io 23:04:32 query: branch=PR-725&commit=aac70bba8a8cbe0961ac72a11d2de48656e10374&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 23:04:32 -> Pinging Codecov 23:04:32 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-725&commit=aac70bba8a8cbe0961ac72a11d2de48656e10374&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 23:04:32 -> Uploading to 23:04:32 https://storage.googleapis.com/codecov/v4/raw/2021-04-26/7E55EF52A471D76F132DFD9A03CDDE97/aac70bba8a8cbe0961ac72a11d2de48656e10374/86904dda-b47b-41d8-9348-4ab5333baeea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210426T230432Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=256fd57216a2bdedbff502fe0c1338af661bf076ec96c13a3bf7f46fd4d23483 23:04:32 % Total % Received % Xferd Average Speed Time Time Time Current 23:04:32 Dload Upload Total Spent Left Speed 23:04:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13513 0 0 100 13513 0 29965 --:--:-- --:--:-- --:--:-- 29962 23:04:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/aac70bba8a8cbe0961ac72a11d2de48656e10374 [Pipeline] } 23:04:33 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 23:04:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:04:34 ---> package-listing.sh 23:04:34 ++ facter osfamily 23:04:34 ++ tr '[:upper:]' '[:lower:]' 23:04:34 + OS_FAMILY=redhat 23:04:34 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 23:04:34 + START_PACKAGES=/tmp/packages_start.txt 23:04:34 + END_PACKAGES=/tmp/packages_end.txt 23:04:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:04:34 + PACKAGES=/tmp/packages_start.txt 23:04:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 23:04:34 + PACKAGES=/tmp/packages_end.txt 23:04:34 + case "${OS_FAMILY}" in 23:04:34 + rpm -qa 23:04:34 + sort 23:04:40 + '[' -f /tmp/packages_start.txt ']' 23:04:40 + '[' -f /tmp/packages_end.txt ']' 23:04:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:04:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 23:04:40 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 23:04:40 + 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 23:04:40 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:04:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:04:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:04:41 23:04:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:04:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:04:41 alpine: Pulling from edgex-lftools-log-publisher 23:04:41 df20fa9351a1: Pulling fs layer 23:04:41 36b3adc4ff6f: Pulling fs layer 23:04:41 8ad3a11d3b57: Pulling fs layer 23:04:41 46f8f816bc3b: Pulling fs layer 23:04:41 93b61091891f: Pulling fs layer 23:04:41 93b9cdb0e59b: Pulling fs layer 23:04:41 5e14af77c1be: Pulling fs layer 23:04:41 01666e4c0597: Pulling fs layer 23:04:41 aa168da1d23b: Pulling fs layer 23:04:41 93b9cdb0e59b: Waiting 23:04:41 5e14af77c1be: Waiting 23:04:41 01666e4c0597: Waiting 23:04:41 aa168da1d23b: Waiting 23:04:41 46f8f816bc3b: Waiting 23:04:41 93b61091891f: Waiting 23:04:41 36b3adc4ff6f: Verifying Checksum 23:04:41 36b3adc4ff6f: Download complete 23:04:41 46f8f816bc3b: Verifying Checksum 23:04:41 46f8f816bc3b: Download complete 23:04:41 df20fa9351a1: Download complete 23:04:41 93b61091891f: Verifying Checksum 23:04:41 93b61091891f: Download complete 23:04:41 93b9cdb0e59b: Download complete 23:04:41 5e14af77c1be: Verifying Checksum 23:04:41 5e14af77c1be: Download complete 23:04:41 01666e4c0597: Verifying Checksum 23:04:41 01666e4c0597: Download complete 23:04:41 8ad3a11d3b57: Verifying Checksum 23:04:41 8ad3a11d3b57: Download complete 23:04:42 df20fa9351a1: Pull complete 23:04:42 36b3adc4ff6f: Pull complete 23:04:44 8ad3a11d3b57: Pull complete 23:04:44 46f8f816bc3b: Pull complete 23:04:44 93b61091891f: Pull complete 23:04:45 aa168da1d23b: Verifying Checksum 23:04:45 aa168da1d23b: Download complete 23:04:45 93b9cdb0e59b: Pull complete 23:04:45 5e14af77c1be: Pull complete 23:04:45 01666e4c0597: Pull complete 23:04:52 aa168da1d23b: Pull complete 23:04:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:04:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:04:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:04:52 prd-centos7-docker-4c-2g-1879 does not seem to be running inside a container 23:04:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:04:56 $ docker top edf8d071b103863c68e07ad170702101da675ace533258b59b16ea3c7ed51afe -eo pid,comm [Pipeline] { [Pipeline] sh 23:04:57 + touch /tmp/pre-build-complete [Pipeline] sh 23:04:57 + mkdir -p /var/log/sa [Pipeline] sh 23:04:57 + ls /var/log/sa-host 23:04:57 + sadf -c /var/log/sa-host/sa23 23:04:57 file_magic: OK 23:04:57 HZ: Using current value: 100 23:04:57 file_header: OK 23:04:57 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:04:57 Statistics: 23:04:57 Hnuu...uuuununununu... 23:04:57 File successfully converted to sysstat format version 12.2.1 23:04:57 + sadf -c /var/log/sa-host/sa26 23:04:57 file_magic: OK 23:04:57 HZ: Using current value: 100 23:04:57 file_header: OK 23:04:57 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:04:57 Statistics: 23:04:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:04:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:04:58 provisioning config files... 23:04:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8540028251416955383tmp [Pipeline] { [Pipeline] echo 23:04:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:04:58 ---> create-netrc.sh [Pipeline] } 23:04:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:04:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:04:58 ---> python-tools-install.sh [Pipeline] echo 23:04:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:04:59 ---> sudo-logs.sh 23:04:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:04:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:04:59 ---> job-cost.sh 23:04:59 lf-activate-venv: SKIPPING 23:04:59 DEBUG: total: 0.20999999344348907 23:04:59 INFO: Retrieving Stack Cost... 23:05:00 INFO: Retrieving Pricing Info for: v1-standard-2 23:05:00 INFO: Archiving Costs [Pipeline] echo 23:05:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:05:01 ---> logs-deploy.sh 23:05:01 lf-activate-venv: SKIPPING 23:05:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/39 23:05:01 INFO: archiving workspace using pattern(s): 23:05:03 Archives upload complete. 23:05:03 INFO: archiving logs to Nexus