Pull request #923 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ca61bd3c33f8609be22f5d90c9999c193e65cb38+759496df5f428c8235f1427b99e1498ca885078c (5ba1883d159b19ae7378267f27bc9a6d7bb581a3) 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-5059 in /w/workspace/dgexfoundry_device-sdk-go_PR-923 [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-923 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 759496df5f428c8235f1427b99e1498ca885078c into PR head commit ca61bd3c33f8609be22f5d90c9999c193e65cb38 Merge succeeded, producing ca61bd3c33f8609be22f5d90c9999c193e65cb38 Checking out Revision ca61bd3c33f8609be22f5d90c9999c193e65cb38 (PR-923) > 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/923/head:refs/remotes/origin/PR-923 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca61bd3c33f8609be22f5d90c9999c193e65cb38 # 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 759496df5f428c8235f1427b99e1498ca885078c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca61bd3c33f8609be22f5d90c9999c193e65cb38 # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1" First time build. Skipping changelog. > git rev-list --no-walk 755ccf0f88b1d27e94309afe20514704e22475f5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-13T08:16:00.971Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-13T08:16:01.064Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-13T08:16:01.094Z] ========================================================= [2021-05-13T08:16:01.094Z] EdgeX Global Pipelines Version Info [2021-05-13T08:16:01.094Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:16:04.521Z] ------------------- [2021-05-13T08:16:04.521Z] stable info: [2021-05-13T08:16:04.521Z] ------------------- [2021-05-13T08:16:04.521Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-13T08:16:04.521Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-13T08:16:04.521Z] Message: update stable to v1.0.192 [2021-05-13T08:16:05.492Z] ------------------- [2021-05-13T08:16:05.493Z] experimental info: [2021-05-13T08:16:05.493Z] ------------------- [2021-05-13T08:16:05.493Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-13T08:16:05.493Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-13T08:16:05.493Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-13T08:16:05.633Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-13T08:16:05.656Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-13T08:16:05.680Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-13T08:16:05.736Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-13T08:16:05.767Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-13T08:16:05.791Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-13T08:16:05.822Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-13T08:16:05.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-13T08:16:05.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-13T08:16:05.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-13T08:16:05.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-13T08:16:05.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-13T08:16:05.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-13T08:16:06.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-13T08:16:06.028Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-13T08:16:06.051Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T08:16:06.075Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T08:16:06.114Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T08:16:06.137Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-13T08:16:06.160Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-13T08:16:06.187Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-13T08:16:06.210Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-13T08:16:06.233Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-13T08:16:06.256Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-13T08:16:06.297Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-13T08:16:06.322Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-13T08:16:06.347Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-923 [Pipeline] echo [2021-05-13T08:16:06.371Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-923 [Pipeline] echo [2021-05-13T08:16:06.396Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-923 [Pipeline] echo [2021-05-13T08:16:06.421Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca61bd3c33f8609be22f5d90c9999c193e65cb38 [Pipeline] echo [2021-05-13T08:16:06.445Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca61bd3 [Pipeline] echo [2021-05-13T08:16:06.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T08:16:06.558Z] provisioning config files... [2021-05-13T08:16:06.618Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/config5646907716008283074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:16:06.972Z] ---> docker-login.sh [2021-05-13T08:16:06.972Z] nexus3.edgexfoundry.org:10001 [2021-05-13T08:16:07.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:16:07.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:16:07.524Z] Configure a credential helper to remove this warning. See [2021-05-13T08:16:07.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:16:07.524Z] [2021-05-13T08:16:07.524Z] Login Succeeded [2021-05-13T08:16:07.524Z] nexus3.edgexfoundry.org:10002 [2021-05-13T08:16:07.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:16:07.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:16:07.805Z] Configure a credential helper to remove this warning. See [2021-05-13T08:16:07.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:16:07.805Z] [2021-05-13T08:16:07.805Z] Login Succeeded [2021-05-13T08:16:07.805Z] nexus3.edgexfoundry.org:10003 [2021-05-13T08:16:08.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:16:08.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:16:08.093Z] Configure a credential helper to remove this warning. See [2021-05-13T08:16:08.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:16:08.093Z] [2021-05-13T08:16:08.093Z] Login Succeeded [2021-05-13T08:16:08.093Z] nexus3.edgexfoundry.org:10004 [2021-05-13T08:16:08.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:16:08.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:16:08.376Z] Configure a credential helper to remove this warning. See [2021-05-13T08:16:08.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:16:08.376Z] [2021-05-13T08:16:08.376Z] Login Succeeded [2021-05-13T08:16:08.376Z] docker.io [2021-05-13T08:16:08.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:16:08.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:16:08.910Z] Configure a credential helper to remove this warning. See [2021-05-13T08:16:08.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:16:08.910Z] [2021-05-13T08:16:08.910Z] Login Succeeded [2021-05-13T08:16:08.910Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T08:16:08.928Z] 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-13T08:16:09.463Z] + git log --format=format:%s -1 ca61bd3c33f8609be22f5d90c9999c193e65cb38 [Pipeline] echo [2021-05-13T08:16:09.617Z] GIT_COMMIT: ca61bd3c33f8609be22f5d90c9999c193e65cb38, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1 [Pipeline] echo [2021-05-13T08:16:09.631Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:16:10.215Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T08:16:10.215Z] [2021-05-13T08:16:10.215Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:16:10.579Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T08:16:10.579Z] latest: Pulling from edgex-devops/git-semver [2021-05-13T08:16:10.579Z] 31603596830f: Pulling fs layer [2021-05-13T08:16:10.579Z] 54011a49482f: Pulling fs layer [2021-05-13T08:16:10.579Z] a6820b24f6d8: Pulling fs layer [2021-05-13T08:16:10.579Z] f581987b2513: Pulling fs layer [2021-05-13T08:16:10.579Z] f581987b2513: Waiting [2021-05-13T08:16:10.579Z] 54011a49482f: Verifying Checksum [2021-05-13T08:16:10.579Z] 54011a49482f: Download complete [2021-05-13T08:16:11.237Z] 31603596830f: Verifying Checksum [2021-05-13T08:16:11.237Z] 31603596830f: Download complete [2021-05-13T08:16:11.537Z] f581987b2513: Verifying Checksum [2021-05-13T08:16:11.537Z] f581987b2513: Download complete [2021-05-13T08:16:11.537Z] a6820b24f6d8: Verifying Checksum [2021-05-13T08:16:11.537Z] a6820b24f6d8: Download complete [2021-05-13T08:16:11.809Z] 31603596830f: Pull complete [2021-05-13T08:16:12.081Z] 54011a49482f: Pull complete [2021-05-13T08:16:13.527Z] a6820b24f6d8: Pull complete [2021-05-13T08:16:13.527Z] f581987b2513: Pull complete [2021-05-13T08:16:13.798Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-13T08:16:13.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T08:16:13.798Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-13T08:16:13.969Z] prd-centos7-docker-4c-2g-5059 does not seem to be running inside a container [2021-05-13T08:16:14.076Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-923 -v /w/workspace/dgexfoundry_device-sdk-go_PR-923:/w/workspace/dgexfoundry_device-sdk-go_PR-923:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-13T08:16:18.277Z] $ docker top 0259e5234b23477b17364d42e4e13c62138ff4fef79ae8c4eff4bb276d30293a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-13T08:16:18.797Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-13T08:16:18.797Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-13T08:16:19.982Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-13T08:16:19.994Z] $ docker exec 0259e5234b23477b17364d42e4e13c62138ff4fef79ae8c4eff4bb276d30293a ssh-agent [2021-05-13T08:16:20.633Z] SSH_AUTH_SOCK=/tmp/ssh-61K5MJ43Kjyu/agent.12 [2021-05-13T08:16:20.633Z] SSH_AGENT_PID=17 [2021-05-13T08:16:20.648Z] Running ssh-add (command line suppressed) [2021-05-13T08:16:20.801Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_3731994681505845230.key (/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_3731994681505845230.key) [2021-05-13T08:16:20.875Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-13T08:16:21.612Z] + git tag --points-at HEAD [Pipeline] } [2021-05-13T08:16:21.657Z] $ docker exec --env ******** --env ******** 0259e5234b23477b17364d42e4e13c62138ff4fef79ae8c4eff4bb276d30293a ssh-agent -k [2021-05-13T08:16:21.821Z] unset SSH_AUTH_SOCK; [2021-05-13T08:16:21.821Z] unset SSH_AGENT_PID; [2021-05-13T08:16:21.821Z] echo Agent pid 17 killed; [2021-05-13T08:16:21.890Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-13T08:16:21.936Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-13T08:16:21.936Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-13T08:16:22.334Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-13T08:16:22.340Z] $ docker exec 0259e5234b23477b17364d42e4e13c62138ff4fef79ae8c4eff4bb276d30293a ssh-agent [2021-05-13T08:16:22.570Z] SSH_AUTH_SOCK=/tmp/ssh-tnTCTf3Lf49k/agent.46 [2021-05-13T08:16:22.570Z] SSH_AGENT_PID=52 [2021-05-13T08:16:22.581Z] Running ssh-add (command line suppressed) [2021-05-13T08:16:22.746Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_2678886649819325023.key (/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_2678886649819325023.key) [2021-05-13T08:16:22.816Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-13T08:16:23.148Z] + git semver init [2021-05-13T08:16:23.148Z] # -> Open(): unable to determine branch for HEAD [2021-05-13T08:16:23.148Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-923/.git [2021-05-13T08:16:23.148Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-923 [2021-05-13T08:16:23.148Z] # $SEMVER_REMOTE_NAME = origin [2021-05-13T08:16:23.148Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-13T08:16:23.148Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-13T08:16:23.148Z] # $SEMVER_BRANCH = PR-923 [2021-05-13T08:16:23.148Z] # $SEMVER_TEMP = /tmp/semver-491582766 [2021-05-13T08:16:23.148Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-13T08:16:24.674Z] # '/tmp/semver-491582766' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-923/.semver' [2021-05-13T08:16:24.674Z] # -> Force: false [2021-05-13T08:16:24.674Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-923/.semver [Pipeline] } [2021-05-13T08:16:24.712Z] $ docker exec --env ******** --env ******** 0259e5234b23477b17364d42e4e13c62138ff4fef79ae8c4eff4bb276d30293a ssh-agent -k [2021-05-13T08:16:24.902Z] unset SSH_AUTH_SOCK; [2021-05-13T08:16:24.904Z] unset SSH_AGENT_PID; [2021-05-13T08:16:24.904Z] echo Agent pid 52 killed; [2021-05-13T08:16:24.984Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-13T08:16:25.471Z] + git semver [Pipeline] } [2021-05-13T08:16:25.538Z] $ docker stop --time=1 0259e5234b23477b17364d42e4e13c62138ff4fef79ae8c4eff4bb276d30293a [2021-05-13T08:16:27.229Z] $ docker rm -f 0259e5234b23477b17364d42e4e13c62138ff4fef79ae8c4eff4bb276d30293a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T08:16:27.679Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-13T08:16:28.182Z] Stashed 1 file(s) [Pipeline] echo [2021-05-13T08:16:28.186Z] [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-13T08:16:43.430Z] Still waiting to schedule task [2021-05-13T08:16:43.431Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-5064’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-13T08:16:43.431Z] Still waiting to schedule task [2021-05-13T08:16:43.431Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-13T08:18:18.743Z] Running on prd-centos7-docker-4c-2g-5067 in /w/workspace/dgexfoundry_device-sdk-go_PR-923 [Pipeline] { [Pipeline] ws [2021-05-13T08:18:18.762Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-05-13T08:18:28.777Z] using credential edgex-jenkins-ssh [2021-05-13T08:18:28.805Z] Cloning the remote Git repository [2021-05-13T08:18:28.854Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T08:18:28.957Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-05-13T08:18:29.067Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T08:18:29.068Z] > git --version # timeout=10 [2021-05-13T08:18:29.077Z] > git --version # 'git version 2.24.3' [2021-05-13T08:18:29.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T08:18:29.126Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T08:18:30.161Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T08:18:30.273Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T08:18:30.524Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T08:18:30.583Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T08:18:30.585Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T08:18:30.615Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/923/head:refs/remotes/origin/PR-923 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-13T08:18:31.147Z] Merging remotes/origin/master commit 759496df5f428c8235f1427b99e1498ca885078c into PR head commit ca61bd3c33f8609be22f5d90c9999c193e65cb38 [2021-05-13T08:18:31.357Z] Merge succeeded, producing ca61bd3c33f8609be22f5d90c9999c193e65cb38 [2021-05-13T08:18:31.358Z] Checking out Revision ca61bd3c33f8609be22f5d90c9999c193e65cb38 (PR-923) [2021-05-13T08:18:31.155Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T08:18:31.171Z] > git checkout -f ca61bd3c33f8609be22f5d90c9999c193e65cb38 # timeout=10 [2021-05-13T08:18:31.239Z] > git remote # timeout=10 [2021-05-13T08:18:31.297Z] > git config --get remote.origin.url # timeout=10 [2021-05-13T08:18:31.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T08:18:31.321Z] > git merge 759496df5f428c8235f1427b99e1498ca885078c # timeout=10 [2021-05-13T08:18:31.337Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-13T08:18:31.357Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T08:18:31.372Z] > git checkout -f ca61bd3c33f8609be22f5d90c9999c193e65cb38 # timeout=10 [2021-05-13T08:18:35.540Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T08:18:37.341Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-13T08:18:37.704Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-13T08:18:38.040Z] + sudo service docker restart [2021-05-13T08:18:38.040Z] + true [2021-05-13T08:18:38.040Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T08:18:40.125Z] provisioning config files... [2021-05-13T08:18:40.159Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config8798486714041459749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:18:40.523Z] ---> docker-login.sh [2021-05-13T08:18:40.523Z] nexus3.edgexfoundry.org:10001 [2021-05-13T08:18:41.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:18:41.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:18:41.491Z] Configure a credential helper to remove this warning. See [2021-05-13T08:18:41.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:18:41.491Z] [2021-05-13T08:18:41.491Z] Login Succeeded [2021-05-13T08:18:41.491Z] nexus3.edgexfoundry.org:10002 [2021-05-13T08:18:42.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:18:42.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:18:42.074Z] Configure a credential helper to remove this warning. See [2021-05-13T08:18:42.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:18:42.074Z] [2021-05-13T08:18:42.074Z] Login Succeeded [2021-05-13T08:18:42.074Z] nexus3.edgexfoundry.org:10003 [2021-05-13T08:18:42.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:18:42.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:18:42.342Z] Configure a credential helper to remove this warning. See [2021-05-13T08:18:42.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:18:42.342Z] [2021-05-13T08:18:42.342Z] Login Succeeded [2021-05-13T08:18:42.342Z] nexus3.edgexfoundry.org:10004 [2021-05-13T08:18:42.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:18:42.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:18:42.613Z] Configure a credential helper to remove this warning. See [2021-05-13T08:18:42.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:18:42.613Z] [2021-05-13T08:18:42.613Z] Login Succeeded [2021-05-13T08:18:42.613Z] docker.io [2021-05-13T08:18:42.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:18:43.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:18:43.139Z] Configure a credential helper to remove this warning. See [2021-05-13T08:18:43.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:18:43.139Z] [2021-05-13T08:18:43.139Z] Login Succeeded [2021-05-13T08:18:43.139Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T08:18:43.149Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-13T08:18:43.446Z] ========================================================= [2021-05-13T08:18:43.446Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-13T08:18:43.446Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:18:43.792Z] + 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-13T08:18:44.069Z] Sending build context to Docker daemon 2.564MB [2021-05-13T08:18:44.069Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T08:18:44.069Z] Step 2/8 : FROM ${BASE} [2021-05-13T08:18:44.069Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-13T08:18:44.069Z] 540db60ca938: Pulling fs layer [2021-05-13T08:18:44.069Z] adcc1eea9eea: Pulling fs layer [2021-05-13T08:18:44.069Z] 4c4ab2625f07: Pulling fs layer [2021-05-13T08:18:44.069Z] 0510c868ecb4: Pulling fs layer [2021-05-13T08:18:44.069Z] afea3b2eda06: Pulling fs layer [2021-05-13T08:18:44.069Z] 7809a108b3ef: Pulling fs layer [2021-05-13T08:18:44.069Z] f706445af74f: Pulling fs layer [2021-05-13T08:18:44.069Z] afea3b2eda06: Waiting [2021-05-13T08:18:44.069Z] 7809a108b3ef: Waiting [2021-05-13T08:18:44.069Z] f706445af74f: Waiting [2021-05-13T08:18:44.069Z] 0510c868ecb4: Waiting [2021-05-13T08:18:44.069Z] 4c4ab2625f07: Verifying Checksum [2021-05-13T08:18:44.069Z] 4c4ab2625f07: Download complete [2021-05-13T08:18:44.069Z] adcc1eea9eea: Verifying Checksum [2021-05-13T08:18:44.069Z] adcc1eea9eea: Download complete [2021-05-13T08:18:44.069Z] afea3b2eda06: Verifying Checksum [2021-05-13T08:18:44.069Z] afea3b2eda06: Download complete [2021-05-13T08:18:44.069Z] 7809a108b3ef: Verifying Checksum [2021-05-13T08:18:44.069Z] 7809a108b3ef: Download complete [2021-05-13T08:18:44.334Z] 540db60ca938: Verifying Checksum [2021-05-13T08:18:44.334Z] 540db60ca938: Download complete [2021-05-13T08:18:44.608Z] 540db60ca938: Pull complete [2021-05-13T08:18:44.940Z] adcc1eea9eea: Pull complete [2021-05-13T08:18:45.593Z] 4c4ab2625f07: Pull complete [2021-05-13T08:18:46.565Z] f706445af74f: Verifying Checksum [2021-05-13T08:18:46.565Z] f706445af74f: Download complete [2021-05-13T08:18:47.564Z] 0510c868ecb4: Verifying Checksum [2021-05-13T08:18:47.564Z] 0510c868ecb4: Download complete [2021-05-13T08:19:03.425Z] 0510c868ecb4: Pull complete [2021-05-13T08:19:03.425Z] afea3b2eda06: Pull complete [2021-05-13T08:19:03.425Z] 7809a108b3ef: Pull complete [2021-05-13T08:19:11.904Z] f706445af74f: Pull complete [2021-05-13T08:19:11.904Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-13T08:19:11.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-13T08:19:11.904Z] ---> b068be0155e3 [2021-05-13T08:19:11.904Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T08:19:11.904Z] ---> Running in 144c2ccf70ae [2021-05-13T08:19:11.904Z] Removing intermediate container 144c2ccf70ae [2021-05-13T08:19:11.904Z] ---> 3612e7c830e8 [2021-05-13T08:19:11.904Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T08:19:11.904Z] ---> Running in 23636ba397bf [2021-05-13T08:19:13.437Z] Removing intermediate container 23636ba397bf [2021-05-13T08:19:13.437Z] ---> a0ffd7916538 [2021-05-13T08:19:13.437Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-13T08:19:13.437Z] ---> Running in 96398d04a307 [2021-05-13T08:19:14.018Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-13T08:19:14.971Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-13T08:19:15.548Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-13T08:19:15.813Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-13T08:19:16.077Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-13T08:19:16.077Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-13T08:19:16.077Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-13T08:19:16.340Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-13T08:19:16.607Z] Executing busybox-1.32.1-r6.trigger [2021-05-13T08:19:16.607Z] OK: 150 MiB in 46 packages [2021-05-13T08:19:17.205Z] Removing intermediate container 96398d04a307 [2021-05-13T08:19:17.205Z] ---> e52bec3aabd4 [2021-05-13T08:19:17.205Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-13T08:19:17.477Z] ---> Running in b56cad22b682 [2021-05-13T08:19:17.477Z] Removing intermediate container b56cad22b682 [2021-05-13T08:19:17.477Z] ---> 3a47bbd24830 [2021-05-13T08:19:17.477Z] Step 7/8 : COPY . . [2021-05-13T08:19:18.919Z] ---> 4095ad3dafda [2021-05-13T08:19:18.919Z] Step 8/8 : RUN go mod download [2021-05-13T08:19:18.919Z] ---> Running in 9eb0d854bf6f [2021-05-13T08:19:38.209Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5073 in /w/workspace/dgexfoundry_device-sdk-go_PR-923 [Pipeline] { [Pipeline] ws [2021-05-13T08:19:38.231Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-05-13T08:19:44.194Z] using credential edgex-jenkins-ssh [2021-05-13T08:19:44.287Z] Cloning the remote Git repository [2021-05-13T08:19:44.357Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T08:19:44.548Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-05-13T08:19:44.626Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T08:19:44.627Z] > git --version # timeout=10 [2021-05-13T08:19:44.650Z] > git --version # 'git version 2.17.1' [2021-05-13T08:19:44.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T08:19:44.706Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T08:19:45.994Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T08:19:46.010Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T08:19:46.043Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T08:19:46.628Z] Merging remotes/origin/master commit 759496df5f428c8235f1427b99e1498ca885078c into PR head commit ca61bd3c33f8609be22f5d90c9999c193e65cb38 [2021-05-13T08:19:46.838Z] Merge succeeded, producing ca61bd3c33f8609be22f5d90c9999c193e65cb38 [2021-05-13T08:19:46.839Z] Checking out Revision ca61bd3c33f8609be22f5d90c9999c193e65cb38 (PR-923) [2021-05-13T08:19:46.078Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T08:19:46.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T08:19:46.090Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/923/head:refs/remotes/origin/PR-923 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-13T08:19:46.643Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T08:19:46.655Z] > git checkout -f ca61bd3c33f8609be22f5d90c9999c193e65cb38 # timeout=10 [2021-05-13T08:19:46.755Z] > git remote # timeout=10 [2021-05-13T08:19:46.773Z] > git config --get remote.origin.url # timeout=10 [2021-05-13T08:19:46.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T08:19:46.798Z] > git merge 759496df5f428c8235f1427b99e1498ca885078c # timeout=10 [2021-05-13T08:19:46.821Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-13T08:19:46.846Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T08:19:46.862Z] > git checkout -f ca61bd3c33f8609be22f5d90c9999c193e65cb38 # timeout=10 [2021-05-13T08:19:51.356Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T08:19:52.767Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-13T08:19:53.203Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-13T08:19:53.553Z] + sudo service docker restart [2021-05-13T08:19:53.553Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T08:19:56.222Z] provisioning config files... [2021-05-13T08:19:56.261Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5783380902712864078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:19:56.643Z] ---> docker-login.sh [2021-05-13T08:19:56.643Z] nexus3.edgexfoundry.org:10001 [2021-05-13T08:19:57.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:19:57.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:19:57.907Z] Configure a credential helper to remove this warning. See [2021-05-13T08:19:57.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:19:57.907Z] [2021-05-13T08:19:57.907Z] Login Succeeded [2021-05-13T08:19:57.907Z] nexus3.edgexfoundry.org:10002 [2021-05-13T08:19:58.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:19:58.361Z] Removing intermediate container 9eb0d854bf6f [2021-05-13T08:19:58.361Z] ---> 818162101937 [2021-05-13T08:19:58.361Z] Successfully built 818162101937 [2021-05-13T08:19:58.361Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:19:58.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:19:58.460Z] Configure a credential helper to remove this warning. See [2021-05-13T08:19:58.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:19:58.460Z] [2021-05-13T08:19:58.460Z] Login Succeeded [2021-05-13T08:19:58.460Z] nexus3.edgexfoundry.org:10003 [2021-05-13T08:19:58.729Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-13T08:19:58.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:19:59.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:19:59.010Z] Configure a credential helper to remove this warning. See [2021-05-13T08:19:59.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:19:59.010Z] [2021-05-13T08:19:59.010Z] Login Succeeded [2021-05-13T08:19:59.010Z] nexus3.edgexfoundry.org:10004 [2021-05-13T08:19:59.010Z] . [Pipeline] withDockerContainer [2021-05-13T08:19:59.191Z] prd-centos7-docker-4c-2g-5067 does not seem to be running inside a container [2021-05-13T08:19:59.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-13T08:19:59.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:19:59.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:19:59.563Z] Configure a credential helper to remove this warning. See [2021-05-13T08:19:59.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:19:59.563Z] [2021-05-13T08:19:59.563Z] Login Succeeded [2021-05-13T08:19:59.563Z] docker.io [2021-05-13T08:19:59.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:20:00.302Z] $ docker top e3091b4d11cc298e96a7152f1b64ea00897898fe03c160bb06c341af7ac57ce6 -eo pid,comm [2021-05-13T08:20:00.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:20:00.432Z] Configure a credential helper to remove this warning. See [2021-05-13T08:20:00.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:20:00.432Z] [2021-05-13T08:20:00.432Z] Login Succeeded [2021-05-13T08:20:00.432Z] ---> docker-login.sh ends [Pipeline] { [Pipeline] } [2021-05-13T08:20:00.531Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-13T08:20:00.840Z] + go version [2021-05-13T08:20:00.840Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-13T08:20:00.853Z] $ docker stop --time=1 e3091b4d11cc298e96a7152f1b64ea00897898fe03c160bb06c341af7ac57ce6 [2021-05-13T08:20:02.280Z] $ docker rm -f e3091b4d11cc298e96a7152f1b64ea00897898fe03c160bb06c341af7ac57ce6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo [2021-05-13T08:20:02.543Z] ========================================================= [2021-05-13T08:20:02.543Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-13T08:20:02.543Z] ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:20:02.903Z] + 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-13T08:20:03.052Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-13T08:20:03.052Z] . [Pipeline] withDockerContainer [2021-05-13T08:20:03.501Z] prd-centos7-docker-4c-2g-5067 does not seem to be running inside a container [2021-05-13T08:20:03.507Z] Sending build context to Docker daemon 2.563MB [2021-05-13T08:20:03.507Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T08:20:03.507Z] Step 2/8 : FROM ${BASE} [2021-05-13T08:20:03.507Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-13T08:20:03.507Z] 595b0fe564bb: Pulling fs layer [2021-05-13T08:20:03.507Z] 7186ed65a4f7: Pulling fs layer [2021-05-13T08:20:03.507Z] 316046926c0a: Pulling fs layer [2021-05-13T08:20:03.507Z] 4ebd0625c992: Pulling fs layer [2021-05-13T08:20:03.507Z] 207e8628e3a3: Pulling fs layer [2021-05-13T08:20:03.507Z] c791037a9be2: Pulling fs layer [2021-05-13T08:20:03.507Z] ffd874e62e21: Pulling fs layer [2021-05-13T08:20:03.507Z] 207e8628e3a3: Waiting [2021-05-13T08:20:03.507Z] c791037a9be2: Waiting [2021-05-13T08:20:03.507Z] ffd874e62e21: Waiting [2021-05-13T08:20:03.507Z] 4ebd0625c992: Waiting [2021-05-13T08:20:03.507Z] 316046926c0a: Verifying Checksum [2021-05-13T08:20:03.507Z] 316046926c0a: Download complete [2021-05-13T08:20:03.507Z] 7186ed65a4f7: Verifying Checksum [2021-05-13T08:20:03.507Z] 7186ed65a4f7: Download complete [2021-05-13T08:20:03.507Z] 207e8628e3a3: Verifying Checksum [2021-05-13T08:20:03.507Z] c791037a9be2: Verifying Checksum [2021-05-13T08:20:03.507Z] c791037a9be2: Download complete [2021-05-13T08:20:03.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-13T08:20:03.784Z] 595b0fe564bb: Verifying Checksum [2021-05-13T08:20:03.784Z] 595b0fe564bb: Download complete [2021-05-13T08:20:04.388Z] 595b0fe564bb: Pull complete [2021-05-13T08:20:04.729Z] $ docker top e6664be1a7dd4b9cfedb321341fca75f19f3f9a2292cc397544d88c870a76195 -eo pid,comm [2021-05-13T08:20:04.990Z] 7186ed65a4f7: Pull complete [Pipeline] { [Pipeline] sh [2021-05-13T08:20:05.267Z] 316046926c0a: Pull complete [2021-05-13T08:20:05.524Z] + go mod tidy [Pipeline] sh [2021-05-13T08:20:06.261Z] ffd874e62e21: Verifying Checksum [2021-05-13T08:20:06.261Z] ffd874e62e21: Download complete [2021-05-13T08:20:06.437Z] + make test [2021-05-13T08:20:06.719Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-13T08:20:07.709Z] 4ebd0625c992: Verifying Checksum [2021-05-13T08:20:07.709Z] 4ebd0625c992: Download complete [2021-05-13T08:20:17.886Z] 4ebd0625c992: Pull complete [2021-05-13T08:20:17.886Z] 207e8628e3a3: Pull complete [2021-05-13T08:20:18.482Z] c791037a9be2: Pull complete [2021-05-13T08:20:21.885Z] ffd874e62e21: Pull complete [2021-05-13T08:20:21.885Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-13T08:20:21.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-13T08:20:21.885Z] ---> cfc18b08335c [2021-05-13T08:20:21.885Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T08:20:22.280Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-13T08:20:24.513Z] ---> Running in 799b18f3ae77 [2021-05-13T08:20:25.115Z] Removing intermediate container 799b18f3ae77 [2021-05-13T08:20:25.115Z] ---> ae32a482ec58 [2021-05-13T08:20:25.115Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T08:20:25.115Z] ---> Running in 83265cc6b99d [2021-05-13T08:20:27.770Z] Removing intermediate container 83265cc6b99d [2021-05-13T08:20:27.770Z] ---> 5bc371933922 [2021-05-13T08:20:27.770Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-13T08:20:27.770Z] ---> Running in 7063fb54acf1 [2021-05-13T08:20:28.751Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-13T08:20:29.739Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-13T08:20:30.717Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-13T08:20:30.717Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-13T08:20:30.992Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-13T08:20:30.993Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-13T08:20:30.993Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-13T08:20:31.267Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-13T08:20:31.267Z] Executing busybox-1.32.1-r6.trigger [2021-05-13T08:20:31.267Z] OK: 139 MiB in 46 packages [2021-05-13T08:20:32.702Z] Removing intermediate container 7063fb54acf1 [2021-05-13T08:20:32.703Z] ---> 04e70fcda7ae [2021-05-13T08:20:32.703Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-13T08:20:32.976Z] ---> Running in a1af8318b684 [2021-05-13T08:20:33.578Z] Removing intermediate container a1af8318b684 [2021-05-13T08:20:33.578Z] ---> 0c231918ebca [2021-05-13T08:20:33.578Z] Step 7/8 : COPY . . [2021-05-13T08:20:35.037Z] ---> 0a2ab22077d3 [2021-05-13T08:20:35.037Z] Step 8/8 : RUN go mod download [2021-05-13T08:20:35.037Z] ---> Running in d0a0474c3d23 [2021-05-13T08:21:01.874Z] Removing intermediate container d0a0474c3d23 [2021-05-13T08:21:01.874Z] ---> 5e4d66cda0dc [2021-05-13T08:21:01.874Z] Successfully built 5e4d66cda0dc [2021-05-13T08:21:01.874Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:21:02.263Z] + docker inspect -f . ci-base-image-arm64 [2021-05-13T08:21:02.263Z] . [Pipeline] withDockerContainer [2021-05-13T08:21:02.554Z] prd-ubuntu18.04-docker-arm64-4c-16g-5073 does not seem to be running inside a container [2021-05-13T08:21:02.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-13T08:21:04.321Z] $ docker top 12ca0c43f85c4c59891959d8ae469169399a4c359e6f1baf427602de959554d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T08:21:05.300Z] + go version [2021-05-13T08:21:05.300Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-13T08:21:05.339Z] $ docker stop --time=1 12ca0c43f85c4c59891959d8ae469169399a4c359e6f1baf427602de959554d0 [2021-05-13T08:21:07.346Z] $ docker rm -f 12ca0c43f85c4c59891959d8ae469169399a4c359e6f1baf427602de959554d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:21:08.073Z] + docker inspect -f . ci-base-image-arm64 [2021-05-13T08:21:08.073Z] . [Pipeline] withDockerContainer [2021-05-13T08:21:08.349Z] prd-ubuntu18.04-docker-arm64-4c-16g-5073 does not seem to be running inside a container [2021-05-13T08:21:08.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-13T08:21:09.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-13T08:21:09.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-13T08:21:09.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-13T08:21:09.973Z] $ docker top fad26c90493fe908db332fa6751bd0e4f9121f9636ed1a8be2a8f475463f8a78 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T08:21:10.943Z] + go mod tidy [Pipeline] sh [2021-05-13T08:21:12.208Z] + make test [2021-05-13T08:21:12.209Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-13T08:21:12.970Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.194s coverage: 25.4% of statements [2021-05-13T08:21:12.970Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-13T08:21:12.970Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.234s coverage: 28.1% of statements [2021-05-13T08:21:12.970Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.262s coverage: 78.9% of statements [2021-05-13T08:21:15.439Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.143s coverage: 10.7% of statements [2021-05-13T08:21:15.439Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-13T08:21:15.439Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-13T08:21:15.439Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-13T08:21:16.950Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.155s coverage: 30.2% of statements [2021-05-13T08:21:16.950Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-13T08:21:17.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.132s coverage: 83.3% of statements [2021-05-13T08:21:17.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-13T08:21:17.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-13T08:21:17.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.152s coverage: 58.4% of statements [2021-05-13T08:21:19.555Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.403s coverage: 89.2% of statements [2021-05-13T08:21:19.555Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-13T08:21:19.555Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.117s coverage: 5.0% of statements [2021-05-13T08:21:19.555Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-13T08:21:19.824Z] GO111MODULE=on go vet ./... [2021-05-13T08:21:39.240Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-13T08:22:08.108Z] gofmt -l . [2021-05-13T08:22:08.108Z] [ "`gofmt -l .`" = "" ] [2021-05-13T08:22:08.108Z] ./bin/test-attribution-txt.sh [2021-05-13T08:22:08.108Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-13T08:22:08.148Z] $ docker stop --time=1 e6664be1a7dd4b9cfedb321341fca75f19f3f9a2292cc397544d88c870a76195 [2021-05-13T08:22:10.423Z] $ docker rm -f e6664be1a7dd4b9cfedb321341fca75f19f3f9a2292cc397544d88c870a76195 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T08:22:11.249Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-13T08:22:11.731Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-13T08:22:12.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-13T08:22:13.036Z] + ls -al . [2021-05-13T08:22:13.036Z] total 212 [2021-05-13T08:22:13.036Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 13 08:22 . [2021-05-13T08:22:13.036Z] drwxrwxr-x. 4 jenkins jenkins 28 May 13 08:18 .. [2021-05-13T08:22:13.036Z] drwxrwxr-x. 2 jenkins jenkins 64 May 13 08:18 bin [2021-05-13T08:22:13.036Z] -rw-r--r--. 1 jenkins jenkins 126002 May 13 08:21 coverage.out [2021-05-13T08:22:13.036Z] -rw-rw-r--. 1 jenkins jenkins 987 May 13 08:18 Dockerfile.build [2021-05-13T08:22:13.036Z] -rw-rw-r--. 1 jenkins jenkins 140 May 13 08:18 .dockerignore [2021-05-13T08:22:13.036Z] drwxrwxr-x. 5 jenkins jenkins 62 May 13 08:18 example [2021-05-13T08:22:13.036Z] drwxrwxr-x. 8 jenkins jenkins 179 May 13 08:18 .git [2021-05-13T08:22:13.036Z] drwxrwxr-x. 2 jenkins jenkins 103 May 13 08:18 .github [2021-05-13T08:22:13.036Z] -rw-rw-r--. 1 jenkins jenkins 138 May 13 08:18 .gitignore [2021-05-13T08:22:13.036Z] -rw-r--r--. 1 jenkins jenkins 575 May 13 08:22 go.mod [2021-05-13T08:22:13.036Z] -rw-r--r--. 1 jenkins jenkins 20499 May 13 08:20 go.sum [2021-05-13T08:22:13.036Z] drwxrwxr-x. 15 jenkins jenkins 224 May 13 08:18 internal [2021-05-13T08:22:13.036Z] -rw-rw-r--. 1 jenkins jenkins 894 May 13 08:18 Jenkinsfile [2021-05-13T08:22:13.036Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 13 08:18 LICENSE [2021-05-13T08:22:13.036Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 13 08:18 Makefile [2021-05-13T08:22:13.036Z] drwxrwxr-x. 4 jenkins jenkins 26 May 13 08:18 openapi [2021-05-13T08:22:13.036Z] drwxrwxr-x. 5 jenkins jenkins 50 May 13 08:18 pkg [2021-05-13T08:22:13.036Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 13 08:18 README.md [2021-05-13T08:22:13.036Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 13 08:18 RELEASE-NOTES.txt [2021-05-13T08:22:13.036Z] drwxrwxr-x. 4 jenkins jenkins 54 May 13 08:18 snap [2021-05-13T08:22:13.036Z] -rw-rw-r--. 1 jenkins jenkins 5 May 13 08:16 VERSION [2021-05-13T08:22:13.036Z] -rw-rw-r--. 1 jenkins jenkins 222 May 13 08:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:22:13.357Z] + 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=ca61bd3c33f8609be22f5d90c9999c193e65cb38 --label arch=amd64 --label version=0.0.0 . [2021-05-13T08:22:13.624Z] Sending build context to Docker daemon 2.691MB [2021-05-13T08:22:13.624Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T08:22:13.624Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-13T08:22:13.624Z] ---> 818162101937 [2021-05-13T08:22:13.624Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-13T08:22:14.203Z] ---> Running in fb1321c9e401 [2021-05-13T08:22:14.467Z] Removing intermediate container fb1321c9e401 [2021-05-13T08:22:14.467Z] ---> 83f86c32c14c [2021-05-13T08:22:14.467Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T08:22:14.467Z] ---> Running in 2fe058b3ae17 [2021-05-13T08:22:14.743Z] Removing intermediate container 2fe058b3ae17 [2021-05-13T08:22:14.743Z] ---> d02c2e4a7510 [2021-05-13T08:22:14.743Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T08:22:14.743Z] ---> Running in 5c9b5d9be124 [2021-05-13T08:22:16.187Z] Removing intermediate container 5c9b5d9be124 [2021-05-13T08:22:16.187Z] ---> f18252fa5eec [2021-05-13T08:22:16.187Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-13T08:22:16.187Z] ---> Running in e475002bd9ae [2021-05-13T08:22:16.767Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-13T08:22:17.343Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-13T08:22:17.937Z] OK: 150 MiB in 46 packages [2021-05-13T08:22:18.890Z] Removing intermediate container e475002bd9ae [2021-05-13T08:22:18.890Z] ---> cc882d51fad1 [2021-05-13T08:22:18.890Z] Step 7/23 : COPY . . [2021-05-13T08:22:19.846Z] ---> f35b6b4f0342 [2021-05-13T08:22:19.846Z] Step 8/23 : RUN go mod download [2021-05-13T08:22:20.139Z] ---> Running in 294d1b68d86a [2021-05-13T08:22:22.481Z] Removing intermediate container 294d1b68d86a [2021-05-13T08:22:22.481Z] ---> 3a782251a4d0 [2021-05-13T08:22:22.481Z] Step 9/23 : RUN make build [2021-05-13T08:22:22.481Z] ---> Running in 7698d14a1773 [2021-05-13T08:22:23.134Z] 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-13T08:22:41.685Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-13T08:22:44.309Z] Removing intermediate container 7698d14a1773 [2021-05-13T08:22:44.309Z] ---> fb94488e3e90 [2021-05-13T08:22:44.309Z] Step 10/23 : FROM alpine:3.12 [2021-05-13T08:22:44.309Z] 3.12: Pulling from library/alpine [2021-05-13T08:22:44.309Z] 339de151aab4: Pulling fs layer [2021-05-13T08:22:44.575Z] 339de151aab4: Download complete [2021-05-13T08:22:45.160Z] 339de151aab4: Pull complete [2021-05-13T08:22:45.160Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-13T08:22:45.160Z] Status: Downloaded newer image for alpine:3.12 [2021-05-13T08:22:45.160Z] ---> 13621d1b12d4 [2021-05-13T08:22:45.160Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T08:22:45.160Z] ---> Running in 319ede743185 [2021-05-13T08:22:45.434Z] Removing intermediate container 319ede743185 [2021-05-13T08:22:45.434Z] ---> e62df7578f01 [2021-05-13T08:22:45.434Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T08:22:45.434Z] ---> Running in 478947aef0ac [2021-05-13T08:22:46.860Z] Removing intermediate container 478947aef0ac [2021-05-13T08:22:46.860Z] ---> a0edf02e10fd [2021-05-13T08:22:46.860Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-13T08:22:46.860Z] ---> Running in e4853374f7fd [2021-05-13T08:22:47.135Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-13T08:22:47.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-13T08:22:47.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-13T08:22:47.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-13T08:22:48.090Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-13T08:22:48.360Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-13T08:22:48.360Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-13T08:22:48.624Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-13T08:22:49.588Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-13T08:22:49.588Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-13T08:22:49.588Z] Executing busybox-1.31.1-r20.trigger [2021-05-13T08:22:49.588Z] OK: 8 MiB in 19 packages [2021-05-13T08:22:50.567Z] Removing intermediate container e4853374f7fd [2021-05-13T08:22:50.567Z] ---> bdbcbd37adcf [2021-05-13T08:22:50.567Z] Step 14/23 : WORKDIR / [2021-05-13T08:22:50.567Z] ---> Running in 280d810a5e67 [2021-05-13T08:22:50.567Z] Removing intermediate container 280d810a5e67 [2021-05-13T08:22:50.567Z] ---> 34a26e3d08a9 [2021-05-13T08:22:50.567Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-13T08:22:50.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.200s coverage: 25.4% of statements [2021-05-13T08:22:50.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-13T08:22:50.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.138s coverage: 28.1% of statements [2021-05-13T08:22:50.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.170s coverage: 78.9% of statements [2021-05-13T08:22:50.733Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.136s coverage: 10.7% of statements [2021-05-13T08:22:50.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-13T08:22:50.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-13T08:22:50.733Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-13T08:22:51.565Z] ---> a1c2b27d3f4b [2021-05-13T08:22:51.565Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-13T08:22:52.148Z] ---> afbcca881ad2 [2021-05-13T08:22:52.148Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-13T08:22:52.425Z] ---> 4d0dee80efb7 [2021-05-13T08:22:52.425Z] Step 18/23 : EXPOSE 49990 [2021-05-13T08:22:52.721Z] ---> Running in 5a218d13f29f [2021-05-13T08:22:52.995Z] Removing intermediate container 5a218d13f29f [2021-05-13T08:22:52.996Z] ---> cbec4577684c [2021-05-13T08:22:52.996Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-13T08:22:52.996Z] ---> Running in 3c55d498ef61 [2021-05-13T08:22:53.263Z] Removing intermediate container 3c55d498ef61 [2021-05-13T08:22:53.263Z] ---> a88d92a7d161 [2021-05-13T08:22:53.263Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-13T08:22:53.541Z] ---> Running in 3298befdb383 [2021-05-13T08:22:53.820Z] Removing intermediate container 3298befdb383 [2021-05-13T08:22:53.820Z] ---> 0b01a1328f62 [2021-05-13T08:22:53.820Z] Step 21/23 : LABEL arch=amd64 [2021-05-13T08:22:53.820Z] ---> Running in 9c2494d4b9f0 [2021-05-13T08:22:54.108Z] Removing intermediate container 9c2494d4b9f0 [2021-05-13T08:22:54.108Z] ---> 7d16d84c13ef [2021-05-13T08:22:54.108Z] Step 22/23 : LABEL git_sha=ca61bd3c33f8609be22f5d90c9999c193e65cb38 [2021-05-13T08:22:54.108Z] ---> Running in 3247aa06825d [2021-05-13T08:22:54.166Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.218s coverage: 30.2% of statements [2021-05-13T08:22:54.166Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-13T08:22:54.375Z] Removing intermediate container 3247aa06825d [2021-05-13T08:22:54.375Z] ---> 9dac4dfbfd5e [2021-05-13T08:22:54.375Z] Step 23/23 : LABEL version=0.0.0 [2021-05-13T08:22:54.375Z] ---> Running in f0b55df3c4e5 [2021-05-13T08:22:54.647Z] Removing intermediate container f0b55df3c4e5 [2021-05-13T08:22:54.647Z] ---> cda4f155769a [2021-05-13T08:22:54.647Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-13T08:22:54.647Z] Successfully built cda4f155769a [2021-05-13T08:22:54.647Z] 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-13T08:22:55.234Z] ---> job-cost.sh [2021-05-13T08:22:55.234Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sSUT [2021-05-13T08:22:56.165Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.165s coverage: 83.3% of statements [2021-05-13T08:22:56.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-13T08:22:56.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-13T08:22:56.165Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.396s coverage: 58.4% of statements [2021-05-13T08:22:57.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.089s coverage: 89.2% of statements [2021-05-13T08:22:57.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-13T08:22:58.150Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.0% of statements [2021-05-13T08:22:58.150Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-13T08:22:58.745Z] GO111MODULE=on go vet ./... [2021-05-13T08:23:22.071Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-13T08:23:55.324Z] gofmt -l . [2021-05-13T08:23:55.324Z] [ "`gofmt -l .`" = "" ] [2021-05-13T08:23:55.324Z] ./bin/test-attribution-txt.sh [2021-05-13T08:23:57.309Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-13T08:23:57.610Z] $ docker stop --time=1 fad26c90493fe908db332fa6751bd0e4f9121f9636ed1a8be2a8f475463f8a78 [2021-05-13T08:23:59.939Z] $ docker rm -f fad26c90493fe908db332fa6751bd0e4f9121f9636ed1a8be2a8f475463f8a78 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T08:24:01.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-13T08:24:01.096Z] Warning: overwriting stash ‘coverage-report’ [2021-05-13T08:24:01.280Z] lf-activate-venv(): INFO: Adding /tmp/venv-sSUT/bin to PATH [2021-05-13T08:24:01.280Z] INFO: No Stack... [2021-05-13T08:24:01.280Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-13T08:24:01.280Z] INFO: Archiving Costs [Pipeline] sh [2021-05-13T08:24:01.628Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-05-13T08:24:01.628Z] + cut -d, -f6 [Pipeline] lock [2021-05-13T08:24:01.743Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-923-5-stack-cost] [2021-05-13T08:24:01.760Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-923-5-stack-cost] did not exist. Created. [2021-05-13T08:24:01.760Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-923-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-13T08:24:02.134Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-13T08:24:02.175Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T08:24:02.368Z] Stashed 1 file(s) [Pipeline] } [2021-05-13T08:24:02.431Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-923-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-13T08:24:02.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-13T08:24:03.018Z] + ls -al . [2021-05-13T08:24:03.018Z] total 248 [2021-05-13T08:24:03.018Z] drwxrwxr-x 10 jenkins jenkins 4096 May 13 08:23 . [2021-05-13T08:24:03.018Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:19 .. [2021-05-13T08:24:03.018Z] -rw-rw-r-- 1 jenkins jenkins 140 May 13 08:19 .dockerignore [2021-05-13T08:24:03.018Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 08:19 .git [2021-05-13T08:24:03.018Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 08:19 .github [2021-05-13T08:24:03.018Z] -rw-rw-r-- 1 jenkins jenkins 138 May 13 08:19 .gitignore [2021-05-13T08:24:03.018Z] -rw-rw-r-- 1 jenkins jenkins 987 May 13 08:19 Dockerfile.build [2021-05-13T08:24:03.018Z] -rw-rw-r-- 1 jenkins jenkins 894 May 13 08:19 Jenkinsfile [2021-05-13T08:24:03.018Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 13 08:19 LICENSE [2021-05-13T08:24:03.018Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 13 08:19 Makefile [2021-05-13T08:24:03.018Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 13 08:19 README.md [2021-05-13T08:24:03.018Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 13 08:19 RELEASE-NOTES.txt [2021-05-13T08:24:03.018Z] -rw-rw-r-- 1 jenkins jenkins 5 May 13 08:16 VERSION [2021-05-13T08:24:03.018Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 08:19 bin [2021-05-13T08:24:03.018Z] -rw-r--r-- 1 jenkins jenkins 126002 May 13 08:22 coverage.out [2021-05-13T08:24:03.018Z] drwxrwxr-x 5 jenkins jenkins 4096 May 13 08:19 example [2021-05-13T08:24:03.018Z] -rw-r--r-- 1 jenkins jenkins 575 May 13 08:23 go.mod [2021-05-13T08:24:03.018Z] -rw-r--r-- 1 jenkins jenkins 20499 May 13 08:21 go.sum [2021-05-13T08:24:03.018Z] drwxrwxr-x 15 jenkins jenkins 4096 May 13 08:19 internal [2021-05-13T08:24:03.018Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:19 openapi [2021-05-13T08:24:03.018Z] drwxrwxr-x 5 jenkins jenkins 4096 May 13 08:19 pkg [2021-05-13T08:24:03.018Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:19 snap [2021-05-13T08:24:03.018Z] -rw-rw-r-- 1 jenkins jenkins 222 May 13 08:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:24:03.371Z] + 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=ca61bd3c33f8609be22f5d90c9999c193e65cb38 --label arch=arm64 --label version=0.0.0 . [2021-05-13T08:24:03.970Z] Sending build context to Docker daemon 2.69MB [2021-05-13T08:24:03.970Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T08:24:03.970Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-13T08:24:03.970Z] ---> 5e4d66cda0dc [2021-05-13T08:24:03.970Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-13T08:24:04.247Z] ---> Running in 3620655e084a [2021-05-13T08:24:04.841Z] Removing intermediate container 3620655e084a [2021-05-13T08:24:04.841Z] ---> 8ccce0e678e3 [2021-05-13T08:24:04.841Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T08:24:04.841Z] ---> Running in e1c1d6f40cf3 [2021-05-13T08:24:05.433Z] Removing intermediate container e1c1d6f40cf3 [2021-05-13T08:24:05.433Z] ---> 635d01129752 [2021-05-13T08:24:05.433Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T08:24:05.433Z] ---> Running in 1d2ede10baf7 [2021-05-13T08:24:07.404Z] Removing intermediate container 1d2ede10baf7 [2021-05-13T08:24:07.404Z] ---> aab2dc06e609 [2021-05-13T08:24:07.404Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-13T08:24:07.675Z] ---> Running in d59b1224fc5c [2021-05-13T08:24:08.660Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-13T08:24:09.629Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-13T08:24:11.064Z] OK: 139 MiB in 46 packages [2021-05-13T08:24:12.041Z] Removing intermediate container d59b1224fc5c [2021-05-13T08:24:12.041Z] ---> 7f1d47656b41 [2021-05-13T08:24:12.041Z] Step 7/23 : COPY . . [2021-05-13T08:24:13.767Z] ---> 1c4f08e97d84 [2021-05-13T08:24:13.767Z] Step 8/23 : RUN go mod download [2021-05-13T08:24:13.767Z] ---> Running in a5b89a16207a [2021-05-13T08:24:15.775Z] Removing intermediate container a5b89a16207a [2021-05-13T08:24:15.775Z] ---> 2b40dbd05f1c [2021-05-13T08:24:15.775Z] Step 9/23 : RUN make build [2021-05-13T08:24:16.052Z] ---> Running in 6c56b283a0bb [2021-05-13T08:24:17.042Z] 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-13T08:24:49.450Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-13T08:24:52.829Z] Removing intermediate container 6c56b283a0bb [2021-05-13T08:24:52.829Z] ---> fb5a222fd538 [2021-05-13T08:24:52.829Z] Step 10/23 : FROM alpine:3.12 [2021-05-13T08:24:52.829Z] 3.12: Pulling from library/alpine [2021-05-13T08:24:52.829Z] d2f70382dc9a: Pulling fs layer [2021-05-13T08:24:53.101Z] d2f70382dc9a: Download complete [2021-05-13T08:24:53.697Z] d2f70382dc9a: Pull complete [2021-05-13T08:24:53.697Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-13T08:24:53.697Z] Status: Downloaded newer image for alpine:3.12 [2021-05-13T08:24:53.697Z] ---> 9852663dfa18 [2021-05-13T08:24:53.697Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T08:24:53.971Z] ---> Running in 8d2960b9e80b [2021-05-13T08:24:54.565Z] Removing intermediate container 8d2960b9e80b [2021-05-13T08:24:54.565Z] ---> 5beb59ac7327 [2021-05-13T08:24:54.565Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T08:24:54.565Z] ---> Running in 384df4973ea8 [2021-05-13T08:24:56.529Z] Removing intermediate container 384df4973ea8 [2021-05-13T08:24:56.529Z] ---> 0d39c6dcfcfc [2021-05-13T08:24:56.529Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-13T08:24:56.801Z] ---> Running in 3fd5b8006481 [2021-05-13T08:24:57.798Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-13T08:24:58.767Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-13T08:24:59.371Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-13T08:24:59.642Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-13T08:24:59.642Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-13T08:25:00.238Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-13T08:25:00.238Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-13T08:25:00.238Z] Executing busybox-1.31.1-r20.trigger [2021-05-13T08:25:00.238Z] OK: 8 MiB in 19 packages [2021-05-13T08:25:01.669Z] Removing intermediate container 3fd5b8006481 [2021-05-13T08:25:01.669Z] ---> 781f9f43aea4 [2021-05-13T08:25:01.669Z] Step 14/23 : WORKDIR / [2021-05-13T08:25:01.669Z] ---> Running in 569a812e32f3 [2021-05-13T08:25:02.266Z] Removing intermediate container 569a812e32f3 [2021-05-13T08:25:02.266Z] ---> 5b69e36b4a69 [2021-05-13T08:25:02.266Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-13T08:25:03.242Z] ---> bf62ca9244f0 [2021-05-13T08:25:03.242Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-13T08:25:04.231Z] ---> ba8710756674 [2021-05-13T08:25:04.231Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-13T08:25:05.209Z] ---> 84d25bccd14e [2021-05-13T08:25:05.209Z] Step 18/23 : EXPOSE 49990 [2021-05-13T08:25:05.209Z] ---> Running in 519309169fe8 [2021-05-13T08:25:05.480Z] Removing intermediate container 519309169fe8 [2021-05-13T08:25:05.480Z] ---> 06d0dba2e7ea [2021-05-13T08:25:05.480Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-13T08:25:05.752Z] ---> Running in 5efcfd54d00d [2021-05-13T08:25:06.026Z] Removing intermediate container 5efcfd54d00d [2021-05-13T08:25:06.026Z] ---> 3a1cd9e05602 [2021-05-13T08:25:06.026Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-13T08:25:06.299Z] ---> Running in 11a50c19b1e4 [2021-05-13T08:25:06.894Z] Removing intermediate container 11a50c19b1e4 [2021-05-13T08:25:06.894Z] ---> 1206aeb79a90 [2021-05-13T08:25:06.894Z] Step 21/23 : LABEL arch=arm64 [2021-05-13T08:25:06.894Z] ---> Running in fe0cbb34f4eb [2021-05-13T08:25:07.176Z] Removing intermediate container fe0cbb34f4eb [2021-05-13T08:25:07.176Z] ---> 7ace5de0a3b6 [2021-05-13T08:25:07.176Z] Step 22/23 : LABEL git_sha=ca61bd3c33f8609be22f5d90c9999c193e65cb38 [2021-05-13T08:25:07.448Z] ---> Running in 84ee220caba6 [2021-05-13T08:25:08.041Z] Removing intermediate container 84ee220caba6 [2021-05-13T08:25:08.041Z] ---> 61386947453e [2021-05-13T08:25:08.041Z] Step 23/23 : LABEL version=0.0.0 [2021-05-13T08:25:08.041Z] ---> Running in 6fb367ef4c59 [2021-05-13T08:25:08.635Z] Removing intermediate container 6fb367ef4c59 [2021-05-13T08:25:08.635Z] ---> 3e48c73b6747 [2021-05-13T08:25:08.635Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-13T08:25:08.635Z] Successfully built 3e48c73b6747 [2021-05-13T08:25:08.635Z] 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-13T08:25:09.106Z] ---> job-cost.sh [2021-05-13T08:25:09.107Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-XZCG [2021-05-13T08:25:48.069Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-13T08:27:24.801Z] lf-activate-venv(): INFO: Adding /tmp/venv-XZCG/bin to PATH [2021-05-13T08:27:24.801Z] INFO: No Stack... [2021-05-13T08:27:24.801Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-13T08:27:24.801Z] INFO: Archiving Costs [Pipeline] sh [2021-05-13T08:27:25.138Z] + cut -d, -f6 [2021-05-13T08:27:25.139Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock [2021-05-13T08:27:25.252Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-923-5-stack-cost] [2021-05-13T08:27:25.259Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-923-5-stack-cost] did not exist. Created. [2021-05-13T08:27:25.260Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-923-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-13T08:27:25.634Z] /w/workspace/device-sdk-go/5@tmp/durable-b76283da/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-b76283da/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-13T08:27:26.001Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-13T08:27:26.032Z] Warning: overwriting stash ‘stack-cost’ [2021-05-13T08:27:26.186Z] Stashed 1 file(s) [Pipeline] } [2021-05-13T08:27:26.205Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-923-5-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-13T08:27:26.995Z] provisioning config files... [2021-05-13T08:27:27.006Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/config7200679650097742844tmp [Pipeline] { [Pipeline] sh [2021-05-13T08:27:27.344Z] + set +x [2021-05-13T08:27:27.344Z] + curl -s https://codecov.io/bash [2021-05-13T08:27:27.344Z] + bash -s -- [2021-05-13T08:27:27.608Z] [2021-05-13T08:27:27.608Z] _____ _ [2021-05-13T08:27:27.608Z] / ____| | | [2021-05-13T08:27:27.608Z] | | ___ __| | ___ ___ _____ __ [2021-05-13T08:27:27.608Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-13T08:27:27.608Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-13T08:27:27.608Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-13T08:27:27.608Z] Bash-1.0.2 [2021-05-13T08:27:27.608Z] [2021-05-13T08:27:27.608Z] [2021-05-13T08:27:27.608Z] ==> git version 2.24.3 found [2021-05-13T08:27:27.608Z] ==> 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-13T08:27:27.608Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-13T08:27:27.608Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-13T08:27:27.608Z] ==> Jenkins CI detected. [2021-05-13T08:27:27.608Z] project root: . [2021-05-13T08:27:27.608Z] --> token set from env [2021-05-13T08:27:27.608Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-13T08:27:27.608Z] ==> Running gcov in . (disable via -X gcov) [2021-05-13T08:27:27.608Z] ==> Python coveragepy not found [2021-05-13T08:27:27.608Z] ==> Searching for coverage reports in: [2021-05-13T08:27:27.608Z] + . [2021-05-13T08:27:27.608Z] -> Found 1 reports [2021-05-13T08:27:27.608Z] ==> Detecting git/mercurial file structure [2021-05-13T08:27:27.608Z] ==> Reading reports [2021-05-13T08:27:27.608Z] + ./coverage.out bytes=126002 [2021-05-13T08:27:27.608Z] ==> Appending adjustments [2021-05-13T08:27:27.608Z] https://docs.codecov.io/docs/fixing-reports [2021-05-13T08:27:28.186Z] + Found adjustments [2021-05-13T08:27:28.186Z] ==> Gzipping contents [2021-05-13T08:27:28.187Z] 20K /tmp/codecov.iZGwou.gz [2021-05-13T08:27:28.187Z] ==> Uploading reports [2021-05-13T08:27:28.187Z] url: https://codecov.io [2021-05-13T08:27:28.187Z] query: branch=PR-923&commit=ca61bd3c33f8609be22f5d90c9999c193e65cb38&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-923%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=923&job=&cmd_args= [2021-05-13T08:27:28.187Z] -> Pinging Codecov [2021-05-13T08:27:28.187Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-923&commit=ca61bd3c33f8609be22f5d90c9999c193e65cb38&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-923%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=923&job=&cmd_args= [2021-05-13T08:27:28.450Z] -> Uploading to [2021-05-13T08:27:28.450Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-13/7E55EF52A471D76F132DFD9A03CDDE97/ca61bd3c33f8609be22f5d90c9999c193e65cb38/92454a50-12af-463a-a6ff-704f5ccd96d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210513T082728Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7bc686b223bd5b30165af1055e5cc11dabe74abda3f83d600ea766bbb42e82c3 [2021-05-13T08:27:28.450Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-13T08:27:28.450Z] Dload Upload Total Spent Left Speed [2021-05-13T08:27:28.980Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16481 0 0 100 16481 0 29310 --:--:-- --:--:-- --:--:-- 29273 [2021-05-13T08:27:29.245Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ca61bd3c33f8609be22f5d90c9999c193e65cb38 [Pipeline] } [2021-05-13T08:27:29.258Z] 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-13T08:27:30.415Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:27:31.488Z] ---> package-listing.sh [2021-05-13T08:27:31.488Z] ++ facter osfamily [2021-05-13T08:27:31.488Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-13T08:27:31.488Z] + OS_FAMILY=redhat [2021-05-13T08:27:31.488Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-923 [2021-05-13T08:27:31.488Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-13T08:27:31.488Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-13T08:27:31.488Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-13T08:27:31.488Z] + PACKAGES=/tmp/packages_start.txt [2021-05-13T08:27:31.488Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-923 ']' [2021-05-13T08:27:31.488Z] + PACKAGES=/tmp/packages_end.txt [2021-05-13T08:27:31.488Z] + case "${OS_FAMILY}" in [2021-05-13T08:27:31.488Z] + rpm -qa [2021-05-13T08:27:31.488Z] + sort [2021-05-13T08:27:38.249Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-13T08:27:38.249Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-13T08:27:38.249Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-13T08:27:38.249Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-923 ']' [2021-05-13T08:27:38.249Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-923/archives/ [2021-05-13T08:27:38.249Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-923/archives/ [Pipeline] echo [2021-05-13T08:27:38.266Z] 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-923/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-13T08:27:38.567Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:27:38.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T08:27:39.168Z] [2021-05-13T08:27:39.168Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:27:39.512Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T08:27:39.512Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-13T08:27:39.512Z] df20fa9351a1: Pulling fs layer [2021-05-13T08:27:39.512Z] 36b3adc4ff6f: Pulling fs layer [2021-05-13T08:27:39.512Z] 8ad3a11d3b57: Pulling fs layer [2021-05-13T08:27:39.512Z] 46f8f816bc3b: Pulling fs layer [2021-05-13T08:27:39.512Z] 93b61091891f: Pulling fs layer [2021-05-13T08:27:39.512Z] 93b9cdb0e59b: Pulling fs layer [2021-05-13T08:27:39.512Z] 5e14af77c1be: Pulling fs layer [2021-05-13T08:27:39.512Z] 01666e4c0597: Pulling fs layer [2021-05-13T08:27:39.512Z] aa168da1d23b: Pulling fs layer [2021-05-13T08:27:39.512Z] 46f8f816bc3b: Waiting [2021-05-13T08:27:39.512Z] 5e14af77c1be: Waiting [2021-05-13T08:27:39.512Z] 01666e4c0597: Waiting [2021-05-13T08:27:39.512Z] aa168da1d23b: Waiting [2021-05-13T08:27:39.512Z] 93b9cdb0e59b: Waiting [2021-05-13T08:27:39.512Z] 36b3adc4ff6f: Verifying Checksum [2021-05-13T08:27:39.512Z] 36b3adc4ff6f: Download complete [2021-05-13T08:27:39.512Z] 46f8f816bc3b: Download complete [2021-05-13T08:27:39.796Z] 93b61091891f: Download complete [2021-05-13T08:27:39.796Z] df20fa9351a1: Download complete [2021-05-13T08:27:39.796Z] 93b9cdb0e59b: Verifying Checksum [2021-05-13T08:27:39.796Z] 93b9cdb0e59b: Download complete [2021-05-13T08:27:39.796Z] 5e14af77c1be: Verifying Checksum [2021-05-13T08:27:39.796Z] 5e14af77c1be: Download complete [2021-05-13T08:27:39.796Z] 01666e4c0597: Verifying Checksum [2021-05-13T08:27:39.796Z] 01666e4c0597: Download complete [2021-05-13T08:27:39.796Z] 8ad3a11d3b57: Verifying Checksum [2021-05-13T08:27:39.796Z] 8ad3a11d3b57: Download complete [2021-05-13T08:27:40.384Z] df20fa9351a1: Pull complete [2021-05-13T08:27:40.384Z] 36b3adc4ff6f: Pull complete [2021-05-13T08:27:41.852Z] 8ad3a11d3b57: Pull complete [2021-05-13T08:27:41.852Z] 46f8f816bc3b: Pull complete [2021-05-13T08:27:42.462Z] aa168da1d23b: Verifying Checksum [2021-05-13T08:27:42.462Z] aa168da1d23b: Download complete [2021-05-13T08:27:42.462Z] 93b61091891f: Pull complete [2021-05-13T08:27:42.462Z] 93b9cdb0e59b: Pull complete [2021-05-13T08:27:42.729Z] 5e14af77c1be: Pull complete [2021-05-13T08:27:42.729Z] 01666e4c0597: Pull complete [2021-05-13T08:27:52.994Z] aa168da1d23b: Pull complete [2021-05-13T08:27:53.278Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-13T08:27:53.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T08:27:53.278Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-13T08:27:53.743Z] prd-centos7-docker-4c-2g-5059 does not seem to be running inside a container [2021-05-13T08:27:53.856Z] $ 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-923/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-923 -v /w/workspace/dgexfoundry_device-sdk-go_PR-923:/w/workspace/dgexfoundry_device-sdk-go_PR-923:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-13T08:27:57.350Z] $ docker top 7f0d7e9b58affd74a539fbee94163ad6936e33704a20472c0819fe90c822f8cf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T08:27:58.593Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-13T08:27:58.914Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-13T08:27:59.276Z] + ls /var/log/sa-host [2021-05-13T08:27:59.276Z] + sadf -c /var/log/sa-host/sa13 [2021-05-13T08:27:59.276Z] file_magic: OK [2021-05-13T08:27:59.276Z] HZ: Using current value: 100 [2021-05-13T08:27:59.276Z] file_header: OK [2021-05-13T08:27:59.276Z] 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-13T08:27:59.276Z] Statistics: [2021-05-13T08:27:59.276Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-13T08:27:59.276Z] File successfully converted to sysstat format version 12.2.1 [2021-05-13T08:27:59.276Z] + sadf -c /var/log/sa-host/sa23 [2021-05-13T08:27:59.276Z] file_magic: OK [2021-05-13T08:27:59.276Z] HZ: Using current value: 100 [2021-05-13T08:27:59.276Z] file_header: OK [2021-05-13T08:27:59.276Z] 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-13T08:27:59.276Z] Statistics: [2021-05-13T08:27:59.276Z] Hnuu...uuuununununu... [2021-05-13T08:27:59.276Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-13T08:27:59.877Z] provisioning config files... [2021-05-13T08:27:59.904Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/config1275977046603574726tmp [Pipeline] { [Pipeline] echo [2021-05-13T08:27:59.928Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:28:00.239Z] ---> create-netrc.sh [Pipeline] } [2021-05-13T08:28:00.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-13T08:28:00.287Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:28:00.622Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-13T08:28:00.634Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:28:00.945Z] ---> sudo-logs.sh [2021-05-13T08:28:00.945Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-13T08:28:00.981Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:28:01.298Z] ---> job-cost.sh [2021-05-13T08:28:01.298Z] lf-activate-venv: SKIPPING [2021-05-13T08:28:01.298Z] DEBUG: total: 0.20999999344348907 [2021-05-13T08:28:01.298Z] INFO: Retrieving Stack Cost... [2021-05-13T08:28:02.760Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-13T08:28:03.031Z] INFO: Archiving Costs [Pipeline] echo [2021-05-13T08:28:03.049Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:28:03.397Z] ---> logs-deploy.sh [2021-05-13T08:28:03.397Z] lf-activate-venv: SKIPPING [2021-05-13T08:28:03.397Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-923/5 [2021-05-13T08:28:03.397Z] INFO: archiving workspace using pattern(s): [2021-05-13T08:28:06.902Z] Archives upload complete. [2021-05-13T08:28:06.902Z] INFO: archiving logs to Nexus