Pull request #812 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8ff5853612742f5f027ed0a877703346ffea9667+3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 (c0e4e78317fddc1d7a5ddd7f78357d54f0582db4) 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29262’ Running on prd-centos7-docker-4c-2g-29269 in /w/workspace/dgexfoundry_device-sdk-go_PR-812 [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-812 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/812/head:refs/remotes/origin/PR-812 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 8ff5853612742f5f027ed0a877703346ffea9667 Merge succeeded, producing a2b66370f1ac85d995e8fab915882288755312fe Checking out Revision a2b66370f1ac85d995e8fab915882288755312fe (PR-812) > git config core.sparsecheckout # timeout=10 > git checkout -f 8ff5853612742f5f027ed0a877703346ffea9667 # 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 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2b66370f1ac85d995e8fab915882288755312fe # timeout=10 Commit message: "Merge commit '3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828' into HEAD" > git rev-list --no-walk 8ff5853612742f5f027ed0a877703346ffea9667 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:46:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:46:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:46:29 ========================================================= 06:46:29 EdgeX Global Pipelines Version Info 06:46:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:46:30 ------------------- 06:46:30 stable info: 06:46:30 ------------------- 06:46:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:46:30 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 06:46:30 Message: update stable to v1.0.184 06:46:31 ------------------- 06:46:31 experimental info: 06:46:31 ------------------- 06:46:31 Commited By: **** collab-it+edgex@linuxfoundation.org 06:46:31 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 06:46:31 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:46:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:46:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:46:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:46:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:46:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:46:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:46:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:46:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:46:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:46:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:46:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:46:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:46:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:46:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:46:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:46:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:46:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:46:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:46:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:46:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:46:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:46:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:46:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:46:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:46:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:46:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:46:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-812 [Pipeline] echo 06:46:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-812 [Pipeline] echo 06:46:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-812 [Pipeline] echo 06:46:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2b66370f1ac85d995e8fab915882288755312fe [Pipeline] echo 06:46:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2b6637 [Pipeline] echo 06:46:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:46:35 provisioning config files... 06:46:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/config6866871973242942940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:46:35 ---> docker-login.sh 06:46:35 nexus3.edgexfoundry.org:10001 06:46:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:35 Configure a credential helper to remove this warning. See 06:46:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:35 06:46:35 Login Succeeded 06:46:35 nexus3.edgexfoundry.org:10002 06:46:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:36 Configure a credential helper to remove this warning. See 06:46:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:36 06:46:36 Login Succeeded 06:46:36 nexus3.edgexfoundry.org:10003 06:46:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:36 Configure a credential helper to remove this warning. See 06:46:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:36 06:46:36 Login Succeeded 06:46:36 nexus3.edgexfoundry.org:10004 06:46:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:36 Configure a credential helper to remove this warning. See 06:46:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:36 06:46:36 Login Succeeded 06:46:36 docker.io 06:46:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:36 Configure a credential helper to remove this warning. See 06:46:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:36 06:46:36 Login Succeeded 06:46:36 ---> docker-login.sh ends [Pipeline] } 06:46:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:46:37 + git log --format=format:%s -1 a2b66370f1ac85d995e8fab915882288755312fe [Pipeline] echo 06:46:37 GIT_COMMIT: a2b66370f1ac85d995e8fab915882288755312fe, Commit Message: Merge commit '3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828' into HEAD [Pipeline] echo 06:46:37 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:46:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:46:38 06:46:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:46:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:46:38 latest: Pulling from edgex-devops/git-semver 06:46:38 31603596830f: Pulling fs layer 06:46:38 2a8b12db71e7: Pulling fs layer 06:46:38 6ca5941a6612: Pulling fs layer 06:46:38 ecc8261a40a4: Pulling fs layer 06:46:38 ecc8261a40a4: Waiting 06:46:38 2a8b12db71e7: Verifying Checksum 06:46:38 2a8b12db71e7: Download complete 06:46:38 31603596830f: Verifying Checksum 06:46:38 31603596830f: Download complete 06:46:39 ecc8261a40a4: Verifying Checksum 06:46:39 ecc8261a40a4: Download complete 06:46:39 6ca5941a6612: Verifying Checksum 06:46:39 6ca5941a6612: Download complete 06:46:39 31603596830f: Pull complete 06:46:39 2a8b12db71e7: Pull complete 06:46:40 6ca5941a6612: Pull complete 06:46:40 ecc8261a40a4: Pull complete 06:46:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:46:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:46:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:46:40 prd-centos7-docker-4c-2g-29269 does not seem to be running inside a container 06:46:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-812 -v /w/workspace/dgexfoundry_device-sdk-go_PR-812:/w/workspace/dgexfoundry_device-sdk-go_PR-812:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:46:42 $ docker top 3a13d33c16a686f195c289124d4c454271b8d665ac7ad02e1e4c5bf8320c7dad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:46:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:46:42 [ssh-agent] Looking for ssh-agent implementation... 06:46:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:46:42 $ docker exec 3a13d33c16a686f195c289124d4c454271b8d665ac7ad02e1e4c5bf8320c7dad ssh-agent 06:46:43 SSH_AUTH_SOCK=/tmp/ssh-cpmrxB73XSWq/agent.11 06:46:43 SSH_AGENT_PID=16 06:46:43 Running ssh-add (command line suppressed) 06:46:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/private_key_8397203673856924929.key (/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/private_key_8397203673856924929.key) 06:46:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:46:43 + git tag --points-at HEAD [Pipeline] } 06:46:43 $ docker exec --env ******** --env ******** 3a13d33c16a686f195c289124d4c454271b8d665ac7ad02e1e4c5bf8320c7dad ssh-agent -k 06:46:43 unset SSH_AUTH_SOCK; 06:46:43 unset SSH_AGENT_PID; 06:46:43 echo Agent pid 16 killed; 06:46:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:46:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:46:44 [ssh-agent] Looking for ssh-agent implementation... 06:46:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:46:44 $ docker exec 3a13d33c16a686f195c289124d4c454271b8d665ac7ad02e1e4c5bf8320c7dad ssh-agent 06:46:44 SSH_AUTH_SOCK=/tmp/ssh-p9lTppbYV0Vp/agent.44 06:46:44 SSH_AGENT_PID=49 06:46:44 Running ssh-add (command line suppressed) 06:46:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/private_key_4417864780696774076.key (/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/private_key_4417864780696774076.key) 06:46:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:46:44 + git semver init 06:46:44 # -> Open(): unable to determine branch for HEAD 06:46:44 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-812/.git 06:46:44 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-812 06:46:44 # $SEMVER_REMOTE_NAME = origin 06:46:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:46:44 # $SEMVER_USER_NAME = edgex-jenkins 06:46:44 # $SEMVER_BRANCH = PR-812 06:46:44 # $SEMVER_TEMP = /tmp/semver-146873387 06:46:44 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:46:45 # '/tmp/semver-146873387' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-812/.semver' 06:46:45 # -> Force: false 06:46:45 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-812/.semver [Pipeline] } 06:46:45 $ docker exec --env ******** --env ******** 3a13d33c16a686f195c289124d4c454271b8d665ac7ad02e1e4c5bf8320c7dad ssh-agent -k 06:46:45 unset SSH_AUTH_SOCK; 06:46:45 unset SSH_AGENT_PID; 06:46:45 echo Agent pid 49 killed; 06:46:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:46:46 + git semver [Pipeline] } 06:46:46 $ docker stop --time=1 3a13d33c16a686f195c289124d4c454271b8d665ac7ad02e1e4c5bf8320c7dad 06:46:47 $ docker rm -f 3a13d33c16a686f195c289124d4c454271b8d665ac7ad02e1e4c5bf8320c7dad [Pipeline] // withDockerContainer [Pipeline] sh 06:46:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:46:48 Stashed 1 file(s) [Pipeline] echo 06:46:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:47:03 Still waiting to schedule task 06:47:03 ‘prd-centos7-docker-4c-2g-29268’ 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’ 06:47:03 Still waiting to schedule task 06:47:03 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:48:14 Running on prd-centos7-docker-4c-2g-29270 in /w/workspace/dgexfoundry_device-sdk-go_PR-812 [Pipeline] { [Pipeline] ws 06:48:14 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:48:19 using credential edgex-jenkins-ssh 06:48:19 Cloning the remote Git repository 06:48:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:48:19 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:48:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:48:20 > git --version # timeout=10 06:48:20 > git --version # 'git version 2.24.3' 06:48:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:48:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:48:21 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 8ff5853612742f5f027ed0a877703346ffea9667 06:48:21 Merge succeeded, producing 9503b86a3e9fcfaaf3d31a1421afeeeb58a9ab63 06:48:21 Checking out Revision 9503b86a3e9fcfaaf3d31a1421afeeeb58a9ab63 (PR-812) 06:48:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:48:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:48:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:48:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:48:21 using GIT_SSH to set credentials SSH Credentials for GitHub 06:48:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/812/head:refs/remotes/origin/PR-812 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:48:21 > git config core.sparsecheckout # timeout=10 06:48:21 > git checkout -f 8ff5853612742f5f027ed0a877703346ffea9667 # timeout=10 06:48:21 > git remote # timeout=10 06:48:21 > git config --get remote.origin.url # timeout=10 06:48:21 using GIT_SSH to set credentials SSH Credentials for GitHub 06:48:21 > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 06:48:21 > git rev-parse HEAD^{commit} # timeout=10 06:48:21 > git config core.sparsecheckout # timeout=10 06:48:21 > git checkout -f 9503b86a3e9fcfaaf3d31a1421afeeeb58a9ab63 # timeout=10 06:48:26 Commit message: "Merge commit '3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828' into HEAD" 06:48:26 > git rev-list --no-walk 8ff5853612742f5f027ed0a877703346ffea9667 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:48:28 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:48:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:48:29 + true 06:48:29 + sudo service docker restart 06:48:29 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:48:30 provisioning config files... 06:48:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4088739358080460307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:48:31 ---> docker-login.sh 06:48:31 nexus3.edgexfoundry.org:10001 06:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:32 Configure a credential helper to remove this warning. See 06:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:32 06:48:32 Login Succeeded 06:48:32 nexus3.edgexfoundry.org:10002 06:48:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:34 Configure a credential helper to remove this warning. See 06:48:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:34 06:48:34 Login Succeeded 06:48:34 nexus3.edgexfoundry.org:10003 06:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:35 Configure a credential helper to remove this warning. See 06:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:35 06:48:35 Login Succeeded 06:48:35 nexus3.edgexfoundry.org:10004 06:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:35 Configure a credential helper to remove this warning. See 06:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:35 06:48:35 Login Succeeded 06:48:35 docker.io 06:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:36 Configure a credential helper to remove this warning. See 06:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:36 06:48:36 Login Succeeded 06:48:36 ---> docker-login.sh ends [Pipeline] } 06:48:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:48:36 ========================================================= 06:48:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:48:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:48:36 + 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 . 06:48:37 Sending build context to Docker daemon 2.286MB 06:48:37 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:48:37 Step 2/8 : FROM ${BASE} 06:48:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:48:37 188c0c94c7c5: Pulling fs layer 06:48:37 0ef7d3d256c8: Pulling fs layer 06:48:37 de9db76c5a1d: Pulling fs layer 06:48:37 bca2f99d35d6: Pulling fs layer 06:48:37 93359f2a8cfa: Pulling fs layer 06:48:37 7c6f9722023f: Pulling fs layer 06:48:37 a35cf1a2eb13: Pulling fs layer 06:48:37 93359f2a8cfa: Waiting 06:48:37 7c6f9722023f: Waiting 06:48:37 a35cf1a2eb13: Waiting 06:48:37 bca2f99d35d6: Waiting 06:48:37 de9db76c5a1d: Verifying Checksum 06:48:37 de9db76c5a1d: Download complete 06:48:37 0ef7d3d256c8: Verifying Checksum 06:48:37 0ef7d3d256c8: Download complete 06:48:37 93359f2a8cfa: Verifying Checksum 06:48:37 93359f2a8cfa: Download complete 06:48:37 7c6f9722023f: Verifying Checksum 06:48:37 7c6f9722023f: Download complete 06:48:37 188c0c94c7c5: Download complete 06:48:38 188c0c94c7c5: Pull complete 06:48:38 0ef7d3d256c8: Pull complete 06:48:38 de9db76c5a1d: Pull complete 06:48:40 a35cf1a2eb13: Verifying Checksum 06:48:40 a35cf1a2eb13: Download complete 06:48:41 bca2f99d35d6: Verifying Checksum 06:48:41 bca2f99d35d6: Download complete 06:48:51 bca2f99d35d6: Pull complete 06:48:51 93359f2a8cfa: Pull complete 06:48:51 7c6f9722023f: Pull complete 06:48:59 a35cf1a2eb13: Pull complete 06:48:59 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:48:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:48:59 ---> a62c8e92a672 06:48:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:48:59 ---> Running in 08f27f0a80a1 06:48:59 Removing intermediate container 08f27f0a80a1 06:48:59 ---> c9bde40ca197 06:48:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:48:59 ---> Running in 19713bd747b6 06:49:02 Removing intermediate container 19713bd747b6 06:49:02 ---> 3553f2163c14 06:49:02 Step 5/8 : RUN apk add --update --no-cache make git 06:49:03 ---> Running in 9bfcbb6eeba2 06:49:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:49:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:49:05 OK: 166 MiB in 39 packages 06:49:05 Removing intermediate container 9bfcbb6eeba2 06:49:05 ---> 5ef9126f187e 06:49:05 Step 6/8 : WORKDIR /device-sdk-go 06:49:05 ---> Running in 38e460943ff9 06:49:06 Removing intermediate container 38e460943ff9 06:49:06 ---> 932324c4e5e1 06:49:06 Step 7/8 : COPY . . 06:49:08 ---> 7ef33d6973cb 06:49:08 Step 8/8 : RUN go mod download 06:49:08 ---> Running in 4be12d8529e3 06:49:55 Removing intermediate container 4be12d8529e3 06:49:55 ---> dca6fe4f8b80 06:49:55 Successfully built dca6fe4f8b80 06:49:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:49:56 + docker inspect -f . ci-base-image-x86_64 06:49:56 . [Pipeline] withDockerContainer 06:49:57 prd-centos7-docker-4c-2g-29270 does not seem to be running inside a container 06:49:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:50:00 $ docker top 931f8c2e2d5d20857be1f5350db230c015df83d09094848315e8c08106a89174 -eo pid,comm [Pipeline] { [Pipeline] sh 06:50:02 + go version 06:50:02 go version go1.15.5 linux/amd64 [Pipeline] } 06:50:02 $ docker stop --time=1 931f8c2e2d5d20857be1f5350db230c015df83d09094848315e8c08106a89174 06:50:05 $ docker rm -f 931f8c2e2d5d20857be1f5350db230c015df83d09094848315e8c08106a89174 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:50:06 + docker inspect -f . ci-base-image-x86_64 06:50:06 . [Pipeline] withDockerContainer 06:50:07 prd-centos7-docker-4c-2g-29270 does not seem to be running inside a container 06:50:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:50:08 $ docker top 0f4f4e2550065815eb0873bbefece9b68b4728c7fe91d8c9d2600ebdb4e11fb4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:50:09 + make test 06:50:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:50:28 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:50:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29271 in /w/workspace/dgexfoundry_device-sdk-go_PR-812 [Pipeline] { [Pipeline] ws 06:50:42 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:50:46 using credential edgex-jenkins-ssh 06:50:46 Cloning the remote Git repository 06:50:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:50:47 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:50:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:50:47 > git --version # timeout=10 06:50:47 > git --version # 'git version 2.17.1' 06:50:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:50:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:50:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:50:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:50:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:50:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:50:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:50:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/812/head:refs/remotes/origin/PR-812 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:50:48 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 8ff5853612742f5f027ed0a877703346ffea9667 06:50:49 Merge succeeded, producing b957467c9019e8ed40a0c77e85167c5c70d31de3 06:50:49 Checking out Revision b957467c9019e8ed40a0c77e85167c5c70d31de3 (PR-812) 06:50:48 > git config core.sparsecheckout # timeout=10 06:50:48 > git checkout -f 8ff5853612742f5f027ed0a877703346ffea9667 # timeout=10 06:50:48 > git remote # timeout=10 06:50:48 > git config --get remote.origin.url # timeout=10 06:50:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:50:48 > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 06:50:48 > git rev-parse HEAD^{commit} # timeout=10 06:50:49 > git config core.sparsecheckout # timeout=10 06:50:49 > git checkout -f b957467c9019e8ed40a0c77e85167c5c70d31de3 # timeout=10 06:50:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:50:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:50:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:50:53 Commit message: "Merge commit '3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828' into HEAD" 06:50:53 > git rev-list --no-walk 8ff5853612742f5f027ed0a877703346ffea9667 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:50:55 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:50:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.074s coverage: 25.5% of statements 06:50:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:50:55 + + true 06:50:55 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:50:57 provisioning config files... 06:50:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1806465489091679970tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:50:58 ---> docker-login.sh 06:50:58 nexus3.edgexfoundry.org:10001 06:50:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:59 Configure a credential helper to remove this warning. See 06:50:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:59 06:50:59 Login Succeeded 06:50:59 nexus3.edgexfoundry.org:10002 06:50:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:59 Configure a credential helper to remove this warning. See 06:50:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:59 06:50:59 Login Succeeded 06:51:00 nexus3.edgexfoundry.org:10003 06:51:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:51:00 Configure a credential helper to remove this warning. See 06:51:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:51:00 06:51:00 Login Succeeded 06:51:00 nexus3.edgexfoundry.org:10004 06:51:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:51:00 Configure a credential helper to remove this warning. See 06:51:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:51:00 06:51:00 Login Succeeded 06:51:00 docker.io 06:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:51:01 Configure a credential helper to remove this warning. See 06:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:51:01 06:51:01 Login Succeeded 06:51:01 ---> docker-login.sh ends [Pipeline] } 06:51:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:51:02 ========================================================= 06:51:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:51:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:51:02 + 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 . 06:51:02 Sending build context to Docker daemon 2.293MB 06:51:02 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:51:02 Step 2/8 : FROM ${BASE} 06:51:03 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:51:03 5f621e34cdf4: Pulling fs layer 06:51:03 a4357932f1b6: Pulling fs layer 06:51:03 18c013af1878: Pulling fs layer 06:51:03 00ac8860ef70: Pulling fs layer 06:51:03 63d7cb157983: Pulling fs layer 06:51:03 b116817d02f9: Pulling fs layer 06:51:03 745a02a5169b: Pulling fs layer 06:51:03 63d7cb157983: Waiting 06:51:03 b116817d02f9: Waiting 06:51:03 745a02a5169b: Waiting 06:51:03 00ac8860ef70: Waiting 06:51:03 18c013af1878: Verifying Checksum 06:51:03 18c013af1878: Download complete 06:51:03 a4357932f1b6: Download complete 06:51:03 63d7cb157983: Verifying Checksum 06:51:03 63d7cb157983: Download complete 06:51:03 5f621e34cdf4: Verifying Checksum 06:51:03 5f621e34cdf4: Download complete 06:51:03 b116817d02f9: Verifying Checksum 06:51:03 b116817d02f9: Download complete 06:51:04 5f621e34cdf4: Pull complete 06:51:05 a4357932f1b6: Pull complete 06:51:05 18c013af1878: Pull complete 06:51:05 745a02a5169b: Download complete 06:51:07 00ac8860ef70: Verifying Checksum 06:51:07 00ac8860ef70: Download complete 06:51:17 00ac8860ef70: Pull complete 06:51:17 63d7cb157983: Pull complete 06:51:17 b116817d02f9: Pull complete 06:51:22 745a02a5169b: Pull complete 06:51:22 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:51:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:51:22 ---> b7e6874047d6 06:51:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:51:24 ---> Running in bc92a4616653 06:51:24 Removing intermediate container bc92a4616653 06:51:24 ---> 9ffafdfcfaaf 06:51:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:51:24 ---> Running in 937d451866f0 06:51:27 Removing intermediate container 937d451866f0 06:51:27 ---> 2a8fd6ca2a10 06:51:27 Step 5/8 : RUN apk add --update --no-cache make git 06:51:27 ---> Running in 4145f01e3d29 06:51:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.097s coverage: 10.5% of statements 06:51:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.202s coverage: 12.5% of statements 06:51:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:51:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.087s coverage: 84.8% of statements 06:51:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:51:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:51:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:51:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.102s coverage: 47.6% of statements 06:51:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:51:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.140s coverage: 81.3% of statements 06:51:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.092s coverage: 24.8% of statements 06:51:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.975s coverage: 6.4% of statements 06:51:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.2% of statements 06:51:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:51:27 GO111MODULE=on go vet ./... 06:51:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:51:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:51:29 OK: 142 MiB in 39 packages 06:51:30 Removing intermediate container 4145f01e3d29 06:51:30 ---> f48cafc24446 06:51:30 Step 6/8 : WORKDIR /device-sdk-go 06:51:30 ---> Running in 95a968115cc4 06:51:31 Removing intermediate container 95a968115cc4 06:51:31 ---> 89115026b8b7 06:51:31 Step 7/8 : COPY . . 06:51:32 ---> 6672f51d35ec 06:51:32 Step 8/8 : RUN go mod download 06:51:32 ---> Running in ea5551ba54aa 06:51:46 gofmt -l . 06:51:46 [ "`gofmt -l .`" = "" ] 06:51:46 ./bin/test-attribution-txt.sh 06:51:47 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:51:48 $ docker stop --time=1 0f4f4e2550065815eb0873bbefece9b68b4728c7fe91d8c9d2600ebdb4e11fb4 06:51:50 $ docker rm -f 0f4f4e2550065815eb0873bbefece9b68b4728c7fe91d8c9d2600ebdb4e11fb4 [Pipeline] // withDockerContainer [Pipeline] sh 06:51:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:51:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:51:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:51:54 + ls -al . 06:51:54 total 184 06:51:54 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 10 06:51 . 06:51:54 drwxrwxr-x. 4 jenkins jenkins 28 Mar 10 06:48 .. 06:51:54 drwxrwxr-x. 2 jenkins jenkins 64 Mar 10 06:48 bin 06:51:54 -rw-r--r--. 1 jenkins jenkins 102298 Mar 10 06:51 coverage.out 06:51:54 -rw-rw-r--. 1 jenkins jenkins 949 Mar 10 06:48 Dockerfile.build 06:51:54 -rw-rw-r--. 1 jenkins jenkins 140 Mar 10 06:48 .dockerignore 06:51:54 drwxrwxr-x. 4 jenkins jenkins 48 Mar 10 06:48 example 06:51:54 drwxrwxr-x. 8 jenkins jenkins 179 Mar 10 06:48 .git 06:51:54 drwxrwxr-x. 2 jenkins jenkins 103 Mar 10 06:48 .github 06:51:54 -rw-rw-r--. 1 jenkins jenkins 138 Mar 10 06:48 .gitignore 06:51:54 -rw-r--r--. 1 jenkins jenkins 479 Mar 10 06:51 go.mod 06:51:54 -rw-r--r--. 1 jenkins jenkins 17490 Mar 10 06:51 go.sum 06:51:54 drwxrwxr-x. 12 jenkins jenkins 171 Mar 10 06:48 internal 06:51:54 -rw-rw-r--. 1 jenkins jenkins 901 Mar 10 06:48 Jenkinsfile 06:51:54 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 10 06:48 LICENSE 06:51:54 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 10 06:48 Makefile 06:51:54 drwxrwxr-x. 4 jenkins jenkins 26 Mar 10 06:48 openapi 06:51:54 drwxrwxr-x. 5 jenkins jenkins 50 Mar 10 06:48 pkg 06:51:54 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 10 06:48 README.md 06:51:54 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 10 06:48 RELEASE-NOTES.txt 06:51:54 drwxrwxr-x. 4 jenkins jenkins 54 Mar 10 06:48 snap 06:51:54 -rw-rw-r--. 1 jenkins jenkins 5 Mar 10 06:46 VERSION 06:51:54 -rw-rw-r--. 1 jenkins jenkins 222 Mar 10 06:48 version.go [Pipeline] isUnix [Pipeline] sh 06:51:54 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a2b66370f1ac85d995e8fab915882288755312fe --label arch=amd64 --label version=0.0.0 . 06:51:55 Sending build context to Docker daemon 2.388MB 06:51:55 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:51:55 Step 2/24 : FROM ${BASE} AS builder 06:51:55 ---> dca6fe4f8b80 06:51:55 Step 3/24 : ARG MAKE='make build' 06:51:55 ---> Running in ca3035f2ac2f 06:51:56 Removing intermediate container ca3035f2ac2f 06:51:56 ---> 3302161fb536 06:51:56 Step 4/24 : WORKDIR /device-sdk-go 06:51:57 ---> Running in 39d1785e5fd3 06:51:57 Removing intermediate container 39d1785e5fd3 06:51:57 ---> c372817ea891 06:51:57 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:51:57 ---> Running in 8453cd0f3b7b 06:51:58 Removing intermediate container 8453cd0f3b7b 06:51:58 ---> ff431cfd4e9a 06:51:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:51:58 ---> Running in e4b736380436 06:51:59 Removing intermediate container ea5551ba54aa 06:51:59 ---> 59299f467759 06:51:59 Successfully built 59299f467759 06:51:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:52:00 + docker inspect -f . ci-base-image-arm64 06:52:00 . [Pipeline] withDockerContainer 06:52:00 prd-ubuntu18.04-docker-arm64-4c-16g-29271 does not seem to be running inside a container 06:52:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:52:01 Removing intermediate container e4b736380436 06:52:01 ---> 4899686a0a3b 06:52:01 Step 7/24 : RUN apk add --update --no-cache make git 06:52:01 ---> Running in 9552a78b4979 06:52:02 $ docker top b2eab98c5d4c966288852382d892446eae8f7d62650ff895594d7f3f8063aab6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:52:03 + go version 06:52:03 go version go1.15.5 linux/arm64 [Pipeline] } 06:52:03 $ docker stop --time=1 b2eab98c5d4c966288852382d892446eae8f7d62650ff895594d7f3f8063aab6 06:52:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:52:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:52:04 OK: 166 MiB in 39 packages 06:52:05 $ docker rm -f b2eab98c5d4c966288852382d892446eae8f7d62650ff895594d7f3f8063aab6 06:52:05 Removing intermediate container 9552a78b4979 06:52:05 ---> 53ba2e0e18e0 06:52:05 Step 8/24 : COPY . . [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:52:06 + docker inspect -f . ci-base-image-arm64 06:52:06 . 06:52:06 ---> b751aa36491c 06:52:06 Step 9/24 : RUN ${MAKE} [Pipeline] withDockerContainer 06:52:06 prd-ubuntu18.04-docker-arm64-4c-16g-29271 does not seem to be running inside a container 06:52:06 ---> Running in 8e7ee71d371c 06:52:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:52:08 $ docker top a17a3f662f14920344f8856c41ca2fb97c1f4bd5dad6cb0efb689777f33bd0b8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:52:08 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 06:52:09 + make test 06:52:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:52:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:52:27 Removing intermediate container 8e7ee71d371c 06:52:27 ---> cb54a7d72ac1 06:52:27 Step 10/24 : FROM scratch 06:52:27 ---> 06:52:27 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:52:27 ---> Running in 03ca51dfe5c6 06:52:28 Removing intermediate container 03ca51dfe5c6 06:52:28 ---> 8e6b355deadd 06:52:28 Step 12/24 : ENV APP_PORT=49990 06:52:28 ---> Running in 00763c783763 06:52:28 Removing intermediate container 00763c783763 06:52:28 ---> d1131ff8d9f2 06:52:28 Step 13/24 : EXPOSE $APP_PORT 06:52:28 ---> Running in 82c1450d9d70 06:52:29 Removing intermediate container 82c1450d9d70 06:52:29 ---> 068ceedf34de 06:52:29 Step 14/24 : WORKDIR / 06:52:29 ---> Running in aab5a4c4b6b4 06:52:29 Removing intermediate container aab5a4c4b6b4 06:52:29 ---> 6aa2b10e828d 06:52:29 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:52:31 ---> 3a23ad1505b7 06:52:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:52:31 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:52:31 ---> de0807a0e922 06:52:31 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:52:32 ---> 6911be380c39 06:52:32 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:52:32 ---> 2a08bc14da9d 06:52:32 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:52:32 ---> 4154e96848a5 06:52:32 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:52:32 ---> Running in 2121241ff3de 06:52:33 Removing intermediate container 2121241ff3de 06:52:33 ---> 6657c4d988e9 06:52:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:52:33 ---> Running in 683f52189e7b 06:52:33 Removing intermediate container 683f52189e7b 06:52:33 ---> 8544a175c47a 06:52:33 Step 22/24 : LABEL arch=amd64 06:52:34 ---> Running in 38cc7a8617f4 06:52:34 Removing intermediate container 38cc7a8617f4 06:52:34 ---> 203a7592d65e 06:52:34 Step 23/24 : LABEL git_sha=a2b66370f1ac85d995e8fab915882288755312fe 06:52:34 ---> Running in e5dfbc2966c5 06:52:35 Removing intermediate container e5dfbc2966c5 06:52:35 ---> e2dedc1eb119 06:52:35 Step 24/24 : LABEL version=0.0.0 06:52:35 ---> Running in e6cdc1812366 06:52:35 Removing intermediate container e6cdc1812366 06:52:35 ---> 5f4dc4c38117 06:52:35 [Warning] One or more build-args [ARCH] were not consumed 06:52:35 Successfully built 5f4dc4c38117 06:52:35 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:52:37 ---> job-cost.sh 06:52:37 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5S2K 06:53:04 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:53:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:53:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:53:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:53:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.129s coverage: 25.5% of statements 06:53:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.162s coverage: 10.5% of statements 06:53:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.152s coverage: 12.5% of statements 06:53:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:53:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.130s coverage: 84.8% of statements 06:53:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:53:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:53:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:53:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.173s coverage: 47.6% of statements 06:53:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:53:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.183s coverage: 81.3% of statements 06:53:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.174s coverage: 24.8% of statements 06:53:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.803s coverage: 6.4% of statements 06:53:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.2% of statements 06:53:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:53:43 GO111MODULE=on go vet ./... 06:53:51 lf-activate-venv(): INFO: Adding /tmp/venv-5S2K/bin to PATH 06:53:51 INFO: No Stack... 06:53:51 INFO: Retrieving Pricing Info for: v1-standard-2 06:53:51 INFO: Archiving Costs [Pipeline] sh 06:53:51 + cut -d, -f6 06:53:51 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 06:53:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] 06:53:51 Resource [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] did not exist. Created. 06:53:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:53:52 + echo total: 0.029999999329447746 [Pipeline] stash 06:53:52 Stashed 1 file(s) [Pipeline] } 06:53:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:54:16 gofmt -l . 06:54:16 [ "`gofmt -l .`" = "" ] 06:54:16 ./bin/test-attribution-txt.sh 06:54:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:54:17 $ docker stop --time=1 a17a3f662f14920344f8856c41ca2fb97c1f4bd5dad6cb0efb689777f33bd0b8 06:54:19 $ docker rm -f a17a3f662f14920344f8856c41ca2fb97c1f4bd5dad6cb0efb689777f33bd0b8 [Pipeline] // withDockerContainer [Pipeline] sh 06:54:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:54:20 Warning: overwriting stash ‘coverage-report’ 06:54:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:54:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:54:22 + ls -al . 06:54:22 total 220 06:54:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 06:54 . 06:54:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:50 .. 06:54:22 -rw-rw-r-- 1 jenkins jenkins 140 Mar 10 06:50 .dockerignore 06:54:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 06:50 .git 06:54:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 06:50 .github 06:54:22 -rw-rw-r-- 1 jenkins jenkins 138 Mar 10 06:50 .gitignore 06:54:22 -rw-rw-r-- 1 jenkins jenkins 949 Mar 10 06:50 Dockerfile.build 06:54:22 -rw-rw-r-- 1 jenkins jenkins 901 Mar 10 06:50 Jenkinsfile 06:54:22 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 10 06:50 LICENSE 06:54:22 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 10 06:50 Makefile 06:54:22 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 10 06:50 README.md 06:54:22 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 10 06:50 RELEASE-NOTES.txt 06:54:22 -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 06:46 VERSION 06:54:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 06:50 bin 06:54:22 -rw-r--r-- 1 jenkins jenkins 102298 Mar 10 06:53 coverage.out 06:54:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:50 example 06:54:22 -rw-r--r-- 1 jenkins jenkins 479 Mar 10 06:54 go.mod 06:54:22 -rw-r--r-- 1 jenkins jenkins 17490 Mar 10 06:54 go.sum 06:54:22 drwxrwxr-x 12 jenkins jenkins 4096 Mar 10 06:50 internal 06:54:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:50 openapi 06:54:22 drwxrwxr-x 5 jenkins jenkins 4096 Mar 10 06:50 pkg 06:54:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 06:50 snap 06:54:22 -rw-rw-r-- 1 jenkins jenkins 222 Mar 10 06:50 version.go [Pipeline] isUnix [Pipeline] sh 06:54:23 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a2b66370f1ac85d995e8fab915882288755312fe --label arch=arm64 --label version=0.0.0 . 06:54:23 Sending build context to Docker daemon 2.396MB 06:54:23 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:54:23 Step 2/24 : FROM ${BASE} AS builder 06:54:23 ---> 59299f467759 06:54:23 Step 3/24 : ARG MAKE='make build' 06:54:23 ---> Running in 7101ebd9c254 06:54:24 Removing intermediate container 7101ebd9c254 06:54:24 ---> ac40751f47a3 06:54:24 Step 4/24 : WORKDIR /device-sdk-go 06:54:24 ---> Running in f10238c30b80 06:54:24 Removing intermediate container f10238c30b80 06:54:24 ---> c014e1d038f9 06:54:24 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:54:25 ---> Running in 7e754341817f 06:54:25 Removing intermediate container 7e754341817f 06:54:25 ---> 800bdd45c0ce 06:54:25 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:54:25 ---> Running in e682c72746cc 06:54:27 Removing intermediate container e682c72746cc 06:54:27 ---> 32356853fc0f 06:54:27 Step 7/24 : RUN apk add --update --no-cache make git 06:54:27 ---> Running in 64fcbdd29ecb 06:54:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:54:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:54:30 OK: 142 MiB in 39 packages 06:54:31 Removing intermediate container 64fcbdd29ecb 06:54:31 ---> 039c5a1b082d 06:54:31 Step 8/24 : COPY . . 06:54:32 ---> b65a84dc232b 06:54:32 Step 9/24 : RUN ${MAKE} 06:54:32 ---> Running in c6b2e2f44b26 06:54:33 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 06:55:00 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:55:01 Removing intermediate container c6b2e2f44b26 06:55:01 ---> 1662c54c7729 06:55:01 Step 10/24 : FROM scratch 06:55:01 ---> 06:55:01 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:55:01 ---> Running in 4c34748c33bc 06:55:01 Removing intermediate container 4c34748c33bc 06:55:01 ---> 99320d102f14 06:55:01 Step 12/24 : ENV APP_PORT=49990 06:55:01 ---> Running in 29725bc4628b 06:55:02 Removing intermediate container 29725bc4628b 06:55:02 ---> af63b57b2f1d 06:55:02 Step 13/24 : EXPOSE $APP_PORT 06:55:02 ---> Running in dfc166fcdec5 06:55:02 Removing intermediate container dfc166fcdec5 06:55:02 ---> 5f671e04d9a9 06:55:02 Step 14/24 : WORKDIR / 06:55:03 ---> Running in fb0e785a70b8 06:55:03 Removing intermediate container fb0e785a70b8 06:55:03 ---> 23a2fed74aa4 06:55:03 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:55:04 ---> 7b899f664347 06:55:04 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:55:05 ---> e385b2463717 06:55:05 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:55:05 ---> 25f499aca39d 06:55:05 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:55:06 ---> 2fe8a29731fa 06:55:06 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:55:07 ---> d35fda027433 06:55:07 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:55:07 ---> Running in d517749ec33c 06:55:08 Removing intermediate container d517749ec33c 06:55:08 ---> 3b8d737f37d6 06:55:08 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:55:08 ---> Running in 1e0475619723 06:55:08 Removing intermediate container 1e0475619723 06:55:08 ---> 4cca753c0390 06:55:08 Step 22/24 : LABEL arch=arm64 06:55:08 ---> Running in 22b0ca15b507 06:55:09 Removing intermediate container 22b0ca15b507 06:55:09 ---> 132a751e7a6f 06:55:09 Step 23/24 : LABEL git_sha=a2b66370f1ac85d995e8fab915882288755312fe 06:55:09 ---> Running in b9dca15bfc16 06:55:09 Removing intermediate container b9dca15bfc16 06:55:09 ---> b5a89ad03cec 06:55:09 Step 24/24 : LABEL version=0.0.0 06:55:09 ---> Running in 58629dda855f 06:55:10 Removing intermediate container 58629dda855f 06:55:10 ---> 8c2904ac7a64 06:55:10 [Warning] One or more build-args [ARCH] were not consumed 06:55:10 Successfully built 8c2904ac7a64 06:55:10 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:55:11 ---> job-cost.sh 06:55:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-XmQP 06:55:50 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:57:27 lf-activate-venv(): INFO: Adding /tmp/venv-XmQP/bin to PATH 06:57:27 INFO: No Stack... 06:57:27 INFO: Retrieving Pricing Info for: lf-standard-4 06:57:27 INFO: Archiving Costs [Pipeline] sh 06:57:27 + + cut -d,cat -f6 /w/workspace/device-sdk-go/2/archives/cost.csv 06:57:27 [Pipeline] lock 06:57:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] 06:57:27 Resource [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] did not exist. Created. 06:57:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:57:28 /w/workspace/device-sdk-go/2@tmp/durable-b4489d10/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-b4489d10/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:57:28 + echo total: 0.20999999344348907 [Pipeline] stash 06:57:28 Warning: overwriting stash ‘stack-cost’ 06:57:28 Stashed 1 file(s) [Pipeline] } 06:57:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-812-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:57:30 provisioning config files... 06:57:30 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/config6621592995718218082tmp [Pipeline] { [Pipeline] sh 06:57:30 + set +x 06:57:30 + curl -s https://codecov.io/bash 06:57:30 + bash -s -- 06:57:30 06:57:30 _____ _ 06:57:30 / ____| | | 06:57:30 | | ___ __| | ___ ___ _____ __ 06:57:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:57:30 | |___| (_) | (_| | __/ (_| (_) \ V / 06:57:30 \_____\___/ \__,_|\___|\___\___/ \_/ 06:57:30 Bash-20210309-2b87ace 06:57:30 06:57:30 06:57:30 ==> git version 2.24.3 found 06:57:30 ==> 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 06:57:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:57:30 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:57:30 ==> Jenkins CI detected. 06:57:30 project root: . 06:57:30 --> token set from env 06:57:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:57:30 ==> Running gcov in . (disable via -X gcov) 06:57:30 ==> Python coveragepy not found 06:57:30 ==> Searching for coverage reports in: 06:57:30 + . 06:57:30 -> Found 1 reports 06:57:30 ==> Detecting git/mercurial file structure 06:57:30 ==> Reading reports 06:57:30 + ./coverage.out bytes=102298 06:57:30 ==> Appending adjustments 06:57:30 https://docs.codecov.io/docs/fixing-reports 06:57:31 + Found adjustments 06:57:31 ==> Gzipping contents 06:57:31 16K /tmp/codecov.Adhsov.gz 06:57:31 ==> Uploading reports 06:57:31 url: https://codecov.io 06:57:31 query: branch=PR-812&commit=a2b66370f1ac85d995e8fab915882288755312fe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-812%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=812&job=&cmd_args= 06:57:31 -> Pinging Codecov 06:57:31 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-812&commit=a2b66370f1ac85d995e8fab915882288755312fe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-812%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=812&job=&cmd_args= 06:57:31 -> Uploading to 06:57:31 https://storage.googleapis.com/codecov/v4/raw/2021-03-10/7E55EF52A471D76F132DFD9A03CDDE97/a2b66370f1ac85d995e8fab915882288755312fe/d0e803c7-d854-4b39-8f6c-16e879d3a62b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210310%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210310T065731Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6dba3a2335ea998d6377794e8df07c15404ee6c1e4dd719ef0cd182241e8b42d 06:57:31 % Total % Received % Xferd Average Speed Time Time Time Current 06:57:31 Dload Upload Total Spent Left Speed 06:57:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15206 0 0 100 15206 0 33367 --:--:-- --:--:-- --:--:-- 33346 06:57:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a2b66370f1ac85d995e8fab915882288755312fe [Pipeline] } 06:57:31 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 06:57:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:57:36 ---> package-listing.sh 06:57:36 ++ facter osfamily 06:57:36 ++ tr '[:upper:]' '[:lower:]' 06:57:36 + OS_FAMILY=redhat 06:57:36 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-812 06:57:36 + START_PACKAGES=/tmp/packages_start.txt 06:57:36 + END_PACKAGES=/tmp/packages_end.txt 06:57:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:57:36 + PACKAGES=/tmp/packages_start.txt 06:57:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-812 ']' 06:57:36 + PACKAGES=/tmp/packages_end.txt 06:57:36 + case "${OS_FAMILY}" in 06:57:36 + rpm -qa 06:57:36 + sort 06:57:41 + '[' -f /tmp/packages_start.txt ']' 06:57:41 + '[' -f /tmp/packages_end.txt ']' 06:57:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:57:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-812 ']' 06:57:41 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-812/archives/ 06:57:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-812/archives/ [Pipeline] echo 06:57:41 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-812/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:57:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:57:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:57:42 06:57:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:57:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:57:42 alpine: Pulling from edgex-lftools-log-publisher 06:57:42 df20fa9351a1: Pulling fs layer 06:57:42 36b3adc4ff6f: Pulling fs layer 06:57:42 8ad3a11d3b57: Pulling fs layer 06:57:42 46f8f816bc3b: Pulling fs layer 06:57:42 93b61091891f: Pulling fs layer 06:57:42 93b9cdb0e59b: Pulling fs layer 06:57:42 5e14af77c1be: Pulling fs layer 06:57:42 01666e4c0597: Pulling fs layer 06:57:42 aa168da1d23b: Pulling fs layer 06:57:42 46f8f816bc3b: Waiting 06:57:42 93b61091891f: Waiting 06:57:42 93b9cdb0e59b: Waiting 06:57:42 5e14af77c1be: Waiting 06:57:42 01666e4c0597: Waiting 06:57:42 aa168da1d23b: Waiting 06:57:42 36b3adc4ff6f: Download complete 06:57:42 46f8f816bc3b: Verifying Checksum 06:57:42 46f8f816bc3b: Download complete 06:57:42 df20fa9351a1: Download complete 06:57:42 93b9cdb0e59b: Verifying Checksum 06:57:42 93b9cdb0e59b: Download complete 06:57:42 5e14af77c1be: Verifying Checksum 06:57:42 5e14af77c1be: Download complete 06:57:42 01666e4c0597: Verifying Checksum 06:57:42 01666e4c0597: Download complete 06:57:42 93b61091891f: Verifying Checksum 06:57:42 93b61091891f: Download complete 06:57:42 8ad3a11d3b57: Verifying Checksum 06:57:42 8ad3a11d3b57: Download complete 06:57:42 df20fa9351a1: Pull complete 06:57:43 36b3adc4ff6f: Pull complete 06:57:43 8ad3a11d3b57: Pull complete 06:57:44 46f8f816bc3b: Pull complete 06:57:44 aa168da1d23b: Verifying Checksum 06:57:44 aa168da1d23b: Download complete 06:57:44 93b61091891f: Pull complete 06:57:45 93b9cdb0e59b: Pull complete 06:57:45 5e14af77c1be: Pull complete 06:57:45 01666e4c0597: Pull complete 06:57:52 aa168da1d23b: Pull complete 06:57:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:57:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:57:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:57:52 prd-centos7-docker-4c-2g-29269 does not seem to be running inside a container 06:57:52 $ 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-812/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-812 -v /w/workspace/dgexfoundry_device-sdk-go_PR-812:/w/workspace/dgexfoundry_device-sdk-go_PR-812:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:57:55 $ docker top 544f9137ce0717c0c3d6e8c90ddb9c0bfd814e2ee2da6f9fb616c0b68c4d2717 -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:55 + touch /tmp/pre-build-complete [Pipeline] sh 06:57:56 + mkdir -p /var/log/sa [Pipeline] sh 06:57:56 + ls /var/log/sa-host 06:57:56 + sadf -c /var/log/sa-host/sa10 06:57:56 file_magic: OK 06:57:56 HZ: Using current value: 100 06:57:56 file_header: OK 06:57:56 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 06:57:56 Statistics: 06:57:56 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:57:56 File successfully converted to sysstat format version 12.2.1 06:57:56 + sadf -c /var/log/sa-host/sa23 06:57:56 file_magic: OK 06:57:56 HZ: Using current value: 100 06:57:56 file_header: OK 06:57:56 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 06:57:56 Statistics: 06:57:56 Hnuu...uuuununununu... 06:57:56 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:57:56 provisioning config files... 06:57:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/config6795471233324275911tmp [Pipeline] { [Pipeline] echo 06:57:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:57:57 ---> create-netrc.sh [Pipeline] } 06:57:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:57:57 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:57:57 ---> python-tools-install.sh [Pipeline] echo 06:57:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:57:57 ---> sudo-logs.sh 06:57:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:57:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:57:58 ---> job-cost.sh 06:57:58 lf-activate-venv: SKIPPING 06:57:58 DEBUG: total: 0.20999999344348907 06:57:58 INFO: Retrieving Stack Cost... 06:57:59 INFO: Retrieving Pricing Info for: v1-standard-2 06:57:59 INFO: Archiving Costs [Pipeline] echo 06:57:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:58:00 ---> logs-deploy.sh 06:58:00 lf-activate-venv: SKIPPING 06:58:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-812/2 06:58:00 INFO: archiving workspace using pattern(s): 06:58:02 Archives upload complete. 06:58:02 INFO: archiving logs to Nexus