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 3a954dbae30259bfc5325554c625ed2efa43968b+79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (3c3e73a0c61365bc54cb802a4e530c99d47923ec) 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-30121 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 3a954dbae30259bfc5325554c625ed2efa43968b > 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 3a954dbae30259bfc5325554c625ed2efa43968b # timeout=10 Merge succeeded, producing 3a954dbae30259bfc5325554c625ed2efa43968b Checking out Revision 3a954dbae30259bfc5325554c625ed2efa43968b (PR-820) > 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 3a954dbae30259bfc5325554c625ed2efa43968b # timeout=10 Commit message: "refactor: remove v1 code and unused constants" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:34:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:34:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:34:01 ========================================================= 04:34:01 EdgeX Global Pipelines Version Info 04:34:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cd03f89f32e170180e11f7880e36063cf87ff138 # timeout=10 04:34:04 ------------------- 04:34:04 stable info: 04:34:04 ------------------- 04:34:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:34:04 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 04:34:04 Message: update stable to v1.0.184 04:34:06 ------------------- 04:34:06 experimental info: 04:34:06 ------------------- 04:34:06 Commited By: **** collab-it+edgex@linuxfoundation.org 04:34:06 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 04:34:06 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:34:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:34:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:34:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:34:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:34:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:34:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:34:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:34:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:34:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:34:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:34:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:34:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 04:34:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:34:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:34:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:34:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:34:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-820 [Pipeline] echo 04:34:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-820 [Pipeline] echo 04:34:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-820 [Pipeline] echo 04:34:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3a954dbae30259bfc5325554c625ed2efa43968b [Pipeline] echo 04:34:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3a954db [Pipeline] echo 04:34:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:34:09 provisioning config files... 04:34:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config6553068685127632119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:34:10 ---> docker-login.sh 04:34:10 nexus3.edgexfoundry.org:10001 04:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:12 Configure a credential helper to remove this warning. See 04:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:12 04:34:12 Login Succeeded 04:34:12 nexus3.edgexfoundry.org:10002 04:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:13 Configure a credential helper to remove this warning. See 04:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:13 04:34:13 Login Succeeded 04:34:13 nexus3.edgexfoundry.org:10003 04:34:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:14 Configure a credential helper to remove this warning. See 04:34:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:14 04:34:14 Login Succeeded 04:34:14 nexus3.edgexfoundry.org:10004 04:34:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:15 Configure a credential helper to remove this warning. See 04:34:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:15 04:34:15 Login Succeeded 04:34:15 docker.io 04:34:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:15 Configure a credential helper to remove this warning. See 04:34:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:15 04:34:15 Login Succeeded 04:34:15 ---> docker-login.sh ends [Pipeline] } 04:34:15 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 04:34:16 + git log --format=format:%s -1 3a954dbae30259bfc5325554c625ed2efa43968b [Pipeline] echo 04:34:17 GIT_COMMIT: 3a954dbae30259bfc5325554c625ed2efa43968b, Commit Message: refactor: remove v1 code and unused constants [Pipeline] echo 04:34:17 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:34:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:34:17 04:34:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:34:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:34:18 latest: Pulling from edgex-devops/git-semver 04:34:18 31603596830f: Pulling fs layer 04:34:18 2a8b12db71e7: Pulling fs layer 04:34:18 6ca5941a6612: Pulling fs layer 04:34:18 ecc8261a40a4: Pulling fs layer 04:34:18 ecc8261a40a4: Waiting 04:34:18 2a8b12db71e7: Verifying Checksum 04:34:18 2a8b12db71e7: Download complete 04:34:18 31603596830f: Verifying Checksum 04:34:18 31603596830f: Download complete 04:34:18 ecc8261a40a4: Verifying Checksum 04:34:18 ecc8261a40a4: Download complete 04:34:18 6ca5941a6612: Verifying Checksum 04:34:18 6ca5941a6612: Download complete 04:34:19 31603596830f: Pull complete 04:34:19 2a8b12db71e7: Pull complete 04:34:22 6ca5941a6612: Pull complete 04:34:22 ecc8261a40a4: Pull complete 04:34:22 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:34:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:34:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:34:23 prd-centos7-docker-4c-2g-30121 does not seem to be running inside a container 04:34:23 $ 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 04:34:27 $ docker top 661c86d3a7251a16b85d4f96d72fd64dfc38fefee7cac0ccdfd14a33e0d099c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:34:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:34:28 [ssh-agent] Looking for ssh-agent implementation... 04:34:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:34:29 $ docker exec 661c86d3a7251a16b85d4f96d72fd64dfc38fefee7cac0ccdfd14a33e0d099c7 ssh-agent 04:34:29 SSH_AUTH_SOCK=/tmp/ssh-A46RBltEsEIP/agent.11 04:34:29 SSH_AGENT_PID=16 04:34:29 Running ssh-add (command line suppressed) 04:34:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_8050261871957917285.key (/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_8050261871957917285.key) 04:34:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:34:31 + git tag --points-at HEAD [Pipeline] } 04:34:31 $ docker exec --env ******** --env ******** 661c86d3a7251a16b85d4f96d72fd64dfc38fefee7cac0ccdfd14a33e0d099c7 ssh-agent -k 04:34:31 unset SSH_AUTH_SOCK; 04:34:31 unset SSH_AGENT_PID; 04:34:31 echo Agent pid 16 killed; 04:34:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:34:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:34:31 [ssh-agent] Looking for ssh-agent implementation... 04:34:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:34:32 $ docker exec 661c86d3a7251a16b85d4f96d72fd64dfc38fefee7cac0ccdfd14a33e0d099c7 ssh-agent 04:34:32 SSH_AUTH_SOCK=/tmp/ssh-8fxhC7UbkCQC/agent.45 04:34:32 SSH_AGENT_PID=50 04:34:32 Running ssh-add (command line suppressed) 04:34:32 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_5801904324769906702.key (/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/private_key_5801904324769906702.key) 04:34:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:34:33 + git semver init 04:34:33 # -> Open(): unable to determine branch for HEAD 04:34:33 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-820/.git 04:34:33 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-820 04:34:33 # $SEMVER_REMOTE_NAME = origin 04:34:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:34:33 # $SEMVER_USER_NAME = edgex-jenkins 04:34:33 # $SEMVER_BRANCH = PR-820 04:34:33 # $SEMVER_TEMP = /tmp/semver-262298151 04:34:33 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:34:35 # '/tmp/semver-262298151' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-820/.semver' 04:34:35 # -> Force: false 04:34:35 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-820/.semver [Pipeline] } 04:34:35 $ docker exec --env ******** --env ******** 661c86d3a7251a16b85d4f96d72fd64dfc38fefee7cac0ccdfd14a33e0d099c7 ssh-agent -k 04:34:35 unset SSH_AUTH_SOCK; 04:34:35 unset SSH_AGENT_PID; 04:34:35 echo Agent pid 50 killed; 04:34:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:34:36 + git semver [Pipeline] } 04:34:37 $ docker stop --time=1 661c86d3a7251a16b85d4f96d72fd64dfc38fefee7cac0ccdfd14a33e0d099c7 04:34:38 $ docker rm -f 661c86d3a7251a16b85d4f96d72fd64dfc38fefee7cac0ccdfd14a33e0d099c7 [Pipeline] // withDockerContainer [Pipeline] sh 04:34:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:34:41 Stashed 1 file(s) [Pipeline] echo 04:34:41 [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 04:34:56 Still waiting to schedule task 04:34:56 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:34:56 Still waiting to schedule task 04:34:56 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:36:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30122 in /w/workspace/dgexfoundry_device-sdk-go_PR-820 [Pipeline] { [Pipeline] ws 04:36:47 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 04:36:53 using credential edgex-jenkins-ssh 04:36:53 Cloning the remote Git repository 04:36:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:36:53 > git init /w/workspace/device-sdk-go/6 # timeout=10 04:36:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:36:53 > git --version # timeout=10 04:36:53 > git --version # 'git version 2.17.1' 04:36:53 using GIT_SSH to set credentials SSH Credentials for GitHub 04:36:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:36:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:36:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:36:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:36:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:36:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:36:54 > 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 04:36:55 Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 3a954dbae30259bfc5325554c625ed2efa43968b 04:36:55 Merge succeeded, producing 3a954dbae30259bfc5325554c625ed2efa43968b 04:36:55 Checking out Revision 3a954dbae30259bfc5325554c625ed2efa43968b (PR-820) 04:36:55 > git config core.sparsecheckout # timeout=10 04:36:55 > git checkout -f 3a954dbae30259bfc5325554c625ed2efa43968b # timeout=10 04:36:55 > git remote # timeout=10 04:36:55 > git config --get remote.origin.url # timeout=10 04:36:55 using GIT_SSH to set credentials SSH Credentials for GitHub 04:36:55 > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 04:36:55 > git rev-parse HEAD^{commit} # timeout=10 04:36:55 > git config core.sparsecheckout # timeout=10 04:36:55 > git checkout -f 3a954dbae30259bfc5325554c625ed2efa43968b # timeout=10 04:37:00 Commit message: "refactor: remove v1 code and unused constants" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:37:01 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:37:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:37:02 + + true 04:37:02 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:37:04 provisioning config files... 04:37:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config1512274583703993286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:05 ---> docker-login.sh 04:37:05 nexus3.edgexfoundry.org:10001 04:37:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:06 Configure a credential helper to remove this warning. See 04:37:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:06 04:37:06 Login Succeeded 04:37:06 nexus3.edgexfoundry.org:10002 04:37:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:07 Configure a credential helper to remove this warning. See 04:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:07 04:37:07 Login Succeeded 04:37:07 nexus3.edgexfoundry.org:10003 04:37:07 Running on prd-centos7-docker-4c-2g-30123 in /w/workspace/dgexfoundry_device-sdk-go_PR-820 [Pipeline] { [Pipeline] ws 04:37:07 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 04:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:07 Configure a credential helper to remove this warning. See 04:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:07 04:37:07 Login Succeeded 04:37:07 nexus3.edgexfoundry.org:10004 04:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:08 Configure a credential helper to remove this warning. See 04:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:08 04:37:08 Login Succeeded 04:37:08 docker.io 04:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:08 Configure a credential helper to remove this warning. See 04:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:08 04:37:08 Login Succeeded 04:37:08 ---> docker-login.sh ends [Pipeline] } 04:37:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:37:09 ========================================================= 04:37:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:37:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:37:09 using credential edgex-jenkins-ssh 04:37:09 Cloning the remote Git repository 04:37:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:37:09 > git init /w/workspace/device-sdk-go/6 # timeout=10 04:37:09 + 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 . 04:37:10 Sending build context to Docker daemon 2.362MB 04:37:10 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:37:10 Step 2/8 : FROM ${BASE} 04:37:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:37:10 5f621e34cdf4: Pulling fs layer 04:37:10 a4357932f1b6: Pulling fs layer 04:37:10 18c013af1878: Pulling fs layer 04:37:10 00ac8860ef70: Pulling fs layer 04:37:10 63d7cb157983: Pulling fs layer 04:37:10 b116817d02f9: Pulling fs layer 04:37:10 745a02a5169b: Pulling fs layer 04:37:10 00ac8860ef70: Waiting 04:37:10 63d7cb157983: Waiting 04:37:10 b116817d02f9: Waiting 04:37:10 745a02a5169b: Waiting 04:37:10 18c013af1878: Verifying Checksum 04:37:10 18c013af1878: Download complete 04:37:10 a4357932f1b6: Verifying Checksum 04:37:10 a4357932f1b6: Download complete 04:37:10 63d7cb157983: Verifying Checksum 04:37:10 63d7cb157983: Download complete 04:37:10 b116817d02f9: Download complete 04:37:10 5f621e34cdf4: Verifying Checksum 04:37:10 5f621e34cdf4: Download complete 04:37:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:37:09 > git --version # timeout=10 04:37:09 > git --version # 'git version 2.24.3' 04:37:09 using GIT_SSH to set credentials SSH Credentials for GitHub 04:37:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:37:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:37:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:37:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:37:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:37:10 using GIT_SSH to set credentials SSH Credentials for GitHub 04:37:10 > 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 04:37:10 5f621e34cdf4: Pull complete 04:37:11 Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 3a954dbae30259bfc5325554c625ed2efa43968b 04:37:11 Merge succeeded, producing 3a954dbae30259bfc5325554c625ed2efa43968b 04:37:11 Checking out Revision 3a954dbae30259bfc5325554c625ed2efa43968b (PR-820) 04:37:11 a4357932f1b6: Pull complete 04:37:11 18c013af1878: Pull complete 04:37:11 > git config core.sparsecheckout # timeout=10 04:37:11 > git checkout -f 3a954dbae30259bfc5325554c625ed2efa43968b # timeout=10 04:37:11 > git remote # timeout=10 04:37:11 > git config --get remote.origin.url # timeout=10 04:37:11 using GIT_SSH to set credentials SSH Credentials for GitHub 04:37:11 > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 04:37:11 > git rev-parse HEAD^{commit} # timeout=10 04:37:11 > git config core.sparsecheckout # timeout=10 04:37:11 > git checkout -f 3a954dbae30259bfc5325554c625ed2efa43968b # timeout=10 04:37:13 745a02a5169b: Download complete 04:37:15 Commit message: "refactor: remove v1 code and unused constants" 04:37:15 00ac8860ef70: Verifying Checksum 04:37:15 00ac8860ef70: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:37:16 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:37:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:37:17 + sudo service docker restart 04:37:17 + true 04:37:17 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:37:19 provisioning config files... 04:37:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config428470071868340227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:19 ---> docker-login.sh 04:37:19 nexus3.edgexfoundry.org:10001 04:37:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:19 Configure a credential helper to remove this warning. See 04:37:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:19 04:37:19 Login Succeeded 04:37:19 nexus3.edgexfoundry.org:10002 04:37:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:20 Configure a credential helper to remove this warning. See 04:37:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:20 04:37:20 Login Succeeded 04:37:20 nexus3.edgexfoundry.org:10003 04:37:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:20 Configure a credential helper to remove this warning. See 04:37:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:20 04:37:20 Login Succeeded 04:37:20 nexus3.edgexfoundry.org:10004 04:37:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:20 Configure a credential helper to remove this warning. See 04:37:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:20 04:37:20 Login Succeeded 04:37:20 docker.io 04:37:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:20 Configure a credential helper to remove this warning. See 04:37:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:20 04:37:20 Login Succeeded 04:37:20 ---> docker-login.sh ends [Pipeline] } 04:37:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:37:21 ========================================================= 04:37:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:37:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:37:21 + 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 . 04:37:21 Sending build context to Docker daemon 2.363MB 04:37:21 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:37:21 Step 2/8 : FROM ${BASE} 04:37:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:37:21 188c0c94c7c5: Pulling fs layer 04:37:21 0ef7d3d256c8: Pulling fs layer 04:37:21 de9db76c5a1d: Pulling fs layer 04:37:21 bca2f99d35d6: Pulling fs layer 04:37:21 93359f2a8cfa: Pulling fs layer 04:37:21 7c6f9722023f: Pulling fs layer 04:37:21 a35cf1a2eb13: Pulling fs layer 04:37:21 93359f2a8cfa: Waiting 04:37:21 7c6f9722023f: Waiting 04:37:21 a35cf1a2eb13: Waiting 04:37:21 bca2f99d35d6: Waiting 04:37:21 de9db76c5a1d: Verifying Checksum 04:37:21 de9db76c5a1d: Download complete 04:37:21 0ef7d3d256c8: Verifying Checksum 04:37:21 0ef7d3d256c8: Download complete 04:37:21 93359f2a8cfa: Verifying Checksum 04:37:21 93359f2a8cfa: Download complete 04:37:21 188c0c94c7c5: Verifying Checksum 04:37:21 188c0c94c7c5: Download complete 04:37:21 7c6f9722023f: Verifying Checksum 04:37:21 7c6f9722023f: Download complete 04:37:22 188c0c94c7c5: Pull complete 04:37:22 0ef7d3d256c8: Pull complete 04:37:22 de9db76c5a1d: Pull complete 04:37:24 a35cf1a2eb13: Verifying Checksum 04:37:24 a35cf1a2eb13: Download complete 04:37:24 bca2f99d35d6: Verifying Checksum 04:37:24 bca2f99d35d6: Download complete 04:37:25 00ac8860ef70: Pull complete 04:37:25 63d7cb157983: Pull complete 04:37:25 b116817d02f9: Pull complete 04:37:29 745a02a5169b: Pull complete 04:37:29 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 04:37:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:37:29 ---> b7e6874047d6 04:37:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:37:30 bca2f99d35d6: Pull complete 04:37:30 93359f2a8cfa: Pull complete 04:37:30 7c6f9722023f: Pull complete 04:37:32 ---> Running in 5ba61b58ef35 04:37:32 Removing intermediate container 5ba61b58ef35 04:37:32 ---> 18b25b1f4167 04:37:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:37:33 ---> Running in d05118995d22 04:37:35 a35cf1a2eb13: Pull complete 04:37:35 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 04:37:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:37:35 ---> a62c8e92a672 04:37:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:37:35 ---> Running in 47e213ab9e78 04:37:35 Removing intermediate container 47e213ab9e78 04:37:35 ---> 0378dc8779af 04:37:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:37:35 ---> Running in b9d72f1bc96e 04:37:35 Removing intermediate container d05118995d22 04:37:35 ---> c8acd279a6ec 04:37:35 Step 5/8 : RUN apk add --update --no-cache make git 04:37:35 ---> Running in 431920d15b17 04:37:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:37:36 Removing intermediate container b9d72f1bc96e 04:37:36 ---> 83c2c2e8ed82 04:37:36 Step 5/8 : RUN apk add --update --no-cache make git 04:37:36 ---> Running in c6bf78fa05e7 04:37:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:37:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:37:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:37:42 OK: 142 MiB in 39 packages 04:37:43 OK: 166 MiB in 39 packages 04:37:43 Removing intermediate container c6bf78fa05e7 04:37:43 ---> e06b38c671f9 04:37:43 Step 6/8 : WORKDIR /device-sdk-go 04:37:43 ---> Running in 7f6117a73b10 04:37:43 Removing intermediate container 7f6117a73b10 04:37:43 ---> 43245dcadc4c 04:37:43 Step 7/8 : COPY . . 04:37:43 Removing intermediate container 431920d15b17 04:37:43 ---> 3834b4a46eb1 04:37:43 Step 6/8 : WORKDIR /device-sdk-go 04:37:43 ---> Running in 61e1586b80a6 04:37:44 Removing intermediate container 61e1586b80a6 04:37:44 ---> 733a8e7ffc9a 04:37:44 Step 7/8 : COPY . . 04:37:45 ---> f9cb0704777f 04:37:45 Step 8/8 : RUN go mod download 04:37:45 ---> Running in 77041f59fdd3 04:37:45 ---> f2294404b3d7 04:37:45 Step 8/8 : RUN go mod download 04:37:45 ---> Running in c2b35d51d225 04:38:07 Removing intermediate container 77041f59fdd3 04:38:07 ---> 878f363b7d35 04:38:07 Successfully built 878f363b7d35 04:38:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:38:07 + docker inspect -f . ci-base-image-x86_64 04:38:07 . [Pipeline] withDockerContainer 04:38:07 prd-centos7-docker-4c-2g-30123 does not seem to be running inside a container 04:38:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 04:38:08 $ docker top 788fe402cbe8b0a3a213cecb5f4fff79a261c013986a8c7afdeaeaa1a2390b97 -eo pid,comm [Pipeline] { [Pipeline] sh 04:38:09 + go version 04:38:09 go version go1.15.5 linux/amd64 [Pipeline] } 04:38:09 $ docker stop --time=1 788fe402cbe8b0a3a213cecb5f4fff79a261c013986a8c7afdeaeaa1a2390b97 04:38:10 $ docker rm -f 788fe402cbe8b0a3a213cecb5f4fff79a261c013986a8c7afdeaeaa1a2390b97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:38:11 + docker inspect -f . ci-base-image-x86_64 04:38:11 . [Pipeline] withDockerContainer 04:38:11 prd-centos7-docker-4c-2g-30123 does not seem to be running inside a container 04:38:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 04:38:12 $ docker top 7a5630fe6bf73dd596ae9e839842f4818e2d97f6decae87a2cd3abb18cd1dc0a -eo pid,comm [Pipeline] { [Pipeline] sh 04:38:12 + make test 04:38:12 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:38:12 Removing intermediate container c2b35d51d225 04:38:12 ---> f4ff96ed83b6 04:38:12 Successfully built f4ff96ed83b6 04:38:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:38:13 + docker inspect -f . ci-base-image-arm64 04:38:13 . [Pipeline] withDockerContainer 04:38:13 prd-ubuntu18.04-docker-arm64-4c-16g-30122 does not seem to be running inside a container 04:38:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 04:38:14 $ docker top ee0e0651cd3370cb76a7b7206d9a4ff2f504c1f591c602f5f20ac06a7ea4e2a1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:38:16 + go version 04:38:16 go version go1.15.5 linux/arm64 [Pipeline] } 04:38:16 $ docker stop --time=1 ee0e0651cd3370cb76a7b7206d9a4ff2f504c1f591c602f5f20ac06a7ea4e2a1 04:38:17 $ docker rm -f ee0e0651cd3370cb76a7b7206d9a4ff2f504c1f591c602f5f20ac06a7ea4e2a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:38:19 + docker inspect -f . ci-base-image-arm64 04:38:19 . [Pipeline] withDockerContainer 04:38:19 prd-ubuntu18.04-docker-arm64-4c-16g-30122 does not seem to be running inside a container 04:38:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 04:38:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:38:20 $ docker top a34e6b0d01232d02b7909fb2529280b8f57e4f8580db3a98dc0cf9c1c893694b -eo pid,comm [Pipeline] { [Pipeline] sh 04:38:21 + make test 04:38:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:38:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:38:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:38:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:38:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:38:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 25.5% of statements 04:38:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 81.2% of statements 04:38:44 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:39:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.061s coverage: 10.5% of statements 04:39:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:39:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:39:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.080s coverage: 32.5% of statements 04:39:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:39:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:39:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:39:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.080s coverage: 57.3% of statements 04:39:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.154s coverage: 6.6% of statements 04:39:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.1% of statements 04:39:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:39:08 GO111MODULE=on go vet ./... 04:39:17 gofmt -l . 04:39:17 [ "`gofmt -l .`" = "" ] 04:39:17 ./bin/test-attribution-txt.sh 04:39:17 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:39:17 $ docker stop --time=1 7a5630fe6bf73dd596ae9e839842f4818e2d97f6decae87a2cd3abb18cd1dc0a 04:39:19 $ docker rm -f 7a5630fe6bf73dd596ae9e839842f4818e2d97f6decae87a2cd3abb18cd1dc0a [Pipeline] // withDockerContainer [Pipeline] sh 04:39:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:39:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:39:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:39:22 + ls -al . 04:39:22 total 184 04:39:22 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 17 04:39 . 04:39:22 drwxrwxr-x. 4 jenkins jenkins 28 Mar 17 04:37 .. 04:39:22 drwxrwxr-x. 2 jenkins jenkins 64 Mar 17 04:37 bin 04:39:22 -rw-r--r--. 1 jenkins jenkins 100014 Mar 17 04:39 coverage.out 04:39:22 -rw-rw-r--. 1 jenkins jenkins 949 Mar 17 04:37 Dockerfile.build 04:39:22 -rw-rw-r--. 1 jenkins jenkins 140 Mar 17 04:37 .dockerignore 04:39:22 drwxrwxr-x. 4 jenkins jenkins 48 Mar 17 04:37 example 04:39:22 drwxrwxr-x. 8 jenkins jenkins 179 Mar 17 04:37 .git 04:39:22 drwxrwxr-x. 2 jenkins jenkins 103 Mar 17 04:37 .github 04:39:22 -rw-rw-r--. 1 jenkins jenkins 138 Mar 17 04:37 .gitignore 04:39:22 -rw-r--r--. 1 jenkins jenkins 479 Mar 17 04:39 go.mod 04:39:22 -rw-r--r--. 1 jenkins jenkins 17490 Mar 17 04:39 go.sum 04:39:22 drwxrwxr-x. 13 jenkins jenkins 193 Mar 17 04:37 internal 04:39:22 -rw-rw-r--. 1 jenkins jenkins 901 Mar 17 04:37 Jenkinsfile 04:39:22 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 17 04:37 LICENSE 04:39:22 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 17 04:37 Makefile 04:39:22 drwxrwxr-x. 4 jenkins jenkins 26 Mar 17 04:37 openapi 04:39:22 drwxrwxr-x. 5 jenkins jenkins 50 Mar 17 04:37 pkg 04:39:22 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 17 04:37 README.md 04:39:22 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 17 04:37 RELEASE-NOTES.txt 04:39:22 drwxrwxr-x. 4 jenkins jenkins 54 Mar 17 04:37 snap 04:39:22 -rw-rw-r--. 1 jenkins jenkins 5 Mar 17 04:34 VERSION 04:39:22 -rw-rw-r--. 1 jenkins jenkins 222 Mar 17 04:37 version.go [Pipeline] isUnix [Pipeline] sh 04:39:22 + 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=3a954dbae30259bfc5325554c625ed2efa43968b --label arch=amd64 --label version=0.0.0 . 04:39:23 Sending build context to Docker daemon 2.464MB 04:39:23 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 04:39:23 Step 2/24 : FROM ${BASE} AS builder 04:39:23 ---> 878f363b7d35 04:39:23 Step 3/24 : ARG MAKE='make build' 04:39:23 ---> Running in 4bbebfabf9bc 04:39:23 Removing intermediate container 4bbebfabf9bc 04:39:23 ---> ebcfcab5a571 04:39:23 Step 4/24 : WORKDIR /device-sdk-go 04:39:23 ---> Running in 99347ca72390 04:39:23 Removing intermediate container 99347ca72390 04:39:23 ---> a17973370b5a 04:39:23 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:39:23 ---> Running in 723168d43296 04:39:24 Removing intermediate container 723168d43296 04:39:24 ---> 32c9da6f4771 04:39:24 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:39:24 ---> Running in d4af3cbb66b7 04:39:25 Removing intermediate container d4af3cbb66b7 04:39:25 ---> 76306f4e56e7 04:39:25 Step 7/24 : RUN apk add --update --no-cache make git 04:39:25 ---> Running in 66a666470f59 04:39:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:39:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:39:29 OK: 166 MiB in 39 packages 04:39:29 Removing intermediate container 66a666470f59 04:39:29 ---> 98709e1b6c69 04:39:29 Step 8/24 : COPY . . 04:39:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:39:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:39:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:39:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:39:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.121s coverage: 25.5% of statements 04:39:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.177s coverage: 81.2% of statements 04:39:31 ---> a4ae51cfea31 04:39:31 Step 9/24 : RUN ${MAKE} 04:39:31 ---> Running in 9a90c38e08e1 04:39:31 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 04:39:40 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:39:42 Removing intermediate container 9a90c38e08e1 04:39:42 ---> 83c93f2afb7f 04:39:42 Step 10/24 : FROM scratch 04:39:42 ---> 04:39:42 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:39:42 ---> Running in b79ecd68dfea 04:39:42 Removing intermediate container b79ecd68dfea 04:39:42 ---> 19826ec9843a 04:39:42 Step 12/24 : ENV APP_PORT=49990 04:39:42 ---> Running in eedf843e2090 04:39:42 Removing intermediate container eedf843e2090 04:39:42 ---> c0d8dbfb7fb9 04:39:42 Step 13/24 : EXPOSE $APP_PORT 04:39:42 ---> Running in e32049a008be 04:39:42 Removing intermediate container e32049a008be 04:39:42 ---> cab616c76c1a 04:39:42 Step 14/24 : WORKDIR / 04:39:43 ---> Running in a54a1f003fb9 04:39:43 Removing intermediate container a54a1f003fb9 04:39:43 ---> e70e0d3e50cc 04:39:43 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:39:43 ---> 3f67aa21a60c 04:39:43 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:39:44 ---> 5fe2bed6e63b 04:39:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:39:44 ---> 352a47906db9 04:39:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:39:44 ---> 3a4f4a94d742 04:39:44 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:39:44 ---> 75ffe801a06d 04:39:44 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:39:44 ---> Running in 1abd7fe539dd 04:39:44 Removing intermediate container 1abd7fe539dd 04:39:44 ---> 12bfd7a41ceb 04:39:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:39:45 ---> Running in a839be004f04 04:39:45 Removing intermediate container a839be004f04 04:39:45 ---> f6029317b016 04:39:45 Step 22/24 : LABEL arch=amd64 04:39:45 ---> Running in 0283b17d6b07 04:39:45 Removing intermediate container 0283b17d6b07 04:39:45 ---> 0da5f60c2197 04:39:45 Step 23/24 : LABEL git_sha=3a954dbae30259bfc5325554c625ed2efa43968b 04:39:45 ---> Running in 2cf72268344c 04:39:45 Removing intermediate container 2cf72268344c 04:39:45 ---> 827a863d144b 04:39:45 Step 24/24 : LABEL version=0.0.0 04:39:45 ---> Running in e0f5dc4d75c7 04:39:45 Removing intermediate container e0f5dc4d75c7 04:39:45 ---> 4d20b059bafc 04:39:45 [Warning] One or more build-args [ARCH] were not consumed 04:39:45 Successfully built 4d20b059bafc 04:39:45 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 04:39:46 ---> job-cost.sh 04:39:46 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-HqZc 04:39:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.155s coverage: 10.5% of statements 04:39:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:39:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:39:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.202s coverage: 32.5% of statements 04:39:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:39:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:39:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:39:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.259s coverage: 57.3% of statements 04:39:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.925s coverage: 6.6% of statements 04:39:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.1% of statements 04:39:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:39:58 GO111MODULE=on go vet ./... 04:40:01 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:40:30 gofmt -l . 04:40:30 [ "`gofmt -l .`" = "" ] 04:40:30 ./bin/test-attribution-txt.sh 04:40:32 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:40:32 $ docker stop --time=1 a34e6b0d01232d02b7909fb2529280b8f57e4f8580db3a98dc0cf9c1c893694b 04:40:34 lf-activate-venv(): INFO: Adding /tmp/venv-HqZc/bin to PATH 04:40:34 INFO: No Stack... 04:40:34 INFO: Retrieving Pricing Info for: v1-standard-2 04:40:34 INFO: Archiving Costs 04:40:34 $ docker rm -f a34e6b0d01232d02b7909fb2529280b8f57e4f8580db3a98dc0cf9c1c893694b [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 04:40:36 + cat /w/workspace/device-sdk-go/6/archives/cost.csv 04:40:36 + cut -d, -f6 04:40:36 + sudo chown -R jenkins:jenkins . [Pipeline] lock 04:40:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-820-6-stack-cost] 04:40:36 Resource [jenkins-edgexfoundry-device-sdk-go-PR-820-6-stack-cost] did not exist. Created. 04:40:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-820-6-stack-cost] [Pipeline] { [Pipeline] stash 04:40:36 Warning: overwriting stash ‘coverage-report’ [Pipeline] unstash [Pipeline] sh 04:40:36 + echo total: 0.029999999329447746 [Pipeline] stash 04:40:36 Stashed 1 file(s) [Pipeline] } 04:40:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-820-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } 04:40:37 Stashed 1 file(s) [Pipeline] // node [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:40:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:40:38 + ls -al . 04:40:38 total 220 04:40:38 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 04:40 . 04:40:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:36 .. 04:40:38 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 04:36 .dockerignore 04:40:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 04:36 .git 04:40:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 04:36 .github 04:40:38 -rw-rw-r-- 1 jenkins jenkins 138 Mar 17 04:36 .gitignore 04:40:38 -rw-rw-r-- 1 jenkins jenkins 949 Mar 17 04:36 Dockerfile.build 04:40:38 -rw-rw-r-- 1 jenkins jenkins 901 Mar 17 04:36 Jenkinsfile 04:40:38 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 04:36 LICENSE 04:40:38 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 17 04:36 Makefile 04:40:38 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 17 04:36 README.md 04:40:38 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 17 04:36 RELEASE-NOTES.txt 04:40:38 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 04:34 VERSION 04:40:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 04:36 bin 04:40:38 -rw-r--r-- 1 jenkins jenkins 100014 Mar 17 04:39 coverage.out 04:40:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:36 example 04:40:38 -rw-r--r-- 1 jenkins jenkins 479 Mar 17 04:40 go.mod 04:40:38 -rw-r--r-- 1 jenkins jenkins 17490 Mar 17 04:40 go.sum 04:40:38 drwxrwxr-x 13 jenkins jenkins 4096 Mar 17 04:36 internal 04:40:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:36 openapi 04:40:38 drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:36 pkg 04:40:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:36 snap 04:40:38 -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 04:36 version.go [Pipeline] isUnix [Pipeline] sh 04:40:38 + 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=3a954dbae30259bfc5325554c625ed2efa43968b --label arch=arm64 --label version=0.0.0 . 04:40:39 Sending build context to Docker daemon 2.463MB 04:40:39 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 04:40:39 Step 2/24 : FROM ${BASE} AS builder 04:40:39 ---> f4ff96ed83b6 04:40:39 Step 3/24 : ARG MAKE='make build' 04:40:40 ---> Running in b3f3995138c8 04:40:40 Removing intermediate container b3f3995138c8 04:40:40 ---> 49b54889e5fa 04:40:40 Step 4/24 : WORKDIR /device-sdk-go 04:40:40 ---> Running in 5c93b368f181 04:40:41 Removing intermediate container 5c93b368f181 04:40:41 ---> 70e991a5fa3f 04:40:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:40:41 ---> Running in 4b8838c04649 04:40:41 Removing intermediate container 4b8838c04649 04:40:41 ---> 54617082a3a4 04:40:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:40:41 ---> Running in bcec13a67dc5 04:40:44 Removing intermediate container bcec13a67dc5 04:40:44 ---> 45fbf0b3e98f 04:40:44 Step 7/24 : RUN apk add --update --no-cache make git 04:40:44 ---> Running in 5330ef10b516 04:40:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:40:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:40:47 OK: 142 MiB in 39 packages 04:40:48 Removing intermediate container 5330ef10b516 04:40:48 ---> 7898c3a2e530 04:40:48 Step 8/24 : COPY . . 04:40:50 ---> 61e958bc790d 04:40:50 Step 9/24 : RUN ${MAKE} 04:40:50 ---> Running in 1da071caf518 04:40:51 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 04:41:18 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:41:19 Removing intermediate container 1da071caf518 04:41:19 ---> 14f23e6411b2 04:41:19 Step 10/24 : FROM scratch 04:41:19 ---> 04:41:19 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:41:19 ---> Running in 973dbcf7421c 04:41:20 Removing intermediate container 973dbcf7421c 04:41:20 ---> 67c701ab23f2 04:41:20 Step 12/24 : ENV APP_PORT=49990 04:41:20 ---> Running in 8ff3c08c5f08 04:41:20 Removing intermediate container 8ff3c08c5f08 04:41:20 ---> dbfdedbcb522 04:41:20 Step 13/24 : EXPOSE $APP_PORT 04:41:20 ---> Running in a1c8792c453e 04:41:21 Removing intermediate container a1c8792c453e 04:41:21 ---> 87febcbd04dd 04:41:21 Step 14/24 : WORKDIR / 04:41:21 ---> Running in f7b26ed2a394 04:41:21 Removing intermediate container f7b26ed2a394 04:41:21 ---> feab53866b13 04:41:21 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:41:23 ---> 9abb773d0305 04:41:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:41:23 ---> 2176cb1d75d0 04:41:23 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:41:24 ---> 7a200c1d950a 04:41:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:41:24 ---> 4985f87ea659 04:41:24 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:41:25 ---> 7e73a77b2430 04:41:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:41:25 ---> Running in 5baaff42607f 04:41:26 Removing intermediate container 5baaff42607f 04:41:26 ---> 3fe631b3e250 04:41:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:41:26 ---> Running in cb3cc376f6b5 04:41:26 Removing intermediate container cb3cc376f6b5 04:41:26 ---> e295c5eae510 04:41:26 Step 22/24 : LABEL arch=arm64 04:41:26 ---> Running in c8982494a172 04:41:27 Removing intermediate container c8982494a172 04:41:27 ---> d5f4d72332fb 04:41:27 Step 23/24 : LABEL git_sha=3a954dbae30259bfc5325554c625ed2efa43968b 04:41:27 ---> Running in 824f9fe05307 04:41:28 Removing intermediate container 824f9fe05307 04:41:28 ---> 2e933b4156d2 04:41:28 Step 24/24 : LABEL version=0.0.0 04:41:28 ---> Running in 75224241a615 04:41:28 Removing intermediate container 75224241a615 04:41:28 ---> 174426881fbf 04:41:28 [Warning] One or more build-args [ARCH] were not consumed 04:41:28 Successfully built 174426881fbf 04:41:28 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 04:41:29 ---> job-cost.sh 04:41:29 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UDVa 04:42:08 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:43:30 lf-activate-venv(): INFO: Adding /tmp/venv-UDVa/bin to PATH 04:43:30 INFO: No Stack... 04:43:30 INFO: Retrieving Pricing Info for: lf-standard-4 04:43:30 INFO: Archiving Costs [Pipeline] sh 04:43:30 + cat /w/workspace/device-sdk-go/6/archives/cost.csv 04:43:30 + cut -d, -f6 [Pipeline] lock 04:43:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-820-6-stack-cost] 04:43:30 Resource [jenkins-edgexfoundry-device-sdk-go-PR-820-6-stack-cost] did not exist. Created. 04:43:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-820-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:43:31 /w/workspace/device-sdk-go/6@tmp/durable-19c77caf/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-19c77caf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:43:31 + echo total: 0.20999999344348907 [Pipeline] stash 04:43:31 Warning: overwriting stash ‘stack-cost’ 04:43:32 Stashed 1 file(s) [Pipeline] } 04:43:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-820-6-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 04:43:33 provisioning config files... 04:43:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config9076323258274707299tmp [Pipeline] { [Pipeline] sh 04:43:33 + set +x 04:43:33 + bash -s -- 04:43:33 + curl -s https://codecov.io/bash 04:43:34 04:43:34 _____ _ 04:43:34 / ____| | | 04:43:34 | | ___ __| | ___ ___ _____ __ 04:43:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:43:34 | |___| (_) | (_| | __/ (_| (_) \ V / 04:43:34 \_____\___/ \__,_|\___|\___\___/ \_/ 04:43:34 Bash-20210309-2b87ace 04:43:34 04:43:34 04:43:34 ==> git version 2.24.3 found 04:43:34 ==> 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 04:43:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:43:34 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:43:34 curl: option -sm: expected a proper numerical parameter 04:43:34 curl: try 'curl --help' or 'curl --manual' for more information 04:43:34 ==> Jenkins CI detected. 04:43:34 project root: . 04:43:34 --> token set from env 04:43:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:43:34 ==> Running gcov in . (disable via -X gcov) 04:43:34 ==> Python coveragepy not found 04:43:34 ==> Searching for coverage reports in: 04:43:34 + . 04:43:34 -> Found 1 reports 04:43:34 ==> Detecting git/mercurial file structure 04:43:34 ==> Reading reports 04:43:34 + ./coverage.out bytes=100014 04:43:34 ==> Appending adjustments 04:43:34 https://docs.codecov.io/docs/fixing-reports 04:43:35 + Found adjustments 04:43:35 ==> Gzipping contents 04:43:35 16K /tmp/codecov.WBApA3.gz 04:43:35 ==> Uploading reports 04:43:35 url: https://codecov.io 04:43:35 query: branch=PR-820&commit=3a954dbae30259bfc5325554c625ed2efa43968b&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-820%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=820&job=&cmd_args= 04:43:35 -> Pinging Codecov 04:43:35 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-820&commit=3a954dbae30259bfc5325554c625ed2efa43968b&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-820%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=820&job=&cmd_args= 04:43:36 -> Uploading to 04:43:36 https://storage.googleapis.com/codecov/v4/raw/2021-03-17/7E55EF52A471D76F132DFD9A03CDDE97/3a954dbae30259bfc5325554c625ed2efa43968b/044865de-cb9c-4058-9bff-e88e5cea90af.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210317T044336Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b300f2e4c82a68c02bc1ccbd808b6e2bdd5942a88f00c57a4d0e6a4d5df0d1d1 04:43:36 % Total % Received % Xferd Average Speed Time Time Time Current 04:43:36 Dload Upload Total Spent Left Speed 04:43:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13495 0 0 100 13495 0 29015 --:--:-- --:--:-- --:--:-- 29084 04:43:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3a954dbae30259bfc5325554c625ed2efa43968b [Pipeline] } 04:43:36 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 04:43:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:43:40 ---> package-listing.sh 04:43:40 ++ facter osfamily 04:43:40 ++ tr '[:upper:]' '[:lower:]' 04:43:40 + OS_FAMILY=redhat 04:43:40 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-820 04:43:40 + START_PACKAGES=/tmp/packages_start.txt 04:43:40 + END_PACKAGES=/tmp/packages_end.txt 04:43:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:43:40 + PACKAGES=/tmp/packages_start.txt 04:43:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-820 ']' 04:43:40 + PACKAGES=/tmp/packages_end.txt 04:43:40 + case "${OS_FAMILY}" in 04:43:40 + rpm -qa 04:43:40 + sort 04:43:46 + '[' -f /tmp/packages_start.txt ']' 04:43:46 + '[' -f /tmp/packages_end.txt ']' 04:43:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:43:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-820 ']' 04:43:46 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-820/archives/ 04:43:46 + 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 04:43:46 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 04:43:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:43:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:43:47 04:43:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:43:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:43:48 alpine: Pulling from edgex-lftools-log-publisher 04:43:48 df20fa9351a1: Pulling fs layer 04:43:48 36b3adc4ff6f: Pulling fs layer 04:43:48 8ad3a11d3b57: Pulling fs layer 04:43:48 46f8f816bc3b: Pulling fs layer 04:43:48 93b61091891f: Pulling fs layer 04:43:48 93b9cdb0e59b: Pulling fs layer 04:43:48 5e14af77c1be: Pulling fs layer 04:43:48 01666e4c0597: Pulling fs layer 04:43:48 aa168da1d23b: Pulling fs layer 04:43:48 46f8f816bc3b: Waiting 04:43:48 93b61091891f: Waiting 04:43:48 93b9cdb0e59b: Waiting 04:43:48 5e14af77c1be: Waiting 04:43:48 01666e4c0597: Waiting 04:43:48 aa168da1d23b: Waiting 04:43:48 36b3adc4ff6f: Verifying Checksum 04:43:48 36b3adc4ff6f: Download complete 04:43:48 46f8f816bc3b: Verifying Checksum 04:43:48 46f8f816bc3b: Download complete 04:43:48 df20fa9351a1: Verifying Checksum 04:43:48 df20fa9351a1: Download complete 04:43:48 93b9cdb0e59b: Verifying Checksum 04:43:48 93b9cdb0e59b: Download complete 04:43:48 5e14af77c1be: Verifying Checksum 04:43:48 5e14af77c1be: Download complete 04:43:48 93b61091891f: Download complete 04:43:48 01666e4c0597: Verifying Checksum 04:43:48 01666e4c0597: Download complete 04:43:49 df20fa9351a1: Pull complete 04:43:49 8ad3a11d3b57: Verifying Checksum 04:43:49 8ad3a11d3b57: Download complete 04:43:49 36b3adc4ff6f: Pull complete 04:43:51 8ad3a11d3b57: Pull complete 04:43:51 46f8f816bc3b: Pull complete 04:43:53 93b61091891f: Pull complete 04:43:53 aa168da1d23b: Verifying Checksum 04:43:53 aa168da1d23b: Download complete 04:43:54 93b9cdb0e59b: Pull complete 04:43:54 5e14af77c1be: Pull complete 04:43:55 01666e4c0597: Pull complete 04:44:13 aa168da1d23b: Pull complete 04:44:13 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:44:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:44:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:44:13 prd-centos7-docker-4c-2g-30121 does not seem to be running inside a container 04:44:13 $ 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 04:44:17 $ docker top 4f14b0b87d8969bb428cfaeb51288b752081f3e562906adbce4af161d4a1a6ed -eo pid,comm [Pipeline] { [Pipeline] sh 04:44:18 + touch /tmp/pre-build-complete [Pipeline] sh 04:44:18 + mkdir -p /var/log/sa [Pipeline] sh 04:44:19 + ls /var/log/sa-host 04:44:19 + sadf -c /var/log/sa-host/sa17 04:44:19 file_magic: OK 04:44:19 HZ: Using current value: 100 04:44:19 file_header: OK 04:44:19 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 04:44:19 Statistics: 04:44:19 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:44:19 File successfully converted to sysstat format version 12.2.1 04:44:19 + sadf -c /var/log/sa-host/sa23 04:44:19 file_magic: OK 04:44:19 HZ: Using current value: 100 04:44:19 file_header: OK 04:44:19 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 04:44:19 Statistics: 04:44:19 Hnuu...uuuununununu... 04:44:19 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:44:20 provisioning config files... 04:44:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp/config6726848051491385442tmp [Pipeline] { [Pipeline] echo 04:44:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:44:20 ---> create-netrc.sh [Pipeline] } 04:44:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:44:21 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:44:21 ---> python-tools-install.sh [Pipeline] echo 04:44:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:44:21 ---> sudo-logs.sh 04:44:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:44:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:44:22 ---> job-cost.sh 04:44:22 lf-activate-venv: SKIPPING 04:44:22 DEBUG: total: 0.20999999344348907 04:44:22 INFO: Retrieving Stack Cost... 04:44:23 INFO: Retrieving Pricing Info for: v1-standard-2 04:44:24 INFO: Archiving Costs [Pipeline] echo 04:44:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:44:25 ---> logs-deploy.sh 04:44:25 lf-activate-venv: SKIPPING 04:44:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-820/6 04:44:25 INFO: archiving workspace using pattern(s): 04:44:28 Archives upload complete. 04:44:28 INFO: archiving logs to Nexus 04:44:30 ---> uname -a: 04:44:30 Linux prd-centos7-docker-4c-2g-30121.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 04:44:30 04:44:30 04:44:30 ---> lscpu: 04:44:30 Architecture: x86_64 04:44:30 CPU op-mode(s): 32-bit, 64-bit 04:44:30 Byte Order: Little Endian 04:44:30 Address sizes: 40 bits physical, 48 bits virtual 04:44:30 CPU(s): 4 04:44:30 On-line CPU(s) list: 0-3 04:44:30 Thread(s) per core: 1 04:44:30 Core(s) per socket: 1 04:44:30 Socket(s): 4 04:44:30 NUMA node(s): 1 04:44:30 Vendor ID: GenuineIntel 04:44:30 CPU family: 6 04:44:30 Model: 44 04:44:30 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 04:44:30 Stepping: 1 04:44:30 CPU MHz: 2933.438 04:44:30 BogoMIPS: 5866.87 04:44:30 Virtualization: VT-x 04:44:30 Hypervisor vendor: KVM 04:44:30 Virtualization type: full 04:44:30 L1d cache: 128 KiB 04:44:30 L1i cache: 128 KiB 04:44:30 L2 cache: 16 MiB 04:44:30 L3 cache: 64 MiB 04:44:30 NUMA node0 CPU(s): 0-3 04:44:30 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 04:44:30 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 04:44:30 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 04:44:30 Vulnerability Meltdown: Mitigation; PTI 04:44:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:44:30 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 04:44:30 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 04:44:30 Vulnerability Srbds: Not affected 04:44:30 Vulnerability Tsx async abort: Not affected 04:44:30 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 04:44:30 04:44:30 04:44:30 ---> nproc: 04:44:30 4 04:44:30 04:44:30 04:44:30 ---> df -h: 04:44:30 Filesystem Size Used Available Use% Mounted on 04:44:30 overlay 50.0G 7.3G 42.7G 15% / 04:44:30 tmpfs 64.0M 0 64.0M 0% /dev 04:44:30 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 04:44:30 shm 64.0M 0 64.0M 0% /dev/shm 04:44:30 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 04:44:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 04:44:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 04:44:30 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 04:44:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 04:44:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 04:44:30 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 04:44:30 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 04:44:30 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-820 04:44:30 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-820@tmp 04:44:30 04:44:30