Pull request #856 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c05abfa9ff339559ddeb33c0824f238db72b7824+119be5743e00329d34d55769b1b512288156e580 (b8464db7c095b40b1b1742c4c5a1b0107010214c) 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-32710 in /w/workspace/dgexfoundry_device-sdk-go_PR-856 [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-856 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/856/head:refs/remotes/origin/PR-856 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 119be5743e00329d34d55769b1b512288156e580 into PR head commit c05abfa9ff339559ddeb33c0824f238db72b7824 Merge succeeded, producing c05abfa9ff339559ddeb33c0824f238db72b7824 Checking out Revision c05abfa9ff339559ddeb33c0824f238db72b7824 (PR-856) > git config core.sparsecheckout # timeout=10 > git checkout -f c05abfa9ff339559ddeb33c0824f238db72b7824 # 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 119be5743e00329d34d55769b1b512288156e580 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c05abfa9ff339559ddeb33c0824f238db72b7824 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:13:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:13:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:13:12 ========================================================= 07:13:12 EdgeX Global Pipelines Version Info 07:13:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c2af0d98444a821eb338cc743186fdc2a9db2c44 # timeout=10 07:13:13 ------------------- 07:13:13 stable info: 07:13:13 ------------------- 07:13:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:13:13 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 07:13:13 Message: update stable to v1.0.186 07:13:14 ------------------- 07:13:14 experimental info: 07:13:14 ------------------- 07:13:14 Commited By: **** collab-it+edgex@linuxfoundation.org 07:13:14 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 07:13:14 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:13:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:13:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:13:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:13:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:13:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:13:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:13:15 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:13:15 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:13:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:13:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:13:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:13:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:13:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:13:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:13:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:13:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:13:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:13:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:13:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:13:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:13:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:13:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:13:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:13:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:13:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:13:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:13:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-856 [Pipeline] echo 07:13:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-856 [Pipeline] echo 07:13:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-856 [Pipeline] echo 07:13:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c05abfa9ff339559ddeb33c0824f238db72b7824 [Pipeline] echo 07:13:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c05abfa [Pipeline] echo 07:13:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:13:17 provisioning config files... 07:13:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/config6966042279905676496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:13:18 ---> docker-login.sh 07:13:18 nexus3.edgexfoundry.org:10001 07:13:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:18 Configure a credential helper to remove this warning. See 07:13:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:18 07:13:18 Login Succeeded 07:13:18 nexus3.edgexfoundry.org:10002 07:13:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:18 Configure a credential helper to remove this warning. See 07:13:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:18 07:13:18 Login Succeeded 07:13:18 nexus3.edgexfoundry.org:10003 07:13:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:19 Configure a credential helper to remove this warning. See 07:13:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:19 07:13:19 Login Succeeded 07:13:19 nexus3.edgexfoundry.org:10004 07:13:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:19 Configure a credential helper to remove this warning. See 07:13:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:19 07:13:19 Login Succeeded 07:13:19 docker.io 07:13:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:19 Configure a credential helper to remove this warning. See 07:13:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:19 07:13:19 Login Succeeded 07:13:19 ---> docker-login.sh ends [Pipeline] } 07:13:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:13:20 + git log --format=format:%s -1 c05abfa9ff339559ddeb33c0824f238db72b7824 [Pipeline] echo 07:13:20 GIT_COMMIT: c05abfa9ff339559ddeb33c0824f238db72b7824, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 07:13:20 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:13:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:13:21 07:13:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:13:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:13:21 latest: Pulling from edgex-devops/git-semver 07:13:21 31603596830f: Pulling fs layer 07:13:21 2a8b12db71e7: Pulling fs layer 07:13:21 6ca5941a6612: Pulling fs layer 07:13:21 ecc8261a40a4: Pulling fs layer 07:13:21 ecc8261a40a4: Waiting 07:13:21 2a8b12db71e7: Verifying Checksum 07:13:21 2a8b12db71e7: Download complete 07:13:21 31603596830f: Verifying Checksum 07:13:21 31603596830f: Download complete 07:13:21 6ca5941a6612: Verifying Checksum 07:13:21 6ca5941a6612: Download complete 07:13:21 ecc8261a40a4: Verifying Checksum 07:13:21 ecc8261a40a4: Download complete 07:13:22 31603596830f: Pull complete 07:13:22 2a8b12db71e7: Pull complete 07:13:23 6ca5941a6612: Pull complete 07:13:23 ecc8261a40a4: Pull complete 07:13:23 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:13:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:13:23 prd-centos7-docker-4c-2g-32710 does not seem to be running inside a container 07:13:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-856 -v /w/workspace/dgexfoundry_device-sdk-go_PR-856:/w/workspace/dgexfoundry_device-sdk-go_PR-856:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-856@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:13:25 $ docker top 459c49fa75d93934d16bae00a1a3686a9d729d3870657e169656b9f435826a5b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:13:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:13:25 [ssh-agent] Looking for ssh-agent implementation... 07:13:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:13:25 $ docker exec 459c49fa75d93934d16bae00a1a3686a9d729d3870657e169656b9f435826a5b ssh-agent 07:13:26 SSH_AUTH_SOCK=/tmp/ssh-JzWYZicXx7ao/agent.13 07:13:26 SSH_AGENT_PID=18 07:13:26 Running ssh-add (command line suppressed) 07:13:26 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/private_key_8038758605467673419.key (/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/private_key_8038758605467673419.key) 07:13:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:13:26 + git tag --points-at HEAD [Pipeline] } 07:13:26 $ docker exec --env ******** --env ******** 459c49fa75d93934d16bae00a1a3686a9d729d3870657e169656b9f435826a5b ssh-agent -k 07:13:26 unset SSH_AUTH_SOCK; 07:13:26 unset SSH_AGENT_PID; 07:13:26 echo Agent pid 18 killed; 07:13:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:13:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:13:27 [ssh-agent] Looking for ssh-agent implementation... 07:13:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:13:27 $ docker exec 459c49fa75d93934d16bae00a1a3686a9d729d3870657e169656b9f435826a5b ssh-agent 07:13:27 SSH_AUTH_SOCK=/tmp/ssh-sT9X5THSm72O/agent.46 07:13:27 SSH_AGENT_PID=51 07:13:27 Running ssh-add (command line suppressed) 07:13:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/private_key_2107887199665070601.key (/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/private_key_2107887199665070601.key) 07:13:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:13:27 + git semver init 07:13:27 # -> Open(): unable to determine branch for HEAD 07:13:27 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-856/.git 07:13:27 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-856 07:13:27 # $SEMVER_REMOTE_NAME = origin 07:13:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:13:27 # $SEMVER_USER_NAME = edgex-jenkins 07:13:27 # $SEMVER_BRANCH = PR-856 07:13:27 # $SEMVER_TEMP = /tmp/semver-249324963 07:13:27 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:13:28 # '/tmp/semver-249324963' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-856/.semver' 07:13:28 # -> Force: false 07:13:28 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-856/.semver [Pipeline] } 07:13:28 $ docker exec --env ******** --env ******** 459c49fa75d93934d16bae00a1a3686a9d729d3870657e169656b9f435826a5b ssh-agent -k 07:13:28 unset SSH_AUTH_SOCK; 07:13:28 unset SSH_AGENT_PID; 07:13:28 echo Agent pid 51 killed; 07:13:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:13:29 + git semver [Pipeline] } 07:13:29 $ docker stop --time=1 459c49fa75d93934d16bae00a1a3686a9d729d3870657e169656b9f435826a5b 07:13:31 $ docker rm -f 459c49fa75d93934d16bae00a1a3686a9d729d3870657e169656b9f435826a5b [Pipeline] // withDockerContainer [Pipeline] sh 07:13:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:13:32 Stashed 1 file(s) [Pipeline] echo 07:13:32 [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 07:13:47 Still waiting to schedule task 07:13:47 ‘prd-centos7-blackbox-4c-2g-32647’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-32711’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-32709’ doesn’t have label ‘centos7-docker-4c-2g’ 07:13:47 Still waiting to schedule task 07:13:47 ‘prd-centos7-blackbox-4c-2g-32647’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-32711’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-32709’ is offline 07:16:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32712 in /w/workspace/dgexfoundry_device-sdk-go_PR-856 [Pipeline] { [Pipeline] ws 07:16:29 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 07:16:34 using credential edgex-jenkins-ssh 07:16:34 Cloning the remote Git repository 07:16:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:16:34 > git init /w/workspace/device-sdk-go/3 # timeout=10 07:16:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:16:34 > git --version # timeout=10 07:16:34 > git --version # 'git version 2.17.1' 07:16:34 using GIT_SSH to set credentials SSH Credentials for GitHub 07:16:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:16:36 Merging remotes/origin/master commit 119be5743e00329d34d55769b1b512288156e580 into PR head commit c05abfa9ff339559ddeb33c0824f238db72b7824 07:16:36 Merge succeeded, producing c05abfa9ff339559ddeb33c0824f238db72b7824 07:16:36 Checking out Revision c05abfa9ff339559ddeb33c0824f238db72b7824 (PR-856) 07:16:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:16:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:16:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:16:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:16:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:16:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/856/head:refs/remotes/origin/PR-856 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:16:36 > git config core.sparsecheckout # timeout=10 07:16:36 > git checkout -f c05abfa9ff339559ddeb33c0824f238db72b7824 # timeout=10 07:16:36 > git remote # timeout=10 07:16:36 > git config --get remote.origin.url # timeout=10 07:16:36 using GIT_SSH to set credentials SSH Credentials for GitHub 07:16:36 > git merge 119be5743e00329d34d55769b1b512288156e580 # timeout=10 07:16:36 > git rev-parse HEAD^{commit} # timeout=10 07:16:36 > git config core.sparsecheckout # timeout=10 07:16:36 > git checkout -f c05abfa9ff339559ddeb33c0824f238db72b7824 # timeout=10 07:16:41 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:16:42 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:16:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:16:43 + true 07:16:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:16:46 provisioning config files... 07:16:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1176417569476946540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:16:46 ---> docker-login.sh 07:16:46 nexus3.edgexfoundry.org:10001 07:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:47 Configure a credential helper to remove this warning. See 07:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:47 07:16:47 Login Succeeded 07:16:47 nexus3.edgexfoundry.org:10002 07:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:47 Configure a credential helper to remove this warning. See 07:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:47 07:16:47 Login Succeeded 07:16:47 nexus3.edgexfoundry.org:10003 07:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:48 Configure a credential helper to remove this warning. See 07:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:48 07:16:48 Login Succeeded 07:16:48 nexus3.edgexfoundry.org:10004 07:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:49 Configure a credential helper to remove this warning. See 07:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:49 07:16:49 Login Succeeded 07:16:49 docker.io 07:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:49 Configure a credential helper to remove this warning. See 07:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:49 07:16:49 Login Succeeded 07:16:49 ---> docker-login.sh ends [Pipeline] } 07:16:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:16:50 ========================================================= 07:16:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:16:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:16:50 + 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 . 07:16:50 Sending build context to Docker daemon 2.36MB 07:16:50 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:16:50 Step 2/8 : FROM ${BASE} 07:16:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:16:51 5f621e34cdf4: Pulling fs layer 07:16:51 a4357932f1b6: Pulling fs layer 07:16:51 18c013af1878: Pulling fs layer 07:16:51 00ac8860ef70: Pulling fs layer 07:16:51 63d7cb157983: Pulling fs layer 07:16:51 b116817d02f9: Pulling fs layer 07:16:51 745a02a5169b: Pulling fs layer 07:16:51 00ac8860ef70: Waiting 07:16:51 63d7cb157983: Waiting 07:16:51 b116817d02f9: Waiting 07:16:51 745a02a5169b: Waiting 07:16:51 18c013af1878: Verifying Checksum 07:16:51 18c013af1878: Download complete 07:16:51 a4357932f1b6: Download complete 07:16:51 63d7cb157983: Download complete 07:16:51 5f621e34cdf4: Verifying Checksum 07:16:51 5f621e34cdf4: Download complete 07:16:51 b116817d02f9: Verifying Checksum 07:16:51 b116817d02f9: Download complete 07:16:52 5f621e34cdf4: Pull complete 07:16:52 a4357932f1b6: Pull complete 07:16:53 18c013af1878: Pull complete 07:16:53 745a02a5169b: Verifying Checksum 07:16:53 745a02a5169b: Download complete 07:16:55 00ac8860ef70: Verifying Checksum 07:16:55 00ac8860ef70: Download complete 07:16:59 Running on prd-centos7-docker-4c-2g-32713 in /w/workspace/dgexfoundry_device-sdk-go_PR-856 [Pipeline] { [Pipeline] ws 07:16:59 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 07:17:01 using credential edgex-jenkins-ssh 07:17:01 Cloning the remote Git repository 07:17:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:17:01 > git init /w/workspace/device-sdk-go/3 # timeout=10 07:17:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:17:01 > git --version # timeout=10 07:17:01 > git --version # 'git version 2.24.3' 07:17:01 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:17:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:17:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:17:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:17:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:17:02 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/856/head:refs/remotes/origin/PR-856 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:17:03 Merging remotes/origin/master commit 119be5743e00329d34d55769b1b512288156e580 into PR head commit c05abfa9ff339559ddeb33c0824f238db72b7824 07:17:03 Merge succeeded, producing c05abfa9ff339559ddeb33c0824f238db72b7824 07:17:03 Checking out Revision c05abfa9ff339559ddeb33c0824f238db72b7824 (PR-856) 07:17:03 > git config core.sparsecheckout # timeout=10 07:17:03 > git checkout -f c05abfa9ff339559ddeb33c0824f238db72b7824 # timeout=10 07:17:03 > git remote # timeout=10 07:17:03 > git config --get remote.origin.url # timeout=10 07:17:03 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:03 > git merge 119be5743e00329d34d55769b1b512288156e580 # timeout=10 07:17:03 > git rev-parse HEAD^{commit} # timeout=10 07:17:03 > git config core.sparsecheckout # timeout=10 07:17:03 > git checkout -f c05abfa9ff339559ddeb33c0824f238db72b7824 # timeout=10 07:17:05 00ac8860ef70: Pull complete 07:17:05 63d7cb157983: Pull complete 07:17:06 b116817d02f9: Pull complete 07:17:07 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:17:08 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:17:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:17:08 + sudo service docker restart 07:17:08 + true 07:17:08 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { 07:17:10 745a02a5169b: Pull complete 07:17:10 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:17:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:17:10 ---> b7e6874047d6 07:17:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] wrap 07:17:10 provisioning config files... 07:17:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3677004828064647785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:17:10 ---> docker-login.sh 07:17:10 nexus3.edgexfoundry.org:10001 07:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:11 Configure a credential helper to remove this warning. See 07:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:11 07:17:11 Login Succeeded 07:17:11 nexus3.edgexfoundry.org:10002 07:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:11 Configure a credential helper to remove this warning. See 07:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:11 07:17:11 Login Succeeded 07:17:11 nexus3.edgexfoundry.org:10003 07:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:11 Configure a credential helper to remove this warning. See 07:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:11 07:17:11 Login Succeeded 07:17:11 nexus3.edgexfoundry.org:10004 07:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:11 Configure a credential helper to remove this warning. See 07:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:11 07:17:11 Login Succeeded 07:17:11 docker.io 07:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:12 Configure a credential helper to remove this warning. See 07:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:12 07:17:12 Login Succeeded 07:17:12 ---> docker-login.sh ends [Pipeline] } 07:17:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 07:17:12 ---> Running in 85ae2d215e64 [Pipeline] echo 07:17:12 ========================================================= 07:17:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:17:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:17:12 + 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 . 07:17:12 Sending build context to Docker daemon 2.361MB 07:17:12 Removing intermediate container 85ae2d215e64 07:17:12 ---> 018a944a85a7 07:17:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:17:12 ---> Running in 8cfb4a004902 07:17:13 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:17:13 Step 2/8 : FROM ${BASE} 07:17:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:17:13 188c0c94c7c5: Pulling fs layer 07:17:13 0ef7d3d256c8: Pulling fs layer 07:17:13 de9db76c5a1d: Pulling fs layer 07:17:13 bca2f99d35d6: Pulling fs layer 07:17:13 93359f2a8cfa: Pulling fs layer 07:17:13 7c6f9722023f: Pulling fs layer 07:17:13 a35cf1a2eb13: Pulling fs layer 07:17:13 bca2f99d35d6: Waiting 07:17:13 7c6f9722023f: Waiting 07:17:13 a35cf1a2eb13: Waiting 07:17:13 93359f2a8cfa: Waiting 07:17:13 de9db76c5a1d: Verifying Checksum 07:17:13 de9db76c5a1d: Download complete 07:17:13 0ef7d3d256c8: Download complete 07:17:13 93359f2a8cfa: Download complete 07:17:13 188c0c94c7c5: Verifying Checksum 07:17:13 188c0c94c7c5: Download complete 07:17:13 7c6f9722023f: Verifying Checksum 07:17:13 7c6f9722023f: Download complete 07:17:13 188c0c94c7c5: Pull complete 07:17:13 0ef7d3d256c8: Pull complete 07:17:13 de9db76c5a1d: Pull complete 07:17:15 Removing intermediate container 8cfb4a004902 07:17:15 ---> 5814c6051e8f 07:17:15 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 07:17:15 ---> Running in 9472e29f8554 07:17:16 a35cf1a2eb13: Download complete 07:17:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:17:17 bca2f99d35d6: Verifying Checksum 07:17:17 bca2f99d35d6: Download complete 07:17:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:17:21 (1/6) Installing libc-dev (0.7.2-r3) 07:17:21 (2/6) Installing libsodium (1.0.18-r0) 07:17:21 (3/6) Installing pkgconf (1.7.2-r0) 07:17:21 (4/6) Installing libsodium-dev (1.0.18-r0) 07:17:21 (5/6) Installing libzmq (4.3.3-r0) 07:17:22 bca2f99d35d6: Pull complete 07:17:22 93359f2a8cfa: Pull complete 07:17:22 7c6f9722023f: Pull complete 07:17:22 (6/6) Installing zeromq-dev (4.3.3-r0) 07:17:22 Executing busybox-1.31.1-r19.trigger 07:17:22 OK: 144 MiB in 45 packages 07:17:24 Removing intermediate container 9472e29f8554 07:17:24 ---> 54bf01d50dad 07:17:24 Step 6/8 : WORKDIR /device-sdk-go 07:17:24 ---> Running in fb6d5f2a1930 07:17:25 Removing intermediate container fb6d5f2a1930 07:17:25 ---> 53e1038a356f 07:17:25 Step 7/8 : COPY . . 07:17:26 ---> a5bc24e5365c 07:17:26 Step 8/8 : RUN go mod download 07:17:26 ---> Running in 9ed47818ca54 07:17:27 a35cf1a2eb13: Pull complete 07:17:27 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:17:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:17:27 ---> a62c8e92a672 07:17:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:17:27 ---> Running in 8176ed49025e 07:17:27 Removing intermediate container 8176ed49025e 07:17:27 ---> 6fdaaef902d3 07:17:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:17:27 ---> Running in e37bd43149a2 07:17:28 Removing intermediate container e37bd43149a2 07:17:28 ---> 6bb58300151d 07:17:28 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 07:17:28 ---> Running in f701e8a0911b 07:17:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:17:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:17:31 (1/6) Installing libc-dev (0.7.2-r3) 07:17:31 (2/6) Installing libsodium (1.0.18-r0) 07:17:32 (3/6) Installing pkgconf (1.7.2-r0) 07:17:32 (4/6) Installing libsodium-dev (1.0.18-r0) 07:17:32 (5/6) Installing libzmq (4.3.3-r0) 07:17:32 (6/6) Installing zeromq-dev (4.3.3-r0) 07:17:32 Executing busybox-1.31.1-r19.trigger 07:17:32 OK: 167 MiB in 45 packages 07:17:33 Removing intermediate container f701e8a0911b 07:17:33 ---> ed06a72054a5 07:17:33 Step 6/8 : WORKDIR /device-sdk-go 07:17:33 ---> Running in 58ddf76fa9d5 07:17:33 Removing intermediate container 58ddf76fa9d5 07:17:33 ---> e8703dd2507b 07:17:33 Step 7/8 : COPY . . 07:17:34 ---> 081483fef030 07:17:34 Step 8/8 : RUN go mod download 07:17:34 ---> Running in 1c90c3545685 07:17:53 Removing intermediate container 9ed47818ca54 07:17:53 ---> b8d981868936 07:17:53 Successfully built b8d981868936 07:17:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:17:53 + docker inspect -f . ci-base-image-arm64 07:17:53 . [Pipeline] withDockerContainer 07:17:54 prd-ubuntu18.04-docker-arm64-4c-16g-32712 does not seem to be running inside a container 07:17:54 $ 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-arm64 cat 07:17:55 $ docker top 4bcaa386679c37d09407e07c3c96b70ed9aba374cd71877294e0ca8b023e892f -eo pid,comm [Pipeline] { [Pipeline] sh 07:17:56 + go version 07:17:56 go version go1.15.5 linux/arm64 [Pipeline] } 07:17:56 $ docker stop --time=1 4bcaa386679c37d09407e07c3c96b70ed9aba374cd71877294e0ca8b023e892f 07:17:56 Removing intermediate container 1c90c3545685 07:17:56 ---> 51bd4cb33c30 07:17:56 Successfully built 51bd4cb33c30 07:17:56 Successfully tagged ci-base-image-x86_64:latest 07:17:58 $ docker rm -f 4bcaa386679c37d09407e07c3c96b70ed9aba374cd71877294e0ca8b023e892f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:17:59 + docker inspect -f . ci-base-image-x86_64 07:17:59 . [Pipeline] withDockerContainer 07:17:59 + docker inspect -f . ci-base-image-arm64 07:17:59 . 07:17:59 prd-centos7-docker-4c-2g-32713 does not seem to be running inside a container 07:17:59 $ 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 07:18:00 $ docker top dabbd079c27b4a28c1106b35951fb61d3667994ae4e6f28c217e7bd343b888f1 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 07:18:01 prd-ubuntu18.04-docker-arm64-4c-16g-32712 does not seem to be running inside a container 07:18: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 ******** ci-base-image-arm64 cat 07:18:02 $ docker top 57cd2f2342fa4ed13e51df1c238a773520be7ecbdbb6a8550500db1950875c56 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 07:18:03 + go version 07:18:03 go version go1.15.5 linux/amd64 [Pipeline] } 07:18:03 $ docker stop --time=1 dabbd079c27b4a28c1106b35951fb61d3667994ae4e6f28c217e7bd343b888f1 07:18:03 + make test 07:18:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:18:04 $ docker rm -f dabbd079c27b4a28c1106b35951fb61d3667994ae4e6f28c217e7bd343b888f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:18:05 + docker inspect -f . ci-base-image-x86_64 07:18:05 . [Pipeline] withDockerContainer 07:18:05 prd-centos7-docker-4c-2g-32713 does not seem to be running inside a container 07:18:05 $ 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 07:18:06 $ docker top 437c5bcbe540b3e75d6a9856d721db1dee7954ef6d3fed18068aa208b4ca36f4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:06 + make test 07:18:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:18:15 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:18:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:18:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:18:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:18:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:18:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 07:18:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:18:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.085s coverage: 28.1% of statements 07:18:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.126s coverage: 81.2% of statements 07:18:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.080s coverage: 7.8% of statements 07:18:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:18:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:18:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:18:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.088s coverage: 32.5% of statements 07:18:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:18:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:18:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:18:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 57.3% of statements 07:18:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.176s coverage: 6.6% of statements 07:18:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 07:18:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:18:38 GO111MODULE=on go vet ./... 07:18:53 gofmt -l . 07:18:53 [ "`gofmt -l .`" = "" ] 07:18:53 ./bin/test-attribution-txt.sh 07:18:53 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:18:54 $ docker stop --time=1 437c5bcbe540b3e75d6a9856d721db1dee7954ef6d3fed18068aa208b4ca36f4 07:18:56 $ docker rm -f 437c5bcbe540b3e75d6a9856d721db1dee7954ef6d3fed18068aa208b4ca36f4 [Pipeline] // withDockerContainer [Pipeline] sh 07:18:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:18:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:18:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:18:58 + ls -al . 07:18:58 total 188 07:18:58 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 4 07:18 . 07:18:58 drwxrwxr-x. 4 jenkins jenkins 28 Apr 4 07:17 .. 07:18:58 drwxrwxr-x. 2 jenkins jenkins 64 Apr 4 07:17 bin 07:18:58 -rw-r--r--. 1 jenkins jenkins 101239 Apr 4 07:18 coverage.out 07:18:58 -rw-rw-r--. 1 jenkins jenkins 987 Apr 4 07:17 Dockerfile.build 07:18:58 -rw-rw-r--. 1 jenkins jenkins 140 Apr 4 07:17 .dockerignore 07:18:58 drwxrwxr-x. 5 jenkins jenkins 62 Apr 4 07:17 example 07:18:58 drwxrwxr-x. 8 jenkins jenkins 179 Apr 4 07:17 .git 07:18:58 drwxrwxr-x. 2 jenkins jenkins 103 Apr 4 07:17 .github 07:18:58 -rw-rw-r--. 1 jenkins jenkins 138 Apr 4 07:17 .gitignore 07:18:58 -rw-r--r--. 1 jenkins jenkins 537 Apr 4 07:18 go.mod 07:18:58 -rw-r--r--. 1 jenkins jenkins 21064 Apr 4 07:18 go.sum 07:18:58 drwxrwxr-x. 14 jenkins jenkins 207 Apr 4 07:17 internal 07:18:58 -rw-rw-r--. 1 jenkins jenkins 901 Apr 4 07:17 Jenkinsfile 07:18:58 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 4 07:17 LICENSE 07:18:58 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 4 07:17 Makefile 07:18:58 drwxrwxr-x. 4 jenkins jenkins 26 Apr 4 07:17 openapi 07:18:58 drwxrwxr-x. 5 jenkins jenkins 50 Apr 4 07:17 pkg 07:18:58 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 4 07:17 README.md 07:18:58 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 4 07:17 RELEASE-NOTES.txt 07:18:58 drwxrwxr-x. 4 jenkins jenkins 54 Apr 4 07:17 snap 07:18:58 -rw-rw-r--. 1 jenkins jenkins 5 Apr 4 07:13 VERSION 07:18:58 -rw-rw-r--. 1 jenkins jenkins 222 Apr 4 07:17 version.go [Pipeline] isUnix [Pipeline] sh 07:18:59 + 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=c05abfa9ff339559ddeb33c0824f238db72b7824 --label arch=amd64 --label version=0.0.0 . 07:18:59 Sending build context to Docker daemon 2.463MB 07:18:59 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 07:18:59 Step 2/23 : FROM ${BASE} AS builder 07:18:59 ---> 51bd4cb33c30 07:18:59 Step 3/23 : WORKDIR /device-sdk-go 07:19:00 ---> Running in 430d9b950ded 07:19:00 Removing intermediate container 430d9b950ded 07:19:00 ---> 0b71d117f654 07:19:00 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:19:00 ---> Running in b99f56ca401b 07:19:00 Removing intermediate container b99f56ca401b 07:19:00 ---> 1db65f8773ac 07:19:00 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:19:00 ---> Running in 4d5dfa1850d2 07:19:01 Removing intermediate container 4d5dfa1850d2 07:19:01 ---> 63dcf25a85eb 07:19:01 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:19:01 ---> Running in 77dc567378b9 07:19:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:19:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:19:03 OK: 167 MiB in 45 packages 07:19:03 Removing intermediate container 77dc567378b9 07:19:03 ---> 157172838f50 07:19:03 Step 7/23 : COPY . . 07:19:04 ---> ec2a3035ff5f 07:19:04 Step 8/23 : RUN go mod download 07:19:04 ---> Running in b79de72e4f62 07:19:05 Removing intermediate container b79de72e4f62 07:19:05 ---> ef55e51c7e06 07:19:05 Step 9/23 : RUN make build 07:19:05 ---> Running in ca9f960f6334 07:19:06 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 07:19:16 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:19:17 Removing intermediate container ca9f960f6334 07:19:17 ---> cde2877cd3b8 07:19:17 Step 10/23 : FROM alpine:3.12 07:19:18 3.12: Pulling from library/alpine 07:19:18 532819f3e44c: Pulling fs layer 07:19:18 532819f3e44c: Download complete 07:19:18 532819f3e44c: Pull complete 07:19:18 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 07:19:18 Status: Downloaded newer image for alpine:3.12 07:19:18 ---> 7230e588e954 07:19:18 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:19:18 ---> Running in 6e8aa762b1a8 07:19:19 Removing intermediate container 6e8aa762b1a8 07:19:19 ---> 928e9f5e6ee1 07:19:19 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:19:19 ---> Running in 7c06dd0647de 07:19:20 Removing intermediate container 7c06dd0647de 07:19:20 ---> 59d89486cf80 07:19:20 Step 13/23 : RUN apk add --update --no-cache zeromq 07:19:20 ---> Running in d0102660ae03 07:19:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:19:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:19:21 (1/5) Installing libgcc (9.3.0-r2) 07:19:22 (2/5) Installing libsodium (1.0.18-r0) 07:19:22 (3/5) Installing libstdc++ (9.3.0-r2) 07:19:22 (4/5) Installing libzmq (4.3.3-r0) 07:19:22 (5/5) Installing zeromq (4.3.3-r0) 07:19:22 Executing busybox-1.31.1-r20.trigger 07:19:22 OK: 8 MiB in 19 packages 07:19:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:19:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:19:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:19:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 07:19:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:19:23 Removing intermediate container d0102660ae03 07:19:23 ---> f9d060eb0074 07:19:23 Step 14/23 : WORKDIR / 07:19:23 ---> Running in 2be116b6d240 07:19:23 Removing intermediate container 2be116b6d240 07:19:23 ---> 50928f5e6cde 07:19:23 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:19:23 ---> af13fdc13093 07:19:23 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:19:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.123s coverage: 28.1% of statements 07:19:24 ---> 81b42e45053d 07:19:24 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:19:24 ---> f0bfbe5f6a91 07:19:24 Step 18/23 : EXPOSE 49990 07:19:24 ---> Running in 1490f3f97312 07:19:24 Removing intermediate container 1490f3f97312 07:19:24 ---> ba5a336e8085 07:19:24 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:19:24 ---> Running in 57ce7ee86585 07:19:25 Removing intermediate container 57ce7ee86585 07:19:25 ---> 5ce48fe972e5 07:19:25 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:19:25 ---> Running in 77b6202a0e8a 07:19:25 Removing intermediate container 77b6202a0e8a 07:19:25 ---> e4ecacb82a53 07:19:25 Step 21/23 : LABEL arch=amd64 07:19:25 ---> Running in 58cdea00a9f9 07:19:25 Removing intermediate container 58cdea00a9f9 07:19:25 ---> 6554b9491975 07:19:25 Step 22/23 : LABEL git_sha=c05abfa9ff339559ddeb33c0824f238db72b7824 07:19:25 ---> Running in 5472204bd885 07:19:25 Removing intermediate container 5472204bd885 07:19:25 ---> 3cd306a5bcf8 07:19:25 Step 23/23 : LABEL version=0.0.0 07:19:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.293s coverage: 81.2% of statements 07:19:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.151s coverage: 7.8% of statements 07:19:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:19:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:19:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:19:25 ---> Running in a1117370d067 07:19:25 Removing intermediate container a1117370d067 07:19:25 ---> d469bf4fde0c 07:19:25 [Warning] One or more build-args [ARCH MAKE] were not consumed 07:19:25 Successfully built d469bf4fde0c 07:19:25 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 07:19:26 ---> job-cost.sh 07:19:26 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KA54 07:19:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.391s coverage: 32.5% of statements 07:19:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:19:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:19:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:19:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.303s coverage: 57.3% of statements 07:19:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.273s coverage: 6.6% of statements 07:19:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements 07:19:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:19:32 GO111MODULE=on go vet ./... 07:19:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:20:08 lf-activate-venv(): INFO: Adding /tmp/venv-KA54/bin to PATH 07:20:08 INFO: No Stack... 07:20:08 INFO: Retrieving Pricing Info for: v1-standard-2 07:20:09 INFO: Archiving Costs [Pipeline] sh 07:20:09 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 07:20:09 + cut -d, -f6 [Pipeline] lock 07:20:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-856-3-stack-cost] 07:20:09 Resource [jenkins-edgexfoundry-device-sdk-go-PR-856-3-stack-cost] did not exist. Created. 07:20:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-856-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:20:09 + echo total: 0.029999999329447746 [Pipeline] stash 07:20:10 Stashed 1 file(s) [Pipeline] } 07:20:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-856-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:20:19 gofmt -l . 07:20:19 [ "`gofmt -l .`" = "" ] 07:20:19 ./bin/test-attribution-txt.sh 07:20:19 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:20:19 $ docker stop --time=1 57cd2f2342fa4ed13e51df1c238a773520be7ecbdbb6a8550500db1950875c56 07:20:21 $ docker rm -f 57cd2f2342fa4ed13e51df1c238a773520be7ecbdbb6a8550500db1950875c56 [Pipeline] // withDockerContainer [Pipeline] sh 07:20:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:20:23 Warning: overwriting stash ‘coverage-report’ 07:20:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:20:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:20:24 + ls -al . 07:20:24 total 224 07:20:24 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 07:20 . 07:20:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 07:16 .. 07:20:24 -rw-rw-r-- 1 jenkins jenkins 140 Apr 4 07:16 .dockerignore 07:20:24 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 07:16 .git 07:20:24 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 07:16 .github 07:20:24 -rw-rw-r-- 1 jenkins jenkins 138 Apr 4 07:16 .gitignore 07:20:24 -rw-rw-r-- 1 jenkins jenkins 987 Apr 4 07:16 Dockerfile.build 07:20:24 -rw-rw-r-- 1 jenkins jenkins 901 Apr 4 07:16 Jenkinsfile 07:20:24 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 4 07:16 LICENSE 07:20:24 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 4 07:16 Makefile 07:20:24 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 4 07:16 README.md 07:20:24 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 4 07:16 RELEASE-NOTES.txt 07:20:24 -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 07:13 VERSION 07:20:24 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 07:16 bin 07:20:24 -rw-r--r-- 1 jenkins jenkins 101239 Apr 4 07:19 coverage.out 07:20:24 drwxrwxr-x 5 jenkins jenkins 4096 Apr 4 07:16 example 07:20:24 -rw-r--r-- 1 jenkins jenkins 537 Apr 4 07:20 go.mod 07:20:24 -rw-r--r-- 1 jenkins jenkins 21064 Apr 4 07:20 go.sum 07:20:24 drwxrwxr-x 14 jenkins jenkins 4096 Apr 4 07:16 internal 07:20:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 07:16 openapi 07:20:24 drwxrwxr-x 5 jenkins jenkins 4096 Apr 4 07:16 pkg 07:20:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 07:16 snap 07:20:24 -rw-rw-r-- 1 jenkins jenkins 222 Apr 4 07:16 version.go [Pipeline] isUnix [Pipeline] sh 07:20:25 + 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=c05abfa9ff339559ddeb33c0824f238db72b7824 --label arch=arm64 --label version=0.0.0 . 07:20:25 Sending build context to Docker daemon 2.462MB 07:20:25 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 07:20:25 Step 2/23 : FROM ${BASE} AS builder 07:20:25 ---> b8d981868936 07:20:25 Step 3/23 : WORKDIR /device-sdk-go 07:20:26 ---> Running in 45e049020c19 07:20:27 Removing intermediate container 45e049020c19 07:20:27 ---> 51919538d211 07:20:27 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:20:27 ---> Running in d740f2909d02 07:20:27 Removing intermediate container d740f2909d02 07:20:27 ---> 48adb5861751 07:20:27 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:20:28 ---> Running in 04713374ce62 07:20:30 Removing intermediate container 04713374ce62 07:20:30 ---> 52d3e513eac3 07:20:30 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:20:30 ---> Running in 3cc7933d2229 07:20:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:20:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:20:34 OK: 144 MiB in 45 packages 07:20:35 Removing intermediate container 3cc7933d2229 07:20:35 ---> 627e640bcd1d 07:20:35 Step 7/23 : COPY . . 07:20:36 ---> 0eea6c48990a 07:20:36 Step 8/23 : RUN go mod download 07:20:36 ---> Running in 8cd09b7afbd1 07:20:39 Removing intermediate container 8cd09b7afbd1 07:20:39 ---> 767e47a4df81 07:20:39 Step 9/23 : RUN make build 07:20:39 ---> Running in 5f324e868328 07:20:40 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 07:21:13 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:21:15 Removing intermediate container 5f324e868328 07:21:15 ---> 2b4812db64a5 07:21:15 Step 10/23 : FROM alpine:3.12 07:21:16 3.12: Pulling from library/alpine 07:21:16 9a219e8acc52: Pulling fs layer 07:21:16 9a219e8acc52: Verifying Checksum 07:21:16 9a219e8acc52: Download complete 07:21:17 9a219e8acc52: Pull complete 07:21:17 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 07:21:17 Status: Downloaded newer image for alpine:3.12 07:21:17 ---> d75e27dfc0a0 07:21:17 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:21:17 ---> Running in 0b9f3654a787 07:21:18 Removing intermediate container 0b9f3654a787 07:21:18 ---> 681837006ef2 07:21:18 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:21:18 ---> Running in 49dbc5b9da19 07:21:21 Removing intermediate container 49dbc5b9da19 07:21:21 ---> 273a7467a437 07:21:21 Step 13/23 : RUN apk add --update --no-cache zeromq 07:21:21 ---> Running in 1ac626d95ef2 07:21:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:21:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:21:24 (1/5) Installing libgcc (9.3.0-r2) 07:21:24 (2/5) Installing libsodium (1.0.18-r0) 07:21:24 (3/5) Installing libstdc++ (9.3.0-r2) 07:21:24 (4/5) Installing libzmq (4.3.3-r0) 07:21:24 (5/5) Installing zeromq (4.3.3-r0) 07:21:24 Executing busybox-1.31.1-r20.trigger 07:21:24 OK: 8 MiB in 19 packages 07:21:26 Removing intermediate container 1ac626d95ef2 07:21:26 ---> 769963352264 07:21:26 Step 14/23 : WORKDIR / 07:21:26 ---> Running in a7ea042339d3 07:21:26 Removing intermediate container a7ea042339d3 07:21:26 ---> 7ee256c30d24 07:21:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:21:27 ---> dd2df17a35d3 07:21:27 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:21:28 ---> 2f63827900d6 07:21:28 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:21:29 ---> dfb4fb39946f 07:21:29 Step 18/23 : EXPOSE 49990 07:21:29 ---> Running in 63e306522ebd 07:21:30 Removing intermediate container 63e306522ebd 07:21:30 ---> 7640f760a127 07:21:30 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:21:30 ---> Running in 6ca4cea49bf3 07:21:30 Removing intermediate container 6ca4cea49bf3 07:21:30 ---> 67beb556c509 07:21:30 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:21:30 ---> Running in 428f66d862ce 07:21:30 Removing intermediate container 428f66d862ce 07:21:30 ---> a42e3fd74a4d 07:21:30 Step 21/23 : LABEL arch=arm64 07:21:31 ---> Running in 7b72d61bed29 07:21:31 Removing intermediate container 7b72d61bed29 07:21:31 ---> f8e929e15e9f 07:21:31 Step 22/23 : LABEL git_sha=c05abfa9ff339559ddeb33c0824f238db72b7824 07:21:31 ---> Running in 741f77bf3afe 07:21:32 Removing intermediate container 741f77bf3afe 07:21:32 ---> acf89d987c1a 07:21:32 Step 23/23 : LABEL version=0.0.0 07:21:32 ---> Running in e49d667f46ee 07:21:32 Removing intermediate container e49d667f46ee 07:21:32 ---> 622fea55c37d 07:21:32 [Warning] One or more build-args [ARCH MAKE] were not consumed 07:21:32 Successfully built 622fea55c37d 07:21:32 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 07:21:33 ---> job-cost.sh 07:21:33 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-48iy 07:22:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:23:49 lf-activate-venv(): INFO: Adding /tmp/venv-48iy/bin to PATH 07:23:49 INFO: No Stack... 07:23:49 INFO: Retrieving Pricing Info for: lf-standard-4 07:23:49 INFO: Archiving Costs [Pipeline] sh 07:23:49 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 07:23:49 + cut -d, -f6 [Pipeline] lock 07:23:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-856-3-stack-cost] 07:23:49 Resource [jenkins-edgexfoundry-device-sdk-go-PR-856-3-stack-cost] did not exist. Created. 07:23:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-856-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:23:50 /w/workspace/device-sdk-go/3@tmp/durable-1da5d80e/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-1da5d80e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:23:50 + echo total: 0.20999999344348907 [Pipeline] stash 07:23:50 Warning: overwriting stash ‘stack-cost’ 07:23:50 Stashed 1 file(s) [Pipeline] } 07:23:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-856-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 07:23:51 provisioning config files... 07:23:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/config5667498410170600651tmp [Pipeline] { [Pipeline] sh 07:23:52 + set +x 07:23:52 + curl -s https://codecov.io/bash 07:23:52 + bash -s -- 07:23:52 07:23:52 _____ _ 07:23:52 / ____| | | 07:23:52 | | ___ __| | ___ ___ _____ __ 07:23:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:23:52 | |___| (_) | (_| | __/ (_| (_) \ V / 07:23:52 \_____\___/ \__,_|\___|\___\___/ \_/ 07:23:52 Bash-20210309-2b87ace 07:23:52 07:23:52 07:23:52 ==> git version 2.24.3 found 07:23:52 ==> 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 07:23:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:23:52 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:23:52 ==> Jenkins CI detected. 07:23:52 project root: . 07:23:52 --> token set from env 07:23:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:23:52 ==> Running gcov in . (disable via -X gcov) 07:23:52 ==> Python coveragepy not found 07:23:52 ==> Searching for coverage reports in: 07:23:52 + . 07:23:52 -> Found 1 reports 07:23:52 ==> Detecting git/mercurial file structure 07:23:52 ==> Reading reports 07:23:52 + ./coverage.out bytes=101239 07:23:52 ==> Appending adjustments 07:23:52 https://docs.codecov.io/docs/fixing-reports 07:23:52 + Found adjustments 07:23:52 ==> Gzipping contents 07:23:52 16K /tmp/codecov.kXFv1F.gz 07:23:52 ==> Uploading reports 07:23:52 url: https://codecov.io 07:23:52 query: branch=PR-856&commit=c05abfa9ff339559ddeb33c0824f238db72b7824&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-856%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=856&job=&cmd_args= 07:23:52 -> Pinging Codecov 07:23:52 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-856&commit=c05abfa9ff339559ddeb33c0824f238db72b7824&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-856%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=856&job=&cmd_args= 07:23:53 -> Uploading to 07:23:53 https://storage.googleapis.com/codecov/v4/raw/2021-04-04/7E55EF52A471D76F132DFD9A03CDDE97/c05abfa9ff339559ddeb33c0824f238db72b7824/b16ddc0f-3d01-475e-b10f-2e81b035fac3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210404T072353Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8114bdb936c3d063e8b5270ec8f63c869a00982d7a88307be610f6a653321850 07:23:53 % Total % Received % Xferd Average Speed Time Time Time Current 07:23:53 Dload Upload Total Spent Left Speed 07:23:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13717 0 0 100 13717 0 35599 --:--:-- --:--:-- --:--:-- 35628 07:23:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c05abfa9ff339559ddeb33c0824f238db72b7824 [Pipeline] } 07:23:53 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 07:23:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:23:56 ---> package-listing.sh 07:23:56 ++ facter osfamily 07:23:56 ++ tr '[:upper:]' '[:lower:]' 07:23:56 + OS_FAMILY=redhat 07:23:56 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-856 07:23:56 + START_PACKAGES=/tmp/packages_start.txt 07:23:56 + END_PACKAGES=/tmp/packages_end.txt 07:23:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:23:56 + PACKAGES=/tmp/packages_start.txt 07:23:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-856 ']' 07:23:56 + PACKAGES=/tmp/packages_end.txt 07:23:56 + case "${OS_FAMILY}" in 07:23:56 + rpm -qa 07:23:56 + sort 07:24:01 + '[' -f /tmp/packages_start.txt ']' 07:24:01 + '[' -f /tmp/packages_end.txt ']' 07:24:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:24:01 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-856 ']' 07:24:01 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-856/archives/ 07:24:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-856/archives/ [Pipeline] echo 07:24:01 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-856/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:24:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:24:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:24:02 07:24:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:24:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:24:02 alpine: Pulling from edgex-lftools-log-publisher 07:24:02 df20fa9351a1: Pulling fs layer 07:24:02 36b3adc4ff6f: Pulling fs layer 07:24:02 8ad3a11d3b57: Pulling fs layer 07:24:02 46f8f816bc3b: Pulling fs layer 07:24:02 93b61091891f: Pulling fs layer 07:24:02 93b9cdb0e59b: Pulling fs layer 07:24:02 5e14af77c1be: Pulling fs layer 07:24:02 01666e4c0597: Pulling fs layer 07:24:02 aa168da1d23b: Pulling fs layer 07:24:02 93b61091891f: Waiting 07:24:02 93b9cdb0e59b: Waiting 07:24:02 5e14af77c1be: Waiting 07:24:02 01666e4c0597: Waiting 07:24:02 aa168da1d23b: Waiting 07:24:02 46f8f816bc3b: Waiting 07:24:02 36b3adc4ff6f: Download complete 07:24:02 46f8f816bc3b: Download complete 07:24:03 df20fa9351a1: Download complete 07:24:03 93b9cdb0e59b: Verifying Checksum 07:24:03 93b9cdb0e59b: Download complete 07:24:03 93b61091891f: Verifying Checksum 07:24:03 93b61091891f: Download complete 07:24:03 01666e4c0597: Verifying Checksum 07:24:03 01666e4c0597: Download complete 07:24:03 5e14af77c1be: Verifying Checksum 07:24:03 5e14af77c1be: Download complete 07:24:03 8ad3a11d3b57: Verifying Checksum 07:24:03 8ad3a11d3b57: Download complete 07:24:03 df20fa9351a1: Pull complete 07:24:03 36b3adc4ff6f: Pull complete 07:24:04 8ad3a11d3b57: Pull complete 07:24:04 46f8f816bc3b: Pull complete 07:24:04 93b61091891f: Pull complete 07:24:04 aa168da1d23b: Verifying Checksum 07:24:04 aa168da1d23b: Download complete 07:24:04 93b9cdb0e59b: Pull complete 07:24:05 5e14af77c1be: Pull complete 07:24:05 01666e4c0597: Pull complete 07:24:11 aa168da1d23b: Pull complete 07:24:11 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:24:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:24:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:24:12 prd-centos7-docker-4c-2g-32710 does not seem to be running inside a container 07:24:12 $ 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-856/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-856 -v /w/workspace/dgexfoundry_device-sdk-go_PR-856:/w/workspace/dgexfoundry_device-sdk-go_PR-856:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-856@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:10003/edgex-lftools-log-publisher:alpine cat 07:24:16 $ docker top 9b8fced0cde9226a1c7b719f55d00ef5683d5e644494017312c498ddd45288ef -eo pid,comm [Pipeline] { [Pipeline] sh 07:24:16 + touch /tmp/pre-build-complete [Pipeline] sh 07:24:17 + mkdir -p /var/log/sa [Pipeline] sh 07:24:17 + ls /var/log/sa-host 07:24:17 + sadf -c /var/log/sa-host/sa04 07:24:17 file_magic: OK 07:24:17 HZ: Using current value: 100 07:24:17 file_header: OK 07:24:17 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 07:24:17 Statistics: 07:24:17 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:24:17 File successfully converted to sysstat format version 12.2.1 07:24:17 + sadf -c /var/log/sa-host/sa23 07:24:17 file_magic: OK 07:24:17 HZ: Using current value: 100 07:24:17 file_header: OK 07:24:17 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 07:24:17 Statistics: 07:24:17 Hnuu...uuuununununu... 07:24:17 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:24:17 provisioning config files... 07:24:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-856@tmp/config4064678819461703572tmp [Pipeline] { [Pipeline] echo 07:24:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:24:17 ---> create-netrc.sh [Pipeline] } 07:24:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:24:18 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:24:18 ---> python-tools-install.sh [Pipeline] echo 07:24:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:24:18 ---> sudo-logs.sh 07:24:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:24:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:24:19 ---> job-cost.sh 07:24:19 lf-activate-venv: SKIPPING 07:24:19 DEBUG: total: 0.20999999344348907 07:24:19 INFO: Retrieving Stack Cost... 07:24:20 INFO: Retrieving Pricing Info for: v1-standard-2 07:24:20 INFO: Archiving Costs [Pipeline] echo 07:24:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:24:21 ---> logs-deploy.sh 07:24:21 lf-activate-venv: SKIPPING 07:24:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-856/3 07:24:21 INFO: archiving workspace using pattern(s): 07:24:22 Archives upload complete. 07:24:22 INFO: archiving logs to Nexus