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+5b084bdeafa1e122a5c890164a05a3ac30530fc3 (4c0ed3464576432849bdd4ccddf40671ed8a16f2) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30689 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 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing a0d7157e902c7aa62e434b60c94eb03fd33917e8 Checking out Revision a0d7157e902c7aa62e434b60c94eb03fd33917e8 (PR-725) > 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 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0d7157e902c7aa62e434b60c94eb03fd33917e8 # timeout=10 Commit message: "Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 44fa666b1470b6cb4fa4ec633565dca2eafcacdd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:26 ========================================================= 02:42:26 EdgeX Global Pipelines Version Info 02:42:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:28 ------------------- 02:42:28 stable info: 02:42:28 ------------------- 02:42:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:28 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 02:42:28 Message: update stable to v1.0.186 02:42:29 ------------------- 02:42:29 experimental info: 02:42:29 ------------------- 02:42:29 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:29 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 02:42:29 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0d7157e902c7aa62e434b60c94eb03fd33917e8 [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0d7157 [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:32 provisioning config files... 02:42:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config158761747666377255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:33 ---> docker-login.sh 02:42:33 nexus3.edgexfoundry.org:10001 02:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:33 Configure a credential helper to remove this warning. See 02:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:33 02:42:33 Login Succeeded 02:42:33 nexus3.edgexfoundry.org:10002 02:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:34 Configure a credential helper to remove this warning. See 02:42:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:34 02:42:34 Login Succeeded 02:42:34 nexus3.edgexfoundry.org:10003 02:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:34 Configure a credential helper to remove this warning. See 02:42:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:34 02:42:34 Login Succeeded 02:42:34 nexus3.edgexfoundry.org:10004 02:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:34 Configure a credential helper to remove this warning. See 02:42:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:34 02:42:34 Login Succeeded 02:42:34 docker.io 02:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:34 Configure a credential helper to remove this warning. See 02:42:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:34 02:42:34 Login Succeeded 02:42:34 ---> docker-login.sh ends [Pipeline] } 02:42:34 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 02:42:35 + git log --format=format:%s -1 a0d7157e902c7aa62e434b60c94eb03fd33917e8 [Pipeline] echo 02:42:35 GIT_COMMIT: a0d7157e902c7aa62e434b60c94eb03fd33917e8, Commit Message: Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD [Pipeline] echo 02:42:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:36 02:42:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:36 latest: Pulling from edgex-devops/git-semver 02:42:36 31603596830f: Pulling fs layer 02:42:36 2a8b12db71e7: Pulling fs layer 02:42:36 6ca5941a6612: Pulling fs layer 02:42:36 ecc8261a40a4: Pulling fs layer 02:42:36 ecc8261a40a4: Waiting 02:42:36 2a8b12db71e7: Verifying Checksum 02:42:36 2a8b12db71e7: Download complete 02:42:36 31603596830f: Verifying Checksum 02:42:36 31603596830f: Download complete 02:42:36 ecc8261a40a4: Verifying Checksum 02:42:36 ecc8261a40a4: Download complete 02:42:36 6ca5941a6612: Verifying Checksum 02:42:36 6ca5941a6612: Download complete 02:42:37 31603596830f: Pull complete 02:42:37 2a8b12db71e7: Pull complete 02:42:37 6ca5941a6612: Pull complete 02:42:38 ecc8261a40a4: Pull complete 02:42:38 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:38 prd-centos7-docker-4c-2g-30689 does not seem to be running inside a container 02:42:38 $ 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 02:42:40 $ docker top f024519268524d2a05dd52502c2c4e4f22a8b7a6c688b042000e7e8934b81221 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:41 [ssh-agent] Looking for ssh-agent implementation... 02:42:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:41 $ docker exec f024519268524d2a05dd52502c2c4e4f22a8b7a6c688b042000e7e8934b81221 ssh-agent 02:42:41 SSH_AUTH_SOCK=/tmp/ssh-ZDzO4Q1pvcXu/agent.12 02:42:41 SSH_AGENT_PID=18 02:42:41 Running ssh-add (command line suppressed) 02:42:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_779237787022267562.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_779237787022267562.key) 02:42:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:41 + git tag --points-at HEAD [Pipeline] } 02:42:42 $ docker exec --env ******** --env ******** f024519268524d2a05dd52502c2c4e4f22a8b7a6c688b042000e7e8934b81221 ssh-agent -k 02:42:42 unset SSH_AUTH_SOCK; 02:42:42 unset SSH_AGENT_PID; 02:42:42 echo Agent pid 18 killed; 02:42:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:42 [ssh-agent] Looking for ssh-agent implementation... 02:42:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:42 $ docker exec f024519268524d2a05dd52502c2c4e4f22a8b7a6c688b042000e7e8934b81221 ssh-agent 02:42:42 SSH_AUTH_SOCK=/tmp/ssh-GzYPY9fUtkLt/agent.46 02:42:42 SSH_AGENT_PID=52 02:42:42 Running ssh-add (command line suppressed) 02:42:42 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3303948619431988995.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3303948619431988995.key) 02:42:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:43 + git semver init 02:42:43 # -> Open(): unable to determine branch for HEAD 02:42:43 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 02:42:43 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:42:43 # $SEMVER_REMOTE_NAME = origin 02:42:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:43 # $SEMVER_USER_NAME = edgex-jenkins 02:42:43 # $SEMVER_BRANCH = PR-725 02:42:43 # $SEMVER_TEMP = /tmp/semver-429446059 02:42:43 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:44 # '/tmp/semver-429446059' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 02:42:44 # -> Force: false 02:42:44 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 02:42:44 $ docker exec --env ******** --env ******** f024519268524d2a05dd52502c2c4e4f22a8b7a6c688b042000e7e8934b81221 ssh-agent -k 02:42:44 unset SSH_AUTH_SOCK; 02:42:44 unset SSH_AGENT_PID; 02:42:44 echo Agent pid 52 killed; 02:42:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:44 + git semver [Pipeline] } 02:42:44 $ docker stop --time=1 f024519268524d2a05dd52502c2c4e4f22a8b7a6c688b042000e7e8934b81221 02:42:46 $ docker rm -f f024519268524d2a05dd52502c2c4e4f22a8b7a6c688b042000e7e8934b81221 [Pipeline] // withDockerContainer [Pipeline] sh 02:42:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:47 Stashed 1 file(s) [Pipeline] echo 02:42:47 [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 02:43:02 Still waiting to schedule task 02:43:02 ‘prd-centos7-docker-4c-2g-30683’ is offline; ‘prd-centos7-docker-4c-2g-30687’ is offline; ‘prd-centos7-docker-4c-2g-30690’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30485’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30654’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30686’ doesn’t have label ‘centos7-docker-4c-2g’ 02:43:02 Still waiting to schedule task 02:43:02 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:44:09 Running on prd-centos7-docker-4c-2g-30693 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:44:09 Running in /w/workspace/device-sdk-go/23 [Pipeline] { [Pipeline] checkout 02:44:11 using credential edgex-jenkins-ssh 02:44:11 Cloning the remote Git repository 02:44:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:11 > git init /w/workspace/device-sdk-go/23 # timeout=10 02:44:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:11 > git --version # timeout=10 02:44:11 > git --version # 'git version 2.24.3' 02:44:11 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:13 Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:44:13 Merge succeeded, producing 246057fd106b311c10f185c77abcb12b1cf08077 02:44:13 Checking out Revision 246057fd106b311c10f185c77abcb12b1cf08077 (PR-725) 02:44:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:12 > 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 02:44:13 > git config core.sparsecheckout # timeout=10 02:44:13 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:44:13 > git remote # timeout=10 02:44:13 > git config --get remote.origin.url # timeout=10 02:44:13 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:13 > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 02:44:13 > git rev-parse HEAD^{commit} # timeout=10 02:44:13 > git config core.sparsecheckout # timeout=10 02:44:13 > git checkout -f 246057fd106b311c10f185c77abcb12b1cf08077 # timeout=10 02:44:17 Commit message: "Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD" 02:44:17 First time build. Skipping changelog. 02:44:17 > git rev-list --no-walk 44fa666b1470b6cb4fa4ec633565dca2eafcacdd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:18 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:44:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:19 + sudo service docker restart 02:44:19 + true 02:44:19 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:20 provisioning config files... 02:44:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/23@tmp/config6158115867478122533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:21 ---> docker-login.sh 02:44:21 nexus3.edgexfoundry.org:10001 02:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:21 Configure a credential helper to remove this warning. See 02:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:21 02:44:21 Login Succeeded 02:44:21 nexus3.edgexfoundry.org:10002 02:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:21 Configure a credential helper to remove this warning. See 02:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:21 02:44:21 Login Succeeded 02:44:21 nexus3.edgexfoundry.org:10003 02:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:21 Configure a credential helper to remove this warning. See 02:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:21 02:44:21 Login Succeeded 02:44:21 nexus3.edgexfoundry.org:10004 02:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:22 Configure a credential helper to remove this warning. See 02:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:22 02:44:22 Login Succeeded 02:44:22 docker.io 02:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:22 Configure a credential helper to remove this warning. See 02:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:22 02:44:22 Login Succeeded 02:44:22 ---> docker-login.sh ends [Pipeline] } 02:44:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:23 ========================================================= 02:44:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:23 + 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 . 02:44:23 Sending build context to Docker daemon 2.294MB 02:44:23 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:23 Step 2/8 : FROM ${BASE} 02:44:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:23 188c0c94c7c5: Pulling fs layer 02:44:23 0ef7d3d256c8: Pulling fs layer 02:44:23 de9db76c5a1d: Pulling fs layer 02:44:23 bca2f99d35d6: Pulling fs layer 02:44:23 93359f2a8cfa: Pulling fs layer 02:44:23 7c6f9722023f: Pulling fs layer 02:44:23 a35cf1a2eb13: Pulling fs layer 02:44:23 93359f2a8cfa: Waiting 02:44:23 7c6f9722023f: Waiting 02:44:23 a35cf1a2eb13: Waiting 02:44:23 bca2f99d35d6: Waiting 02:44:23 de9db76c5a1d: Verifying Checksum 02:44:23 de9db76c5a1d: Download complete 02:44:24 93359f2a8cfa: Verifying Checksum 02:44:24 93359f2a8cfa: Download complete 02:44:24 7c6f9722023f: Verifying Checksum 02:44:24 7c6f9722023f: Download complete 02:44:24 188c0c94c7c5: Verifying Checksum 02:44:24 188c0c94c7c5: Download complete 02:44:24 188c0c94c7c5: Pull complete 02:44:24 0ef7d3d256c8: Pull complete 02:44:25 de9db76c5a1d: Pull complete 02:44:26 a35cf1a2eb13: Verifying Checksum 02:44:26 a35cf1a2eb13: Download complete 02:44:27 bca2f99d35d6: Download complete 02:44:34 bca2f99d35d6: Pull complete 02:44:34 93359f2a8cfa: Pull complete 02:44:34 7c6f9722023f: Pull complete 02:44:41 a35cf1a2eb13: Pull complete 02:44:41 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:41 ---> a62c8e92a672 02:44:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:41 ---> Running in b294665471f3 02:44:41 Removing intermediate container b294665471f3 02:44:41 ---> f7a59d0eb242 02:44:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:41 ---> Running in 94dd1628c778 02:44:42 Removing intermediate container 94dd1628c778 02:44:42 ---> 1d560decf7d1 02:44:42 Step 5/8 : RUN apk add --update --no-cache make git 02:44:42 ---> Running in 181b3a17f98b 02:44:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:44 OK: 166 MiB in 39 packages 02:44:44 Removing intermediate container 181b3a17f98b 02:44:44 ---> ec1b9029a7ce 02:44:44 Step 6/8 : WORKDIR /device-sdk-go 02:44:44 ---> Running in b52be9434622 02:44:44 Removing intermediate container b52be9434622 02:44:44 ---> 2232ec2952a5 02:44:44 Step 7/8 : COPY . . 02:44:46 ---> 98a3e637e22c 02:44:46 Step 8/8 : RUN go mod download 02:44:46 ---> Running in 55772584ce56 02:45:08 Removing intermediate container 55772584ce56 02:45:08 ---> 1c72b3315afa 02:45:08 Successfully built 1c72b3315afa 02:45:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:08 + docker inspect -f . ci-base-image-x86_64 02:45:08 . [Pipeline] withDockerContainer 02:45:08 prd-centos7-docker-4c-2g-30693 does not seem to be running inside a container 02:45:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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 02:45:09 $ docker top fc08f9078b1363149f1761b10b3aaa99460633dff17aa8964cab2077246033f7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:10 + go version 02:45:10 go version go1.15.5 linux/amd64 [Pipeline] } 02:45:10 $ docker stop --time=1 fc08f9078b1363149f1761b10b3aaa99460633dff17aa8964cab2077246033f7 02:45:11 $ docker rm -f fc08f9078b1363149f1761b10b3aaa99460633dff17aa8964cab2077246033f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:12 + docker inspect -f . ci-base-image-x86_64 02:45:12 . [Pipeline] withDockerContainer 02:45:12 prd-centos7-docker-4c-2g-30693 does not seem to be running inside a container 02:45:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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 02:45:13 $ docker top faf592db27ff3857df5d6f35a4d40a4d1cdb2a7a7466a154f88e140d00e3d48a -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:13 + make test 02:45:13 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:22 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:45:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:45:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:45:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 02:45:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:45:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.0% of statements 02:45:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 81.2% of statements 02:45:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30694 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:45:48 Running in /w/workspace/device-sdk-go/23 [Pipeline] { [Pipeline] checkout 02:45:53 using credential edgex-jenkins-ssh 02:45:53 Cloning the remote Git repository 02:45:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:53 > git init /w/workspace/device-sdk-go/23 # timeout=10 02:45:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:53 > git --version # timeout=10 02:45:53 > git --version # 'git version 2.17.1' 02:45:53 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:55 Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:45:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:55 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:55 > 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 02:45:55 > git config core.sparsecheckout # timeout=10 02:45:55 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:45:56 Merge succeeded, producing c88c33eab95d91a1d0ed8e605e70c0c3f9881fea 02:45:56 Checking out Revision c88c33eab95d91a1d0ed8e605e70c0c3f9881fea (PR-725) 02:45:55 > git remote # timeout=10 02:45:55 > git config --get remote.origin.url # timeout=10 02:45:56 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:56 > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 02:45:56 > git rev-parse HEAD^{commit} # timeout=10 02:45:56 > git config core.sparsecheckout # timeout=10 02:45:56 > git checkout -f c88c33eab95d91a1d0ed8e605e70c0c3f9881fea # timeout=10 02:46:00 Commit message: "Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD" 02:46:00 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:00 > git rev-list --no-walk 44fa666b1470b6cb4fa4ec633565dca2eafcacdd # timeout=10 02:46:02 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:46:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:03 + true 02:46:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:05 provisioning config files... 02:46:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/23@tmp/config1119404253554085921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:06 ---> docker-login.sh 02:46:06 nexus3.edgexfoundry.org:10001 02:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:07 Configure a credential helper to remove this warning. See 02:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:07 02:46:07 Login Succeeded 02:46:07 nexus3.edgexfoundry.org:10002 02:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:08 Configure a credential helper to remove this warning. See 02:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:08 02:46:08 Login Succeeded 02:46:08 nexus3.edgexfoundry.org:10003 02:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:08 Configure a credential helper to remove this warning. See 02:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:08 02:46:08 Login Succeeded 02:46:08 nexus3.edgexfoundry.org:10004 02:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:09 Configure a credential helper to remove this warning. See 02:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:09 02:46:09 Login Succeeded 02:46:09 docker.io 02:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:09 Configure a credential helper to remove this warning. See 02:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:09 02:46:09 Login Succeeded 02:46:09 ---> docker-login.sh ends [Pipeline] } 02:46:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:10 ========================================================= 02:46:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:10 + 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 . 02:46:11 Sending build context to Docker daemon 2.293MB 02:46:11 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:11 Step 2/8 : FROM ${BASE} 02:46:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:11 5f621e34cdf4: Pulling fs layer 02:46:11 a4357932f1b6: Pulling fs layer 02:46:11 18c013af1878: Pulling fs layer 02:46:11 00ac8860ef70: Pulling fs layer 02:46:11 63d7cb157983: Pulling fs layer 02:46:11 b116817d02f9: Pulling fs layer 02:46:11 745a02a5169b: Pulling fs layer 02:46:11 63d7cb157983: Waiting 02:46:11 b116817d02f9: Waiting 02:46:11 00ac8860ef70: Waiting 02:46:11 745a02a5169b: Waiting 02:46:11 18c013af1878: Verifying Checksum 02:46:11 18c013af1878: Download complete 02:46:11 a4357932f1b6: Verifying Checksum 02:46:11 a4357932f1b6: Download complete 02:46:11 63d7cb157983: Verifying Checksum 02:46:11 63d7cb157983: Download complete 02:46:11 b116817d02f9: Download complete 02:46:11 5f621e34cdf4: Verifying Checksum 02:46:11 5f621e34cdf4: Download complete 02:46:12 5f621e34cdf4: Pull complete 02:46:12 a4357932f1b6: Pull complete 02:46:13 18c013af1878: Pull complete 02:46:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.058s coverage: 10.5% of statements 02:46:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 02:46:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:46:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.082s coverage: 32.5% of statements 02:46:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:46:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:46:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:46:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.088s coverage: 57.3% of statements 02:46:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.210s coverage: 6.6% of statements 02:46:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.065s coverage: 5.1% of statements 02:46:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:46:14 GO111MODULE=on go vet ./... 02:46:15 745a02a5169b: Verifying Checksum 02:46:15 745a02a5169b: Download complete 02:46:15 00ac8860ef70: Verifying Checksum 02:46:15 00ac8860ef70: Download complete 02:46:21 gofmt -l . 02:46:21 [ "`gofmt -l .`" = "" ] 02:46:21 ./bin/test-attribution-txt.sh 02:46:22 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:22 $ docker stop --time=1 faf592db27ff3857df5d6f35a4d40a4d1cdb2a7a7466a154f88e140d00e3d48a 02:46:24 $ docker rm -f faf592db27ff3857df5d6f35a4d40a4d1cdb2a7a7466a154f88e140d00e3d48a [Pipeline] // withDockerContainer [Pipeline] sh 02:46:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:46:25 00ac8860ef70: Pull complete 02:46:25 63d7cb157983: Pull complete 02:46:25 b116817d02f9: Pull complete [Pipeline] sh 02:46:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:26 + ls -al . 02:46:26 total 184 02:46:26 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 20 02:46 . 02:46:26 drwxrwxr-x. 4 jenkins jenkins 30 Mar 20 02:44 .. 02:46:26 drwxrwxr-x. 2 jenkins jenkins 64 Mar 20 02:44 bin 02:46:26 -rw-r--r--. 1 jenkins jenkins 99588 Mar 20 02:46 coverage.out 02:46:26 -rw-rw-r--. 1 jenkins jenkins 949 Mar 20 02:44 Dockerfile.build 02:46:26 -rw-rw-r--. 1 jenkins jenkins 140 Mar 20 02:44 .dockerignore 02:46:26 drwxrwxr-x. 4 jenkins jenkins 48 Mar 20 02:44 example 02:46:26 drwxrwxr-x. 8 jenkins jenkins 179 Mar 20 02:44 .git 02:46:26 drwxrwxr-x. 2 jenkins jenkins 103 Mar 20 02:44 .github 02:46:26 -rw-rw-r--. 1 jenkins jenkins 138 Mar 20 02:44 .gitignore 02:46:26 -rw-r--r--. 1 jenkins jenkins 479 Mar 20 02:46 go.mod 02:46:26 -rw-r--r--. 1 jenkins jenkins 17490 Mar 20 02:46 go.sum 02:46:26 drwxrwxr-x. 13 jenkins jenkins 193 Mar 20 02:44 internal 02:46:26 -rw-rw-r--. 1 jenkins jenkins 894 Mar 20 02:44 Jenkinsfile 02:46:26 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 20 02:44 LICENSE 02:46:26 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 20 02:44 Makefile 02:46:26 drwxrwxr-x. 4 jenkins jenkins 26 Mar 20 02:44 openapi 02:46:26 drwxrwxr-x. 5 jenkins jenkins 50 Mar 20 02:44 pkg 02:46:26 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 20 02:44 README.md 02:46:26 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 20 02:44 RELEASE-NOTES.txt 02:46:26 drwxrwxr-x. 4 jenkins jenkins 54 Mar 20 02:44 snap 02:46:26 -rw-rw-r--. 1 jenkins jenkins 5 Mar 20 02:42 VERSION 02:46:26 -rw-rw-r--. 1 jenkins jenkins 222 Mar 20 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:26 + 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=a0d7157e902c7aa62e434b60c94eb03fd33917e8 --label arch=amd64 --label version=0.0.0 . 02:46:27 Sending build context to Docker daemon 2.394MB 02:46:27 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:46:27 Step 2/24 : FROM ${BASE} AS builder 02:46:27 ---> 1c72b3315afa 02:46:27 Step 3/24 : ARG MAKE='make build' 02:46:27 ---> Running in 7630eee9c7ae 02:46:27 Removing intermediate container 7630eee9c7ae 02:46:27 ---> 26e6b3dac59e 02:46:27 Step 4/24 : WORKDIR /device-sdk-go 02:46:27 ---> Running in c0624ff7cfc2 02:46:28 Removing intermediate container c0624ff7cfc2 02:46:28 ---> 47429a681b85 02:46:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:28 ---> Running in e00cdec76e7d 02:46:28 Removing intermediate container e00cdec76e7d 02:46:28 ---> ae9cb8bc7110 02:46:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:28 ---> Running in 865911a1b9a5 02:46:29 Removing intermediate container 865911a1b9a5 02:46:29 ---> 115f0a51fa6d 02:46:29 Step 7/24 : RUN apk add --update --no-cache make git 02:46:29 ---> Running in 50cf96aad17a 02:46:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:30 745a02a5169b: Pull complete 02:46:30 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:30 ---> b7e6874047d6 02:46:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:32 OK: 166 MiB in 39 packages 02:46:33 ---> Running in f6bedadde106 02:46:33 Removing intermediate container f6bedadde106 02:46:33 ---> 1180af50dd7a 02:46:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:33 Removing intermediate container 50cf96aad17a 02:46:33 ---> 9a526f80aaa2 02:46:33 Step 8/24 : COPY . . 02:46:33 ---> Running in 455eb5eea35d 02:46:34 ---> b80abf22687c 02:46:34 Step 9/24 : RUN ${MAKE} 02:46:34 ---> Running in c6cda620657b 02:46:35 CGO_ENABLED=0 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 02:46:35 Removing intermediate container 455eb5eea35d 02:46:35 ---> 0849c7f882ce 02:46:35 Step 5/8 : RUN apk add --update --no-cache make git 02:46:36 ---> Running in 67d41dec2d35 02:46:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:39 OK: 142 MiB in 39 packages 02:46:40 Removing intermediate container 67d41dec2d35 02:46:40 ---> 26875fcbeabe 02:46:40 Step 6/8 : WORKDIR /device-sdk-go 02:46:40 ---> Running in 0eacb17480d2 02:46:41 Removing intermediate container 0eacb17480d2 02:46:41 ---> 6884c78cb74b 02:46:41 Step 7/8 : COPY . . 02:46:42 ---> 8ee2fe7d7b5e 02:46:42 Step 8/8 : RUN go mod download 02:46:42 ---> Running in d1c2efea5131 02:46:45 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:46 Removing intermediate container c6cda620657b 02:46:46 ---> 79d3d8b1f011 02:46:46 Step 10/24 : FROM scratch 02:46:46 ---> 02:46:46 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:46 ---> Running in 994bcc2eaf70 02:46:46 Removing intermediate container 994bcc2eaf70 02:46:46 ---> 9d53daee625b 02:46:46 Step 12/24 : ENV APP_PORT=49990 02:46:46 ---> Running in 146fab9e6f19 02:46:46 Removing intermediate container 146fab9e6f19 02:46:46 ---> 75dc7bc6f0cb 02:46:46 Step 13/24 : EXPOSE $APP_PORT 02:46:46 ---> Running in 79f17c11957b 02:46:46 Removing intermediate container 79f17c11957b 02:46:46 ---> ba2628170343 02:46:46 Step 14/24 : WORKDIR / 02:46:46 ---> Running in 4aa25d89ec0d 02:46:47 Removing intermediate container 4aa25d89ec0d 02:46:47 ---> 47d9899470a1 02:46:47 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:47 ---> 8f2415b58550 02:46:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:47 ---> d08e347859a7 02:46:47 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:47 ---> 532e2147c25e 02:46:47 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:48 ---> 9affd732b110 02:46:48 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:48 ---> 4f5308fec42b 02:46:48 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:48 ---> Running in 67c0dd45b29a 02:46:48 Removing intermediate container 67c0dd45b29a 02:46:48 ---> 0728c3537f48 02:46:48 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:48 ---> Running in 63e21a42709e 02:46:48 Removing intermediate container 63e21a42709e 02:46:48 ---> 798cb2b12ef7 02:46:48 Step 22/24 : LABEL arch=amd64 02:46:48 ---> Running in b9cfd0d10d9c 02:46:48 Removing intermediate container b9cfd0d10d9c 02:46:48 ---> a4b5dcb4d200 02:46:48 Step 23/24 : LABEL git_sha=a0d7157e902c7aa62e434b60c94eb03fd33917e8 02:46:49 ---> Running in 483054d276e8 02:46:49 Removing intermediate container 483054d276e8 02:46:49 ---> 9a30103a8498 02:46:49 Step 24/24 : LABEL version=0.0.0 02:46:49 ---> Running in d12121566620 02:46:49 Removing intermediate container d12121566620 02:46:49 ---> 85c2515a04f6 02:46:49 [Warning] One or more build-args [ARCH] were not consumed 02:46:49 Successfully built 85c2515a04f6 02:46:49 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 02:46:50 ---> job-cost.sh 02:46:50 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MgcE 02:47:05 Removing intermediate container d1c2efea5131 02:47:05 ---> 0ba863799e14 02:47:05 Successfully built 0ba863799e14 02:47:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:05 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:47:05 + docker inspect -f . ci-base-image-arm64 02:47:05 . [Pipeline] withDockerContainer 02:47:05 prd-ubuntu18.04-docker-arm64-4c-16g-30694 does not seem to be running inside a container 02:47:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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 02:47:07 $ docker top b7a80b6d317644d702f8be5080f55abe33c78dc281237d49bf5a234bd2bb329a -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:08 + go version 02:47:08 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:08 $ docker stop --time=1 b7a80b6d317644d702f8be5080f55abe33c78dc281237d49bf5a234bd2bb329a 02:47:10 $ docker rm -f b7a80b6d317644d702f8be5080f55abe33c78dc281237d49bf5a234bd2bb329a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:11 + docker inspect -f . ci-base-image-arm64 02:47:11 . [Pipeline] withDockerContainer 02:47:11 prd-ubuntu18.04-docker-arm64-4c-16g-30694 does not seem to be running inside a container 02:47:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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 02:47:12 $ docker top 8232a132081f1bff59fe27ca919d8517c9830234f61ee34bfda78bb6172c2f90 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:13 + make test 02:47:13 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:36 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:47:37 lf-activate-venv(): INFO: Adding /tmp/venv-MgcE/bin to PATH 02:47:37 INFO: No Stack... 02:47:37 INFO: Retrieving Pricing Info for: v1-standard-2 02:47:37 INFO: Archiving Costs [Pipeline] sh 02:47:37 + cat /w/workspace/device-sdk-go/23/archives/cost.csv 02:47:37 + cut -d, -f6 [Pipeline] lock 02:47:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-23-stack-cost] 02:47:37 Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-23-stack-cost] did not exist. Created. 02:47:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:47:38 + echo total: 0.029999999329447746 [Pipeline] stash 02:47:38 Stashed 1 file(s) [Pipeline] } 02:47:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-23-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:48:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:48:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:48:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 02:48:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:48:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.115s coverage: 27.0% of statements 02:48:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.159s coverage: 81.2% of statements 02:48:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.131s coverage: 10.5% of statements 02:48:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 02:48:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:48:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.205s coverage: 32.5% of statements 02:48:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:48:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:48:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:48:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.251s coverage: 57.3% of statements 02:48:56 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.890s coverage: 6.6% of statements 02:48:56 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 5.1% of statements 02:48:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:48:56 GO111MODULE=on go vet ./... 02:49:28 gofmt -l . 02:49:28 [ "`gofmt -l .`" = "" ] 02:49:28 ./bin/test-attribution-txt.sh 02:49:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:29 $ docker stop --time=1 8232a132081f1bff59fe27ca919d8517c9830234f61ee34bfda78bb6172c2f90 02:49:32 $ docker rm -f 8232a132081f1bff59fe27ca919d8517c9830234f61ee34bfda78bb6172c2f90 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:33 Warning: overwriting stash ‘coverage-report’ 02:49:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:35 + ls -al . 02:49:35 total 220 02:49:35 drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 02:49 . 02:49:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:45 .. 02:49:35 -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 02:45 .dockerignore 02:49:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 02:46 .git 02:49:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 02:45 .github 02:49:35 -rw-rw-r-- 1 jenkins jenkins 138 Mar 20 02:45 .gitignore 02:49:35 -rw-rw-r-- 1 jenkins jenkins 949 Mar 20 02:45 Dockerfile.build 02:49:35 -rw-rw-r-- 1 jenkins jenkins 894 Mar 20 02:45 Jenkinsfile 02:49:35 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 20 02:45 LICENSE 02:49:35 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 20 02:45 Makefile 02:49:35 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 20 02:45 README.md 02:49:35 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 20 02:45 RELEASE-NOTES.txt 02:49:35 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 02:42 VERSION 02:49:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 02:45 bin 02:49:35 -rw-r--r-- 1 jenkins jenkins 99587 Mar 20 02:48 coverage.out 02:49:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:45 example 02:49:35 -rw-r--r-- 1 jenkins jenkins 479 Mar 20 02:49 go.mod 02:49:35 -rw-r--r-- 1 jenkins jenkins 17490 Mar 20 02:49 go.sum 02:49:35 drwxrwxr-x 13 jenkins jenkins 4096 Mar 20 02:45 internal 02:49:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:45 openapi 02:49:35 drwxrwxr-x 5 jenkins jenkins 4096 Mar 20 02:45 pkg 02:49:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:45 snap 02:49:35 -rw-rw-r-- 1 jenkins jenkins 222 Mar 20 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:35 + 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=a0d7157e902c7aa62e434b60c94eb03fd33917e8 --label arch=arm64 --label version=0.0.0 . 02:49:35 Sending build context to Docker daemon 2.393MB 02:49:36 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:49:36 Step 2/24 : FROM ${BASE} AS builder 02:49:36 ---> 0ba863799e14 02:49:36 Step 3/24 : ARG MAKE='make build' 02:49:36 ---> Running in 2459f96b5c8e 02:49:36 Removing intermediate container 2459f96b5c8e 02:49:36 ---> 73116c9da91f 02:49:36 Step 4/24 : WORKDIR /device-sdk-go 02:49:36 ---> Running in ef318f37418c 02:49:37 Removing intermediate container ef318f37418c 02:49:37 ---> b5702baf5cc9 02:49:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:37 ---> Running in 760ea7ce8d41 02:49:38 Removing intermediate container 760ea7ce8d41 02:49:38 ---> 3a6c368c453c 02:49:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:38 ---> Running in 6cdfdb3f91ce 02:49:40 Removing intermediate container 6cdfdb3f91ce 02:49:40 ---> da3c76301c69 02:49:40 Step 7/24 : RUN apk add --update --no-cache make git 02:49:40 ---> Running in 1963580be931 02:49:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:43 OK: 142 MiB in 39 packages 02:49:44 Removing intermediate container 1963580be931 02:49:44 ---> af6a41f75abf 02:49:44 Step 8/24 : COPY . . 02:49:46 ---> db1c92e8feb3 02:49:46 Step 9/24 : RUN ${MAKE} 02:49:46 ---> Running in 22ec7fd9f520 02:49:47 CGO_ENABLED=0 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 02:50:14 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:15 Removing intermediate container 22ec7fd9f520 02:50:15 ---> 1609a46fc5bf 02:50:15 Step 10/24 : FROM scratch 02:50:15 ---> 02:50:15 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:15 ---> Running in e1a72e5bdd34 02:50:16 Removing intermediate container e1a72e5bdd34 02:50:16 ---> 479517ddc6d0 02:50:16 Step 12/24 : ENV APP_PORT=49990 02:50:16 ---> Running in 1ca88290d0e2 02:50:16 Removing intermediate container 1ca88290d0e2 02:50:16 ---> 41b75941d55c 02:50:16 Step 13/24 : EXPOSE $APP_PORT 02:50:17 ---> Running in 8a51e8c22893 02:50:17 Removing intermediate container 8a51e8c22893 02:50:17 ---> 2c81d0e853c9 02:50:17 Step 14/24 : WORKDIR / 02:50:17 ---> Running in 665454e35b96 02:50:18 Removing intermediate container 665454e35b96 02:50:18 ---> 745957c0ea90 02:50:18 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:19 ---> 37380153ce88 02:50:19 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:19 ---> cc34a288844f 02:50:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:20 ---> 1639ca8ae9d7 02:50:20 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:21 ---> bfa36e8ae5a2 02:50:21 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:22 ---> 64ec4029da0e 02:50:22 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:22 ---> Running in 2b1a267d1ff6 02:50:22 Removing intermediate container 2b1a267d1ff6 02:50:22 ---> c7b0b796ce0e 02:50:22 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:22 ---> Running in 6fe9bf97d6b2 02:50:23 Removing intermediate container 6fe9bf97d6b2 02:50:23 ---> 23c7f5cfeb9a 02:50:23 Step 22/24 : LABEL arch=arm64 02:50:23 ---> Running in ea852e25e460 02:50:24 Removing intermediate container ea852e25e460 02:50:24 ---> be500f0f5aa0 02:50:24 Step 23/24 : LABEL git_sha=a0d7157e902c7aa62e434b60c94eb03fd33917e8 02:50:24 ---> Running in 8629fd17bca0 02:50:24 Removing intermediate container 8629fd17bca0 02:50:24 ---> 07f114bb1822 02:50:24 Step 24/24 : LABEL version=0.0.0 02:50:24 ---> Running in 36bc36020416 02:50:25 Removing intermediate container 36bc36020416 02:50:25 ---> c91072128755 02:50:25 [Warning] One or more build-args [ARCH] were not consumed 02:50:25 Successfully built c91072128755 02:50:25 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 02:50:26 ---> job-cost.sh 02:50:26 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zksX 02:51:13 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:52:49 lf-activate-venv(): INFO: Adding /tmp/venv-zksX/bin to PATH 02:52:49 INFO: No Stack... 02:52:49 INFO: Retrieving Pricing Info for: lf-standard-4 02:52:49 INFO: Archiving Costs [Pipeline] sh 02:52:50 + + cat /w/workspace/device-sdk-go/23/archives/cost.csv 02:52:50 cut -d, -f6 [Pipeline] lock 02:52:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-23-stack-cost] 02:52:50 Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-23-stack-cost] did not exist. Created. 02:52:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:52:50 /w/workspace/device-sdk-go/23@tmp/durable-a53b25ea/script.sh: 1: /w/workspace/device-sdk-go/23@tmp/durable-a53b25ea/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:52:51 + echo total: 0.20999999344348907 [Pipeline] stash 02:52:51 Warning: overwriting stash ‘stack-cost’ 02:52:51 Stashed 1 file(s) [Pipeline] } 02:52:51 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-23-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 02:52:52 provisioning config files... 02:52:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8195105953308929735tmp [Pipeline] { [Pipeline] sh 02:52:52 + set +x 02:52:52 + bash -s -- 02:52:52 + curl -s https://codecov.io/bash 02:52:53 02:52:53 _____ _ 02:52:53 / ____| | | 02:52:53 | | ___ __| | ___ ___ _____ __ 02:52:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:52:53 | |___| (_) | (_| | __/ (_| (_) \ V / 02:52:53 \_____\___/ \__,_|\___|\___\___/ \_/ 02:52:53 Bash-20210309-2b87ace 02:52:53 02:52:53 02:52:53 ==> git version 2.24.3 found 02:52:53 ==> 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 02:52:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:52:53 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:52:53 ==> Jenkins CI detected. 02:52:53 project root: . 02:52:53 --> token set from env 02:52:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:52:53 ==> Running gcov in . (disable via -X gcov) 02:52:53 ==> Python coveragepy not found 02:52:53 ==> Searching for coverage reports in: 02:52:53 + . 02:52:53 -> Found 1 reports 02:52:53 ==> Detecting git/mercurial file structure 02:52:53 ==> Reading reports 02:52:53 + ./coverage.out bytes=99587 02:52:53 ==> Appending adjustments 02:52:53 https://docs.codecov.io/docs/fixing-reports 02:52:53 + Found adjustments 02:52:53 ==> Gzipping contents 02:52:53 16K /tmp/codecov.Rz46aW.gz 02:52:53 ==> Uploading reports 02:52:53 url: https://codecov.io 02:52:53 query: branch=PR-725&commit=a0d7157e902c7aa62e434b60c94eb03fd33917e8&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:52:53 -> Pinging Codecov 02:52:53 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-725&commit=a0d7157e902c7aa62e434b60c94eb03fd33917e8&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:52:54 -> Uploading to 02:52:54 https://storage.googleapis.com/codecov/v4/raw/2021-03-20/7E55EF52A471D76F132DFD9A03CDDE97/a0d7157e902c7aa62e434b60c94eb03fd33917e8/46e2db6e-f5f0-44f4-a246-48fd23aafe73.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210320T025253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7683a240650a4c341e1e47c3aec56ac227702579596c83ba54459d873c65cedd 02:52:54 % Total % Received % Xferd Average Speed Time Time Time Current 02:52:54 Dload Upload Total Spent Left Speed 02:52:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13445 0 0 100 13445 0 29488 --:--:-- --:--:-- --:--:-- 29549 02:52:54 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a0d7157e902c7aa62e434b60c94eb03fd33917e8 [Pipeline] } 02:52:54 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 02:52:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:52:57 ---> package-listing.sh 02:52:57 ++ facter osfamily 02:52:57 ++ tr '[:upper:]' '[:lower:]' 02:52:57 + OS_FAMILY=redhat 02:52:57 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 02:52:57 + START_PACKAGES=/tmp/packages_start.txt 02:52:57 + END_PACKAGES=/tmp/packages_end.txt 02:52:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:52:57 + PACKAGES=/tmp/packages_start.txt 02:52:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:52:57 + PACKAGES=/tmp/packages_end.txt 02:52:57 + case "${OS_FAMILY}" in 02:52:57 + rpm -qa 02:52:57 + sort 02:53:02 + '[' -f /tmp/packages_start.txt ']' 02:53:02 + '[' -f /tmp/packages_end.txt ']' 02:53:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:53:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:53:02 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 02:53:02 + 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 02:53:02 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 02:53:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:53:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:53:03 02:53:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:53:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:53:03 alpine: Pulling from edgex-lftools-log-publisher 02:53:03 df20fa9351a1: Pulling fs layer 02:53:03 36b3adc4ff6f: Pulling fs layer 02:53:03 8ad3a11d3b57: Pulling fs layer 02:53:03 46f8f816bc3b: Pulling fs layer 02:53:03 93b61091891f: Pulling fs layer 02:53:03 93b9cdb0e59b: Pulling fs layer 02:53:03 5e14af77c1be: Pulling fs layer 02:53:03 01666e4c0597: Pulling fs layer 02:53:03 aa168da1d23b: Pulling fs layer 02:53:03 46f8f816bc3b: Waiting 02:53:03 93b61091891f: Waiting 02:53:03 93b9cdb0e59b: Waiting 02:53:03 5e14af77c1be: Waiting 02:53:03 01666e4c0597: Waiting 02:53:03 aa168da1d23b: Waiting 02:53:03 36b3adc4ff6f: Verifying Checksum 02:53:03 36b3adc4ff6f: Download complete 02:53:03 46f8f816bc3b: Verifying Checksum 02:53:03 46f8f816bc3b: Download complete 02:53:03 df20fa9351a1: Verifying Checksum 02:53:03 93b9cdb0e59b: Verifying Checksum 02:53:03 93b9cdb0e59b: Download complete 02:53:03 5e14af77c1be: Verifying Checksum 02:53:03 5e14af77c1be: Download complete 02:53:03 01666e4c0597: Verifying Checksum 02:53:03 01666e4c0597: Download complete 02:53:03 93b61091891f: Download complete 02:53:04 df20fa9351a1: Pull complete 02:53:04 36b3adc4ff6f: Pull complete 02:53:04 8ad3a11d3b57: Verifying Checksum 02:53:04 8ad3a11d3b57: Download complete 02:53:05 8ad3a11d3b57: Pull complete 02:53:05 46f8f816bc3b: Pull complete 02:53:06 93b61091891f: Pull complete 02:53:06 aa168da1d23b: Verifying Checksum 02:53:06 aa168da1d23b: Download complete 02:53:06 93b9cdb0e59b: Pull complete 02:53:06 5e14af77c1be: Pull complete 02:53:06 01666e4c0597: Pull complete 02:53:14 aa168da1d23b: Pull complete 02:53:14 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:53:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:53:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:53:15 prd-centos7-docker-4c-2g-30689 does not seem to be running inside a container 02:53:15 $ 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 02:53:18 $ docker top 78360bd25ca921be3c71468364b7ce90b0f221c5b8fd4bf91b80f31ae32b6421 -eo pid,comm [Pipeline] { [Pipeline] sh 02:53:18 + touch /tmp/pre-build-complete [Pipeline] sh 02:53:19 + mkdir -p /var/log/sa [Pipeline] sh 02:53:19 + ls /var/log/sa-host 02:53:19 + sadf -c /var/log/sa-host/sa20 02:53:19 file_magic: OK 02:53:19 HZ: Using current value: 100 02:53:19 file_header: OK 02:53:19 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 02:53:19 Statistics: 02:53:19 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:53:19 File successfully converted to sysstat format version 12.2.1 02:53:19 + sadf -c /var/log/sa-host/sa23 02:53:19 file_magic: OK 02:53:19 HZ: Using current value: 100 02:53:19 file_header: OK 02:53:19 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 02:53:19 Statistics: 02:53:19 Hnuu...uuuununununu... 02:53:19 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:19 provisioning config files... 02:53:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1280815019125414813tmp [Pipeline] { [Pipeline] echo 02:53:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:53:20 ---> create-netrc.sh [Pipeline] } 02:53:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:53:20 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:53:20 ---> python-tools-install.sh [Pipeline] echo 02:53:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:53:20 ---> sudo-logs.sh 02:53:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:53:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:53:21 ---> job-cost.sh 02:53:21 lf-activate-venv: SKIPPING 02:53:21 DEBUG: total: 0.20999999344348907 02:53:21 INFO: Retrieving Stack Cost... 02:53:22 INFO: Retrieving Pricing Info for: v1-standard-2 02:53:23 INFO: Archiving Costs [Pipeline] echo 02:53:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:53:23 ---> logs-deploy.sh 02:53:23 lf-activate-venv: SKIPPING 02:53:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/23 02:53:23 INFO: archiving workspace using pattern(s): 02:53:25 Archives upload complete. 02:53:25 INFO: archiving logs to Nexus