Pull request #816 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 rather than ee37646d93806932af97a1dbec2aa3ea91e5802d Obtained Jenkinsfile from 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29625 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [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-816 # 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 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit ee37646d93806932af97a1dbec2aa3ea91e5802d > 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/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee37646d93806932af97a1dbec2aa3ea91e5802d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing ee37646d93806932af97a1dbec2aa3ea91e5802d Checking out Revision ee37646d93806932af97a1dbec2aa3ea91e5802d (PR-816) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee37646d93806932af97a1dbec2aa3ea91e5802d # timeout=10 Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:49:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:49:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:49:00 ========================================================= 07:49:00 EdgeX Global Pipelines Version Info 07:49:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk afe37b68d0e09581a5b87c19efbb6e049d7ddff9 # timeout=10 07:49:03 ------------------- 07:49:03 stable info: 07:49:03 ------------------- 07:49:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:49:03 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 07:49:03 Message: update stable to v1.0.184 07:49:04 ------------------- 07:49:04 experimental info: 07:49:04 ------------------- 07:49:04 Commited By: **** collab-it+edgex@linuxfoundation.org 07:49:04 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 07:49:04 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:49:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:49:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:49:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:49:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:49:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:49:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:49:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:49:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:49:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:49:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:49:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:49:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:49:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:49:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:49:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:49:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:49:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:49:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:49:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:49:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:49:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:49:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:49:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:49:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:49:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:49:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:49:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-816 [Pipeline] echo 07:49:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-816 [Pipeline] echo 07:49:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-816 [Pipeline] echo 07:49:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee37646d93806932af97a1dbec2aa3ea91e5802d [Pipeline] echo 07:49:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee37646 [Pipeline] echo 07:49:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:49:08 provisioning config files... 07:49:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config2173752111831964753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:49:09 ---> docker-login.sh 07:49:09 nexus3.edgexfoundry.org:10001 07:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:10 Configure a credential helper to remove this warning. See 07:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:10 07:49:10 Login Succeeded 07:49:10 nexus3.edgexfoundry.org:10002 07:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:11 Configure a credential helper to remove this warning. See 07:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:11 07:49:11 Login Succeeded 07:49:11 nexus3.edgexfoundry.org:10003 07:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:12 Configure a credential helper to remove this warning. See 07:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:12 07:49:12 Login Succeeded 07:49:12 nexus3.edgexfoundry.org:10004 07:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:12 Configure a credential helper to remove this warning. See 07:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:12 07:49:12 Login Succeeded 07:49:12 docker.io 07:49:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:12 Configure a credential helper to remove this warning. See 07:49:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:12 07:49:12 Login Succeeded 07:49:13 ---> docker-login.sh ends [Pipeline] } 07:49:13 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 07:49:14 + git log --format=format:%s -1 ee37646d93806932af97a1dbec2aa3ea91e5802d [Pipeline] echo 07:49:14 GIT_COMMIT: ee37646d93806932af97a1dbec2aa3ea91e5802d, Commit Message: feat: Upgrade core-contracts lib to use redesigned device profile [Pipeline] echo 07:49:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:49:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:49:15 07:49:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:49:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:49:15 latest: Pulling from edgex-devops/git-semver 07:49:15 31603596830f: Pulling fs layer 07:49:15 2a8b12db71e7: Pulling fs layer 07:49:15 6ca5941a6612: Pulling fs layer 07:49:15 ecc8261a40a4: Pulling fs layer 07:49:15 ecc8261a40a4: Waiting 07:49:15 2a8b12db71e7: Verifying Checksum 07:49:15 2a8b12db71e7: Download complete 07:49:16 31603596830f: Verifying Checksum 07:49:16 31603596830f: Download complete 07:49:16 ecc8261a40a4: Verifying Checksum 07:49:16 ecc8261a40a4: Download complete 07:49:16 6ca5941a6612: Verifying Checksum 07:49:16 6ca5941a6612: Download complete 07:49:17 31603596830f: Pull complete 07:49:17 2a8b12db71e7: Pull complete 07:49:18 6ca5941a6612: Pull complete 07:49:19 ecc8261a40a4: Pull complete 07:49:19 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:49:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:49:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:49:20 prd-centos7-docker-4c-2g-29625 does not seem to be running inside a container 07:49:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-816 -v /w/workspace/dgexfoundry_device-sdk-go_PR-816:/w/workspace/dgexfoundry_device-sdk-go_PR-816:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-816@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 07:49:25 $ docker top 87eaef5f5d1802785732ffa892c07cd714d29751ea2bba45540376e1b5696705 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:49:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:25 [ssh-agent] Looking for ssh-agent implementation... 07:49:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:26 $ docker exec 87eaef5f5d1802785732ffa892c07cd714d29751ea2bba45540376e1b5696705 ssh-agent 07:49:27 SSH_AUTH_SOCK=/tmp/ssh-mNycBTc8jjVR/agent.11 07:49:27 SSH_AGENT_PID=16 07:49:27 Running ssh-add (command line suppressed) 07:49:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_4755214964151264656.key (/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_4755214964151264656.key) 07:49:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:29 + git tag --points-at HEAD [Pipeline] } 07:49:29 $ docker exec --env ******** --env ******** 87eaef5f5d1802785732ffa892c07cd714d29751ea2bba45540376e1b5696705 ssh-agent -k 07:49:29 unset SSH_AUTH_SOCK; 07:49:29 unset SSH_AGENT_PID; 07:49:29 echo Agent pid 16 killed; 07:49:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:49:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:30 [ssh-agent] Looking for ssh-agent implementation... 07:49:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:30 $ docker exec 87eaef5f5d1802785732ffa892c07cd714d29751ea2bba45540376e1b5696705 ssh-agent 07:49:31 SSH_AUTH_SOCK=/tmp/ssh-20jrdxl6XPhS/agent.45 07:49:31 SSH_AGENT_PID=50 07:49:31 Running ssh-add (command line suppressed) 07:49:32 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_4352643019786032729.key (/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/private_key_4352643019786032729.key) 07:49:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:33 + git semver init 07:49:33 # -> Open(): unable to determine branch for HEAD 07:49:33 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-816/.git 07:49:33 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-816 07:49:33 # $SEMVER_REMOTE_NAME = origin 07:49:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:49:33 # $SEMVER_USER_NAME = edgex-jenkins 07:49:33 # $SEMVER_BRANCH = PR-816 07:49:33 # $SEMVER_TEMP = /tmp/semver-805737277 07:49:33 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:49:34 # '/tmp/semver-805737277' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-816/.semver' 07:49:34 # -> Force: false 07:49:34 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-816/.semver [Pipeline] } 07:49:34 $ docker exec --env ******** --env ******** 87eaef5f5d1802785732ffa892c07cd714d29751ea2bba45540376e1b5696705 ssh-agent -k 07:49:34 unset SSH_AUTH_SOCK; 07:49:34 unset SSH_AGENT_PID; 07:49:34 echo Agent pid 50 killed; 07:49:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:49:35 + git semver [Pipeline] } 07:49:35 $ docker stop --time=1 87eaef5f5d1802785732ffa892c07cd714d29751ea2bba45540376e1b5696705 07:49:36 $ docker rm -f 87eaef5f5d1802785732ffa892c07cd714d29751ea2bba45540376e1b5696705 [Pipeline] // withDockerContainer [Pipeline] sh 07:49:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:49:38 Stashed 1 file(s) [Pipeline] echo 07:49:38 [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 07:49:53 Still waiting to schedule task 07:49:53 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29625’ 07:49:53 Still waiting to schedule task 07:49:53 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:51:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29626 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] ws 07:51:42 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:51:47 using credential edgex-jenkins-ssh 07:51:47 Cloning the remote Git repository 07:51:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:51:47 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:51:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:51:47 > git --version # timeout=10 07:51:47 > git --version # 'git version 2.17.1' 07:51:47 using GIT_SSH to set credentials SSH Credentials for GitHub 07:51:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:51:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:51:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:51:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:51:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:51:49 using GIT_SSH to set credentials SSH Credentials for GitHub 07:51:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:51:49 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit ee37646d93806932af97a1dbec2aa3ea91e5802d 07:51:50 Merge succeeded, producing ee37646d93806932af97a1dbec2aa3ea91e5802d 07:51:50 Checking out Revision ee37646d93806932af97a1dbec2aa3ea91e5802d (PR-816) 07:51:49 > git config core.sparsecheckout # timeout=10 07:51:49 > git checkout -f ee37646d93806932af97a1dbec2aa3ea91e5802d # timeout=10 07:51:49 > git remote # timeout=10 07:51:50 > git config --get remote.origin.url # timeout=10 07:51:50 using GIT_SSH to set credentials SSH Credentials for GitHub 07:51:50 > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 07:51:50 > git rev-parse HEAD^{commit} # timeout=10 07:51:50 > git config core.sparsecheckout # timeout=10 07:51:50 > git checkout -f ee37646d93806932af97a1dbec2aa3ea91e5802d # timeout=10 07:51:54 Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:51:56 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:51:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:51:57 + true 07:51:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:51:59 provisioning config files... 07:51:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8709777062363949382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:00 ---> docker-login.sh 07:52:00 nexus3.edgexfoundry.org:10001 07:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:01 Configure a credential helper to remove this warning. See 07:52:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:01 07:52:01 Login Succeeded 07:52:01 nexus3.edgexfoundry.org:10002 07:52:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:01 Configure a credential helper to remove this warning. See 07:52:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:01 07:52:01 Login Succeeded 07:52:02 nexus3.edgexfoundry.org:10003 07:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:02 Configure a credential helper to remove this warning. See 07:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:02 07:52:02 Login Succeeded 07:52:02 nexus3.edgexfoundry.org:10004 07:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:02 Configure a credential helper to remove this warning. See 07:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:02 07:52:02 Login Succeeded 07:52:02 docker.io 07:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:03 Configure a credential helper to remove this warning. See 07:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:03 07:52:03 Login Succeeded 07:52:03 ---> docker-login.sh ends [Pipeline] } 07:52:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:52:04 ========================================================= 07:52:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:52:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:52:04 + 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 . 07:52:04 Sending build context to Docker daemon 2.327MB 07:52:04 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:52:04 Step 2/8 : FROM ${BASE} 07:52:05 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:52:05 5f621e34cdf4: Pulling fs layer 07:52:05 a4357932f1b6: Pulling fs layer 07:52:05 18c013af1878: Pulling fs layer 07:52:05 00ac8860ef70: Pulling fs layer 07:52:05 63d7cb157983: Pulling fs layer 07:52:05 b116817d02f9: Pulling fs layer 07:52:05 745a02a5169b: Pulling fs layer 07:52:05 00ac8860ef70: Waiting 07:52:05 63d7cb157983: Waiting 07:52:05 745a02a5169b: Waiting 07:52:05 b116817d02f9: Waiting 07:52:05 18c013af1878: Verifying Checksum 07:52:05 18c013af1878: Download complete 07:52:05 a4357932f1b6: Download complete 07:52:05 63d7cb157983: Verifying Checksum 07:52:05 63d7cb157983: Download complete 07:52:05 b116817d02f9: Verifying Checksum 07:52:05 b116817d02f9: Download complete 07:52:05 5f621e34cdf4: Verifying Checksum 07:52:05 5f621e34cdf4: Download complete 07:52:06 5f621e34cdf4: Pull complete 07:52:06 a4357932f1b6: Pull complete 07:52:07 18c013af1878: Pull complete 07:52:07 745a02a5169b: Verifying Checksum 07:52:07 745a02a5169b: Download complete 07:52:09 00ac8860ef70: Verifying Checksum 07:52:09 00ac8860ef70: Download complete 07:52:19 Running on prd-centos7-docker-4c-2g-29627 in /w/workspace/dgexfoundry_device-sdk-go_PR-816 [Pipeline] { [Pipeline] ws 07:52:19 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:52:19 00ac8860ef70: Pull complete 07:52:19 63d7cb157983: Pull complete 07:52:19 b116817d02f9: Pull complete 07:52:21 using credential edgex-jenkins-ssh 07:52:21 Cloning the remote Git repository 07:52:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:52:21 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:52:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:52:21 > git --version # timeout=10 07:52:21 > git --version # 'git version 2.24.3' 07:52:21 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:52:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:52:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:52:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:52:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:52:22 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/816/head:refs/remotes/origin/PR-816 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:52:22 745a02a5169b: Pull complete 07:52:22 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:52:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:52:22 ---> b7e6874047d6 07:52:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:52:23 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit ee37646d93806932af97a1dbec2aa3ea91e5802d 07:52:23 Merge succeeded, producing ee37646d93806932af97a1dbec2aa3ea91e5802d 07:52:23 Checking out Revision ee37646d93806932af97a1dbec2aa3ea91e5802d (PR-816) 07:52:23 > git config core.sparsecheckout # timeout=10 07:52:23 > git checkout -f ee37646d93806932af97a1dbec2aa3ea91e5802d # timeout=10 07:52:23 > git remote # timeout=10 07:52:23 > git config --get remote.origin.url # timeout=10 07:52:23 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:23 > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 07:52:23 > git rev-parse HEAD^{commit} # timeout=10 07:52:23 > git config core.sparsecheckout # timeout=10 07:52:23 > git checkout -f ee37646d93806932af97a1dbec2aa3ea91e5802d # timeout=10 07:52:25 ---> Running in 09d7175364f9 07:52:26 Removing intermediate container 09d7175364f9 07:52:26 ---> 4c1b026788c9 07:52:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:52:26 ---> Running in 5d5f8bd23459 07:52:27 Commit message: "feat: Upgrade core-contracts lib to use redesigned device profile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:52:28 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:52:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:52:28 Removing intermediate container 5d5f8bd23459 07:52:28 ---> a5090c62c677 07:52:28 Step 5/8 : RUN apk add --update --no-cache make git 07:52:28 ---> Running in 657f124e99ed 07:52:28 + sudo service docker restart 07:52:28 + true 07:52:28 Redirecting to /bin/systemctl restart docker.service 07:52:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:52:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:52:30 provisioning config files... 07:52:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6169177999021457366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:30 OK: 142 MiB in 39 packages 07:52:30 ---> docker-login.sh 07:52:30 nexus3.edgexfoundry.org:10001 07:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:31 Configure a credential helper to remove this warning. See 07:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:31 07:52:31 Login Succeeded 07:52:31 nexus3.edgexfoundry.org:10002 07:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:31 Configure a credential helper to remove this warning. See 07:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:31 07:52:31 Login Succeeded 07:52:31 nexus3.edgexfoundry.org:10003 07:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:31 Configure a credential helper to remove this warning. See 07:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:31 07:52:31 Login Succeeded 07:52:31 nexus3.edgexfoundry.org:10004 07:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:31 Configure a credential helper to remove this warning. See 07:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:31 07:52:31 Login Succeeded 07:52:31 docker.io 07:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:32 Configure a credential helper to remove this warning. See 07:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:32 07:52:32 Login Succeeded 07:52:32 ---> docker-login.sh ends [Pipeline] } 07:52:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } 07:52:32 Removing intermediate container 657f124e99ed 07:52:32 ---> ba3c2a6c663c 07:52:32 Step 6/8 : WORKDIR /device-sdk-go 07:52:32 ---> Running in 3da7fefeefe5 [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:52:32 ========================================================= 07:52:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:52:32 ========================================================= 07:52:32 Removing intermediate container 3da7fefeefe5 07:52:32 ---> 26604e5bb1b3 07:52:32 Step 7/8 : COPY . . [Pipeline] isUnix [Pipeline] sh 07:52:32 + 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 . 07:52:32 Sending build context to Docker daemon 2.32MB 07:52:32 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:52:32 Step 2/8 : FROM ${BASE} 07:52:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:52:33 188c0c94c7c5: Pulling fs layer 07:52:33 0ef7d3d256c8: Pulling fs layer 07:52:33 de9db76c5a1d: Pulling fs layer 07:52:33 bca2f99d35d6: Pulling fs layer 07:52:33 93359f2a8cfa: Pulling fs layer 07:52:33 7c6f9722023f: Pulling fs layer 07:52:33 a35cf1a2eb13: Pulling fs layer 07:52:33 93359f2a8cfa: Waiting 07:52:33 7c6f9722023f: Waiting 07:52:33 a35cf1a2eb13: Waiting 07:52:33 bca2f99d35d6: Waiting 07:52:33 de9db76c5a1d: Verifying Checksum 07:52:33 de9db76c5a1d: Download complete 07:52:33 0ef7d3d256c8: Verifying Checksum 07:52:33 0ef7d3d256c8: Download complete 07:52:33 93359f2a8cfa: Verifying Checksum 07:52:33 93359f2a8cfa: Download complete 07:52:33 188c0c94c7c5: Verifying Checksum 07:52:33 7c6f9722023f: Verifying Checksum 07:52:33 7c6f9722023f: Download complete 07:52:33 188c0c94c7c5: Pull complete 07:52:33 0ef7d3d256c8: Pull complete 07:52:33 de9db76c5a1d: Pull complete 07:52:34 ---> 89f7ebe98f61 07:52:34 Step 8/8 : RUN go mod download 07:52:34 ---> Running in 5844f710bdca 07:52:35 a35cf1a2eb13: Verifying Checksum 07:52:35 a35cf1a2eb13: Download complete 07:52:35 bca2f99d35d6: Verifying Checksum 07:52:35 bca2f99d35d6: Download complete 07:52:40 bca2f99d35d6: Pull complete 07:52:41 93359f2a8cfa: Pull complete 07:52:41 7c6f9722023f: Pull complete 07:52:46 a35cf1a2eb13: Pull complete 07:52:46 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:52:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:52:46 ---> a62c8e92a672 07:52:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:52:46 ---> Running in 3bcc9bad95aa 07:52:46 Removing intermediate container 3bcc9bad95aa 07:52:46 ---> e853fabaf710 07:52:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:52:46 ---> Running in ad6bf343620a 07:52:47 Removing intermediate container ad6bf343620a 07:52:47 ---> fe11ca10c1b5 07:52:47 Step 5/8 : RUN apk add --update --no-cache make git 07:52:47 ---> Running in a67dc7c43463 07:52:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:52:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:52:50 OK: 166 MiB in 39 packages 07:52:50 Removing intermediate container a67dc7c43463 07:52:50 ---> 8317c91024f1 07:52:50 Step 6/8 : WORKDIR /device-sdk-go 07:52:50 ---> Running in 9ffb5725cb74 07:52:50 Removing intermediate container 9ffb5725cb74 07:52:50 ---> 9845322610a6 07:52:50 Step 7/8 : COPY . . 07:52:52 ---> fad4030b6f1b 07:52:52 Step 8/8 : RUN go mod download 07:52:52 ---> Running in 449cbab11c89 07:53:00 Removing intermediate container 5844f710bdca 07:53:00 ---> 5886b118cb87 07:53:00 Successfully built 5886b118cb87 07:53:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:53:01 + docker inspect -f . ci-base-image-arm64 07:53:01 . [Pipeline] withDockerContainer 07:53:01 prd-ubuntu18.04-docker-arm64-4c-16g-29626 does not seem to be running inside a container 07:53:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:53:02 $ docker top afcf0126b075a9b11c5ed03b8ad59dbcfdb2c4aa9ed615780f1ece7176eac0a3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:04 + go version 07:53:04 go version go1.15.5 linux/arm64 [Pipeline] } 07:53:04 $ docker stop --time=1 afcf0126b075a9b11c5ed03b8ad59dbcfdb2c4aa9ed615780f1ece7176eac0a3 07:53:05 $ docker rm -f afcf0126b075a9b11c5ed03b8ad59dbcfdb2c4aa9ed615780f1ece7176eac0a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:53:06 + docker inspect -f . ci-base-image-arm64 07:53:06 . [Pipeline] withDockerContainer 07:53:07 prd-ubuntu18.04-docker-arm64-4c-16g-29626 does not seem to be running inside a container 07:53:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:53:08 $ docker top 9e744828df951ac6ffd8220ba5761b9aae860c4dfdd7fc8950908ea3f2aabdc4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:09 + make test 07:53:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:53:14 Removing intermediate container 449cbab11c89 07:53:14 ---> df947b350d86 07:53:14 Successfully built df947b350d86 07:53:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:53:14 + docker inspect -f . ci-base-image-x86_64 07:53:14 . [Pipeline] withDockerContainer 07:53:14 prd-centos7-docker-4c-2g-29627 does not seem to be running inside a container 07:53:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:53:15 $ docker top 268e084aa2f5880faae67212b0132c80f1c67cf5e24a570e7108875e7ea30a47 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:16 + go version 07:53:16 go version go1.15.5 linux/amd64 [Pipeline] } 07:53:16 $ docker stop --time=1 268e084aa2f5880faae67212b0132c80f1c67cf5e24a570e7108875e7ea30a47 07:53:17 $ docker rm -f 268e084aa2f5880faae67212b0132c80f1c67cf5e24a570e7108875e7ea30a47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:53:18 + docker inspect -f . ci-base-image-x86_64 07:53:18 . [Pipeline] withDockerContainer 07:53:18 prd-centos7-docker-4c-2g-29627 does not seem to be running inside a container 07:53:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:53:19 $ docker top 5af3362ea113d61296ba2f8334ed3e92588f40675d5a707829c6d0e155930395 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:19 + make test 07:53:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:53:28 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:53:31 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:53:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:53:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:53:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:53:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 25.5% of statements 07:54:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:54:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:54:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:54:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.119s coverage: 25.5% of statements 07:54:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.052s coverage: 10.5% of statements 07:54:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 12.5% of statements 07:54:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:54:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.061s coverage: 84.8% of statements 07:54:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:54:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:54:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:54:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.069s coverage: 47.6% of statements 07:54:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:54:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.061s coverage: 81.2% of statements 07:54:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.083s coverage: 24.8% of statements 07:54:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.158s coverage: 6.4% of statements 07:54:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.2% of statements 07:54:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:54:17 GO111MODULE=on go vet ./... 07:54:24 gofmt -l . 07:54:24 [ "`gofmt -l .`" = "" ] 07:54:24 ./bin/test-attribution-txt.sh 07:54:25 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:54:25 $ docker stop --time=1 5af3362ea113d61296ba2f8334ed3e92588f40675d5a707829c6d0e155930395 07:54:27 $ docker rm -f 5af3362ea113d61296ba2f8334ed3e92588f40675d5a707829c6d0e155930395 [Pipeline] // withDockerContainer [Pipeline] sh 07:54:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:54:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:54:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:54:32 + ls -al . 07:54:32 total 184 07:54:32 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 12 07:54 . 07:54:32 drwxrwxr-x. 4 jenkins jenkins 28 Mar 12 07:52 .. 07:54:32 drwxrwxr-x. 2 jenkins jenkins 64 Mar 12 07:52 bin 07:54:32 -rw-r--r--. 1 jenkins jenkins 102032 Mar 12 07:54 coverage.out 07:54:32 -rw-rw-r--. 1 jenkins jenkins 949 Mar 12 07:52 Dockerfile.build 07:54:32 -rw-rw-r--. 1 jenkins jenkins 140 Mar 12 07:52 .dockerignore 07:54:32 drwxrwxr-x. 4 jenkins jenkins 48 Mar 12 07:52 example 07:54:32 drwxrwxr-x. 8 jenkins jenkins 179 Mar 12 07:52 .git 07:54:32 drwxrwxr-x. 2 jenkins jenkins 103 Mar 12 07:52 .github 07:54:32 -rw-rw-r--. 1 jenkins jenkins 138 Mar 12 07:52 .gitignore 07:54:32 -rw-r--r--. 1 jenkins jenkins 479 Mar 12 07:54 go.mod 07:54:32 -rw-r--r--. 1 jenkins jenkins 17490 Mar 12 07:54 go.sum 07:54:32 drwxrwxr-x. 12 jenkins jenkins 171 Mar 12 07:52 internal 07:54:32 -rw-rw-r--. 1 jenkins jenkins 901 Mar 12 07:52 Jenkinsfile 07:54:32 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 12 07:52 LICENSE 07:54:32 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 12 07:52 Makefile 07:54:32 drwxrwxr-x. 4 jenkins jenkins 26 Mar 12 07:52 openapi 07:54:32 drwxrwxr-x. 5 jenkins jenkins 50 Mar 12 07:52 pkg 07:54:32 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 12 07:52 README.md 07:54:32 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 12 07:52 RELEASE-NOTES.txt 07:54:32 drwxrwxr-x. 4 jenkins jenkins 54 Mar 12 07:52 snap 07:54:32 -rw-rw-r--. 1 jenkins jenkins 5 Mar 12 07:49 VERSION 07:54:32 -rw-rw-r--. 1 jenkins jenkins 222 Mar 12 07:52 version.go [Pipeline] isUnix [Pipeline] sh 07:54:32 + 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=ee37646d93806932af97a1dbec2aa3ea91e5802d --label arch=amd64 --label version=0.0.0 . 07:54:33 Sending build context to Docker daemon 2.423MB 07:54:33 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:54:33 Step 2/24 : FROM ${BASE} AS builder 07:54:33 ---> df947b350d86 07:54:33 Step 3/24 : ARG MAKE='make build' 07:54:33 ---> Running in 47b09b7c3833 07:54:33 Removing intermediate container 47b09b7c3833 07:54:33 ---> 98b08be0b99e 07:54:33 Step 4/24 : WORKDIR /device-sdk-go 07:54:33 ---> Running in 3851e9ed61f4 07:54:33 Removing intermediate container 3851e9ed61f4 07:54:33 ---> 49ad9aa51821 07:54:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:54:34 ---> Running in 3a09ddbcbb25 07:54:34 Removing intermediate container 3a09ddbcbb25 07:54:34 ---> ddec183979a9 07:54:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:54:34 ---> Running in db9390c93ba8 07:54:35 Removing intermediate container db9390c93ba8 07:54:35 ---> 06b18f21e21f 07:54:35 Step 7/24 : RUN apk add --update --no-cache make git 07:54:35 ---> Running in c4bb95593eab 07:54:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:54:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:54:37 OK: 166 MiB in 39 packages 07:54:37 Removing intermediate container c4bb95593eab 07:54:37 ---> fda1b25e8dee 07:54:37 Step 8/24 : COPY . . 07:54:38 ---> 1f79193986a2 07:54:38 Step 9/24 : RUN ${MAKE} 07:54:38 ---> Running in 36787f2a0fb7 07:54:39 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 07:54:47 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:54:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.148s coverage: 10.5% of statements 07:54:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.097s coverage: 12.5% of statements 07:54:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:54:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.130s coverage: 84.8% of statements 07:54:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:54:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:54:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:54:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.189s coverage: 47.6% of statements 07:54:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:54:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.228s coverage: 81.2% of statements 07:54:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.166s coverage: 24.8% of statements 07:54:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.806s coverage: 6.4% of statements 07:54:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.133s coverage: 5.2% of statements 07:54:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:54:47 GO111MODULE=on go vet ./... 07:54:50 Removing intermediate container 36787f2a0fb7 07:54:50 ---> 4294f332bbbb 07:54:50 Step 10/24 : FROM scratch 07:54:50 ---> 07:54:50 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:54:50 ---> Running in 68d6cdf3ff92 07:54:50 Removing intermediate container 68d6cdf3ff92 07:54:50 ---> c5f6ff2426c5 07:54:50 Step 12/24 : ENV APP_PORT=49990 07:54:50 ---> Running in ecb82124936d 07:54:50 Removing intermediate container ecb82124936d 07:54:50 ---> a8d8bbb11db4 07:54:50 Step 13/24 : EXPOSE $APP_PORT 07:54:50 ---> Running in b3ef3005eafe 07:54:50 Removing intermediate container b3ef3005eafe 07:54:50 ---> 814118de6a2a 07:54:50 Step 14/24 : WORKDIR / 07:54:50 ---> Running in c8583c5476c4 07:54:50 Removing intermediate container c8583c5476c4 07:54:50 ---> 0137b5f70491 07:54:50 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:54:51 ---> 978a705467b1 07:54:51 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:54:51 ---> 83e8ca82dc30 07:54:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:54:51 ---> 443ca8c99a08 07:54:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:54:52 ---> 3de24fb50b19 07:54:52 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:54:52 ---> 8b6b6814de09 07:54:52 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:54:52 ---> Running in 1516709e4b54 07:54:52 Removing intermediate container 1516709e4b54 07:54:52 ---> 7d9af0868875 07:54:52 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:54:52 ---> Running in fba450a53b2d 07:54:52 Removing intermediate container fba450a53b2d 07:54:52 ---> 448cf744fe53 07:54:52 Step 22/24 : LABEL arch=amd64 07:54:52 ---> Running in 59e3db237cc6 07:54:53 Removing intermediate container 59e3db237cc6 07:54:53 ---> db1cb07d27f2 07:54:53 Step 23/24 : LABEL git_sha=ee37646d93806932af97a1dbec2aa3ea91e5802d 07:54:53 ---> Running in 92347d65ac94 07:54:53 Removing intermediate container 92347d65ac94 07:54:53 ---> aedaf279a5c9 07:54:53 Step 24/24 : LABEL version=0.0.0 07:54:53 ---> Running in 66ceb546f5b4 07:54:53 Removing intermediate container 66ceb546f5b4 07:54:53 ---> 86571787eddf 07:54:53 [Warning] One or more build-args [ARCH] were not consumed 07:54:53 Successfully built 86571787eddf 07:54:53 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 07:54:54 ---> job-cost.sh 07:54:54 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4Bqs 07:55:09 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:55:20 gofmt -l . 07:55:20 [ "`gofmt -l .`" = "" ] 07:55:20 ./bin/test-attribution-txt.sh 07:55:20 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:55:20 $ docker stop --time=1 9e744828df951ac6ffd8220ba5761b9aae860c4dfdd7fc8950908ea3f2aabdc4 07:55:22 $ docker rm -f 9e744828df951ac6ffd8220ba5761b9aae860c4dfdd7fc8950908ea3f2aabdc4 [Pipeline] // withDockerContainer [Pipeline] sh 07:55:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:55:23 Warning: overwriting stash ‘coverage-report’ 07:55:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:55:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:55:25 + ls -al . 07:55:25 total 220 07:55:25 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:55 . 07:55:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:51 .. 07:55:25 -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 07:51 .dockerignore 07:55:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:51 .git 07:55:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:51 .github 07:55:25 -rw-rw-r-- 1 jenkins jenkins 138 Mar 12 07:51 .gitignore 07:55:25 -rw-rw-r-- 1 jenkins jenkins 949 Mar 12 07:51 Dockerfile.build 07:55:25 -rw-rw-r-- 1 jenkins jenkins 901 Mar 12 07:51 Jenkinsfile 07:55:25 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 12 07:51 LICENSE 07:55:25 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 12 07:51 Makefile 07:55:25 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 12 07:51 README.md 07:55:25 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 12 07:51 RELEASE-NOTES.txt 07:55:25 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 07:49 VERSION 07:55:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:51 bin 07:55:25 -rw-r--r-- 1 jenkins jenkins 102032 Mar 12 07:54 coverage.out 07:55:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:51 example 07:55:25 -rw-r--r-- 1 jenkins jenkins 479 Mar 12 07:55 go.mod 07:55:25 -rw-r--r-- 1 jenkins jenkins 17490 Mar 12 07:55 go.sum 07:55:25 drwxrwxr-x 12 jenkins jenkins 4096 Mar 12 07:51 internal 07:55:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:51 openapi 07:55:25 drwxrwxr-x 5 jenkins jenkins 4096 Mar 12 07:51 pkg 07:55:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:51 snap 07:55:25 -rw-rw-r-- 1 jenkins jenkins 222 Mar 12 07:51 version.go [Pipeline] isUnix [Pipeline] sh 07:55:26 + 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=ee37646d93806932af97a1dbec2aa3ea91e5802d --label arch=arm64 --label version=0.0.0 . 07:55:26 Sending build context to Docker daemon 2.429MB 07:55:26 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:55:26 Step 2/24 : FROM ${BASE} AS builder 07:55:26 ---> 5886b118cb87 07:55:26 Step 3/24 : ARG MAKE='make build' 07:55:26 ---> Running in cd081d79a468 07:55:27 Removing intermediate container cd081d79a468 07:55:27 ---> c8282ab276a8 07:55:27 Step 4/24 : WORKDIR /device-sdk-go 07:55:27 ---> Running in 39f0d93a346b 07:55:28 Removing intermediate container 39f0d93a346b 07:55:28 ---> 5b6ecfedb331 07:55:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:55:28 ---> Running in d9b5340d0d0b 07:55:28 Removing intermediate container d9b5340d0d0b 07:55:28 ---> 68d7d97748f3 07:55:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:55:28 ---> Running in bd31873bea5d 07:55:30 Removing intermediate container bd31873bea5d 07:55:30 ---> f0af331f6ebd 07:55:30 Step 7/24 : RUN apk add --update --no-cache make git 07:55:30 ---> Running in 1910cc48b3b0 07:55:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:55:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:55:33 OK: 142 MiB in 39 packages 07:55:34 Removing intermediate container 1910cc48b3b0 07:55:34 ---> 36e0be1c0f10 07:55:34 Step 8/24 : COPY . . 07:55:35 ---> 91c781392b22 07:55:35 Step 9/24 : RUN ${MAKE} 07:55:35 ---> Running in df5169603e77 07:55:37 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 07:55:41 lf-activate-venv(): INFO: Adding /tmp/venv-4Bqs/bin to PATH 07:55:41 INFO: No Stack... 07:55:41 INFO: Retrieving Pricing Info for: v1-standard-2 07:55:41 INFO: Archiving Costs [Pipeline] sh 07:55:42 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 07:55:42 + cut -d, -f6 [Pipeline] lock 07:55:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] 07:55:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] did not exist. Created. 07:55:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:55:42 + echo total: 0.029999999329447746 [Pipeline] stash 07:55:42 Stashed 1 file(s) [Pipeline] } 07:55:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:56:03 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:56:04 Removing intermediate container df5169603e77 07:56:04 ---> cd0dfc41f813 07:56:04 Step 10/24 : FROM scratch 07:56:04 ---> 07:56:04 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:56:04 ---> Running in 548cd2c4b5b6 07:56:04 Removing intermediate container 548cd2c4b5b6 07:56:04 ---> 6afa54b8c9f8 07:56:04 Step 12/24 : ENV APP_PORT=49990 07:56:04 ---> Running in 5862a481e3c3 07:56:05 Removing intermediate container 5862a481e3c3 07:56:05 ---> e7643a774e09 07:56:05 Step 13/24 : EXPOSE $APP_PORT 07:56:05 ---> Running in f98d90a66912 07:56:05 Removing intermediate container f98d90a66912 07:56:05 ---> 3bd90eda46a2 07:56:05 Step 14/24 : WORKDIR / 07:56:05 ---> Running in 19ffd6d051b8 07:56:06 Removing intermediate container 19ffd6d051b8 07:56:06 ---> 1ff6f10597e5 07:56:06 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:56:07 ---> 999fbf9220be 07:56:07 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:56:08 ---> 4a77791abd45 07:56:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:56:09 ---> 2dc2cc8a19ba 07:56:09 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:56:09 ---> df852b0a9ec7 07:56:09 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:56:10 ---> 1b483a8a04fd 07:56:10 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:56:10 ---> Running in 3db94ef0d98a 07:56:11 Removing intermediate container 3db94ef0d98a 07:56:11 ---> f35509049ade 07:56:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:56:11 ---> Running in 716b8c83c58e 07:56:11 Removing intermediate container 716b8c83c58e 07:56:11 ---> 5cc27eb7c86d 07:56:11 Step 22/24 : LABEL arch=arm64 07:56:11 ---> Running in c0883d57fce6 07:56:11 Removing intermediate container c0883d57fce6 07:56:11 ---> 83b9225ca918 07:56:11 Step 23/24 : LABEL git_sha=ee37646d93806932af97a1dbec2aa3ea91e5802d 07:56:12 ---> Running in 590fc3c0a6e1 07:56:12 Removing intermediate container 590fc3c0a6e1 07:56:12 ---> cb9830c99623 07:56:12 Step 24/24 : LABEL version=0.0.0 07:56:12 ---> Running in 1ea74232269e 07:56:13 Removing intermediate container 1ea74232269e 07:56:13 ---> 63791c53e235 07:56:13 [Warning] One or more build-args [ARCH] were not consumed 07:56:13 Successfully built 63791c53e235 07:56:13 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 07:56:14 ---> job-cost.sh 07:56:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VLcA 07:56:53 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:58:29 lf-activate-venv(): INFO: Adding /tmp/venv-VLcA/bin to PATH 07:58:29 INFO: No Stack... 07:58:29 INFO: Retrieving Pricing Info for: lf-standard-4 07:58:29 INFO: Archiving Costs [Pipeline] sh 07:58:30 + + cat /w/workspace/device-sdk-go/2/archives/cost.csv 07:58:30 cut -d, -f6 [Pipeline] lock 07:58:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] 07:58:30 Resource [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] did not exist. Created. 07:58:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:58:30 /w/workspace/device-sdk-go/2@tmp/durable-cba1d180/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-cba1d180/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:58:31 + echo total: 0.20999999344348907 [Pipeline] stash 07:58:31 Warning: overwriting stash ‘stack-cost’ 07:58:31 Stashed 1 file(s) [Pipeline] } 07:58:31 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-816-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 07:58:33 provisioning config files... 07:58:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config551781987804257011tmp [Pipeline] { [Pipeline] sh 07:58:33 + set +x 07:58:33 + curl -s https://codecov.io/bash 07:58:33 + bash -s -- 07:58:33 07:58:33 _____ _ 07:58:33 / ____| | | 07:58:33 | | ___ __| | ___ ___ _____ __ 07:58:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:58:33 | |___| (_) | (_| | __/ (_| (_) \ V / 07:58:33 \_____\___/ \__,_|\___|\___\___/ \_/ 07:58:33 Bash-20210309-2b87ace 07:58:33 07:58:33 07:58:33 ==> git version 2.24.3 found 07:58:33 ==> 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 07:58:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:58:33 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:58:33 ==> Jenkins CI detected. 07:58:33 project root: . 07:58:33 --> token set from env 07:58:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:58:34 ==> Running gcov in . (disable via -X gcov) 07:58:34 ==> Python coveragepy not found 07:58:34 ==> Searching for coverage reports in: 07:58:34 + . 07:58:34 -> Found 1 reports 07:58:34 ==> Detecting git/mercurial file structure 07:58:34 ==> Reading reports 07:58:34 + ./coverage.out bytes=102032 07:58:34 ==> Appending adjustments 07:58:34 https://docs.codecov.io/docs/fixing-reports 07:58:35 + Found adjustments 07:58:35 ==> Gzipping contents 07:58:35 16K /tmp/codecov.f28uXv.gz 07:58:35 ==> Uploading reports 07:58:35 url: https://codecov.io 07:58:35 query: branch=PR-816&commit=ee37646d93806932af97a1dbec2aa3ea91e5802d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-816%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=816&job=&cmd_args= 07:58:35 -> Pinging Codecov 07:58:35 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-816&commit=ee37646d93806932af97a1dbec2aa3ea91e5802d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-816%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=816&job=&cmd_args= 07:58:35 -> Uploading to 07:58:35 https://storage.googleapis.com/codecov/v4/raw/2021-03-12/7E55EF52A471D76F132DFD9A03CDDE97/ee37646d93806932af97a1dbec2aa3ea91e5802d/458356ac-82ea-4a3e-87f4-6e087afa03c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210312%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210312T075835Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=84b168be4e143c951fa9289878503be09d020f16fe0dc7ca4a398fca79c54078 07:58:35 % Total % Received % Xferd Average Speed Time Time Time Current 07:58:35 Dload Upload Total Spent Left Speed 07:58:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15168 0 0 100 15168 0 28016 --:--:-- --:--:-- --:--:-- 27985 07:58:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ee37646d93806932af97a1dbec2aa3ea91e5802d [Pipeline] } 07:58:35 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 07:58:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:58:39 ---> package-listing.sh 07:58:39 ++ facter osfamily 07:58:39 ++ tr '[:upper:]' '[:lower:]' 07:58:39 + OS_FAMILY=redhat 07:58:39 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-816 07:58:39 + START_PACKAGES=/tmp/packages_start.txt 07:58:39 + END_PACKAGES=/tmp/packages_end.txt 07:58:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:58:39 + PACKAGES=/tmp/packages_start.txt 07:58:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-816 ']' 07:58:39 + PACKAGES=/tmp/packages_end.txt 07:58:39 + case "${OS_FAMILY}" in 07:58:39 + rpm -qa 07:58:39 + sort 07:58:47 + '[' -f /tmp/packages_start.txt ']' 07:58:47 + '[' -f /tmp/packages_end.txt ']' 07:58:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:58:47 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-816 ']' 07:58:47 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-816/archives/ 07:58:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-816/archives/ [Pipeline] echo 07:58:47 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-816/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:58:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:58:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:58:48 07:58:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:58:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:58:49 alpine: Pulling from edgex-lftools-log-publisher 07:58:49 df20fa9351a1: Pulling fs layer 07:58:49 36b3adc4ff6f: Pulling fs layer 07:58:49 8ad3a11d3b57: Pulling fs layer 07:58:49 46f8f816bc3b: Pulling fs layer 07:58:49 93b61091891f: Pulling fs layer 07:58:49 93b9cdb0e59b: Pulling fs layer 07:58:49 5e14af77c1be: Pulling fs layer 07:58:49 01666e4c0597: Pulling fs layer 07:58:49 aa168da1d23b: Pulling fs layer 07:58:49 5e14af77c1be: Waiting 07:58:49 01666e4c0597: Waiting 07:58:49 aa168da1d23b: Waiting 07:58:49 46f8f816bc3b: Waiting 07:58:49 93b61091891f: Waiting 07:58:49 93b9cdb0e59b: Waiting 07:58:49 36b3adc4ff6f: Verifying Checksum 07:58:49 36b3adc4ff6f: Download complete 07:58:49 46f8f816bc3b: Verifying Checksum 07:58:49 46f8f816bc3b: Download complete 07:58:49 df20fa9351a1: Verifying Checksum 07:58:49 df20fa9351a1: Download complete 07:58:49 93b9cdb0e59b: Verifying Checksum 07:58:49 93b9cdb0e59b: Download complete 07:58:49 5e14af77c1be: Verifying Checksum 07:58:49 5e14af77c1be: Download complete 07:58:49 93b61091891f: Verifying Checksum 07:58:49 93b61091891f: Download complete 07:58:49 01666e4c0597: Download complete 07:58:50 df20fa9351a1: Pull complete 07:58:50 8ad3a11d3b57: Verifying Checksum 07:58:50 8ad3a11d3b57: Download complete 07:58:50 36b3adc4ff6f: Pull complete 07:58:52 8ad3a11d3b57: Pull complete 07:58:52 46f8f816bc3b: Pull complete 07:58:53 93b61091891f: Pull complete 07:58:54 93b9cdb0e59b: Pull complete 07:58:54 5e14af77c1be: Pull complete 07:58:55 aa168da1d23b: Verifying Checksum 07:58:55 aa168da1d23b: Download complete 07:58:55 01666e4c0597: Pull complete 07:59:18 aa168da1d23b: Pull complete 07:59:18 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:59:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:59:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:59:19 prd-centos7-docker-4c-2g-29625 does not seem to be running inside a container 07:59:20 $ 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-816/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-816 -v /w/workspace/dgexfoundry_device-sdk-go_PR-816:/w/workspace/dgexfoundry_device-sdk-go_PR-816:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-816@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 07:59:22 $ docker top 9afb0b066df0d7aa414511120446569fb061e8ba2f982c07443936f567f8aef0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:23 + touch /tmp/pre-build-complete [Pipeline] sh 07:59:24 + mkdir -p /var/log/sa [Pipeline] sh 07:59:24 + ls /var/log/sa-host 07:59:24 + sadf -c /var/log/sa-host/sa12 07:59:24 file_magic: OK 07:59:24 HZ: Using current value: 100 07:59:24 file_header: OK 07:59:24 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 07:59:24 Statistics: 07:59:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:59:24 File successfully converted to sysstat format version 12.2.1 07:59:24 + sadf -c /var/log/sa-host/sa23 07:59:24 file_magic: OK 07:59:24 HZ: Using current value: 100 07:59:24 file_header: OK 07:59:24 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 07:59:24 Statistics: 07:59:24 Hnuu...uuuununununu... 07:59:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:59:25 provisioning config files... 07:59:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-816@tmp/config6136542223838330055tmp [Pipeline] { [Pipeline] echo 07:59:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:59:26 ---> create-netrc.sh [Pipeline] } 07:59:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:59:26 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:59:26 ---> python-tools-install.sh [Pipeline] echo 07:59:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:59:26 ---> sudo-logs.sh 07:59:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:59:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:59:27 ---> job-cost.sh 07:59:27 lf-activate-venv: SKIPPING 07:59:27 DEBUG: total: 0.20999999344348907 07:59:27 INFO: Retrieving Stack Cost... 07:59:28 INFO: Retrieving Pricing Info for: v1-standard-2 07:59:29 INFO: Archiving Costs [Pipeline] echo 07:59:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:59:29 ---> logs-deploy.sh 07:59:29 lf-activate-venv: SKIPPING 07:59:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-816/2 07:59:29 INFO: archiving workspace using pattern(s): 07:59:33 Archives upload complete. 07:59:33 INFO: archiving logs to Nexus