Pull request #878 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 23eaf68d626cf1c0dd61e78c25a860b20251206b+94ba728ffe67abe485aa5fd1bea1962d855b8f3c (cbf945a9ad32de5bf5824237f76730744e3fcac8) 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-196 in /w/workspace/dgexfoundry_device-sdk-go_PR-878 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-878 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit 23eaf68d626cf1c0dd61e78c25a860b20251206b Merge succeeded, producing 23eaf68d626cf1c0dd61e78c25a860b20251206b Checking out Revision 23eaf68d626cf1c0dd61e78c25a860b20251206b (PR-878) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/878/head:refs/remotes/origin/PR-878 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23eaf68d626cf1c0dd61e78c25a860b20251206b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23eaf68d626cf1c0dd61e78c25a860b20251206b # timeout=10 Commit message: "fix: add logLevel check in LoggingMiddleware" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:51:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script > git rev-list --no-walk 98f9d1e0beda86149d7788036cbe8474e673faff # timeout=10 [Pipeline] { [Pipeline] withCredentials 03:51:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:51:46 ========================================================= 03:51:46 EdgeX Global Pipelines Version Info 03:51:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:51:48 ------------------- 03:51:48 stable info: 03:51:48 ------------------- 03:51:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:51:48 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 03:51:48 Message: update stable to v1.0.186 03:51:49 ------------------- 03:51:49 experimental info: 03:51:49 ------------------- 03:51:49 Commited By: **** collab-it+edgex@linuxfoundation.org 03:51:49 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 03:51:49 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-878 [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-878 [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-878 [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23eaf68d626cf1c0dd61e78c25a860b20251206b [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23eaf68 [Pipeline] echo 03:51:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:51:49 provisioning config files... 03:51:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config414116071192058159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:51:50 ---> docker-login.sh 03:51:50 nexus3.edgexfoundry.org:10001 03:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:51:50 Configure a credential helper to remove this warning. See 03:51:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:51:50 03:51:50 Login Succeeded 03:51:50 nexus3.edgexfoundry.org:10002 03:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:51:50 Configure a credential helper to remove this warning. See 03:51:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:51:50 03:51:50 Login Succeeded 03:51:50 nexus3.edgexfoundry.org:10003 03:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:51:51 Configure a credential helper to remove this warning. See 03:51:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:51:51 03:51:51 Login Succeeded 03:51:51 nexus3.edgexfoundry.org:10004 03:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:51:51 Configure a credential helper to remove this warning. See 03:51:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:51:51 03:51:51 Login Succeeded 03:51:51 docker.io 03:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:51:51 Configure a credential helper to remove this warning. See 03:51:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:51:51 03:51:51 Login Succeeded 03:51:51 ---> docker-login.sh ends [Pipeline] } 03:51:51 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 03:51:52 + git log --format=format:%s -1 23eaf68d626cf1c0dd61e78c25a860b20251206b [Pipeline] echo 03:51:52 GIT_COMMIT: 23eaf68d626cf1c0dd61e78c25a860b20251206b, Commit Message: fix: add logLevel check in LoggingMiddleware [Pipeline] echo 03:51:52 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:51:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:51:53 03:51:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:51:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:51:53 latest: Pulling from edgex-devops/git-semver 03:51:53 31603596830f: Pulling fs layer 03:51:53 2a8b12db71e7: Pulling fs layer 03:51:53 6ca5941a6612: Pulling fs layer 03:51:53 ecc8261a40a4: Pulling fs layer 03:51:53 ecc8261a40a4: Waiting 03:51:53 2a8b12db71e7: Verifying Checksum 03:51:53 2a8b12db71e7: Download complete 03:51:53 31603596830f: Verifying Checksum 03:51:53 31603596830f: Download complete 03:51:54 6ca5941a6612: Verifying Checksum 03:51:54 6ca5941a6612: Download complete 03:51:54 ecc8261a40a4: Download complete 03:51:54 31603596830f: Pull complete 03:51:54 2a8b12db71e7: Pull complete 03:51:55 6ca5941a6612: Pull complete 03:51:55 ecc8261a40a4: Pull complete 03:51:55 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:51:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:51:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:51:55 prd-centos7-docker-4c-2g-196 does not seem to be running inside a container 03:51:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-878 -v /w/workspace/dgexfoundry_device-sdk-go_PR-878:/w/workspace/dgexfoundry_device-sdk-go_PR-878:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:51:57 $ docker top 33201eee8ddc4c0ef8b80fe9a03b13df4b38e5e355ff9d9435c327ea14cfc163 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:51:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:51:57 [ssh-agent] Looking for ssh-agent implementation... 03:51:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:51:58 $ docker exec 33201eee8ddc4c0ef8b80fe9a03b13df4b38e5e355ff9d9435c327ea14cfc163 ssh-agent 03:51:58 SSH_AUTH_SOCK=/tmp/ssh-Eo2KqetCuqWf/agent.12 03:51:58 SSH_AGENT_PID=18 03:51:58 Running ssh-add (command line suppressed) 03:51:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_6766790899730534639.key (/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_6766790899730534639.key) 03:51:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:51:58 + git tag --points-at HEAD [Pipeline] } 03:51:58 $ docker exec --env ******** --env ******** 33201eee8ddc4c0ef8b80fe9a03b13df4b38e5e355ff9d9435c327ea14cfc163 ssh-agent -k 03:51:58 unset SSH_AUTH_SOCK; 03:51:58 unset SSH_AGENT_PID; 03:51:58 echo Agent pid 18 killed; 03:51:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:51:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:51:59 [ssh-agent] Looking for ssh-agent implementation... 03:51:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:51:59 $ docker exec 33201eee8ddc4c0ef8b80fe9a03b13df4b38e5e355ff9d9435c327ea14cfc163 ssh-agent 03:51:59 SSH_AUTH_SOCK=/tmp/ssh-5GarsgLEeX5F/agent.47 03:51:59 SSH_AGENT_PID=53 03:51:59 Running ssh-add (command line suppressed) 03:51:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_4627874404756555871.key (/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/private_key_4627874404756555871.key) 03:51:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:51:59 + git semver init 03:51:59 # -> Open(): unable to determine branch for HEAD 03:51:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-878/.git 03:51:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-878 03:51:59 # $SEMVER_REMOTE_NAME = origin 03:51:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:51:59 # $SEMVER_USER_NAME = edgex-jenkins 03:51:59 # $SEMVER_BRANCH = PR-878 03:51:59 # $SEMVER_TEMP = /tmp/semver-810607660 03:51:59 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:52:00 # '/tmp/semver-810607660' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-878/.semver' 03:52:00 # -> Force: false 03:52:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-878/.semver [Pipeline] } 03:52:00 $ docker exec --env ******** --env ******** 33201eee8ddc4c0ef8b80fe9a03b13df4b38e5e355ff9d9435c327ea14cfc163 ssh-agent -k 03:52:00 unset SSH_AUTH_SOCK; 03:52:00 unset SSH_AGENT_PID; 03:52:00 echo Agent pid 53 killed; 03:52:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:52:01 + git semver [Pipeline] } 03:52:01 $ docker stop --time=1 33201eee8ddc4c0ef8b80fe9a03b13df4b38e5e355ff9d9435c327ea14cfc163 03:52:02 $ docker rm -f 33201eee8ddc4c0ef8b80fe9a03b13df4b38e5e355ff9d9435c327ea14cfc163 [Pipeline] // withDockerContainer [Pipeline] sh 03:52:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:52:03 Stashed 1 file(s) [Pipeline] echo 03:52:03 [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 03:52:18 Still waiting to schedule task 03:52:18 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:52:18 Still waiting to schedule task 03:52:18 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 03:55:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-197 in /w/workspace/dgexfoundry_device-sdk-go_PR-878 [Pipeline] { [Pipeline] ws 03:55:36 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 03:55:38 Running on prd-centos7-docker-4c-2g-198 in /w/workspace/dgexfoundry_device-sdk-go_PR-878 [Pipeline] { [Pipeline] ws 03:55:38 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 03:55:41 using credential edgex-jenkins-ssh 03:55:41 Cloning the remote Git repository 03:55:41 using credential edgex-jenkins-ssh 03:55:42 Cloning the remote Git repository 03:55:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:55:41 > git init /w/workspace/device-sdk-go/3 # timeout=10 03:55:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:55:42 > git --version # timeout=10 03:55:42 > git --version # 'git version 2.24.3' 03:55:42 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:55:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:55:42 > git init /w/workspace/device-sdk-go/3 # timeout=10 03:55:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:55:42 > git --version # timeout=10 03:55:42 > git --version # 'git version 2.17.1' 03:55:42 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:55:43 Merging remotes/origin/master commit 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit 23eaf68d626cf1c0dd61e78c25a860b20251206b 03:55:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:55:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:55:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:55:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:55:42 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/878/head:refs/remotes/origin/PR-878 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:55:43 > git config core.sparsecheckout # timeout=10 03:55:43 > git checkout -f 23eaf68d626cf1c0dd61e78c25a860b20251206b # timeout=10 03:55:43 Merge succeeded, producing 23eaf68d626cf1c0dd61e78c25a860b20251206b 03:55:43 Checking out Revision 23eaf68d626cf1c0dd61e78c25a860b20251206b (PR-878) 03:55:44 Merging remotes/origin/master commit 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit 23eaf68d626cf1c0dd61e78c25a860b20251206b 03:55:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:55:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:55:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:55:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:55:43 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/878/head:refs/remotes/origin/PR-878 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:55:44 > git config core.sparsecheckout # timeout=10 03:55:44 > git checkout -f 23eaf68d626cf1c0dd61e78c25a860b20251206b # timeout=10 03:55:44 Merge succeeded, producing 23eaf68d626cf1c0dd61e78c25a860b20251206b 03:55:44 Checking out Revision 23eaf68d626cf1c0dd61e78c25a860b20251206b (PR-878) 03:55:43 > git remote # timeout=10 03:55:43 > git config --get remote.origin.url # timeout=10 03:55:43 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:43 > git merge 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 03:55:43 > git rev-parse HEAD^{commit} # timeout=10 03:55:43 > git config core.sparsecheckout # timeout=10 03:55:43 > git checkout -f 23eaf68d626cf1c0dd61e78c25a860b20251206b # timeout=10 03:55:44 > git remote # timeout=10 03:55:44 > git config --get remote.origin.url # timeout=10 03:55:44 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:44 > git merge 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 03:55:44 > git rev-parse HEAD^{commit} # timeout=10 03:55:44 > git config core.sparsecheckout # timeout=10 03:55:44 > git checkout -f 23eaf68d626cf1c0dd61e78c25a860b20251206b # timeout=10 03:55:47 Commit message: "fix: add logLevel check in LoggingMiddleware" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:55:48 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:55:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:55:48 Commit message: "fix: add logLevel check in LoggingMiddleware" 03:55:49 + sudo service docker restart 03:55:49 + true 03:55:49 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:55:50 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 03:55:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:55:50 + true 03:55:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:55:51 provisioning config files... 03:55:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config617140251086430719tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:51 ---> docker-login.sh 03:55:51 nexus3.edgexfoundry.org:10001 03:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:51 Configure a credential helper to remove this warning. See 03:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:51 03:55:51 Login Succeeded 03:55:51 nexus3.edgexfoundry.org:10002 03:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:52 Configure a credential helper to remove this warning. See 03:55:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:52 03:55:52 Login Succeeded 03:55:52 nexus3.edgexfoundry.org:10003 03:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:52 Configure a credential helper to remove this warning. See 03:55:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:52 03:55:52 Login Succeeded 03:55:52 nexus3.edgexfoundry.org:10004 03:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:52 Configure a credential helper to remove this warning. See 03:55:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:52 03:55:52 Login Succeeded 03:55:52 docker.io 03:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:53 Configure a credential helper to remove this warning. See 03:55:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:53 03:55:53 Login Succeeded 03:55:53 ---> docker-login.sh ends [Pipeline] } 03:55:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:55:53 ========================================================= 03:55:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:55:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:55:53 + 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 . [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:55:53 provisioning config files... 03:55:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4238266589482587214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:53 Sending build context to Docker daemon 2.467MB 03:55:53 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 03:55:53 Step 2/8 : FROM ${BASE} 03:55:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:55:53 188c0c94c7c5: Pulling fs layer 03:55:53 0ef7d3d256c8: Pulling fs layer 03:55:53 de9db76c5a1d: Pulling fs layer 03:55:53 bca2f99d35d6: Pulling fs layer 03:55:53 93359f2a8cfa: Pulling fs layer 03:55:53 7c6f9722023f: Pulling fs layer 03:55:53 a35cf1a2eb13: Pulling fs layer 03:55:53 7c6f9722023f: Waiting 03:55:53 93359f2a8cfa: Waiting 03:55:53 bca2f99d35d6: Waiting 03:55:53 de9db76c5a1d: Verifying Checksum 03:55:53 de9db76c5a1d: Download complete 03:55:53 0ef7d3d256c8: Download complete 03:55:53 93359f2a8cfa: Verifying Checksum 03:55:53 93359f2a8cfa: Download complete 03:55:54 ---> docker-login.sh 03:55:54 nexus3.edgexfoundry.org:10001 03:55:54 188c0c94c7c5: Download complete 03:55:54 7c6f9722023f: Verifying Checksum 03:55:54 7c6f9722023f: Download complete 03:55:54 188c0c94c7c5: Pull complete 03:55:54 0ef7d3d256c8: Pull complete 03:55:54 de9db76c5a1d: Pull complete 03:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:55 Configure a credential helper to remove this warning. See 03:55:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:55 03:55:55 Login Succeeded 03:55:55 nexus3.edgexfoundry.org:10002 03:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:55 Configure a credential helper to remove this warning. See 03:55:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:55 03:55:55 Login Succeeded 03:55:55 nexus3.edgexfoundry.org:10003 03:55:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:56 Configure a credential helper to remove this warning. See 03:55:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:56 03:55:56 Login Succeeded 03:55:56 nexus3.edgexfoundry.org:10004 03:55:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:56 a35cf1a2eb13: Verifying Checksum 03:55:56 a35cf1a2eb13: Download complete 03:55:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:56 Configure a credential helper to remove this warning. See 03:55:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:56 03:55:56 Login Succeeded 03:55:56 docker.io 03:55:56 bca2f99d35d6: Verifying Checksum 03:55:56 bca2f99d35d6: Download complete 03:55:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:57 Configure a credential helper to remove this warning. See 03:55:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:57 03:55:57 Login Succeeded 03:55:57 ---> docker-login.sh ends [Pipeline] } 03:55:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:55:57 ========================================================= 03:55:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 03:55:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:55: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 . 03:55:58 Sending build context to Docker daemon 2.466MB 03:55:58 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 03:55:58 Step 2/8 : FROM ${BASE} 03:55:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:55:58 5f621e34cdf4: Pulling fs layer 03:55:58 a4357932f1b6: Pulling fs layer 03:55:58 18c013af1878: Pulling fs layer 03:55:58 00ac8860ef70: Pulling fs layer 03:55:58 63d7cb157983: Pulling fs layer 03:55:58 b116817d02f9: Pulling fs layer 03:55:58 745a02a5169b: Pulling fs layer 03:55:58 63d7cb157983: Waiting 03:55:58 00ac8860ef70: Waiting 03:55:58 b116817d02f9: Waiting 03:55:58 745a02a5169b: Waiting 03:55:58 18c013af1878: Verifying Checksum 03:55:58 18c013af1878: Download complete 03:55:58 a4357932f1b6: Verifying Checksum 03:55:58 a4357932f1b6: Download complete 03:55:58 63d7cb157983: Verifying Checksum 03:55:58 63d7cb157983: Download complete 03:55:58 b116817d02f9: Verifying Checksum 03:55:58 b116817d02f9: Download complete 03:55:58 5f621e34cdf4: Verifying Checksum 03:55:58 5f621e34cdf4: Download complete 03:55:58 5f621e34cdf4: Pull complete 03:55:59 a4357932f1b6: Pull complete 03:55:59 18c013af1878: Pull complete 03:56:00 745a02a5169b: Verifying Checksum 03:56:00 745a02a5169b: Download complete 03:56:01 00ac8860ef70: Verifying Checksum 03:56:01 00ac8860ef70: Download complete 03:56:03 bca2f99d35d6: Pull complete 03:56:03 93359f2a8cfa: Pull complete 03:56:03 7c6f9722023f: Pull complete 03:56:07 a35cf1a2eb13: Pull complete 03:56:07 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 03:56:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:56:07 ---> a62c8e92a672 03:56:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:56:08 ---> Running in 57d505c41000 03:56:08 Removing intermediate container 57d505c41000 03:56:08 ---> 87fda3abc095 03:56:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:56:08 ---> Running in c895fb1892f1 03:56:09 Removing intermediate container c895fb1892f1 03:56:09 ---> 633ced388164 03:56:09 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 03:56:09 ---> Running in d1acc4a95843 03:56:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:56:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:56:11 (1/6) Installing libc-dev (0.7.2-r3) 03:56:11 (2/6) Installing libsodium (1.0.18-r0) 03:56:11 (3/6) Installing pkgconf (1.7.2-r0) 03:56:11 (4/6) Installing libsodium-dev (1.0.18-r0) 03:56:12 00ac8860ef70: Pull complete 03:56:12 63d7cb157983: Pull complete 03:56:12 (5/6) Installing libzmq (4.3.3-r0) 03:56:12 (6/6) Installing zeromq-dev (4.3.3-r0) 03:56:12 Executing busybox-1.31.1-r19.trigger 03:56:12 OK: 167 MiB in 45 packages 03:56:12 b116817d02f9: Pull complete 03:56:13 Removing intermediate container d1acc4a95843 03:56:13 ---> e93cc53ef816 03:56:13 Step 6/8 : WORKDIR /device-sdk-go 03:56:13 ---> Running in cab72d665954 03:56:13 Removing intermediate container cab72d665954 03:56:13 ---> 45dbf23fcf28 03:56:13 Step 7/8 : COPY . . 03:56:15 ---> b3bb62d97974 03:56:15 Step 8/8 : RUN go mod download 03:56:15 ---> Running in 0313dfbaf6ae 03:56:17 745a02a5169b: Pull complete 03:56:17 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 03:56:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 03:56:17 ---> b7e6874047d6 03:56:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:56:19 ---> Running in e14ddf123c6c 03:56:19 Removing intermediate container e14ddf123c6c 03:56:19 ---> 3eb1fd7885ce 03:56:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:56:19 ---> Running in 5ecd19bf308e 03:56:22 Removing intermediate container 5ecd19bf308e 03:56:22 ---> 2567fce3e58f 03:56:22 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 03:56:22 ---> Running in 0d81c8cc6f77 03:56:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:56:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:56:25 (1/6) Installing libc-dev (0.7.2-r3) 03:56:25 (2/6) Installing libsodium (1.0.18-r0) 03:56:25 (3/6) Installing pkgconf (1.7.2-r0) 03:56:25 (4/6) Installing libsodium-dev (1.0.18-r0) 03:56:25 (5/6) Installing libzmq (4.3.3-r0) 03:56:25 (6/6) Installing zeromq-dev (4.3.3-r0) 03:56:25 Executing busybox-1.31.1-r19.trigger 03:56:25 OK: 144 MiB in 45 packages 03:56:26 Removing intermediate container 0d81c8cc6f77 03:56:26 ---> 459adcffd165 03:56:26 Step 6/8 : WORKDIR /device-sdk-go 03:56:26 ---> Running in 16e07ad95c7e 03:56:27 Removing intermediate container 16e07ad95c7e 03:56:27 ---> eacaaf64fbc2 03:56:27 Step 7/8 : COPY . . 03:56:28 ---> 92d0044f81af 03:56:28 Step 8/8 : RUN go mod download 03:56:28 ---> Running in bd4ea99e434d 03:56:37 Removing intermediate container 0313dfbaf6ae 03:56:37 ---> 0e1080684eaf 03:56:37 Successfully built 0e1080684eaf 03:56:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:56:37 + docker inspect -f . ci-base-image-x86_64 03:56:37 . [Pipeline] withDockerContainer 03:56:37 prd-centos7-docker-4c-2g-198 does not seem to be running inside a container 03:56:37 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:56:38 $ docker top aa1b3d8447d1e9123f36deda6d0bb3e833fd67dd7b1370c3a8b65b56838654c1 -eo pid,comm [Pipeline] { [Pipeline] sh 03:56:39 + go version 03:56:39 go version go1.15.5 linux/amd64 [Pipeline] } 03:56:39 $ docker stop --time=1 aa1b3d8447d1e9123f36deda6d0bb3e833fd67dd7b1370c3a8b65b56838654c1 03:56:40 $ docker rm -f aa1b3d8447d1e9123f36deda6d0bb3e833fd67dd7b1370c3a8b65b56838654c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:56:41 + docker inspect -f . ci-base-image-x86_64 03:56:41 . [Pipeline] withDockerContainer 03:56:41 prd-centos7-docker-4c-2g-198 does not seem to be running inside a container 03:56:41 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:56:42 $ docker top 5a19f109bfea483c1fc690ea7595735b73116dad9fab8f0e04691b8a70500672 -eo pid,comm [Pipeline] { [Pipeline] sh 03:56:42 + make test 03:56:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:56:50 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:56:55 Removing intermediate container bd4ea99e434d 03:56:55 ---> c5507e1d956e 03:56:55 Successfully built c5507e1d956e 03:56:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:56:55 + docker inspect -f . ci-base-image-arm64 03:56:55 . [Pipeline] withDockerContainer 03:56:56 prd-ubuntu18.04-docker-arm64-4c-16g-197 does not seem to be running inside a container 03:56: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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:56:57 $ docker top fa9d6525032a01bc8bf5f38c1ab2aea7b6299a5f80a87fd57b96903b1c4da5f2 -eo pid,comm [Pipeline] { [Pipeline] sh 03:56:58 + go version 03:56:58 go version go1.15.5 linux/arm64 [Pipeline] } 03:56:58 $ docker stop --time=1 fa9d6525032a01bc8bf5f38c1ab2aea7b6299a5f80a87fd57b96903b1c4da5f2 03:57:00 $ docker rm -f fa9d6525032a01bc8bf5f38c1ab2aea7b6299a5f80a87fd57b96903b1c4da5f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:57:01 + docker inspect -f . ci-base-image-arm64 03:57:01 . [Pipeline] withDockerContainer 03:57:01 prd-ubuntu18.04-docker-arm64-4c-16g-197 does not seem to be running inside a container 03:57:01 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:57:03 $ docker top 2f2891d259a92027add25b9e95bcab7b30fdc2d67dc89a711d0b88597415b104 -eo pid,comm [Pipeline] { [Pipeline] sh 03:57:04 + make test 03:57:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:57:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:57:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 03:57:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:57:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 03:57:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:57:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.107s coverage: 28.1% of statements 03:57:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 78.9% of statements 03:57:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.074s coverage: 7.8% of statements 03:57:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 03:57:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 03:57:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:57:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.087s coverage: 32.0% of statements 03:57:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 03:57:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:57:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:57:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.109s coverage: 57.1% of statements 03:57:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.225s coverage: 6.6% of statements 03:57:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 03:57:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:57:17 GO111MODULE=on go vet ./... 03:57:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:57:35 gofmt -l . 03:57:35 [ "`gofmt -l .`" = "" ] 03:57:35 ./bin/test-attribution-txt.sh 03:57:35 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:57:35 $ docker stop --time=1 5a19f109bfea483c1fc690ea7595735b73116dad9fab8f0e04691b8a70500672 03:57:37 $ docker rm -f 5a19f109bfea483c1fc690ea7595735b73116dad9fab8f0e04691b8a70500672 [Pipeline] // withDockerContainer [Pipeline] sh 03:57:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:57:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:57:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:57:41 + ls -al . 03:57:41 total 188 03:57:41 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 15 03:57 . 03:57:41 drwxrwxr-x. 4 jenkins jenkins 28 Apr 15 03:55 .. 03:57:41 drwxrwxr-x. 2 jenkins jenkins 64 Apr 15 03:55 bin 03:57:41 -rw-r--r--. 1 jenkins jenkins 99932 Apr 15 03:57 coverage.out 03:57:41 -rw-rw-r--. 1 jenkins jenkins 987 Apr 15 03:55 Dockerfile.build 03:57:41 -rw-rw-r--. 1 jenkins jenkins 140 Apr 15 03:55 .dockerignore 03:57:41 drwxrwxr-x. 5 jenkins jenkins 62 Apr 15 03:55 example 03:57:41 drwxrwxr-x. 8 jenkins jenkins 179 Apr 15 03:55 .git 03:57:41 drwxrwxr-x. 2 jenkins jenkins 103 Apr 15 03:55 .github 03:57:41 -rw-rw-r--. 1 jenkins jenkins 138 Apr 15 03:55 .gitignore 03:57:41 -rw-r--r--. 1 jenkins jenkins 574 Apr 15 03:57 go.mod 03:57:41 -rw-r--r--. 1 jenkins jenkins 20735 Apr 15 03:57 go.sum 03:57:41 drwxrwxr-x. 14 jenkins jenkins 207 Apr 15 03:55 internal 03:57:41 -rw-rw-r--. 1 jenkins jenkins 901 Apr 15 03:55 Jenkinsfile 03:57:41 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 15 03:55 LICENSE 03:57:41 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 15 03:55 Makefile 03:57:41 drwxrwxr-x. 4 jenkins jenkins 26 Apr 15 03:55 openapi 03:57:41 drwxrwxr-x. 5 jenkins jenkins 50 Apr 15 03:55 pkg 03:57:41 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 15 03:55 README.md 03:57:41 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 15 03:55 RELEASE-NOTES.txt 03:57:41 drwxrwxr-x. 4 jenkins jenkins 54 Apr 15 03:55 snap 03:57:41 -rw-rw-r--. 1 jenkins jenkins 5 Apr 15 03:52 VERSION 03:57:41 -rw-rw-r--. 1 jenkins jenkins 222 Apr 15 03:55 version.go [Pipeline] isUnix [Pipeline] sh 03:57:41 + 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=23eaf68d626cf1c0dd61e78c25a860b20251206b --label arch=amd64 --label version=0.0.0 . 03:57:41 Sending build context to Docker daemon 2.568MB 03:57:41 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 03:57:41 Step 2/23 : FROM ${BASE} AS builder 03:57:41 ---> 0e1080684eaf 03:57:41 Step 3/23 : WORKDIR /device-sdk-go 03:57:42 ---> Running in 8239213a638f 03:57:42 Removing intermediate container 8239213a638f 03:57:42 ---> ee178e114a27 03:57:42 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:57:42 ---> Running in b56a9de1ba60 03:57:42 Removing intermediate container b56a9de1ba60 03:57:42 ---> 9b8d51e3aac1 03:57:42 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:57:43 ---> Running in bb40e1e130e4 03:57:44 Removing intermediate container bb40e1e130e4 03:57:44 ---> 6c4a9074d1e8 03:57:44 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:57:44 ---> Running in dae762de977b 03:57:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:57:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:57:46 OK: 167 MiB in 45 packages 03:57:46 Removing intermediate container dae762de977b 03:57:46 ---> 2828651f82e7 03:57:46 Step 7/23 : COPY . . 03:57:47 ---> bdfbd45c564d 03:57:47 Step 8/23 : RUN go mod download 03:57:47 ---> Running in f41d6def10b6 03:57:49 Removing intermediate container f41d6def10b6 03:57:49 ---> c1755858c1b0 03:57:49 Step 9/23 : RUN make build 03:57:49 ---> Running in c07ab070f9f8 03:57:49 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 03:58:02 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 03:58:04 Removing intermediate container c07ab070f9f8 03:58:04 ---> e0746219c853 03:58:04 Step 10/23 : FROM alpine:3.12 03:58:04 3.12: Pulling from library/alpine 03:58:04 339de151aab4: Pulling fs layer 03:58:05 339de151aab4: Verifying Checksum 03:58:05 339de151aab4: Download complete 03:58:05 339de151aab4: Pull complete 03:58:05 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 03:58:05 Status: Downloaded newer image for alpine:3.12 03:58:05 ---> 13621d1b12d4 03:58:05 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:58:05 ---> Running in d8468009d5d4 03:58:05 Removing intermediate container d8468009d5d4 03:58:05 ---> 66815ef4c12d 03:58:05 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:58:06 ---> Running in eac033411e94 03:58:07 Removing intermediate container eac033411e94 03:58:07 ---> 7ac74236182b 03:58:07 Step 13/23 : RUN apk add --update --no-cache zeromq 03:58:07 ---> Running in 56bc4aca1fec 03:58:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:58:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:58:10 (1/5) Installing libgcc (9.3.0-r2) 03:58:10 (2/5) Installing libsodium (1.0.18-r0) 03:58:10 (3/5) Installing libstdc++ (9.3.0-r2) 03:58:10 (4/5) Installing libzmq (4.3.3-r0) 03:58:11 (5/5) Installing zeromq (4.3.3-r0) 03:58:11 Executing busybox-1.31.1-r20.trigger 03:58:11 OK: 8 MiB in 19 packages 03:58:11 Removing intermediate container 56bc4aca1fec 03:58:11 ---> 192c450b270d 03:58:11 Step 14/23 : WORKDIR / 03:58:11 ---> Running in fc21de16ddc7 03:58:11 Removing intermediate container fc21de16ddc7 03:58:11 ---> 2ce5da3e0ee1 03:58:11 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:58:12 ---> 0354563c7cc8 03:58:12 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:58:13 ---> ebc1dfc6f0b2 03:58:13 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:58:13 ---> a47cc24a205e 03:58:13 Step 18/23 : EXPOSE 49990 03:58:13 ---> Running in 4ecf4fd39a10 03:58:13 Removing intermediate container 4ecf4fd39a10 03:58:13 ---> 354586cde983 03:58:13 Step 19/23 : ENTRYPOINT ["/device-simple"] 03:58:13 ---> Running in 84ebd7b2feae 03:58:13 Removing intermediate container 84ebd7b2feae 03:58:13 ---> 16a057d59818 03:58:13 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:58:13 ---> Running in 08e030c2ff2d 03:58:13 Removing intermediate container 08e030c2ff2d 03:58:13 ---> 49211eeacc0f 03:58:13 Step 21/23 : LABEL arch=amd64 03:58:14 ---> Running in 828c85f97ba1 03:58:14 Removing intermediate container 828c85f97ba1 03:58:14 ---> 57f5b4f04bc1 03:58:14 Step 22/23 : LABEL git_sha=23eaf68d626cf1c0dd61e78c25a860b20251206b 03:58:14 ---> Running in de2e80af875c 03:58:14 Removing intermediate container de2e80af875c 03:58:14 ---> a4e21199b0e2 03:58:14 Step 23/23 : LABEL version=0.0.0 03:58:14 ---> Running in 8280e75950a0 03:58:14 Removing intermediate container 8280e75950a0 03:58:14 ---> 27aff809360d 03:58:14 [Warning] One or more build-args [ARCH MAKE] were not consumed 03:58:14 Successfully built 27aff809360d 03:58:14 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 03:58:15 ---> job-cost.sh 03:58:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gmED 03:58:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:58:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 03:58:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:58:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 03:58:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:58:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.127s coverage: 28.1% of statements 03:58:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.174s coverage: 78.9% of statements 03:58:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.141s coverage: 7.8% of statements 03:58:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 03:58:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 03:58:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:58:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.317s coverage: 32.0% of statements 03:58:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 03:58:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:58:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:58:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:58:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.327s coverage: 57.1% of statements 03:58:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.129s coverage: 6.6% of statements 03:58:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements 03:58:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:58:31 GO111MODULE=on go vet ./... 03:59:02 lf-activate-venv(): INFO: Adding /tmp/venv-gmED/bin to PATH 03:59:02 INFO: No Stack... 03:59:02 INFO: Retrieving Pricing Info for: v1-standard-2 03:59:02 INFO: Archiving Costs [Pipeline] sh 03:59:03 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 03:59:03 + cut -d, -f6 [Pipeline] lock 03:59:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-878-3-stack-cost] 03:59:03 Resource [jenkins-edgexfoundry-device-sdk-go-PR-878-3-stack-cost] did not exist. Created. 03:59:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-878-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:59:03 + echo total: 0.029999999329447746 [Pipeline] stash 03:59:03 Stashed 1 file(s) [Pipeline] } 03:59:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-878-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:59:18 gofmt -l . 03:59:18 [ "`gofmt -l .`" = "" ] 03:59:18 ./bin/test-attribution-txt.sh 03:59:18 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:59:18 $ docker stop --time=1 2f2891d259a92027add25b9e95bcab7b30fdc2d67dc89a711d0b88597415b104 03:59:20 $ docker rm -f 2f2891d259a92027add25b9e95bcab7b30fdc2d67dc89a711d0b88597415b104 [Pipeline] // withDockerContainer [Pipeline] sh 03:59:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:59:21 Warning: overwriting stash ‘coverage-report’ 03:59:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:59:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:59:23 + ls -al . 03:59:23 total 224 03:59:23 drwxrwxr-x 10 jenkins jenkins 4096 Apr 15 03:59 . 03:59:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 03:55 .. 03:59:23 -rw-rw-r-- 1 jenkins jenkins 140 Apr 15 03:55 .dockerignore 03:59:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 03:55 .git 03:59:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 03:55 .github 03:59:23 -rw-rw-r-- 1 jenkins jenkins 138 Apr 15 03:55 .gitignore 03:59:23 -rw-rw-r-- 1 jenkins jenkins 987 Apr 15 03:55 Dockerfile.build 03:59:23 -rw-rw-r-- 1 jenkins jenkins 901 Apr 15 03:55 Jenkinsfile 03:59:23 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 15 03:55 LICENSE 03:59:23 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 15 03:55 Makefile 03:59:23 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 15 03:55 README.md 03:59:23 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 15 03:55 RELEASE-NOTES.txt 03:59:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 03:52 VERSION 03:59:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 03:55 bin 03:59:23 -rw-r--r-- 1 jenkins jenkins 99931 Apr 15 03:58 coverage.out 03:59:23 drwxrwxr-x 5 jenkins jenkins 4096 Apr 15 03:55 example 03:59:23 -rw-r--r-- 1 jenkins jenkins 574 Apr 15 03:59 go.mod 03:59:23 -rw-r--r-- 1 jenkins jenkins 20735 Apr 15 03:59 go.sum 03:59:23 drwxrwxr-x 14 jenkins jenkins 4096 Apr 15 03:55 internal 03:59:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 03:55 openapi 03:59:23 drwxrwxr-x 5 jenkins jenkins 4096 Apr 15 03:55 pkg 03:59:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 03:55 snap 03:59:23 -rw-rw-r-- 1 jenkins jenkins 222 Apr 15 03:55 version.go [Pipeline] isUnix [Pipeline] sh 03:59:24 + 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=23eaf68d626cf1c0dd61e78c25a860b20251206b --label arch=arm64 --label version=0.0.0 . 03:59:24 Sending build context to Docker daemon 2.567MB 03:59:24 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 03:59:24 Step 2/23 : FROM ${BASE} AS builder 03:59:24 ---> c5507e1d956e 03:59:24 Step 3/23 : WORKDIR /device-sdk-go 03:59:25 ---> Running in bae6b894d631 03:59:25 Removing intermediate container bae6b894d631 03:59:25 ---> fce45b538512 03:59:25 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:59:25 ---> Running in c0de21886f0d 03:59:26 Removing intermediate container c0de21886f0d 03:59:26 ---> 878e05c31a3b 03:59:26 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:59:26 ---> Running in 19aa314f535b 03:59:28 Removing intermediate container 19aa314f535b 03:59:28 ---> ff7b1d6c8e34 03:59:28 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:59:28 ---> Running in 0147f1390dbc 03:59:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:59:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:59:31 OK: 144 MiB in 45 packages 03:59:32 Removing intermediate container 0147f1390dbc 03:59:32 ---> f6e28e54de7a 03:59:32 Step 7/23 : COPY . . 03:59:33 ---> b349137d7fdf 03:59:33 Step 8/23 : RUN go mod download 03:59:33 ---> Running in 0243a754f10b 03:59:36 Removing intermediate container 0243a754f10b 03:59:36 ---> f973bf9ef11c 03:59:36 Step 9/23 : RUN make build 03:59:36 ---> Running in da2e2e17b05d 03:59:37 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 04:00:09 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:00:12 Removing intermediate container da2e2e17b05d 04:00:12 ---> 88ad42a5d317 04:00:12 Step 10/23 : FROM alpine:3.12 04:00:12 3.12: Pulling from library/alpine 04:00:12 d2f70382dc9a: Pulling fs layer 04:00:12 d2f70382dc9a: Verifying Checksum 04:00:12 d2f70382dc9a: Download complete 04:00:13 d2f70382dc9a: Pull complete 04:00:13 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 04:00:13 Status: Downloaded newer image for alpine:3.12 04:00:13 ---> 9852663dfa18 04:00:13 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:00:13 ---> Running in 7ad758bf574c 04:00:14 Removing intermediate container 7ad758bf574c 04:00:14 ---> 8fd88ff0288f 04:00:14 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:00:14 ---> Running in 9ae688d87c18 04:00:16 Removing intermediate container 9ae688d87c18 04:00:16 ---> 166f67cf23e2 04:00:16 Step 13/23 : RUN apk add --update --no-cache zeromq 04:00:16 ---> Running in 0be8f50caccd 04:00:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:00:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:00:19 (1/5) Installing libgcc (9.3.0-r2) 04:00:19 (2/5) Installing libsodium (1.0.18-r0) 04:00:19 (3/5) Installing libstdc++ (9.3.0-r2) 04:00:19 (4/5) Installing libzmq (4.3.3-r0) 04:00:19 (5/5) Installing zeromq (4.3.3-r0) 04:00:19 Executing busybox-1.31.1-r20.trigger 04:00:19 OK: 8 MiB in 19 packages 04:00:20 Removing intermediate container 0be8f50caccd 04:00:20 ---> b8ffc69e2895 04:00:20 Step 14/23 : WORKDIR / 04:00:20 ---> Running in 25750556860d 04:00:21 Removing intermediate container 25750556860d 04:00:21 ---> 5f92babaee72 04:00:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:00:22 ---> a9ef17f8fca2 04:00:22 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:00:23 ---> 40a6236855a3 04:00:23 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:00:24 ---> 23a17fbd9a05 04:00:24 Step 18/23 : EXPOSE 49990 04:00:24 ---> Running in 3934b498ad0a 04:00:24 Removing intermediate container 3934b498ad0a 04:00:24 ---> bc8a3013c966 04:00:24 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:00:24 ---> Running in 78ffb15ae775 04:00:25 Removing intermediate container 78ffb15ae775 04:00:25 ---> 96fa1f985482 04:00:25 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:00:25 ---> Running in 86abba0d7b9f 04:00:25 Removing intermediate container 86abba0d7b9f 04:00:25 ---> 22386637c200 04:00:25 Step 21/23 : LABEL arch=arm64 04:00:25 ---> Running in b08ed2970f06 04:00:26 Removing intermediate container b08ed2970f06 04:00:26 ---> 9e34d8ccedba 04:00:26 Step 22/23 : LABEL git_sha=23eaf68d626cf1c0dd61e78c25a860b20251206b 04:00:26 ---> Running in 583345a9a46a 04:00:27 Removing intermediate container 583345a9a46a 04:00:27 ---> a7f8dc918149 04:00:27 Step 23/23 : LABEL version=0.0.0 04:00:27 ---> Running in c3e0b3df7f42 04:00:27 Removing intermediate container c3e0b3df7f42 04:00:27 ---> 3411e76853b9 04:00:27 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:00:27 Successfully built 3411e76853b9 04:00:27 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 04:00:28 ---> job-cost.sh 04:00:28 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SGna 04:01:07 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:02:43 lf-activate-venv(): INFO: Adding /tmp/venv-SGna/bin to PATH 04:02:43 INFO: No Stack... 04:02:43 INFO: Retrieving Pricing Info for: lf-standard-4 04:02:43 INFO: Archiving Costs [Pipeline] sh 04:02:44 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 04:02:44 + cut -d, -f6 [Pipeline] lock 04:02:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-878-3-stack-cost] 04:02:44 Resource [jenkins-edgexfoundry-device-sdk-go-PR-878-3-stack-cost] did not exist. Created. 04:02:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-878-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:02:44 /w/workspace/device-sdk-go/3@tmp/durable-e286a2a0/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-e286a2a0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:02:45 + echo total: 0.20999999344348907 [Pipeline] stash 04:02:45 Warning: overwriting stash ‘stack-cost’ 04:02:45 Stashed 1 file(s) [Pipeline] } 04:02:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-878-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 04:02:45 provisioning config files... 04:02:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config2671736299495426219tmp [Pipeline] { [Pipeline] sh 04:02:46 + set +x 04:02:46 + bash -s -- 04:02:46 + curl -s https://codecov.io/bash 04:02:46 04:02:46 _____ _ 04:02:46 / ____| | | 04:02:46 | | ___ __| | ___ ___ _____ __ 04:02:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:02:46 | |___| (_) | (_| | __/ (_| (_) \ V / 04:02:46 \_____\___/ \__,_|\___|\___\___/ \_/ 04:02:46 Bash-1.0.1 04:02:46 04:02:46 04:02:46 ==> git version 2.24.3 found 04:02:46 ==> 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 04:02:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:02:46 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:02:46 ==> Jenkins CI detected. 04:02:46 project root: . 04:02:46 --> token set from env 04:02:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:02:46 ==> Running gcov in . (disable via -X gcov) 04:02:46 ==> Python coveragepy not found 04:02:46 ==> Searching for coverage reports in: 04:02:46 + . 04:02:46 -> Found 1 reports 04:02:46 ==> Detecting git/mercurial file structure 04:02:46 ==> Reading reports 04:02:46 + ./coverage.out bytes=99931 04:02:46 ==> Appending adjustments 04:02:46 https://docs.codecov.io/docs/fixing-reports 04:02:47 + Found adjustments 04:02:47 ==> Gzipping contents 04:02:47 16K /tmp/codecov.NVVREy.gz 04:02:47 ==> Uploading reports 04:02:47 url: https://codecov.io 04:02:47 query: branch=PR-878&commit=23eaf68d626cf1c0dd61e78c25a860b20251206b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-878%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=878&job=&cmd_args= 04:02:47 -> Pinging Codecov 04:02:47 https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-878&commit=23eaf68d626cf1c0dd61e78c25a860b20251206b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-878%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=878&job=&cmd_args= 04:02:47 -> Uploading to 04:02:47 https://storage.googleapis.com/codecov/v4/raw/2021-04-15/7E55EF52A471D76F132DFD9A03CDDE97/23eaf68d626cf1c0dd61e78c25a860b20251206b/d89474b4-2393-4cf3-abdf-036b6c3df652.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210415%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210415T040247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9a73dc6f32d29b7f5c130bed8ba685f0b4d1fb3a5d891a445ee0f275c348d087 04:02:47 % Total % Received % Xferd Average Speed Time Time Time Current 04:02:47 Dload Upload Total Spent Left Speed 04:02:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13525 0 0 100 13525 0 26023 --:--:-- --:--:-- --:--:-- 26009 100 13525 0 0 100 13525 0 26006 --:--:-- --:--:-- --:--:-- 26009 04:02:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/23eaf68d626cf1c0dd61e78c25a860b20251206b [Pipeline] } 04:02:48 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 04:02:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:02:49 ---> package-listing.sh 04:02:49 ++ facter osfamily 04:02:49 ++ tr '[:upper:]' '[:lower:]' 04:02:49 + OS_FAMILY=redhat 04:02:49 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-878 04:02:49 + START_PACKAGES=/tmp/packages_start.txt 04:02:49 + END_PACKAGES=/tmp/packages_end.txt 04:02:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:02:49 + PACKAGES=/tmp/packages_start.txt 04:02:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-878 ']' 04:02:49 + PACKAGES=/tmp/packages_end.txt 04:02:49 + case "${OS_FAMILY}" in 04:02:49 + rpm -qa 04:02:49 + sort 04:02:54 + '[' -f /tmp/packages_start.txt ']' 04:02:54 + '[' -f /tmp/packages_end.txt ']' 04:02:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:02:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-878 ']' 04:02:54 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-878/archives/ 04:02:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-878/archives/ [Pipeline] echo 04:02:54 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-878/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:02:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:02:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:02:55 04:02:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:02:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:02:55 alpine: Pulling from edgex-lftools-log-publisher 04:02:55 df20fa9351a1: Pulling fs layer 04:02:55 36b3adc4ff6f: Pulling fs layer 04:02:55 8ad3a11d3b57: Pulling fs layer 04:02:55 46f8f816bc3b: Pulling fs layer 04:02:55 93b61091891f: Pulling fs layer 04:02:55 93b9cdb0e59b: Pulling fs layer 04:02:55 5e14af77c1be: Pulling fs layer 04:02:55 01666e4c0597: Pulling fs layer 04:02:55 aa168da1d23b: Pulling fs layer 04:02:55 93b9cdb0e59b: Waiting 04:02:55 5e14af77c1be: Waiting 04:02:55 01666e4c0597: Waiting 04:02:55 93b61091891f: Waiting 04:02:55 46f8f816bc3b: Waiting 04:02:55 aa168da1d23b: Waiting 04:02:55 36b3adc4ff6f: Verifying Checksum 04:02:55 36b3adc4ff6f: Download complete 04:02:55 46f8f816bc3b: Verifying Checksum 04:02:55 46f8f816bc3b: Download complete 04:02:56 df20fa9351a1: Verifying Checksum 04:02:56 df20fa9351a1: Download complete 04:02:56 93b9cdb0e59b: Verifying Checksum 04:02:56 93b9cdb0e59b: Download complete 04:02:56 5e14af77c1be: Download complete 04:02:56 93b61091891f: Verifying Checksum 04:02:56 93b61091891f: Download complete 04:02:56 01666e4c0597: Verifying Checksum 04:02:56 01666e4c0597: Download complete 04:02:56 8ad3a11d3b57: Verifying Checksum 04:02:56 8ad3a11d3b57: Download complete 04:02:56 df20fa9351a1: Pull complete 04:02:56 36b3adc4ff6f: Pull complete 04:02:57 8ad3a11d3b57: Pull complete 04:02:57 46f8f816bc3b: Pull complete 04:02:58 93b61091891f: Pull complete 04:02:58 93b9cdb0e59b: Pull complete 04:02:58 5e14af77c1be: Pull complete 04:02:58 aa168da1d23b: Verifying Checksum 04:02:58 aa168da1d23b: Download complete 04:02:58 01666e4c0597: Pull complete 04:03:05 aa168da1d23b: Pull complete 04:03:05 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:03:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:03:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:03:05 prd-centos7-docker-4c-2g-196 does not seem to be running inside a container 04:03:05 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-878/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-878 -v /w/workspace/dgexfoundry_device-sdk-go_PR-878:/w/workspace/dgexfoundry_device-sdk-go_PR-878:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:03:08 $ docker top bc87916b9577ad01953fbade8cd0ce24fb0a7a2827cba5de6e2c877ee5b90e13 -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:09 + touch /tmp/pre-build-complete [Pipeline] sh 04:03:09 + mkdir -p /var/log/sa [Pipeline] sh 04:03:09 + ls /var/log/sa-host 04:03:09 + sadf -c /var/log/sa-host/sa15 04:03:09 file_magic: OK 04:03:09 HZ: Using current value: 100 04:03:09 file_header: OK 04:03:09 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 04:03:09 Statistics: 04:03:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:03:09 File successfully converted to sysstat format version 12.2.1 04:03:09 + sadf -c /var/log/sa-host/sa23 04:03:09 file_magic: OK 04:03:09 HZ: Using current value: 100 04:03:09 file_header: OK 04:03:09 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 04:03:09 Statistics: 04:03:09 Hnuu...uuuununununu... 04:03:09 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:03:10 provisioning config files... 04:03:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-878@tmp/config2488390603635927409tmp [Pipeline] { [Pipeline] echo 04:03:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:03:10 ---> create-netrc.sh [Pipeline] } 04:03:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:03:10 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:03:10 ---> python-tools-install.sh [Pipeline] echo 04:03:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:03:11 ---> sudo-logs.sh 04:03:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:03:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:03:11 ---> job-cost.sh 04:03:11 lf-activate-venv: SKIPPING 04:03:11 DEBUG: total: 0.20999999344348907 04:03:11 INFO: Retrieving Stack Cost... 04:03:12 INFO: Retrieving Pricing Info for: v1-standard-2 04:03:13 INFO: Archiving Costs [Pipeline] echo 04:03:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:03:13 ---> logs-deploy.sh 04:03:13 lf-activate-venv: SKIPPING 04:03:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-878/3 04:03:13 INFO: archiving workspace using pattern(s): 04:03:15 Archives upload complete. 04:03:15 INFO: archiving logs to Nexus