Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f1f8d07c7547b0631bee6ef379e1f335d995aecd+4d2675d668c2f9064e370a810b18e5856622130c (9a0d4a252438aa367895f136f6e3ee7a05b0b15e) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1017 in /w/workspace/dgexfoundry_device-sdk-go_PR-881 [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-881 # 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 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit f1f8d07c7547b0631bee6ef379e1f335d995aecd Merge succeeded, producing 067737c8c3e95bfa56f39aca1e9e747a53cf6a74 Checking out Revision 067737c8c3e95bfa56f39aca1e9e747a53cf6a74 (PR-881) > 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/881/head:refs/remotes/origin/PR-881 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # 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 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 067737c8c3e95bfa56f39aca1e9e747a53cf6a74 # timeout=10 Commit message: "Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk d0a83b780265e8f475c3514d228360d0b089da8f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:42:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:42:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:42:36 ========================================================= 22:42:36 EdgeX Global Pipelines Version Info 22:42:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:42:38 ------------------- 22:42:38 stable info: 22:42:38 ------------------- 22:42:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:42:38 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 22:42:38 Message: update stable to v1.0.186 22:42:39 ------------------- 22:42:39 experimental info: 22:42:39 ------------------- 22:42:39 Commited By: **** collab-it+edgex@linuxfoundation.org 22:42:39 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 22:42:39 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-881 [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-881 [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-881 [Pipeline] echo 22:42:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 067737c8c3e95bfa56f39aca1e9e747a53cf6a74 [Pipeline] echo 22:42:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 067737c [Pipeline] echo 22:42:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:42:40 provisioning config files... 22:42:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/config2075024259130624489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:40 ---> docker-login.sh 22:42:40 nexus3.edgexfoundry.org:10001 22:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:40 Configure a credential helper to remove this warning. See 22:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:40 22:42:40 Login Succeeded 22:42:40 nexus3.edgexfoundry.org:10002 22:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:40 Configure a credential helper to remove this warning. See 22:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:40 22:42:40 Login Succeeded 22:42:40 nexus3.edgexfoundry.org:10003 22:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:41 Configure a credential helper to remove this warning. See 22:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:41 22:42:41 Login Succeeded 22:42:41 nexus3.edgexfoundry.org:10004 22:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:41 Configure a credential helper to remove this warning. See 22:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:41 22:42:41 Login Succeeded 22:42:41 docker.io 22:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:41 Configure a credential helper to remove this warning. See 22:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:41 22:42:41 Login Succeeded 22:42:41 ---> docker-login.sh ends [Pipeline] } 22:42:41 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:42:42 + git log --format=format:%s -1 067737c8c3e95bfa56f39aca1e9e747a53cf6a74 [Pipeline] echo 22:42:42 GIT_COMMIT: 067737c8c3e95bfa56f39aca1e9e747a53cf6a74, Commit Message: Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD [Pipeline] echo 22:42:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:42:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:42 22:42:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:42:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:43 latest: Pulling from edgex-devops/git-semver 22:42:43 31603596830f: Pulling fs layer 22:42:43 2a8b12db71e7: Pulling fs layer 22:42:43 6ca5941a6612: Pulling fs layer 22:42:43 ecc8261a40a4: Pulling fs layer 22:42:43 ecc8261a40a4: Waiting 22:42:43 2a8b12db71e7: Download complete 22:42:43 31603596830f: Verifying Checksum 22:42:43 31603596830f: Download complete 22:42:43 ecc8261a40a4: Verifying Checksum 22:42:43 ecc8261a40a4: Download complete 22:42:43 6ca5941a6612: Verifying Checksum 22:42:43 6ca5941a6612: Download complete 22:42:43 31603596830f: Pull complete 22:42:43 2a8b12db71e7: Pull complete 22:42:44 6ca5941a6612: Pull complete 22:42:45 ecc8261a40a4: Pull complete 22:42:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:42:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:42:45 prd-centos7-docker-4c-2g-1017 does not seem to be running inside a container 22:42:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-881 -v /w/workspace/dgexfoundry_device-sdk-go_PR-881:/w/workspace/dgexfoundry_device-sdk-go_PR-881:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-881@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:42:46 $ docker top 3da2e5a6aa7bc2d792a777559f80886b75cca93b73abcc9ece0c93d13d9caf12 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:42:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:47 [ssh-agent] Looking for ssh-agent implementation... 22:42:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:47 $ docker exec 3da2e5a6aa7bc2d792a777559f80886b75cca93b73abcc9ece0c93d13d9caf12 ssh-agent 22:42:47 SSH_AUTH_SOCK=/tmp/ssh-efEPsf0sMjr8/agent.12 22:42:47 SSH_AGENT_PID=17 22:42:47 Running ssh-add (command line suppressed) 22:42:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_203085144869808063.key (/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_203085144869808063.key) 22:42:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:48 + git tag --points-at HEAD [Pipeline] } 22:42:48 $ docker exec --env ******** --env ******** 3da2e5a6aa7bc2d792a777559f80886b75cca93b73abcc9ece0c93d13d9caf12 ssh-agent -k 22:42:48 unset SSH_AUTH_SOCK; 22:42:48 unset SSH_AGENT_PID; 22:42:48 echo Agent pid 17 killed; 22:42:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:42:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:48 [ssh-agent] Looking for ssh-agent implementation... 22:42:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:48 $ docker exec 3da2e5a6aa7bc2d792a777559f80886b75cca93b73abcc9ece0c93d13d9caf12 ssh-agent 22:42:48 SSH_AUTH_SOCK=/tmp/ssh-W6rPrxQrCK2O/agent.47 22:42:48 SSH_AGENT_PID=53 22:42:48 Running ssh-add (command line suppressed) 22:42:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_1875863689957142659.key (/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_1875863689957142659.key) 22:42:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:49 + git semver init 22:42:49 # -> Open(): unable to determine branch for HEAD 22:42:49 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-881/.git 22:42:49 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-881 22:42:49 # $SEMVER_REMOTE_NAME = origin 22:42:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:42:49 # $SEMVER_USER_NAME = edgex-jenkins 22:42:49 # $SEMVER_BRANCH = PR-881 22:42:49 # $SEMVER_TEMP = /tmp/semver-798916983 22:42:49 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:42:50 # '/tmp/semver-798916983' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-881/.semver' 22:42:50 # -> Force: false 22:42:50 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-881/.semver [Pipeline] } 22:42:50 $ docker exec --env ******** --env ******** 3da2e5a6aa7bc2d792a777559f80886b75cca93b73abcc9ece0c93d13d9caf12 ssh-agent -k 22:42:50 unset SSH_AUTH_SOCK; 22:42:50 unset SSH_AGENT_PID; 22:42:50 echo Agent pid 53 killed; 22:42:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:42:50 + git semver [Pipeline] } 22:42:50 $ docker stop --time=1 3da2e5a6aa7bc2d792a777559f80886b75cca93b73abcc9ece0c93d13d9caf12 22:42:52 $ docker rm -f 3da2e5a6aa7bc2d792a777559f80886b75cca93b73abcc9ece0c93d13d9caf12 [Pipeline] // withDockerContainer [Pipeline] sh 22:42:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:42:53 Stashed 1 file(s) [Pipeline] echo 22:42:53 [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:43:08 Still waiting to schedule task 22:43:08 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:43:08 Still waiting to schedule task 22:43:08 ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-builder-2c-1g-958’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-1008’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-949’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1015’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1018’ is offline 22:45:19 Running on prd-centos7-docker-4c-2g-1024 in /w/workspace/dgexfoundry_device-sdk-go_PR-881 [Pipeline] { [Pipeline] ws 22:45:19 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 22:45:22 using credential edgex-jenkins-ssh 22:45:22 Cloning the remote Git repository 22:45:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:45:22 > git init /w/workspace/device-sdk-go/3 # timeout=10 22:45:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:22 > git --version # timeout=10 22:45:22 > git --version # 'git version 2.24.3' 22:45:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:24 Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit f1f8d07c7547b0631bee6ef379e1f335d995aecd 22:45:24 Merge succeeded, producing b63a0775669a0d8f920084e454cc928d32619faf 22:45:24 Checking out Revision b63a0775669a0d8f920084e454cc928d32619faf (PR-881) 22:45:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:23 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/881/head:refs/remotes/origin/PR-881 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:45:24 > git config core.sparsecheckout # timeout=10 22:45:24 > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 22:45:24 > git remote # timeout=10 22:45:24 > git config --get remote.origin.url # timeout=10 22:45:24 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:24 > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 22:45:24 > git rev-parse HEAD^{commit} # timeout=10 22:45:24 > git config core.sparsecheckout # timeout=10 22:45:24 > git checkout -f b63a0775669a0d8f920084e454cc928d32619faf # timeout=10 22:45:27 Commit message: "Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD" 22:45:27 First time build. Skipping changelog. 22:45:27 > git rev-list --no-walk d0a83b780265e8f475c3514d228360d0b089da8f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:28 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:45:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:45:29 + sudo service docker restart 22:45:29 + true 22:45:29 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:45:30 provisioning config files... 22:45:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2118686400849970525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:30 ---> docker-login.sh 22:45:30 nexus3.edgexfoundry.org:10001 22:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:31 Configure a credential helper to remove this warning. See 22:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:31 22:45:31 Login Succeeded 22:45:31 nexus3.edgexfoundry.org:10002 22:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:31 Configure a credential helper to remove this warning. See 22:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:31 22:45:31 Login Succeeded 22:45:31 nexus3.edgexfoundry.org:10003 22:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:31 Configure a credential helper to remove this warning. See 22:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:31 22:45:31 Login Succeeded 22:45:31 nexus3.edgexfoundry.org:10004 22:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:31 Configure a credential helper to remove this warning. See 22:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:31 22:45:31 Login Succeeded 22:45:31 docker.io 22:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1022 in /w/workspace/dgexfoundry_device-sdk-go_PR-881 [Pipeline] { [Pipeline] ws 22:45:32 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 22:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:32 Configure a credential helper to remove this warning. See 22:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:32 22:45:32 Login Succeeded 22:45:32 ---> docker-login.sh ends [Pipeline] } 22:45:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:32 ========================================================= 22:45:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:45:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:45: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 . 22:45:32 Sending build context to Docker daemon 2.462MB 22:45:32 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:45:32 Step 2/8 : FROM ${BASE} 22:45:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:45:33 188c0c94c7c5: Pulling fs layer 22:45:33 0ef7d3d256c8: Pulling fs layer 22:45:33 de9db76c5a1d: Pulling fs layer 22:45:33 bca2f99d35d6: Pulling fs layer 22:45:33 93359f2a8cfa: Pulling fs layer 22:45:33 7c6f9722023f: Pulling fs layer 22:45:33 a35cf1a2eb13: Pulling fs layer 22:45:33 93359f2a8cfa: Waiting 22:45:33 7c6f9722023f: Waiting 22:45:33 a35cf1a2eb13: Waiting 22:45:33 bca2f99d35d6: Waiting 22:45:33 0ef7d3d256c8: Download complete 22:45:33 de9db76c5a1d: Verifying Checksum 22:45:33 de9db76c5a1d: Download complete 22:45:33 93359f2a8cfa: Verifying Checksum 22:45:33 93359f2a8cfa: Download complete 22:45:33 188c0c94c7c5: Verifying Checksum 22:45:33 188c0c94c7c5: Download complete 22:45:33 7c6f9722023f: Verifying Checksum 22:45:33 7c6f9722023f: Download complete 22:45:33 188c0c94c7c5: Pull complete 22:45:33 0ef7d3d256c8: Pull complete 22:45:33 de9db76c5a1d: Pull complete 22:45:34 a35cf1a2eb13: Verifying Checksum 22:45:34 a35cf1a2eb13: Download complete 22:45:35 bca2f99d35d6: Download complete 22:45:39 using credential edgex-jenkins-ssh 22:45:39 Cloning the remote Git repository 22:45:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:45:39 > git init /w/workspace/device-sdk-go/3 # timeout=10 22:45:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:39 > git --version # timeout=10 22:45:39 > git --version # 'git version 2.17.1' 22:45:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:40 bca2f99d35d6: Pull complete 22:45:40 93359f2a8cfa: Pull complete 22:45:40 7c6f9722023f: Pull complete 22:45:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:42 Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit f1f8d07c7547b0631bee6ef379e1f335d995aecd 22:45:42 Merge succeeded, producing 8385195bfab40e0bbd6adc69f6079698f696e45e 22:45:42 Checking out Revision 8385195bfab40e0bbd6adc69f6079698f696e45e (PR-881) 22:45:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:41 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/881/head:refs/remotes/origin/PR-881 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:45:42 > git config core.sparsecheckout # timeout=10 22:45:42 > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 22:45:42 > git remote # timeout=10 22:45:42 > git config --get remote.origin.url # timeout=10 22:45:42 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:42 > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 22:45:42 > git rev-parse HEAD^{commit} # timeout=10 22:45:42 > git config core.sparsecheckout # timeout=10 22:45:42 > git checkout -f 8385195bfab40e0bbd6adc69f6079698f696e45e # timeout=10 22:45:46 Commit message: "Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD" 22:45:46 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:46 > git rev-list --no-walk d0a83b780265e8f475c3514d228360d0b089da8f # timeout=10 22:45:48 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:45:48 a35cf1a2eb13: Pull complete 22:45:48 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:45:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:45:48 ---> a62c8e92a672 22:45:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:45:48 ---> Running in 65b3d66dae69 22:45:48 Removing intermediate container 65b3d66dae69 22:45:48 ---> bdc05c224850 22:45:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:48 ---> Running in deb6833829dc 22:45:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:45:49 Removing intermediate container deb6833829dc 22:45:49 ---> 0eda0257d4c3 22:45:49 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:45:49 ---> Running in af8316fd55a2 22:45:49 + sudo service docker restart 22:45:49 + true 22:45:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:45:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:45:50 (1/6) Installing libc-dev (0.7.2-r3) 22:45:50 (2/6) Installing libsodium (1.0.18-r0) 22:45:51 (3/6) Installing pkgconf (1.7.2-r0) 22:45:51 (4/6) Installing libsodium-dev (1.0.18-r0) 22:45:51 (5/6) Installing libzmq (4.3.3-r0) 22:45:51 (6/6) Installing zeromq-dev (4.3.3-r0) 22:45:51 Executing busybox-1.31.1-r19.trigger 22:45:51 OK: 167 MiB in 45 packages [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:45:51 provisioning config files... 22:45:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7256284723912054330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:51 Removing intermediate container af8316fd55a2 22:45:51 ---> 6461c1b17a57 22:45:51 Step 6/8 : WORKDIR /device-sdk-go 22:45:51 ---> Running in 8043fd7847a7 22:45:52 Removing intermediate container 8043fd7847a7 22:45:52 ---> f678fc3bfd3a 22:45:52 Step 7/8 : COPY . . 22:45:52 ---> docker-login.sh 22:45:52 nexus3.edgexfoundry.org:10001 22:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:53 ---> 88ecf7f93f00 22:45:53 Step 8/8 : RUN go mod download 22:45:53 ---> Running in a27ae0c6ac0c 22:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:53 Configure a credential helper to remove this warning. See 22:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:53 22:45:53 Login Succeeded 22:45:53 nexus3.edgexfoundry.org:10002 22:45:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:54 Configure a credential helper to remove this warning. See 22:45:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:54 22:45:54 Login Succeeded 22:45:54 nexus3.edgexfoundry.org:10003 22:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:55 Configure a credential helper to remove this warning. See 22:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:55 22:45:55 Login Succeeded 22:45:55 nexus3.edgexfoundry.org:10004 22:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:55 Configure a credential helper to remove this warning. See 22:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:55 22:45:55 Login Succeeded 22:45:55 docker.io 22:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:56 Configure a credential helper to remove this warning. See 22:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:56 22:45:56 Login Succeeded 22:45:56 ---> docker-login.sh ends [Pipeline] } 22:45:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:56 ========================================================= 22:45:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:45:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:45:57 + 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:45:57 Sending build context to Docker daemon 2.451MB 22:45:57 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:45:57 Step 2/8 : FROM ${BASE} 22:45:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:45:57 5f621e34cdf4: Pulling fs layer 22:45:57 a4357932f1b6: Pulling fs layer 22:45:57 18c013af1878: Pulling fs layer 22:45:57 00ac8860ef70: Pulling fs layer 22:45:57 63d7cb157983: Pulling fs layer 22:45:57 b116817d02f9: Pulling fs layer 22:45:57 745a02a5169b: Pulling fs layer 22:45:57 63d7cb157983: Waiting 22:45:57 b116817d02f9: Waiting 22:45:57 00ac8860ef70: Waiting 22:45:57 745a02a5169b: Waiting 22:45:57 18c013af1878: Download complete 22:45:57 a4357932f1b6: Verifying Checksum 22:45:57 a4357932f1b6: Download complete 22:45:57 63d7cb157983: Verifying Checksum 22:45:57 63d7cb157983: Download complete 22:45:57 b116817d02f9: Verifying Checksum 22:45:57 b116817d02f9: Download complete 22:45:58 5f621e34cdf4: Download complete 22:45:58 5f621e34cdf4: Pull complete 22:45:59 a4357932f1b6: Pull complete 22:46:00 18c013af1878: Pull complete 22:46:00 745a02a5169b: Verifying Checksum 22:46:00 745a02a5169b: Download complete 22:46:01 00ac8860ef70: Verifying Checksum 22:46:01 00ac8860ef70: Download complete 22:46:11 00ac8860ef70: Pull complete 22:46:11 63d7cb157983: Pull complete 22:46:12 b116817d02f9: Pull complete 22:46:15 745a02a5169b: Pull complete 22:46:15 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:46:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:46:15 ---> b7e6874047d6 22:46:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:46:15 Removing intermediate container a27ae0c6ac0c 22:46:15 ---> 9dd9f3673660 22:46:15 Successfully built 9dd9f3673660 22:46:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:46:15 + docker inspect -f . ci-base-image-x86_64 22:46:15 . [Pipeline] withDockerContainer 22:46:16 prd-centos7-docker-4c-2g-1024 does not seem to be running inside a container 22:46:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat 22:46:17 $ docker top 91ac45727203d16f74cb26c9ae48e3b66cdff7580b460f1c6bcb35e416ab6acc -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:17 + go version 22:46:17 go version go1.15.5 linux/amd64 [Pipeline] } 22:46:17 $ docker stop --time=1 91ac45727203d16f74cb26c9ae48e3b66cdff7580b460f1c6bcb35e416ab6acc 22:46:18 ---> Running in 8fd19752add0 22:46:19 $ docker rm -f 91ac45727203d16f74cb26c9ae48e3b66cdff7580b460f1c6bcb35e416ab6acc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 22:46:19 Removing intermediate container 8fd19752add0 22:46:19 ---> 1ac5514ff0b5 22:46:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:46:19 ---> Running in 3da6237a8536 22:46:19 + docker inspect -f . ci-base-image-x86_64 22:46:19 . [Pipeline] withDockerContainer 22:46:19 prd-centos7-docker-4c-2g-1024 does not seem to be running inside a container 22:46:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat 22:46:20 $ docker top bc612ece744a9197131daca5e138f25c58a45f54208898e50239473f32b2e6ed -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:20 + make test 22:46:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:46:22 Removing intermediate container 3da6237a8536 22:46:22 ---> 64aa986f4beb 22:46:22 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:46:22 ---> Running in 36c5a94d3c1b 22:46:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:46:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:46:24 (1/6) Installing libc-dev (0.7.2-r3) 22:46:24 (2/6) Installing libsodium (1.0.18-r0) 22:46:25 (3/6) Installing pkgconf (1.7.2-r0) 22:46:25 (4/6) Installing libsodium-dev (1.0.18-r0) 22:46:25 (5/6) Installing libzmq (4.3.3-r0) 22:46:25 (6/6) Installing zeromq-dev (4.3.3-r0) 22:46:25 Executing busybox-1.31.1-r19.trigger 22:46:25 OK: 144 MiB in 45 packages 22:46:26 Removing intermediate container 36c5a94d3c1b 22:46:26 ---> 52ca8cab0d16 22:46:26 Step 6/8 : WORKDIR /device-sdk-go 22:46:27 ---> Running in a7bcb9915284 22:46:27 Removing intermediate container a7bcb9915284 22:46:27 ---> 96ec71fcd16d 22:46:27 Step 7/8 : COPY . . 22:46:28 ---> f9ec15ae4537 22:46:28 Step 8/8 : RUN go mod download 22:46:28 ---> Running in 3771a47e9adb 22:46:29 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:46:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:46:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:46:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:46:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:46:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:46:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.078s coverage: 28.1% of statements 22:46:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements 22:46:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.086s 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 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.124s coverage: 32.0% of statements 22:46:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:46:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:46:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:46:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.126s coverage: 57.1% of statements 22:46:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.455s coverage: 6.6% of statements 22:46:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.0% of statements 22:46:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:46:55 GO111MODULE=on go vet ./... 22:46:55 Removing intermediate container 3771a47e9adb 22:46:55 ---> 88ddd91f7423 22:46:55 Successfully built 88ddd91f7423 22:46:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:46:55 + docker inspect -f . ci-base-image-arm64 22:46:55 . [Pipeline] withDockerContainer 22:46:56 prd-ubuntu18.04-docker-arm64-4c-16g-1022 does not seem to be running inside a container 22:46:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat 22:46:58 $ docker top 322fcce1423acb6dafee730a3fe8f9140eeb300d5cf2392a770d3b4733f7a823 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:59 + go version 22:46:59 go version go1.15.5 linux/arm64 [Pipeline] } 22:46:59 $ docker stop --time=1 322fcce1423acb6dafee730a3fe8f9140eeb300d5cf2392a770d3b4733f7a823 22:47:01 $ docker rm -f 322fcce1423acb6dafee730a3fe8f9140eeb300d5cf2392a770d3b4733f7a823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:47:01 + docker inspect -f . ci-base-image-arm64 22:47:01 . [Pipeline] withDockerContainer 22:47:02 prd-ubuntu18.04-docker-arm64-4c-16g-1022 does not seem to be running inside a container 22:47:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat 22:47:04 $ docker top f12b54f266c992a3a231a19c4d6400fe0d5dbb6e174f715fb9691372489d2fdd -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:05 + make test 22:47:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:47:13 gofmt -l . 22:47:13 [ "`gofmt -l .`" = "" ] 22:47:13 ./bin/test-attribution-txt.sh 22:47:13 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:47:13 $ docker stop --time=1 bc612ece744a9197131daca5e138f25c58a45f54208898e50239473f32b2e6ed 22:47:15 $ docker rm -f bc612ece744a9197131daca5e138f25c58a45f54208898e50239473f32b2e6ed [Pipeline] // withDockerContainer [Pipeline] sh 22:47:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:47:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:47:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:47:17 + ls -al . 22:47:17 total 188 22:47:17 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 19 22:47 . 22:47:17 drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 22:45 .. 22:47:17 drwxrwxr-x. 2 jenkins jenkins 64 Apr 19 22:45 bin 22:47:17 -rw-r--r--. 1 jenkins jenkins 100116 Apr 19 22:46 coverage.out 22:47:17 -rw-rw-r--. 1 jenkins jenkins 987 Apr 19 22:45 Dockerfile.build 22:47:17 -rw-rw-r--. 1 jenkins jenkins 140 Apr 19 22:45 .dockerignore 22:47:17 drwxrwxr-x. 5 jenkins jenkins 62 Apr 19 22:45 example 22:47:17 drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 22:45 .git 22:47:17 drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 22:45 .github 22:47:17 -rw-rw-r--. 1 jenkins jenkins 138 Apr 19 22:45 .gitignore 22:47:17 -rw-r--r--. 1 jenkins jenkins 574 Apr 19 22:47 go.mod 22:47:17 -rw-r--r--. 1 jenkins jenkins 20735 Apr 19 22:47 go.sum 22:47:17 drwxrwxr-x. 14 jenkins jenkins 207 Apr 19 22:45 internal 22:47:17 -rw-rw-r--. 1 jenkins jenkins 901 Apr 19 22:45 Jenkinsfile 22:47:17 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 19 22:45 LICENSE 22:47:17 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 19 22:45 Makefile 22:47:17 drwxrwxr-x. 4 jenkins jenkins 26 Apr 19 22:45 openapi 22:47:17 drwxrwxr-x. 5 jenkins jenkins 50 Apr 19 22:45 pkg 22:47:17 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 19 22:45 README.md 22:47:17 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 19 22:45 RELEASE-NOTES.txt 22:47:17 drwxrwxr-x. 4 jenkins jenkins 54 Apr 19 22:45 snap 22:47:17 -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 22:42 VERSION 22:47:17 -rw-rw-r--. 1 jenkins jenkins 222 Apr 19 22:45 version.go [Pipeline] isUnix [Pipeline] sh 22:47:17 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=067737c8c3e95bfa56f39aca1e9e747a53cf6a74 --label arch=amd64 --label version=0.0.0 . 22:47:18 Sending build context to Docker daemon 2.563MB 22:47:18 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:47:18 Step 2/23 : FROM ${BASE} AS builder 22:47:18 ---> 9dd9f3673660 22:47:18 Step 3/23 : WORKDIR /device-sdk-go 22:47:18 ---> Running in 12c1036663cc 22:47:18 Removing intermediate container 12c1036663cc 22:47:18 ---> a4eaedb90e5e 22:47:18 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:18 ---> Running in 913d9dd9fb3a 22:47:18 Removing intermediate container 913d9dd9fb3a 22:47:18 ---> 43eda1435ea8 22:47:18 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:18 ---> Running in 235a285d7d4b 22:47:19 Removing intermediate container 235a285d7d4b 22:47:19 ---> 774ab3266141 22:47:19 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:47:19 ---> Running in b98d5ce9ca95 22:47:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:47:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:47:21 OK: 167 MiB in 45 packages 22:47:21 Removing intermediate container b98d5ce9ca95 22:47:21 ---> 1db77d33254a 22:47:21 Step 7/23 : COPY . . 22:47:22 ---> a81edc2fac5f 22:47:22 Step 8/23 : RUN go mod download 22:47:22 ---> Running in c746c4021d35 22:47:23 Removing intermediate container c746c4021d35 22:47:23 ---> 98810dffcc3b 22:47:23 Step 9/23 : RUN make build 22:47:23 ---> Running in 744ebe0d105b 22:47: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 22:47:31 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:47:36 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:47:36 Removing intermediate container 744ebe0d105b 22:47:36 ---> 8f520b2ba427 22:47:36 Step 10/23 : FROM alpine:3.12 22:47:37 3.12: Pulling from library/alpine 22:47:37 339de151aab4: Pulling fs layer 22:47:37 339de151aab4: Verifying Checksum 22:47:37 339de151aab4: Download complete 22:47:37 339de151aab4: Pull complete 22:47:37 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:47:37 Status: Downloaded newer image for alpine:3.12 22:47:37 ---> 13621d1b12d4 22:47:37 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:37 ---> Running in 5981e87ea9ce 22:47:37 Removing intermediate container 5981e87ea9ce 22:47:37 ---> 01342731ba35 22:47:37 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:37 ---> Running in 95f65ceeb7e9 22:47:38 Removing intermediate container 95f65ceeb7e9 22:47:38 ---> fea34709186e 22:47:38 Step 13/23 : RUN apk add --update --no-cache zeromq 22:47:38 ---> Running in 234ace07e5f0 22:47:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:47:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:47:40 (1/5) Installing libgcc (9.3.0-r2) 22:47:40 (2/5) Installing libsodium (1.0.18-r0) 22:47:40 (3/5) Installing libstdc++ (9.3.0-r2) 22:47:41 (4/5) Installing libzmq (4.3.3-r0) 22:47:41 (5/5) Installing zeromq (4.3.3-r0) 22:47:41 Executing busybox-1.31.1-r20.trigger 22:47:41 OK: 8 MiB in 19 packages 22:47:42 Removing intermediate container 234ace07e5f0 22:47:42 ---> 52113d41b2fe 22:47:42 Step 14/23 : WORKDIR / 22:47:42 ---> Running in 9e39cf55ee09 22:47:42 Removing intermediate container 9e39cf55ee09 22:47:42 ---> 3b93ec66e738 22:47:42 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:47:42 ---> 16cf487bae91 22:47:42 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:47:43 ---> d614ddce3e4c 22:47:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:47:43 ---> bd3c7f4bd6bb 22:47:43 Step 18/23 : EXPOSE 49990 22:47:43 ---> Running in e50fcb57088c 22:47:43 Removing intermediate container e50fcb57088c 22:47:43 ---> 0bc19c32414e 22:47:43 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:47:43 ---> Running in 68640e1fb0fe 22:47:43 Removing intermediate container 68640e1fb0fe 22:47:43 ---> f96ab2cc37ab 22:47:43 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:47:43 ---> Running in d0041b4b8670 22:47:43 Removing intermediate container d0041b4b8670 22:47:43 ---> 1ca915098c45 22:47:43 Step 21/23 : LABEL arch=amd64 22:47:44 ---> Running in 7415dd0fa28b 22:47:44 Removing intermediate container 7415dd0fa28b 22:47:44 ---> 14295fce4d43 22:47:44 Step 22/23 : LABEL git_sha=067737c8c3e95bfa56f39aca1e9e747a53cf6a74 22:47:44 ---> Running in ebd661f9a758 22:47:44 Removing intermediate container ebd661f9a758 22:47:44 ---> e8b9d34814e2 22:47:44 Step 23/23 : LABEL version=0.0.0 22:47:44 ---> Running in f2c86948f8c0 22:47:44 Removing intermediate container f2c86948f8c0 22:47:44 ---> 1352f74cd1fe 22:47:44 [Warning] One or more build-args [ARCH MAKE] were not consumed 22:47:44 Successfully built 1352f74cd1fe 22:47:44 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 22:47:45 ---> job-cost.sh 22:47:45 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-b5nT 22:48:00 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:48:26 lf-activate-venv(): INFO: Adding /tmp/venv-b5nT/bin to PATH 22:48:26 INFO: No Stack... 22:48:27 INFO: Retrieving Pricing Info for: v1-standard-2 22:48:27 INFO: Archiving Costs [Pipeline] sh 22:48:28 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 22:48:28 + cut -d, -f6 [Pipeline] lock 22:48:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] 22:48:28 Resource [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] did not exist. Created. 22:48:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:48:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:48:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:48:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:48:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:48:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:48:28 + echo total: 0.029999999329447746 [Pipeline] stash 22:48:28 Stashed 1 file(s) [Pipeline] } 22:48:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:48:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.162s coverage: 28.1% of statements 22:48:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.195s coverage: 78.9% of statements 22:48:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.142s coverage: 7.8% of statements 22:48:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:48:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:48:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:48:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.261s coverage: 32.0% of statements 22:48:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:48:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:48:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:48:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.303s coverage: 57.1% of statements 22:48:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.172s coverage: 6.6% of statements 22:48:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 5.0% of statements 22:48:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:48:37 GO111MODULE=on go vet ./... 22:49:24 gofmt -l . 22:49:24 [ "`gofmt -l .`" = "" ] 22:49:24 ./bin/test-attribution-txt.sh 22:49:24 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:49:24 $ docker stop --time=1 f12b54f266c992a3a231a19c4d6400fe0d5dbb6e174f715fb9691372489d2fdd 22:49:26 $ docker rm -f f12b54f266c992a3a231a19c4d6400fe0d5dbb6e174f715fb9691372489d2fdd [Pipeline] // withDockerContainer [Pipeline] sh 22:49:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:49:27 Warning: overwriting stash ‘coverage-report’ 22:49:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:49:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:49:29 + ls -al . 22:49:29 total 224 22:49:29 drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 22:49 . 22:49:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:45 .. 22:49:29 -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 22:45 .dockerignore 22:49:29 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 22:45 .git 22:49:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:45 .github 22:49:29 -rw-rw-r-- 1 jenkins jenkins 138 Apr 19 22:45 .gitignore 22:49:29 -rw-rw-r-- 1 jenkins jenkins 987 Apr 19 22:45 Dockerfile.build 22:49:29 -rw-rw-r-- 1 jenkins jenkins 901 Apr 19 22:45 Jenkinsfile 22:49:29 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 19 22:45 LICENSE 22:49:29 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 19 22:45 Makefile 22:49:29 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 19 22:45 README.md 22:49:29 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 19 22:45 RELEASE-NOTES.txt 22:49:29 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 22:42 VERSION 22:49:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:45 bin 22:49:29 -rw-r--r-- 1 jenkins jenkins 100116 Apr 19 22:48 coverage.out 22:49:29 drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 22:45 example 22:49:29 -rw-r--r-- 1 jenkins jenkins 574 Apr 19 22:49 go.mod 22:49:29 -rw-r--r-- 1 jenkins jenkins 20735 Apr 19 22:49 go.sum 22:49:29 drwxrwxr-x 14 jenkins jenkins 4096 Apr 19 22:45 internal 22:49:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:45 openapi 22:49:29 drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 22:45 pkg 22:49:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:45 snap 22:49:29 -rw-rw-r-- 1 jenkins jenkins 222 Apr 19 22:45 version.go [Pipeline] isUnix [Pipeline] sh 22:49:29 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=067737c8c3e95bfa56f39aca1e9e747a53cf6a74 --label arch=arm64 --label version=0.0.0 . 22:49:30 Sending build context to Docker daemon 2.552MB 22:49:30 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:49:30 Step 2/23 : FROM ${BASE} AS builder 22:49:30 ---> 88ddd91f7423 22:49:30 Step 3/23 : WORKDIR /device-sdk-go 22:49:30 ---> Running in 2dcff3a96aad 22:49:31 Removing intermediate container 2dcff3a96aad 22:49:31 ---> f7d0c55634dc 22:49:31 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:49:31 ---> Running in 7620d47cd9a0 22:49:31 Removing intermediate container 7620d47cd9a0 22:49:31 ---> 25cfc4768bd0 22:49:31 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:49:32 ---> Running in 15c7424cacde 22:49:33 Removing intermediate container 15c7424cacde 22:49:33 ---> 9a1e3bff195f 22:49:33 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:49:33 ---> Running in 58b6b27cfa58 22:49:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:49:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:49:36 OK: 144 MiB in 45 packages 22:49:37 Removing intermediate container 58b6b27cfa58 22:49:37 ---> 69b910fdba06 22:49:37 Step 7/23 : COPY . . 22:49:39 ---> bcb052f6afd9 22:49:39 Step 8/23 : RUN go mod download 22:49:39 ---> Running in 2e62c6bfc7a6 22:49:41 Removing intermediate container 2e62c6bfc7a6 22:49:41 ---> 639767a15976 22:49:41 Step 9/23 : RUN make build 22:49:41 ---> Running in c64de07d59b6 22:49:42 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:50:14 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:50:18 Removing intermediate container c64de07d59b6 22:50:18 ---> 568ccdaebfec 22:50:18 Step 10/23 : FROM alpine:3.12 22:50:18 3.12: Pulling from library/alpine 22:50:18 d2f70382dc9a: Pulling fs layer 22:50:18 d2f70382dc9a: Verifying Checksum 22:50:18 d2f70382dc9a: Download complete 22:50:19 d2f70382dc9a: Pull complete 22:50:19 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:50:19 Status: Downloaded newer image for alpine:3.12 22:50:19 ---> 9852663dfa18 22:50:19 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:50:19 ---> Running in eaaf5ec33c84 22:50:20 Removing intermediate container eaaf5ec33c84 22:50:20 ---> 6a6b15cb07ee 22:50:20 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:20 ---> Running in 9607f959cc32 22:50:23 Removing intermediate container 9607f959cc32 22:50:23 ---> c29598337d82 22:50:23 Step 13/23 : RUN apk add --update --no-cache zeromq 22:50:23 ---> Running in 6fbf5c348996 22:50:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:50:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:50:25 (1/5) Installing libgcc (9.3.0-r2) 22:50:25 (2/5) Installing libsodium (1.0.18-r0) 22:50:25 (3/5) Installing libstdc++ (9.3.0-r2) 22:50:26 (4/5) Installing libzmq (4.3.3-r0) 22:50:26 (5/5) Installing zeromq (4.3.3-r0) 22:50:26 Executing busybox-1.31.1-r20.trigger 22:50:26 OK: 8 MiB in 19 packages 22:50:27 Removing intermediate container 6fbf5c348996 22:50:27 ---> 1eb2bccde24a 22:50:27 Step 14/23 : WORKDIR / 22:50:27 ---> Running in 71de3055b590 22:50:28 Removing intermediate container 71de3055b590 22:50:28 ---> 0f4802094a6d 22:50:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:50:29 ---> 3a143d92af75 22:50:29 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:50:30 ---> 372f1bb7a481 22:50:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:50:31 ---> 54fa3d241741 22:50:31 Step 18/23 : EXPOSE 49990 22:50:31 ---> Running in d04643020794 22:50:31 Removing intermediate container d04643020794 22:50:31 ---> 9e7cceb72c2b 22:50:31 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:50:31 ---> Running in 383fda1be3b4 22:50:32 Removing intermediate container 383fda1be3b4 22:50:32 ---> 92519b903dd5 22:50:32 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:50:32 ---> Running in 1436d98123b5 22:50:32 Removing intermediate container 1436d98123b5 22:50:32 ---> 585e79005dd7 22:50:32 Step 21/23 : LABEL arch=arm64 22:50:32 ---> Running in 38184aa72eb3 22:50:33 Removing intermediate container 38184aa72eb3 22:50:33 ---> 446f2f9a8a9a 22:50:33 Step 22/23 : LABEL git_sha=067737c8c3e95bfa56f39aca1e9e747a53cf6a74 22:50:33 ---> Running in cf3effcb9a27 22:50:33 Removing intermediate container cf3effcb9a27 22:50:33 ---> 074c0630a65f 22:50:33 Step 23/23 : LABEL version=0.0.0 22:50:33 ---> Running in 32fcb60577de 22:50:34 Removing intermediate container 32fcb60577de 22:50:34 ---> fef6bc63641d 22:50:34 [Warning] One or more build-args [ARCH MAKE] were not consumed 22:50:34 Successfully built fef6bc63641d 22:50:34 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 22:50:34 ---> job-cost.sh 22:50:34 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yoCk 22:51:21 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:52:43 lf-activate-venv(): INFO: Adding /tmp/venv-yoCk/bin to PATH 22:52:43 INFO: No Stack... 22:52:43 INFO: Retrieving Pricing Info for: lf-standard-4 22:52:43 INFO: Archiving Costs [Pipeline] sh 22:52:43 + cut -d, -f6 22:52:43 + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock 22:52:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] 22:52:44 Resource [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] did not exist. Created. 22:52:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:52:44 /w/workspace/device-sdk-go/3@tmp/durable-9a2633c2/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-9a2633c2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:52:44 + echo total: 0.20999999344348907 [Pipeline] stash 22:52:44 Warning: overwriting stash ‘stack-cost’ 22:52:44 Stashed 1 file(s) [Pipeline] } 22:52:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-881-3-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:52:45 provisioning config files... 22:52:45 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/config2102033311572625200tmp [Pipeline] { [Pipeline] sh 22:52:45 + set +x 22:52:45 + curl -s https://codecov.io/bash 22:52:45 + bash -s -- 22:52:45 22:52:45 _____ _ 22:52:45 / ____| | | 22:52:45 | | ___ __| | ___ ___ _____ __ 22:52:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:52:45 | |___| (_) | (_| | __/ (_| (_) \ V / 22:52:45 \_____\___/ \__,_|\___|\___\___/ \_/ 22:52:45 Bash-1.0.1 22:52:45 22:52:45 22:52:45 ==> git version 2.24.3 found 22:52:45 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 22:52:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:52:45 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:52:45 ==> Jenkins CI detected. 22:52:45 project root: . 22:52:45 --> token set from env 22:52:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:52:45 ==> Running gcov in . (disable via -X gcov) 22:52:45 ==> Python coveragepy not found 22:52:45 ==> Searching for coverage reports in: 22:52:45 + . 22:52:45 -> Found 1 reports 22:52:45 ==> Detecting git/mercurial file structure 22:52:45 ==> Reading reports 22:52:45 + ./coverage.out bytes=100116 22:52:45 ==> Appending adjustments 22:52:45 https://docs.codecov.io/docs/fixing-reports 22:52:46 + Found adjustments 22:52:46 ==> Gzipping contents 22:52:46 16K /tmp/codecov.i6Q7JU.gz 22:52:46 ==> Uploading reports 22:52:46 url: https://codecov.io 22:52:46 query: branch=PR-881&commit=067737c8c3e95bfa56f39aca1e9e747a53cf6a74&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-881%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=881&job=&cmd_args= 22:52:46 -> Pinging Codecov 22:52:46 https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-881&commit=067737c8c3e95bfa56f39aca1e9e747a53cf6a74&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-881%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=881&job=&cmd_args= 22:52:46 -> Uploading to 22:52:46 https://storage.googleapis.com/codecov/v4/raw/2021-04-19/7E55EF52A471D76F132DFD9A03CDDE97/067737c8c3e95bfa56f39aca1e9e747a53cf6a74/8b3096c2-2d52-4ef0-9da6-26c44805ea9d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T225246Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a5d3e44a03260471e47a63ad90664585e4e4914a1d7f57d5fdce508da106590 22:52:46 % Total % Received % Xferd Average Speed Time Time Time Current 22:52:46 Dload Upload Total Spent Left Speed 22:52:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13513 0 0 100 13513 0 26358 --:--:-- --:--:-- --:--:-- 26392 22:52:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/067737c8c3e95bfa56f39aca1e9e747a53cf6a74 [Pipeline] } 22:52:47 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:52:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:52:48 ---> package-listing.sh 22:52:48 ++ facter osfamily 22:52:48 ++ tr '[:upper:]' '[:lower:]' 22:52:48 + OS_FAMILY=redhat 22:52:48 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-881 22:52:48 + START_PACKAGES=/tmp/packages_start.txt 22:52:48 + END_PACKAGES=/tmp/packages_end.txt 22:52:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:52:48 + PACKAGES=/tmp/packages_start.txt 22:52:48 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-881 ']' 22:52:48 + PACKAGES=/tmp/packages_end.txt 22:52:48 + case "${OS_FAMILY}" in 22:52:48 + rpm -qa 22:52:48 + sort 22:52:53 + '[' -f /tmp/packages_start.txt ']' 22:52:53 + '[' -f /tmp/packages_end.txt ']' 22:52:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:52:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-881 ']' 22:52:53 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-881/archives/ 22:52:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-881/archives/ [Pipeline] echo 22:52:53 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-881/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:52:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:52:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:52:54 22:52:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:52:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:52:54 alpine: Pulling from edgex-lftools-log-publisher 22:52:54 df20fa9351a1: Pulling fs layer 22:52:54 36b3adc4ff6f: Pulling fs layer 22:52:54 8ad3a11d3b57: Pulling fs layer 22:52:54 46f8f816bc3b: Pulling fs layer 22:52:54 93b61091891f: Pulling fs layer 22:52:54 93b9cdb0e59b: Pulling fs layer 22:52:54 5e14af77c1be: Pulling fs layer 22:52:54 01666e4c0597: Pulling fs layer 22:52:54 aa168da1d23b: Pulling fs layer 22:52:54 46f8f816bc3b: Waiting 22:52:54 5e14af77c1be: Waiting 22:52:54 01666e4c0597: Waiting 22:52:54 93b61091891f: Waiting 22:52:54 aa168da1d23b: Waiting 22:52:54 93b9cdb0e59b: Waiting 22:52:54 36b3adc4ff6f: Verifying Checksum 22:52:54 36b3adc4ff6f: Download complete 22:52:54 46f8f816bc3b: Download complete 22:52:54 df20fa9351a1: Verifying Checksum 22:52:54 df20fa9351a1: Download complete 22:52:54 93b9cdb0e59b: Verifying Checksum 22:52:54 93b9cdb0e59b: Download complete 22:52:55 93b61091891f: Verifying Checksum 22:52:55 93b61091891f: Download complete 22:52:55 01666e4c0597: Verifying Checksum 22:52:55 01666e4c0597: Download complete 22:52:55 8ad3a11d3b57: Verifying Checksum 22:52:55 8ad3a11d3b57: Download complete 22:52:55 df20fa9351a1: Pull complete 22:52:55 36b3adc4ff6f: Pull complete 22:52:55 5e14af77c1be: Verifying Checksum 22:52:55 5e14af77c1be: Download complete 22:52:56 8ad3a11d3b57: Pull complete 22:52:56 aa168da1d23b: Verifying Checksum 22:52:56 aa168da1d23b: Download complete 22:52:57 46f8f816bc3b: Pull complete 22:52:57 93b61091891f: Pull complete 22:52:57 93b9cdb0e59b: Pull complete 22:52:57 5e14af77c1be: Pull complete 22:52:57 01666e4c0597: Pull complete 22:53:05 aa168da1d23b: Pull complete 22:53:05 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:53:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:53:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:53:06 prd-centos7-docker-4c-2g-1017 does not seem to be running inside a container 22:53:06 $ 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-881/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-881 -v /w/workspace/dgexfoundry_device-sdk-go_PR-881:/w/workspace/dgexfoundry_device-sdk-go_PR-881:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-881@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:53:09 $ docker top e223559fe5d8cc5819c150294dd7fcf4202b0e823c8e323a4b0fe276d8b07688 -eo pid,comm [Pipeline] { [Pipeline] sh 22:53:09 + touch /tmp/pre-build-complete [Pipeline] sh 22:53:10 + mkdir -p /var/log/sa [Pipeline] sh 22:53:10 + ls /var/log/sa-host 22:53:10 + sadf -c /var/log/sa-host/sa19 22:53:10 file_magic: OK 22:53:10 HZ: Using current value: 100 22:53:10 file_header: OK 22:53:10 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:53:10 Statistics: 22:53:10 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:53:10 File successfully converted to sysstat format version 12.2.1 22:53:10 + sadf -c /var/log/sa-host/sa23 22:53:10 file_magic: OK 22:53:10 HZ: Using current value: 100 22:53:10 file_header: OK 22:53:10 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:53:10 Statistics: 22:53:10 Hnuu...uuuununununu... 22:53:10 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:53:10 provisioning config files... 22:53:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/config1807492120100127284tmp [Pipeline] { [Pipeline] echo 22:53:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:53:10 ---> create-netrc.sh [Pipeline] } 22:53:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:53:10 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:53:11 ---> python-tools-install.sh [Pipeline] echo 22:53:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:53:11 ---> sudo-logs.sh 22:53:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:53:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:53:11 ---> job-cost.sh 22:53:11 lf-activate-venv: SKIPPING 22:53:11 DEBUG: total: 0.20999999344348907 22:53:11 INFO: Retrieving Stack Cost... 22:53:13 INFO: Retrieving Pricing Info for: v1-standard-2 22:53:13 INFO: Archiving Costs [Pipeline] echo 22:53:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:53:13 ---> logs-deploy.sh 22:53:13 lf-activate-venv: SKIPPING 22:53:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-881/3 22:53:13 INFO: archiving workspace using pattern(s): 22:53:15 Archives upload complete. 22:53:15 INFO: archiving logs to Nexus