Pull request #862 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 ff9571a65c38542c5e32f78632fd3858ae2adc04+f8ce82a60cbe95ca283042008e77ff6fa7203569 (a988da0370d8631c5085636b1d9a914a6310a0e8) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName: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-32944 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [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-862 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f8ce82a60cbe95ca283042008e77ff6fa7203569 into PR head commit ff9571a65c38542c5e32f78632fd3858ae2adc04 > git config core.sparsecheckout # timeout=10 > git checkout -f ff9571a65c38542c5e32f78632fd3858ae2adc04 # timeout=10 Merge succeeded, producing ff9571a65c38542c5e32f78632fd3858ae2adc04 Checking out Revision ff9571a65c38542c5e32f78632fd3858ae2adc04 (PR-862) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f8ce82a60cbe95ca283042008e77ff6fa7203569 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff9571a65c38542c5e32f78632fd3858ae2adc04 # timeout=10 Commit message: "refactor: leverage latest profile cache" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:47:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk b292f1c52d86a78f2a842fe4b599153adb4b841c # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:47:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:47:04 ========================================================= 08:47:04 EdgeX Global Pipelines Version Info 08:47:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:47:08 ------------------- 08:47:08 stable info: 08:47:08 ------------------- 08:47:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:47:08 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 08:47:08 Message: update stable to v1.0.186 08:47:09 ------------------- 08:47:09 experimental info: 08:47:09 ------------------- 08:47:09 Commited By: **** collab-it+edgex@linuxfoundation.org 08:47:09 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 08:47:09 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:47:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:47:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:47:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:47:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:47:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:47:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:47:10 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:47:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:47:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:47:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:47:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:47:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:47:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:47:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:47:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:47:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:47:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:47:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:47:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:47:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:47:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:47:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:47:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:47:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-862 [Pipeline] echo 08:47:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-862 [Pipeline] echo 08:47:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-862 [Pipeline] echo 08:47:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff9571a65c38542c5e32f78632fd3858ae2adc04 [Pipeline] echo 08:47:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff9571a [Pipeline] echo 08:47:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:47:13 provisioning config files... 08:47:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config9108402547461455170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:47:14 ---> docker-login.sh 08:47:14 nexus3.edgexfoundry.org:10001 08:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:15 Configure a credential helper to remove this warning. See 08:47:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:15 08:47:15 Login Succeeded 08:47:15 nexus3.edgexfoundry.org:10002 08:47:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:16 Configure a credential helper to remove this warning. See 08:47:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:16 08:47:16 Login Succeeded 08:47:16 nexus3.edgexfoundry.org:10003 08:47:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:17 Configure a credential helper to remove this warning. See 08:47:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:17 08:47:17 Login Succeeded 08:47:17 nexus3.edgexfoundry.org:10004 08:47:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:18 Configure a credential helper to remove this warning. See 08:47:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:18 08:47:18 Login Succeeded 08:47:18 docker.io 08:47:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:18 Configure a credential helper to remove this warning. See 08:47:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:18 08:47:18 Login Succeeded 08:47:18 ---> docker-login.sh ends [Pipeline] } 08:47:18 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 08:47:19 + git log --format=format:%s -1 ff9571a65c38542c5e32f78632fd3858ae2adc04 [Pipeline] echo 08:47:19 GIT_COMMIT: ff9571a65c38542c5e32f78632fd3858ae2adc04, Commit Message: refactor: leverage latest profile cache [Pipeline] echo 08:47:19 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:47:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:47:21 08:47:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:47:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:47:21 latest: Pulling from edgex-devops/git-semver 08:47:21 31603596830f: Pulling fs layer 08:47:21 2a8b12db71e7: Pulling fs layer 08:47:21 6ca5941a6612: Pulling fs layer 08:47:21 ecc8261a40a4: Pulling fs layer 08:47:21 ecc8261a40a4: Waiting 08:47:21 2a8b12db71e7: Verifying Checksum 08:47:22 2a8b12db71e7: Download complete 08:47:22 31603596830f: Verifying Checksum 08:47:22 31603596830f: Download complete 08:47:23 ecc8261a40a4: Verifying Checksum 08:47:23 ecc8261a40a4: Download complete 08:47:23 6ca5941a6612: Verifying Checksum 08:47:23 6ca5941a6612: Download complete 08:47:23 31603596830f: Pull complete 08:47:23 2a8b12db71e7: Pull complete 08:47:26 6ca5941a6612: Pull complete 08:47:27 ecc8261a40a4: Pull complete 08:47:27 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:47:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:47:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:47:27 prd-centos7-docker-4c-2g-32944 does not seem to be running inside a container 08:47:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-862 -v /w/workspace/dgexfoundry_device-sdk-go_PR-862:/w/workspace/dgexfoundry_device-sdk-go_PR-862:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-862@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 08:47:31 $ docker top 86cf82aa5871093e69f661e771715bb3fbb478f48dffd3a2b2319f35915eacb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:47:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:47:32 [ssh-agent] Looking for ssh-agent implementation... 08:47:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:47:32 $ docker exec 86cf82aa5871093e69f661e771715bb3fbb478f48dffd3a2b2319f35915eacb8 ssh-agent 08:47:33 SSH_AUTH_SOCK=/tmp/ssh-33WivJdqCAEz/agent.11 08:47:33 SSH_AGENT_PID=17 08:47:33 Running ssh-add (command line suppressed) 08:47:33 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_3794115913431142276.key (/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_3794115913431142276.key) 08:47:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:47:34 + git tag --points-at HEAD [Pipeline] } 08:47:34 $ docker exec --env ******** --env ******** 86cf82aa5871093e69f661e771715bb3fbb478f48dffd3a2b2319f35915eacb8 ssh-agent -k 08:47:34 unset SSH_AUTH_SOCK; 08:47:34 unset SSH_AGENT_PID; 08:47:34 echo Agent pid 17 killed; 08:47:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:47:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:47:34 [ssh-agent] Looking for ssh-agent implementation... 08:47:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:47:35 $ docker exec 86cf82aa5871093e69f661e771715bb3fbb478f48dffd3a2b2319f35915eacb8 ssh-agent 08:47:35 SSH_AUTH_SOCK=/tmp/ssh-kzEolppTmNHy/agent.46 08:47:35 SSH_AGENT_PID=51 08:47:35 Running ssh-add (command line suppressed) 08:47:35 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_4869811248466262790.key (/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_4869811248466262790.key) 08:47:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:47:36 + git semver init 08:47:36 # -> Open(): unable to determine branch for HEAD 08:47:36 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-862/.git 08:47:36 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-862 08:47:36 # $SEMVER_REMOTE_NAME = origin 08:47:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:47:36 # $SEMVER_USER_NAME = edgex-jenkins 08:47:36 # $SEMVER_BRANCH = PR-862 08:47:36 # $SEMVER_TEMP = /tmp/semver-992241809 08:47:36 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:47:38 # '/tmp/semver-992241809' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-862/.semver' 08:47:38 # -> Force: false 08:47:38 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-862/.semver [Pipeline] } 08:47:38 $ docker exec --env ******** --env ******** 86cf82aa5871093e69f661e771715bb3fbb478f48dffd3a2b2319f35915eacb8 ssh-agent -k 08:47:38 unset SSH_AUTH_SOCK; 08:47:38 unset SSH_AGENT_PID; 08:47:38 echo Agent pid 51 killed; 08:47:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:47:39 + git semver [Pipeline] } 08:47:39 $ docker stop --time=1 86cf82aa5871093e69f661e771715bb3fbb478f48dffd3a2b2319f35915eacb8 08:47:41 $ docker rm -f 86cf82aa5871093e69f661e771715bb3fbb478f48dffd3a2b2319f35915eacb8 [Pipeline] // withDockerContainer [Pipeline] sh 08:47:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:47:46 Stashed 1 file(s) [Pipeline] echo 08:47:46 [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 08:48:02 Still waiting to schedule task 08:48:02 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:48:02 Still waiting to schedule task 08:48:02 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-32942’ 08:49:54 Running on prd-centos7-docker-4c-2g-32947 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [Pipeline] { [Pipeline] ws 08:49:54 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 08:49:56 using credential edgex-jenkins-ssh 08:49:56 Cloning the remote Git repository 08:49:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:49:56 > git init /w/workspace/device-sdk-go/4 # timeout=10 08:49:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:49:57 > git --version # timeout=10 08:49:57 > git --version # 'git version 2.24.3' 08:49:57 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:49:58 Merging remotes/origin/master commit f8ce82a60cbe95ca283042008e77ff6fa7203569 into PR head commit ff9571a65c38542c5e32f78632fd3858ae2adc04 08:49:58 Merge succeeded, producing ff9571a65c38542c5e32f78632fd3858ae2adc04 08:49:58 Checking out Revision ff9571a65c38542c5e32f78632fd3858ae2adc04 (PR-862) 08:49:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:49:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:49:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:49:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:49:57 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:49:58 > git config core.sparsecheckout # timeout=10 08:49:58 > git checkout -f ff9571a65c38542c5e32f78632fd3858ae2adc04 # timeout=10 08:49:58 > git remote # timeout=10 08:49:58 > git config --get remote.origin.url # timeout=10 08:49:58 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:58 > git merge f8ce82a60cbe95ca283042008e77ff6fa7203569 # timeout=10 08:49:58 > git rev-parse HEAD^{commit} # timeout=10 08:49:58 > git config core.sparsecheckout # timeout=10 08:49:58 > git checkout -f ff9571a65c38542c5e32f78632fd3858ae2adc04 # timeout=10 08:50:02 Commit message: "refactor: leverage latest profile cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:50:03 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:50:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:50:04 + sudo service docker restart 08:50:04 + true 08:50:04 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:50:05 provisioning config files... 08:50:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3634993425899224009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:50:06 ---> docker-login.sh 08:50:06 nexus3.edgexfoundry.org:10001 08:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:50:06 Configure a credential helper to remove this warning. See 08:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:50:06 08:50:06 Login Succeeded 08:50:06 nexus3.edgexfoundry.org:10002 08:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:50:06 Configure a credential helper to remove this warning. See 08:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:50:06 08:50:06 Login Succeeded 08:50:06 nexus3.edgexfoundry.org:10003 08:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:50:07 Configure a credential helper to remove this warning. See 08:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:50:07 08:50:07 Login Succeeded 08:50:07 nexus3.edgexfoundry.org:10004 08:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:50:07 Configure a credential helper to remove this warning. See 08:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:50:07 08:50:07 Login Succeeded 08:50:07 docker.io 08:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:50:07 Configure a credential helper to remove this warning. See 08:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:50:07 08:50:07 Login Succeeded 08:50:07 ---> docker-login.sh ends [Pipeline] } 08:50:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:50:07 ========================================================= 08:50:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:50:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:50:08 + 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 . 08:50:08 Sending build context to Docker daemon 2.396MB 08:50:08 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:50:08 Step 2/8 : FROM ${BASE} 08:50:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:50:08 188c0c94c7c5: Pulling fs layer 08:50:08 0ef7d3d256c8: Pulling fs layer 08:50:08 de9db76c5a1d: Pulling fs layer 08:50:08 bca2f99d35d6: Pulling fs layer 08:50:08 93359f2a8cfa: Pulling fs layer 08:50:08 7c6f9722023f: Pulling fs layer 08:50:08 a35cf1a2eb13: Pulling fs layer 08:50:08 bca2f99d35d6: Waiting 08:50:08 93359f2a8cfa: Waiting 08:50:08 7c6f9722023f: Waiting 08:50:08 de9db76c5a1d: Verifying Checksum 08:50:08 de9db76c5a1d: Download complete 08:50:08 0ef7d3d256c8: Verifying Checksum 08:50:08 0ef7d3d256c8: Download complete 08:50:08 93359f2a8cfa: Verifying Checksum 08:50:08 93359f2a8cfa: Download complete 08:50:08 7c6f9722023f: Verifying Checksum 08:50:08 7c6f9722023f: Download complete 08:50:08 188c0c94c7c5: Verifying Checksum 08:50:08 188c0c94c7c5: Download complete 08:50:08 188c0c94c7c5: Pull complete 08:50:09 0ef7d3d256c8: Pull complete 08:50:09 de9db76c5a1d: Pull complete 08:50:11 a35cf1a2eb13: Verifying Checksum 08:50:11 a35cf1a2eb13: Download complete 08:50:11 bca2f99d35d6: Verifying Checksum 08:50:11 bca2f99d35d6: Download complete 08:50:16 bca2f99d35d6: Pull complete 08:50:16 93359f2a8cfa: Pull complete 08:50:16 7c6f9722023f: Pull complete 08:50:24 a35cf1a2eb13: Pull complete 08:50:24 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:50:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:50:24 ---> a62c8e92a672 08:50:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:50:24 ---> Running in 6e8c6670ee4a 08:50:24 Removing intermediate container 6e8c6670ee4a 08:50:24 ---> 88d0dea22002 08:50:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:50:24 ---> Running in 86afca98d5e6 08:50:25 Removing intermediate container 86afca98d5e6 08:50:25 ---> 91a2d7d38f53 08:50:25 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:50:25 ---> Running in 34e207ae3844 08:50:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:50:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:50:28 (1/6) Installing libc-dev (0.7.2-r3) 08:50:28 (2/6) Installing libsodium (1.0.18-r0) 08:50:28 (3/6) Installing pkgconf (1.7.2-r0) 08:50:28 (4/6) Installing libsodium-dev (1.0.18-r0) 08:50:28 (5/6) Installing libzmq (4.3.3-r0) 08:50:28 (6/6) Installing zeromq-dev (4.3.3-r0) 08:50:28 Executing busybox-1.31.1-r19.trigger 08:50:28 OK: 167 MiB in 45 packages 08:50:29 Removing intermediate container 34e207ae3844 08:50:29 ---> 12be510eecdb 08:50:29 Step 6/8 : WORKDIR /device-sdk-go 08:50:29 ---> Running in a23b79dbea53 08:50:29 Removing intermediate container a23b79dbea53 08:50:29 ---> 4605b6acaae2 08:50:29 Step 7/8 : COPY . . 08:50:30 ---> 4f1361b21102 08:50:30 Step 8/8 : RUN go mod download 08:50:30 ---> Running in 89871c2bd37b 08:50:53 Removing intermediate container 89871c2bd37b 08:50:53 ---> 788aeb2a452b 08:50:53 Successfully built 788aeb2a452b 08:50:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:50:53 + docker inspect -f . ci-base-image-x86_64 08:50:53 . [Pipeline] withDockerContainer 08:50:53 prd-centos7-docker-4c-2g-32947 does not seem to be running inside a container 08:50:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 08:50:54 $ docker top 3a3cd772117e92da06563c28f8bd5d23d0b77ae92d70e762d5677f55ca3c5117 -eo pid,comm [Pipeline] { [Pipeline] sh 08:50:55 + go version 08:50:55 go version go1.15.5 linux/amd64 [Pipeline] } 08:50:55 $ docker stop --time=1 3a3cd772117e92da06563c28f8bd5d23d0b77ae92d70e762d5677f55ca3c5117 08:50:56 $ docker rm -f 3a3cd772117e92da06563c28f8bd5d23d0b77ae92d70e762d5677f55ca3c5117 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:50:57 + docker inspect -f . ci-base-image-x86_64 08:50:57 . [Pipeline] withDockerContainer 08:50:57 prd-centos7-docker-4c-2g-32947 does not seem to be running inside a container 08:50:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 08:50:57 $ docker top 71d0927bd315880bf67bbc598659ab224272c357627e930cb85c5993530b37cd -eo pid,comm [Pipeline] { [Pipeline] sh 08:50:58 + make test 08:50:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:51:06 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:51:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32948 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [Pipeline] { [Pipeline] ws 08:51:28 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 08:51:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:51:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:51:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:51:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 08:51:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:51:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.081s coverage: 28.1% of statements 08:51:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements 08:51:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.092s coverage: 7.8% of statements 08:51:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:51:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:51:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:51:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.075s coverage: 32.5% of statements 08:51:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:51:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:51:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:51:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 57.3% of statements 08:51:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.235s coverage: 6.6% of statements 08:51:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.081s coverage: 5.0% of statements 08:51:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:51:32 GO111MODULE=on go vet ./... 08:51:33 using credential edgex-jenkins-ssh 08:51:33 Cloning the remote Git repository 08:51:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:51:33 > git init /w/workspace/device-sdk-go/4 # timeout=10 08:51:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:51:33 > git --version # timeout=10 08:51:33 > git --version # 'git version 2.17.1' 08:51:33 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:51:35 Merging remotes/origin/master commit f8ce82a60cbe95ca283042008e77ff6fa7203569 into PR head commit ff9571a65c38542c5e32f78632fd3858ae2adc04 08:51:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:51:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:51:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:51:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:51:34 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:51:35 > git config core.sparsecheckout # timeout=10 08:51:35 > git checkout -f ff9571a65c38542c5e32f78632fd3858ae2adc04 # timeout=10 08:51:35 Merge succeeded, producing ff9571a65c38542c5e32f78632fd3858ae2adc04 08:51:35 Checking out Revision ff9571a65c38542c5e32f78632fd3858ae2adc04 (PR-862) 08:51:35 > git remote # timeout=10 08:51:35 > git config --get remote.origin.url # timeout=10 08:51:35 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:35 > git merge f8ce82a60cbe95ca283042008e77ff6fa7203569 # timeout=10 08:51:35 > git rev-parse HEAD^{commit} # timeout=10 08:51:35 > git config core.sparsecheckout # timeout=10 08:51:35 > git checkout -f ff9571a65c38542c5e32f78632fd3858ae2adc04 # timeout=10 08:51:40 Commit message: "refactor: leverage latest profile cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:51:43 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:51:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:51:44 + sudo service docker restart 08:51:44 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:51:47 provisioning config files... 08:51:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config869191577511822775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:47 ---> docker-login.sh 08:51:47 nexus3.edgexfoundry.org:10001 08:51:48 gofmt -l . 08:51:48 [ "`gofmt -l .`" = "" ] 08:51:48 ./bin/test-attribution-txt.sh 08:51:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:51:48 $ docker stop --time=1 71d0927bd315880bf67bbc598659ab224272c357627e930cb85c5993530b37cd 08:51:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:48 Configure a credential helper to remove this warning. See 08:51:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:48 08:51:48 Login Succeeded 08:51:48 nexus3.edgexfoundry.org:10002 08:51:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:49 Configure a credential helper to remove this warning. See 08:51:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:49 08:51:49 Login Succeeded 08:51:49 nexus3.edgexfoundry.org:10003 08:51:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:50 Configure a credential helper to remove this warning. See 08:51:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:50 08:51:50 Login Succeeded 08:51:50 nexus3.edgexfoundry.org:10004 08:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:50 Configure a credential helper to remove this warning. See 08:51:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:50 08:51:50 Login Succeeded 08:51:50 docker.io 08:51:50 $ docker rm -f 71d0927bd315880bf67bbc598659ab224272c357627e930cb85c5993530b37cd 08:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] sh 08:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:51 Configure a credential helper to remove this warning. See 08:51:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:51 08:51:51 Login Succeeded 08:51:51 ---> docker-login.sh ends [Pipeline] } 08:51:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 08:51:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo 08:51:51 ========================================================= 08:51:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:51:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:51:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 08:51:52 + 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 . 08:51:52 Sending build context to Docker daemon 2.397MB 08:51:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:51:52 Step 2/8 : FROM ${BASE} 08:51:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:51:52 5f621e34cdf4: Pulling fs layer 08:51:52 a4357932f1b6: Pulling fs layer 08:51:52 18c013af1878: Pulling fs layer 08:51:52 00ac8860ef70: Pulling fs layer 08:51:52 63d7cb157983: Pulling fs layer 08:51:52 b116817d02f9: Pulling fs layer 08:51:52 745a02a5169b: Pulling fs layer 08:51:52 00ac8860ef70: Waiting 08:51:52 63d7cb157983: Waiting 08:51:52 b116817d02f9: Waiting 08:51:52 745a02a5169b: Waiting 08:51:52 18c013af1878: Verifying Checksum 08:51:52 18c013af1878: Download complete 08:51:52 a4357932f1b6: Verifying Checksum 08:51:52 a4357932f1b6: Download complete [Pipeline] sh 08:51:53 63d7cb157983: Download complete 08:51:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:51:53 b116817d02f9: Verifying Checksum 08:51:53 b116817d02f9: Download complete 08:51:53 + ls -al . 08:51:53 total 188 08:51:53 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 6 08:51 . 08:51:53 drwxrwxr-x. 4 jenkins jenkins 28 Apr 6 08:49 .. 08:51:53 drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 08:49 bin 08:51:53 -rw-r--r--. 1 jenkins jenkins 99189 Apr 6 08:51 coverage.out 08:51:53 -rw-rw-r--. 1 jenkins jenkins 987 Apr 6 08:49 Dockerfile.build 08:51:53 -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 08:49 .dockerignore 08:51:53 drwxrwxr-x. 5 jenkins jenkins 62 Apr 6 08:49 example 08:51:53 drwxrwxr-x. 8 jenkins jenkins 179 Apr 6 08:50 .git 08:51:53 drwxrwxr-x. 2 jenkins jenkins 103 Apr 6 08:49 .github 08:51:53 -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 08:49 .gitignore 08:51:53 -rw-r--r--. 1 jenkins jenkins 572 Apr 6 08:51 go.mod 08:51:53 -rw-r--r--. 1 jenkins jenkins 20946 Apr 6 08:51 go.sum 08:51:53 drwxrwxr-x. 14 jenkins jenkins 207 Apr 6 08:49 internal 08:51:53 -rw-rw-r--. 1 jenkins jenkins 901 Apr 6 08:49 Jenkinsfile 08:51:53 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 08:49 LICENSE 08:51:53 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 6 08:49 Makefile 08:51:53 drwxrwxr-x. 4 jenkins jenkins 26 Apr 6 08:49 openapi 08:51:53 drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 08:49 pkg 08:51:53 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 6 08:49 README.md 08:51:53 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 6 08:49 RELEASE-NOTES.txt 08:51:53 drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 08:49 snap 08:51:53 -rw-rw-r--. 1 jenkins jenkins 5 Apr 6 08:47 VERSION 08:51:53 -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 08:49 version.go [Pipeline] isUnix [Pipeline] sh 08:51:53 5f621e34cdf4: Download complete 08:51:53 + 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=ff9571a65c38542c5e32f78632fd3858ae2adc04 --label arch=amd64 --label version=0.0.0 . 08:51:54 Sending build context to Docker daemon 2.495MB 08:51:54 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 08:51:54 Step 2/23 : FROM ${BASE} AS builder 08:51:54 ---> 788aeb2a452b 08:51:54 Step 3/23 : WORKDIR /device-sdk-go 08:51:54 5f621e34cdf4: Pull complete 08:51:54 ---> Running in e19b2483cafd 08:51:54 a4357932f1b6: Pull complete 08:51:54 Removing intermediate container e19b2483cafd 08:51:54 ---> 6fe205f9c0d2 08:51:54 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:51:54 ---> Running in 49ce18955420 08:51:55 18c013af1878: Pull complete 08:51:55 Removing intermediate container 49ce18955420 08:51:55 ---> a72b76755312 08:51:55 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:51:55 ---> Running in aa245bbc77e8 08:51:55 745a02a5169b: Download complete 08:51:56 Removing intermediate container aa245bbc77e8 08:51:56 ---> c9680025de6e 08:51:56 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:51:56 ---> Running in eb861a4fdd79 08:51:56 00ac8860ef70: Verifying Checksum 08:51:56 00ac8860ef70: Download complete 08:51:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:51:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:51:58 OK: 167 MiB in 45 packages 08:51:58 Removing intermediate container eb861a4fdd79 08:51:58 ---> 17bea063e6ad 08:51:58 Step 7/23 : COPY . . 08:51:59 ---> 24e89ba338fd 08:51:59 Step 8/23 : RUN go mod download 08:52:00 ---> Running in 9b785b226c2b 08:52:01 Removing intermediate container 9b785b226c2b 08:52:01 ---> ff858bc26f9e 08:52:01 Step 9/23 : RUN make build 08:52:01 ---> Running in b9540f1f5289 08:52:01 CGO_ENABLED=1 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 08:52:06 00ac8860ef70: Pull complete 08:52:07 63d7cb157983: Pull complete 08:52:07 b116817d02f9: Pull complete 08:52:11 745a02a5169b: Pull complete 08:52:11 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:52:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:52:11 ---> b7e6874047d6 08:52:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:52:14 ---> Running in 37526d6417b2 08:52:14 Removing intermediate container 37526d6417b2 08:52:14 ---> 1a125569b82e 08:52:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:14 ---> Running in 790a10bc6b55 08:52:17 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:52:17 Removing intermediate container b9540f1f5289 08:52:17 ---> f4fec217596b 08:52:17 Step 10/23 : FROM alpine:3.12 08:52:17 Removing intermediate container 790a10bc6b55 08:52:17 ---> b150b9f5f513 08:52:17 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:52:17 ---> Running in ca9dd62a19e2 08:52:17 3.12: Pulling from library/alpine 08:52:17 532819f3e44c: Pulling fs layer 08:52:17 532819f3e44c: Verifying Checksum 08:52:17 532819f3e44c: Download complete 08:52:18 532819f3e44c: Pull complete 08:52:18 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 08:52:18 Status: Downloaded newer image for alpine:3.12 08:52:18 ---> 7230e588e954 08:52:18 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:52:18 ---> Running in 6c6564c31d44 08:52:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:52:18 Removing intermediate container 6c6564c31d44 08:52:18 ---> b1aa16afc23f 08:52:18 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:18 ---> Running in 79d174140513 08:52:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:52:19 Removing intermediate container 79d174140513 08:52:19 ---> 7a17f3dbad60 08:52:19 Step 13/23 : RUN apk add --update --no-cache zeromq 08:52:19 ---> Running in 17ebb72bcd54 08:52:19 (1/6) Installing libc-dev (0.7.2-r3) 08:52:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:52:20 (2/6) Installing libsodium (1.0.18-r0) 08:52:20 (3/6) Installing pkgconf (1.7.2-r0) 08:52:20 (4/6) Installing libsodium-dev (1.0.18-r0) 08:52:20 (5/6) Installing libzmq (4.3.3-r0) 08:52:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:52:20 (6/6) Installing zeromq-dev (4.3.3-r0) 08:52:20 Executing busybox-1.31.1-r19.trigger 08:52:20 OK: 144 MiB in 45 packages 08:52:21 (1/5) Installing libgcc (9.3.0-r2) 08:52:21 (2/5) Installing libsodium (1.0.18-r0) 08:52:21 (3/5) Installing libstdc++ (9.3.0-r2) 08:52:21 (4/5) Installing libzmq (4.3.3-r0) 08:52:21 (5/5) Installing zeromq (4.3.3-r0) 08:52:22 Executing busybox-1.31.1-r20.trigger 08:52:22 OK: 8 MiB in 19 packages 08:52:22 Removing intermediate container ca9dd62a19e2 08:52:22 ---> bc5169809e30 08:52:22 Step 6/8 : WORKDIR /device-sdk-go 08:52:22 ---> Running in 7b3134442dbd 08:52:22 Removing intermediate container 17ebb72bcd54 08:52:22 ---> 828f59e5c441 08:52:22 Step 14/23 : WORKDIR / 08:52:22 ---> Running in 2c3b04bd5e09 08:52:22 Removing intermediate container 7b3134442dbd 08:52:22 ---> 6a989465d842 08:52:22 Step 7/8 : COPY . . 08:52:22 Removing intermediate container 2c3b04bd5e09 08:52:22 ---> e79743c59fdc 08:52:22 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:52:23 ---> 3fbf60a3b365 08:52:23 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:52:23 ---> ee804709aa06 08:52:23 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:52:24 ---> e43754708c22 08:52:24 Step 18/23 : EXPOSE 49990 08:52:24 ---> 1fc6251fe229 08:52:24 Step 8/8 : RUN go mod download 08:52:24 ---> Running in 881df1ddb537 08:52:24 ---> Running in 0f9c7fd85878 08:52:24 Removing intermediate container 0f9c7fd85878 08:52:24 ---> 42ae9954de13 08:52:24 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:52:24 ---> Running in e6577384ad9f 08:52:24 Removing intermediate container e6577384ad9f 08:52:24 ---> 762854d6a6df 08:52:24 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:52:24 ---> Running in a04bdc23c311 08:52:24 Removing intermediate container a04bdc23c311 08:52:24 ---> 1084a35fb977 08:52:24 Step 21/23 : LABEL arch=amd64 08:52:24 ---> Running in cf79e548808c 08:52:25 Removing intermediate container cf79e548808c 08:52:25 ---> 1024c8a53311 08:52:25 Step 22/23 : LABEL git_sha=ff9571a65c38542c5e32f78632fd3858ae2adc04 08:52:25 ---> Running in 3c389330ba5b 08:52:25 Removing intermediate container 3c389330ba5b 08:52:25 ---> ec706039693e 08:52:25 Step 23/23 : LABEL version=0.0.0 08:52:25 ---> Running in 68988630626f 08:52:25 Removing intermediate container 68988630626f 08:52:25 ---> 9052b8eefe9e 08:52:25 [Warning] One or more build-args [MAKE ARCH] were not consumed 08:52:25 Successfully built 9052b8eefe9e 08:52:25 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 08:52:26 ---> job-cost.sh 08:52:26 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jWJV 08:52:44 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:52:50 Removing intermediate container 881df1ddb537 08:52:50 ---> 1f9e25a4dc22 08:52:50 Successfully built 1f9e25a4dc22 08:52:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:52:51 + docker inspect -f . ci-base-image-arm64 08:52:51 . [Pipeline] withDockerContainer 08:52:51 prd-ubuntu18.04-docker-arm64-4c-16g-32948 does not seem to be running inside a container 08:52:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 08:52:53 $ docker top 618a0913514f8ad9cfcedc5c0d75c6fe1ecfec95228903faa7ba35afefd09ebb -eo pid,comm [Pipeline] { [Pipeline] sh 08:52:54 + go version 08:52:54 go version go1.15.5 linux/arm64 [Pipeline] } 08:52:54 $ docker stop --time=1 618a0913514f8ad9cfcedc5c0d75c6fe1ecfec95228903faa7ba35afefd09ebb 08:52:56 $ docker rm -f 618a0913514f8ad9cfcedc5c0d75c6fe1ecfec95228903faa7ba35afefd09ebb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:52:57 + docker inspect -f . ci-base-image-arm64 08:52:57 . [Pipeline] withDockerContainer 08:52:57 prd-ubuntu18.04-docker-arm64-4c-16g-32948 does not seem to be running inside a container 08:52:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 08:52:59 $ docker top 7bfe6844186a1ec10f74fe7e40f282d8acd883ae9da8991e5b7d6db84ed2c066 -eo pid,comm [Pipeline] { [Pipeline] sh 08:53:00 + make test 08:53:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:53:16 lf-activate-venv(): INFO: Adding /tmp/venv-jWJV/bin to PATH 08:53:16 INFO: No Stack... 08:53:16 INFO: Retrieving Pricing Info for: v1-standard-2 08:53:16 INFO: Archiving Costs [Pipeline] sh 08:53:17 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 08:53:17 + cut -d, -f6 [Pipeline] lock 08:53:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-862-4-stack-cost] 08:53:17 Resource [jenkins-edgexfoundry-device-sdk-go-PR-862-4-stack-cost] did not exist. Created. 08:53:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-862-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:53:17 + echo total: 0.029999999329447746 [Pipeline] stash 08:53:17 Stashed 1 file(s) [Pipeline] } 08:53:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-862-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:53:22 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:54:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:54:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:54:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:54:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 08:54:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:54:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 28.1% of statements 08:54:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.189s coverage: 78.9% of statements 08:54:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.190s coverage: 7.8% of statements 08:54:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:54:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:54:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:54:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.265s coverage: 32.5% of statements 08:54:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:54:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:54:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:54:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.259s coverage: 57.3% of statements 08:54:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.072s coverage: 6.6% of statements 08:54:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.146s coverage: 5.0% of statements 08:54:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:54:28 GO111MODULE=on go vet ./... 08:55:15 gofmt -l . 08:55:15 [ "`gofmt -l .`" = "" ] 08:55:15 ./bin/test-attribution-txt.sh 08:55:15 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:55:15 $ docker stop --time=1 7bfe6844186a1ec10f74fe7e40f282d8acd883ae9da8991e5b7d6db84ed2c066 08:55:18 $ docker rm -f 7bfe6844186a1ec10f74fe7e40f282d8acd883ae9da8991e5b7d6db84ed2c066 [Pipeline] // withDockerContainer [Pipeline] sh 08:55:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:55:19 Warning: overwriting stash ‘coverage-report’ 08:55:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:55:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:55:21 + ls -al . 08:55:21 total 224 08:55:21 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 08:55 . 08:55:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:51 .. 08:55:21 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 08:51 .dockerignore 08:55:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:51 .git 08:55:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:51 .github 08:55:21 -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 08:51 .gitignore 08:55:21 -rw-rw-r-- 1 jenkins jenkins 987 Apr 6 08:51 Dockerfile.build 08:55:21 -rw-rw-r-- 1 jenkins jenkins 901 Apr 6 08:51 Jenkinsfile 08:55:21 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 08:51 LICENSE 08:55:21 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 6 08:51 Makefile 08:55:21 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 6 08:51 README.md 08:55:21 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 6 08:51 RELEASE-NOTES.txt 08:55:21 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 08:47 VERSION 08:55:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:51 bin 08:55:21 -rw-r--r-- 1 jenkins jenkins 99189 Apr 6 08:54 coverage.out 08:55:21 drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 08:51 example 08:55:21 -rw-r--r-- 1 jenkins jenkins 572 Apr 6 08:55 go.mod 08:55:21 -rw-r--r-- 1 jenkins jenkins 20946 Apr 6 08:55 go.sum 08:55:21 drwxrwxr-x 14 jenkins jenkins 4096 Apr 6 08:51 internal 08:55:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:51 openapi 08:55:21 drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 08:51 pkg 08:55:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:51 snap 08:55:21 -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 08:51 version.go [Pipeline] isUnix [Pipeline] sh 08:55:21 + 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=ff9571a65c38542c5e32f78632fd3858ae2adc04 --label arch=arm64 --label version=0.0.0 . 08:55:22 Sending build context to Docker daemon 2.497MB 08:55:22 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 08:55:22 Step 2/23 : FROM ${BASE} AS builder 08:55:22 ---> 1f9e25a4dc22 08:55:22 Step 3/23 : WORKDIR /device-sdk-go 08:55:22 ---> Running in 86a39bf4702b 08:55:23 Removing intermediate container 86a39bf4702b 08:55:23 ---> 8b750aabd522 08:55:23 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:55:23 ---> Running in 645abcda63c7 08:55:23 Removing intermediate container 645abcda63c7 08:55:23 ---> eea38d38a286 08:55:23 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:55:23 ---> Running in 2b6380fe07da 08:55:25 Removing intermediate container 2b6380fe07da 08:55:25 ---> edabc02866a6 08:55:25 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:55:26 ---> Running in 67ac8dea105f 08:55:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:55:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:55:28 OK: 144 MiB in 45 packages 08:55:30 Removing intermediate container 67ac8dea105f 08:55:30 ---> d3b76d611386 08:55:30 Step 7/23 : COPY . . 08:55:31 ---> 4e8d395a5cdb 08:55:31 Step 8/23 : RUN go mod download 08:55:31 ---> Running in 6b1967d52205 08:55:33 Removing intermediate container 6b1967d52205 08:55:33 ---> 1345956b29dd 08:55:33 Step 9/23 : RUN make build 08:55:33 ---> Running in ba3f7c92ab13 08:55:34 CGO_ENABLED=1 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 08:56:07 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:56:09 Removing intermediate container ba3f7c92ab13 08:56:09 ---> 3dba18800b31 08:56:09 Step 10/23 : FROM alpine:3.12 08:56:09 3.12: Pulling from library/alpine 08:56:09 9a219e8acc52: Pulling fs layer 08:56:09 9a219e8acc52: Verifying Checksum 08:56:09 9a219e8acc52: Download complete 08:56:10 9a219e8acc52: Pull complete 08:56:10 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 08:56:10 Status: Downloaded newer image for alpine:3.12 08:56:10 ---> d75e27dfc0a0 08:56:10 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:56:10 ---> Running in 9886139ef364 08:56:11 Removing intermediate container 9886139ef364 08:56:11 ---> 1a21bd12f72f 08:56:11 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:56:11 ---> Running in cbece690d4f5 08:56:13 Removing intermediate container cbece690d4f5 08:56:13 ---> 676798d9a86e 08:56:13 Step 13/23 : RUN apk add --update --no-cache zeromq 08:56:13 ---> Running in 5679434c515a 08:56:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:56:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:56:16 (1/5) Installing libgcc (9.3.0-r2) 08:56:16 (2/5) Installing libsodium (1.0.18-r0) 08:56:16 (3/5) Installing libstdc++ (9.3.0-r2) 08:56:16 (4/5) Installing libzmq (4.3.3-r0) 08:56:16 (5/5) Installing zeromq (4.3.3-r0) 08:56:16 Executing busybox-1.31.1-r20.trigger 08:56:16 OK: 8 MiB in 19 packages 08:56:18 Removing intermediate container 5679434c515a 08:56:18 ---> 07714312ea94 08:56:18 Step 14/23 : WORKDIR / 08:56:18 ---> Running in f4fa6e257962 08:56:18 Removing intermediate container f4fa6e257962 08:56:18 ---> 7a46aa3f935b 08:56:18 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:56:19 ---> 126ca748be68 08:56:19 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:56:20 ---> 55b662bc458b 08:56:20 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:56:21 ---> 366c05137319 08:56:21 Step 18/23 : EXPOSE 49990 08:56:21 ---> Running in 0950114d5fd6 08:56:21 Removing intermediate container 0950114d5fd6 08:56:21 ---> 3f4275564df7 08:56:21 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:56:21 ---> Running in 4d4fc9c5b6d3 08:56:22 Removing intermediate container 4d4fc9c5b6d3 08:56:22 ---> 03a577ccd2b1 08:56:22 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:56:22 ---> Running in 9045a1ff23bc 08:56:23 Removing intermediate container 9045a1ff23bc 08:56:23 ---> 41c9a3b4a462 08:56:23 Step 21/23 : LABEL arch=arm64 08:56:23 ---> Running in d58691c48a1d 08:56:23 Removing intermediate container d58691c48a1d 08:56:23 ---> 592e5e8e0cd3 08:56:23 Step 22/23 : LABEL git_sha=ff9571a65c38542c5e32f78632fd3858ae2adc04 08:56:23 ---> Running in 552f85f7fdc3 08:56:24 Removing intermediate container 552f85f7fdc3 08:56:24 ---> 7d994fb8c8ff 08:56:24 Step 23/23 : LABEL version=0.0.0 08:56:24 ---> Running in 328a417de949 08:56:24 Removing intermediate container 328a417de949 08:56:24 ---> b2d5d7322a59 08:56:24 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:56:24 Successfully built b2d5d7322a59 08:56:24 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 08:56:25 ---> job-cost.sh 08:56:25 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fnZi 08:57:04 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:58:41 lf-activate-venv(): INFO: Adding /tmp/venv-fnZi/bin to PATH 08:58:41 INFO: No Stack... 08:58:41 INFO: Retrieving Pricing Info for: lf-standard-4 08:58:41 INFO: Archiving Costs [Pipeline] sh 08:58:41 + cut -d, -f6 08:58:41 + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock 08:58:41 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-862-4-stack-cost] 08:58:41 Resource [jenkins-edgexfoundry-device-sdk-go-PR-862-4-stack-cost] did not exist. Created. 08:58:41 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-862-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:58:42 /w/workspace/device-sdk-go/4@tmp/durable-70e55346/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-70e55346/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:58:42 + echo total: 0.20999999344348907 [Pipeline] stash 08:58:42 Warning: overwriting stash ‘stack-cost’ 08:58:42 Stashed 1 file(s) [Pipeline] } 08:58:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-862-4-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 08:58:44 provisioning config files... 08:58:44 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config2876170706161844540tmp [Pipeline] { [Pipeline] sh 08:58:45 + set +x 08:58:45 + curl -s https://codecov.io/bash 08:58:45 + bash -s -- 08:58:45 08:58:45 _____ _ 08:58:45 / ____| | | 08:58:45 | | ___ __| | ___ ___ _____ __ 08:58:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:58:45 | |___| (_) | (_| | __/ (_| (_) \ V / 08:58:45 \_____\___/ \__,_|\___|\___\___/ \_/ 08:58:45 Bash-20210309-2b87ace 08:58:45 08:58:45 08:58:45 ==> git version 2.24.3 found 08:58:45 ==> 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 08:58:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:58:45 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:58:45 ==> Jenkins CI detected. 08:58:45 project root: . 08:58:45 --> token set from env 08:58:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:58:45 ==> Running gcov in . (disable via -X gcov) 08:58:45 ==> Python coveragepy not found 08:58:45 ==> Searching for coverage reports in: 08:58:45 + . 08:58:45 -> Found 1 reports 08:58:45 ==> Detecting git/mercurial file structure 08:58:45 ==> Reading reports 08:58:45 + ./coverage.out bytes=99189 08:58:46 ==> Appending adjustments 08:58:46 https://docs.codecov.io/docs/fixing-reports 08:58:48 + Found adjustments 08:58:48 ==> Gzipping contents 08:58:48 16K /tmp/codecov.MyxmRK.gz 08:58:48 ==> Uploading reports 08:58:48 url: https://codecov.io 08:58:48 query: branch=PR-862&commit=ff9571a65c38542c5e32f78632fd3858ae2adc04&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-862%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=862&job=&cmd_args= 08:58:48 -> Pinging Codecov 08:58:48 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-862&commit=ff9571a65c38542c5e32f78632fd3858ae2adc04&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-862%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=862&job=&cmd_args= 08:58:48 -> Uploading to 08:58:48 https://storage.googleapis.com/codecov/v4/raw/2021-04-06/7E55EF52A471D76F132DFD9A03CDDE97/ff9571a65c38542c5e32f78632fd3858ae2adc04/da122b60-bd11-43c6-a38c-7f0be02dc020.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210406T085848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db9324b06e1ce6c593559fb77a60b8d1ce2174c373f60987617ed9d1d9b02e50 08:58:48 % Total % Received % Xferd Average Speed Time Time Time Current 08:58:48 Dload Upload Total Spent Left Speed 08:58:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13401 0 0 100 13401 0 25518 --:--:-- --:--:-- --:--:-- 25574 08:58:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ff9571a65c38542c5e32f78632fd3858ae2adc04 [Pipeline] } 08:58:49 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 08:58:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:58:52 ---> package-listing.sh 08:58:52 ++ facter osfamily 08:58:52 ++ tr '[:upper:]' '[:lower:]' 08:58:53 + OS_FAMILY=redhat 08:58:53 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-862 08:58:53 + START_PACKAGES=/tmp/packages_start.txt 08:58:53 + END_PACKAGES=/tmp/packages_end.txt 08:58:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:58:53 + PACKAGES=/tmp/packages_start.txt 08:58:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-862 ']' 08:58:53 + PACKAGES=/tmp/packages_end.txt 08:58:53 + case "${OS_FAMILY}" in 08:58:53 + sort 08:58:53 + rpm -qa 08:59:04 + '[' -f /tmp/packages_start.txt ']' 08:59:04 + '[' -f /tmp/packages_end.txt ']' 08:59:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:59:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-862 ']' 08:59:04 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-862/archives/ 08:59:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-862/archives/ [Pipeline] echo 08:59:04 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-862/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:59:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:59:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:59:05 08:59:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:59:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:59:06 alpine: Pulling from edgex-lftools-log-publisher 08:59:06 df20fa9351a1: Pulling fs layer 08:59:06 36b3adc4ff6f: Pulling fs layer 08:59:06 8ad3a11d3b57: Pulling fs layer 08:59:06 46f8f816bc3b: Pulling fs layer 08:59:06 93b61091891f: Pulling fs layer 08:59:06 93b9cdb0e59b: Pulling fs layer 08:59:06 5e14af77c1be: Pulling fs layer 08:59:06 01666e4c0597: Pulling fs layer 08:59:06 aa168da1d23b: Pulling fs layer 08:59:06 46f8f816bc3b: Waiting 08:59:06 93b61091891f: Waiting 08:59:06 93b9cdb0e59b: Waiting 08:59:06 5e14af77c1be: Waiting 08:59:06 01666e4c0597: Waiting 08:59:06 aa168da1d23b: Waiting 08:59:06 36b3adc4ff6f: Verifying Checksum 08:59:06 36b3adc4ff6f: Download complete 08:59:06 46f8f816bc3b: Verifying Checksum 08:59:06 46f8f816bc3b: Download complete 08:59:06 93b61091891f: Verifying Checksum 08:59:06 93b61091891f: Download complete 08:59:06 93b9cdb0e59b: Verifying Checksum 08:59:06 93b9cdb0e59b: Download complete 08:59:06 5e14af77c1be: Verifying Checksum 08:59:06 5e14af77c1be: Download complete 08:59:06 df20fa9351a1: Verifying Checksum 08:59:06 01666e4c0597: Verifying Checksum 08:59:06 01666e4c0597: Download complete 08:59:07 8ad3a11d3b57: Verifying Checksum 08:59:07 8ad3a11d3b57: Download complete 08:59:07 df20fa9351a1: Pull complete 08:59:08 36b3adc4ff6f: Pull complete 08:59:12 8ad3a11d3b57: Pull complete 08:59:13 46f8f816bc3b: Pull complete 08:59:15 aa168da1d23b: Verifying Checksum 08:59:15 aa168da1d23b: Download complete 08:59:15 93b61091891f: Pull complete 08:59:15 93b9cdb0e59b: Pull complete 08:59:15 5e14af77c1be: Pull complete 08:59:15 01666e4c0597: Pull complete 08:59:31 aa168da1d23b: Pull complete 08:59:31 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:59:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:59:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:59:32 prd-centos7-docker-4c-2g-32944 does not seem to be running inside a container 08:59:32 $ 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-862/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-862 -v /w/workspace/dgexfoundry_device-sdk-go_PR-862:/w/workspace/dgexfoundry_device-sdk-go_PR-862:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-862@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 08:59:37 $ docker top 61551b2b999760dffe0879d2cbcab40ca61f5705e79112bef82565b192ac6a0e -eo pid,comm [Pipeline] { [Pipeline] sh 08:59:38 + touch /tmp/pre-build-complete [Pipeline] sh 08:59:39 + mkdir -p /var/log/sa [Pipeline] sh 08:59:40 + ls /var/log/sa-host 08:59:40 + sadf -c /var/log/sa-host/sa06 08:59:40 file_magic: OK 08:59:40 HZ: Using current value: 100 08:59:40 file_header: OK 08:59:40 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 08:59:40 Statistics: 08:59:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:59:40 File successfully converted to sysstat format version 12.2.1 08:59:40 + sadf -c /var/log/sa-host/sa23 08:59:40 file_magic: OK 08:59:40 HZ: Using current value: 100 08:59:40 file_header: OK 08:59:40 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 08:59:40 Statistics: 08:59:40 Hnuu...uuuununununu... 08:59:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:59:41 provisioning config files... 08:59:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config1647044432748273749tmp [Pipeline] { [Pipeline] echo 08:59:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:59:41 ---> create-netrc.sh [Pipeline] } 08:59:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:59:42 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:59:42 ---> python-tools-install.sh [Pipeline] echo 08:59:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:59:43 ---> sudo-logs.sh 08:59:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:59:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:59:44 ---> job-cost.sh 08:59:45 lf-activate-venv: SKIPPING 08:59:45 DEBUG: total: 0.20999999344348907 08:59:45 INFO: Retrieving Stack Cost... 08:59:46 INFO: Retrieving Pricing Info for: v1-standard-2 08:59:46 INFO: Archiving Costs [Pipeline] echo 08:59:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:59:47 ---> logs-deploy.sh 08:59:47 lf-activate-venv: SKIPPING 08:59:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-862/4 08:59:47 INFO: archiving workspace using pattern(s): 08:59:51 Archives upload complete. 08:59:51 INFO: archiving logs to Nexus 08:59:53 ---> uname -a: 08:59:53 Linux prd-centos7-docker-4c-2g-32944.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 08:59:53 08:59:53