Pull request #820 updated 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 269686d8afe9306e97af2967139c38a4d4e071ee+79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (8f3e3b0e34a85ba089cadfea9325937dfc12694d) 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-29984 in /w/workspace/dgexfoundry_device-sdk-go_PR-820 [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-820 # 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 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 269686d8afe9306e97af2967139c38a4d4e071ee Merge succeeded, producing 269686d8afe9306e97af2967139c38a4d4e071ee Checking out Revision 269686d8afe9306e97af2967139c38a4d4e071ee (PR-820) > 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/820/head:refs/remotes/origin/PR-820 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 269686d8afe9306e97af2967139c38a4d4e071ee # 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 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 269686d8afe9306e97af2967139c38a4d4e071ee # timeout=10 Commit message: "refactor: remove v2 subdirectory for SDK" First time build. Skipping changelog. > git rev-list --no-walk 661e24c2be0ee237fe0754a20a2fbc962ea95f03 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:35:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:35:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:35:34 ========================================================= 10:35:34 EdgeX Global Pipelines Version Info 10:35:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:35:35 ------------------- 10:35:35 stable info: 10:35:35 ------------------- 10:35:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:35:35 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 10:35:35 Message: update stable to v1.0.184 10:35:36 ------------------- 10:35:36 experimental info: 10:35:36 ------------------- 10:35:36 Commited By: **** collab-it+edgex@linuxfoundation.org 10:35:36 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 10:35:36 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:35:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:35:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:35:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:35:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:35:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:35:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:35:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:35:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:35:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-820 [Pipeline] echo 10:35:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-820 [Pipeline] echo 10:35:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-820 [Pipeline] echo 10:35:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 269686d8afe9306e97af2967139c38a4d4e071ee [Pipeline] echo 10:35:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 269686d [Pipeline] echo 10:35:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:35:40 provisioning config files... 10:35:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config4880866494980524569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:35:40 ---> docker-login.sh 10:35:40 nexus3.edgexfoundry.org:10001 10:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:40 Configure a credential helper to remove this warning. See 10:35:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:40 10:35:40 Login Succeeded 10:35:40 nexus3.edgexfoundry.org:10002 10:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:40 Configure a credential helper to remove this warning. See 10:35:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:40 10:35:40 Login Succeeded 10:35:40 nexus3.edgexfoundry.org:10003 10:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:41 Configure a credential helper to remove this warning. See 10:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:41 10:35:41 Login Succeeded 10:35:41 nexus3.edgexfoundry.org:10004 10:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:41 Configure a credential helper to remove this warning. See 10:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:41 10:35:41 Login Succeeded 10:35:41 docker.io 10:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:41 Configure a credential helper to remove this warning. See 10:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:41 10:35:41 Login Succeeded 10:35:41 ---> docker-login.sh ends [Pipeline] } 10:35:41 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 10:35:42 + git log --format=format:%s -1 269686d8afe9306e97af2967139c38a4d4e071ee [Pipeline] echo 10:35:42 GIT_COMMIT: 269686d8afe9306e97af2967139c38a4d4e071ee, Commit Message: refactor: remove v2 subdirectory for SDK [Pipeline] echo 10:35:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:35:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:35:43 10:35:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:35:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:35:43 latest: Pulling from edgex-devops/git-semver 10:35:43 31603596830f: Pulling fs layer 10:35:43 2a8b12db71e7: Pulling fs layer 10:35:43 6ca5941a6612: Pulling fs layer 10:35:43 ecc8261a40a4: Pulling fs layer 10:35:43 ecc8261a40a4: Waiting 10:35:43 2a8b12db71e7: Verifying Checksum 10:35:43 2a8b12db71e7: Download complete 10:35:44 31603596830f: Verifying Checksum 10:35:44 31603596830f: Download complete 10:35:44 ecc8261a40a4: Verifying Checksum 10:35:44 ecc8261a40a4: Download complete 10:35:44 6ca5941a6612: Verifying Checksum 10:35:44 6ca5941a6612: Download complete 10:35:44 31603596830f: Pull complete 10:35:44 2a8b12db71e7: Pull complete 10:35:45 6ca5941a6612: Pull complete 10:35:45 ecc8261a40a4: Pull complete 10:35:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:35:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:35:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:35:45 prd-centos7-docker-4c-2g-29984 does not seem to be running inside a container 10:35:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-820 -v /w/workspace/dgexfoundry_device-sdk-go_PR-820:/w/workspace/dgexfoundry_device-sdk-go_PR-820:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-820@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 10:35:48 $ docker top 747398df9ccadb32a1ca0160e404d912fadd4a9a62fdcb61b0196bc49e097b66 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:35:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:35:48 [ssh-agent] Looking for ssh-agent implementation... 10:35:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:35:48 $ docker exec 747398df9ccadb32a1ca0160e404d912fadd4a9a62fdcb61b0196bc49e097b66 ssh-agent 10:35:49 SSH_AUTH_SOCK=/tmp/ssh-fD375iIoaoWf/agent.13 10:35:49 SSH_AGENT_PID=18 10:35:49 Running ssh-add (command line suppressed) 10:35:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_8912014177602765267.key (/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_8912014177602765267.key) 10:35:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:35:49 + git tag --points-at HEAD [Pipeline] } 10:35:49 $ docker exec --env ******** --env ******** 747398df9ccadb32a1ca0160e404d912fadd4a9a62fdcb61b0196bc49e097b66 ssh-agent -k 10:35:49 unset SSH_AUTH_SOCK; 10:35:49 unset SSH_AGENT_PID; 10:35:49 echo Agent pid 18 killed; 10:35:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:35:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:35:49 [ssh-agent] Looking for ssh-agent implementation... 10:35:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:35:50 $ docker exec 747398df9ccadb32a1ca0160e404d912fadd4a9a62fdcb61b0196bc49e097b66 ssh-agent 10:35:50 SSH_AUTH_SOCK=/tmp/ssh-Bvv6En8Ucya3/agent.47 10:35:50 SSH_AGENT_PID=52 10:35:50 Running ssh-add (command line suppressed) 10:35:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_2921831338927790239.key (/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_2921831338927790239.key) 10:35:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:35:50 + git semver init 10:35:50 # -> Open(): unable to determine branch for HEAD 10:35:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-820/.git 10:35:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-820 10:35:50 # $SEMVER_REMOTE_NAME = origin 10:35:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:35:50 # $SEMVER_USER_NAME = edgex-jenkins 10:35:50 # $SEMVER_BRANCH = PR-820 10:35:50 # $SEMVER_TEMP = /tmp/semver-745307748 10:35:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:35:51 # '/tmp/semver-745307748' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-820/.semver' 10:35:51 # -> Force: false 10:35:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-820/.semver [Pipeline] } 10:35:51 $ docker exec --env ******** --env ******** 747398df9ccadb32a1ca0160e404d912fadd4a9a62fdcb61b0196bc49e097b66 ssh-agent -k 10:35:51 unset SSH_AUTH_SOCK; 10:35:51 unset SSH_AGENT_PID; 10:35:51 echo Agent pid 52 killed; 10:35:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:35:52 + git semver [Pipeline] } 10:35:52 $ docker stop --time=1 747398df9ccadb32a1ca0160e404d912fadd4a9a62fdcb61b0196bc49e097b66 10:35:53 $ docker rm -f 747398df9ccadb32a1ca0160e404d912fadd4a9a62fdcb61b0196bc49e097b66 [Pipeline] // withDockerContainer [Pipeline] sh 10:35:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:35:54 Stashed 1 file(s) [Pipeline] echo 10:35:54 [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 10:36:10 Still waiting to schedule task 10:36:10 Waiting for next available executor on ‘centos7-docker-4c-2g’ 10:36:10 Still waiting to schedule task 10:36:10 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 10:38:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29985 in /w/workspace/dgexfoundry_device-sdk-go_PR-820 [Pipeline] { [Pipeline] ws 10:38:30 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 10:38:33 Running on prd-centos7-docker-4c-2g-29986 in /w/workspace/dgexfoundry_device-sdk-go_PR-820 [Pipeline] { [Pipeline] ws 10:38:33 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 10:38:35 using credential edgex-jenkins-ssh 10:38:35 Cloning the remote Git repository 10:38:35 using credential edgex-jenkins-ssh 10:38:36 Cloning the remote Git repository 10:38:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:38:35 > git init /w/workspace/device-sdk-go/3 # timeout=10 10:38:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:38:36 > git --version # timeout=10 10:38:36 > git --version # 'git version 2.17.1' 10:38:36 using GIT_SSH to set credentials SSH Credentials for GitHub 10:38:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:38:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:38:36 > git init /w/workspace/device-sdk-go/3 # timeout=10 10:38:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:38:36 > git --version # timeout=10 10:38:36 > git --version # 'git version 2.24.3' 10:38:36 using GIT_SSH to set credentials SSH Credentials for GitHub 10:38:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:38:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:38:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:38:37 Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 269686d8afe9306e97af2967139c38a4d4e071ee 10:38:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:38:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:38:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:38:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:38:37 using GIT_SSH to set credentials SSH Credentials for GitHub 10:38:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/820/head:refs/remotes/origin/PR-820 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:38:37 Merge succeeded, producing 269686d8afe9306e97af2967139c38a4d4e071ee 10:38:37 Checking out Revision 269686d8afe9306e97af2967139c38a4d4e071ee (PR-820) 10:38:38 Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 269686d8afe9306e97af2967139c38a4d4e071ee 10:38:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:38:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:38:37 using GIT_SSH to set credentials SSH Credentials for GitHub 10:38:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/820/head:refs/remotes/origin/PR-820 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:38:37 > git config core.sparsecheckout # timeout=10 10:38:37 > git checkout -f 269686d8afe9306e97af2967139c38a4d4e071ee # timeout=10 10:38:37 > git remote # timeout=10 10:38:37 > git config --get remote.origin.url # timeout=10 10:38:37 using GIT_SSH to set credentials SSH Credentials for GitHub 10:38:37 > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 10:38:37 > git rev-parse HEAD^{commit} # timeout=10 10:38:37 > git config core.sparsecheckout # timeout=10 10:38:37 > git checkout -f 269686d8afe9306e97af2967139c38a4d4e071ee # timeout=10 10:38:38 Merge succeeded, producing 269686d8afe9306e97af2967139c38a4d4e071ee 10:38:38 Checking out Revision 269686d8afe9306e97af2967139c38a4d4e071ee (PR-820) 10:38:38 > git config core.sparsecheckout # timeout=10 10:38:38 > git checkout -f 269686d8afe9306e97af2967139c38a4d4e071ee # timeout=10 10:38:38 > git remote # timeout=10 10:38:38 > git config --get remote.origin.url # timeout=10 10:38:38 using GIT_SSH to set credentials SSH Credentials for GitHub 10:38:38 > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 10:38:38 > git rev-parse HEAD^{commit} # timeout=10 10:38:38 > git config core.sparsecheckout # timeout=10 10:38:38 > git checkout -f 269686d8afe9306e97af2967139c38a4d4e071ee # timeout=10 10:38:41 Commit message: "refactor: remove v2 subdirectory for SDK" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:38:42 Commit message: "refactor: remove v2 subdirectory for SDK" 10:38:42 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [Pipeline] withEnv [Pipeline] { 10:38:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:38:43 + sudo service docker restart 10:38:43 + true 10:38:43 Redirecting to /bin/systemctl restart docker.service 10:38:44 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap 10:38:44 provisioning config files... 10:38:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8040376303017656897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:38:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:38:44 ---> docker-login.sh 10:38:44 nexus3.edgexfoundry.org:10001 10:38:45 + true 10:38:45 + sudo service docker restart 10:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:45 Configure a credential helper to remove this warning. See 10:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:45 10:38:45 Login Succeeded 10:38:45 nexus3.edgexfoundry.org:10002 10:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:45 Configure a credential helper to remove this warning. See 10:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:45 10:38:45 Login Succeeded 10:38:45 nexus3.edgexfoundry.org:10003 10:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:45 Configure a credential helper to remove this warning. See 10:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:45 10:38:45 Login Succeeded 10:38:45 nexus3.edgexfoundry.org:10004 10:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:45 Configure a credential helper to remove this warning. See 10:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:45 10:38:45 Login Succeeded 10:38:45 docker.io 10:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:46 Configure a credential helper to remove this warning. See 10:38:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:46 10:38:46 Login Succeeded 10:38:46 ---> docker-login.sh ends [Pipeline] } 10:38:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:38:46 ========================================================= 10:38:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:38:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:38:47 + 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 . 10:38:47 Sending build context to Docker daemon 2.355MB 10:38:47 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:38:47 Step 2/8 : FROM ${BASE} [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:38:47 provisioning config files... 10:38:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config920238032587400439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:38:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:38:47 188c0c94c7c5: Pulling fs layer 10:38:47 0ef7d3d256c8: Pulling fs layer 10:38:47 de9db76c5a1d: Pulling fs layer 10:38:47 bca2f99d35d6: Pulling fs layer 10:38:47 93359f2a8cfa: Pulling fs layer 10:38:47 7c6f9722023f: Pulling fs layer 10:38:47 a35cf1a2eb13: Pulling fs layer 10:38:47 93359f2a8cfa: Waiting 10:38:47 7c6f9722023f: Waiting 10:38:47 a35cf1a2eb13: Waiting 10:38:47 bca2f99d35d6: Waiting 10:38:47 de9db76c5a1d: Verifying Checksum 10:38:47 de9db76c5a1d: Download complete 10:38:47 0ef7d3d256c8: Verifying Checksum 10:38:47 0ef7d3d256c8: Download complete 10:38:47 93359f2a8cfa: Verifying Checksum 10:38:47 93359f2a8cfa: Download complete 10:38:47 7c6f9722023f: Verifying Checksum 10:38:47 7c6f9722023f: Download complete 10:38:47 188c0c94c7c5: Verifying Checksum 10:38:47 188c0c94c7c5: Download complete 10:38:47 188c0c94c7c5: Pull complete 10:38:47 ---> docker-login.sh 10:38:47 nexus3.edgexfoundry.org:10001 10:38:47 0ef7d3d256c8: Pull complete 10:38:47 de9db76c5a1d: Pull complete 10:38:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:48 Configure a credential helper to remove this warning. See 10:38:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:48 10:38:48 Login Succeeded 10:38:48 nexus3.edgexfoundry.org:10002 10:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:49 Configure a credential helper to remove this warning. See 10:38:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:49 10:38:49 Login Succeeded 10:38:49 nexus3.edgexfoundry.org:10003 10:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:49 Configure a credential helper to remove this warning. See 10:38:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:49 10:38:49 Login Succeeded 10:38:49 nexus3.edgexfoundry.org:10004 10:38:49 a35cf1a2eb13: Verifying Checksum 10:38:49 a35cf1a2eb13: Download complete 10:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:50 Configure a credential helper to remove this warning. See 10:38:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:50 10:38:50 Login Succeeded 10:38:50 docker.io 10:38:50 bca2f99d35d6: Verifying Checksum 10:38:50 bca2f99d35d6: Download complete 10:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:50 Configure a credential helper to remove this warning. See 10:38:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:50 10:38:50 Login Succeeded 10:38:50 ---> docker-login.sh ends [Pipeline] } 10:38:50 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:38:51 ========================================================= 10:38:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:38:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:38:51 + 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 . 10:38:52 Sending build context to Docker daemon 2.354MB 10:38:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:38:52 Step 2/8 : FROM ${BASE} 10:38:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:38:52 5f621e34cdf4: Pulling fs layer 10:38:52 a4357932f1b6: Pulling fs layer 10:38:52 18c013af1878: Pulling fs layer 10:38:52 00ac8860ef70: Pulling fs layer 10:38:52 63d7cb157983: Pulling fs layer 10:38:52 b116817d02f9: Pulling fs layer 10:38:52 745a02a5169b: Pulling fs layer 10:38:52 00ac8860ef70: Waiting 10:38:52 63d7cb157983: Waiting 10:38:52 b116817d02f9: Waiting 10:38:52 745a02a5169b: Waiting 10:38:52 a4357932f1b6: Verifying Checksum 10:38:52 a4357932f1b6: Download complete 10:38:52 18c013af1878: Verifying Checksum 10:38:52 18c013af1878: Download complete 10:38:52 63d7cb157983: Verifying Checksum 10:38:52 63d7cb157983: Download complete 10:38:52 b116817d02f9: Verifying Checksum 10:38:52 b116817d02f9: Download complete 10:38:52 5f621e34cdf4: Verifying Checksum 10:38:52 5f621e34cdf4: Download complete 10:38:52 5f621e34cdf4: Pull complete 10:38:53 a4357932f1b6: Pull complete 10:38:54 18c013af1878: Pull complete 10:38:55 745a02a5169b: Verifying Checksum 10:38:55 745a02a5169b: Download complete 10:38:55 00ac8860ef70: Verifying Checksum 10:38:55 00ac8860ef70: Download complete 10:38:55 bca2f99d35d6: Pull complete 10:38:55 93359f2a8cfa: Pull complete 10:38:55 7c6f9722023f: Pull complete 10:39:01 a35cf1a2eb13: Pull complete 10:39:01 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 10:39:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:39:01 ---> a62c8e92a672 10:39:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:39:01 ---> Running in 2e12eb4e5ab1 10:39:01 Removing intermediate container 2e12eb4e5ab1 10:39:01 ---> 070436554923 10:39:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:39:01 ---> Running in dc97094133d0 10:39:02 Removing intermediate container dc97094133d0 10:39:02 ---> 2a1fdef2fae8 10:39:02 Step 5/8 : RUN apk add --update --no-cache make git 10:39:02 ---> Running in 1332a0e1d33f 10:39:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:39:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:39:05 OK: 166 MiB in 39 packages 10:39:05 00ac8860ef70: Pull complete 10:39:05 63d7cb157983: Pull complete 10:39:05 Removing intermediate container 1332a0e1d33f 10:39:05 ---> e5d310746e15 10:39:05 Step 6/8 : WORKDIR /device-sdk-go 10:39:05 ---> Running in 25fbe14a02dc 10:39:05 b116817d02f9: Pull complete 10:39:05 Removing intermediate container 25fbe14a02dc 10:39:05 ---> f5dd18c93d04 10:39:05 Step 7/8 : COPY . . 10:39:06 ---> 01fd5f3f37cc 10:39:06 Step 8/8 : RUN go mod download 10:39:07 ---> Running in 66a30cd14ec6 10:39:10 745a02a5169b: Pull complete 10:39:10 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 10:39:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:39:10 ---> b7e6874047d6 10:39:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:39:12 ---> Running in 30ce151b81b4 10:39:13 Removing intermediate container 30ce151b81b4 10:39:13 ---> 4a8073505b00 10:39:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:39:13 ---> Running in 215ae9200377 10:39:15 Removing intermediate container 215ae9200377 10:39:15 ---> ea5b6ca71f35 10:39:15 Step 5/8 : RUN apk add --update --no-cache make git 10:39:15 ---> Running in f3a5bbf5ce17 10:39:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:39:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:39:18 OK: 142 MiB in 39 packages 10:39:19 Removing intermediate container f3a5bbf5ce17 10:39:19 ---> 4dee78a2ed84 10:39:19 Step 6/8 : WORKDIR /device-sdk-go 10:39:19 ---> Running in 4786e4cb2869 10:39:19 Removing intermediate container 4786e4cb2869 10:39:19 ---> 8ea629a2a286 10:39:19 Step 7/8 : COPY . . 10:39:20 ---> ab83c2e2ce92 10:39:20 Step 8/8 : RUN go mod download 10:39:21 ---> Running in c0e1ccf42913 10:39:29 Removing intermediate container 66a30cd14ec6 10:39:29 ---> 246cf2c37155 10:39:29 Successfully built 246cf2c37155 10:39:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:39:29 + docker inspect -f . ci-base-image-x86_64 10:39:29 . [Pipeline] withDockerContainer 10:39:29 prd-centos7-docker-4c-2g-29986 does not seem to be running inside a container 10:39:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-x86_64 cat 10:39:31 $ docker top 8f50e6e60d8778b517d69f66d3451e22035d1f6fa5c2df4caa71067a6045e1fa -eo pid,comm [Pipeline] { [Pipeline] sh 10:39:31 + go version 10:39:31 go version go1.15.5 linux/amd64 [Pipeline] } 10:39:31 $ docker stop --time=1 8f50e6e60d8778b517d69f66d3451e22035d1f6fa5c2df4caa71067a6045e1fa 10:39:33 $ docker rm -f 8f50e6e60d8778b517d69f66d3451e22035d1f6fa5c2df4caa71067a6045e1fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:39:34 + docker inspect -f . ci-base-image-x86_64 10:39:34 . [Pipeline] withDockerContainer 10:39:34 prd-centos7-docker-4c-2g-29986 does not seem to be running inside a container 10:39:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-x86_64 cat 10:39:35 $ docker top 056281cdc1d50279e2a545a9c1edf103ab071cb50c95b316cb096377807b3cf3 -eo pid,comm [Pipeline] { [Pipeline] sh 10:39:35 + make test 10:39:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:39:43 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:39:48 Removing intermediate container c0e1ccf42913 10:39:48 ---> 1d6dcb8af6c2 10:39:48 Successfully built 1d6dcb8af6c2 10:39:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:39:48 + docker inspect -f . ci-base-image-arm64 10:39:48 . [Pipeline] withDockerContainer 10:39:48 prd-ubuntu18.04-docker-arm64-4c-16g-29985 does not seem to be running inside a container 10:39:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 10:39:50 $ docker top 57501fbcd25b2eaea3e0b965aff02a5635984995911a14fad5a0091dc7ecfda5 -eo pid,comm [Pipeline] { [Pipeline] sh 10:39:51 + go version 10:39:51 go version go1.15.5 linux/arm64 [Pipeline] } 10:39:51 $ docker stop --time=1 57501fbcd25b2eaea3e0b965aff02a5635984995911a14fad5a0091dc7ecfda5 10:39:53 $ docker rm -f 57501fbcd25b2eaea3e0b965aff02a5635984995911a14fad5a0091dc7ecfda5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:39:54 + docker inspect -f . ci-base-image-arm64 10:39:54 . [Pipeline] withDockerContainer 10:39:54 prd-ubuntu18.04-docker-arm64-4c-16g-29985 does not seem to be running inside a container 10:39:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 10:39:56 $ docker top 18fae3c9a3faa33abddef858a83e0c267ae3829f3400ed8aa169b6a75dab39bd -eo pid,comm [Pipeline] { [Pipeline] sh 10:39:57 + make test 10:39:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:39:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:39:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:39:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 10:39:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:40:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.075s coverage: 25.5% of statements 10:40:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.091s coverage: 81.2% of statements 10:40:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:40:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.054s coverage: 10.5% of statements 10:40:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.061s coverage: 12.5% of statements 10:40:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:40:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.086s coverage: 32.5% of statements 10:40:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:40:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:40:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:40:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.181s coverage: 57.3% of statements 10:40:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.210s coverage: 6.4% of statements 10:40:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.1% of statements 10:40:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:40:33 GO111MODULE=on go vet ./... 10:40:41 gofmt -l . 10:40:41 [ "`gofmt -l .`" = "" ] 10:40:41 ./bin/test-attribution-txt.sh 10:40:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:40:42 $ docker stop --time=1 056281cdc1d50279e2a545a9c1edf103ab071cb50c95b316cb096377807b3cf3 10:40:44 $ docker rm -f 056281cdc1d50279e2a545a9c1edf103ab071cb50c95b316cb096377807b3cf3 [Pipeline] // withDockerContainer [Pipeline] sh 10:40:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:40:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:40:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:40:48 + ls -al . 10:40:48 total 188 10:40:48 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 16 10:40 . 10:40:48 drwxrwxr-x. 4 jenkins jenkins 28 Mar 16 10:38 .. 10:40:48 drwxrwxr-x. 2 jenkins jenkins 64 Mar 16 10:38 bin 10:40:48 -rw-r--r--. 1 jenkins jenkins 102948 Mar 16 10:40 coverage.out 10:40:48 -rw-rw-r--. 1 jenkins jenkins 949 Mar 16 10:38 Dockerfile.build 10:40:48 -rw-rw-r--. 1 jenkins jenkins 140 Mar 16 10:38 .dockerignore 10:40:48 drwxrwxr-x. 4 jenkins jenkins 48 Mar 16 10:38 example 10:40:48 drwxrwxr-x. 8 jenkins jenkins 179 Mar 16 10:38 .git 10:40:48 drwxrwxr-x. 2 jenkins jenkins 103 Mar 16 10:38 .github 10:40:48 -rw-rw-r--. 1 jenkins jenkins 138 Mar 16 10:38 .gitignore 10:40:48 -rw-r--r--. 1 jenkins jenkins 479 Mar 16 10:40 go.mod 10:40:48 -rw-r--r--. 1 jenkins jenkins 17490 Mar 16 10:40 go.sum 10:40:48 drwxrwxr-x. 13 jenkins jenkins 193 Mar 16 10:38 internal 10:40:48 -rw-rw-r--. 1 jenkins jenkins 901 Mar 16 10:38 Jenkinsfile 10:40:48 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 16 10:38 LICENSE 10:40:48 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 16 10:38 Makefile 10:40:48 drwxrwxr-x. 4 jenkins jenkins 26 Mar 16 10:38 openapi 10:40:48 drwxrwxr-x. 5 jenkins jenkins 50 Mar 16 10:38 pkg 10:40:48 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 16 10:38 README.md 10:40:48 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 16 10:38 RELEASE-NOTES.txt 10:40:48 drwxrwxr-x. 4 jenkins jenkins 54 Mar 16 10:38 snap 10:40:48 -rw-rw-r--. 1 jenkins jenkins 5 Mar 16 10:35 VERSION 10:40:48 -rw-rw-r--. 1 jenkins jenkins 222 Mar 16 10:38 version.go [Pipeline] isUnix [Pipeline] sh 10:40:48 + 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=269686d8afe9306e97af2967139c38a4d4e071ee --label arch=amd64 --label version=0.0.0 . 10:40:48 Sending build context to Docker daemon 2.459MB 10:40:48 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 10:40:48 Step 2/24 : FROM ${BASE} AS builder 10:40:48 ---> 246cf2c37155 10:40:48 Step 3/24 : ARG MAKE='make build' 10:40:49 ---> Running in ddc07c346f72 10:40:49 Removing intermediate container ddc07c346f72 10:40:49 ---> e2875a4fe872 10:40:49 Step 4/24 : WORKDIR /device-sdk-go 10:40:49 ---> Running in a39d8cf7d074 10:40:49 Removing intermediate container a39d8cf7d074 10:40:49 ---> 7e0603dd983a 10:40:49 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:40:49 ---> Running in e369890ed560 10:40:49 Removing intermediate container e369890ed560 10:40:49 ---> 3a9e0b4874be 10:40:49 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:40:50 ---> Running in a0f112f31847 10:40:51 Removing intermediate container a0f112f31847 10:40:51 ---> 09edf0441f43 10:40:51 Step 7/24 : RUN apk add --update --no-cache make git 10:40:51 ---> Running in 00a640e7d333 10:40:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:40:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:40:53 OK: 166 MiB in 39 packages 10:40:53 Removing intermediate container 00a640e7d333 10:40:53 ---> 4b35f7c93ba3 10:40:53 Step 8/24 : COPY . . 10:40:54 ---> 8dc5243a75a7 10:40:54 Step 9/24 : RUN ${MAKE} 10:40:54 ---> Running in b843b3e8311f 10:40:55 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 10:40:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:40:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:40:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 10:40:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:41:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.118s coverage: 25.5% of statements 10:41:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.156s coverage: 81.2% of statements 10:41:05 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:41:07 Removing intermediate container b843b3e8311f 10:41:07 ---> 86753480b503 10:41:07 Step 10/24 : FROM scratch 10:41:07 ---> 10:41:07 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:41:07 ---> Running in 47b516bb83dc 10:41:07 Removing intermediate container 47b516bb83dc 10:41:07 ---> 475483b5fd07 10:41:07 Step 12/24 : ENV APP_PORT=49990 10:41:07 ---> Running in 0b3ebf696d01 10:41:07 Removing intermediate container 0b3ebf696d01 10:41:07 ---> 37bdaea636f8 10:41:07 Step 13/24 : EXPOSE $APP_PORT 10:41:07 ---> Running in 55a1c5e67262 10:41:07 Removing intermediate container 55a1c5e67262 10:41:07 ---> 4bec355284fc 10:41:07 Step 14/24 : WORKDIR / 10:41:07 ---> Running in be262036286c 10:41:07 Removing intermediate container be262036286c 10:41:07 ---> 6edd238aa87f 10:41:07 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:41:08 ---> d26b4cb94f14 10:41:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:41:08 ---> 288d728c17d8 10:41:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:41:08 ---> 6818e5513e21 10:41:08 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:41:09 ---> 5a2c472df0d6 10:41:09 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:41:09 ---> 10185c629801 10:41:09 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:41:09 ---> Running in 45d02a7a0963 10:41:09 Removing intermediate container 45d02a7a0963 10:41:09 ---> d0fbabdd7048 10:41:09 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:41:09 ---> Running in 84fef02ff4ab 10:41:09 Removing intermediate container 84fef02ff4ab 10:41:09 ---> 0134aaaaf4f8 10:41:09 Step 22/24 : LABEL arch=amd64 10:41:09 ---> Running in af4731e964ba 10:41:09 Removing intermediate container af4731e964ba 10:41:09 ---> 4d656cceeb35 10:41:09 Step 23/24 : LABEL git_sha=269686d8afe9306e97af2967139c38a4d4e071ee 10:41:09 ---> Running in c28d47afe507 10:41:10 Removing intermediate container c28d47afe507 10:41:10 ---> 7d3fbe8ca42a 10:41:10 Step 24/24 : LABEL version=0.0.0 10:41:10 ---> Running in 1b01db411647 10:41:10 Removing intermediate container 1b01db411647 10:41:10 ---> 9273ac8048ab 10:41:10 [Warning] One or more build-args [ARCH] were not consumed 10:41:10 Successfully built 9273ac8048ab 10:41:10 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 10:41:11 ---> job-cost.sh 10:41:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0C5e 10:41:26 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:41:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.154s coverage: 10.5% of statements 10:41:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.101s coverage: 12.5% of statements 10:41:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:41:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.198s coverage: 32.5% of statements 10:41:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:41:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:41:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:41:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.306s coverage: 57.3% of statements 10:41:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.891s coverage: 6.4% of statements 10:41:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.1% of statements 10:41:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:41:36 GO111MODULE=on go vet ./... 10:41:52 lf-activate-venv(): INFO: Adding /tmp/venv-0C5e/bin to PATH 10:41:52 INFO: No Stack... 10:41:54 INFO: Retrieving Pricing Info for: v1-standard-2 10:41:54 INFO: Archiving Costs [Pipeline] sh 10:41:54 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 10:41:54 + cut -d, -f6 [Pipeline] lock 10:41:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-820-3-stack-cost] 10:41:55 Resource [jenkins-edgexfoundry-device-sdk-go-PR-820-3-stack-cost] did not exist. Created. 10:41:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-820-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:41:55 + echo total: 0.029999999329447746 [Pipeline] stash 10:41:55 Stashed 1 file(s) [Pipeline] } 10:41:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-820-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:42:08 gofmt -l . 10:42:08 [ "`gofmt -l .`" = "" ] 10:42:08 ./bin/test-attribution-txt.sh 10:42:08 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:42:08 $ docker stop --time=1 18fae3c9a3faa33abddef858a83e0c267ae3829f3400ed8aa169b6a75dab39bd 10:42:11 $ docker rm -f 18fae3c9a3faa33abddef858a83e0c267ae3829f3400ed8aa169b6a75dab39bd [Pipeline] // withDockerContainer [Pipeline] sh 10:42:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:42:12 Warning: overwriting stash ‘coverage-report’ 10:42:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:42:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:42:14 + ls -al . 10:42:14 total 224 10:42:14 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 10:42 . 10:42:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 10:38 .. 10:42:14 -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 10:38 .dockerignore 10:42:14 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 10:38 .git 10:42:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 10:38 .github 10:42:14 -rw-rw-r-- 1 jenkins jenkins 138 Mar 16 10:38 .gitignore 10:42:14 -rw-rw-r-- 1 jenkins jenkins 949 Mar 16 10:38 Dockerfile.build 10:42:14 -rw-rw-r-- 1 jenkins jenkins 901 Mar 16 10:38 Jenkinsfile 10:42:14 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 16 10:38 LICENSE 10:42:14 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 16 10:38 Makefile 10:42:14 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 16 10:38 README.md 10:42:14 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 16 10:38 RELEASE-NOTES.txt 10:42:14 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 10:35 VERSION 10:42:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 10:38 bin 10:42:14 -rw-r--r-- 1 jenkins jenkins 102948 Mar 16 10:41 coverage.out 10:42:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 10:38 example 10:42:14 -rw-r--r-- 1 jenkins jenkins 479 Mar 16 10:42 go.mod 10:42:14 -rw-r--r-- 1 jenkins jenkins 17490 Mar 16 10:42 go.sum 10:42:14 drwxrwxr-x 13 jenkins jenkins 4096 Mar 16 10:38 internal 10:42:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 10:38 openapi 10:42:14 drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 10:38 pkg 10:42:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 10:38 snap 10:42:14 -rw-rw-r-- 1 jenkins jenkins 222 Mar 16 10:38 version.go [Pipeline] isUnix [Pipeline] sh 10:42:14 + 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=269686d8afe9306e97af2967139c38a4d4e071ee --label arch=arm64 --label version=0.0.0 . 10:42:15 Sending build context to Docker daemon 2.458MB 10:42:15 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 10:42:15 Step 2/24 : FROM ${BASE} AS builder 10:42:15 ---> 1d6dcb8af6c2 10:42:15 Step 3/24 : ARG MAKE='make build' 10:42:15 ---> Running in f1efa164ccfb 10:42:15 Removing intermediate container f1efa164ccfb 10:42:15 ---> 03f76341d779 10:42:15 Step 4/24 : WORKDIR /device-sdk-go 10:42:16 ---> Running in 53fda80ed6d7 10:42:16 Removing intermediate container 53fda80ed6d7 10:42:16 ---> 70eda54dab9f 10:42:16 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:42:16 ---> Running in 96fd5289e6e7 10:42:16 Removing intermediate container 96fd5289e6e7 10:42:16 ---> 76511a2a7cfb 10:42:16 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:42:17 ---> Running in 87e43b10ea71 10:42:19 Removing intermediate container 87e43b10ea71 10:42:19 ---> a1afd21cb6a7 10:42:19 Step 7/24 : RUN apk add --update --no-cache make git 10:42:19 ---> Running in e094bb55c875 10:42:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:42:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:42:21 OK: 142 MiB in 39 packages 10:42:23 Removing intermediate container e094bb55c875 10:42:23 ---> 187171bd421b 10:42:23 Step 8/24 : COPY . . 10:42:24 ---> b7c75ec8ccdb 10:42:24 Step 9/24 : RUN ${MAKE} 10:42:24 ---> Running in 1a30b40a0e54 10:42:25 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 10:42:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:42:53 Removing intermediate container 1a30b40a0e54 10:42:53 ---> 59a780c66027 10:42:53 Step 10/24 : FROM scratch 10:42:53 ---> 10:42:53 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:42:53 ---> Running in ff4d67e475a7 10:42:53 Removing intermediate container ff4d67e475a7 10:42:53 ---> 8e57c12dcc0c 10:42:53 Step 12/24 : ENV APP_PORT=49990 10:42:53 ---> Running in 0c641007b31e 10:42:54 Removing intermediate container 0c641007b31e 10:42:54 ---> 62a6663a3685 10:42:54 Step 13/24 : EXPOSE $APP_PORT 10:42:54 ---> Running in 59f53d4820dc 10:42:54 Removing intermediate container 59f53d4820dc 10:42:54 ---> a5585d7a68b8 10:42:54 Step 14/24 : WORKDIR / 10:42:54 ---> Running in 035077855cfd 10:42:55 Removing intermediate container 035077855cfd 10:42:55 ---> bf25bfea67c2 10:42:55 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:42:56 ---> f265432ba2dc 10:42:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:42:56 ---> 5b31627a7c5a 10:42:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:42:57 ---> 2d9d9ae9a7db 10:42:57 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:42:58 ---> 8091f689fe38 10:42:58 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:42:59 ---> f493b05a8a31 10:42:59 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:42:59 ---> Running in c76ac9a92d29 10:42:59 Removing intermediate container c76ac9a92d29 10:42:59 ---> c3738e381f3a 10:42:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:42:59 ---> Running in 341d79c674b6 10:43:00 Removing intermediate container 341d79c674b6 10:43:00 ---> 0d50267822ab 10:43:00 Step 22/24 : LABEL arch=arm64 10:43:00 ---> Running in 7f644eae44b3 10:43:00 Removing intermediate container 7f644eae44b3 10:43:00 ---> 08d3b82432ef 10:43:00 Step 23/24 : LABEL git_sha=269686d8afe9306e97af2967139c38a4d4e071ee 10:43:01 ---> Running in be653b9dbf2c 10:43:01 Removing intermediate container be653b9dbf2c 10:43:01 ---> 2a853a3ef447 10:43:01 Step 24/24 : LABEL version=0.0.0 10:43:01 ---> Running in 5eedf9227a79 10:43:01 Removing intermediate container 5eedf9227a79 10:43:01 ---> a41f51c2f4f8 10:43:02 [Warning] One or more build-args [ARCH] were not consumed 10:43:02 Successfully built a41f51c2f4f8 10:43:02 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 10:43:03 ---> job-cost.sh 10:43:03 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-HeSB 10:43:42 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:45:18 lf-activate-venv(): INFO: Adding /tmp/venv-HeSB/bin to PATH 10:45:18 INFO: No Stack... 10:45:18 INFO: Retrieving Pricing Info for: lf-standard-4 10:45:18 INFO: Archiving Costs [Pipeline] sh 10:45:19 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 10:45:19 + cut -d, -f6 [Pipeline] lock 10:45:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-820-3-stack-cost] 10:45:19 Resource [jenkins-edgexfoundry-device-sdk-go-PR-820-3-stack-cost] did not exist. Created. 10:45:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-820-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:45:19 /w/workspace/device-sdk-go/3@tmp/durable-44afcd3c/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-44afcd3c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 10:45:20 + echo total: 0.20999999344348907 [Pipeline] stash 10:45:20 Warning: overwriting stash ‘stack-cost’ 10:45:20 Stashed 1 file(s) [Pipeline] } 10:45:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-820-3-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 10:45:21 provisioning config files... 10:45:21 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config6671498763859069466tmp [Pipeline] { [Pipeline] sh 10:45:22 + set +x 10:45:22 + bash -s -- 10:45:22 + curl -s https://codecov.io/bash 10:45:22 10:45:22 _____ _ 10:45:22 / ____| | | 10:45:22 | | ___ __| | ___ ___ _____ __ 10:45:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:45:22 | |___| (_) | (_| | __/ (_| (_) \ V / 10:45:22 \_____\___/ \__,_|\___|\___\___/ \_/ 10:45:22 Bash-20210309-2b87ace 10:45:22 10:45:22 10:45:22 ==> git version 2.24.3 found 10:45:22 ==> 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 10:45:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:45:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:45:22 ==> Jenkins CI detected. 10:45:22 project root: . 10:45:22 --> token set from env 10:45:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:45:22 ==> Running gcov in . (disable via -X gcov) 10:45:22 ==> Python coveragepy not found 10:45:22 ==> Searching for coverage reports in: 10:45:22 + . 10:45:22 -> Found 1 reports 10:45:22 ==> Detecting git/mercurial file structure 10:45:22 ==> Reading reports 10:45:22 + ./coverage.out bytes=102948 10:45:22 ==> Appending adjustments 10:45:22 https://docs.codecov.io/docs/fixing-reports 10:45:22 + Found adjustments 10:45:22 ==> Gzipping contents 10:45:22 16K /tmp/codecov.Z4xlPq.gz 10:45:22 ==> Uploading reports 10:45:22 url: https://codecov.io 10:45:22 query: branch=PR-820&commit=269686d8afe9306e97af2967139c38a4d4e071ee&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-820%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=820&job=&cmd_args= 10:45:22 -> Pinging Codecov 10:45:22 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-820&commit=269686d8afe9306e97af2967139c38a4d4e071ee&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-820%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=820&job=&cmd_args= 10:45:23 -> Uploading to 10:45:23 https://storage.googleapis.com/codecov/v4/raw/2021-03-16/7E55EF52A471D76F132DFD9A03CDDE97/269686d8afe9306e97af2967139c38a4d4e071ee/b718ee9a-c489-42ae-bc51-a490a9a9ed90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210316T104523Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3338540fda892bbb07ed160e11af6a90bb0b9f0cee9c961b6af78752366b2e1e 10:45:23 % Total % Received % Xferd Average Speed Time Time Time Current 10:45:23 Dload Upload Total Spent Left Speed 10:45:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13845 0 0 100 13845 0 31344 --:--:-- --:--:-- --:--:-- 31323 100 13845 0 0 100 13845 0 31331 --:--:-- --:--:-- --:--:-- 31323 10:45:23 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/269686d8afe9306e97af2967139c38a4d4e071ee [Pipeline] } 10:45:23 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 10:45:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:45:26 ---> package-listing.sh 10:45:26 ++ facter osfamily 10:45:26 ++ tr '[:upper:]' '[:lower:]' 10:45:26 + OS_FAMILY=redhat 10:45:26 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-820 10:45:26 + START_PACKAGES=/tmp/packages_start.txt 10:45:26 + END_PACKAGES=/tmp/packages_end.txt 10:45:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:45:26 + PACKAGES=/tmp/packages_start.txt 10:45:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-820 ']' 10:45:26 + PACKAGES=/tmp/packages_end.txt 10:45:26 + case "${OS_FAMILY}" in 10:45:26 + rpm -qa 10:45:26 + sort 10:45:32 + '[' -f /tmp/packages_start.txt ']' 10:45:32 + '[' -f /tmp/packages_end.txt ']' 10:45:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:45:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-820 ']' 10:45:32 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-820/archives/ 10:45:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-820/archives/ [Pipeline] echo 10:45:32 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-820/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:45:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:45:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:45:32 10:45:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:45:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:45:32 alpine: Pulling from edgex-lftools-log-publisher 10:45:32 df20fa9351a1: Pulling fs layer 10:45:32 36b3adc4ff6f: Pulling fs layer 10:45:32 8ad3a11d3b57: Pulling fs layer 10:45:32 46f8f816bc3b: Pulling fs layer 10:45:32 93b61091891f: Pulling fs layer 10:45:32 93b9cdb0e59b: Pulling fs layer 10:45:32 5e14af77c1be: Pulling fs layer 10:45:32 01666e4c0597: Pulling fs layer 10:45:32 aa168da1d23b: Pulling fs layer 10:45:32 46f8f816bc3b: Waiting 10:45:32 5e14af77c1be: Waiting 10:45:32 93b61091891f: Waiting 10:45:32 93b9cdb0e59b: Waiting 10:45:32 01666e4c0597: Waiting 10:45:32 aa168da1d23b: Waiting 10:45:32 36b3adc4ff6f: Verifying Checksum 10:45:32 36b3adc4ff6f: Download complete 10:45:32 46f8f816bc3b: Verifying Checksum 10:45:32 46f8f816bc3b: Download complete 10:45:33 df20fa9351a1: Verifying Checksum 10:45:33 df20fa9351a1: Download complete 10:45:33 93b9cdb0e59b: Verifying Checksum 10:45:33 93b9cdb0e59b: Download complete 10:45:33 5e14af77c1be: Verifying Checksum 10:45:33 5e14af77c1be: Download complete 10:45:33 93b61091891f: Download complete 10:45:33 01666e4c0597: Verifying Checksum 10:45:33 01666e4c0597: Download complete 10:45:33 8ad3a11d3b57: Verifying Checksum 10:45:33 8ad3a11d3b57: Download complete 10:45:33 df20fa9351a1: Pull complete 10:45:33 36b3adc4ff6f: Pull complete 10:45:34 8ad3a11d3b57: Pull complete 10:45:35 46f8f816bc3b: Pull complete 10:45:35 aa168da1d23b: Verifying Checksum 10:45:35 aa168da1d23b: Download complete 10:45:35 93b61091891f: Pull complete 10:45:35 93b9cdb0e59b: Pull complete 10:45:35 5e14af77c1be: Pull complete 10:45:35 01666e4c0597: Pull complete 10:45:42 aa168da1d23b: Pull complete 10:45:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:45:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:45:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:45:42 prd-centos7-docker-4c-2g-29984 does not seem to be running inside a container 10:45:42 $ 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-820/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-820 -v /w/workspace/dgexfoundry_device-sdk-go_PR-820:/w/workspace/dgexfoundry_device-sdk-go_PR-820:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-820@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 10:45:46 $ docker top b5c6633c76e9d5e30e7185c575dc38250c24e36e40ea9d3ec9fc1b49ba394fdd -eo pid,comm [Pipeline] { [Pipeline] sh 10:45:46 + touch /tmp/pre-build-complete [Pipeline] sh 10:45:47 + mkdir -p /var/log/sa [Pipeline] sh 10:45:47 + ls /var/log/sa-host 10:45:47 + sadf -c /var/log/sa-host/sa16 10:45:47 file_magic: OK 10:45:47 HZ: Using current value: 100 10:45:47 file_header: OK 10:45:47 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 10:45:47 Statistics: 10:45:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:45:47 File successfully converted to sysstat format version 12.2.1 10:45:47 + sadf -c /var/log/sa-host/sa23 10:45:47 file_magic: OK 10:45:47 HZ: Using current value: 100 10:45:47 file_header: OK 10:45:47 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 10:45:47 Statistics: 10:45:47 Hnuu...uuuununununu... 10:45:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:45:48 provisioning config files... 10:45:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config1221236564477218180tmp [Pipeline] { [Pipeline] echo 10:45:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:45:48 ---> create-netrc.sh [Pipeline] } 10:45:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:45:48 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:45:48 ---> python-tools-install.sh [Pipeline] echo 10:45:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:45:49 ---> sudo-logs.sh 10:45:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:45:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:45:49 ---> job-cost.sh 10:45:49 lf-activate-venv: SKIPPING 10:45:49 DEBUG: total: 0.20999999344348907 10:45:49 INFO: Retrieving Stack Cost... 10:45:50 INFO: Retrieving Pricing Info for: v1-standard-2 10:45:51 INFO: Archiving Costs [Pipeline] echo 10:45:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:45:51 ---> logs-deploy.sh 10:45:51 lf-activate-venv: SKIPPING 10:45:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-820/3 10:45:51 INFO: archiving workspace using pattern(s): 10:45:53 Archives upload complete. 10:45:53 INFO: archiving logs to Nexus 10:45:54 ---> uname -a: 10:45:54 Linux prd-centos7-docker-4c-2g-29984.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 10:45:54 10:45:54 10:45:54 ---> lscpu: 10:45:54 Architecture: x86_64 10:45:54 CPU op-mode(s): 32-bit, 64-bit 10:45:54 Byte Order: Little Endian 10:45:54 Address sizes: 40 bits physical, 48 bits virtual 10:45:54 CPU(s): 4 10:45:54 On-line CPU(s) list: 0-3 10:45:54 Thread(s) per core: 1 10:45:54 Core(s) per socket: 1 10:45:54 Socket(s): 4 10:45:54 NUMA node(s): 1 10:45:54 Vendor ID: GenuineIntel 10:45:54 CPU family: 6 10:45:54 Model: 44 10:45:54 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 10:45:54 Stepping: 1 10:45:54 CPU MHz: 2933.438 10:45:54 BogoMIPS: 5866.87 10:45:54 Virtualization: VT-x 10:45:54 Hypervisor vendor: KVM 10:45:54 Virtualization type: full 10:45:54 L1d cache: 128 KiB 10:45:54 L1i cache: 128 KiB 10:45:54 L2 cache: 16 MiB 10:45:54 L3 cache: 64 MiB 10:45:54 NUMA node0 CPU(s): 0-3 10:45:54 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 10:45:54 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 10:45:54 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 10:45:54 Vulnerability Meltdown: Mitigation; PTI 10:45:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:45:54 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 10:45:54 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 10:45:54 Vulnerability Srbds: Not affected 10:45:54 Vulnerability Tsx async abort: Not affected 10:45:54 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 10:45:54 10:45:54 10:45:54 ---> nproc: 10:45:54 4 10:45:54 10:45:54 10:45:54 ---> df -h: 10:45:54 Filesystem Size Used Available Use% Mounted on 10:45:54 overlay 50.0G 7.3G 42.7G 15% / 10:45:54 tmpfs 64.0M 0 64.0M 0% /dev 10:45:54 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 10:45:54 shm 64.0M 0 64.0M 0% /dev/shm 10:45:54 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 10:45:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 10:45:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 10:45:54 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 10:45:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 10:45:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 10:45:54 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 10:45:54 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 10:45:54 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-820 10:45:54 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp 10:45:54 10:45:54 10:45:54 ---> free -m: 10:45:54 total used free shared buff/cache available 10:45:54 Mem: 1837 725 110 0 1001 1007 10:45:54 Swap: 1023 1 1022 10:45:54 10:45:54 10:45:54 ---> ip addr: 10:45:54 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 10:45:54 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 10:45:54 inet 127.0.0.1/8 scope host lo 10:45:54 valid_lft forever preferred_lft forever 10:45:54 inet6 ::1/128 scope host 10:45:54 valid_lft forever preferred_lft forever 10:45:54 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 10:45:54 link/ether fa:16:3e:e1:81:e3 brd ff:ff:ff:ff:ff:ff 10:45:54 inet 10.30.123.29/23 brd 10.30.123.255 scope global dynamic eth0 10:45:54 valid_lft 85744sec preferred_lft 85744sec 10:45:54 inet6 fe80::f816:3eff:fee1:81e3/64 scope link 10:45:54 valid_lft forever preferred_lft forever 10:45:54 3: docker0: mtu 1500 qdisc noqueue state DOWN 10:45:54 link/ether 02:42:4f:51:16:f2 brd ff:ff:ff:ff:ff:ff 10:45:54 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 10:45:54 valid_lft forever preferred_lft forever 10:45:54 inet6 fe80::42:4fff:fe51:16f2/64 scope link 10:45:54 valid_lft forever preferred_lft forever 10:45:54 10:45:54 10:45:54 ---> sar -b -r -n DEV: 10:45:54 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/16/21 _x86_64_ (4 CPU) 10:45:54 10:45:54 10:34:47 LINUX RESTART (4 CPU) 10:45:54 10:45:54 10:36:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:45:54 10:37:01 2.85 0.02 2.83 0.00 0.53 101.87 0.00 10:45:54 10:38:01 0.38 0.00 0.38 0.00 0.00 5.85 0.00 10:45:54 10:39:01 0.32 0.00 0.32 0.00 0.00 4.30 0.00 10:45:54 10:40:01 0.62 0.00 0.62 0.00 0.00 7.06 0.00 10:45:54 10:41:01 0.52 0.00 0.52 0.00 0.00 7.24 0.00 10:45:54 10:42:01 0.17 0.00 0.17 0.00 0.00 1.62 0.00 10:45:54 10:43:01 0.23 0.00 0.23 0.00 0.00 1.87 0.00 10:45:54 10:44:01 0.25 0.00 0.25 0.00 0.00 3.41 0.00 10:45:54 10:45:01 0.23 0.00 0.23 0.00 0.00 3.28 0.00 10:45:54 Average: 0.62 0.00 0.62 0.00 0.06 15.17 0.00 10:45:54 10:45:54 10:36:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:45:54 10:37:01 148516 0 622140 33.07 2620 1108268 1085468 37.05 435524 1099424 8 10:45:54 10:38:01 149568 0 621080 33.01 2620 1108276 1074164 36.66 431656 1102224 12 10:45:54 10:39:01 146852 0 623792 33.15 2620 1108280 1074308 36.66 442960 1093700 8 10:45:54 10:40:01 148256 0 622388 33.08 2620 1108280 1074164 36.66 440036 1095576 8 10:45:54 10:41:01 146488 0 624148 33.17 2620 1108288 1074224 36.66 444076 1093236 8 10:45:54 10:42:01 146888 0 623744 33.15 2620 1108292 1074164 36.66 443764 1093236 8 10:45:54 10:43:01 146364 0 624264 33.18 2620 1108296 1074260 36.66 444260 1093232 20 10:45:54 10:44:01 147168 0 623456 33.14 2620 1108300 1074164 36.66 443900 1093232 20 10:45:54 10:45:01 146920 0 623696 33.15 2620 1108308 1074164 36.66 443656 1093236 12 10:45:54 Average: 147447 0 623190 33.12 2620 1108288 1075453 36.70 441092 1095233 12 10:45:54 10:45:54 10:36:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:45:54 10:37:01 eth0 2.50 1.22 2.12 0.08 0.00 0.00 0.00 0.00 10:45:54 10:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:38:01 eth0 1.12 0.13 0.09 0.01 0.00 0.00 0.00 0.00 10:45:54 10:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:39:01 eth0 1.18 0.47 0.56 0.39 0.00 0.00 0.00 0.00 10:45:54 10:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:40:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 10:45:54 10:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:41:01 eth0 0.25 0.18 0.14 0.07 0.00 0.00 0.00 0.00 10:45:54 10:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:42:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 10:45:54 10:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:43:01 eth0 0.50 0.37 0.27 0.20 0.00 0.00 0.00 0.00 10:45:54 10:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:44:01 eth0 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:45:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 10:45:54 10:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 Average: eth0 0.65 0.29 0.36 0.09 0.00 0.00 0.00 0.00 10:45:54 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:45:54 10:45:54 10:45:54 ---> sar -P ALL: 10:45:54 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/16/21 _x86_64_ (4 CPU) 10:45:54 10:45:54 10:34:47 LINUX RESTART (4 CPU) 10:45:54 10:45:54 10:36:01 CPU %user %nice %system %iowait %steal %idle 10:45:54 10:37:01 all 0.15 0.00 0.07 0.00 0.00 99.77 10:45:54 10:37:01 0 0.05 0.00 0.07 0.00 0.00 99.88 10:45:54 10:37:01 1 0.40 0.00 0.05 0.00 0.00 99.55 10:45:54 10:37:01 2 0.08 0.00 0.07 0.00 0.02 99.83 10:45:54 10:37:01 3 0.08 0.00 0.10 0.00 0.00 99.82 10:45:54 10:38:01 all 0.16 0.00 0.04 0.00 0.00 99.80 10:45:54 10:38:01 0 0.05 0.00 0.07 0.00 0.00 99.88 10:45:54 10:38:01 1 0.52 0.00 0.02 0.00 0.00 99.47 10:45:54 10:38:01 2 0.03 0.00 0.02 0.00 0.00 99.95 10:45:54 10:38:01 3 0.05 0.00 0.05 0.00 0.00 99.90 10:45:54 10:39:01 all 0.14 0.00 0.05 0.00 0.00 99.80 10:45:54 10:39:01 0 0.05 0.00 0.03 0.00 0.00 99.92 10:45:54 10:39:01 1 0.42 0.00 0.03 0.00 0.00 99.55 10:45:54 10:39:01 2 0.05 0.00 0.08 0.00 0.00 99.87 10:45:54 10:39:01 3 0.05 0.00 0.05 0.00 0.02 99.88 10:45:54 10:40:01 all 0.18 0.00 0.03 0.00 0.00 99.79 10:45:54 10:40:01 0 0.05 0.00 0.03 0.00 0.00 99.92 10:45:54 10:40:01 1 0.53 0.00 0.02 0.00 0.00 99.45 10:45:54 10:40:01 2 0.05 0.00 0.02 0.00 0.00 99.93 10:45:54 10:40:01 3 0.08 0.00 0.07 0.00 0.00 99.85 10:45:54 10:41:01 all 0.16 0.00 0.05 0.00 0.00 99.78 10:45:54 10:41:01 0 0.07 0.00 0.05 0.00 0.00 99.88 10:45:54 10:41:01 1 0.50 0.00 0.02 0.00 0.02 99.47 10:45:54 10:41:01 2 0.03 0.00 0.07 0.00 0.00 99.90 10:45:54 10:41:01 3 0.05 0.00 0.08 0.00 0.00 99.87 10:45:54 10:42:01 all 0.15 0.00 0.03 0.00 0.00 99.82 10:45:54 10:42:01 0 0.03 0.00 0.03 0.00 0.02 99.92 10:45:54 10:42:01 1 0.53 0.00 0.05 0.00 0.00 99.42 10:45:54 10:42:01 2 0.02 0.00 0.02 0.00 0.00 99.97 10:45:54 10:42:01 3 0.02 0.00 0.00 0.00 0.00 99.98 10:45:54 10:43:01 all 0.17 0.00 0.03 0.00 0.00 99.79 10:45:54 10:43:01 0 0.05 0.00 0.03 0.00 0.00 99.92 10:45:54 10:43:01 1 0.53 0.00 0.02 0.00 0.00 99.45 10:45:54 10:43:01 2 0.05 0.00 0.03 0.00 0.02 99.90 10:45:54 10:43:01 3 0.07 0.00 0.05 0.00 0.00 99.88 10:45:54 10:44:01 all 0.09 0.00 0.05 0.00 0.00 99.86 10:45:54 10:44:01 0 0.02 0.00 0.03 0.00 0.00 99.95 10:45:54 10:44:01 1 0.28 0.00 0.08 0.00 0.00 99.63 10:45:54 10:44:01 2 0.02 0.00 0.02 0.00 0.00 99.97 10:45:54 10:44:01 3 0.05 0.00 0.05 0.00 0.00 99.90 10:45:54 10:45:01 all 0.10 0.00 0.03 0.00 0.00 99.87 10:45:54 10:45:01 0 0.07 0.00 0.02 0.00 0.00 99.92 10:45:54 10:45:01 1 0.03 0.00 0.03 0.00 0.00 99.93 10:45:54 10:45:01 2 0.03 0.00 0.02 0.00 0.00 99.95 10:45:54 10:45:01 3 0.27 0.00 0.05 0.00 0.02 99.67 10:45:54 Average: all 0.15 0.00 0.04 0.00 0.00 99.81 10:45:54 Average: 0 0.05 0.00 0.04 0.00 0.00 99.91 10:45:54 Average: 1 0.42 0.00 0.04 0.00 0.00 99.55 10:45:54 Average: 2 0.04 0.00 0.04 0.00 0.00 99.92 10:45:54 Average: 3 0.08 0.00 0.06 0.00 0.00 99.86 10:45:54 10:45:54 10:45:54