Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 44e422c5aebbc746276f514c8f0709a2f5b68208+70dff52b8df9807f5114cad14836e8310fd11d9c (4124f628381333b0279d441ec2af30f03854da32) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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 ‘prd-centos7-docker-4c-2g-3338’ is offline Running on prd-centos7-docker-4c-2g-3343 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [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-900 # 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 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 44e422c5aebbc746276f514c8f0709a2f5b68208 Merge succeeded, producing 80c53e719aff91ae985600ad7eb1f4c51c8f6884 Checking out Revision 80c53e719aff91ae985600ad7eb1f4c51c8f6884 (PR-900) > 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/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44e422c5aebbc746276f514c8f0709a2f5b68208 # 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 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80c53e719aff91ae985600ad7eb1f4c51c8f6884 # timeout=10 Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" > git rev-list --no-walk 44e422c5aebbc746276f514c8f0709a2f5b68208 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-06T22:42:46.639Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T22:42:46.754Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T22:42:46.798Z] ========================================================= [2021-05-06T22:42:46.798Z] EdgeX Global Pipelines Version Info [2021-05-06T22:42:46.798Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:42:48.317Z] ------------------- [2021-05-06T22:42:48.317Z] stable info: [2021-05-06T22:42:48.317Z] ------------------- [2021-05-06T22:42:48.317Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T22:42:48.317Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:42:48.317Z] Message: update stable to v1.0.191 [2021-05-06T22:42:49.268Z] ------------------- [2021-05-06T22:42:49.268Z] experimental info: [2021-05-06T22:42:49.268Z] ------------------- [2021-05-06T22:42:49.268Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T22:42:49.268Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:42:49.268Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T22:42:49.391Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-06T22:42:49.414Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-06T22:42:49.438Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T22:42:49.463Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T22:42:49.487Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T22:42:49.511Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T22:42:49.534Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T22:42:49.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T22:42:49.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-06T22:42:49.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T22:42:49.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T22:42:49.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-06T22:42:49.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T22:42:49.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T22:42:49.727Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T22:42:49.751Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:42:49.775Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:42:49.799Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:42:49.850Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T22:42:49.879Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T22:42:49.904Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-06T22:42:49.930Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-06T22:42:49.956Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T22:42:49.980Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T22:42:50.003Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-06T22:42:50.029Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T22:42:50.054Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-900 [Pipeline] echo [2021-05-06T22:42:50.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-900 [Pipeline] echo [2021-05-06T22:42:50.103Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-900 [Pipeline] echo [2021-05-06T22:42:50.126Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 80c53e719aff91ae985600ad7eb1f4c51c8f6884 [Pipeline] echo [2021-05-06T22:42:50.149Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 80c53e7 [Pipeline] echo [2021-05-06T22:42:50.173Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:42:50.243Z] provisioning config files... [2021-05-06T22:42:50.278Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config2175483209912627153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:42:50.597Z] ---> docker-login.sh [2021-05-06T22:42:50.597Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:42:50.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:50.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:50.863Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:50.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:50.863Z] [2021-05-06T22:42:50.863Z] Login Succeeded [2021-05-06T22:42:50.863Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:42:51.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:51.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:51.128Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:51.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:51.128Z] [2021-05-06T22:42:51.128Z] Login Succeeded [2021-05-06T22:42:51.128Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:42:51.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:51.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:51.394Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:51.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:51.394Z] [2021-05-06T22:42:51.394Z] Login Succeeded [2021-05-06T22:42:51.394Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:42:51.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:51.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:51.656Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:51.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:51.656Z] [2021-05-06T22:42:51.656Z] Login Succeeded [2021-05-06T22:42:51.656Z] docker.io [2021-05-06T22:42:51.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:52.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:52.231Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:52.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:52.231Z] [2021-05-06T22:42:52.231Z] Login Succeeded [2021-05-06T22:42:52.231Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:42:52.242Z] 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 [2021-05-06T22:42:52.691Z] + git log --format=format:%s -1 80c53e719aff91ae985600ad7eb1f4c51c8f6884 [Pipeline] echo [2021-05-06T22:42:52.772Z] GIT_COMMIT: 80c53e719aff91ae985600ad7eb1f4c51c8f6884, Commit Message: Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD [Pipeline] echo [2021-05-06T22:42:52.786Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:42:53.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:42:53.347Z] [2021-05-06T22:42:53.347Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:42:53.670Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:42:53.670Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T22:42:53.670Z] 31603596830f: Pulling fs layer [2021-05-06T22:42:53.670Z] 54011a49482f: Pulling fs layer [2021-05-06T22:42:53.670Z] a6820b24f6d8: Pulling fs layer [2021-05-06T22:42:53.670Z] f581987b2513: Pulling fs layer [2021-05-06T22:42:53.670Z] f581987b2513: Waiting [2021-05-06T22:42:53.936Z] 31603596830f: Verifying Checksum [2021-05-06T22:42:53.936Z] 31603596830f: Download complete [2021-05-06T22:42:53.936Z] f581987b2513: Download complete [2021-05-06T22:42:53.936Z] a6820b24f6d8: Verifying Checksum [2021-05-06T22:42:53.936Z] a6820b24f6d8: Download complete [2021-05-06T22:42:54.199Z] 31603596830f: Pull complete [2021-05-06T22:42:54.199Z] 54011a49482f: Pull complete [2021-05-06T22:42:55.158Z] a6820b24f6d8: Pull complete [2021-05-06T22:42:55.423Z] f581987b2513: Pull complete [2021-05-06T22:42:55.423Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T22:42:55.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:42:55.423Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T22:42:55.536Z] prd-centos7-docker-4c-2g-3343 does not seem to be running inside a container [2021-05-06T22:42:55.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-900 -v /w/workspace/dgexfoundry_device-sdk-go_PR-900:/w/workspace/dgexfoundry_device-sdk-go_PR-900:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-06T22:42:57.701Z] $ docker top a99b2bb67ece4c79954acbd38bd03a6b62c838853d96f6326f5b96b0f0caeacb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T22:42:57.882Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:42:57.883Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:42:58.123Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:42:58.125Z] $ docker exec a99b2bb67ece4c79954acbd38bd03a6b62c838853d96f6326f5b96b0f0caeacb ssh-agent [2021-05-06T22:42:58.292Z] SSH_AUTH_SOCK=/tmp/ssh-lucF4kIp1MKy/agent.12 [2021-05-06T22:42:58.292Z] SSH_AGENT_PID=18 [2021-05-06T22:42:58.304Z] Running ssh-add (command line suppressed) [2021-05-06T22:42:58.421Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_7685964020221893190.key (/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_7685964020221893190.key) [2021-05-06T22:42:58.476Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:42:58.782Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T22:42:58.799Z] $ docker exec --env ******** --env ******** a99b2bb67ece4c79954acbd38bd03a6b62c838853d96f6326f5b96b0f0caeacb ssh-agent -k [2021-05-06T22:42:58.925Z] unset SSH_AUTH_SOCK; [2021-05-06T22:42:58.926Z] unset SSH_AGENT_PID; [2021-05-06T22:42:58.926Z] echo Agent pid 18 killed; [2021-05-06T22:42:58.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T22:42:59.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:42:59.021Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:42:59.193Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:42:59.195Z] $ docker exec a99b2bb67ece4c79954acbd38bd03a6b62c838853d96f6326f5b96b0f0caeacb ssh-agent [2021-05-06T22:42:59.367Z] SSH_AUTH_SOCK=/tmp/ssh-N55tlz0pKqeP/agent.46 [2021-05-06T22:42:59.367Z] SSH_AGENT_PID=51 [2021-05-06T22:42:59.373Z] Running ssh-add (command line suppressed) [2021-05-06T22:42:59.488Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_7109261741082228313.key (/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_7109261741082228313.key) [2021-05-06T22:42:59.544Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:42:59.843Z] + git semver init [2021-05-06T22:42:59.843Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T22:42:59.843Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-900/.git [2021-05-06T22:42:59.843Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-900 [2021-05-06T22:42:59.843Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T22:42:59.843Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T22:42:59.843Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T22:42:59.843Z] # $SEMVER_BRANCH = PR-900 [2021-05-06T22:42:59.843Z] # $SEMVER_TEMP = /tmp/semver-634547808 [2021-05-06T22:42:59.843Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-06T22:43:00.789Z] # '/tmp/semver-634547808' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-900/.semver' [2021-05-06T22:43:00.789Z] # -> Force: false [2021-05-06T22:43:00.789Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-900/.semver [Pipeline] } [2021-05-06T22:43:00.800Z] $ docker exec --env ******** --env ******** a99b2bb67ece4c79954acbd38bd03a6b62c838853d96f6326f5b96b0f0caeacb ssh-agent -k [2021-05-06T22:43:00.926Z] unset SSH_AUTH_SOCK; [2021-05-06T22:43:00.926Z] unset SSH_AGENT_PID; [2021-05-06T22:43:00.927Z] echo Agent pid 51 killed; [2021-05-06T22:43:00.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T22:43:01.313Z] + git semver [Pipeline] } [2021-05-06T22:43:01.329Z] $ docker stop --time=1 a99b2bb67ece4c79954acbd38bd03a6b62c838853d96f6326f5b96b0f0caeacb [2021-05-06T22:43:02.732Z] $ docker rm -f a99b2bb67ece4c79954acbd38bd03a6b62c838853d96f6326f5b96b0f0caeacb [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:43:03.159Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T22:43:03.487Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T22:43:03.491Z] [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 [2021-05-06T22:43:18.666Z] Still waiting to schedule task [2021-05-06T22:43:18.666Z] ‘prd-centos7-docker-4c-2g-3338’ is offline; ‘prd-centos7-docker-4c-2g-3345’ is offline [2021-05-06T22:43:18.669Z] Still waiting to schedule task [2021-05-06T22:43:18.669Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-06T22:44:25.265Z] Running on prd-centos7-docker-4c-2g-3348 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [Pipeline] { [Pipeline] ws [2021-05-06T22:44:25.288Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-05-06T22:44:28.084Z] using credential edgex-jenkins-ssh [2021-05-06T22:44:28.100Z] Cloning the remote Git repository [2021-05-06T22:44:28.127Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:44:28.196Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-05-06T22:44:28.261Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:44:28.261Z] > git --version # timeout=10 [2021-05-06T22:44:28.267Z] > git --version # 'git version 2.24.3' [2021-05-06T22:44:28.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:44:28.293Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:44:29.857Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 44e422c5aebbc746276f514c8f0709a2f5b68208 [2021-05-06T22:44:29.967Z] Merge succeeded, producing 8086f12264ffae3447a12717811ecfeac8258d1c [2021-05-06T22:44:29.968Z] Checking out Revision 8086f12264ffae3447a12717811ecfeac8258d1c (PR-900) [2021-05-06T22:44:29.316Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:44:29.322Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:44:29.335Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:44:29.347Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:44:29.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:44:29.351Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:44:29.867Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:44:29.874Z] > git checkout -f 44e422c5aebbc746276f514c8f0709a2f5b68208 # timeout=10 [2021-05-06T22:44:29.916Z] > git remote # timeout=10 [2021-05-06T22:44:29.923Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:44:29.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:44:29.934Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-06T22:44:29.963Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:44:29.972Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:44:29.978Z] > git checkout -f 8086f12264ffae3447a12717811ecfeac8258d1c # timeout=10 [2021-05-06T22:44:33.734Z] Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" [2021-05-06T22:44:33.741Z] > git rev-list --no-walk 44e422c5aebbc746276f514c8f0709a2f5b68208 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:44:34.751Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:44:35.081Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:44:35.383Z] + sudo service docker restart [2021-05-06T22:44:35.383Z] + true [2021-05-06T22:44:35.383Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:44:36.822Z] provisioning config files... [2021-05-06T22:44:36.853Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4901398303980878126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:44:37.182Z] ---> docker-login.sh [2021-05-06T22:44:37.182Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:44:37.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:44:37.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:44:37.712Z] Configure a credential helper to remove this warning. See [2021-05-06T22:44:37.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:44:37.712Z] [2021-05-06T22:44:37.712Z] Login Succeeded [2021-05-06T22:44:37.712Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:44:37.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:44:37.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:44:37.976Z] Configure a credential helper to remove this warning. See [2021-05-06T22:44:37.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:44:37.976Z] [2021-05-06T22:44:37.976Z] Login Succeeded [2021-05-06T22:44:37.976Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:44:37.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:44:37.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:44:37.976Z] Configure a credential helper to remove this warning. See [2021-05-06T22:44:37.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:44:37.976Z] [2021-05-06T22:44:37.976Z] Login Succeeded [2021-05-06T22:44:37.976Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:44:38.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:44:38.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:44:38.241Z] Configure a credential helper to remove this warning. See [2021-05-06T22:44:38.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:44:38.241Z] [2021-05-06T22:44:38.241Z] Login Succeeded [2021-05-06T22:44:38.241Z] docker.io [2021-05-06T22:44:38.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:44:38.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:44:38.772Z] Configure a credential helper to remove this warning. See [2021-05-06T22:44:38.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:44:38.772Z] [2021-05-06T22:44:38.772Z] Login Succeeded [2021-05-06T22:44:38.772Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:44:38.786Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:44:39.014Z] ========================================================= [2021-05-06T22:44:39.014Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T22:44:39.014Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:44:39.338Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-06T22:44:39.606Z] Sending build context to Docker daemon 2.576MB [2021-05-06T22:44:39.606Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:44:39.606Z] Step 2/8 : FROM ${BASE} [2021-05-06T22:44:39.606Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T22:44:39.606Z] 540db60ca938: Pulling fs layer [2021-05-06T22:44:39.606Z] adcc1eea9eea: Pulling fs layer [2021-05-06T22:44:39.606Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T22:44:39.606Z] 0510c868ecb4: Pulling fs layer [2021-05-06T22:44:39.606Z] afea3b2eda06: Pulling fs layer [2021-05-06T22:44:39.606Z] 7809a108b3ef: Pulling fs layer [2021-05-06T22:44:39.606Z] f706445af74f: Pulling fs layer [2021-05-06T22:44:39.606Z] afea3b2eda06: Waiting [2021-05-06T22:44:39.606Z] 7809a108b3ef: Waiting [2021-05-06T22:44:39.606Z] f706445af74f: Waiting [2021-05-06T22:44:39.606Z] 0510c868ecb4: Waiting [2021-05-06T22:44:39.606Z] 4c4ab2625f07: Download complete [2021-05-06T22:44:39.606Z] adcc1eea9eea: Download complete [2021-05-06T22:44:39.606Z] afea3b2eda06: Download complete [2021-05-06T22:44:39.606Z] 540db60ca938: Verifying Checksum [2021-05-06T22:44:39.606Z] 540db60ca938: Download complete [2021-05-06T22:44:39.606Z] 7809a108b3ef: Verifying Checksum [2021-05-06T22:44:39.606Z] 7809a108b3ef: Download complete [2021-05-06T22:44:40.200Z] 540db60ca938: Pull complete [2021-05-06T22:44:40.465Z] adcc1eea9eea: Pull complete [2021-05-06T22:44:40.465Z] 4c4ab2625f07: Pull complete [2021-05-06T22:44:41.045Z] f706445af74f: Verifying Checksum [2021-05-06T22:44:41.045Z] f706445af74f: Download complete [2021-05-06T22:44:42.454Z] 0510c868ecb4: Verifying Checksum [2021-05-06T22:44:42.454Z] 0510c868ecb4: Download complete [2021-05-06T22:44:47.796Z] 0510c868ecb4: Pull complete [2021-05-06T22:44:48.062Z] afea3b2eda06: Pull complete [2021-05-06T22:44:48.062Z] 7809a108b3ef: Pull complete [2021-05-06T22:44:56.264Z] f706445af74f: Pull complete [2021-05-06T22:44:56.264Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T22:44:56.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T22:44:56.264Z] ---> b068be0155e3 [2021-05-06T22:44:56.264Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:44:56.529Z] ---> Running in 16589f9c6bf8 [2021-05-06T22:44:57.105Z] Removing intermediate container 16589f9c6bf8 [2021-05-06T22:44:57.105Z] ---> 19aa0b688b6e [2021-05-06T22:44:57.105Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:44:57.105Z] ---> Running in 09bc650360ae [2021-05-06T22:44:58.525Z] Removing intermediate container 09bc650360ae [2021-05-06T22:44:58.525Z] ---> 46740b433d02 [2021-05-06T22:44:58.525Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T22:44:58.525Z] ---> Running in 83c9977b8321 [2021-05-06T22:44:59.491Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:45:00.444Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:45:01.026Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-06T22:45:01.026Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-06T22:45:01.026Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-06T22:45:01.026Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-06T22:45:01.288Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-06T22:45:01.289Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-06T22:45:01.289Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T22:45:01.554Z] OK: 150 MiB in 46 packages [2021-05-06T22:45:02.145Z] Removing intermediate container 83c9977b8321 [2021-05-06T22:45:02.145Z] ---> f8ff1f8b087a [2021-05-06T22:45:02.145Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-06T22:45:02.410Z] ---> Running in 11b693ee5288 [2021-05-06T22:45:02.676Z] Removing intermediate container 11b693ee5288 [2021-05-06T22:45:02.676Z] ---> ea8a2ca3889b [2021-05-06T22:45:02.676Z] Step 7/8 : COPY . . [2021-05-06T22:45:03.632Z] ---> 6427af06d855 [2021-05-06T22:45:03.632Z] Step 8/8 : RUN go mod download [2021-05-06T22:45:03.897Z] ---> Running in 282338852aca [2021-05-06T22:45:30.601Z] Removing intermediate container 282338852aca [2021-05-06T22:45:30.601Z] ---> 444dd8cb180f [2021-05-06T22:45:30.601Z] Successfully built 444dd8cb180f [2021-05-06T22:45:30.601Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:45:30.924Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:45:30.924Z] . [Pipeline] withDockerContainer [2021-05-06T22:45:31.098Z] prd-centos7-docker-4c-2g-3348 does not seem to be running inside a container [2021-05-06T22:45:31.178Z] $ 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 [2021-05-06T22:45:32.206Z] $ docker top a174d270719962fed32aa343059cd3e8a4af3eb789465dea39e6234980930919 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:45:32.724Z] + go version [2021-05-06T22:45:32.724Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T22:45:32.740Z] $ docker stop --time=1 a174d270719962fed32aa343059cd3e8a4af3eb789465dea39e6234980930919 [2021-05-06T22:45:34.148Z] $ docker rm -f a174d270719962fed32aa343059cd3e8a4af3eb789465dea39e6234980930919 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:45:35.729Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:45:35.729Z] . [Pipeline] withDockerContainer [2021-05-06T22:45:35.832Z] prd-centos7-docker-4c-2g-3348 does not seem to be running inside a container [2021-05-06T22:45:35.884Z] $ 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 [2021-05-06T22:45:36.848Z] $ docker top 6343261eb59c7bc6a913f9f9c7e2f7e1024a398cf42c38d85d69b85efa95b902 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:45:37.304Z] + go mod tidy [Pipeline] sh [2021-05-06T22:45:38.184Z] + make test [2021-05-06T22:45:38.184Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-06T22:45:46.415Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-06T22:46:13.625Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-06T22:46:13.625Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-06T22:46:13.625Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-06T22:46:13.625Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.088s coverage: 25.4% of statements [2021-05-06T22:46:13.625Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-06T22:46:13.625Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.080s coverage: 28.1% of statements [2021-05-06T22:46:13.625Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 78.9% of statements [2021-05-06T22:46:13.770Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3352 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [Pipeline] { [Pipeline] ws [2021-05-06T22:46:13.792Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-05-06T22:46:15.585Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.063s coverage: 7.8% of statements [2021-05-06T22:46:15.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-06T22:46:15.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-06T22:46:15.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-06T22:46:15.585Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.089s coverage: 30.2% of statements [2021-05-06T22:46:15.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-06T22:46:15.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-06T22:46:15.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-06T22:46:16.187Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.121s coverage: 58.4% of statements [2021-05-06T22:46:16.187Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.246s coverage: 89.2% of statements [2021-05-06T22:46:16.187Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-06T22:46:17.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 5.0% of statements [2021-05-06T22:46:17.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-06T22:46:17.144Z] GO111MODULE=on go vet ./... [2021-05-06T22:46:19.703Z] using credential edgex-jenkins-ssh [2021-05-06T22:46:19.735Z] Cloning the remote Git repository [2021-05-06T22:46:19.808Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:46:19.917Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-05-06T22:46:19.996Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:46:19.996Z] > git --version # timeout=10 [2021-05-06T22:46:20.013Z] > git --version # 'git version 2.17.1' [2021-05-06T22:46:20.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:46:20.084Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:46:21.495Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:46:21.521Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:46:21.542Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:46:21.570Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:46:21.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:46:22.206Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 44e422c5aebbc746276f514c8f0709a2f5b68208 [2021-05-06T22:46:22.468Z] Merge succeeded, producing 938351cb414094d4d310fb158ce503c2d92e5bc8 [2021-05-06T22:46:22.469Z] Checking out Revision 938351cb414094d4d310fb158ce503c2d92e5bc8 (PR-900) [2021-05-06T22:46:21.584Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:46:22.227Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:46:22.244Z] > git checkout -f 44e422c5aebbc746276f514c8f0709a2f5b68208 # timeout=10 [2021-05-06T22:46:22.346Z] > git remote # timeout=10 [2021-05-06T22:46:22.362Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:46:22.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:46:22.383Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-06T22:46:22.458Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:46:22.477Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:46:22.494Z] > git checkout -f 938351cb414094d4d310fb158ce503c2d92e5bc8 # timeout=10 [2021-05-06T22:46:26.820Z] Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" [2021-05-06T22:46:26.830Z] > git rev-list --no-walk 44e422c5aebbc746276f514c8f0709a2f5b68208 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:46:28.350Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:46:28.772Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:46:29.113Z] + sudo service docker restart [2021-05-06T22:46:29.113Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:46:31.138Z] provisioning config files... [2021-05-06T22:46:31.181Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3628726031516741402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:46:31.557Z] ---> docker-login.sh [2021-05-06T22:46:31.557Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:46:32.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:46:32.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:32.821Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:32.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:32.821Z] [2021-05-06T22:46:32.821Z] Login Succeeded [2021-05-06T22:46:32.821Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:46:33.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:46:33.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:33.418Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:33.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:33.418Z] [2021-05-06T22:46:33.418Z] Login Succeeded [2021-05-06T22:46:33.418Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:46:34.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:46:34.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:34.016Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:34.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:34.016Z] [2021-05-06T22:46:34.016Z] Login Succeeded [2021-05-06T22:46:34.016Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:46:34.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:46:34.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:34.625Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:34.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:34.625Z] [2021-05-06T22:46:34.625Z] Login Succeeded [2021-05-06T22:46:34.625Z] docker.io [2021-05-06T22:46:35.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:46:35.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:35.495Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:35.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:35.495Z] [2021-05-06T22:46:35.495Z] Login Succeeded [2021-05-06T22:46:35.495Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:46:35.514Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:46:35.820Z] ========================================================= [2021-05-06T22:46:35.820Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T22:46:35.820Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:46:36.169Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-06T22:46:36.770Z] Sending build context to Docker daemon 2.564MB [2021-05-06T22:46:36.770Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:46:36.770Z] Step 2/8 : FROM ${BASE} [2021-05-06T22:46:36.770Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T22:46:36.770Z] 595b0fe564bb: Pulling fs layer [2021-05-06T22:46:36.770Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T22:46:36.770Z] 316046926c0a: Pulling fs layer [2021-05-06T22:46:36.770Z] 4ebd0625c992: Pulling fs layer [2021-05-06T22:46:36.770Z] 207e8628e3a3: Pulling fs layer [2021-05-06T22:46:36.770Z] c791037a9be2: Pulling fs layer [2021-05-06T22:46:36.770Z] ffd874e62e21: Pulling fs layer [2021-05-06T22:46:36.770Z] 4ebd0625c992: Waiting [2021-05-06T22:46:36.770Z] 207e8628e3a3: Waiting [2021-05-06T22:46:36.770Z] c791037a9be2: Waiting [2021-05-06T22:46:36.770Z] ffd874e62e21: Waiting [2021-05-06T22:46:36.770Z] 316046926c0a: Verifying Checksum [2021-05-06T22:46:36.770Z] 316046926c0a: Download complete [2021-05-06T22:46:36.770Z] 7186ed65a4f7: Verifying Checksum [2021-05-06T22:46:36.770Z] 7186ed65a4f7: Download complete [2021-05-06T22:46:36.770Z] 207e8628e3a3: Verifying Checksum [2021-05-06T22:46:36.770Z] 207e8628e3a3: Download complete [2021-05-06T22:46:36.770Z] c791037a9be2: Verifying Checksum [2021-05-06T22:46:36.770Z] c791037a9be2: Download complete [2021-05-06T22:46:36.770Z] 595b0fe564bb: Verifying Checksum [2021-05-06T22:46:36.770Z] 595b0fe564bb: Download complete [2021-05-06T22:46:37.760Z] 595b0fe564bb: Pull complete [2021-05-06T22:46:38.361Z] 7186ed65a4f7: Pull complete [2021-05-06T22:46:38.637Z] 316046926c0a: Pull complete [2021-05-06T22:46:39.291Z] gofmt -l . [2021-05-06T22:46:39.291Z] [ "`gofmt -l .`" = "" ] [2021-05-06T22:46:39.291Z] ./bin/test-attribution-txt.sh [2021-05-06T22:46:39.291Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T22:46:39.311Z] $ docker stop --time=1 6343261eb59c7bc6a913f9f9c7e2f7e1024a398cf42c38d85d69b85efa95b902 [2021-05-06T22:46:39.630Z] ffd874e62e21: Verifying Checksum [2021-05-06T22:46:39.630Z] ffd874e62e21: Download complete [2021-05-06T22:46:40.223Z] 4ebd0625c992: Verifying Checksum [2021-05-06T22:46:40.223Z] 4ebd0625c992: Download complete [2021-05-06T22:46:41.083Z] $ docker rm -f 6343261eb59c7bc6a913f9f9c7e2f7e1024a398cf42c38d85d69b85efa95b902 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:46:41.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T22:46:42.121Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-06T22:46:43.138Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T22:46:43.441Z] + ls -al . [2021-05-06T22:46:43.441Z] total 212 [2021-05-06T22:46:43.441Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 6 22:46 . [2021-05-06T22:46:43.441Z] drwxrwxr-x. 4 jenkins jenkins 28 May 6 22:44 .. [2021-05-06T22:46:43.441Z] drwxrwxr-x. 2 jenkins jenkins 64 May 6 22:44 bin [2021-05-06T22:46:43.441Z] -rw-r--r--. 1 jenkins jenkins 125561 May 6 22:46 coverage.out [2021-05-06T22:46:43.441Z] -rw-rw-r--. 1 jenkins jenkins 987 May 6 22:44 Dockerfile.build [2021-05-06T22:46:43.441Z] -rw-rw-r--. 1 jenkins jenkins 140 May 6 22:44 .dockerignore [2021-05-06T22:46:43.441Z] drwxrwxr-x. 5 jenkins jenkins 62 May 6 22:44 example [2021-05-06T22:46:43.441Z] drwxrwxr-x. 8 jenkins jenkins 179 May 6 22:44 .git [2021-05-06T22:46:43.441Z] drwxrwxr-x. 2 jenkins jenkins 103 May 6 22:44 .github [2021-05-06T22:46:43.441Z] -rw-rw-r--. 1 jenkins jenkins 138 May 6 22:44 .gitignore [2021-05-06T22:46:43.441Z] -rw-r--r--. 1 jenkins jenkins 575 May 6 22:46 go.mod [2021-05-06T22:46:43.441Z] -rw-r--r--. 1 jenkins jenkins 20957 May 6 22:45 go.sum [2021-05-06T22:46:43.441Z] drwxrwxr-x. 14 jenkins jenkins 207 May 6 22:44 internal [2021-05-06T22:46:43.441Z] -rw-rw-r--. 1 jenkins jenkins 901 May 6 22:44 Jenkinsfile [2021-05-06T22:46:43.441Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 6 22:44 LICENSE [2021-05-06T22:46:43.441Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 6 22:44 Makefile [2021-05-06T22:46:43.441Z] drwxrwxr-x. 4 jenkins jenkins 26 May 6 22:44 openapi [2021-05-06T22:46:43.441Z] drwxrwxr-x. 5 jenkins jenkins 50 May 6 22:44 pkg [2021-05-06T22:46:43.441Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 6 22:44 README.md [2021-05-06T22:46:43.441Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 6 22:44 RELEASE-NOTES.txt [2021-05-06T22:46:43.441Z] drwxrwxr-x. 4 jenkins jenkins 54 May 6 22:44 snap [2021-05-06T22:46:43.441Z] -rw-rw-r--. 1 jenkins jenkins 5 May 6 22:43 VERSION [2021-05-06T22:46:43.441Z] -rw-rw-r--. 1 jenkins jenkins 222 May 6 22:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:46:43.754Z] + 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=80c53e719aff91ae985600ad7eb1f4c51c8f6884 --label arch=amd64 --label version=0.0.0 . [2021-05-06T22:46:44.016Z] Sending build context to Docker daemon 2.702MB [2021-05-06T22:46:44.016Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:46:44.016Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-06T22:46:44.016Z] ---> 444dd8cb180f [2021-05-06T22:46:44.016Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-06T22:46:44.590Z] ---> Running in e7649f95d6b0 [2021-05-06T22:46:44.852Z] Removing intermediate container e7649f95d6b0 [2021-05-06T22:46:44.852Z] ---> 33127285dd5b [2021-05-06T22:46:44.852Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:46:44.852Z] ---> Running in e1ee43d8f5e3 [2021-05-06T22:46:45.131Z] Removing intermediate container e1ee43d8f5e3 [2021-05-06T22:46:45.131Z] ---> 9f62614e2378 [2021-05-06T22:46:45.131Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:46:45.131Z] ---> Running in 97a7cb701d64 [2021-05-06T22:46:46.544Z] Removing intermediate container 97a7cb701d64 [2021-05-06T22:46:46.544Z] ---> 0dad1182df26 [2021-05-06T22:46:46.544Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-06T22:46:46.544Z] ---> Running in 80bcae483cc8 [2021-05-06T22:46:47.123Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:46:48.082Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:46:48.347Z] OK: 150 MiB in 46 packages [2021-05-06T22:46:48.926Z] Removing intermediate container 80bcae483cc8 [2021-05-06T22:46:48.926Z] ---> c5298df62150 [2021-05-06T22:46:48.926Z] Step 7/23 : COPY . . [2021-05-06T22:46:50.338Z] ---> 1f69408795f3 [2021-05-06T22:46:50.338Z] Step 8/23 : RUN go mod download [2021-05-06T22:46:50.338Z] ---> Running in c351ef1123d5 [2021-05-06T22:46:50.379Z] 4ebd0625c992: Pull complete [2021-05-06T22:46:50.379Z] 207e8628e3a3: Pull complete [2021-05-06T22:46:50.379Z] c791037a9be2: Pull complete [2021-05-06T22:46:51.293Z] Removing intermediate container c351ef1123d5 [2021-05-06T22:46:51.293Z] ---> ebfbd2bdf430 [2021-05-06T22:46:51.293Z] Step 9/23 : RUN make build [2021-05-06T22:46:51.293Z] ---> Running in 99e89a0033e5 [2021-05-06T22:46:51.889Z] 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 [2021-05-06T22:46:54.691Z] ffd874e62e21: Pull complete [2021-05-06T22:46:54.691Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T22:46:54.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T22:46:54.691Z] ---> cfc18b08335c [2021-05-06T22:46:54.691Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:46:57.339Z] ---> Running in b233278ca6cf [2021-05-06T22:46:57.611Z] Removing intermediate container b233278ca6cf [2021-05-06T22:46:57.611Z] ---> aba5dd8662f5 [2021-05-06T22:46:57.611Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:46:57.884Z] ---> Running in 175f23ad0c5f [2021-05-06T22:46:59.865Z] Removing intermediate container 175f23ad0c5f [2021-05-06T22:46:59.865Z] ---> c6cbd31c03e1 [2021-05-06T22:46:59.865Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T22:47:00.147Z] ---> Running in eff512cded0e [2021-05-06T22:47:01.137Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:47:02.112Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:47:03.094Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-06T22:47:03.094Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-06T22:47:03.365Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-06T22:47:03.365Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-06T22:47:03.639Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-06T22:47:03.639Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-06T22:47:03.639Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T22:47:03.639Z] OK: 139 MiB in 46 packages [2021-05-06T22:47:04.320Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-06T22:47:05.078Z] Removing intermediate container eff512cded0e [2021-05-06T22:47:05.078Z] ---> 3fe0d68c933c [2021-05-06T22:47:05.078Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-06T22:47:05.353Z] ---> Running in 12808de6ae11 [2021-05-06T22:47:05.629Z] Removing intermediate container 12808de6ae11 [2021-05-06T22:47:05.629Z] ---> ae42cdc5d6f5 [2021-05-06T22:47:05.629Z] Step 7/8 : COPY . . [2021-05-06T22:47:05.716Z] Removing intermediate container 99e89a0033e5 [2021-05-06T22:47:05.716Z] ---> 7df94e4577ab [2021-05-06T22:47:05.716Z] Step 10/23 : FROM alpine:3.12 [2021-05-06T22:47:06.297Z] 3.12: Pulling from library/alpine [2021-05-06T22:47:06.297Z] 339de151aab4: Pulling fs layer [2021-05-06T22:47:06.563Z] 339de151aab4: Verifying Checksum [2021-05-06T22:47:06.563Z] 339de151aab4: Download complete [2021-05-06T22:47:06.827Z] 339de151aab4: Pull complete [2021-05-06T22:47:06.827Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T22:47:06.827Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T22:47:06.827Z] ---> 13621d1b12d4 [2021-05-06T22:47:06.827Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:47:06.827Z] ---> Running in 719c6cade917 [2021-05-06T22:47:07.073Z] ---> 06817097c5be [2021-05-06T22:47:07.074Z] Step 8/8 : RUN go mod download [2021-05-06T22:47:07.093Z] Removing intermediate container 719c6cade917 [2021-05-06T22:47:07.093Z] ---> f5b0cef42651 [2021-05-06T22:47:07.093Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:47:07.093Z] ---> Running in f20cfbd28567 [2021-05-06T22:47:07.349Z] ---> Running in 34f317b325dc [2021-05-06T22:47:08.057Z] Removing intermediate container f20cfbd28567 [2021-05-06T22:47:08.057Z] ---> c6fd137cf0bc [2021-05-06T22:47:08.057Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-06T22:47:08.057Z] ---> Running in 3ef700833912 [2021-05-06T22:47:08.651Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:47:09.248Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:47:09.824Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-06T22:47:09.824Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-06T22:47:10.089Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-06T22:47:11.040Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-06T22:47:11.040Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-06T22:47:11.307Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T22:47:11.307Z] OK: 8 MiB in 19 packages [2021-05-06T22:47:11.891Z] Removing intermediate container 3ef700833912 [2021-05-06T22:47:11.891Z] ---> 212deb49c900 [2021-05-06T22:47:11.891Z] Step 14/23 : WORKDIR / [2021-05-06T22:47:11.891Z] ---> Running in c293e379ecc2 [2021-05-06T22:47:12.157Z] Removing intermediate container c293e379ecc2 [2021-05-06T22:47:12.157Z] ---> 0ba6f57e0ecd [2021-05-06T22:47:12.157Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-06T22:47:12.424Z] ---> c833d525c84b [2021-05-06T22:47:12.425Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-06T22:47:13.003Z] ---> 93cd3811e39d [2021-05-06T22:47:13.003Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-06T22:47:13.268Z] ---> 423013316dfd [2021-05-06T22:47:13.268Z] Step 18/23 : EXPOSE 49990 [2021-05-06T22:47:13.544Z] ---> Running in fc07f8348aa2 [2021-05-06T22:47:13.544Z] Removing intermediate container fc07f8348aa2 [2021-05-06T22:47:13.544Z] ---> fc44b42b8ef5 [2021-05-06T22:47:13.544Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-06T22:47:13.544Z] ---> Running in a1fa4e9d1d9d [2021-05-06T22:47:13.806Z] Removing intermediate container a1fa4e9d1d9d [2021-05-06T22:47:13.806Z] ---> 8343ff036a86 [2021-05-06T22:47:13.806Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T22:47:13.806Z] ---> Running in aeef6738357a [2021-05-06T22:47:14.078Z] Removing intermediate container aeef6738357a [2021-05-06T22:47:14.078Z] ---> 2a1642318ef4 [2021-05-06T22:47:14.078Z] Step 21/23 : LABEL arch=amd64 [2021-05-06T22:47:14.078Z] ---> Running in 61a40addac9b [2021-05-06T22:47:14.344Z] Removing intermediate container 61a40addac9b [2021-05-06T22:47:14.344Z] ---> 2700839f6866 [2021-05-06T22:47:14.344Z] Step 22/23 : LABEL git_sha=80c53e719aff91ae985600ad7eb1f4c51c8f6884 [2021-05-06T22:47:14.344Z] ---> Running in ebe4ba4f78ad [2021-05-06T22:47:14.611Z] Removing intermediate container ebe4ba4f78ad [2021-05-06T22:47:14.611Z] ---> 760e286eb28e [2021-05-06T22:47:14.611Z] Step 23/23 : LABEL version=0.0.0 [2021-05-06T22:47:14.611Z] ---> Running in 4d88cb4ac99b [2021-05-06T22:47:14.874Z] Removing intermediate container 4d88cb4ac99b [2021-05-06T22:47:14.874Z] ---> a7a86bedf8f8 [2021-05-06T22:47:14.874Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-06T22:47:14.874Z] Successfully built a7a86bedf8f8 [2021-05-06T22:47:14.874Z] 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 [2021-05-06T22:47:15.407Z] ---> job-cost.sh [2021-05-06T22:47:15.407Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-onti [2021-05-06T22:47:33.606Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T22:47:34.195Z] Removing intermediate container 34f317b325dc [2021-05-06T22:47:34.195Z] ---> 7cc9b10b0ad2 [2021-05-06T22:47:34.195Z] Successfully built 7cc9b10b0ad2 [2021-05-06T22:47:34.195Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:47:34.563Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T22:47:34.564Z] . [Pipeline] withDockerContainer [2021-05-06T22:47:34.832Z] prd-ubuntu18.04-docker-arm64-4c-16g-3352 does not seem to be running inside a container [2021-05-06T22:47:34.923Z] $ 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 [2021-05-06T22:47:36.561Z] $ docker top d6da56bf66a3b8ab28fd50b63921bbab5a5adbba5334e0203e9ee068e6b7ce4c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:47:37.547Z] + go version [2021-05-06T22:47:37.547Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T22:47:37.576Z] $ docker stop --time=1 d6da56bf66a3b8ab28fd50b63921bbab5a5adbba5334e0203e9ee068e6b7ce4c [2021-05-06T22:47:39.665Z] $ docker rm -f d6da56bf66a3b8ab28fd50b63921bbab5a5adbba5334e0203e9ee068e6b7ce4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:47:40.369Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T22:47:40.369Z] . [Pipeline] withDockerContainer [2021-05-06T22:47:40.638Z] prd-ubuntu18.04-docker-arm64-4c-16g-3352 does not seem to be running inside a container [2021-05-06T22:47:40.721Z] $ 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 [2021-05-06T22:47:42.335Z] $ docker top 3b06f90e166eaf88c0ac06af08b7072e73a770f2221d6e51c3e4ac01871a98bd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:47:43.308Z] + go mod tidy [Pipeline] sh [2021-05-06T22:47:44.582Z] + make test [2021-05-06T22:47:44.582Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-06T22:48:00.256Z] lf-activate-venv(): INFO: Adding /tmp/venv-onti/bin to PATH [2021-05-06T22:48:00.256Z] INFO: No Stack... [2021-05-06T22:48:00.256Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T22:48:00.256Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T22:48:01.250Z] + cut -d, -f6 [2021-05-06T22:48:01.250Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2021-05-06T22:48:01.343Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-900-3-stack-cost] [2021-05-06T22:48:01.355Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-900-3-stack-cost] did not exist. Created. [2021-05-06T22:48:01.355Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-900-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T22:48:01.712Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-06T22:48:01.846Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T22:48:01.856Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-900-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T22:48:11.424Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-06T22:49:19.534Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-06T22:49:19.534Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-06T22:49:19.534Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-06T22:49:31.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.200s coverage: 25.4% of statements [2021-05-06T22:49:31.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-06T22:49:31.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.157s coverage: 28.1% of statements [2021-05-06T22:49:31.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.212s coverage: 78.9% of statements [2021-05-06T22:49:31.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.245s coverage: 7.8% of statements [2021-05-06T22:49:31.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-06T22:49:31.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-06T22:49:31.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-06T22:49:35.433Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.292s coverage: 30.2% of statements [2021-05-06T22:49:35.433Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-06T22:49:35.433Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-06T22:49:35.433Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-06T22:49:35.730Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.374s coverage: 58.4% of statements [2021-05-06T22:49:37.768Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.295s coverage: 89.2% of statements [2021-05-06T22:49:37.768Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-06T22:49:38.042Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.159s coverage: 5.0% of statements [2021-05-06T22:49:38.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-06T22:49:38.660Z] GO111MODULE=on go vet ./... [2021-05-06T22:50:35.343Z] gofmt -l . [2021-05-06T22:50:35.343Z] [ "`gofmt -l .`" = "" ] [2021-05-06T22:50:35.343Z] ./bin/test-attribution-txt.sh [2021-05-06T22:50:36.784Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T22:50:37.092Z] $ docker stop --time=1 3b06f90e166eaf88c0ac06af08b7072e73a770f2221d6e51c3e4ac01871a98bd [2021-05-06T22:50:39.323Z] $ docker rm -f 3b06f90e166eaf88c0ac06af08b7072e73a770f2221d6e51c3e4ac01871a98bd [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:50:40.445Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T22:50:40.507Z] Warning: overwriting stash ‘coverage-report’ [2021-05-06T22:50:41.520Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:50:42.027Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T22:50:42.406Z] + ls -al . [2021-05-06T22:50:42.406Z] total 248 [2021-05-06T22:50:42.406Z] drwxrwxr-x 10 jenkins jenkins 4096 May 6 22:50 . [2021-05-06T22:50:42.406Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:46 .. [2021-05-06T22:50:42.406Z] -rw-rw-r-- 1 jenkins jenkins 140 May 6 22:46 .dockerignore [2021-05-06T22:50:42.406Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 22:46 .git [2021-05-06T22:50:42.406Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:46 .github [2021-05-06T22:50:42.406Z] -rw-rw-r-- 1 jenkins jenkins 138 May 6 22:46 .gitignore [2021-05-06T22:50:42.406Z] -rw-rw-r-- 1 jenkins jenkins 987 May 6 22:46 Dockerfile.build [2021-05-06T22:50:42.406Z] -rw-rw-r-- 1 jenkins jenkins 901 May 6 22:46 Jenkinsfile [2021-05-06T22:50:42.406Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 6 22:46 LICENSE [2021-05-06T22:50:42.406Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 6 22:46 Makefile [2021-05-06T22:50:42.406Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 6 22:46 README.md [2021-05-06T22:50:42.406Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 6 22:46 RELEASE-NOTES.txt [2021-05-06T22:50:42.406Z] -rw-rw-r-- 1 jenkins jenkins 5 May 6 22:43 VERSION [2021-05-06T22:50:42.406Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:46 bin [2021-05-06T22:50:42.406Z] -rw-r--r-- 1 jenkins jenkins 125561 May 6 22:49 coverage.out [2021-05-06T22:50:42.407Z] drwxrwxr-x 5 jenkins jenkins 4096 May 6 22:46 example [2021-05-06T22:50:42.407Z] -rw-r--r-- 1 jenkins jenkins 575 May 6 22:50 go.mod [2021-05-06T22:50:42.407Z] -rw-r--r-- 1 jenkins jenkins 20957 May 6 22:47 go.sum [2021-05-06T22:50:42.407Z] drwxrwxr-x 14 jenkins jenkins 4096 May 6 22:46 internal [2021-05-06T22:50:42.407Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:46 openapi [2021-05-06T22:50:42.407Z] drwxrwxr-x 5 jenkins jenkins 4096 May 6 22:46 pkg [2021-05-06T22:50:42.407Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:46 snap [2021-05-06T22:50:42.407Z] -rw-rw-r-- 1 jenkins jenkins 222 May 6 22:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:50:42.795Z] + 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=80c53e719aff91ae985600ad7eb1f4c51c8f6884 --label arch=arm64 --label version=0.0.0 . [2021-05-06T22:50:43.094Z] Sending build context to Docker daemon 2.69MB [2021-05-06T22:50:43.094Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:50:43.094Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-06T22:50:43.094Z] ---> 7cc9b10b0ad2 [2021-05-06T22:50:43.094Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-06T22:50:43.734Z] ---> Running in 75015289b854 [2021-05-06T22:50:44.009Z] Removing intermediate container 75015289b854 [2021-05-06T22:50:44.009Z] ---> d64fe9392176 [2021-05-06T22:50:44.009Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:50:44.281Z] ---> Running in c05a56b8afa0 [2021-05-06T22:50:44.554Z] Removing intermediate container c05a56b8afa0 [2021-05-06T22:50:44.554Z] ---> a8652685a741 [2021-05-06T22:50:44.554Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:50:44.858Z] ---> Running in 29b622c43a9a [2021-05-06T22:50:46.899Z] Removing intermediate container 29b622c43a9a [2021-05-06T22:50:46.899Z] ---> fc2f271f8192 [2021-05-06T22:50:46.899Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-06T22:50:46.899Z] ---> Running in 3604fea1434b [2021-05-06T22:50:47.913Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:50:48.897Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:50:49.868Z] OK: 139 MiB in 46 packages [2021-05-06T22:50:50.849Z] Removing intermediate container 3604fea1434b [2021-05-06T22:50:50.849Z] ---> 33c06ee427c2 [2021-05-06T22:50:50.849Z] Step 7/23 : COPY . . [2021-05-06T22:50:52.277Z] ---> 9d44360bde92 [2021-05-06T22:50:52.277Z] Step 8/23 : RUN go mod download [2021-05-06T22:50:52.555Z] ---> Running in ffac97fb70b8 [2021-05-06T22:50:54.537Z] Removing intermediate container ffac97fb70b8 [2021-05-06T22:50:54.537Z] ---> 95b7ecfdf8bb [2021-05-06T22:50:54.537Z] Step 9/23 : RUN make build [2021-05-06T22:50:54.810Z] ---> Running in 5c154cd5f3b5 [2021-05-06T22:50:55.788Z] 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 [2021-05-06T22:51:28.156Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-06T22:51:30.799Z] Removing intermediate container 5c154cd5f3b5 [2021-05-06T22:51:30.799Z] ---> 3c82290d4671 [2021-05-06T22:51:30.799Z] Step 10/23 : FROM alpine:3.12 [2021-05-06T22:51:31.092Z] 3.12: Pulling from library/alpine [2021-05-06T22:51:31.368Z] d2f70382dc9a: Pulling fs layer [2021-05-06T22:51:31.641Z] d2f70382dc9a: Verifying Checksum [2021-05-06T22:51:31.641Z] d2f70382dc9a: Download complete [2021-05-06T22:51:32.244Z] d2f70382dc9a: Pull complete [2021-05-06T22:51:32.245Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T22:51:32.245Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T22:51:32.245Z] ---> 9852663dfa18 [2021-05-06T22:51:32.245Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:51:32.245Z] ---> Running in b74e123dc6ec [2021-05-06T22:51:32.851Z] Removing intermediate container b74e123dc6ec [2021-05-06T22:51:32.851Z] ---> 9e13e7b9987c [2021-05-06T22:51:32.851Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:51:32.851Z] ---> Running in 331162e6cd62 [2021-05-06T22:51:34.839Z] Removing intermediate container 331162e6cd62 [2021-05-06T22:51:34.839Z] ---> c7ebdc3f480f [2021-05-06T22:51:34.839Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-06T22:51:35.113Z] ---> Running in 5336a8563bdf [2021-05-06T22:51:36.084Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:51:36.671Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:51:37.638Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-06T22:51:37.638Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-06T22:51:37.638Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-06T22:51:37.907Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-06T22:51:38.178Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-06T22:51:38.178Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T22:51:38.178Z] OK: 8 MiB in 19 packages [2021-05-06T22:51:39.610Z] Removing intermediate container 5336a8563bdf [2021-05-06T22:51:39.610Z] ---> d2e2400c895d [2021-05-06T22:51:39.610Z] Step 14/23 : WORKDIR / [2021-05-06T22:51:39.610Z] ---> Running in 15f784cffc64 [2021-05-06T22:51:40.220Z] Removing intermediate container 15f784cffc64 [2021-05-06T22:51:40.220Z] ---> 31b56d469302 [2021-05-06T22:51:40.220Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-06T22:51:40.815Z] ---> b638915e1244 [2021-05-06T22:51:40.815Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-06T22:51:41.800Z] ---> e1ec9de3d835 [2021-05-06T22:51:41.800Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-06T22:51:42.414Z] ---> 34a5a423645d [2021-05-06T22:51:42.414Z] Step 18/23 : EXPOSE 49990 [2021-05-06T22:51:42.686Z] ---> Running in e06c86ca1933 [2021-05-06T22:51:43.287Z] Removing intermediate container e06c86ca1933 [2021-05-06T22:51:43.287Z] ---> ffb1637f07ef [2021-05-06T22:51:43.287Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-06T22:51:43.287Z] ---> Running in 45d645e6a933 [2021-05-06T22:51:43.560Z] Removing intermediate container 45d645e6a933 [2021-05-06T22:51:43.560Z] ---> 00583e6f1b66 [2021-05-06T22:51:43.560Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T22:51:43.834Z] ---> Running in f0a4d5c03e81 [2021-05-06T22:51:44.110Z] Removing intermediate container f0a4d5c03e81 [2021-05-06T22:51:44.110Z] ---> fc9f7f06c651 [2021-05-06T22:51:44.110Z] Step 21/23 : LABEL arch=arm64 [2021-05-06T22:51:44.384Z] ---> Running in 4aa64e697aa3 [2021-05-06T22:51:44.658Z] Removing intermediate container 4aa64e697aa3 [2021-05-06T22:51:44.658Z] ---> 3c0ce7a70faf [2021-05-06T22:51:44.658Z] Step 22/23 : LABEL git_sha=80c53e719aff91ae985600ad7eb1f4c51c8f6884 [2021-05-06T22:51:44.930Z] ---> Running in 68faa2557025 [2021-05-06T22:51:45.528Z] Removing intermediate container 68faa2557025 [2021-05-06T22:51:45.528Z] ---> b77ee53e0d9a [2021-05-06T22:51:45.528Z] Step 23/23 : LABEL version=0.0.0 [2021-05-06T22:51:45.528Z] ---> Running in baa65da3bafe [2021-05-06T22:51:46.121Z] Removing intermediate container baa65da3bafe [2021-05-06T22:51:46.121Z] ---> 98a5a61a8e58 [2021-05-06T22:51:46.121Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-06T22:51:46.121Z] Successfully built 98a5a61a8e58 [2021-05-06T22:51:46.121Z] 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 [2021-05-06T22:51:46.591Z] ---> job-cost.sh [2021-05-06T22:51:46.591Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BphA [2021-05-06T22:52:33.726Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T22:53:55.458Z] lf-activate-venv(): INFO: Adding /tmp/venv-BphA/bin to PATH [2021-05-06T22:53:55.458Z] INFO: No Stack... [2021-05-06T22:53:55.458Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T22:53:55.458Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T22:53:55.803Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-05-06T22:53:55.803Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T22:53:55.913Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-900-3-stack-cost] [2021-05-06T22:53:55.921Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-900-3-stack-cost] did not exist. Created. [2021-05-06T22:53:55.921Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-900-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T22:53:56.281Z] /w/workspace/device-sdk-go/3@tmp/durable-7c18ed38/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-7c18ed38/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T22:53:56.629Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T22:53:56.648Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T22:53:56.801Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T22:53:56.826Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-900-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 [2021-05-06T22:53:57.243Z] provisioning config files... [2021-05-06T22:53:57.255Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config3961981486052828886tmp [Pipeline] { [Pipeline] sh [2021-05-06T22:53:57.576Z] + set +x [2021-05-06T22:53:57.576Z] + curl -s https://codecov.io/bash [2021-05-06T22:53:57.576Z] + bash -s -- [2021-05-06T22:53:57.847Z] [2021-05-06T22:53:57.847Z] _____ _ [2021-05-06T22:53:57.847Z] / ____| | | [2021-05-06T22:53:57.847Z] | | ___ __| | ___ ___ _____ __ [2021-05-06T22:53:57.847Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-06T22:53:57.847Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-06T22:53:57.847Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-06T22:53:57.847Z] Bash-1.0.2 [2021-05-06T22:53:57.847Z] [2021-05-06T22:53:57.847Z] [2021-05-06T22:53:57.847Z] ==> git version 2.24.3 found [2021-05-06T22:53:57.847Z] ==> 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 [2021-05-06T22:53:57.847Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-06T22:53:57.847Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-06T22:53:57.847Z] ==> Jenkins CI detected. [2021-05-06T22:53:57.847Z] project root: . [2021-05-06T22:53:57.847Z] --> token set from env [2021-05-06T22:53:57.847Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-06T22:53:57.847Z] ==> Running gcov in . (disable via -X gcov) [2021-05-06T22:53:57.847Z] ==> Python coveragepy not found [2021-05-06T22:53:57.847Z] ==> Searching for coverage reports in: [2021-05-06T22:53:57.847Z] + . [2021-05-06T22:53:57.847Z] -> Found 1 reports [2021-05-06T22:53:57.847Z] ==> Detecting git/mercurial file structure [2021-05-06T22:53:57.847Z] ==> Reading reports [2021-05-06T22:53:57.847Z] + ./coverage.out bytes=125561 [2021-05-06T22:53:57.847Z] ==> Appending adjustments [2021-05-06T22:53:57.847Z] https://docs.codecov.io/docs/fixing-reports [2021-05-06T22:53:58.113Z] + Found adjustments [2021-05-06T22:53:58.113Z] ==> Gzipping contents [2021-05-06T22:53:58.113Z] 16K /tmp/codecov.5xSUCK.gz [2021-05-06T22:53:58.113Z] ==> Uploading reports [2021-05-06T22:53:58.113Z] url: https://codecov.io [2021-05-06T22:53:58.113Z] query: branch=PR-900&commit=80c53e719aff91ae985600ad7eb1f4c51c8f6884&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-900%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=900&job=&cmd_args= [2021-05-06T22:53:58.113Z] -> Pinging Codecov [2021-05-06T22:53:58.113Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-900&commit=80c53e719aff91ae985600ad7eb1f4c51c8f6884&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-900%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=900&job=&cmd_args= [2021-05-06T22:53:58.689Z] -> Uploading to [2021-05-06T22:53:58.689Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-06/7E55EF52A471D76F132DFD9A03CDDE97/80c53e719aff91ae985600ad7eb1f4c51c8f6884/e5a954a0-ec13-41af-b776-e32868a0b7cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T225358Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=78ef2e0623f799bab310dbc275f5f46d70efdc2bbd84d91f18e709037bb4c9bd [2021-05-06T22:53:58.689Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-06T22:53:58.689Z] Dload Upload Total Spent Left Speed [2021-05-06T22:53:59.215Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16362 0 0 100 16362 0 41110 --:--:-- --:--:-- --:--:-- 41110 [2021-05-06T22:53:59.215Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/80c53e719aff91ae985600ad7eb1f4c51c8f6884 [Pipeline] } [2021-05-06T22:53:59.227Z] 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 [2021-05-06T22:54:00.130Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:54:00.702Z] ---> package-listing.sh [2021-05-06T22:54:00.702Z] ++ facter osfamily [2021-05-06T22:54:00.702Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T22:54:00.702Z] + OS_FAMILY=redhat [2021-05-06T22:54:00.702Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-900 [2021-05-06T22:54:00.702Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T22:54:00.702Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T22:54:00.702Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T22:54:00.702Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T22:54:00.702Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-900 ']' [2021-05-06T22:54:00.702Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T22:54:00.702Z] + case "${OS_FAMILY}" in [2021-05-06T22:54:00.702Z] + rpm -qa [2021-05-06T22:54:00.702Z] + sort [2021-05-06T22:54:06.029Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T22:54:06.029Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T22:54:06.029Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T22:54:06.029Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-900 ']' [2021-05-06T22:54:06.029Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-900/archives/ [2021-05-06T22:54:06.029Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-900/archives/ [Pipeline] echo [2021-05-06T22:54:06.047Z] 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-900/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-06T22:54:06.348Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:54:06.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:54:06.657Z] [2021-05-06T22:54:06.657Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:54:06.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:54:06.987Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T22:54:06.987Z] df20fa9351a1: Pulling fs layer [2021-05-06T22:54:06.987Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T22:54:06.987Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T22:54:06.987Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T22:54:06.987Z] 93b61091891f: Pulling fs layer [2021-05-06T22:54:06.987Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T22:54:06.987Z] 5e14af77c1be: Pulling fs layer [2021-05-06T22:54:06.987Z] 01666e4c0597: Pulling fs layer [2021-05-06T22:54:06.987Z] aa168da1d23b: Pulling fs layer [2021-05-06T22:54:06.987Z] 93b9cdb0e59b: Waiting [2021-05-06T22:54:06.987Z] 5e14af77c1be: Waiting [2021-05-06T22:54:06.987Z] 01666e4c0597: Waiting [2021-05-06T22:54:06.987Z] aa168da1d23b: Waiting [2021-05-06T22:54:06.987Z] 46f8f816bc3b: Waiting [2021-05-06T22:54:06.987Z] 93b61091891f: Waiting [2021-05-06T22:54:06.987Z] 36b3adc4ff6f: Verifying Checksum [2021-05-06T22:54:06.987Z] 36b3adc4ff6f: Download complete [2021-05-06T22:54:06.987Z] 46f8f816bc3b: Verifying Checksum [2021-05-06T22:54:06.987Z] 46f8f816bc3b: Download complete [2021-05-06T22:54:06.987Z] df20fa9351a1: Verifying Checksum [2021-05-06T22:54:06.987Z] df20fa9351a1: Download complete [2021-05-06T22:54:07.261Z] 93b9cdb0e59b: Verifying Checksum [2021-05-06T22:54:07.261Z] 93b9cdb0e59b: Download complete [2021-05-06T22:54:07.261Z] 5e14af77c1be: Verifying Checksum [2021-05-06T22:54:07.261Z] 5e14af77c1be: Download complete [2021-05-06T22:54:07.261Z] 93b61091891f: Download complete [2021-05-06T22:54:07.261Z] 01666e4c0597: Verifying Checksum [2021-05-06T22:54:07.261Z] 01666e4c0597: Download complete [2021-05-06T22:54:07.261Z] 8ad3a11d3b57: Download complete [2021-05-06T22:54:07.526Z] df20fa9351a1: Pull complete [2021-05-06T22:54:07.793Z] 36b3adc4ff6f: Pull complete [2021-05-06T22:54:08.767Z] 8ad3a11d3b57: Pull complete [2021-05-06T22:54:09.034Z] 46f8f816bc3b: Pull complete [2021-05-06T22:54:09.301Z] aa168da1d23b: Verifying Checksum [2021-05-06T22:54:09.301Z] aa168da1d23b: Download complete [2021-05-06T22:54:09.564Z] 93b61091891f: Pull complete [2021-05-06T22:54:09.564Z] 93b9cdb0e59b: Pull complete [2021-05-06T22:54:09.826Z] 5e14af77c1be: Pull complete [2021-05-06T22:54:09.826Z] 01666e4c0597: Pull complete [2021-05-06T22:54:18.018Z] aa168da1d23b: Pull complete [2021-05-06T22:54:18.018Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T22:54:18.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:54:18.018Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T22:54:18.219Z] prd-centos7-docker-4c-2g-3343 does not seem to be running inside a container [2021-05-06T22:54:18.264Z] $ 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-900/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-900 -v /w/workspace/dgexfoundry_device-sdk-go_PR-900:/w/workspace/dgexfoundry_device-sdk-go_PR-900:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-06T22:54:21.700Z] $ docker top 55c8103632f9239be7eac6196eaa5068de05d207af862bc0535a695afb356163 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:54:22.151Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T22:54:22.453Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T22:54:22.754Z] + ls /var/log/sa-host [2021-05-06T22:54:22.755Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T22:54:22.755Z] file_magic: OK [2021-05-06T22:54:22.755Z] HZ: Using current value: 100 [2021-05-06T22:54:22.755Z] file_header: OK [2021-05-06T22:54:22.755Z] 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 [2021-05-06T22:54:22.755Z] Statistics: [2021-05-06T22:54:22.755Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T22:54:22.755Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T22:54:22.755Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T22:54:22.755Z] file_magic: OK [2021-05-06T22:54:22.755Z] HZ: Using current value: 100 [2021-05-06T22:54:22.755Z] file_header: OK [2021-05-06T22:54:22.755Z] 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 [2021-05-06T22:54:22.755Z] Statistics: [2021-05-06T22:54:22.755Z] Hnuu...uuuununununu... [2021-05-06T22:54:22.755Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T22:54:22.935Z] provisioning config files... [2021-05-06T22:54:22.951Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config4910687055147344629tmp [Pipeline] { [Pipeline] echo [2021-05-06T22:54:22.974Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:54:23.282Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T22:54:23.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T22:54:23.324Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:54:23.658Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T22:54:23.670Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:54:23.986Z] ---> sudo-logs.sh [2021-05-06T22:54:23.986Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T22:54:24.016Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:54:24.315Z] ---> job-cost.sh [2021-05-06T22:54:24.315Z] lf-activate-venv: SKIPPING [2021-05-06T22:54:24.315Z] DEBUG: total: 0.20999999344348907 [2021-05-06T22:54:24.315Z] INFO: Retrieving Stack Cost... [2021-05-06T22:54:25.260Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T22:54:25.839Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T22:54:25.855Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:54:26.157Z] ---> logs-deploy.sh [2021-05-06T22:54:26.157Z] lf-activate-venv: SKIPPING [2021-05-06T22:54:26.157Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-900/3 [2021-05-06T22:54:26.157Z] INFO: archiving workspace using pattern(s): [2021-05-06T22:54:28.076Z] Archives upload complete. [2021-05-06T22:54:28.076Z] INFO: archiving logs to Nexus