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+92affc97e25621ac5a3617c0e5e42feb55191c77 (54ec02d9d099f43e1faa4732743e522190985c2c) 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-2098 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 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 2c4eb43e9d1b624285ed560293ea7378e1c86003 Checking out Revision 2c4eb43e9d1b624285ed560293ea7378e1c86003 (PR-725) > 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 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c4eb43e9d1b624285ed560293ea7378e1c86003 # timeout=10 Commit message: "Merge commit '92affc97e25621ac5a3617c0e5e42feb55191c77' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:41:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk aac70bba8a8cbe0961ac72a11d2de48656e10374 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:41:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:41:38 ========================================================= 22:41:38 EdgeX Global Pipelines Version Info 22:41:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:41:40 ------------------- 22:41:40 stable info: 22:41:40 ------------------- 22:41:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:40 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 22:41:40 Message: update stable to v1.0.186 22:41:41 ------------------- 22:41:41 experimental info: 22:41:41 ------------------- 22:41:41 Commited By: **** collab-it+edgex@linuxfoundation.org 22:41:41 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 22:41:41 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:41:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c4eb43e9d1b624285ed560293ea7378e1c86003 [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c4eb43 [Pipeline] echo 22:41:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:41:42 provisioning config files... 22:41:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5815544929229957730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:42 ---> docker-login.sh 22:41:42 nexus3.edgexfoundry.org:10001 22:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:43 Configure a credential helper to remove this warning. See 22:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:43 22:41:43 Login Succeeded 22:41:43 nexus3.edgexfoundry.org:10002 22:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:43 Configure a credential helper to remove this warning. See 22:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:43 22:41:43 Login Succeeded 22:41:43 nexus3.edgexfoundry.org:10003 22:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:43 Configure a credential helper to remove this warning. See 22:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:43 22:41:43 Login Succeeded 22:41:43 nexus3.edgexfoundry.org:10004 22:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:43 Configure a credential helper to remove this warning. See 22:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:43 22:41:43 Login Succeeded 22:41:43 docker.io 22:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:44 Configure a credential helper to remove this warning. See 22:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:44 22:41:44 Login Succeeded 22:41:44 ---> docker-login.sh ends [Pipeline] } 22:41:44 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 22:41:44 + git log --format=format:%s -1 2c4eb43e9d1b624285ed560293ea7378e1c86003 [Pipeline] echo 22:41:44 GIT_COMMIT: 2c4eb43e9d1b624285ed560293ea7378e1c86003, Commit Message: Merge commit '92affc97e25621ac5a3617c0e5e42feb55191c77' into HEAD [Pipeline] echo 22:41:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:41:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:45 22:41:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:41:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:46 latest: Pulling from edgex-devops/git-semver 22:41:46 31603596830f: Pulling fs layer 22:41:46 ed72481023dd: Pulling fs layer 22:41:46 c32a4479710f: Pulling fs layer 22:41:46 c2876331c4ee: Pulling fs layer 22:41:46 c2876331c4ee: Waiting 22:41:46 ed72481023dd: Verifying Checksum 22:41:46 ed72481023dd: Download complete 22:41:46 31603596830f: Verifying Checksum 22:41:46 31603596830f: Download complete 22:41:46 c2876331c4ee: Verifying Checksum 22:41:46 c2876331c4ee: Download complete 22:41:46 c32a4479710f: Verifying Checksum 22:41:46 c32a4479710f: Download complete 22:41:46 31603596830f: Pull complete 22:41:46 ed72481023dd: Pull complete 22:41:47 c32a4479710f: Pull complete 22:41:47 c2876331c4ee: Pull complete 22:41:47 Digest: sha256:847ffe7ce2e7ac62508696f65e6af8fb3845486e82f4c7d75a16a052f406db85 22:41:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:41:47 prd-centos7-docker-4c-2g-2098 does not seem to be running inside a container 22:41:48 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:41:50 $ docker top fdb1d22bc37fdc1eeb917a1fd7d07e11b54f7fbd0ba9dc9b5ccb84c1c6fdb219 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:41:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:50 [ssh-agent] Looking for ssh-agent implementation... 22:41:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:50 $ docker exec fdb1d22bc37fdc1eeb917a1fd7d07e11b54f7fbd0ba9dc9b5ccb84c1c6fdb219 ssh-agent 22:41:50 SSH_AUTH_SOCK=/tmp/ssh-jMcalVLyoTL3/agent.12 22:41:50 SSH_AGENT_PID=17 22:41:50 Running ssh-add (command line suppressed) 22:41:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6617409610922219312.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6617409610922219312.key) 22:41:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:51 + git tag --points-at HEAD [Pipeline] } 22:41:51 $ docker exec --env ******** --env ******** fdb1d22bc37fdc1eeb917a1fd7d07e11b54f7fbd0ba9dc9b5ccb84c1c6fdb219 ssh-agent -k 22:41:51 unset SSH_AUTH_SOCK; 22:41:51 unset SSH_AGENT_PID; 22:41:51 echo Agent pid 17 killed; 22:41:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:41:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:51 [ssh-agent] Looking for ssh-agent implementation... 22:41:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:51 $ docker exec fdb1d22bc37fdc1eeb917a1fd7d07e11b54f7fbd0ba9dc9b5ccb84c1c6fdb219 ssh-agent 22:41:51 SSH_AUTH_SOCK=/tmp/ssh-q6OHJFkL2FQ4/agent.46 22:41:51 SSH_AGENT_PID=51 22:41:51 Running ssh-add (command line suppressed) 22:41:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5721155499981610521.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5721155499981610521.key) 22:41:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:52 + git semver init 22:41:52 # -> Open(): unable to determine branch for HEAD 22:41:52 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 22:41:52 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 22:41:52 # $SEMVER_REMOTE_NAME = origin 22:41:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:41:52 # $SEMVER_USER_NAME = edgex-jenkins 22:41:52 # $SEMVER_BRANCH = PR-725 22:41:52 # $SEMVER_TEMP = /tmp/semver-512782502 22:41:52 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:41:53 # '/tmp/semver-512782502' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 22:41:53 # -> Force: false 22:41:53 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 22:41:53 $ docker exec --env ******** --env ******** fdb1d22bc37fdc1eeb917a1fd7d07e11b54f7fbd0ba9dc9b5ccb84c1c6fdb219 ssh-agent -k 22:41:53 unset SSH_AUTH_SOCK; 22:41:53 unset SSH_AGENT_PID; 22:41:53 echo Agent pid 51 killed; 22:41:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:41:53 + git semver [Pipeline] } 22:41:53 $ docker stop --time=1 fdb1d22bc37fdc1eeb917a1fd7d07e11b54f7fbd0ba9dc9b5ccb84c1c6fdb219 22:41:55 $ docker rm -f fdb1d22bc37fdc1eeb917a1fd7d07e11b54f7fbd0ba9dc9b5ccb84c1c6fdb219 [Pipeline] // withDockerContainer [Pipeline] sh 22:41:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:41:56 Stashed 1 file(s) [Pipeline] echo 22:41: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 22:42:11 Still waiting to schedule task 22:42:11 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2098’ 22:42:11 Still waiting to schedule task 22:42:11 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:44:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2099 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 22:44:00 Running in /w/workspace/device-sdk-go/40 [Pipeline] { [Pipeline] checkout 22:44:06 using credential edgex-jenkins-ssh 22:44:06 Cloning the remote Git repository 22:44:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:44:06 > git init /w/workspace/device-sdk-go/40 # timeout=10 22:44:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:06 > git --version # timeout=10 22:44:06 > git --version # 'git version 2.17.1' 22:44:06 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:08 > 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 22:44:08 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 22:44:09 Merge succeeded, producing 93e3b97c51b222bf9f95f066e8a398ce06bc86a4 22:44:09 Checking out Revision 93e3b97c51b222bf9f95f066e8a398ce06bc86a4 (PR-725) 22:44:08 > git config core.sparsecheckout # timeout=10 22:44:09 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 22:44:09 > git remote # timeout=10 22:44:09 > git config --get remote.origin.url # timeout=10 22:44:09 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:09 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 22:44:09 > git rev-parse HEAD^{commit} # timeout=10 22:44:09 > git config core.sparsecheckout # timeout=10 22:44:09 > git checkout -f 93e3b97c51b222bf9f95f066e8a398ce06bc86a4 # timeout=10 22:44:13 Commit message: "Merge commit '92affc97e25621ac5a3617c0e5e42feb55191c77' into HEAD" 22:44:13 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:13 > git rev-list --no-walk aac70bba8a8cbe0961ac72a11d2de48656e10374 # timeout=10 22:44:15 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:44:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:44:15 + true 22:44:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:44:18 provisioning config files... 22:44:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/40@tmp/config7498341210624529625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:19 ---> docker-login.sh 22:44:19 nexus3.edgexfoundry.org:10001 22:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:20 Configure a credential helper to remove this warning. See 22:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:20 22:44:20 Login Succeeded 22:44:20 nexus3.edgexfoundry.org:10002 22:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:20 Configure a credential helper to remove this warning. See 22:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:20 22:44:20 Login Succeeded 22:44:20 nexus3.edgexfoundry.org:10003 22:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:21 Configure a credential helper to remove this warning. See 22:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:21 22:44:21 Login Succeeded 22:44:21 nexus3.edgexfoundry.org:10004 22:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:21 Configure a credential helper to remove this warning. See 22:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:21 22:44:21 Login Succeeded 22:44:21 docker.io 22:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:22 Configure a credential helper to remove this warning. See 22:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:22 22:44:22 Login Succeeded 22:44:22 ---> docker-login.sh ends [Pipeline] } 22:44:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:22 ========================================================= 22:44:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:44:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:44:23 + 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 . 22:44:23 Sending build context to Docker daemon 2.472MB 22:44:23 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:44:23 Step 2/8 : FROM ${BASE} 22:44:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:44:23 5f621e34cdf4: Pulling fs layer 22:44:23 a4357932f1b6: Pulling fs layer 22:44:23 18c013af1878: Pulling fs layer 22:44:23 00ac8860ef70: Pulling fs layer 22:44:23 63d7cb157983: Pulling fs layer 22:44:23 b116817d02f9: Pulling fs layer 22:44:23 745a02a5169b: Pulling fs layer 22:44:23 00ac8860ef70: Waiting 22:44:23 63d7cb157983: Waiting 22:44:23 b116817d02f9: Waiting 22:44:23 745a02a5169b: Waiting 22:44:23 18c013af1878: Verifying Checksum 22:44:23 18c013af1878: Download complete 22:44:23 a4357932f1b6: Download complete 22:44:23 63d7cb157983: Verifying Checksum 22:44:23 63d7cb157983: Download complete 22:44:23 b116817d02f9: Verifying Checksum 22:44:23 b116817d02f9: Download complete 22:44:23 5f621e34cdf4: Verifying Checksum 22:44:23 5f621e34cdf4: Download complete 22:44:24 5f621e34cdf4: Pull complete 22:44:25 a4357932f1b6: Pull complete 22:44:25 18c013af1878: Pull complete 22:44:26 745a02a5169b: Verifying Checksum 22:44:26 745a02a5169b: Download complete 22:44:27 00ac8860ef70: Verifying Checksum 22:44:27 00ac8860ef70: Download complete 22:44:37 00ac8860ef70: Pull complete 22:44:38 63d7cb157983: Pull complete 22:44:38 b116817d02f9: Pull complete 22:44:42 745a02a5169b: Pull complete 22:44:42 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:44:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:44:42 ---> b7e6874047d6 22:44:42 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:44:45 ---> Running in c6d1115cb94b 22:44:45 Removing intermediate container c6d1115cb94b 22:44:45 ---> cb6352787d53 22:44:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:45 ---> Running in 8d95de3a3ffd 22:44:48 Removing intermediate container 8d95de3a3ffd 22:44:48 ---> 73116d1d53c4 22:44:48 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:44:48 ---> Running in 7c8f7e764d53 22:44:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:44:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:44:50 (1/6) Installing libc-dev (0.7.2-r3) 22:44:50 (2/6) Installing libsodium (1.0.18-r0) 22:44:50 (3/6) Installing pkgconf (1.7.2-r0) 22:44:51 (4/6) Installing libsodium-dev (1.0.18-r0) 22:44:51 (5/6) Installing libzmq (4.3.3-r0) 22:44:51 (6/6) Installing zeromq-dev (4.3.3-r0) 22:44:51 Executing busybox-1.31.1-r19.trigger 22:44:51 OK: 144 MiB in 45 packages 22:44:52 Removing intermediate container 7c8f7e764d53 22:44:52 ---> 7d104f2b942a 22:44:52 Step 6/8 : WORKDIR /device-sdk-go 22:44:52 ---> Running in 19790e409ec9 22:44:53 Removing intermediate container 19790e409ec9 22:44:53 ---> 9524947422af 22:44:53 Step 7/8 : COPY . . 22:44:54 ---> 16df9771e42b 22:44:54 Step 8/8 : RUN go mod download 22:44:54 ---> Running in e1701f96e550 22:44:55 Running on prd-centos7-docker-4c-2g-2100 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 22:44:55 Running in /w/workspace/device-sdk-go/40 [Pipeline] { [Pipeline] checkout 22:44:58 using credential edgex-jenkins-ssh 22:44:58 Cloning the remote Git repository 22:44:58 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:44:58 > git init /w/workspace/device-sdk-go/40 # timeout=10 22:44:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:58 > git --version # timeout=10 22:44:58 > git --version # 'git version 2.24.3' 22:44:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:00 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 22:44:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:59 > 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 22:45:00 > git config core.sparsecheckout # timeout=10 22:45:00 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 22:45:00 Merge succeeded, producing 3cf1a6ddaac2532d61c8d8448c94c278a89bf844 22:45:00 Checking out Revision 3cf1a6ddaac2532d61c8d8448c94c278a89bf844 (PR-725) 22:45:00 > git remote # timeout=10 22:45:00 > git config --get remote.origin.url # timeout=10 22:45:00 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:00 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 22:45:00 > git rev-parse HEAD^{commit} # timeout=10 22:45:00 > git config core.sparsecheckout # timeout=10 22:45:00 > git checkout -f 3cf1a6ddaac2532d61c8d8448c94c278a89bf844 # timeout=10 22:45:04 Commit message: "Merge commit '92affc97e25621ac5a3617c0e5e42feb55191c77' into HEAD" 22:45:04 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:05 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:45:04 > git rev-list --no-walk aac70bba8a8cbe0961ac72a11d2de48656e10374 # timeout=10 22:45:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:45:06 + sudo service docker restart 22:45:06 + true 22:45:06 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:45:07 provisioning config files... 22:45:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/40@tmp/config1340681953970239478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:07 ---> docker-login.sh 22:45:07 nexus3.edgexfoundry.org:10001 22:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:08 Configure a credential helper to remove this warning. See 22:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:08 22:45:08 Login Succeeded 22:45:08 nexus3.edgexfoundry.org:10002 22:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:08 Configure a credential helper to remove this warning. See 22:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:08 22:45:08 Login Succeeded 22:45:08 nexus3.edgexfoundry.org:10003 22:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:08 Configure a credential helper to remove this warning. See 22:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:08 22:45:08 Login Succeeded 22:45:08 nexus3.edgexfoundry.org:10004 22:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:08 Configure a credential helper to remove this warning. See 22:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:08 22:45:08 Login Succeeded 22:45:08 docker.io 22:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:09 Configure a credential helper to remove this warning. See 22:45:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:09 22:45:09 Login Succeeded 22:45:09 ---> docker-login.sh ends [Pipeline] } 22:45:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:09 ========================================================= 22:45:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:45:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:45:09 + 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 . 22:45:09 Sending build context to Docker daemon 2.47MB 22:45:09 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:45:09 Step 2/8 : FROM ${BASE} 22:45:09 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:45:09 188c0c94c7c5: Pulling fs layer 22:45:09 0ef7d3d256c8: Pulling fs layer 22:45:09 de9db76c5a1d: Pulling fs layer 22:45:09 bca2f99d35d6: Pulling fs layer 22:45:09 93359f2a8cfa: Pulling fs layer 22:45:09 7c6f9722023f: Pulling fs layer 22:45:09 a35cf1a2eb13: Pulling fs layer 22:45:09 93359f2a8cfa: Waiting 22:45:09 7c6f9722023f: Waiting 22:45:09 a35cf1a2eb13: Waiting 22:45:09 bca2f99d35d6: Waiting 22:45:09 de9db76c5a1d: Verifying Checksum 22:45:09 de9db76c5a1d: Download complete 22:45:09 0ef7d3d256c8: Download complete 22:45:09 93359f2a8cfa: Verifying Checksum 22:45:09 93359f2a8cfa: Download complete 22:45:09 7c6f9722023f: Verifying Checksum 22:45:09 7c6f9722023f: Download complete 22:45:09 188c0c94c7c5: Verifying Checksum 22:45:09 188c0c94c7c5: Download complete 22:45:10 188c0c94c7c5: Pull complete 22:45:10 0ef7d3d256c8: Pull complete 22:45:10 de9db76c5a1d: Pull complete 22:45:11 a35cf1a2eb13: Verifying Checksum 22:45:11 a35cf1a2eb13: Download complete 22:45:12 bca2f99d35d6: Verifying Checksum 22:45:12 bca2f99d35d6: Download complete 22:45:17 bca2f99d35d6: Pull complete 22:45:17 93359f2a8cfa: Pull complete 22:45:17 7c6f9722023f: Pull complete 22:45:21 Removing intermediate container e1701f96e550 22:45:21 ---> 8656e27a21d4 22:45:21 Successfully built 8656e27a21d4 22:45:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:45:22 + docker inspect -f . ci-base-image-arm64 22:45:22 . [Pipeline] withDockerContainer 22:45:22 prd-ubuntu18.04-docker-arm64-4c-16g-2099 does not seem to be running inside a container 22:45:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@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 22:45:23 $ docker top eab71230d7c3a5194c8fdf8ca6f5c1757e8edaf6eac2d7eb5f35ac0a3b21e848 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:24 + go version 22:45:24 go version go1.15.5 linux/arm64 [Pipeline] } 22:45:24 $ docker stop --time=1 eab71230d7c3a5194c8fdf8ca6f5c1757e8edaf6eac2d7eb5f35ac0a3b21e848 22:45:26 $ docker rm -f eab71230d7c3a5194c8fdf8ca6f5c1757e8edaf6eac2d7eb5f35ac0a3b21e848 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:45:27 + docker inspect -f . ci-base-image-arm64 22:45:27 . [Pipeline] withDockerContainer 22:45:27 a35cf1a2eb13: Pull complete 22:45:27 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:45:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:45:27 ---> a62c8e92a672 22:45:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:45:27 ---> Running in edd0aa72b460 22:45:27 Removing intermediate container edd0aa72b460 22:45:27 ---> eaca8fb2f5f5 22:45:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:27 ---> Running in 798a97033140 22:45:27 prd-ubuntu18.04-docker-arm64-4c-16g-2099 does not seem to be running inside a container 22:45:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@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 22:45:28 Removing intermediate container 798a97033140 22:45:28 ---> cc78d642008d 22:45:28 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:45:28 ---> Running in c691991c400c 22:45:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:45:29 $ docker top a95f317487d1e8a10c98d7ca1dc63126e38b07c6de81937a516cce3f8b86a78b -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:45:30 + make test 22:45:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:45:30 (1/6) Installing libc-dev (0.7.2-r3) 22:45:30 (2/6) Installing libsodium (1.0.18-r0) 22:45:30 (3/6) Installing pkgconf (1.7.2-r0) 22:45:30 (4/6) Installing libsodium-dev (1.0.18-r0) 22:45:30 (5/6) Installing libzmq (4.3.3-r0) 22:45:30 (6/6) Installing zeromq-dev (4.3.3-r0) 22:45:31 Executing busybox-1.31.1-r19.trigger 22:45:31 OK: 167 MiB in 45 packages 22:45:31 Removing intermediate container c691991c400c 22:45:31 ---> 9b2cb5e6186e 22:45:31 Step 6/8 : WORKDIR /device-sdk-go 22:45:31 ---> Running in ecbd00ba7c32 22:45:31 Removing intermediate container ecbd00ba7c32 22:45:31 ---> 66028b8bf14f 22:45:31 Step 7/8 : COPY . . 22:45:33 ---> e80f7a584b7e 22:45:33 Step 8/8 : RUN go mod download 22:45:33 ---> Running in bf2fa84b3a52 22:45:52 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:45:55 Removing intermediate container bf2fa84b3a52 22:45:55 ---> ae29f49eecea 22:45:55 Successfully built ae29f49eecea 22:45:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:45:55 + docker inspect -f . ci-base-image-x86_64 22:45:55 . [Pipeline] withDockerContainer 22:45:55 prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container 22:45:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@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 22:45:56 $ docker top 98a6758f91a64e51ee4826a91aec8849f939761c85352620c1f9fdcd501ff751 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:57 + go version 22:45:57 go version go1.15.5 linux/amd64 [Pipeline] } 22:45:57 $ docker stop --time=1 98a6758f91a64e51ee4826a91aec8849f939761c85352620c1f9fdcd501ff751 22:45:58 $ docker rm -f 98a6758f91a64e51ee4826a91aec8849f939761c85352620c1f9fdcd501ff751 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:45:59 + docker inspect -f . ci-base-image-x86_64 22:45:59 . [Pipeline] withDockerContainer 22:45:59 prd-centos7-docker-4c-2g-2100 does not seem to be running inside a container 22:45:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@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 22:46:00 $ docker top 8e91d4fdc11500813a4ed2a3985e18ee205e9795b1c8986960e791f5e5090ac2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:00 + make test 22:46:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:46:08 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:46:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:46:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:46:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:46:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:46:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:46:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.097s coverage: 28.1% of statements 22:46:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.092s coverage: 78.9% of statements 22:46:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.071s coverage: 7.8% of statements 22:46:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:46:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:46:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:46:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.095s coverage: 30.2% of statements 22:46:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:46:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:46:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:46:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.159s coverage: 57.2% of statements 22:46:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.347s coverage: 6.6% of statements 22:46:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 22:46:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:46:35 GO111MODULE=on go vet ./... 22:46:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:46:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:46:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:46:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:46:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:46:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.155s coverage: 28.1% of statements 22:46:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.222s coverage: 78.9% of statements 22:46:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.165s coverage: 7.8% of statements 22:46:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:46:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:46:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:46:54 gofmt -l . 22:46:54 [ "`gofmt -l .`" = "" ] 22:46:54 ./bin/test-attribution-txt.sh 22:46:54 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:46:54 $ docker stop --time=1 8e91d4fdc11500813a4ed2a3985e18ee205e9795b1c8986960e791f5e5090ac2 22:46:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.289s coverage: 30.2% of statements 22:46:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:46:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:46:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:46:56 $ docker rm -f 8e91d4fdc11500813a4ed2a3985e18ee205e9795b1c8986960e791f5e5090ac2 [Pipeline] // withDockerContainer [Pipeline] sh 22:46:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:46:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 22:46:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.320s coverage: 57.2% of statements 22:46:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.049s coverage: 6.6% of statements [Pipeline] sh 22:46:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.0% of statements 22:46:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:46:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:46:59 + ls -al . 22:46:59 total 188 22:46:59 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 27 22:46 . 22:46:59 drwxrwxr-x. 4 jenkins jenkins 30 Apr 27 22:44 .. 22:46:59 drwxrwxr-x. 2 jenkins jenkins 64 Apr 27 22:45 bin 22:46:59 -rw-r--r--. 1 jenkins jenkins 100320 Apr 27 22:46 coverage.out 22:46:59 -rw-rw-r--. 1 jenkins jenkins 987 Apr 27 22:45 Dockerfile.build 22:46:59 -rw-rw-r--. 1 jenkins jenkins 140 Apr 27 22:45 .dockerignore 22:46:59 drwxrwxr-x. 5 jenkins jenkins 62 Apr 27 22:45 example 22:46:59 drwxrwxr-x. 8 jenkins jenkins 179 Apr 27 22:45 .git 22:46:59 drwxrwxr-x. 2 jenkins jenkins 103 Apr 27 22:45 .github 22:46:59 -rw-rw-r--. 1 jenkins jenkins 138 Apr 27 22:45 .gitignore 22:46:59 -rw-r--r--. 1 jenkins jenkins 575 Apr 27 22:46 go.mod 22:46:59 -rw-r--r--. 1 jenkins jenkins 20957 Apr 27 22:46 go.sum 22:46:59 drwxrwxr-x. 14 jenkins jenkins 207 Apr 27 22:45 internal 22:46:59 -rw-rw-r--. 1 jenkins jenkins 894 Apr 27 22:45 Jenkinsfile 22:46:59 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 27 22:45 LICENSE 22:46:59 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 27 22:45 Makefile 22:46:59 drwxrwxr-x. 4 jenkins jenkins 26 Apr 27 22:45 openapi 22:46:59 drwxrwxr-x. 5 jenkins jenkins 50 Apr 27 22:45 pkg 22:46:59 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 27 22:45 README.md 22:46:59 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 27 22:45 RELEASE-NOTES.txt 22:46:59 drwxrwxr-x. 4 jenkins jenkins 54 Apr 27 22:45 snap 22:46:59 -rw-rw-r--. 1 jenkins jenkins 5 Apr 27 22:41 VERSION 22:46:59 -rw-rw-r--. 1 jenkins jenkins 222 Apr 27 22:45 version.go [Pipeline] isUnix [Pipeline] sh 22:46:59 GO111MODULE=on go vet ./... 22:47:00 + 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=2c4eb43e9d1b624285ed560293ea7378e1c86003 --label arch=amd64 --label version=0.0.0 . 22:47:00 Sending build context to Docker daemon 2.571MB 22:47:00 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:47:00 Step 2/23 : FROM ${BASE} AS builder 22:47:00 ---> ae29f49eecea 22:47:00 Step 3/23 : WORKDIR /device-sdk-go 22:47:00 ---> Running in c4c9e5d9039c 22:47:01 Removing intermediate container c4c9e5d9039c 22:47:01 ---> a71745671f83 22:47:01 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:01 ---> Running in 0bb60c2734f1 22:47:01 Removing intermediate container 0bb60c2734f1 22:47:01 ---> 24e6220ffe24 22:47:01 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:01 ---> Running in 62ea92877e6a 22:47:02 Removing intermediate container 62ea92877e6a 22:47:02 ---> 840199f6b9e5 22:47:02 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:47:02 ---> Running in 79abfb5ee80f 22:47:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:47:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:47:04 OK: 167 MiB in 45 packages 22:47:04 Removing intermediate container 79abfb5ee80f 22:47:04 ---> b3d8302e5456 22:47:04 Step 7/23 : COPY . . 22:47:05 ---> 4bf14a52c718 22:47:05 Step 8/23 : RUN go mod download 22:47:05 ---> Running in a3b3508acfd2 22:47:07 Removing intermediate container a3b3508acfd2 22:47:07 ---> efc387915574 22:47:07 Step 9/23 : RUN make build 22:47:07 ---> Running in e3191fc5d579 22:47:07 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 22:47:19 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:47:20 Removing intermediate container e3191fc5d579 22:47:20 ---> 8300183adbb9 22:47:20 Step 10/23 : FROM alpine:3.12 22:47:21 3.12: Pulling from library/alpine 22:47:21 339de151aab4: Pulling fs layer 22:47:21 339de151aab4: Verifying Checksum 22:47:21 339de151aab4: Download complete 22:47:21 339de151aab4: Pull complete 22:47:21 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:47:21 Status: Downloaded newer image for alpine:3.12 22:47:21 ---> 13621d1b12d4 22:47:21 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:22 ---> Running in 930fe1404bac 22:47:23 Removing intermediate container 930fe1404bac 22:47:23 ---> ba3b2e2f5590 22:47:23 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:23 ---> Running in e6c826bcba8f 22:47:24 Removing intermediate container e6c826bcba8f 22:47:24 ---> 88f117034e52 22:47:24 Step 13/23 : RUN apk add --update --no-cache zeromq 22:47:24 ---> Running in b6af8d468d88 22:47:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:47:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:47:25 (1/5) Installing libgcc (9.3.0-r2) 22:47:25 (2/5) Installing libsodium (1.0.18-r0) 22:47:25 (3/5) Installing libstdc++ (9.3.0-r2) 22:47:27 (4/5) Installing libzmq (4.3.3-r0) 22:47:27 (5/5) Installing zeromq (4.3.3-r0) 22:47:27 Executing busybox-1.31.1-r20.trigger 22:47:27 OK: 8 MiB in 19 packages 22:47:27 Removing intermediate container b6af8d468d88 22:47:27 ---> 9615ea0d10fa 22:47:27 Step 14/23 : WORKDIR / 22:47:27 ---> Running in c80ab005403f 22:47:28 Removing intermediate container c80ab005403f 22:47:28 ---> 860a74fc9756 22:47:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:47:28 ---> 5406fea5fda4 22:47:28 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:47:28 ---> d8c8187e02c6 22:47:28 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:47:28 ---> 32594e62b338 22:47:28 Step 18/23 : EXPOSE 49990 22:47:28 ---> Running in 335af1007a49 22:47:29 Removing intermediate container 335af1007a49 22:47:29 ---> 3953308bf0be 22:47:29 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:47:29 ---> Running in 736b703ba2ce 22:47:29 Removing intermediate container 736b703ba2ce 22:47:29 ---> 26e4a321dc19 22:47:29 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:47:29 ---> Running in a444e0457ffd 22:47:29 Removing intermediate container a444e0457ffd 22:47:29 ---> f1d8af4ba030 22:47:29 Step 21/23 : LABEL arch=amd64 22:47:29 ---> Running in c67a06194262 22:47:30 Removing intermediate container c67a06194262 22:47:30 ---> 09c58ce24419 22:47:30 Step 22/23 : LABEL git_sha=2c4eb43e9d1b624285ed560293ea7378e1c86003 22:47:30 ---> Running in be724b0a45db 22:47:30 Removing intermediate container be724b0a45db 22:47:30 ---> 8d8b39fb859c 22:47:30 Step 23/23 : LABEL version=0.0.0 22:47:30 ---> Running in 3835248afef4 22:47:30 Removing intermediate container 3835248afef4 22:47:30 ---> 40953b997a99 22:47:30 [Warning] One or more build-args [ARCH MAKE] were not consumed 22:47:30 Successfully built 40953b997a99 22:47:30 Successfully tagged 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 22:47:31 ---> job-cost.sh 22:47:31 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mwYy 22:47:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:47:46 gofmt -l . 22:47:46 [ "`gofmt -l .`" = "" ] 22:47:46 ./bin/test-attribution-txt.sh 22:47:46 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:47:46 $ docker stop --time=1 a95f317487d1e8a10c98d7ca1dc63126e38b07c6de81937a516cce3f8b86a78b 22:47:49 $ docker rm -f a95f317487d1e8a10c98d7ca1dc63126e38b07c6de81937a516cce3f8b86a78b [Pipeline] // withDockerContainer [Pipeline] sh 22:47:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:47:50 Warning: overwriting stash ‘coverage-report’ 22:47:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:47:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:47:52 + ls -al . 22:47:52 total 224 22:47:52 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 22:47 . 22:47:52 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 22:44 .. 22:47:52 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 22:44 .dockerignore 22:47:52 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 22:44 .git 22:47:52 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 22:44 .github 22:47:52 -rw-rw-r-- 1 jenkins jenkins 138 Apr 27 22:44 .gitignore 22:47:52 -rw-rw-r-- 1 jenkins jenkins 987 Apr 27 22:44 Dockerfile.build 22:47:52 -rw-rw-r-- 1 jenkins jenkins 894 Apr 27 22:44 Jenkinsfile 22:47:52 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 22:44 LICENSE 22:47:52 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 27 22:44 Makefile 22:47:52 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 27 22:44 README.md 22:47:52 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 27 22:44 RELEASE-NOTES.txt 22:47:52 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 22:41 VERSION 22:47:52 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 22:44 bin 22:47:52 -rw-r--r-- 1 jenkins jenkins 100320 Apr 27 22:46 coverage.out 22:47:52 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 22:44 example 22:47:52 -rw-r--r-- 1 jenkins jenkins 575 Apr 27 22:47 go.mod 22:47:52 -rw-r--r-- 1 jenkins jenkins 20957 Apr 27 22:47 go.sum 22:47:52 drwxrwxr-x 14 jenkins jenkins 4096 Apr 27 22:44 internal 22:47:52 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 22:44 openapi 22:47:52 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 22:44 pkg 22:47:52 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 22:44 snap 22:47:52 -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 22:44 version.go [Pipeline] isUnix [Pipeline] sh 22:47:52 + 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=2c4eb43e9d1b624285ed560293ea7378e1c86003 --label arch=arm64 --label version=0.0.0 . 22:47:53 Sending build context to Docker daemon 2.573MB 22:47:53 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:47:53 Step 2/23 : FROM ${BASE} AS builder 22:47:53 ---> 8656e27a21d4 22:47:53 Step 3/23 : WORKDIR /device-sdk-go 22:47:53 ---> Running in 172d9a438f6e 22:47:54 Removing intermediate container 172d9a438f6e 22:47:54 ---> 57872fcf34c9 22:47:54 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:54 ---> Running in 7cd2b54aa9a1 22:47:54 Removing intermediate container 7cd2b54aa9a1 22:47:54 ---> 1ec336951ca8 22:47:54 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:55 ---> Running in 507368a2fdfd 22:47:57 Removing intermediate container 507368a2fdfd 22:47:57 ---> b0d6fdd48639 22:47:57 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:47:57 ---> Running in 65fd7cb64871 22:47:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:47:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:47:59 OK: 144 MiB in 45 packages 22:48:00 Removing intermediate container 65fd7cb64871 22:48:00 ---> b277ebfba401 22:48:00 Step 7/23 : COPY . . 22:48:02 ---> 460b7c6c675e 22:48:02 Step 8/23 : RUN go mod download 22:48:02 ---> Running in 1de02d6ce67c 22:48:04 Removing intermediate container 1de02d6ce67c 22:48:04 ---> 5ddcb9cb59cb 22:48:04 Step 9/23 : RUN make build 22:48:04 ---> Running in 328f095a8094 22:48:05 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 22:48:18 lf-activate-venv(): INFO: Adding /tmp/venv-mwYy/bin to PATH 22:48:18 INFO: No Stack... 22:48:18 INFO: Retrieving Pricing Info for: v1-standard-2 22:48:18 INFO: Archiving Costs [Pipeline] sh 22:48:18 + cat /w/workspace/device-sdk-go/40/archives/cost.csv 22:48:18 + cut -d, -f6 [Pipeline] lock 22:48:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-40-stack-cost] 22:48:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-40-stack-cost] did not exist. Created. 22:48:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:48:19 + echo total: 0.029999999329447746 [Pipeline] stash 22:48:19 Stashed 1 file(s) [Pipeline] } 22:48:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-40-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:48:38 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:48:41 Removing intermediate container 328f095a8094 22:48:41 ---> 6983e3b9c0b7 22:48:41 Step 10/23 : FROM alpine:3.12 22:48:41 3.12: Pulling from library/alpine 22:48:41 d2f70382dc9a: Pulling fs layer 22:48:42 d2f70382dc9a: Verifying Checksum 22:48:42 d2f70382dc9a: Download complete 22:48:42 d2f70382dc9a: Pull complete 22:48:42 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:48:42 Status: Downloaded newer image for alpine:3.12 22:48:42 ---> 9852663dfa18 22:48:42 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:48:43 ---> Running in 82a1646b46f5 22:48:43 Removing intermediate container 82a1646b46f5 22:48:43 ---> 12bef7872ebb 22:48:43 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:48:43 ---> Running in 8ca4fa9372d9 22:48:45 Removing intermediate container 8ca4fa9372d9 22:48:45 ---> 5bbaa03f3e2a 22:48:45 Step 13/23 : RUN apk add --update --no-cache zeromq 22:48:45 ---> Running in e1fe1640058f 22:48:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:48:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:48:48 (1/5) Installing libgcc (9.3.0-r2) 22:48:48 (2/5) Installing libsodium (1.0.18-r0) 22:48:48 (3/5) Installing libstdc++ (9.3.0-r2) 22:48:48 (4/5) Installing libzmq (4.3.3-r0) 22:48:48 (5/5) Installing zeromq (4.3.3-r0) 22:48:48 Executing busybox-1.31.1-r20.trigger 22:48:48 OK: 8 MiB in 19 packages 22:48:49 Removing intermediate container e1fe1640058f 22:48:49 ---> 3fc59d210ca0 22:48:49 Step 14/23 : WORKDIR / 22:48:49 ---> Running in f35cc7d6abae 22:48:50 Removing intermediate container f35cc7d6abae 22:48:50 ---> 296472cfae17 22:48:50 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:48:50 ---> 33fb58ca4bdd 22:48:50 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:48:52 ---> c9b72ead22a3 22:48:52 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:48:52 ---> 65ea55954773 22:48:52 Step 18/23 : EXPOSE 49990 22:48:52 ---> Running in 3edb8c3a04b9 22:48:53 Removing intermediate container 3edb8c3a04b9 22:48:53 ---> 636ff2f83a8f 22:48:53 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:48:53 ---> Running in 9c6b1667a060 22:48:53 Removing intermediate container 9c6b1667a060 22:48:53 ---> 26dddf48c51e 22:48:53 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:48:53 ---> Running in 696a44f7b5e1 22:48:54 Removing intermediate container 696a44f7b5e1 22:48:54 ---> cefdaf5300b7 22:48:54 Step 21/23 : LABEL arch=arm64 22:48:54 ---> Running in 97db615b0adc 22:48:55 Removing intermediate container 97db615b0adc 22:48:55 ---> 3c1445f838c0 22:48:55 Step 22/23 : LABEL git_sha=2c4eb43e9d1b624285ed560293ea7378e1c86003 22:48:55 ---> Running in b75f30e7922a 22:48:55 Removing intermediate container b75f30e7922a 22:48:55 ---> 45565af5124f 22:48:55 Step 23/23 : LABEL version=0.0.0 22:48:55 ---> Running in 29402c4bedc4 22:48:56 Removing intermediate container 29402c4bedc4 22:48:56 ---> 97401a3f5948 22:48:56 [Warning] One or more build-args [ARCH MAKE] were not consumed 22:48:56 Successfully built 97401a3f5948 22:48:56 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 22:48:56 ---> job-cost.sh 22:48:56 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-t9xK 22:49:35 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:50:57 lf-activate-venv(): INFO: Adding /tmp/venv-t9xK/bin to PATH 22:50:57 INFO: No Stack... 22:50:57 INFO: Retrieving Pricing Info for: lf-standard-4 22:50:58 INFO: Archiving Costs [Pipeline] sh 22:50:58 + + cat /w/workspace/device-sdk-go/40/archives/cost.csvcut 22:50:58 -d, -f6 [Pipeline] lock 22:50:58 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-40-stack-cost] 22:50:58 Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-40-stack-cost] did not exist. Created. 22:50:58 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:50:59 /w/workspace/device-sdk-go/40@tmp/durable-c491ba06/script.sh: 1: /w/workspace/device-sdk-go/40@tmp/durable-c491ba06/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:50:59 + echo total: 0.20999999344348907 [Pipeline] stash 22:50:59 Warning: overwriting stash ‘stack-cost’ 22:50:59 Stashed 1 file(s) [Pipeline] } 22:50:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-40-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 22:51:00 provisioning config files... 22:51:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4605467218832973081tmp [Pipeline] { [Pipeline] sh 22:51:00 + set +x 22:51:00 + curl -s https://codecov.io/bash 22:51:00 + bash -s -- 22:51:01 22:51:01 _____ _ 22:51:01 / ____| | | 22:51:01 | | ___ __| | ___ ___ _____ __ 22:51:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:51:01 | |___| (_) | (_| | __/ (_| (_) \ V / 22:51:01 \_____\___/ \__,_|\___|\___\___/ \_/ 22:51:01 Bash-1.0.2 22:51:01 22:51:01 22:51:01 ==> git version 2.24.3 found 22:51:01 ==> 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 22:51:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:51:01 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:51:01 ==> Jenkins CI detected. 22:51:01 project root: . 22:51:01 --> token set from env 22:51:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:51:01 ==> Running gcov in . (disable via -X gcov) 22:51:01 ==> Python coveragepy not found 22:51:01 ==> Searching for coverage reports in: 22:51:01 + . 22:51:01 -> Found 1 reports 22:51:01 ==> Detecting git/mercurial file structure 22:51:01 ==> Reading reports 22:51:01 + ./coverage.out bytes=100320 22:51:01 ==> Appending adjustments 22:51:01 https://docs.codecov.io/docs/fixing-reports 22:51:01 + Found adjustments 22:51:01 ==> Gzipping contents 22:51:01 16K /tmp/codecov.n1Q298.gz 22:51:01 ==> Uploading reports 22:51:01 url: https://codecov.io 22:51:01 query: branch=PR-725&commit=2c4eb43e9d1b624285ed560293ea7378e1c86003&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 22:51:01 -> Pinging Codecov 22:51:01 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-725&commit=2c4eb43e9d1b624285ed560293ea7378e1c86003&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 22:51:02 -> Uploading to 22:51:02 https://storage.googleapis.com/codecov/v4/raw/2021-04-27/7E55EF52A471D76F132DFD9A03CDDE97/2c4eb43e9d1b624285ed560293ea7378e1c86003/0940065c-36de-4982-814f-c12035a0a3e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210427T225102Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=38b24be9ade1b63aa4aa533bf204ca45ba13f95ba93b9e79c0ac271d0a4e4d86 22:51:02 % Total % Received % Xferd Average Speed Time Time Time Current 22:51:02 Dload Upload Total Spent Left Speed 22:51:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13539 0 0 100 13539 0 32651 --:--:-- --:--:-- --:--:-- 32702 22:51:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2c4eb43e9d1b624285ed560293ea7378e1c86003 [Pipeline] } 22:51:02 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 22:51:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:51:04 ---> package-listing.sh 22:51:04 ++ facter osfamily 22:51:04 ++ tr '[:upper:]' '[:lower:]' 22:51:04 + OS_FAMILY=redhat 22:51:04 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 22:51:04 + START_PACKAGES=/tmp/packages_start.txt 22:51:04 + END_PACKAGES=/tmp/packages_end.txt 22:51:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:51:04 + PACKAGES=/tmp/packages_start.txt 22:51:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 22:51:04 + PACKAGES=/tmp/packages_end.txt 22:51:04 + case "${OS_FAMILY}" in 22:51:04 + rpm -qa 22:51:04 + sort 22:51:09 + '[' -f /tmp/packages_start.txt ']' 22:51:09 + '[' -f /tmp/packages_end.txt ']' 22:51:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:51:09 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 22:51:09 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 22:51:09 + 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 22:51:09 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 22:51:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:51:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:51:10 22:51:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:51:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:51:10 alpine: Pulling from edgex-lftools-log-publisher 22:51:10 df20fa9351a1: Pulling fs layer 22:51:10 36b3adc4ff6f: Pulling fs layer 22:51:10 8ad3a11d3b57: Pulling fs layer 22:51:10 46f8f816bc3b: Pulling fs layer 22:51:10 93b61091891f: Pulling fs layer 22:51:10 93b9cdb0e59b: Pulling fs layer 22:51:10 5e14af77c1be: Pulling fs layer 22:51:10 01666e4c0597: Pulling fs layer 22:51:10 aa168da1d23b: Pulling fs layer 22:51:10 46f8f816bc3b: Waiting 22:51:10 93b61091891f: Waiting 22:51:10 93b9cdb0e59b: Waiting 22:51:10 01666e4c0597: Waiting 22:51:10 aa168da1d23b: Waiting 22:51:10 5e14af77c1be: Waiting 22:51:10 36b3adc4ff6f: Verifying Checksum 22:51:10 36b3adc4ff6f: Download complete 22:51:10 46f8f816bc3b: Verifying Checksum 22:51:10 46f8f816bc3b: Download complete 22:51:10 df20fa9351a1: Verifying Checksum 22:51:10 93b9cdb0e59b: Verifying Checksum 22:51:11 93b61091891f: Verifying Checksum 22:51:11 93b61091891f: Download complete 22:51:11 5e14af77c1be: Verifying Checksum 22:51:11 5e14af77c1be: Download complete 22:51:11 01666e4c0597: Verifying Checksum 22:51:11 01666e4c0597: Download complete 22:51:11 df20fa9351a1: Pull complete 22:51:11 36b3adc4ff6f: Pull complete 22:51:11 8ad3a11d3b57: Verifying Checksum 22:51:11 8ad3a11d3b57: Download complete 22:51:12 8ad3a11d3b57: Pull complete 22:51:12 46f8f816bc3b: Pull complete 22:51:13 aa168da1d23b: Verifying Checksum 22:51:13 aa168da1d23b: Download complete 22:51:13 93b61091891f: Pull complete 22:51:14 93b9cdb0e59b: Pull complete 22:51:14 5e14af77c1be: Pull complete 22:51:14 01666e4c0597: Pull complete 22:51:22 aa168da1d23b: Pull complete 22:51:22 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:51:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:51:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:51:22 prd-centos7-docker-4c-2g-2098 does not seem to be running inside a container 22:51:22 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:51:27 $ docker top c0a5ab30e3a85ed6ac0a9603dc94e17150c79e1fd683c30f368dc7ee802f24a8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:51:27 + touch /tmp/pre-build-complete [Pipeline] sh 22:51:27 + mkdir -p /var/log/sa [Pipeline] sh 22:51:28 + ls /var/log/sa-host 22:51:28 + sadf -c /var/log/sa-host/sa23 22:51:28 file_magic: OK 22:51:28 HZ: Using current value: 100 22:51:28 file_header: OK 22:51:28 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 22:51:28 Statistics: 22:51:28 Hnuu...uuuununununu... 22:51:28 File successfully converted to sysstat format version 12.2.1 22:51:28 + sadf -c /var/log/sa-host/sa27 22:51:28 file_magic: OK 22:51:28 HZ: Using current value: 100 22:51:28 file_header: OK 22:51:28 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 22:51:28 Statistics: 22:51:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:51:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:51:28 provisioning config files... 22:51:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config3046641522261355610tmp [Pipeline] { [Pipeline] echo 22:51:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:51:28 ---> create-netrc.sh [Pipeline] } 22:51:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:51:29 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:51:29 ---> python-tools-install.sh [Pipeline] echo 22:51:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:51:29 ---> sudo-logs.sh 22:51:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:51:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:51:29 ---> job-cost.sh 22:51:29 lf-activate-venv: SKIPPING 22:51:29 DEBUG: total: 0.20999999344348907 22:51:29 INFO: Retrieving Stack Cost... 22:51:30 INFO: Retrieving Pricing Info for: v1-standard-2 22:51:31 INFO: Archiving Costs [Pipeline] echo 22:51:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:51:31 ---> logs-deploy.sh 22:51:31 lf-activate-venv: SKIPPING 22:51:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/40 22:51:31 INFO: archiving workspace using pattern(s): 22:51:33 Archives upload complete. 22:51:33 INFO: archiving logs to Nexus