Pull request #725 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a05111699f9114d3b7a520b997b326c589ac0608+e437657d2d11e173c1ba87cc59d8d85c228ee6bb (491891132958474bbe06f0772ceb3f7f0d0368eb) 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4505 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e437657d2d11e173c1ba87cc59d8d85c228ee6bb into PR head commit a05111699f9114d3b7a520b997b326c589ac0608 Merge succeeded, producing a05111699f9114d3b7a520b997b326c589ac0608 Checking out Revision a05111699f9114d3b7a520b997b326c589ac0608 (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f a05111699f9114d3b7a520b997b326c589ac0608 # 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 e437657d2d11e173c1ba87cc59d8d85c228ee6bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a05111699f9114d3b7a520b997b326c589ac0608 # timeout=10 Commit message: "ci: update docker image name" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-11T17:03:09.639Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T17:03:09.740Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T17:03:09.767Z] ========================================================= [2021-05-11T17:03:09.767Z] EdgeX Global Pipelines Version Info [2021-05-11T17:03:09.767Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:03:12.861Z] ------------------- [2021-05-11T17:03:12.861Z] stable info: [2021-05-11T17:03:12.861Z] ------------------- [2021-05-11T17:03:12.861Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T17:03:12.861Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T17:03:12.861Z] Message: update stable to v1.0.192 [2021-05-11T17:03:13.841Z] ------------------- [2021-05-11T17:03:13.841Z] experimental info: [2021-05-11T17:03:13.841Z] ------------------- [2021-05-11T17:03:13.841Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T17:03:13.841Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T17:03:13.841Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T17:03:14.034Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-11T17:03:14.058Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-11T17:03:14.083Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T17:03:14.110Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T17:03:14.136Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T17:03:14.161Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T17:03:14.185Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T17:03:14.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T17:03:14.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-11T17:03:14.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T17:03:14.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T17:03:14.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-11T17:03:14.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T17:03:14.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T17:03:14.386Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T17:03:14.412Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T17:03:14.435Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T17:03:14.460Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T17:03:14.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T17:03:14.511Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-11T17:03:14.538Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-11T17:03:14.563Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-11T17:03:14.620Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T17:03:14.646Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T17:03:14.671Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T17:03:14.696Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T17:03:14.722Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-05-11T17:03:14.747Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-05-11T17:03:14.772Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-05-11T17:03:14.796Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a05111699f9114d3b7a520b997b326c589ac0608 [Pipeline] echo [2021-05-11T17:03:14.820Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a051116 [Pipeline] echo [2021-05-11T17:03:14.845Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T17:03:14.923Z] provisioning config files... [2021-05-11T17:03:14.957Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2507620508004936243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:03:15.345Z] ---> docker-login.sh [2021-05-11T17:03:15.345Z] nexus3.edgexfoundry.org:10001 [2021-05-11T17:03:15.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:03:16.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:03:16.284Z] Configure a credential helper to remove this warning. See [2021-05-11T17:03:16.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:03:16.284Z] [2021-05-11T17:03:16.284Z] Login Succeeded [2021-05-11T17:03:16.284Z] nexus3.edgexfoundry.org:10002 [2021-05-11T17:03:16.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:03:16.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:03:16.893Z] Configure a credential helper to remove this warning. See [2021-05-11T17:03:16.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:03:16.893Z] [2021-05-11T17:03:16.893Z] Login Succeeded [2021-05-11T17:03:16.893Z] nexus3.edgexfoundry.org:10003 [2021-05-11T17:03:17.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:03:17.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:03:17.501Z] Configure a credential helper to remove this warning. See [2021-05-11T17:03:17.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:03:17.501Z] [2021-05-11T17:03:17.501Z] Login Succeeded [2021-05-11T17:03:17.501Z] nexus3.edgexfoundry.org:10004 [2021-05-11T17:03:17.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:03:17.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:03:17.776Z] Configure a credential helper to remove this warning. See [2021-05-11T17:03:17.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:03:17.776Z] [2021-05-11T17:03:17.776Z] Login Succeeded [2021-05-11T17:03:17.776Z] docker.io [2021-05-11T17:03:18.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:03:18.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:03:18.346Z] Configure a credential helper to remove this warning. See [2021-05-11T17:03:18.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:03:18.346Z] [2021-05-11T17:03:18.615Z] Login Succeeded [2021-05-11T17:03:18.615Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T17:03:18.628Z] 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-11T17:03:19.216Z] + git log --format=format:%s -1 a05111699f9114d3b7a520b997b326c589ac0608 [Pipeline] echo [2021-05-11T17:03:19.552Z] GIT_COMMIT: a05111699f9114d3b7a520b997b326c589ac0608, Commit Message: ci: update docker image name [Pipeline] echo [2021-05-11T17:03:19.568Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:03:20.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:03:20.605Z] [2021-05-11T17:03:20.605Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:03:20.999Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:03:21.000Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T17:03:21.000Z] 31603596830f: Pulling fs layer [2021-05-11T17:03:21.000Z] 54011a49482f: Pulling fs layer [2021-05-11T17:03:21.000Z] a6820b24f6d8: Pulling fs layer [2021-05-11T17:03:21.000Z] f581987b2513: Pulling fs layer [2021-05-11T17:03:21.000Z] f581987b2513: Waiting [2021-05-11T17:03:21.000Z] 54011a49482f: Download complete [2021-05-11T17:03:21.641Z] 31603596830f: Verifying Checksum [2021-05-11T17:03:21.641Z] 31603596830f: Download complete [2021-05-11T17:03:21.937Z] f581987b2513: Verifying Checksum [2021-05-11T17:03:21.937Z] f581987b2513: Download complete [2021-05-11T17:03:21.937Z] a6820b24f6d8: Verifying Checksum [2021-05-11T17:03:21.937Z] a6820b24f6d8: Download complete [2021-05-11T17:03:22.226Z] 31603596830f: Pull complete [2021-05-11T17:03:22.226Z] 54011a49482f: Pull complete [2021-05-11T17:03:24.267Z] a6820b24f6d8: Pull complete [2021-05-11T17:03:24.544Z] f581987b2513: Pull complete [2021-05-11T17:03:24.544Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T17:03:24.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T17:03:24.544Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T17:03:24.872Z] prd-centos7-docker-4c-2g-4505 does not seem to be running inside a container [2021-05-11T17:03:25.040Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T17:03:27.657Z] $ docker top 75b53d47b58ba92a58776ba12da7201db43ca41dddde601fbcfc7fb001de3f73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T17:03:28.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T17:03:28.068Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T17:03:28.633Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T17:03:28.642Z] $ docker exec 75b53d47b58ba92a58776ba12da7201db43ca41dddde601fbcfc7fb001de3f73 ssh-agent [2021-05-11T17:03:28.913Z] SSH_AUTH_SOCK=/tmp/ssh-HXkBvadaygSe/agent.11 [2021-05-11T17:03:28.913Z] SSH_AGENT_PID=17 [2021-05-11T17:03:28.928Z] Running ssh-add (command line suppressed) [2021-05-11T17:03:29.107Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_400306503245943040.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_400306503245943040.key) [2021-05-11T17:03:29.208Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T17:03:29.887Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T17:03:29.943Z] $ docker exec --env ******** --env ******** 75b53d47b58ba92a58776ba12da7201db43ca41dddde601fbcfc7fb001de3f73 ssh-agent -k [2021-05-11T17:03:30.202Z] unset SSH_AUTH_SOCK; [2021-05-11T17:03:30.203Z] unset SSH_AGENT_PID; [2021-05-11T17:03:30.203Z] echo Agent pid 17 killed; [2021-05-11T17:03:30.297Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T17:03:30.342Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T17:03:30.342Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T17:03:30.624Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T17:03:30.633Z] $ docker exec 75b53d47b58ba92a58776ba12da7201db43ca41dddde601fbcfc7fb001de3f73 ssh-agent [2021-05-11T17:03:31.254Z] SSH_AUTH_SOCK=/tmp/ssh-jijBKErm2Sf2/agent.48 [2021-05-11T17:03:31.254Z] SSH_AGENT_PID=53 [2021-05-11T17:03:31.266Z] Running ssh-add (command line suppressed) [2021-05-11T17:03:31.576Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_9076335442824036669.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_9076335442824036669.key) [2021-05-11T17:03:31.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T17:03:32.153Z] + git semver init [2021-05-11T17:03:32.153Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T17:03:32.153Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-05-11T17:03:32.153Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-05-11T17:03:32.153Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T17:03:32.153Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T17:03:32.153Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T17:03:32.153Z] # $SEMVER_BRANCH = PR-725 [2021-05-11T17:03:32.153Z] # $SEMVER_TEMP = /tmp/semver-692239651 [2021-05-11T17:03:32.153Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-11T17:03:33.585Z] # '/tmp/semver-692239651' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-05-11T17:03:33.585Z] # -> Force: false [2021-05-11T17:03:33.585Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-05-11T17:03:33.604Z] $ docker exec --env ******** --env ******** 75b53d47b58ba92a58776ba12da7201db43ca41dddde601fbcfc7fb001de3f73 ssh-agent -k [2021-05-11T17:03:33.785Z] unset SSH_AUTH_SOCK; [2021-05-11T17:03:33.786Z] unset SSH_AGENT_PID; [2021-05-11T17:03:33.786Z] echo Agent pid 53 killed; [2021-05-11T17:03:33.918Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T17:03:34.276Z] + git semver [Pipeline] } [2021-05-11T17:03:34.302Z] $ docker stop --time=1 75b53d47b58ba92a58776ba12da7201db43ca41dddde601fbcfc7fb001de3f73 [2021-05-11T17:03:36.450Z] $ docker rm -f 75b53d47b58ba92a58776ba12da7201db43ca41dddde601fbcfc7fb001de3f73 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T17:03:36.950Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T17:03:37.590Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T17:03:37.594Z] [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-11T17:03:52.803Z] Still waiting to schedule task [2021-05-11T17:03:52.804Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-11T17:03:52.812Z] Still waiting to schedule task [2021-05-11T17:03:52.812Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-11T17:06:40.851Z] Running on prd-centos7-docker-4c-2g-4508 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-05-11T17:06:40.871Z] Running in /w/workspace/device-sdk-go/43 [Pipeline] { [Pipeline] checkout [2021-05-11T17:06:51.656Z] using credential edgex-jenkins-ssh [2021-05-11T17:06:51.686Z] Cloning the remote Git repository [2021-05-11T17:06:51.861Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:06:51.988Z] > git init /w/workspace/device-sdk-go/43 # timeout=10 [2021-05-11T17:06:52.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:06:52.144Z] > git --version # timeout=10 [2021-05-11T17:06:52.170Z] > git --version # 'git version 2.24.3' [2021-05-11T17:06:52.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:06:52.242Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:06:54.054Z] Merging remotes/origin/master commit e437657d2d11e173c1ba87cc59d8d85c228ee6bb into PR head commit a05111699f9114d3b7a520b997b326c589ac0608 [2021-05-11T17:06:53.250Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:06:53.277Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:06:53.406Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:06:53.466Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:06:53.466Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:06:53.473Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T17:06:54.075Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:06:54.421Z] Merge succeeded, producing a05111699f9114d3b7a520b997b326c589ac0608 [2021-05-11T17:06:54.421Z] Checking out Revision a05111699f9114d3b7a520b997b326c589ac0608 (PR-725) [2021-05-11T17:06:54.107Z] > git checkout -f a05111699f9114d3b7a520b997b326c589ac0608 # timeout=10 [2021-05-11T17:06:54.286Z] > git remote # timeout=10 [2021-05-11T17:06:54.323Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T17:06:54.342Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:06:54.360Z] > git merge e437657d2d11e173c1ba87cc59d8d85c228ee6bb # timeout=10 [2021-05-11T17:06:54.398Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T17:06:54.430Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:06:54.459Z] > git checkout -f a05111699f9114d3b7a520b997b326c589ac0608 # timeout=10 [2021-05-11T17:06:59.137Z] Commit message: "ci: update docker image name" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:07:01.802Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:07:02.358Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:07:02.819Z] + true [2021-05-11T17:07:02.819Z] + sudo service docker restart [2021-05-11T17:07:02.819Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T17:07:04.912Z] provisioning config files... [2021-05-11T17:07:04.970Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/43@tmp/config4639138603710062289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:07:05.485Z] ---> docker-login.sh [2021-05-11T17:07:05.485Z] nexus3.edgexfoundry.org:10001 [2021-05-11T17:07:06.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:07:06.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:07:06.549Z] Configure a credential helper to remove this warning. See [2021-05-11T17:07:06.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:07:06.549Z] [2021-05-11T17:07:06.549Z] Login Succeeded [2021-05-11T17:07:06.549Z] nexus3.edgexfoundry.org:10002 [2021-05-11T17:07:06.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:07:07.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:07:07.142Z] Configure a credential helper to remove this warning. See [2021-05-11T17:07:07.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:07:07.142Z] [2021-05-11T17:07:07.142Z] Login Succeeded [2021-05-11T17:07:07.142Z] nexus3.edgexfoundry.org:10003 [2021-05-11T17:07:07.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:07:07.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:07:07.764Z] Configure a credential helper to remove this warning. See [2021-05-11T17:07:07.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:07:07.764Z] [2021-05-11T17:07:07.764Z] Login Succeeded [2021-05-11T17:07:07.764Z] nexus3.edgexfoundry.org:10004 [2021-05-11T17:07:08.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:07:08.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:07:08.084Z] Configure a credential helper to remove this warning. See [2021-05-11T17:07:08.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:07:08.084Z] [2021-05-11T17:07:08.084Z] Login Succeeded [2021-05-11T17:07:08.084Z] docker.io [2021-05-11T17:07:08.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:07:08.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:07:08.672Z] Configure a credential helper to remove this warning. See [2021-05-11T17:07:08.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:07:08.672Z] [2021-05-11T17:07:08.672Z] Login Succeeded [2021-05-11T17:07:08.672Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T17:07:08.714Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T17:07:09.079Z] ========================================================= [2021-05-11T17:07:09.079Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T17:07:09.079Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:07:09.476Z] + 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-11T17:07:10.115Z] Sending build context to Docker daemon 2.552MB [2021-05-11T17:07:10.115Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:07:10.115Z] Step 2/8 : FROM ${BASE} [2021-05-11T17:07:10.115Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T17:07:10.115Z] 540db60ca938: Pulling fs layer [2021-05-11T17:07:10.115Z] adcc1eea9eea: Pulling fs layer [2021-05-11T17:07:10.115Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T17:07:10.115Z] 0510c868ecb4: Pulling fs layer [2021-05-11T17:07:10.115Z] afea3b2eda06: Pulling fs layer [2021-05-11T17:07:10.115Z] 7809a108b3ef: Pulling fs layer [2021-05-11T17:07:10.115Z] f706445af74f: Pulling fs layer [2021-05-11T17:07:10.115Z] afea3b2eda06: Waiting [2021-05-11T17:07:10.115Z] 7809a108b3ef: Waiting [2021-05-11T17:07:10.115Z] f706445af74f: Waiting [2021-05-11T17:07:10.115Z] 0510c868ecb4: Waiting [2021-05-11T17:07:10.404Z] 4c4ab2625f07: Verifying Checksum [2021-05-11T17:07:10.404Z] 4c4ab2625f07: Download complete [2021-05-11T17:07:10.404Z] adcc1eea9eea: Verifying Checksum [2021-05-11T17:07:10.404Z] adcc1eea9eea: Download complete [2021-05-11T17:07:10.404Z] afea3b2eda06: Verifying Checksum [2021-05-11T17:07:10.404Z] afea3b2eda06: Download complete [2021-05-11T17:07:10.404Z] 540db60ca938: Verifying Checksum [2021-05-11T17:07:10.404Z] 540db60ca938: Download complete [2021-05-11T17:07:10.404Z] 7809a108b3ef: Verifying Checksum [2021-05-11T17:07:10.404Z] 7809a108b3ef: Download complete [2021-05-11T17:07:11.026Z] 540db60ca938: Pull complete [2021-05-11T17:07:11.305Z] adcc1eea9eea: Pull complete [2021-05-11T17:07:11.305Z] 4c4ab2625f07: Pull complete [2021-05-11T17:07:13.163Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4510 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-05-11T17:07:13.183Z] Running in /w/workspace/device-sdk-go/43 [Pipeline] { [Pipeline] checkout [2021-05-11T17:07:14.034Z] f706445af74f: Verifying Checksum [2021-05-11T17:07:14.034Z] f706445af74f: Download complete [2021-05-11T17:07:15.519Z] 0510c868ecb4: Verifying Checksum [2021-05-11T17:07:15.519Z] 0510c868ecb4: Download complete [2021-05-11T17:07:19.038Z] using credential edgex-jenkins-ssh [2021-05-11T17:07:19.064Z] Cloning the remote Git repository [2021-05-11T17:07:19.131Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:07:19.235Z] > git init /w/workspace/device-sdk-go/43 # timeout=10 [2021-05-11T17:07:19.322Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:07:19.323Z] > git --version # timeout=10 [2021-05-11T17:07:19.337Z] > git --version # 'git version 2.17.1' [2021-05-11T17:07:19.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:07:19.412Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:07:20.528Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:07:20.548Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T17:07:20.572Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T17:07:20.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T17:07:20.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:07:20.618Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T17:07:21.344Z] Merging remotes/origin/master commit e437657d2d11e173c1ba87cc59d8d85c228ee6bb into PR head commit a05111699f9114d3b7a520b997b326c589ac0608 [2021-05-11T17:07:21.552Z] Merge succeeded, producing a05111699f9114d3b7a520b997b326c589ac0608 [2021-05-11T17:07:21.553Z] Checking out Revision a05111699f9114d3b7a520b997b326c589ac0608 (PR-725) [2021-05-11T17:07:21.365Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:07:21.387Z] > git checkout -f a05111699f9114d3b7a520b997b326c589ac0608 # timeout=10 [2021-05-11T17:07:21.481Z] > git remote # timeout=10 [2021-05-11T17:07:21.497Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T17:07:21.509Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T17:07:21.519Z] > git merge e437657d2d11e173c1ba87cc59d8d85c228ee6bb # timeout=10 [2021-05-11T17:07:21.543Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T17:07:21.564Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T17:07:21.582Z] > git checkout -f a05111699f9114d3b7a520b997b326c589ac0608 # timeout=10 [2021-05-11T17:07:25.846Z] 0510c868ecb4: Pull complete [2021-05-11T17:07:25.846Z] afea3b2eda06: Pull complete [2021-05-11T17:07:25.846Z] 7809a108b3ef: Pull complete [2021-05-11T17:07:25.851Z] Commit message: "ci: update docker image name" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:07:27.221Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:07:27.647Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T17:07:27.989Z] + + true [2021-05-11T17:07:27.989Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T17:07:30.006Z] provisioning config files... [2021-05-11T17:07:30.049Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/43@tmp/config6416928452849508243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:07:30.422Z] ---> docker-login.sh [2021-05-11T17:07:30.422Z] nexus3.edgexfoundry.org:10001 [2021-05-11T17:07:30.475Z] f706445af74f: Pull complete [2021-05-11T17:07:30.475Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T17:07:30.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T17:07:30.475Z] ---> b068be0155e3 [2021-05-11T17:07:30.475Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:07:30.815Z] ---> Running in 784e82889394 [2021-05-11T17:07:31.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:07:31.464Z] Removing intermediate container 784e82889394 [2021-05-11T17:07:31.464Z] ---> ce39c9c1d9e9 [2021-05-11T17:07:31.464Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:07:31.464Z] ---> Running in 8e14269a30ea [2021-05-11T17:07:31.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:07:31.678Z] Configure a credential helper to remove this warning. See [2021-05-11T17:07:31.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:07:31.678Z] [2021-05-11T17:07:31.678Z] Login Succeeded [2021-05-11T17:07:31.678Z] nexus3.edgexfoundry.org:10002 [2021-05-11T17:07:31.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:07:32.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:07:32.239Z] Configure a credential helper to remove this warning. See [2021-05-11T17:07:32.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:07:32.239Z] [2021-05-11T17:07:32.239Z] Login Succeeded [2021-05-11T17:07:32.239Z] nexus3.edgexfoundry.org:10003 [2021-05-11T17:07:32.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:07:32.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:07:32.783Z] Configure a credential helper to remove this warning. See [2021-05-11T17:07:32.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:07:32.783Z] [2021-05-11T17:07:32.783Z] Login Succeeded [2021-05-11T17:07:32.783Z] nexus3.edgexfoundry.org:10004 [2021-05-11T17:07:33.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:07:33.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:07:33.327Z] Configure a credential helper to remove this warning. See [2021-05-11T17:07:33.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:07:33.327Z] [2021-05-11T17:07:33.327Z] Login Succeeded [2021-05-11T17:07:33.327Z] docker.io [2021-05-11T17:07:33.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T17:07:33.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T17:07:33.876Z] Configure a credential helper to remove this warning. See [2021-05-11T17:07:33.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T17:07:33.876Z] [2021-05-11T17:07:33.876Z] Login Succeeded [2021-05-11T17:07:33.876Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T17:07:33.894Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T17:07:34.206Z] ========================================================= [2021-05-11T17:07:34.206Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T17:07:34.206Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:07:34.287Z] Removing intermediate container 8e14269a30ea [2021-05-11T17:07:34.287Z] ---> 79519eb003ab [2021-05-11T17:07:34.287Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-11T17:07:34.287Z] ---> Running in 19b20f6d04fd [2021-05-11T17:07:34.593Z] + 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-11T17:07:34.879Z] Sending build context to Docker daemon 2.551MB [2021-05-11T17:07:35.160Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:07:35.160Z] Step 2/8 : FROM ${BASE} [2021-05-11T17:07:35.160Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T17:07:35.160Z] 595b0fe564bb: Pulling fs layer [2021-05-11T17:07:35.160Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T17:07:35.160Z] 316046926c0a: Pulling fs layer [2021-05-11T17:07:35.160Z] 4ebd0625c992: Pulling fs layer [2021-05-11T17:07:35.160Z] 207e8628e3a3: Pulling fs layer [2021-05-11T17:07:35.160Z] c791037a9be2: Pulling fs layer [2021-05-11T17:07:35.160Z] ffd874e62e21: Pulling fs layer [2021-05-11T17:07:35.160Z] 4ebd0625c992: Waiting [2021-05-11T17:07:35.160Z] 207e8628e3a3: Waiting [2021-05-11T17:07:35.160Z] c791037a9be2: Waiting [2021-05-11T17:07:35.160Z] ffd874e62e21: Waiting [2021-05-11T17:07:35.160Z] 316046926c0a: Verifying Checksum [2021-05-11T17:07:35.160Z] 316046926c0a: Download complete [2021-05-11T17:07:35.160Z] 7186ed65a4f7: Verifying Checksum [2021-05-11T17:07:35.160Z] 7186ed65a4f7: Download complete [2021-05-11T17:07:35.160Z] 207e8628e3a3: Verifying Checksum [2021-05-11T17:07:35.160Z] 207e8628e3a3: Download complete [2021-05-11T17:07:35.160Z] c791037a9be2: Verifying Checksum [2021-05-11T17:07:35.160Z] c791037a9be2: Download complete [2021-05-11T17:07:35.160Z] 595b0fe564bb: Verifying Checksum [2021-05-11T17:07:35.160Z] 595b0fe564bb: Download complete [2021-05-11T17:07:35.275Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T17:07:35.757Z] 595b0fe564bb: Pull complete [2021-05-11T17:07:36.317Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:07:36.353Z] 7186ed65a4f7: Pull complete [2021-05-11T17:07:36.954Z] 316046926c0a: Pull complete [2021-05-11T17:07:36.995Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-11T17:07:37.279Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-11T17:07:37.560Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-11T17:07:37.560Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-11T17:07:37.846Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-11T17:07:37.932Z] ffd874e62e21: Verifying Checksum [2021-05-11T17:07:37.932Z] ffd874e62e21: Download complete [2021-05-11T17:07:38.185Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-11T17:07:38.185Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T17:07:38.185Z] OK: 150 MiB in 46 packages [2021-05-11T17:07:38.203Z] 4ebd0625c992: Verifying Checksum [2021-05-11T17:07:38.203Z] 4ebd0625c992: Download complete [2021-05-11T17:07:39.658Z] Removing intermediate container 19b20f6d04fd [2021-05-11T17:07:39.659Z] ---> a0cbd92348b8 [2021-05-11T17:07:39.659Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-11T17:07:39.659Z] ---> Running in c56bccf9f6f9 [2021-05-11T17:07:39.659Z] Removing intermediate container c56bccf9f6f9 [2021-05-11T17:07:39.659Z] ---> d94ff70ae94d [2021-05-11T17:07:39.659Z] Step 7/8 : COPY . . [2021-05-11T17:07:41.714Z] ---> e6cd39b3fb01 [2021-05-11T17:07:41.714Z] Step 8/8 : RUN go mod download [2021-05-11T17:07:41.714Z] ---> Running in 1b086c40883b [2021-05-11T17:07:48.376Z] 4ebd0625c992: Pull complete [2021-05-11T17:07:48.376Z] 207e8628e3a3: Pull complete [2021-05-11T17:07:48.971Z] c791037a9be2: Pull complete [2021-05-11T17:07:52.353Z] ffd874e62e21: Pull complete [2021-05-11T17:07:52.353Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T17:07:52.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T17:07:52.353Z] ---> cfc18b08335c [2021-05-11T17:07:52.353Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:07:55.773Z] ---> Running in a41639f6bb0d [2021-05-11T17:07:55.773Z] Removing intermediate container a41639f6bb0d [2021-05-11T17:07:55.773Z] ---> a1ffe3b3f71f [2021-05-11T17:07:55.773Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:07:55.773Z] ---> Running in 4b2d2648ad35 [2021-05-11T17:07:58.404Z] Removing intermediate container 4b2d2648ad35 [2021-05-11T17:07:58.404Z] ---> 5e2f52a87a12 [2021-05-11T17:07:58.404Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-11T17:07:58.404Z] ---> Running in 73b14958c9ac [2021-05-11T17:07:59.439Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T17:08:00.416Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T17:08:01.389Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-11T17:08:01.389Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-11T17:08:01.389Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-11T17:08:01.389Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-11T17:08:01.662Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-11T17:08:01.662Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-11T17:08:01.662Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T17:08:01.662Z] OK: 139 MiB in 46 packages [2021-05-11T17:08:03.101Z] Removing intermediate container 73b14958c9ac [2021-05-11T17:08:03.101Z] ---> d17c51541a01 [2021-05-11T17:08:03.101Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-11T17:08:03.101Z] ---> Running in a2cc4814d838 [2021-05-11T17:08:03.698Z] Removing intermediate container a2cc4814d838 [2021-05-11T17:08:03.698Z] ---> 3705bb54331e [2021-05-11T17:08:03.698Z] Step 7/8 : COPY . . [2021-05-11T17:08:05.134Z] ---> 8544c5046d9d [2021-05-11T17:08:05.134Z] Step 8/8 : RUN go mod download [2021-05-11T17:08:05.134Z] ---> Running in 699ea1cd7ba6 [2021-05-11T17:08:14.518Z] Removing intermediate container 1b086c40883b [2021-05-11T17:08:14.518Z] ---> 6ea82725ad18 [2021-05-11T17:08:14.518Z] Successfully built 6ea82725ad18 [2021-05-11T17:08:14.518Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:08:14.916Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T17:08:14.916Z] . [Pipeline] withDockerContainer [2021-05-11T17:08:15.229Z] prd-centos7-docker-4c-2g-4508 does not seem to be running inside a container [2021-05-11T17:08:15.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/43 -v /w/workspace/device-sdk-go/43:/w/workspace/device-sdk-go/43:rw,z -v /w/workspace/device-sdk-go/43@tmp:/w/workspace/device-sdk-go/43@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-x86_64 cat [2021-05-11T17:08:16.895Z] $ docker top 17f248b3259caebb6a61d7df2917c14c315998c7a6d840a0405932f4cc0bfa6e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:08:17.853Z] + go version [2021-05-11T17:08:17.853Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T17:08:17.925Z] $ docker stop --time=1 17f248b3259caebb6a61d7df2917c14c315998c7a6d840a0405932f4cc0bfa6e [2021-05-11T17:08:20.087Z] $ docker rm -f 17f248b3259caebb6a61d7df2917c14c315998c7a6d840a0405932f4cc0bfa6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:08:21.003Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T17:08:21.003Z] . [Pipeline] withDockerContainer [2021-05-11T17:08:21.554Z] prd-centos7-docker-4c-2g-4508 does not seem to be running inside a container [2021-05-11T17:08:21.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/43 -v /w/workspace/device-sdk-go/43:/w/workspace/device-sdk-go/43:rw,z -v /w/workspace/device-sdk-go/43@tmp:/w/workspace/device-sdk-go/43@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-x86_64 cat [2021-05-11T17:08:23.186Z] $ docker top 6298a7006f6005bc826435854cc134dda600dbec8ed3d835e9217c3b788d2ef6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:08:24.259Z] + go mod tidy [Pipeline] sh [2021-05-11T17:08:26.073Z] + make test [2021-05-11T17:08:26.073Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-11T17:08:31.959Z] Removing intermediate container 699ea1cd7ba6 [2021-05-11T17:08:31.959Z] ---> bb941d2bb5b4 [2021-05-11T17:08:31.959Z] Successfully built bb941d2bb5b4 [2021-05-11T17:08:31.959Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:08:32.305Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T17:08:32.305Z] . [Pipeline] withDockerContainer [2021-05-11T17:08:32.536Z] prd-ubuntu18.04-docker-arm64-4c-16g-4510 does not seem to be running inside a container [2021-05-11T17:08:32.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/43 -v /w/workspace/device-sdk-go/43:/w/workspace/device-sdk-go/43:rw,z -v /w/workspace/device-sdk-go/43@tmp:/w/workspace/device-sdk-go/43@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-11T17:08:34.072Z] $ docker top d0a077471974d0bb8d67b6b24b7175ba7de511670cc3a8fc1e5a0421b31cb8c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:08:34.974Z] + go version [2021-05-11T17:08:34.974Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T17:08:35.002Z] $ docker stop --time=1 d0a077471974d0bb8d67b6b24b7175ba7de511670cc3a8fc1e5a0421b31cb8c0 [2021-05-11T17:08:36.873Z] $ docker rm -f d0a077471974d0bb8d67b6b24b7175ba7de511670cc3a8fc1e5a0421b31cb8c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:08:37.530Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T17:08:37.530Z] . [Pipeline] withDockerContainer [2021-05-11T17:08:37.764Z] prd-ubuntu18.04-docker-arm64-4c-16g-4510 does not seem to be running inside a container [2021-05-11T17:08:37.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/43 -v /w/workspace/device-sdk-go/43:/w/workspace/device-sdk-go/43:rw,z -v /w/workspace/device-sdk-go/43@tmp:/w/workspace/device-sdk-go/43@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-11T17:08:39.340Z] $ docker top b28479154a7e12d68b20bfa32efab9da9fc34b48ab8b32c31e877e63db9bdb1c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:08:40.322Z] + go mod tidy [Pipeline] sh [2021-05-11T17:08:41.987Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-11T17:08:42.620Z] + make test [2021-05-11T17:08:42.620Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-11T17:09:04.845Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-11T17:09:22.722Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-11T17:09:22.722Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-11T17:09:22.722Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-11T17:09:25.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.163s coverage: 25.4% of statements [2021-05-11T17:09:25.633Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-11T17:09:25.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.153s coverage: 28.1% of statements [2021-05-11T17:09:25.633Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.227s coverage: 78.9% of statements [2021-05-11T17:09:26.300Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.145s coverage: 10.7% of statements [2021-05-11T17:09:26.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-11T17:09:26.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-11T17:09:26.300Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-11T17:09:27.858Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.171s coverage: 30.2% of statements [2021-05-11T17:09:27.858Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-11T17:09:27.858Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-11T17:09:27.858Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-11T17:09:27.858Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-11T17:09:27.858Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.179s coverage: 58.4% of statements [2021-05-11T17:09:29.415Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.611s coverage: 89.2% of statements [2021-05-11T17:09:29.415Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-11T17:09:29.415Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.083s coverage: 5.0% of statements [2021-05-11T17:09:29.415Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-11T17:09:29.737Z] GO111MODULE=on go vet ./... [2021-05-11T17:10:02.753Z] gofmt -l . [2021-05-11T17:10:02.753Z] [ "`gofmt -l .`" = "" ] [2021-05-11T17:10:02.753Z] ./bin/test-attribution-txt.sh [2021-05-11T17:10:03.024Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T17:10:03.309Z] $ docker stop --time=1 6298a7006f6005bc826435854cc134dda600dbec8ed3d835e9217c3b788d2ef6 [2021-05-11T17:10:05.947Z] $ docker rm -f 6298a7006f6005bc826435854cc134dda600dbec8ed3d835e9217c3b788d2ef6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T17:10:06.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T17:10:07.148Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-11T17:10:09.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T17:10:10.019Z] + ls -al . [2021-05-11T17:10:10.019Z] total 212 [2021-05-11T17:10:10.019Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 11 17:10 . [2021-05-11T17:10:10.019Z] drwxrwxr-x. 4 jenkins jenkins 30 May 11 17:06 .. [2021-05-11T17:10:10.019Z] drwxrwxr-x. 2 jenkins jenkins 64 May 11 17:06 bin [2021-05-11T17:10:10.019Z] -rw-r--r--. 1 jenkins jenkins 124140 May 11 17:09 coverage.out [2021-05-11T17:10:10.019Z] -rw-rw-r--. 1 jenkins jenkins 987 May 11 17:06 Dockerfile.build [2021-05-11T17:10:10.019Z] -rw-rw-r--. 1 jenkins jenkins 140 May 11 17:06 .dockerignore [2021-05-11T17:10:10.019Z] drwxrwxr-x. 5 jenkins jenkins 62 May 11 17:06 example [2021-05-11T17:10:10.019Z] drwxrwxr-x. 8 jenkins jenkins 179 May 11 17:06 .git [2021-05-11T17:10:10.019Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 17:06 .github [2021-05-11T17:10:10.019Z] -rw-rw-r--. 1 jenkins jenkins 138 May 11 17:06 .gitignore [2021-05-11T17:10:10.019Z] -rw-r--r--. 1 jenkins jenkins 575 May 11 17:10 go.mod [2021-05-11T17:10:10.019Z] -rw-r--r--. 1 jenkins jenkins 20848 May 11 17:08 go.sum [2021-05-11T17:10:10.019Z] drwxrwxr-x. 15 jenkins jenkins 222 May 11 17:06 internal [2021-05-11T17:10:10.019Z] -rw-rw-r--. 1 jenkins jenkins 894 May 11 17:06 Jenkinsfile [2021-05-11T17:10:10.019Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 11 17:06 LICENSE [2021-05-11T17:10:10.019Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 11 17:06 Makefile [2021-05-11T17:10:10.019Z] drwxrwxr-x. 4 jenkins jenkins 26 May 11 17:06 openapi [2021-05-11T17:10:10.019Z] drwxrwxr-x. 5 jenkins jenkins 50 May 11 17:06 pkg [2021-05-11T17:10:10.019Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 11 17:06 README.md [2021-05-11T17:10:10.019Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 11 17:06 RELEASE-NOTES.txt [2021-05-11T17:10:10.019Z] drwxrwxr-x. 4 jenkins jenkins 54 May 11 17:06 snap [2021-05-11T17:10:10.019Z] -rw-rw-r--. 1 jenkins jenkins 5 May 11 17:03 VERSION [2021-05-11T17:10:10.019Z] -rw-rw-r--. 1 jenkins jenkins 222 May 11 17:06 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:10:10.347Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a05111699f9114d3b7a520b997b326c589ac0608 --label arch=amd64 --label version=0.0.0 . [2021-05-11T17:10:10.940Z] Sending build context to Docker daemon 2.677MB [2021-05-11T17:10:10.940Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:10:10.940Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-11T17:10:10.940Z] ---> 6ea82725ad18 [2021-05-11T17:10:10.940Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-11T17:10:11.518Z] ---> Running in 9d5605e4ac25 [2021-05-11T17:10:11.518Z] Removing intermediate container 9d5605e4ac25 [2021-05-11T17:10:11.518Z] ---> 09ad95f2f8c9 [2021-05-11T17:10:11.518Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:10:11.787Z] ---> Running in 6c1846c46eb4 [2021-05-11T17:10:12.052Z] Removing intermediate container 6c1846c46eb4 [2021-05-11T17:10:12.052Z] ---> 85a1f354faf1 [2021-05-11T17:10:12.052Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:10:12.052Z] ---> Running in 137c9428d230 [2021-05-11T17:10:12.987Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-11T17:10:12.987Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-11T17:10:12.987Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-11T17:10:13.491Z] Removing intermediate container 137c9428d230 [2021-05-11T17:10:13.491Z] ---> b6c27fa56f46 [2021-05-11T17:10:13.491Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T17:10:13.491Z] ---> Running in 2c17574c4bf6 [2021-05-11T17:10:14.460Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T17:10:15.871Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:10:19.212Z] OK: 150 MiB in 46 packages [2021-05-11T17:10:19.483Z] Removing intermediate container 2c17574c4bf6 [2021-05-11T17:10:19.483Z] ---> 9cefe2eee0e3 [2021-05-11T17:10:19.483Z] Step 7/23 : COPY . . [2021-05-11T17:10:20.904Z] ---> db0f4bfeb213 [2021-05-11T17:10:20.904Z] Step 8/23 : RUN go mod download [2021-05-11T17:10:20.904Z] ---> Running in b20989df9be0 [2021-05-11T17:10:21.343Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.230s coverage: 25.4% of statements [2021-05-11T17:10:21.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-11T17:10:21.343Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.142s coverage: 28.1% of statements [2021-05-11T17:10:21.343Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.200s coverage: 78.9% of statements [2021-05-11T17:10:21.343Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.143s coverage: 10.7% of statements [2021-05-11T17:10:21.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-11T17:10:21.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-11T17:10:21.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-11T17:10:22.326Z] Removing intermediate container b20989df9be0 [2021-05-11T17:10:22.326Z] ---> 9bb2f814257b [2021-05-11T17:10:22.326Z] Step 9/23 : RUN make build [2021-05-11T17:10:22.326Z] ---> Running in 8d48a21caf06 [2021-05-11T17:10:22.930Z] 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-11T17:10:23.401Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.275s coverage: 30.2% of statements [2021-05-11T17:10:23.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-11T17:10:23.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-11T17:10:23.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-11T17:10:23.401Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-11T17:10:24.417Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.397s coverage: 58.4% of statements [2021-05-11T17:10:25.876Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.397s coverage: 89.2% of statements [2021-05-11T17:10:25.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-11T17:10:26.471Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.159s coverage: 5.0% of statements [2021-05-11T17:10:26.471Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-11T17:10:27.067Z] GO111MODULE=on go vet ./... [2021-05-11T17:10:41.547Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-11T17:10:45.932Z] Removing intermediate container 8d48a21caf06 [2021-05-11T17:10:45.932Z] ---> afc59dba2902 [2021-05-11T17:10:45.932Z] Step 10/23 : FROM alpine:3.12 [2021-05-11T17:10:45.932Z] 3.12: Pulling from library/alpine [2021-05-11T17:10:45.932Z] 339de151aab4: Pulling fs layer [2021-05-11T17:10:46.229Z] 339de151aab4: Download complete [2021-05-11T17:10:46.833Z] 339de151aab4: Pull complete [2021-05-11T17:10:46.833Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T17:10:46.833Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T17:10:46.833Z] ---> 13621d1b12d4 [2021-05-11T17:10:46.833Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:10:47.152Z] ---> Running in 6499214fb1fb [2021-05-11T17:10:47.152Z] Removing intermediate container 6499214fb1fb [2021-05-11T17:10:47.152Z] ---> 0be1e2e71f64 [2021-05-11T17:10:47.152Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:10:47.452Z] ---> Running in bab8d2af0c8a [2021-05-11T17:10:50.366Z] Removing intermediate container bab8d2af0c8a [2021-05-11T17:10:50.366Z] ---> c84d274f9e2c [2021-05-11T17:10:50.366Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-11T17:10:50.366Z] ---> Running in 9e6541e2f0b5 [2021-05-11T17:10:51.421Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-11T17:10:51.731Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T17:10:52.370Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-11T17:10:52.658Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-11T17:10:52.658Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-11T17:10:53.263Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-11T17:10:53.544Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-11T17:10:53.544Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T17:10:53.544Z] OK: 8 MiB in 19 packages [2021-05-11T17:10:54.596Z] Removing intermediate container 9e6541e2f0b5 [2021-05-11T17:10:54.596Z] ---> 99bc99a8b5e2 [2021-05-11T17:10:54.596Z] Step 14/23 : WORKDIR / [2021-05-11T17:10:54.870Z] ---> Running in 22314befa2ea [2021-05-11T17:10:55.173Z] Removing intermediate container 22314befa2ea [2021-05-11T17:10:55.173Z] ---> 0651f9d596d7 [2021-05-11T17:10:55.173Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-11T17:10:55.783Z] ---> e3407fa9be5b [2021-05-11T17:10:55.783Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-11T17:10:56.750Z] ---> 6a34b53793c0 [2021-05-11T17:10:56.750Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-11T17:10:57.048Z] ---> 75c633b00b2f [2021-05-11T17:10:57.048Z] Step 18/23 : EXPOSE 49990 [2021-05-11T17:10:57.048Z] ---> Running in 9b025f639650 [2021-05-11T17:10:57.713Z] Removing intermediate container 9b025f639650 [2021-05-11T17:10:57.713Z] ---> dd5eb73e44b8 [2021-05-11T17:10:57.713Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-11T17:10:58.041Z] ---> Running in c5f5d88aaccb [2021-05-11T17:10:58.706Z] Removing intermediate container c5f5d88aaccb [2021-05-11T17:10:58.706Z] ---> 02fcd4613401 [2021-05-11T17:10:58.706Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T17:10:58.706Z] ---> Running in 29a02a4060d9 [2021-05-11T17:10:59.763Z] Removing intermediate container 29a02a4060d9 [2021-05-11T17:10:59.763Z] ---> 3759603e1794 [2021-05-11T17:10:59.763Z] Step 21/23 : LABEL arch=amd64 [2021-05-11T17:10:59.763Z] ---> Running in 9dd0283c5f12 [2021-05-11T17:11:00.053Z] Removing intermediate container 9dd0283c5f12 [2021-05-11T17:11:00.053Z] ---> 453dc7cd1424 [2021-05-11T17:11:00.053Z] Step 22/23 : LABEL git_sha=a05111699f9114d3b7a520b997b326c589ac0608 [2021-05-11T17:11:00.409Z] ---> Running in c0afb6754bc1 [2021-05-11T17:11:00.751Z] Removing intermediate container c0afb6754bc1 [2021-05-11T17:11:00.751Z] ---> e4a4edcd6ab1 [2021-05-11T17:11:00.751Z] Step 23/23 : LABEL version=0.0.0 [2021-05-11T17:11:00.751Z] ---> Running in 73d8fbbe0d95 [2021-05-11T17:11:01.462Z] Removing intermediate container 73d8fbbe0d95 [2021-05-11T17:11:01.462Z] ---> cdb54e802291 [2021-05-11T17:11:01.462Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-11T17:11:01.462Z] Successfully built cdb54e802291 [2021-05-11T17:11:01.462Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:11:02.266Z] ---> job-cost.sh [2021-05-11T17:11:02.266Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tJmB [2021-05-11T17:11:23.731Z] gofmt -l . [2021-05-11T17:11:23.731Z] [ "`gofmt -l .`" = "" ] [2021-05-11T17:11:23.731Z] ./bin/test-attribution-txt.sh [2021-05-11T17:11:25.712Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T17:11:26.334Z] $ docker stop --time=1 b28479154a7e12d68b20bfa32efab9da9fc34b48ab8b32c31e877e63db9bdb1c [2021-05-11T17:11:28.691Z] $ docker rm -f b28479154a7e12d68b20bfa32efab9da9fc34b48ab8b32c31e877e63db9bdb1c [2021-05-11T17:11:29.314Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T17:11:29.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T17:11:29.909Z] Warning: overwriting stash ‘coverage-report’ [2021-05-11T17:11:31.189Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T17:11:31.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T17:11:32.021Z] + ls -al . [2021-05-11T17:11:32.021Z] total 248 [2021-05-11T17:11:32.021Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 17:11 . [2021-05-11T17:11:32.021Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:07 .. [2021-05-11T17:11:32.021Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 17:07 .dockerignore [2021-05-11T17:11:32.021Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 17:07 .git [2021-05-11T17:11:32.021Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:07 .github [2021-05-11T17:11:32.021Z] -rw-rw-r-- 1 jenkins jenkins 138 May 11 17:07 .gitignore [2021-05-11T17:11:32.021Z] -rw-rw-r-- 1 jenkins jenkins 987 May 11 17:07 Dockerfile.build [2021-05-11T17:11:32.021Z] -rw-rw-r-- 1 jenkins jenkins 894 May 11 17:07 Jenkinsfile [2021-05-11T17:11:32.021Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 11 17:07 LICENSE [2021-05-11T17:11:32.021Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 11 17:07 Makefile [2021-05-11T17:11:32.021Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 11 17:07 README.md [2021-05-11T17:11:32.021Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 11 17:07 RELEASE-NOTES.txt [2021-05-11T17:11:32.021Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 17:03 VERSION [2021-05-11T17:11:32.021Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 17:07 bin [2021-05-11T17:11:32.021Z] -rw-r--r-- 1 jenkins jenkins 124141 May 11 17:10 coverage.out [2021-05-11T17:11:32.021Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 17:07 example [2021-05-11T17:11:32.021Z] -rw-r--r-- 1 jenkins jenkins 575 May 11 17:11 go.mod [2021-05-11T17:11:32.021Z] -rw-r--r-- 1 jenkins jenkins 20848 May 11 17:08 go.sum [2021-05-11T17:11:32.021Z] drwxrwxr-x 15 jenkins jenkins 4096 May 11 17:07 internal [2021-05-11T17:11:32.021Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:07 openapi [2021-05-11T17:11:32.021Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 17:07 pkg [2021-05-11T17:11:32.021Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 17:07 snap [2021-05-11T17:11:32.021Z] -rw-rw-r-- 1 jenkins jenkins 222 May 11 17:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:11:32.437Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a05111699f9114d3b7a520b997b326c589ac0608 --label arch=arm64 --label version=0.0.0 . [2021-05-11T17:11:33.072Z] Sending build context to Docker daemon 2.676MB [2021-05-11T17:11:33.072Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T17:11:33.072Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-11T17:11:33.072Z] ---> bb941d2bb5b4 [2021-05-11T17:11:33.072Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-11T17:11:33.353Z] ---> Running in 0471aa9de484 [2021-05-11T17:11:33.969Z] Removing intermediate container 0471aa9de484 [2021-05-11T17:11:33.969Z] ---> c7ad9afd5e92 [2021-05-11T17:11:33.969Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:11:33.969Z] ---> Running in 4e15625444e5 [2021-05-11T17:11:34.567Z] Removing intermediate container 4e15625444e5 [2021-05-11T17:11:34.567Z] ---> a69768ae9ae0 [2021-05-11T17:11:34.567Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:11:34.567Z] ---> Running in 464e07f54be5 [2021-05-11T17:11:37.196Z] Removing intermediate container 464e07f54be5 [2021-05-11T17:11:37.196Z] ---> 4135d1803ce9 [2021-05-11T17:11:37.196Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T17:11:37.196Z] ---> Running in b2a3519e6e2b [2021-05-11T17:11:38.173Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T17:11:39.153Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T17:11:39.752Z] OK: 139 MiB in 46 packages [2021-05-11T17:11:41.184Z] Removing intermediate container b2a3519e6e2b [2021-05-11T17:11:41.184Z] ---> 5e5ffb0c8812 [2021-05-11T17:11:41.184Z] Step 7/23 : COPY . . [2021-05-11T17:11:42.639Z] ---> c90144d0c830 [2021-05-11T17:11:42.639Z] Step 8/23 : RUN go mod download [2021-05-11T17:11:42.639Z] ---> Running in 54c07284ad56 [2021-05-11T17:11:45.258Z] Removing intermediate container 54c07284ad56 [2021-05-11T17:11:45.258Z] ---> bdf1bf17c971 [2021-05-11T17:11:45.258Z] Step 9/23 : RUN make build [2021-05-11T17:11:45.258Z] ---> Running in 88daaff43f16 [2021-05-11T17:11:46.242Z] 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-11T17:12:08.926Z] lf-activate-venv(): INFO: Adding /tmp/venv-tJmB/bin to PATH [2021-05-11T17:12:08.927Z] INFO: No Stack... [2021-05-11T17:12:09.555Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T17:12:10.633Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T17:12:11.240Z] + cat /w/workspace/device-sdk-go/43/archives/cost.csv [2021-05-11T17:12:11.240Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T17:12:11.686Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-43-stack-cost] [2021-05-11T17:12:11.694Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-43-stack-cost] did not exist. Created. [2021-05-11T17:12:11.695Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T17:12:12.141Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T17:12:12.376Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T17:12:12.391Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-43-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T17:12:25.312Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-11T17:12:25.312Z] Removing intermediate container 88daaff43f16 [2021-05-11T17:12:25.312Z] ---> dfd017b2f11f [2021-05-11T17:12:25.312Z] Step 10/23 : FROM alpine:3.12 [2021-05-11T17:12:25.584Z] 3.12: Pulling from library/alpine [2021-05-11T17:12:25.856Z] d2f70382dc9a: Pulling fs layer [2021-05-11T17:12:26.128Z] d2f70382dc9a: Verifying Checksum [2021-05-11T17:12:26.128Z] d2f70382dc9a: Download complete [2021-05-11T17:12:26.726Z] d2f70382dc9a: Pull complete [2021-05-11T17:12:26.726Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T17:12:26.726Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T17:12:26.726Z] ---> 9852663dfa18 [2021-05-11T17:12:26.726Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T17:12:26.998Z] ---> Running in faac74098252 [2021-05-11T17:12:27.273Z] Removing intermediate container faac74098252 [2021-05-11T17:12:27.273Z] ---> 5ebbb9d6fd63 [2021-05-11T17:12:27.273Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T17:12:27.549Z] ---> Running in a9467595fdb8 [2021-05-11T17:12:30.163Z] Removing intermediate container a9467595fdb8 [2021-05-11T17:12:30.163Z] ---> af20637a919e [2021-05-11T17:12:30.163Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-11T17:12:30.163Z] ---> Running in 79fe5aa8c166 [2021-05-11T17:12:31.141Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-11T17:12:31.736Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-11T17:12:32.713Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-11T17:12:32.713Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-11T17:12:32.713Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-11T17:12:32.987Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-11T17:12:32.987Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-11T17:12:33.270Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T17:12:33.270Z] OK: 8 MiB in 19 packages [2021-05-11T17:12:34.704Z] Removing intermediate container 79fe5aa8c166 [2021-05-11T17:12:34.704Z] ---> d50d6565bdf8 [2021-05-11T17:12:34.704Z] Step 14/23 : WORKDIR / [2021-05-11T17:12:34.704Z] ---> Running in 8a56522f8ea4 [2021-05-11T17:12:35.298Z] Removing intermediate container 8a56522f8ea4 [2021-05-11T17:12:35.298Z] ---> 514b5c076080 [2021-05-11T17:12:35.298Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-11T17:12:35.898Z] ---> 4ec61dedea19 [2021-05-11T17:12:35.898Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-11T17:12:37.355Z] ---> 930d90225873 [2021-05-11T17:12:37.355Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-11T17:12:37.952Z] ---> fffb02fdbbfc [2021-05-11T17:12:37.952Z] Step 18/23 : EXPOSE 49990 [2021-05-11T17:12:37.952Z] ---> Running in e8dd843db9ee [2021-05-11T17:12:38.547Z] Removing intermediate container e8dd843db9ee [2021-05-11T17:12:38.547Z] ---> d1578424c97b [2021-05-11T17:12:38.547Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-11T17:12:38.547Z] ---> Running in f645e5505753 [2021-05-11T17:12:39.147Z] Removing intermediate container f645e5505753 [2021-05-11T17:12:39.147Z] ---> 967a229d71fa [2021-05-11T17:12:39.147Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T17:12:39.147Z] ---> Running in fdbb15bdc8fd [2021-05-11T17:12:39.742Z] Removing intermediate container fdbb15bdc8fd [2021-05-11T17:12:39.742Z] ---> f085c93de8f4 [2021-05-11T17:12:39.742Z] Step 21/23 : LABEL arch=arm64 [2021-05-11T17:12:39.742Z] ---> Running in 4478aa5b67e9 [2021-05-11T17:12:40.335Z] Removing intermediate container 4478aa5b67e9 [2021-05-11T17:12:40.335Z] ---> 617bf6af7c94 [2021-05-11T17:12:40.335Z] Step 22/23 : LABEL git_sha=a05111699f9114d3b7a520b997b326c589ac0608 [2021-05-11T17:12:40.335Z] ---> Running in 981f0b16fa44 [2021-05-11T17:12:40.929Z] Removing intermediate container 981f0b16fa44 [2021-05-11T17:12:40.929Z] ---> c5dba82e2595 [2021-05-11T17:12:40.929Z] Step 23/23 : LABEL version=0.0.0 [2021-05-11T17:12:40.929Z] ---> Running in dd59382effae [2021-05-11T17:12:41.521Z] Removing intermediate container dd59382effae [2021-05-11T17:12:41.521Z] ---> 5b87f453601b [2021-05-11T17:12:41.521Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-11T17:12:41.521Z] Successfully built 5b87f453601b [2021-05-11T17:12:41.521Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:12:41.984Z] ---> job-cost.sh [2021-05-11T17:12:41.984Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CaUf [2021-05-11T17:13:29.112Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T17:15:05.846Z] lf-activate-venv(): INFO: Adding /tmp/venv-CaUf/bin to PATH [2021-05-11T17:15:05.846Z] INFO: No Stack... [2021-05-11T17:15:05.846Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T17:15:05.846Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T17:15:06.180Z] + cut -d, -f6 [2021-05-11T17:15:06.180Z] + cat /w/workspace/device-sdk-go/43/archives/cost.csv [Pipeline] lock [2021-05-11T17:15:06.295Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-43-stack-cost] [2021-05-11T17:15:06.319Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-43-stack-cost] did not exist. Created. [2021-05-11T17:15:06.319Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T17:15:06.687Z] /w/workspace/device-sdk-go/43@tmp/durable-589e5eba/script.sh: 1: /w/workspace/device-sdk-go/43@tmp/durable-589e5eba/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T17:15:07.029Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T17:15:07.051Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T17:15:07.209Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T17:15:07.228Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-43-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-11T17:15:07.781Z] provisioning config files... [2021-05-11T17:15:07.792Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4728712345594054375tmp [Pipeline] { [Pipeline] sh [2021-05-11T17:15:08.132Z] + set +x [2021-05-11T17:15:08.132Z] + bash -s -- [2021-05-11T17:15:08.132Z] + curl -s https://codecov.io/bash [2021-05-11T17:15:08.400Z] [2021-05-11T17:15:08.400Z] _____ _ [2021-05-11T17:15:08.400Z] / ____| | | [2021-05-11T17:15:08.400Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T17:15:08.400Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T17:15:08.400Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T17:15:08.400Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T17:15:08.400Z] Bash-1.0.2 [2021-05-11T17:15:08.400Z] [2021-05-11T17:15:08.400Z] [2021-05-11T17:15:08.401Z] ==> git version 2.24.3 found [2021-05-11T17:15:08.401Z] ==> 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-11T17:15:08.401Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T17:15:08.401Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T17:15:08.401Z] ==> Jenkins CI detected. [2021-05-11T17:15:08.401Z] project root: . [2021-05-11T17:15:08.401Z] --> token set from env [2021-05-11T17:15:08.401Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T17:15:08.401Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T17:15:08.401Z] ==> Python coveragepy not found [2021-05-11T17:15:08.401Z] ==> Searching for coverage reports in: [2021-05-11T17:15:08.401Z] + . [2021-05-11T17:15:08.401Z] -> Found 1 reports [2021-05-11T17:15:08.401Z] ==> Detecting git/mercurial file structure [2021-05-11T17:15:08.401Z] ==> Reading reports [2021-05-11T17:15:08.401Z] + ./coverage.out bytes=124141 [2021-05-11T17:15:08.687Z] ==> Appending adjustments [2021-05-11T17:15:08.687Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T17:15:09.292Z] + Found adjustments [2021-05-11T17:15:09.292Z] ==> Gzipping contents [2021-05-11T17:15:09.292Z] 16K /tmp/codecov.oyHFYN.gz [2021-05-11T17:15:09.292Z] ==> Uploading reports [2021-05-11T17:15:09.292Z] url: https://codecov.io [2021-05-11T17:15:09.292Z] query: branch=PR-725&commit=a05111699f9114d3b7a520b997b326c589ac0608&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-05-11T17:15:09.292Z] -> Pinging Codecov [2021-05-11T17:15:09.292Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-725&commit=a05111699f9114d3b7a520b997b326c589ac0608&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-05-11T17:15:10.272Z] -> Uploading to [2021-05-11T17:15:10.272Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/7E55EF52A471D76F132DFD9A03CDDE97/a05111699f9114d3b7a520b997b326c589ac0608/4a5803db-ee06-42e2-9af4-347895eaf926.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T171509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=341255e945d35eab1aa6d23d29142548f152c1ff5d5cc5689169fa116529645f [2021-05-11T17:15:10.272Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T17:15:10.272Z] Dload Upload Total Spent Left Speed [2021-05-11T17:15:10.546Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16225 0 0 100 16225 0 35814 --:--:-- --:--:-- --:--:-- 35816 100 16225 0 0 100 16225 0 35799 --:--:-- --:--:-- --:--:-- 35816 [2021-05-11T17:15:10.546Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a05111699f9114d3b7a520b997b326c589ac0608 [Pipeline] } [2021-05-11T17:15:10.557Z] 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-11T17:15:11.679Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:15:12.172Z] ---> package-listing.sh [2021-05-11T17:15:12.172Z] ++ facter osfamily [2021-05-11T17:15:12.172Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T17:15:12.172Z] + OS_FAMILY=redhat [2021-05-11T17:15:12.172Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-05-11T17:15:12.172Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T17:15:12.172Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T17:15:12.172Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T17:15:12.172Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T17:15:12.172Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-05-11T17:15:12.172Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T17:15:12.172Z] + case "${OS_FAMILY}" in [2021-05-11T17:15:12.172Z] + sort [2021-05-11T17:15:12.172Z] + rpm -qa [2021-05-11T17:15:17.561Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T17:15:17.561Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T17:15:17.561Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T17:15:17.561Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-05-11T17:15:17.561Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-05-11T17:15:17.561Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-05-11T17:15:17.579Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-11T17:15:17.897Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:15:18.218Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:15:18.218Z] [2021-05-11T17:15:18.218Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T17:15:18.819Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:15:18.819Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T17:15:18.819Z] df20fa9351a1: Pulling fs layer [2021-05-11T17:15:18.819Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T17:15:18.819Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T17:15:18.819Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T17:15:18.819Z] 93b61091891f: Pulling fs layer [2021-05-11T17:15:18.819Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T17:15:18.819Z] 5e14af77c1be: Pulling fs layer [2021-05-11T17:15:18.819Z] 01666e4c0597: Pulling fs layer [2021-05-11T17:15:18.819Z] aa168da1d23b: Pulling fs layer [2021-05-11T17:15:18.819Z] 46f8f816bc3b: Waiting [2021-05-11T17:15:18.819Z] 93b61091891f: Waiting [2021-05-11T17:15:18.819Z] 93b9cdb0e59b: Waiting [2021-05-11T17:15:18.819Z] 5e14af77c1be: Waiting [2021-05-11T17:15:18.819Z] 01666e4c0597: Waiting [2021-05-11T17:15:18.819Z] aa168da1d23b: Waiting [2021-05-11T17:15:18.819Z] 36b3adc4ff6f: Verifying Checksum [2021-05-11T17:15:18.819Z] 36b3adc4ff6f: Download complete [2021-05-11T17:15:18.819Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T17:15:18.819Z] 46f8f816bc3b: Download complete [2021-05-11T17:15:19.095Z] df20fa9351a1: Verifying Checksum [2021-05-11T17:15:19.095Z] df20fa9351a1: Download complete [2021-05-11T17:15:19.095Z] 93b9cdb0e59b: Verifying Checksum [2021-05-11T17:15:19.095Z] 93b9cdb0e59b: Download complete [2021-05-11T17:15:19.095Z] 5e14af77c1be: Verifying Checksum [2021-05-11T17:15:19.095Z] 5e14af77c1be: Download complete [2021-05-11T17:15:19.095Z] 93b61091891f: Verifying Checksum [2021-05-11T17:15:19.095Z] 93b61091891f: Download complete [2021-05-11T17:15:19.095Z] 01666e4c0597: Verifying Checksum [2021-05-11T17:15:19.095Z] 01666e4c0597: Download complete [2021-05-11T17:15:19.688Z] df20fa9351a1: Pull complete [2021-05-11T17:15:19.688Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T17:15:19.688Z] 8ad3a11d3b57: Download complete [2021-05-11T17:15:19.960Z] 36b3adc4ff6f: Pull complete [2021-05-11T17:15:21.457Z] 8ad3a11d3b57: Pull complete [2021-05-11T17:15:21.751Z] 46f8f816bc3b: Pull complete [2021-05-11T17:15:22.777Z] 93b61091891f: Pull complete [2021-05-11T17:15:22.777Z] 93b9cdb0e59b: Pull complete [2021-05-11T17:15:23.050Z] 5e14af77c1be: Pull complete [2021-05-11T17:15:23.318Z] 01666e4c0597: Pull complete [2021-05-11T17:15:23.585Z] aa168da1d23b: Download complete [2021-05-11T17:15:33.771Z] aa168da1d23b: Pull complete [2021-05-11T17:15:33.771Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T17:15:33.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T17:15:33.771Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T17:15:34.090Z] prd-centos7-docker-4c-2g-4505 does not seem to be running inside a container [2021-05-11T17:15:34.204Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-11T17:15:37.793Z] $ docker top 8e01f7dd124e674f1055849be115d12893da8394d2f5d99c072e8af662e0920c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T17:15:38.355Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T17:15:38.716Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T17:15:39.047Z] + ls /var/log/sa-host [2021-05-11T17:15:39.047Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T17:15:39.047Z] file_magic: OK [2021-05-11T17:15:39.047Z] HZ: Using current value: 100 [2021-05-11T17:15:39.047Z] file_header: OK [2021-05-11T17:15:39.047Z] 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-11T17:15:39.047Z] Statistics: [2021-05-11T17:15:39.047Z] HRHnuu...uuuununununu...Hnuu...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-11T17:15:39.047Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T17:15:39.047Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T17:15:39.047Z] file_magic: OK [2021-05-11T17:15:39.047Z] HZ: Using current value: 100 [2021-05-11T17:15:39.047Z] file_header: OK [2021-05-11T17:15:39.047Z] 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-11T17:15:39.047Z] Statistics: [2021-05-11T17:15:39.047Z] Hnuu...uuuununununu... [2021-05-11T17:15:39.047Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T17:15:39.251Z] provisioning config files... [2021-05-11T17:15:39.269Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1438818943432750802tmp [Pipeline] { [Pipeline] echo [2021-05-11T17:15:39.294Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:15:39.609Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T17:15:39.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T17:15:39.650Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:15:39.986Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T17:15:40.001Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:15:40.311Z] ---> sudo-logs.sh [2021-05-11T17:15:40.311Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T17:15:40.345Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:15:40.666Z] ---> job-cost.sh [2021-05-11T17:15:40.934Z] lf-activate-venv: SKIPPING [2021-05-11T17:15:40.934Z] DEBUG: total: 0.20999999344348907 [2021-05-11T17:15:40.934Z] INFO: Retrieving Stack Cost... [2021-05-11T17:15:42.339Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T17:15:42.923Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T17:15:42.940Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T17:15:43.248Z] ---> logs-deploy.sh [2021-05-11T17:15:43.249Z] lf-activate-venv: SKIPPING [2021-05-11T17:15:43.249Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/43 [2021-05-11T17:15:43.249Z] INFO: archiving workspace using pattern(s): [2021-05-11T17:15:45.850Z] Archives upload complete. [2021-05-11T17:15:45.850Z] INFO: archiving logs to Nexus