Pull request #878 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 98f9d1e0beda86149d7788036cbe8474e673faff+94ba728ffe67abe485aa5fd1bea1962d855b8f3c (7f4218b96984fe613dfe2713fb44230a9eecf057) 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-98 in /w/workspace/dgexfoundry_device-sdk-go_PR-878 [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-878 # 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/878/head:refs/remotes/origin/PR-878 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit 98f9d1e0beda86149d7788036cbe8474e673faff Merge succeeded, producing 98f9d1e0beda86149d7788036cbe8474e673faff Checking out Revision 98f9d1e0beda86149d7788036cbe8474e673faff (PR-878) > git config core.sparsecheckout # timeout=10 > git checkout -f 98f9d1e0beda86149d7788036cbe8474e673faff # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98f9d1e0beda86149d7788036cbe8474e673faff # timeout=10 Commit message: "feat: add request size middleware for device command" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:59:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:59:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 570eb23ac147484c826148d39903d5c09a86bb01 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:59:16 ========================================================= 09:59:16 EdgeX Global Pipelines Version Info 09:59:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:59:20 ------------------- 09:59:20 stable info: 09:59:20 ------------------- 09:59:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:59:20 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 09:59:20 Message: update stable to v1.0.186 09:59:21 ------------------- 09:59:21 experimental info: 09:59:21 ------------------- 09:59:21 Commited By: **** collab-it+edgex@linuxfoundation.org 09:59:21 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 09:59:21 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:59:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:59:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:59:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:59:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:59:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:59:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:59:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:59:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:59:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-878 [Pipeline] echo 09:59:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-878 [Pipeline] echo 09:59:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-878 [Pipeline] echo 09:59:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98f9d1e0beda86149d7788036cbe8474e673faff [Pipeline] echo 09:59:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98f9d1e [Pipeline] echo 09:59:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:59:22 provisioning config files... 09:59:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config7948270987686830453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:59:22 ---> docker-login.sh 09:59:22 nexus3.edgexfoundry.org:10001 09:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:24 Configure a credential helper to remove this warning. See 09:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:24 09:59:24 Login Succeeded 09:59:24 nexus3.edgexfoundry.org:10002 09:59:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:25 Configure a credential helper to remove this warning. See 09:59:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:25 09:59:25 Login Succeeded 09:59:25 nexus3.edgexfoundry.org:10003 09:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:26 Configure a credential helper to remove this warning. See 09:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:26 09:59:26 Login Succeeded 09:59:26 nexus3.edgexfoundry.org:10004 09:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:27 Configure a credential helper to remove this warning. See 09:59:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:27 09:59:27 Login Succeeded 09:59:27 docker.io 09:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:28 Configure a credential helper to remove this warning. See 09:59:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:28 09:59:28 Login Succeeded 09:59:28 ---> docker-login.sh ends [Pipeline] } 09:59:28 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 09:59:29 + git log --format=format:%s -1 98f9d1e0beda86149d7788036cbe8474e673faff [Pipeline] echo 09:59:29 GIT_COMMIT: 98f9d1e0beda86149d7788036cbe8474e673faff, Commit Message: feat: add request size middleware for device command [Pipeline] echo 09:59:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:59:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:59:31 09:59:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:59:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:59:31 latest: Pulling from edgex-devops/git-semver 09:59:31 31603596830f: Pulling fs layer 09:59:31 2a8b12db71e7: Pulling fs layer 09:59:31 6ca5941a6612: Pulling fs layer 09:59:31 ecc8261a40a4: Pulling fs layer 09:59:31 ecc8261a40a4: Waiting 09:59:32 2a8b12db71e7: Verifying Checksum 09:59:32 2a8b12db71e7: Download complete 09:59:32 31603596830f: Verifying Checksum 09:59:32 31603596830f: Download complete 09:59:32 ecc8261a40a4: Verifying Checksum 09:59:32 ecc8261a40a4: Download complete 09:59:33 6ca5941a6612: Verifying Checksum 09:59:33 6ca5941a6612: Download complete 09:59:33 31603596830f: Pull complete 09:59:34 2a8b12db71e7: Pull complete 09:59:35 6ca5941a6612: Pull complete 09:59:36 ecc8261a40a4: Pull complete 09:59:36 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:59:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:59:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:59:37 prd-centos7-docker-4c-2g-98 does not seem to be running inside a container 09:59:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-878 -v /w/workspace/dgexfoundry_device-sdk-go_PR-878:/w/workspace/dgexfoundry_device-sdk-go_PR-878:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-878@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:59:40 $ docker top 96cbbd60c94a1fb8722757b0db4e1e66f58f1b52b82606855df687175112fd34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:59:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:59:41 [ssh-agent] Looking for ssh-agent implementation... 09:59:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:59:42 $ docker exec 96cbbd60c94a1fb8722757b0db4e1e66f58f1b52b82606855df687175112fd34 ssh-agent 09:59:43 SSH_AUTH_SOCK=/tmp/ssh-eJHxYzNL3SFL/agent.11 09:59:43 SSH_AGENT_PID=16 09:59:43 Running ssh-add (command line suppressed) 09:59:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_8401476551139617500.key (/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_8401476551139617500.key) 09:59:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:59:44 + git tag --points-at HEAD [Pipeline] } 09:59:45 $ docker exec --env ******** --env ******** 96cbbd60c94a1fb8722757b0db4e1e66f58f1b52b82606855df687175112fd34 ssh-agent -k 09:59:45 unset SSH_AUTH_SOCK; 09:59:45 unset SSH_AGENT_PID; 09:59:45 echo Agent pid 16 killed; 09:59:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:59:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:59:45 [ssh-agent] Looking for ssh-agent implementation... 09:59:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:59:46 $ docker exec 96cbbd60c94a1fb8722757b0db4e1e66f58f1b52b82606855df687175112fd34 ssh-agent 09:59:46 SSH_AUTH_SOCK=/tmp/ssh-M1XOnzN7osNX/agent.44 09:59:46 SSH_AGENT_PID=49 09:59:46 Running ssh-add (command line suppressed) 09:59:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_5608472194759173510.key (/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_5608472194759173510.key) 09:59:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:59:49 + git semver init 09:59:49 # -> Open(): unable to determine branch for HEAD 09:59:49 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-878/.git 09:59:49 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-878 09:59:49 # $SEMVER_REMOTE_NAME = origin 09:59:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:59:49 # $SEMVER_USER_NAME = edgex-jenkins 09:59:49 # $SEMVER_BRANCH = PR-878 09:59:49 # $SEMVER_TEMP = /tmp/semver-610039680 09:59:49 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:59:50 # '/tmp/semver-610039680' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-878/.semver' 09:59:50 # -> Force: false 09:59:50 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-878/.semver [Pipeline] } 09:59:50 $ docker exec --env ******** --env ******** 96cbbd60c94a1fb8722757b0db4e1e66f58f1b52b82606855df687175112fd34 ssh-agent -k 09:59:51 unset SSH_AUTH_SOCK; 09:59:51 unset SSH_AGENT_PID; 09:59:51 echo Agent pid 49 killed; 09:59:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:59:52 + git semver [Pipeline] } 09:59:52 $ docker stop --time=1 96cbbd60c94a1fb8722757b0db4e1e66f58f1b52b82606855df687175112fd34 09:59:54 $ docker rm -f 96cbbd60c94a1fb8722757b0db4e1e66f58f1b52b82606855df687175112fd34 [Pipeline] // withDockerContainer [Pipeline] sh 09:59:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:59:56 Stashed 1 file(s) [Pipeline] echo 09:59:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 10:00:11 Still waiting to schedule task 10:00:11 Waiting for next available executor on ‘centos7-docker-4c-2g’ 10:00:11 Still waiting to schedule task 10:00:11 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 10:03:03 Running on prd-centos7-docker-4c-2g-99 in /w/workspace/dgexfoundry_device-sdk-go_PR-878 [Pipeline] { [Pipeline] ws 10:03:03 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 10:03:06 using credential edgex-jenkins-ssh 10:03:06 Cloning the remote Git repository 10:03:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:03:06 > git init /w/workspace/device-sdk-go/2 # timeout=10 10:03:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:03:06 > git --version # timeout=10 10:03:06 > git --version # 'git version 2.24.3' 10:03:06 using GIT_SSH to set credentials SSH Credentials for GitHub 10:03:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:03:08 Merging remotes/origin/master commit 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit 98f9d1e0beda86149d7788036cbe8474e673faff 10:03:08 Merge succeeded, producing 98f9d1e0beda86149d7788036cbe8474e673faff 10:03:08 Checking out Revision 98f9d1e0beda86149d7788036cbe8474e673faff (PR-878) 10:03:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:03:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:03:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:03:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:03:07 using GIT_SSH to set credentials SSH Credentials for GitHub 10:03:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/878/head:refs/remotes/origin/PR-878 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:03:07 > git config core.sparsecheckout # timeout=10 10:03:07 > git checkout -f 98f9d1e0beda86149d7788036cbe8474e673faff # timeout=10 10:03:08 > git remote # timeout=10 10:03:08 > git config --get remote.origin.url # timeout=10 10:03:08 using GIT_SSH to set credentials SSH Credentials for GitHub 10:03:08 > git merge 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 10:03:08 > git rev-parse HEAD^{commit} # timeout=10 10:03:08 > git config core.sparsecheckout # timeout=10 10:03:08 > git checkout -f 98f9d1e0beda86149d7788036cbe8474e673faff # timeout=10 10:03:11 Commit message: "feat: add request size middleware for device command" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:03:12 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 10:03:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:03:13 + sudo service docker restart 10:03:13 + true 10:03:13 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:03:14 provisioning config files... 10:03:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4722893969105096630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:03:15 ---> docker-login.sh 10:03:15 nexus3.edgexfoundry.org:10001 10:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:15 Configure a credential helper to remove this warning. See 10:03:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:15 10:03:15 Login Succeeded 10:03:15 nexus3.edgexfoundry.org:10002 10:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:15 Configure a credential helper to remove this warning. See 10:03:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:15 10:03:15 Login Succeeded 10:03:15 nexus3.edgexfoundry.org:10003 10:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:16 Configure a credential helper to remove this warning. See 10:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:16 10:03:16 Login Succeeded 10:03:16 nexus3.edgexfoundry.org:10004 10:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:16 Configure a credential helper to remove this warning. See 10:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:16 10:03:16 Login Succeeded 10:03:16 docker.io 10:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:03:16 Configure a credential helper to remove this warning. See 10:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:03:16 10:03:16 Login Succeeded 10:03:16 ---> docker-login.sh ends [Pipeline] } 10:03:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:03:16 ========================================================= 10:03:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:03:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:03:17 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 10:03:17 Sending build context to Docker daemon 2.469MB 10:03:17 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:03:17 Step 2/8 : FROM ${BASE} 10:03:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:03:17 188c0c94c7c5: Pulling fs layer 10:03:17 0ef7d3d256c8: Pulling fs layer 10:03:17 de9db76c5a1d: Pulling fs layer 10:03:17 bca2f99d35d6: Pulling fs layer 10:03:17 93359f2a8cfa: Pulling fs layer 10:03:17 7c6f9722023f: Pulling fs layer 10:03:17 a35cf1a2eb13: Pulling fs layer 10:03:17 93359f2a8cfa: Waiting 10:03:17 7c6f9722023f: Waiting 10:03:17 a35cf1a2eb13: Waiting 10:03:17 bca2f99d35d6: Waiting 10:03:17 0ef7d3d256c8: Verifying Checksum 10:03:17 0ef7d3d256c8: Download complete 10:03:17 de9db76c5a1d: Verifying Checksum 10:03:17 de9db76c5a1d: Download complete 10:03:17 93359f2a8cfa: Verifying Checksum 10:03:17 93359f2a8cfa: Download complete 10:03:17 188c0c94c7c5: Verifying Checksum 10:03:17 188c0c94c7c5: Download complete 10:03:17 7c6f9722023f: Verifying Checksum 10:03:17 7c6f9722023f: Download complete 10:03:17 188c0c94c7c5: Pull complete 10:03:18 0ef7d3d256c8: Pull complete 10:03:18 de9db76c5a1d: Pull complete 10:03:19 a35cf1a2eb13: Verifying Checksum 10:03:19 bca2f99d35d6: Verifying Checksum 10:03:19 bca2f99d35d6: Download complete 10:03:25 bca2f99d35d6: Pull complete 10:03:25 93359f2a8cfa: Pull complete 10:03:25 7c6f9722023f: Pull complete 10:03:33 a35cf1a2eb13: Pull complete 10:03:33 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 10:03:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:03:33 ---> a62c8e92a672 10:03:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:03:33 ---> Running in 5f207ade8ba3 10:03:33 Removing intermediate container 5f207ade8ba3 10:03:33 ---> dfa5971303a2 10:03:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:03:33 ---> Running in 7a4a10432d44 10:03:34 Removing intermediate container 7a4a10432d44 10:03:34 ---> ccf81ca733b3 10:03:34 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 10:03:34 ---> Running in f67e56514ab8 10:03:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:03:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:03:36 (1/6) Installing libc-dev (0.7.2-r3) 10:03:36 (2/6) Installing libsodium (1.0.18-r0) 10:03:36 (3/6) Installing pkgconf (1.7.2-r0) 10:03:36 (4/6) Installing libsodium-dev (1.0.18-r0) 10:03:36 (5/6) Installing libzmq (4.3.3-r0) 10:03:36 (6/6) Installing zeromq-dev (4.3.3-r0) 10:03:36 Executing busybox-1.31.1-r19.trigger 10:03:36 OK: 167 MiB in 45 packages 10:03:37 Removing intermediate container f67e56514ab8 10:03:37 ---> dc78bf59a289 10:03:37 Step 6/8 : WORKDIR /device-sdk-go 10:03:37 ---> Running in 00f1c75ae0a3 10:03:37 Removing intermediate container 00f1c75ae0a3 10:03:37 ---> a0ff2fa565a9 10:03:37 Step 7/8 : COPY . . 10:03:39 ---> 9e9c5ebdfe7d 10:03:39 Step 8/8 : RUN go mod download 10:03:39 ---> Running in b7e8343c9d86 10:03:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-100 in /w/workspace/dgexfoundry_device-sdk-go_PR-878 [Pipeline] { [Pipeline] ws 10:03:53 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 10:03:59 using credential edgex-jenkins-ssh 10:03:59 Cloning the remote Git repository 10:03:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:03:59 > git init /w/workspace/device-sdk-go/2 # timeout=10 10:03:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:03:59 > git --version # timeout=10 10:03:59 > git --version # 'git version 2.17.1' 10:03:59 using GIT_SSH to set credentials SSH Credentials for GitHub 10:03:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:04:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:04:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:04:01 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/878/head:refs/remotes/origin/PR-878 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:04:02 Merging remotes/origin/master commit 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit 98f9d1e0beda86149d7788036cbe8474e673faff 10:04:02 Merge succeeded, producing 98f9d1e0beda86149d7788036cbe8474e673faff 10:04:02 Checking out Revision 98f9d1e0beda86149d7788036cbe8474e673faff (PR-878) 10:04:02 > git config core.sparsecheckout # timeout=10 10:04:02 > git checkout -f 98f9d1e0beda86149d7788036cbe8474e673faff # timeout=10 10:04:02 > git remote # timeout=10 10:04:02 > git config --get remote.origin.url # timeout=10 10:04:02 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:02 > git merge 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 10:04:02 > git rev-parse HEAD^{commit} # timeout=10 10:04:02 > git config core.sparsecheckout # timeout=10 10:04:02 > git checkout -f 98f9d1e0beda86149d7788036cbe8474e673faff # timeout=10 10:04:05 Removing intermediate container b7e8343c9d86 10:04:05 ---> d5e416ec6949 10:04:05 Successfully built d5e416ec6949 10:04:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:04:06 + docker inspect -f . ci-base-image-x86_64 10:04:06 . [Pipeline] withDockerContainer 10:04:06 prd-centos7-docker-4c-2g-99 does not seem to be running inside a container 10:04:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:04:06 Commit message: "feat: add request size middleware for device command" 10:04:07 $ docker top cd6d6550f140fb76130af62306f529a37d820405137cbbb8284b0d333cd04b2e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:04:07 + go version 10:04:07 go version go1.15.5 linux/amd64 [Pipeline] } 10:04:08 $ docker stop --time=1 cd6d6550f140fb76130af62306f529a37d820405137cbbb8284b0d333cd04b2e 10:04:08 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 10:04:09 $ docker rm -f cd6d6550f140fb76130af62306f529a37d820405137cbbb8284b0d333cd04b2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:04:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:04:10 + docker inspect -f . ci-base-image-x86_64 10:04:10 . [Pipeline] withDockerContainer 10:04:10 prd-centos7-docker-4c-2g-99 does not seem to be running inside a container 10:04:10 $ 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 10:04:10 + sudo service docker restart 10:04:10 + true 10:04:11 $ docker top 5168cd22a96f3efc922750cc499cb29ef29d47b1e2009690d39aa531bc10891f -eo pid,comm [Pipeline] { [Pipeline] sh 10:04:11 + make test 10:04:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:04:13 provisioning config files... 10:04:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config320314407719831105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:13 ---> docker-login.sh 10:04:13 nexus3.edgexfoundry.org:10001 10:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:14 Configure a credential helper to remove this warning. See 10:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:14 10:04:14 Login Succeeded 10:04:14 nexus3.edgexfoundry.org:10002 10:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:15 Configure a credential helper to remove this warning. See 10:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:15 10:04:15 Login Succeeded 10:04:15 nexus3.edgexfoundry.org:10003 10:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:15 Configure a credential helper to remove this warning. See 10:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:15 10:04:15 Login Succeeded 10:04:15 nexus3.edgexfoundry.org:10004 10:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:16 Configure a credential helper to remove this warning. See 10:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:16 10:04:16 Login Succeeded 10:04:16 docker.io 10:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:16 Configure a credential helper to remove this warning. See 10:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:16 10:04:16 Login Succeeded 10:04:16 ---> docker-login.sh ends [Pipeline] } 10:04:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:04:17 ========================================================= 10:04:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:04:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:04:17 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 10:04:17 Sending build context to Docker daemon 2.458MB 10:04:18 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:04:18 Step 2/8 : FROM ${BASE} 10:04:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:04:18 5f621e34cdf4: Pulling fs layer 10:04:18 a4357932f1b6: Pulling fs layer 10:04:18 18c013af1878: Pulling fs layer 10:04:18 00ac8860ef70: Pulling fs layer 10:04:18 63d7cb157983: Pulling fs layer 10:04:18 b116817d02f9: Pulling fs layer 10:04:18 745a02a5169b: Pulling fs layer 10:04:18 00ac8860ef70: Waiting 10:04:18 63d7cb157983: Waiting 10:04:18 b116817d02f9: Waiting 10:04:18 745a02a5169b: Waiting 10:04:18 18c013af1878: Download complete 10:04:18 a4357932f1b6: Download complete 10:04:18 63d7cb157983: Verifying Checksum 10:04:18 63d7cb157983: Download complete 10:04:18 b116817d02f9: Download complete 10:04:18 5f621e34cdf4: Verifying Checksum 10:04:18 5f621e34cdf4: Download complete 10:04:18 5f621e34cdf4: Pull complete 10:04:19 a4357932f1b6: Pull complete 10:04:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:04:19 18c013af1878: Pull complete 10:04:20 745a02a5169b: Verifying Checksum 10:04:20 745a02a5169b: Download complete 10:04:21 00ac8860ef70: Download complete 10:04:34 00ac8860ef70: Pull complete 10:04:34 63d7cb157983: Pull complete 10:04:34 b116817d02f9: Pull complete 10:04:36 745a02a5169b: Pull complete 10:04:36 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 10:04:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:04:36 ---> b7e6874047d6 10:04:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:04:40 ---> Running in 9071db93e474 10:04:40 Removing intermediate container 9071db93e474 10:04:40 ---> dcbd6d657140 10:04:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:04:40 ---> Running in b601cb69ef05 10:04:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:04:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:04:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:04:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 10:04:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:04:42 Removing intermediate container b601cb69ef05 10:04:42 ---> e6460b15d620 10:04:42 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 10:04:42 ---> Running in 2b690e68bc27 10:04:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:04:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:04:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.100s coverage: 28.1% of statements 10:04:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements 10:04:45 (1/6) Installing libc-dev (0.7.2-r3) 10:04:45 (2/6) Installing libsodium (1.0.18-r0) 10:04:45 (3/6) Installing pkgconf (1.7.2-r0) 10:04:45 (4/6) Installing libsodium-dev (1.0.18-r0) 10:04:45 (5/6) Installing libzmq (4.3.3-r0) 10:04:45 (6/6) Installing zeromq-dev (4.3.3-r0) 10:04:45 Executing busybox-1.31.1-r19.trigger 10:04:45 OK: 144 MiB in 45 packages 10:04:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.084s coverage: 7.8% of statements 10:04:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 10:04:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:04:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:04:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.097s coverage: 32.0% of statements 10:04:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:04:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:04:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:04:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.113s coverage: 57.1% of statements 10:04:47 Removing intermediate container 2b690e68bc27 10:04:47 ---> 72c59caa22b7 10:04:47 Step 6/8 : WORKDIR /device-sdk-go 10:04:47 ---> Running in df2f96194d48 10:04:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.245s coverage: 6.6% of statements 10:04:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 10:04:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:04:47 Removing intermediate container df2f96194d48 10:04:47 ---> 88c359b35e3a 10:04:47 Step 7/8 : COPY . . 10:04:47 GO111MODULE=on go vet ./... 10:04:49 ---> 48a95c149ab7 10:04:49 Step 8/8 : RUN go mod download 10:04:49 ---> Running in 6ce6f24f45dc 10:05:06 gofmt -l . 10:05:06 [ "`gofmt -l .`" = "" ] 10:05:06 ./bin/test-attribution-txt.sh 10:05:06 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:05:06 $ docker stop --time=1 5168cd22a96f3efc922750cc499cb29ef29d47b1e2009690d39aa531bc10891f 10:05:07 $ docker rm -f 5168cd22a96f3efc922750cc499cb29ef29d47b1e2009690d39aa531bc10891f [Pipeline] // withDockerContainer [Pipeline] sh 10:05:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:05:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:05:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:05:12 + ls -al . 10:05:12 total 188 10:05:12 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 14 10:05 . 10:05:12 drwxrwxr-x. 4 jenkins jenkins 28 Apr 14 10:03 .. 10:05:12 drwxrwxr-x. 2 jenkins jenkins 64 Apr 14 10:03 bin 10:05:12 -rw-r--r--. 1 jenkins jenkins 99932 Apr 14 10:04 coverage.out 10:05:12 -rw-rw-r--. 1 jenkins jenkins 987 Apr 14 10:03 Dockerfile.build 10:05:12 -rw-rw-r--. 1 jenkins jenkins 140 Apr 14 10:03 .dockerignore 10:05:12 drwxrwxr-x. 5 jenkins jenkins 62 Apr 14 10:03 example 10:05:12 drwxrwxr-x. 8 jenkins jenkins 179 Apr 14 10:03 .git 10:05:12 drwxrwxr-x. 2 jenkins jenkins 103 Apr 14 10:03 .github 10:05:12 -rw-rw-r--. 1 jenkins jenkins 138 Apr 14 10:03 .gitignore 10:05:12 -rw-r--r--. 1 jenkins jenkins 574 Apr 14 10:05 go.mod 10:05:12 -rw-r--r--. 1 jenkins jenkins 20735 Apr 14 10:05 go.sum 10:05:12 drwxrwxr-x. 14 jenkins jenkins 207 Apr 14 10:03 internal 10:05:12 -rw-rw-r--. 1 jenkins jenkins 901 Apr 14 10:03 Jenkinsfile 10:05:12 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 14 10:03 LICENSE 10:05:12 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 14 10:03 Makefile 10:05:12 drwxrwxr-x. 4 jenkins jenkins 26 Apr 14 10:03 openapi 10:05:12 drwxrwxr-x. 5 jenkins jenkins 50 Apr 14 10:03 pkg 10:05:12 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 14 10:03 README.md 10:05:12 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 14 10:03 RELEASE-NOTES.txt 10:05:12 drwxrwxr-x. 4 jenkins jenkins 54 Apr 14 10:03 snap 10:05:12 -rw-rw-r--. 1 jenkins jenkins 5 Apr 14 09:59 VERSION 10:05:12 -rw-rw-r--. 1 jenkins jenkins 222 Apr 14 10:03 version.go [Pipeline] isUnix [Pipeline] sh 10:05:13 + 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=98f9d1e0beda86149d7788036cbe8474e673faff --label arch=amd64 --label version=0.0.0 . 10:05:13 Sending build context to Docker daemon 2.57MB 10:05:13 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 10:05:13 Step 2/23 : FROM ${BASE} AS builder 10:05:13 ---> d5e416ec6949 10:05:13 Step 3/23 : WORKDIR /device-sdk-go 10:05:13 ---> Running in 8da038f468e6 10:05:14 Removing intermediate container 8da038f468e6 10:05:14 ---> 986ea4c35358 10:05:14 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:05:14 ---> Running in 30a30eb785d2 10:05:14 Removing intermediate container 30a30eb785d2 10:05:14 ---> 1a9b5b22165b 10:05:14 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:05:14 ---> Running in b096707b9312 10:05:15 Removing intermediate container b096707b9312 10:05:15 ---> fcd23fbf5438 10:05:15 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:05:15 Removing intermediate container 6ce6f24f45dc 10:05:15 ---> b0f7d6f24796 10:05:15 Successfully built b0f7d6f24796 10:05:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:05:15 ---> Running in 702ce91fad40 10:05:16 + docker inspect -f . ci-base-image-arm64 10:05:16 . [Pipeline] withDockerContainer 10:05:16 prd-ubuntu18.04-docker-arm64-4c-16g-100 does not seem to be running inside a container 10:05:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:05:16 $ 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-arm64 cat 10:05:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:05:17 OK: 167 MiB in 45 packages 10:05:18 $ docker top 40494e2601398f58c487291909e8b4bd7bc0be9d19f4466d5a23c3fe94f379df -eo pid,comm [Pipeline] { [Pipeline] sh 10:05:18 Removing intermediate container 702ce91fad40 10:05:18 ---> 4bd782704c1f 10:05:18 Step 7/23 : COPY . . 10:05:18 + go version 10:05:18 go version go1.15.5 linux/arm64 [Pipeline] } 10:05:19 $ docker stop --time=1 40494e2601398f58c487291909e8b4bd7bc0be9d19f4466d5a23c3fe94f379df 10:05:19 ---> 4b8149cbbd54 10:05:19 Step 8/23 : RUN go mod download 10:05:19 ---> Running in a9f1193fe131 10:05:20 Removing intermediate container a9f1193fe131 10:05:20 ---> d41b1721fc92 10:05:20 Step 9/23 : RUN make build 10:05:20 ---> Running in b9a6aeb2b334 10:05:20 $ docker rm -f 40494e2601398f58c487291909e8b4bd7bc0be9d19f4466d5a23c3fe94f379df 10:05:21 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 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:05:21 + docker inspect -f . ci-base-image-arm64 10:05:21 . [Pipeline] withDockerContainer 10:05:21 prd-ubuntu18.04-docker-arm64-4c-16g-100 does not seem to be running inside a container 10:05:21 $ 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-arm64 cat 10:05:23 $ docker top 30f039b9f3d675a113a79d7db1699bc77b12ec8be157f502ad0b7b3b681038b6 -eo pid,comm [Pipeline] { [Pipeline] sh 10:05:24 + make test 10:05:24 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:05:33 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 10:05:35 Removing intermediate container b9a6aeb2b334 10:05:35 ---> d0fea6a69087 10:05:35 Step 10/23 : FROM alpine:3.12 10:05:35 3.12: Pulling from library/alpine 10:05:35 532819f3e44c: Pulling fs layer 10:05:35 532819f3e44c: Verifying Checksum 10:05:35 532819f3e44c: Download complete 10:05:36 532819f3e44c: Pull complete 10:05:36 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 10:05:36 Status: Downloaded newer image for alpine:3.12 10:05:36 ---> 7230e588e954 10:05:36 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:05:36 ---> Running in bc0d9f2f2b74 10:05:36 Removing intermediate container bc0d9f2f2b74 10:05:36 ---> 4749c82460e0 10:05:36 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:05:36 ---> Running in 0deeea06f7aa 10:05:37 Removing intermediate container 0deeea06f7aa 10:05:37 ---> 8add423e8674 10:05:37 Step 13/23 : RUN apk add --update --no-cache zeromq 10:05:37 ---> Running in 9a3db98a49f4 10:05:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:05:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:05:39 (1/5) Installing libgcc (9.3.0-r2) 10:05:39 (2/5) Installing libsodium (1.0.18-r0) 10:05:39 (3/5) Installing libstdc++ (9.3.0-r2) 10:05:40 (4/5) Installing libzmq (4.3.3-r0) 10:05:40 (5/5) Installing zeromq (4.3.3-r0) 10:05:40 Executing busybox-1.31.1-r20.trigger 10:05:40 OK: 8 MiB in 19 packages 10:05:41 Removing intermediate container 9a3db98a49f4 10:05:41 ---> a5971f410ec7 10:05:41 Step 14/23 : WORKDIR / 10:05:41 ---> Running in a4e75224a2e3 10:05:41 Removing intermediate container a4e75224a2e3 10:05:41 ---> eb9637922d50 10:05:41 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:05:41 ---> f18f51244952 10:05:41 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:05:42 ---> 748aff55a9d4 10:05:42 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:05:42 ---> 73ddd641ae2f 10:05:42 Step 18/23 : EXPOSE 49990 10:05:42 ---> Running in de3f51b31a44 10:05:42 Removing intermediate container de3f51b31a44 10:05:42 ---> b9ee5f5834d6 10:05:42 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:05:42 ---> Running in 33cd7f9c819f 10:05:43 Removing intermediate container 33cd7f9c819f 10:05:43 ---> 4d4f5d312bcc 10:05:43 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:05:43 ---> Running in a3f7cc07b972 10:05:43 Removing intermediate container a3f7cc07b972 10:05:43 ---> d7b56a7d1823 10:05:43 Step 21/23 : LABEL arch=amd64 10:05:43 ---> Running in 25207609eb82 10:05:43 Removing intermediate container 25207609eb82 10:05:43 ---> 04d55c3607dd 10:05:43 Step 22/23 : LABEL git_sha=98f9d1e0beda86149d7788036cbe8474e673faff 10:05:43 ---> Running in 3f538f88730e 10:05:43 Removing intermediate container 3f538f88730e 10:05:43 ---> ae2934a2c213 10:05:43 Step 23/23 : LABEL version=0.0.0 10:05:43 ---> Running in d1ea5c174401 10:05:43 Removing intermediate container d1ea5c174401 10:05:43 ---> 534f95217948 10:05:43 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:05:43 Successfully built 534f95217948 10:05:44 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 10:05:44 ---> job-cost.sh 10:05:44 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-viGO 10:05:46 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:05:59 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:06:31 lf-activate-venv(): INFO: Adding /tmp/venv-viGO/bin to PATH 10:06:31 INFO: No Stack... 10:06:31 INFO: Retrieving Pricing Info for: v1-standard-2 10:06:31 INFO: Archiving Costs [Pipeline] sh 10:06:32 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 10:06:32 + cut -d, -f6 [Pipeline] lock 10:06:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-878-2-stack-cost] 10:06:32 Resource [jenkins-edgexfoundry-device-sdk-go-PR-878-2-stack-cost] did not exist. Created. 10:06:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-878-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:06:32 + echo total: 0.029999999329447746 [Pipeline] stash 10:06:32 Stashed 1 file(s) [Pipeline] } 10:06:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-878-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:06:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:06:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:06:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:06:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 10:06:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:06:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.147s coverage: 28.1% of statements 10:06:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.175s coverage: 78.9% of statements 10:06:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.147s coverage: 7.8% of statements 10:06:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 10:06:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:06:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:06:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.288s coverage: 32.0% of statements 10:06:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:06:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:06:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:06:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.288s coverage: 57.1% of statements 10:06:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.191s coverage: 6.6% of statements 10:06:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements 10:06:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:06:52 GO111MODULE=on go vet ./... 10:07:39 gofmt -l . 10:07:39 [ "`gofmt -l .`" = "" ] 10:07:39 ./bin/test-attribution-txt.sh 10:07:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:07:39 $ docker stop --time=1 30f039b9f3d675a113a79d7db1699bc77b12ec8be157f502ad0b7b3b681038b6 10:07:41 $ docker rm -f 30f039b9f3d675a113a79d7db1699bc77b12ec8be157f502ad0b7b3b681038b6 [Pipeline] // withDockerContainer [Pipeline] sh 10:07:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:07:42 Warning: overwriting stash ‘coverage-report’ 10:07:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:07:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:07:44 + ls -al . 10:07:44 total 224 10:07:44 drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 10:07 . 10:07:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 10:03 .. 10:07:44 -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 10:04 .dockerignore 10:07:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 10:04 .git 10:07:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 10:04 .github 10:07:44 -rw-rw-r-- 1 jenkins jenkins 138 Apr 14 10:04 .gitignore 10:07:44 -rw-rw-r-- 1 jenkins jenkins 987 Apr 14 10:04 Dockerfile.build 10:07:44 -rw-rw-r-- 1 jenkins jenkins 901 Apr 14 10:04 Jenkinsfile 10:07:44 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 10:04 LICENSE 10:07:44 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 14 10:04 Makefile 10:07:44 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 14 10:04 README.md 10:07:44 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 14 10:04 RELEASE-NOTES.txt 10:07:44 -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 09:59 VERSION 10:07:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 10:04 bin 10:07:44 -rw-r--r-- 1 jenkins jenkins 99931 Apr 14 10:06 coverage.out 10:07:44 drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 10:04 example 10:07:44 -rw-r--r-- 1 jenkins jenkins 574 Apr 14 10:07 go.mod 10:07:44 -rw-r--r-- 1 jenkins jenkins 20735 Apr 14 10:07 go.sum 10:07:44 drwxrwxr-x 14 jenkins jenkins 4096 Apr 14 10:04 internal 10:07:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 10:04 openapi 10:07:44 drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 10:04 pkg 10:07:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 10:04 snap 10:07:44 -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 10:04 version.go [Pipeline] isUnix [Pipeline] sh 10:07:44 + 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=98f9d1e0beda86149d7788036cbe8474e673faff --label arch=arm64 --label version=0.0.0 . 10:07:45 Sending build context to Docker daemon 2.558MB 10:07:45 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 10:07:45 Step 2/23 : FROM ${BASE} AS builder 10:07:45 ---> b0f7d6f24796 10:07:45 Step 3/23 : WORKDIR /device-sdk-go 10:07:45 ---> Running in 5e92ae47e6fe 10:07:46 Removing intermediate container 5e92ae47e6fe 10:07:46 ---> 77c61e9e9d36 10:07:46 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:07:46 ---> Running in d46281e02a74 10:07:46 Removing intermediate container d46281e02a74 10:07:46 ---> e266f65f205e 10:07:46 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:07:46 ---> Running in 238e0f4cb83b 10:07:49 Removing intermediate container 238e0f4cb83b 10:07:49 ---> 6f203ea0f7a9 10:07:49 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:07:49 ---> Running in f9869508d8a9 10:07:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:07:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:07:51 OK: 144 MiB in 45 packages 10:07:52 Removing intermediate container f9869508d8a9 10:07:52 ---> 484ff7ca899c 10:07:52 Step 7/23 : COPY . . 10:07:54 ---> 59cef4902dff 10:07:54 Step 8/23 : RUN go mod download 10:07:54 ---> Running in 061f9458ef41 10:07:56 Removing intermediate container 061f9458ef41 10:07:56 ---> 91d2b7a23f1e 10:07:56 Step 9/23 : RUN make build 10:07:56 ---> Running in 90cc6e0fb36a 10:07:57 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 10:08:30 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 10:08:32 Removing intermediate container 90cc6e0fb36a 10:08:32 ---> b8d139177f3c 10:08:32 Step 10/23 : FROM alpine:3.12 10:08:32 3.12: Pulling from library/alpine 10:08:32 9a219e8acc52: Pulling fs layer 10:08:32 9a219e8acc52: Verifying Checksum 10:08:32 9a219e8acc52: Download complete 10:08:33 9a219e8acc52: Pull complete 10:08:33 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 10:08:33 Status: Downloaded newer image for alpine:3.12 10:08:33 ---> d75e27dfc0a0 10:08:33 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:08:33 ---> Running in 57387fede1ae 10:08:34 Removing intermediate container 57387fede1ae 10:08:34 ---> b38a4105efab 10:08:34 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:08:34 ---> Running in 69eaef98116e 10:08:37 Removing intermediate container 69eaef98116e 10:08:37 ---> 45a7e768af48 10:08:37 Step 13/23 : RUN apk add --update --no-cache zeromq 10:08:37 ---> Running in cf3b1453e778 10:08:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:08:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:08:39 (1/5) Installing libgcc (9.3.0-r2) 10:08:39 (2/5) Installing libsodium (1.0.18-r0) 10:08:39 (3/5) Installing libstdc++ (9.3.0-r2) 10:08:39 (4/5) Installing libzmq (4.3.3-r0) 10:08:39 (5/5) Installing zeromq (4.3.3-r0) 10:08:39 Executing busybox-1.31.1-r20.trigger 10:08:39 OK: 8 MiB in 19 packages 10:08:41 Removing intermediate container cf3b1453e778 10:08:41 ---> dec226b02b05 10:08:41 Step 14/23 : WORKDIR / 10:08:41 ---> Running in d4f694701c67 10:08:41 Removing intermediate container d4f694701c67 10:08:41 ---> 561e9544e6af 10:08:41 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:08:42 ---> 9d46909acae2 10:08:42 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:08:43 ---> 5733129def58 10:08:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:08:44 ---> e768474380c2 10:08:44 Step 18/23 : EXPOSE 49990 10:08:44 ---> Running in 33e69874392a 10:08:44 Removing intermediate container 33e69874392a 10:08:44 ---> 255fde07c742 10:08:44 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:08:44 ---> Running in d1ce6fb1ae0b 10:08:45 Removing intermediate container d1ce6fb1ae0b 10:08:45 ---> 5ad3e00aaa07 10:08:45 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:08:45 ---> Running in a721df694b3f 10:08:46 Removing intermediate container a721df694b3f 10:08:46 ---> 51f4221da810 10:08:46 Step 21/23 : LABEL arch=arm64 10:08:46 ---> Running in 888b7c181030 10:08:46 Removing intermediate container 888b7c181030 10:08:46 ---> ac50959de13c 10:08:46 Step 22/23 : LABEL git_sha=98f9d1e0beda86149d7788036cbe8474e673faff 10:08:46 ---> Running in 379e2273d447 10:08:47 Removing intermediate container 379e2273d447 10:08:47 ---> 775bbd5f2f83 10:08:47 Step 23/23 : LABEL version=0.0.0 10:08:47 ---> Running in 0ffc3f9c6e84 10:08:47 Removing intermediate container 0ffc3f9c6e84 10:08:47 ---> ddb599b4d868 10:08:47 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:08:47 Successfully built ddb599b4d868 10:08:47 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 10:08:48 ---> job-cost.sh 10:08:48 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zq4M 10:09:27 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:11:04 lf-activate-venv(): INFO: Adding /tmp/venv-zq4M/bin to PATH 10:11:04 INFO: No Stack... 10:11:04 INFO: Retrieving Pricing Info for: lf-standard-4 10:11:04 INFO: Archiving Costs [Pipeline] sh 10:11:04 + + cutcat -d, /w/workspace/device-sdk-go/2/archives/cost.csv -f6 10:11:04 [Pipeline] lock 10:11:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-878-2-stack-cost] 10:11:04 Resource [jenkins-edgexfoundry-device-sdk-go-PR-878-2-stack-cost] did not exist. Created. 10:11:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-878-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:11:04 /w/workspace/device-sdk-go/2@tmp/durable-7b2555bf/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-7b2555bf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 10:11:05 + echo total: 0.20999999344348907 [Pipeline] stash 10:11:05 Warning: overwriting stash ‘stack-cost’ 10:11:05 Stashed 1 file(s) [Pipeline] } 10:11:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-878-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 10:11:06 provisioning config files... 10:11:06 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config709577015018868493tmp [Pipeline] { [Pipeline] sh 10:11:06 + set +x 10:11:06 + curl -s https://codecov.io/bash 10:11:06 + bash -s -- 10:11:07 10:11:07 _____ _ 10:11:07 / ____| | | 10:11:07 | | ___ __| | ___ ___ _____ __ 10:11:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:11:07 | |___| (_) | (_| | __/ (_| (_) \ V / 10:11:07 \_____\___/ \__,_|\___|\___\___/ \_/ 10:11:07 Bash-1.0.1 10:11:07 10:11:07 10:11:07 ==> git version 2.24.3 found 10:11:07 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 10:11:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:11:07 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:11:07 ==> Jenkins CI detected. 10:11:07 project root: . 10:11:07 --> token set from env 10:11:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:11:07 ==> Running gcov in . (disable via -X gcov) 10:11:07 ==> Python coveragepy not found 10:11:07 ==> Searching for coverage reports in: 10:11:07 + . 10:11:07 -> Found 1 reports 10:11:07 ==> Detecting git/mercurial file structure 10:11:07 ==> Reading reports 10:11:07 + ./coverage.out bytes=99931 10:11:07 ==> Appending adjustments 10:11:07 https://docs.codecov.io/docs/fixing-reports 10:11:07 + Found adjustments 10:11:07 ==> Gzipping contents 10:11:07 16K /tmp/codecov.uZJGSj.gz 10:11:07 ==> Uploading reports 10:11:07 url: https://codecov.io 10:11:07 query: branch=PR-878&commit=98f9d1e0beda86149d7788036cbe8474e673faff&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-878%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=878&job=&cmd_args= 10:11:07 -> Pinging Codecov 10:11:07 https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-878&commit=98f9d1e0beda86149d7788036cbe8474e673faff&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-878%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=878&job=&cmd_args= 10:11:08 -> Uploading to 10:11:08 https://storage.googleapis.com/codecov/v4/raw/2021-04-14/7E55EF52A471D76F132DFD9A03CDDE97/98f9d1e0beda86149d7788036cbe8474e673faff/64f458db-f3e7-4450-84c3-8da177b1d838.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210414%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210414T101108Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d99f4426aa7ce1f71882df5f7e243cab0959bbf170d9f6217827f04357849fc0 10:11:08 % Total % Received % Xferd Average Speed Time Time Time Current 10:11:08 Dload Upload Total Spent Left Speed 10:11:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13519 0 0 100 13519 0 26726 --:--:-- --:--:-- --:--:-- 26770 10:11:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/98f9d1e0beda86149d7788036cbe8474e673faff [Pipeline] } 10:11:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 10:11:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:11:11 ---> package-listing.sh 10:11:11 ++ tr '[:upper:]' '[:lower:]' 10:11:11 ++ facter osfamily 10:11:12 + OS_FAMILY=redhat 10:11:12 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-878 10:11:12 + START_PACKAGES=/tmp/packages_start.txt 10:11:12 + END_PACKAGES=/tmp/packages_end.txt 10:11:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:11:12 + PACKAGES=/tmp/packages_start.txt 10:11:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-878 ']' 10:11:12 + PACKAGES=/tmp/packages_end.txt 10:11:12 + case "${OS_FAMILY}" in 10:11:12 + sort 10:11:12 + rpm -qa 10:11:19 + '[' -f /tmp/packages_start.txt ']' 10:11:19 + '[' -f /tmp/packages_end.txt ']' 10:11:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:11:19 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-878 ']' 10:11:19 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-878/archives/ 10:11:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-878/archives/ [Pipeline] echo 10:11:19 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-878/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:11:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:11:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:11:21 10:11:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:11:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:11:21 alpine: Pulling from edgex-lftools-log-publisher 10:11:21 df20fa9351a1: Pulling fs layer 10:11:21 36b3adc4ff6f: Pulling fs layer 10:11:21 8ad3a11d3b57: Pulling fs layer 10:11:21 46f8f816bc3b: Pulling fs layer 10:11:21 93b61091891f: Pulling fs layer 10:11:21 93b9cdb0e59b: Pulling fs layer 10:11:21 5e14af77c1be: Pulling fs layer 10:11:21 01666e4c0597: Pulling fs layer 10:11:21 aa168da1d23b: Pulling fs layer 10:11:21 46f8f816bc3b: Waiting 10:11:21 93b61091891f: Waiting 10:11:21 93b9cdb0e59b: Waiting 10:11:21 5e14af77c1be: Waiting 10:11:21 01666e4c0597: Waiting 10:11:21 aa168da1d23b: Waiting 10:11:22 36b3adc4ff6f: Verifying Checksum 10:11:22 36b3adc4ff6f: Download complete 10:11:22 46f8f816bc3b: Verifying Checksum 10:11:22 46f8f816bc3b: Download complete 10:11:22 df20fa9351a1: Verifying Checksum 10:11:22 df20fa9351a1: Download complete 10:11:22 93b61091891f: Verifying Checksum 10:11:22 93b61091891f: Download complete 10:11:23 93b9cdb0e59b: Verifying Checksum 10:11:23 93b9cdb0e59b: Download complete 10:11:23 5e14af77c1be: Verifying Checksum 10:11:23 5e14af77c1be: Download complete 10:11:23 01666e4c0597: Verifying Checksum 10:11:23 01666e4c0597: Download complete 10:11:23 8ad3a11d3b57: Download complete 10:11:24 df20fa9351a1: Pull complete 10:11:25 36b3adc4ff6f: Pull complete 10:11:28 8ad3a11d3b57: Pull complete 10:11:28 46f8f816bc3b: Pull complete 10:11:28 93b61091891f: Pull complete 10:11:29 93b9cdb0e59b: Pull complete 10:11:30 5e14af77c1be: Pull complete 10:11:31 01666e4c0597: Pull complete 10:11:31 aa168da1d23b: Verifying Checksum 10:11:31 aa168da1d23b: Download complete 10:11:50 aa168da1d23b: Pull complete 10:11:50 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:11:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:11:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:11:51 prd-centos7-docker-4c-2g-98 does not seem to be running inside a container 10:11:51 $ 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-878/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-878 -v /w/workspace/dgexfoundry_device-sdk-go_PR-878:/w/workspace/dgexfoundry_device-sdk-go_PR-878:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-878@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:11:55 $ docker top 20f060d742b886b486274abb0aeccee3b6ffebb2c625707435c544a3fc8ce2d2 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:56 + touch /tmp/pre-build-complete [Pipeline] sh 10:11:56 + mkdir -p /var/log/sa [Pipeline] sh 10:11:57 + ls /var/log/sa-host 10:11:57 + sadf -c /var/log/sa-host/sa14 10:11:57 file_magic: OK 10:11:57 HZ: Using current value: 100 10:11:57 file_header: OK 10:11:57 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 10:11:57 Statistics: 10:11:57 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... 10:11:57 File successfully converted to sysstat format version 12.2.1 10:11:57 + sadf -c /var/log/sa-host/sa23 10:11:57 file_magic: OK 10:11:57 HZ: Using current value: 100 10:11:57 file_header: OK 10:11:57 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 10:11:57 Statistics: 10:11:57 Hnuu...uuuununununu... 10:11:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:11:57 provisioning config files... 10:11:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config8601660760160181702tmp [Pipeline] { [Pipeline] echo 10:11:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:11:58 ---> create-netrc.sh [Pipeline] } 10:11:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:11:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:11:59 ---> python-tools-install.sh [Pipeline] echo 10:11:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:12:00 ---> sudo-logs.sh 10:12:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:12:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:12:00 ---> job-cost.sh 10:12:00 lf-activate-venv: SKIPPING 10:12:00 DEBUG: total: 0.20999999344348907 10:12:00 INFO: Retrieving Stack Cost... 10:12:02 INFO: Retrieving Pricing Info for: v1-standard-2 10:12:02 INFO: Archiving Costs [Pipeline] echo 10:12:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:12:03 ---> logs-deploy.sh 10:12:03 lf-activate-venv: SKIPPING 10:12:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-878/2 10:12:03 INFO: archiving workspace using pattern(s): 10:12:06 Archives upload complete. 10:12:07 INFO: archiving logs to Nexus