Branch indexing 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 ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+7565948cf2a22d3fef01b48e9653f9446226441c (b0335acb9c33ed0f6d2037724997cc10645a38a2) 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: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: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33104 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 7565948cf2a22d3fef01b48e9653f9446226441c into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc > 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/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 Merge succeeded, producing f437281f1477c7681aed980e8d1e4874309ed8ba Checking out Revision f437281f1477c7681aed980e8d1e4874309ed8ba (PR-725) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7565948cf2a22d3fef01b48e9653f9446226441c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f437281f1477c7681aed980e8d1e4874309ed8ba # timeout=10 Commit message: "Merge commit '7565948cf2a22d3fef01b48e9653f9446226441c' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:01 ========================================================= 02:43:01 EdgeX Global Pipelines Version Info 02:43:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2805920d8a105f762ab7e3ca530d3ad86fef2266 # timeout=10 02:43:05 ------------------- 02:43:05 stable info: 02:43:05 ------------------- 02:43:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:05 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 02:43:05 Message: update stable to v1.0.186 02:43:06 ------------------- 02:43:06 experimental info: 02:43:06 ------------------- 02:43:06 Commited By: **** collab-it+edgex@linuxfoundation.org 02:43:06 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 02:43:06 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 02:43:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f437281f1477c7681aed980e8d1e4874309ed8ba [Pipeline] echo 02:43:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f437281 [Pipeline] echo 02:43:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:10 provisioning config files... 02:43:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8191235670173375267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:11 ---> docker-login.sh 02:43:11 nexus3.edgexfoundry.org:10001 02:43:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:14 Configure a credential helper to remove this warning. See 02:43:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:14 02:43:14 Login Succeeded 02:43:14 nexus3.edgexfoundry.org:10002 02:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:15 Configure a credential helper to remove this warning. See 02:43:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:15 02:43:15 Login Succeeded 02:43:15 nexus3.edgexfoundry.org:10003 02:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:17 Configure a credential helper to remove this warning. See 02:43:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:17 02:43:17 Login Succeeded 02:43:17 nexus3.edgexfoundry.org:10004 02:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:18 Configure a credential helper to remove this warning. See 02:43:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:18 02:43:18 Login Succeeded 02:43:18 docker.io 02:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:19 Configure a credential helper to remove this warning. See 02:43:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:19 02:43:19 Login Succeeded 02:43:19 ---> docker-login.sh ends [Pipeline] } 02:43:19 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 02:43:20 + git log --format=format:%s -1 f437281f1477c7681aed980e8d1e4874309ed8ba [Pipeline] echo 02:43:21 GIT_COMMIT: f437281f1477c7681aed980e8d1e4874309ed8ba, Commit Message: Merge commit '7565948cf2a22d3fef01b48e9653f9446226441c' into HEAD [Pipeline] echo 02:43:21 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:22 02:43:22 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:24 latest: Pulling from edgex-devops/git-semver 02:43:24 31603596830f: Pulling fs layer 02:43:24 2a8b12db71e7: Pulling fs layer 02:43:24 6ca5941a6612: Pulling fs layer 02:43:24 ecc8261a40a4: Pulling fs layer 02:43:24 ecc8261a40a4: Waiting 02:43:25 2a8b12db71e7: Verifying Checksum 02:43:25 2a8b12db71e7: Download complete 02:43:26 31603596830f: Verifying Checksum 02:43:26 31603596830f: Download complete 02:43:26 ecc8261a40a4: Verifying Checksum 02:43:26 ecc8261a40a4: Download complete 02:43:26 6ca5941a6612: Verifying Checksum 02:43:26 6ca5941a6612: Download complete 02:43:27 31603596830f: Pull complete 02:43:27 2a8b12db71e7: Pull complete 02:43:29 6ca5941a6612: Pull complete 02:43:30 ecc8261a40a4: Pull complete 02:43:30 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:31 prd-centos7-docker-4c-2g-33104 does not seem to be running inside a container 02:43:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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 02:43:36 $ docker top f3393a777cf4856c06c73f2be8a0aada0528dba994a4d29a7f5f4ee51ff29eaa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:36 [ssh-agent] Looking for ssh-agent implementation... 02:43:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:37 $ docker exec f3393a777cf4856c06c73f2be8a0aada0528dba994a4d29a7f5f4ee51ff29eaa ssh-agent 02:43:37 SSH_AUTH_SOCK=/tmp/ssh-uCbaZRRuysNf/agent.11 02:43:37 SSH_AGENT_PID=17 02:43:37 Running ssh-add (command line suppressed) 02:43:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4124824555410561560.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4124824555410561560.key) 02:43:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:39 + git tag --points-at HEAD [Pipeline] } 02:43:39 $ docker exec --env ******** --env ******** f3393a777cf4856c06c73f2be8a0aada0528dba994a4d29a7f5f4ee51ff29eaa ssh-agent -k 02:43:39 unset SSH_AUTH_SOCK; 02:43:39 unset SSH_AGENT_PID; 02:43:39 echo Agent pid 17 killed; 02:43:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:40 [ssh-agent] Looking for ssh-agent implementation... 02:43:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:41 $ docker exec f3393a777cf4856c06c73f2be8a0aada0528dba994a4d29a7f5f4ee51ff29eaa ssh-agent 02:43:42 SSH_AUTH_SOCK=/tmp/ssh-L64gQQzPvtLf/agent.46 02:43:42 SSH_AGENT_PID=51 02:43:42 Running ssh-add (command line suppressed) 02:43:42 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_365145476043123198.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_365145476043123198.key) 02:43:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:44 + git semver init 02:43:44 # -> Open(): unable to determine branch for HEAD 02:43:44 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 02:43:44 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:43:44 # $SEMVER_REMOTE_NAME = origin 02:43:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:44 # $SEMVER_USER_NAME = edgex-jenkins 02:43:44 # $SEMVER_BRANCH = PR-725 02:43:44 # $SEMVER_TEMP = /tmp/semver-780630058 02:43:44 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:46 # '/tmp/semver-780630058' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 02:43:46 # -> Force: false 02:43:46 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 02:43:46 $ docker exec --env ******** --env ******** f3393a777cf4856c06c73f2be8a0aada0528dba994a4d29a7f5f4ee51ff29eaa ssh-agent -k 02:43:47 unset SSH_AUTH_SOCK; 02:43:47 unset SSH_AGENT_PID; 02:43:47 echo Agent pid 51 killed; 02:43:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:48 + git semver [Pipeline] } 02:43:48 $ docker stop --time=1 f3393a777cf4856c06c73f2be8a0aada0528dba994a4d29a7f5f4ee51ff29eaa 02:43:51 $ docker rm -f f3393a777cf4856c06c73f2be8a0aada0528dba994a4d29a7f5f4ee51ff29eaa [Pipeline] // withDockerContainer [Pipeline] sh 02:43:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:55 Stashed 1 file(s) [Pipeline] echo 02:43:55 [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 02:43:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-33101 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:43:56 Running in /w/workspace/device-sdk-go/30 [Pipeline] { [Pipeline] checkout 02:44:01 using credential edgex-jenkins-ssh 02:44:01 Cloning the remote Git repository 02:44:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:01 > git init /w/workspace/device-sdk-go/30 # timeout=10 02:44:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:01 > git --version # timeout=10 02:44:01 > git --version # 'git version 2.17.1' 02:44:01 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:04 Merging remotes/origin/master commit 7565948cf2a22d3fef01b48e9653f9446226441c into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:44:04 Merge succeeded, producing 38de8821fc957d53a1a3e9484656fa94685fbe36 02:44:04 Checking out Revision 38de8821fc957d53a1a3e9484656fa94685fbe36 (PR-725) 02:44:04 > git config core.sparsecheckout # timeout=10 02:44:04 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:44:04 > git remote # timeout=10 02:44:04 > git config --get remote.origin.url # timeout=10 02:44:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:04 > git merge 7565948cf2a22d3fef01b48e9653f9446226441c # timeout=10 02:44:04 > git rev-parse HEAD^{commit} # timeout=10 02:44:04 > git config core.sparsecheckout # timeout=10 02:44:04 > git checkout -f 38de8821fc957d53a1a3e9484656fa94685fbe36 # timeout=10 02:44:09 Commit message: "Merge commit '7565948cf2a22d3fef01b48e9653f9446226441c' into HEAD" 02:44:09 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 02:44:09 > git rev-list --no-walk 2805920d8a105f762ab7e3ca530d3ad86fef2266 # timeout=10 [Pipeline] sh 02:44:10 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:44:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:11 Still waiting to schedule task 02:44:11 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:44:11 + + truesudo 02:44:11 service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:13 provisioning config files... 02:44:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/30@tmp/config8790785924454387413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:13 ---> docker-login.sh 02:44:13 nexus3.edgexfoundry.org:10001 02:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:15 Configure a credential helper to remove this warning. See 02:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:15 02:44:15 Login Succeeded 02:44:15 nexus3.edgexfoundry.org:10002 02:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:15 Configure a credential helper to remove this warning. See 02:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:15 02:44:15 Login Succeeded 02:44:15 nexus3.edgexfoundry.org:10003 02:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:16 Configure a credential helper to remove this warning. See 02:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:16 02:44:16 Login Succeeded 02:44:16 nexus3.edgexfoundry.org:10004 02:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:16 Configure a credential helper to remove this warning. See 02:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:16 02:44:16 Login Succeeded 02:44:16 docker.io 02:44:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:17 Configure a credential helper to remove this warning. See 02:44:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:17 02:44:17 Login Succeeded 02:44:17 ---> docker-login.sh ends [Pipeline] } 02:44:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:17 ========================================================= 02:44:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:44:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:18 + 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 . 02:44:18 Sending build context to Docker daemon 2.386MB 02:44:18 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:18 Step 2/8 : FROM ${BASE} 02:44:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:44:18 5f621e34cdf4: Pulling fs layer 02:44:18 a4357932f1b6: Pulling fs layer 02:44:18 18c013af1878: Pulling fs layer 02:44:18 00ac8860ef70: Pulling fs layer 02:44:18 63d7cb157983: Pulling fs layer 02:44:18 b116817d02f9: Pulling fs layer 02:44:18 745a02a5169b: Pulling fs layer 02:44:18 00ac8860ef70: Waiting 02:44:18 63d7cb157983: Waiting 02:44:18 b116817d02f9: Waiting 02:44:18 745a02a5169b: Waiting 02:44:18 18c013af1878: Verifying Checksum 02:44:18 18c013af1878: Download complete 02:44:18 a4357932f1b6: Verifying Checksum 02:44:18 a4357932f1b6: Download complete 02:44:18 63d7cb157983: Verifying Checksum 02:44:18 63d7cb157983: Download complete 02:44:18 5f621e34cdf4: Verifying Checksum 02:44:18 b116817d02f9: Verifying Checksum 02:44:18 b116817d02f9: Download complete 02:44:19 5f621e34cdf4: Pull complete 02:44:20 a4357932f1b6: Pull complete 02:44:20 18c013af1878: Pull complete 02:44:22 745a02a5169b: Verifying Checksum 02:44:22 745a02a5169b: Download complete 02:44:23 00ac8860ef70: Verifying Checksum 02:44:23 00ac8860ef70: Download complete 02:44:35 00ac8860ef70: Pull complete 02:44:35 63d7cb157983: Pull complete 02:44:35 b116817d02f9: Pull complete 02:44:38 745a02a5169b: Pull complete 02:44:38 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:44:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:44:38 ---> b7e6874047d6 02:44:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:41 ---> Running in 4a294300e992 02:44:41 Removing intermediate container 4a294300e992 02:44:41 ---> 117dcd30b401 02:44:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:41 ---> Running in 93123bb73bd7 02:44:43 Removing intermediate container 93123bb73bd7 02:44:43 ---> 67d9a00beca6 02:44:43 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 02:44:43 ---> Running in 91704c776f57 02:44:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:44:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:44:46 (1/6) Installing libc-dev (0.7.2-r3) 02:44:46 (2/6) Installing libsodium (1.0.18-r0) 02:44:46 (3/6) Installing pkgconf (1.7.2-r0) 02:44:46 (4/6) Installing libsodium-dev (1.0.18-r0) 02:44:46 (5/6) Installing libzmq (4.3.3-r0) 02:44:46 (6/6) Installing zeromq-dev (4.3.3-r0) 02:44:46 Executing busybox-1.31.1-r19.trigger 02:44:46 OK: 144 MiB in 45 packages 02:44:47 Removing intermediate container 91704c776f57 02:44:47 ---> 7d87057b3ab5 02:44:47 Step 6/8 : WORKDIR /device-sdk-go 02:44:48 ---> Running in 06a39bad6f30 02:44:48 Removing intermediate container 06a39bad6f30 02:44:48 ---> 0771e8a757d2 02:44:48 Step 7/8 : COPY . . 02:44:49 ---> f374286e9aeb 02:44:49 Step 8/8 : RUN go mod download 02:44:49 ---> Running in 1b46b5dc5a32 02:45:16 Removing intermediate container 1b46b5dc5a32 02:45:16 ---> 096401e0e548 02:45:16 Successfully built 096401e0e548 02:45:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:45:16 + docker inspect -f . ci-base-image-arm64 02:45:16 . [Pipeline] withDockerContainer 02:45:17 prd-ubuntu18.04-docker-arm64-4c-16g-33101 does not seem to be running inside a container 02:45:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@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 02:45:18 $ docker top 13955ddcee519f0ef05416b5099397dc295d183eeeada999de6d0fa5018e64f9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:19 + go version 02:45:19 go version go1.15.5 linux/arm64 [Pipeline] } 02:45:19 $ docker stop --time=1 13955ddcee519f0ef05416b5099397dc295d183eeeada999de6d0fa5018e64f9 02:45:22 $ docker rm -f 13955ddcee519f0ef05416b5099397dc295d183eeeada999de6d0fa5018e64f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:23 + docker inspect -f . ci-base-image-arm64 02:45:23 . [Pipeline] withDockerContainer 02:45:23 prd-ubuntu18.04-docker-arm64-4c-16g-33101 does not seem to be running inside a container 02:45:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@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 02:45:25 $ docker top 4598924baea9a0edab67993a12366373ad26ca6a154a9f52018e5b1ae8073a2f -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:26 + make test 02:45:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:48 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:46:19 Running on prd-centos7-docker-4c-2g-33106 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:46:19 Running in /w/workspace/device-sdk-go/30 [Pipeline] { [Pipeline] checkout 02:46:21 using credential edgex-jenkins-ssh 02:46:21 Cloning the remote Git repository 02:46:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:21 > git init /w/workspace/device-sdk-go/30 # timeout=10 02:46:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:21 > git --version # timeout=10 02:46:21 > git --version # 'git version 2.24.3' 02:46:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:23 Merging remotes/origin/master commit 7565948cf2a22d3fef01b48e9653f9446226441c into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:46:23 Merge succeeded, producing 70f917ecf9b3bb69595e3987a0da25e46e40f59d 02:46:23 Checking out Revision 70f917ecf9b3bb69595e3987a0da25e46e40f59d (PR-725) 02:46:23 > git config core.sparsecheckout # timeout=10 02:46:23 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:46:23 > git remote # timeout=10 02:46:23 > git config --get remote.origin.url # timeout=10 02:46:23 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:23 > git merge 7565948cf2a22d3fef01b48e9653f9446226441c # timeout=10 02:46:23 > git rev-parse HEAD^{commit} # timeout=10 02:46:23 > git config core.sparsecheckout # timeout=10 02:46:23 > git checkout -f 70f917ecf9b3bb69595e3987a0da25e46e40f59d # timeout=10 02:46:26 Commit message: "Merge commit '7565948cf2a22d3fef01b48e9653f9446226441c' into HEAD" 02:46:26 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:26 > git rev-list --no-walk 2805920d8a105f762ab7e3ca530d3ad86fef2266 # timeout=10 02:46:28 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:46:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:28 + sudo service docker restart 02:46:28 + true 02:46:28 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:30 provisioning config files... 02:46:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/30@tmp/config3846339045259732187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:30 ---> docker-login.sh 02:46:30 nexus3.edgexfoundry.org:10001 02:46:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:30 Configure a credential helper to remove this warning. See 02:46:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:30 02:46:30 Login Succeeded 02:46:30 nexus3.edgexfoundry.org:10002 02:46:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:30 Configure a credential helper to remove this warning. See 02:46:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:30 02:46:30 Login Succeeded 02:46:30 nexus3.edgexfoundry.org:10003 02:46:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:31 Configure a credential helper to remove this warning. See 02:46:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:31 02:46:31 Login Succeeded 02:46:31 nexus3.edgexfoundry.org:10004 02:46:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:31 Configure a credential helper to remove this warning. See 02:46:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:31 02:46:31 Login Succeeded 02:46:31 docker.io 02:46:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:31 Configure a credential helper to remove this warning. See 02:46:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:31 02:46:31 Login Succeeded 02:46:31 ---> docker-login.sh ends [Pipeline] } 02:46:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:32 ========================================================= 02:46:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:46:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:32 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:46:32 Sending build context to Docker daemon 2.387MB 02:46:32 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:32 Step 2/8 : FROM ${BASE} 02:46:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:46:32 188c0c94c7c5: Pulling fs layer 02:46:32 0ef7d3d256c8: Pulling fs layer 02:46:32 de9db76c5a1d: Pulling fs layer 02:46:32 bca2f99d35d6: Pulling fs layer 02:46:32 93359f2a8cfa: Pulling fs layer 02:46:32 7c6f9722023f: Pulling fs layer 02:46:32 a35cf1a2eb13: Pulling fs layer 02:46:32 93359f2a8cfa: Waiting 02:46:32 7c6f9722023f: Waiting 02:46:32 a35cf1a2eb13: Waiting 02:46:32 bca2f99d35d6: Waiting 02:46:32 de9db76c5a1d: Verifying Checksum 02:46:32 de9db76c5a1d: Download complete 02:46:32 0ef7d3d256c8: Verifying Checksum 02:46:32 0ef7d3d256c8: Download complete 02:46:32 93359f2a8cfa: Verifying Checksum 02:46:32 93359f2a8cfa: Download complete 02:46:32 188c0c94c7c5: Verifying Checksum 02:46:32 7c6f9722023f: Verifying Checksum 02:46:32 7c6f9722023f: Download complete 02:46:33 188c0c94c7c5: Pull complete 02:46:33 0ef7d3d256c8: Pull complete 02:46:33 de9db76c5a1d: Pull complete 02:46:35 a35cf1a2eb13: Verifying Checksum 02:46:35 a35cf1a2eb13: Download complete 02:46:35 bca2f99d35d6: Download complete 02:46:40 bca2f99d35d6: Pull complete 02:46:40 93359f2a8cfa: Pull complete 02:46:40 7c6f9722023f: Pull complete 02:46:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:46:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:46:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:46:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 02:46:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:46:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.129s coverage: 28.1% of statements 02:46:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.166s coverage: 78.9% of statements 02:46:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.150s coverage: 7.8% of statements 02:46:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 02:46:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:46:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:46:48 a35cf1a2eb13: Pull complete 02:46:48 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:46:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:46:48 ---> a62c8e92a672 02:46:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:49 ---> Running in 1204930f315a 02:46:49 Removing intermediate container 1204930f315a 02:46:49 ---> 663e826fff17 02:46:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:49 ---> Running in dad815a588af 02:46:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.308s coverage: 32.5% of statements 02:46:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:46:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:46:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:46:50 Removing intermediate container dad815a588af 02:46:50 ---> e11522e56b2b 02:46:50 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 02:46:50 ---> Running in 37d929a3a73c 02:46:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:52 (1/6) Installing libc-dev (0.7.2-r3) 02:46:52 (2/6) Installing libsodium (1.0.18-r0) 02:46:52 (3/6) Installing pkgconf (1.7.2-r0) 02:46:52 (4/6) Installing libsodium-dev (1.0.18-r0) 02:46:52 (5/6) Installing libzmq (4.3.3-r0) 02:46:52 (6/6) Installing zeromq-dev (4.3.3-r0) 02:46:52 Executing busybox-1.31.1-r19.trigger 02:46:52 OK: 167 MiB in 45 packages 02:46:53 Removing intermediate container 37d929a3a73c 02:46:53 ---> 4674e4fb3ddc 02:46:53 Step 6/8 : WORKDIR /device-sdk-go 02:46:53 ---> Running in 45e06e506452 02:46:53 Removing intermediate container 45e06e506452 02:46:53 ---> 06a85f068126 02:46:53 Step 7/8 : COPY . . 02:46:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.241s coverage: 57.3% of statements 02:46:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.098s coverage: 6.6% of statements 02:46:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements 02:46:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:46:54 GO111MODULE=on go vet ./... 02:46:54 ---> 318df5b5bed7 02:46:54 Step 8/8 : RUN go mod download 02:46:54 ---> Running in fe954314680e 02:47:16 Removing intermediate container fe954314680e 02:47:16 ---> aceb3e652308 02:47:16 Successfully built aceb3e652308 02:47:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:47:17 + docker inspect -f . ci-base-image-x86_64 02:47:17 . [Pipeline] withDockerContainer 02:47:17 prd-centos7-docker-4c-2g-33106 does not seem to be running inside a container 02:47:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:47:18 $ docker top 836bd3135e92f7e49588b066d574482d2f5a5ef214c73b5c9088c52b63286ca2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:19 + go version 02:47:19 go version go1.15.5 linux/amd64 [Pipeline] } 02:47:19 $ docker stop --time=1 836bd3135e92f7e49588b066d574482d2f5a5ef214c73b5c9088c52b63286ca2 02:47:20 $ docker rm -f 836bd3135e92f7e49588b066d574482d2f5a5ef214c73b5c9088c52b63286ca2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:21 + docker inspect -f . ci-base-image-x86_64 02:47:21 . [Pipeline] withDockerContainer 02:47:21 prd-centos7-docker-4c-2g-33106 does not seem to be running inside a container 02:47:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:47:22 $ docker top d6b35a2da2cc98260e65b54646a4576cc09f8c23773c4a6235e6c4103099b0d0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:22 + make test 02:47:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:31 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:47:41 gofmt -l . 02:47:41 [ "`gofmt -l .`" = "" ] 02:47:41 ./bin/test-attribution-txt.sh 02:47:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:41 $ docker stop --time=1 4598924baea9a0edab67993a12366373ad26ca6a154a9f52018e5b1ae8073a2f 02:47:43 $ docker rm -f 4598924baea9a0edab67993a12366373ad26ca6a154a9f52018e5b1ae8073a2f [Pipeline] // withDockerContainer [Pipeline] sh 02:47:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:49 + ls -al . 02:47:49 total 224 02:47:49 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 02:47 . 02:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:44 .. 02:47:49 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 02:44 .dockerignore 02:47:49 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 02:44 .git 02:47:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 02:44 .github 02:47:49 -rw-rw-r-- 1 jenkins jenkins 138 Apr 7 02:44 .gitignore 02:47:49 -rw-rw-r-- 1 jenkins jenkins 987 Apr 7 02:44 Dockerfile.build 02:47:49 -rw-rw-r-- 1 jenkins jenkins 894 Apr 7 02:44 Jenkinsfile 02:47:49 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 7 02:44 LICENSE 02:47:49 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 7 02:44 Makefile 02:47:49 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 7 02:44 README.md 02:47:49 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 7 02:44 RELEASE-NOTES.txt 02:47:49 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 02:43 VERSION 02:47:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 02:44 bin 02:47:49 -rw-r--r-- 1 jenkins jenkins 99189 Apr 7 02:46 coverage.out 02:47:49 drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 02:44 example 02:47:49 -rw-r--r-- 1 jenkins jenkins 572 Apr 7 02:47 go.mod 02:47:49 -rw-r--r-- 1 jenkins jenkins 20946 Apr 7 02:47 go.sum 02:47:49 drwxrwxr-x 14 jenkins jenkins 4096 Apr 7 02:44 internal 02:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:44 openapi 02:47:49 drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 02:44 pkg 02:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:44 snap 02:47:49 -rw-rw-r-- 1 jenkins jenkins 222 Apr 7 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:47:49 + docker build -t 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=f437281f1477c7681aed980e8d1e4874309ed8ba --label arch=arm64 --label version=0.0.0 . 02:47:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:47:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:47:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:47:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 02:47:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:47:49 Sending build context to Docker daemon 2.486MB 02:47:50 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 02:47:50 Step 2/23 : FROM ${BASE} AS builder 02:47:50 ---> 096401e0e548 02:47:50 Step 3/23 : WORKDIR /device-sdk-go 02:47:50 ---> Running in 2a529fa23583 02:47:50 Removing intermediate container 2a529fa23583 02:47:50 ---> 480d428af79c 02:47:50 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:50 ---> Running in a1b7bdb7ba82 02:47:51 Removing intermediate container a1b7bdb7ba82 02:47:51 ---> 08dbcfc95c0f 02:47:51 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:51 ---> Running in 1b24652e5ad4 02:47:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.079s coverage: 28.1% of statements 02:47:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.096s coverage: 78.9% of statements 02:47:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.060s coverage: 7.8% of statements 02:47:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 02:47:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:47:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:47:53 Removing intermediate container 1b24652e5ad4 02:47:53 ---> ba44694686f4 02:47:53 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:47:53 ---> Running in fdaaa7f419e1 02:47:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.089s coverage: 32.5% of statements 02:47:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:47:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:47:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:47:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 57.3% of statements 02:47:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.230s coverage: 6.6% of statements 02:47:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 02:47:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:47:54 GO111MODULE=on go vet ./... 02:47:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:56 OK: 144 MiB in 45 packages 02:47:57 Removing intermediate container fdaaa7f419e1 02:47:57 ---> 298a73deb16e 02:47:57 Step 7/23 : COPY . . 02:47:58 ---> 4b58e183ec76 02:47:58 Step 8/23 : RUN go mod download 02:47:58 ---> Running in e447b1a76b73 02:48:01 Removing intermediate container e447b1a76b73 02:48:01 ---> fa0e74446f50 02:48:01 Step 9/23 : RUN make build 02:48:01 ---> Running in 70aed6b36d8f 02:48: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 02:48:13 gofmt -l . 02:48:13 [ "`gofmt -l .`" = "" ] 02:48:13 ./bin/test-attribution-txt.sh 02:48:13 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:48:13 $ docker stop --time=1 d6b35a2da2cc98260e65b54646a4576cc09f8c23773c4a6235e6c4103099b0d0 02:48:14 $ docker rm -f d6b35a2da2cc98260e65b54646a4576cc09f8c23773c4a6235e6c4103099b0d0 [Pipeline] // withDockerContainer [Pipeline] sh 02:48:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:48:15 Warning: overwriting stash ‘coverage-report’ 02:48:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:48:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:16 + ls -al . 02:48:16 total 188 02:48:16 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 7 02:48 . 02:48:16 drwxrwxr-x. 4 jenkins jenkins 30 Apr 7 02:46 .. 02:48:16 drwxrwxr-x. 2 jenkins jenkins 64 Apr 7 02:46 bin 02:48:16 -rw-r--r--. 1 jenkins jenkins 99189 Apr 7 02:47 coverage.out 02:48:16 -rw-rw-r--. 1 jenkins jenkins 987 Apr 7 02:46 Dockerfile.build 02:48:16 -rw-rw-r--. 1 jenkins jenkins 140 Apr 7 02:46 .dockerignore 02:48:16 drwxrwxr-x. 5 jenkins jenkins 62 Apr 7 02:46 example 02:48:16 drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 02:46 .git 02:48:16 drwxrwxr-x. 2 jenkins jenkins 103 Apr 7 02:46 .github 02:48:16 -rw-rw-r--. 1 jenkins jenkins 138 Apr 7 02:46 .gitignore 02:48:16 -rw-r--r--. 1 jenkins jenkins 572 Apr 7 02:48 go.mod 02:48:16 -rw-r--r--. 1 jenkins jenkins 20946 Apr 7 02:48 go.sum 02:48:16 drwxrwxr-x. 14 jenkins jenkins 207 Apr 7 02:46 internal 02:48:16 -rw-rw-r--. 1 jenkins jenkins 894 Apr 7 02:46 Jenkinsfile 02:48:16 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 7 02:46 LICENSE 02:48:16 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 7 02:46 Makefile 02:48:16 drwxrwxr-x. 4 jenkins jenkins 26 Apr 7 02:46 openapi 02:48:16 drwxrwxr-x. 5 jenkins jenkins 50 Apr 7 02:46 pkg 02:48:16 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 7 02:46 README.md 02:48:16 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 7 02:46 RELEASE-NOTES.txt 02:48:16 drwxrwxr-x. 4 jenkins jenkins 54 Apr 7 02:46 snap 02:48:16 -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 02:43 VERSION 02:48:16 -rw-rw-r--. 1 jenkins jenkins 222 Apr 7 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:48:17 + docker build -t 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=f437281f1477c7681aed980e8d1e4874309ed8ba --label arch=amd64 --label version=0.0.0 . 02:48:17 Sending build context to Docker daemon 2.487MB 02:48:17 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 02:48:17 Step 2/23 : FROM ${BASE} AS builder 02:48:17 ---> aceb3e652308 02:48:17 Step 3/23 : WORKDIR /device-sdk-go 02:48:18 ---> Running in 949a27e0f0af 02:48:18 Removing intermediate container 949a27e0f0af 02:48:18 ---> d824acf97633 02:48:18 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:18 ---> Running in bdd4787a51d7 02:48:18 Removing intermediate container bdd4787a51d7 02:48:18 ---> e29c7275e624 02:48:18 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:18 ---> Running in 0a948be85d51 02:48:19 Removing intermediate container 0a948be85d51 02:48:19 ---> 5a7ae9baf20e 02:48:19 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:48:19 ---> Running in 1d7eacd264d6 02:48:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:48:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:48:21 OK: 167 MiB in 45 packages 02:48:21 Removing intermediate container 1d7eacd264d6 02:48:21 ---> 1c917193ea2c 02:48:21 Step 7/23 : COPY . . 02:48:22 ---> 356106d04bad 02:48:22 Step 8/23 : RUN go mod download 02:48:22 ---> Running in e143126a5513 02:48:24 Removing intermediate container e143126a5513 02:48:24 ---> d3247252742c 02:48:24 Step 9/23 : RUN make build 02:48:24 ---> Running in 1a99f5e8fa2a 02:48:24 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 02:48:34 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:48:34 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:48:36 Removing intermediate container 1a99f5e8fa2a 02:48:36 ---> f169087fec3b 02:48:36 Step 10/23 : FROM alpine:3.12 02:48:37 3.12: Pulling from library/alpine 02:48:37 532819f3e44c: Pulling fs layer 02:48:37 532819f3e44c: Verifying Checksum 02:48:37 532819f3e44c: Download complete 02:48:37 Removing intermediate container 70aed6b36d8f 02:48:37 ---> 3e7b15bc26b6 02:48:37 Step 10/23 : FROM alpine:3.12 02:48:37 3.12: Pulling from library/alpine 02:48:37 9a219e8acc52: Pulling fs layer 02:48:37 532819f3e44c: Pull complete 02:48:37 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 02:48:37 Status: Downloaded newer image for alpine:3.12 02:48:37 ---> 7230e588e954 02:48:37 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:37 9a219e8acc52: Verifying Checksum 02:48:37 9a219e8acc52: Download complete 02:48:37 ---> Running in de096d968438 02:48:37 Removing intermediate container de096d968438 02:48:37 ---> 28e7d9399e99 02:48:37 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:37 ---> Running in 54b05c0fbbf7 02:48:38 9a219e8acc52: Pull complete 02:48:38 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 02:48:38 Status: Downloaded newer image for alpine:3.12 02:48:38 ---> d75e27dfc0a0 02:48:38 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:38 ---> Running in 1fca153069af 02:48:38 Removing intermediate container 1fca153069af 02:48:38 ---> 95a99ba62a2d 02:48:38 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:39 ---> Running in f5d545b6b6ff 02:48:39 Removing intermediate container 54b05c0fbbf7 02:48:39 ---> bfe4d8c9199e 02:48:39 Step 13/23 : RUN apk add --update --no-cache zeromq 02:48:39 ---> Running in 616e9b5ca9b6 02:48:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:48:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:48:40 (1/5) Installing libgcc (9.3.0-r2) 02:48:40 (2/5) Installing libsodium (1.0.18-r0) 02:48:40 (3/5) Installing libstdc++ (9.3.0-r2) 02:48:41 (4/5) Installing libzmq (4.3.3-r0) 02:48:41 (5/5) Installing zeromq (4.3.3-r0) 02:48:41 Removing intermediate container f5d545b6b6ff 02:48:41 ---> 5ac6afb087e7 02:48:41 Step 13/23 : RUN apk add --update --no-cache zeromq 02:48:41 Executing busybox-1.31.1-r20.trigger 02:48:41 OK: 8 MiB in 19 packages 02:48:41 ---> Running in d4ff927e370c 02:48:41 Removing intermediate container 616e9b5ca9b6 02:48:41 ---> b4f39dfc31a6 02:48:41 Step 14/23 : WORKDIR / 02:48:41 ---> Running in 59594b633e91 02:48:41 Removing intermediate container 59594b633e91 02:48:41 ---> 65d0ed0bddc6 02:48:41 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:48:42 ---> 003794d9c499 02:48:42 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:48:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:42 ---> 6d8e40ec11fa 02:48:42 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:48:42 ---> 61e70f5751ac 02:48:42 Step 18/23 : EXPOSE 49990 02:48:42 ---> Running in 5fa5927a5428 02:48:43 Removing intermediate container 5fa5927a5428 02:48:43 ---> efb2ae48fe1c 02:48:43 Step 19/23 : ENTRYPOINT ["/device-simple"] 02:48:43 ---> Running in 28c5dd817b8f 02:48:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:43 Removing intermediate container 28c5dd817b8f 02:48:43 ---> 9c80c04f3b07 02:48:43 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:43 ---> Running in b480a35ba10b 02:48:43 Removing intermediate container b480a35ba10b 02:48:43 ---> a0897bf5454f 02:48:43 Step 21/23 : LABEL arch=amd64 02:48:43 ---> Running in fb2948607c28 02:48:43 Removing intermediate container fb2948607c28 02:48:43 ---> 27c4604bea28 02:48:43 Step 22/23 : LABEL git_sha=f437281f1477c7681aed980e8d1e4874309ed8ba 02:48:43 (1/5) Installing libgcc (9.3.0-r2) 02:48:43 (2/5) Installing libsodium (1.0.18-r0) 02:48:43 (3/5) Installing libstdc++ (9.3.0-r2) 02:48:44 ---> Running in ed3bec8c5615 02:48:44 Removing intermediate container ed3bec8c5615 02:48:44 ---> cf0b3afedc97 02:48:44 Step 23/23 : LABEL version=0.0.0 02:48:44 (4/5) Installing libzmq (4.3.3-r0) 02:48:44 (5/5) Installing zeromq (4.3.3-r0) 02:48:44 Executing busybox-1.31.1-r20.trigger 02:48:44 ---> Running in 1c1d99b1eeac 02:48:44 Removing intermediate container 1c1d99b1eeac 02:48:44 ---> ebfac1230177 02:48:44 [Warning] One or more build-args [ARCH MAKE] were not consumed 02:48:44 Successfully built ebfac1230177 02:48:44 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 02:48:44 OK: 8 MiB in 19 packages 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 02:48:45 ---> job-cost.sh 02:48:45 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rwSi 02:48:45 Removing intermediate container d4ff927e370c 02:48:45 ---> b6021bafa201 02:48:45 Step 14/23 : WORKDIR / 02:48:45 ---> Running in 85292904eb45 02:48:46 Removing intermediate container 85292904eb45 02:48:46 ---> b40aad848398 02:48:46 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:48:47 ---> 79b0f3a88587 02:48:47 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:48:48 ---> 8eb60a968182 02:48:48 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:48:49 ---> b1b4b2921c4b 02:48:49 Step 18/23 : EXPOSE 49990 02:48:49 ---> Running in c07dfaac77eb 02:48:49 Removing intermediate container c07dfaac77eb 02:48:49 ---> 182f051d5d0d 02:48:49 Step 19/23 : ENTRYPOINT ["/device-simple"] 02:48:49 ---> Running in 88c5f7356ad7 02:48:49 Removing intermediate container 88c5f7356ad7 02:48:49 ---> 1046e67e7fb6 02:48:49 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:50 ---> Running in be409b98093b 02:48:50 Removing intermediate container be409b98093b 02:48:50 ---> db86b75d95d8 02:48:50 Step 21/23 : LABEL arch=arm64 02:48:50 ---> Running in fe4401c5c7b8 02:48:51 Removing intermediate container fe4401c5c7b8 02:48:51 ---> 75f01b84fcd5 02:48:51 Step 22/23 : LABEL git_sha=f437281f1477c7681aed980e8d1e4874309ed8ba 02:48:51 ---> Running in 26c75ba2d39d 02:48:51 Removing intermediate container 26c75ba2d39d 02:48:51 ---> b33c1c8d84e8 02:48:51 Step 23/23 : LABEL version=0.0.0 02:48:51 ---> Running in 329929ef447b 02:48:52 Removing intermediate container 329929ef447b 02:48:52 ---> 2406097ec2ce 02:48:52 [Warning] One or more build-args [MAKE ARCH] were not consumed 02:48:52 Successfully built 2406097ec2ce 02:48:52 Successfully tagged 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 02:48:53 ---> job-cost.sh 02:48:53 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qMwM 02:49:00 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:49:26 lf-activate-venv(): INFO: Adding /tmp/venv-rwSi/bin to PATH 02:49:26 INFO: No Stack... 02:49:27 INFO: Retrieving Pricing Info for: v1-standard-2 02:49:27 INFO: Archiving Costs [Pipeline] sh 02:49:27 + cut -d, -f6 02:49:27 + cat /w/workspace/device-sdk-go/30/archives/cost.csv [Pipeline] lock 02:49:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-30-stack-cost] 02:49:28 Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-30-stack-cost] did not exist. Created. 02:49:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:49:28 + echo total: 0.029999999329447746 [Pipeline] stash 02:49:28 Stashed 1 file(s) [Pipeline] } 02:49:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-30-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:49:32 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:51:08 lf-activate-venv(): INFO: Adding /tmp/venv-qMwM/bin to PATH 02:51:08 INFO: No Stack... 02:51:08 INFO: Retrieving Pricing Info for: lf-standard-4 02:51:08 INFO: Archiving Costs [Pipeline] sh 02:51:09 + cat /w/workspace/device-sdk-go/30/archives/cost.csv 02:51:09 + cut -d, -f6 [Pipeline] lock 02:51:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-30-stack-cost] 02:51:09 Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-30-stack-cost] did not exist. Created. 02:51:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:51:09 /w/workspace/device-sdk-go/30@tmp/durable-d53d0e46/script.sh: 1: /w/workspace/device-sdk-go/30@tmp/durable-d53d0e46/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:51:10 + echo total: 0.4099999964237213 [Pipeline] stash 02:51:10 Warning: overwriting stash ‘stack-cost’ 02:51:10 Stashed 1 file(s) [Pipeline] } 02:51:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-30-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 02:51:12 provisioning config files... 02:51:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8717367998957899288tmp [Pipeline] { [Pipeline] sh 02:51:13 + set +x 02:51:13 + curl -s https://codecov.io/bash 02:51:13 + bash -s -- 02:51:13 02:51:13 _____ _ 02:51:13 / ____| | | 02:51:13 | | ___ __| | ___ ___ _____ __ 02:51:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:13 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:13 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:13 Bash-20210309-2b87ace 02:51:13 02:51:13 02:51:13 ==> git version 2.24.3 found 02:51:14 ==> 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 02:51:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:51:14 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:51:14 ==> Jenkins CI detected. 02:51:14 project root: . 02:51:14 --> token set from env 02:51:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:14 ==> Running gcov in . (disable via -X gcov) 02:51:14 ==> Python coveragepy not found 02:51:14 ==> Searching for coverage reports in: 02:51:14 + . 02:51:14 -> Found 1 reports 02:51:14 ==> Detecting git/mercurial file structure 02:51:14 ==> Reading reports 02:51:14 + ./coverage.out bytes=99189 02:51:14 ==> Appending adjustments 02:51:14 https://docs.codecov.io/docs/fixing-reports 02:51:15 + Found adjustments 02:51:15 ==> Gzipping contents 02:51:15 16K /tmp/codecov.V3G8W8.gz 02:51:15 ==> Uploading reports 02:51:15 url: https://codecov.io 02:51:15 query: branch=PR-725&commit=f437281f1477c7681aed980e8d1e4874309ed8ba&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:51:15 -> Pinging Codecov 02:51:15 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-725&commit=f437281f1477c7681aed980e8d1e4874309ed8ba&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:51:16 -> Uploading to 02:51:16 https://storage.googleapis.com/codecov/v4/raw/2021-04-07/7E55EF52A471D76F132DFD9A03CDDE97/f437281f1477c7681aed980e8d1e4874309ed8ba/693af3a4-efed-4067-b4d6-885e7cf1b9d8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210407T025115Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7cae28447ca82129d41520183f9e21c11089ee73d6d6265d0024b80d79b760da 02:51:16 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:16 Dload Upload Total Spent Left Speed 02:51:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13430 0 0 100 13430 0 16737 --:--:-- --:--:-- --:--:-- 16724 02:51:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f437281f1477c7681aed980e8d1e4874309ed8ba [Pipeline] } 02:51:16 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 02:51:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:22 ---> package-listing.sh 02:51:22 ++ tr '[:upper:]' '[:lower:]' 02:51:22 ++ facter osfamily 02:51:22 + OS_FAMILY=redhat 02:51:22 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 02:51:22 + START_PACKAGES=/tmp/packages_start.txt 02:51:22 + END_PACKAGES=/tmp/packages_end.txt 02:51:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:22 + PACKAGES=/tmp/packages_start.txt 02:51:22 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:51:22 + PACKAGES=/tmp/packages_end.txt 02:51:22 + case "${OS_FAMILY}" in 02:51:22 + rpm -qa 02:51:22 + sort 02:51:33 + '[' -f /tmp/packages_start.txt ']' 02:51:33 + '[' -f /tmp/packages_end.txt ']' 02:51:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:51:33 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 02:51:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo 02:51:33 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:51:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:51:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:36 02:51:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:36 alpine: Pulling from edgex-lftools-log-publisher 02:51:36 df20fa9351a1: Pulling fs layer 02:51:36 36b3adc4ff6f: Pulling fs layer 02:51:36 8ad3a11d3b57: Pulling fs layer 02:51:36 46f8f816bc3b: Pulling fs layer 02:51:36 93b61091891f: Pulling fs layer 02:51:36 93b9cdb0e59b: Pulling fs layer 02:51:36 5e14af77c1be: Pulling fs layer 02:51:36 01666e4c0597: Pulling fs layer 02:51:36 aa168da1d23b: Pulling fs layer 02:51:36 93b9cdb0e59b: Waiting 02:51:36 5e14af77c1be: Waiting 02:51:36 01666e4c0597: Waiting 02:51:36 aa168da1d23b: Waiting 02:51:36 46f8f816bc3b: Waiting 02:51:36 93b61091891f: Waiting 02:51:37 36b3adc4ff6f: Verifying Checksum 02:51:37 36b3adc4ff6f: Download complete 02:51:37 46f8f816bc3b: Verifying Checksum 02:51:37 46f8f816bc3b: Download complete 02:51:37 93b61091891f: Verifying Checksum 02:51:37 93b61091891f: Download complete 02:51:37 93b9cdb0e59b: Verifying Checksum 02:51:37 93b9cdb0e59b: Download complete 02:51:37 5e14af77c1be: Verifying Checksum 02:51:37 5e14af77c1be: Download complete 02:51:37 df20fa9351a1: Verifying Checksum 02:51:37 df20fa9351a1: Download complete 02:51:37 01666e4c0597: Verifying Checksum 02:51:37 01666e4c0597: Download complete 02:51:39 df20fa9351a1: Pull complete 02:51:40 8ad3a11d3b57: Verifying Checksum 02:51:40 8ad3a11d3b57: Download complete 02:51:40 36b3adc4ff6f: Pull complete 02:51:43 8ad3a11d3b57: Pull complete 02:51:44 46f8f816bc3b: Pull complete 02:51:46 93b61091891f: Pull complete 02:51:47 93b9cdb0e59b: Pull complete 02:51:47 5e14af77c1be: Pull complete 02:51:47 01666e4c0597: Pull complete 02:51:50 aa168da1d23b: Verifying Checksum 02:51:50 aa168da1d23b: Download complete 02:52:24 aa168da1d23b: Pull complete 02:52:24 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:52:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:52:25 prd-centos7-docker-4c-2g-33104 does not seem to be running inside a container 02:52:25 $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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 02:52:29 $ docker top ebfdf159009fb092d5308820e3825094f95ae279465fc4b898ff52683a709091 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:30 + touch /tmp/pre-build-complete [Pipeline] sh 02:52:31 + mkdir -p /var/log/sa [Pipeline] sh 02:52:32 + ls /var/log/sa-host 02:52:32 + sadf -c /var/log/sa-host/sa07 02:52:32 file_magic: OK 02:52:32 HZ: Using current value: 100 02:52:32 file_header: OK 02:52:32 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 02:52:32 Statistics: 02:52:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:52:32 File successfully converted to sysstat format version 12.2.1 02:52:32 + sadf -c /var/log/sa-host/sa23 02:52:32 file_magic: OK 02:52:32 HZ: Using current value: 100 02:52:32 file_header: OK 02:52:32 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 02:52:32 Statistics: 02:52:32 Hnuu...uuuununununu... 02:52:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:32 provisioning config files... 02:52:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2439989139675531388tmp [Pipeline] { [Pipeline] echo 02:52:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:34 ---> create-netrc.sh [Pipeline] } 02:52:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:52:34 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:35 ---> python-tools-install.sh [Pipeline] echo 02:52:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:36 ---> sudo-logs.sh 02:52:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:52:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:39 ---> job-cost.sh 02:52:39 lf-activate-venv: SKIPPING 02:52:39 DEBUG: total: 0.4099999964237213 02:52:39 INFO: Retrieving Stack Cost... 02:52:41 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:42 INFO: Archiving Costs [Pipeline] echo 02:52:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:43 ---> logs-deploy.sh 02:52:43 lf-activate-venv: SKIPPING 02:52:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/30 02:52:43 INFO: archiving workspace using pattern(s): 02:52:47 Archives upload complete. 02:52:47 INFO: archiving logs to Nexus