Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f1f8d07c7547b0631bee6ef379e1f335d995aecd+4d2675d668c2f9064e370a810b18e5856622130c (9a0d4a252438aa367895f136f6e3ee7a05b0b15e) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1017 in /w/workspace/dgexfoundry_device-sdk-go_PR-881 [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-881 # 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 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit f1f8d07c7547b0631bee6ef379e1f335d995aecd Merge succeeded, producing 067737c8c3e95bfa56f39aca1e9e747a53cf6a74 Checking out Revision 067737c8c3e95bfa56f39aca1e9e747a53cf6a74 (PR-881) > 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/881/head:refs/remotes/origin/PR-881 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # 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 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 067737c8c3e95bfa56f39aca1e9e747a53cf6a74 # timeout=10 Commit message: "Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk d0a83b780265e8f475c3514d228360d0b089da8f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-19T22:42:36.532Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-19T22:42:36.616Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-19T22:42:36.647Z] ========================================================= [2021-04-19T22:42:36.647Z] EdgeX Global Pipelines Version Info [2021-04-19T22:42:36.647Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:42:38.212Z] ------------------- [2021-04-19T22:42:38.212Z] stable info: [2021-04-19T22:42:38.212Z] ------------------- [2021-04-19T22:42:38.212Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-19T22:42:38.212Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T22:42:38.212Z] Message: update stable to v1.0.186 [2021-04-19T22:42:39.164Z] ------------------- [2021-04-19T22:42:39.164Z] experimental info: [2021-04-19T22:42:39.164Z] ------------------- [2021-04-19T22:42:39.164Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-19T22:42:39.164Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-19T22:42:39.164Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-19T22:42:39.284Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-19T22:42:39.308Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-19T22:42:39.331Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-19T22:42:39.353Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-19T22:42:39.375Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-19T22:42:39.398Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-19T22:42:39.421Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-19T22:42:39.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-19T22:42:39.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-19T22:42:39.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-19T22:42:39.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-19T22:42:39.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-19T22:42:39.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-19T22:42:39.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-19T22:42:39.623Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T22:42:39.646Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T22:42:39.681Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T22:42:39.707Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T22:42:39.731Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-19T22:42:39.754Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-19T22:42:39.777Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-19T22:42:39.800Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-19T22:42:39.824Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-19T22:42:39.849Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-19T22:42:39.872Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-19T22:42:39.897Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-19T22:42:39.920Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-881 [Pipeline] echo [2021-04-19T22:42:39.943Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-881 [Pipeline] echo [2021-04-19T22:42:39.966Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-881 [Pipeline] echo [2021-04-19T22:42:39.990Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 067737c8c3e95bfa56f39aca1e9e747a53cf6a74 [Pipeline] echo [2021-04-19T22:42:40.012Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 067737c [Pipeline] echo [2021-04-19T22:42:40.035Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:42:40.117Z] provisioning config files... [2021-04-19T22:42:40.147Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/config2075024259130624489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:42:40.469Z] ---> docker-login.sh [2021-04-19T22:42:40.469Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:42:40.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:42:40.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:42:40.995Z] Configure a credential helper to remove this warning. See [2021-04-19T22:42:40.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:42:40.995Z] [2021-04-19T22:42:40.995Z] Login Succeeded [2021-04-19T22:42:40.995Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:42:40.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:42:40.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:42:40.995Z] Configure a credential helper to remove this warning. See [2021-04-19T22:42:40.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:42:40.995Z] [2021-04-19T22:42:40.995Z] Login Succeeded [2021-04-19T22:42:40.995Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:42:41.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:42:41.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:42:41.258Z] Configure a credential helper to remove this warning. See [2021-04-19T22:42:41.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:42:41.258Z] [2021-04-19T22:42:41.258Z] Login Succeeded [2021-04-19T22:42:41.258Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:42:41.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:42:41.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:42:41.521Z] Configure a credential helper to remove this warning. See [2021-04-19T22:42:41.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:42:41.521Z] [2021-04-19T22:42:41.521Z] Login Succeeded [2021-04-19T22:42:41.521Z] docker.io [2021-04-19T22:42:41.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:42:41.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:42:41.783Z] Configure a credential helper to remove this warning. See [2021-04-19T22:42:41.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:42:41.783Z] [2021-04-19T22:42:41.783Z] Login Succeeded [2021-04-19T22:42:41.783Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:42:41.793Z] 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-04-19T22:42:42.242Z] + git log --format=format:%s -1 067737c8c3e95bfa56f39aca1e9e747a53cf6a74 [Pipeline] echo [2021-04-19T22:42:42.324Z] GIT_COMMIT: 067737c8c3e95bfa56f39aca1e9e747a53cf6a74, Commit Message: Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD [Pipeline] echo [2021-04-19T22:42:42.394Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:42:42.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:42:42.947Z] [2021-04-19T22:42:42.947Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:42:43.264Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:42:43.265Z] latest: Pulling from edgex-devops/git-semver [2021-04-19T22:42:43.265Z] 31603596830f: Pulling fs layer [2021-04-19T22:42:43.265Z] 2a8b12db71e7: Pulling fs layer [2021-04-19T22:42:43.265Z] 6ca5941a6612: Pulling fs layer [2021-04-19T22:42:43.265Z] ecc8261a40a4: Pulling fs layer [2021-04-19T22:42:43.265Z] ecc8261a40a4: Waiting [2021-04-19T22:42:43.265Z] 2a8b12db71e7: Download complete [2021-04-19T22:42:43.265Z] 31603596830f: Verifying Checksum [2021-04-19T22:42:43.265Z] 31603596830f: Download complete [2021-04-19T22:42:43.531Z] ecc8261a40a4: Verifying Checksum [2021-04-19T22:42:43.531Z] ecc8261a40a4: Download complete [2021-04-19T22:42:43.531Z] 6ca5941a6612: Verifying Checksum [2021-04-19T22:42:43.531Z] 6ca5941a6612: Download complete [2021-04-19T22:42:43.795Z] 31603596830f: Pull complete [2021-04-19T22:42:43.795Z] 2a8b12db71e7: Pull complete [2021-04-19T22:42:44.751Z] 6ca5941a6612: Pull complete [2021-04-19T22:42:45.015Z] ecc8261a40a4: Pull complete [2021-04-19T22:42:45.015Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-19T22:42:45.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:42:45.015Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-19T22:42:45.117Z] prd-centos7-docker-4c-2g-1017 does not seem to be running inside a container [2021-04-19T22:42:45.165Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-881 -v /w/workspace/dgexfoundry_device-sdk-go_PR-881:/w/workspace/dgexfoundry_device-sdk-go_PR-881:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-881@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T22:42:46.993Z] $ docker top 3da2e5a6aa7bc2d792a777559f80886b75cca93b73abcc9ece0c93d13d9caf12 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:42:47.173Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:42:47.174Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:42:47.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:42:47.418Z] $ docker exec 3da2e5a6aa7bc2d792a777559f80886b75cca93b73abcc9ece0c93d13d9caf12 ssh-agent [2021-04-19T22:42:47.587Z] SSH_AUTH_SOCK=/tmp/ssh-efEPsf0sMjr8/agent.12 [2021-04-19T22:42:47.587Z] SSH_AGENT_PID=17 [2021-04-19T22:42:47.597Z] Running ssh-add (command line suppressed) [2021-04-19T22:42:47.715Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_203085144869808063.key (/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_203085144869808063.key) [2021-04-19T22:42:47.769Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:42:48.068Z] + git tag --points-at HEAD [Pipeline] } [2021-04-19T22:42:48.087Z] $ docker exec --env ******** --env ******** 3da2e5a6aa7bc2d792a777559f80886b75cca93b73abcc9ece0c93d13d9caf12 ssh-agent -k [2021-04-19T22:42:48.219Z] unset SSH_AUTH_SOCK; [2021-04-19T22:42:48.220Z] unset SSH_AGENT_PID; [2021-04-19T22:42:48.220Z] echo Agent pid 17 killed; [2021-04-19T22:42:48.267Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-19T22:42:48.318Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:42:48.318Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:42:48.488Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:42:48.493Z] $ docker exec 3da2e5a6aa7bc2d792a777559f80886b75cca93b73abcc9ece0c93d13d9caf12 ssh-agent [2021-04-19T22:42:48.681Z] SSH_AUTH_SOCK=/tmp/ssh-W6rPrxQrCK2O/agent.47 [2021-04-19T22:42:48.681Z] SSH_AGENT_PID=53 [2021-04-19T22:42:48.688Z] Running ssh-add (command line suppressed) [2021-04-19T22:42:48.815Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_1875863689957142659.key (/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_1875863689957142659.key) [2021-04-19T22:42:48.871Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:42:49.172Z] + git semver init [2021-04-19T22:42:49.172Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:42:49.172Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-881/.git [2021-04-19T22:42:49.172Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-881 [2021-04-19T22:42:49.172Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:42:49.172Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:42:49.172Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:42:49.172Z] # $SEMVER_BRANCH = PR-881 [2021-04-19T22:42:49.172Z] # $SEMVER_TEMP = /tmp/semver-798916983 [2021-04-19T22:42:49.172Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-19T22:42:50.117Z] # '/tmp/semver-798916983' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-881/.semver' [2021-04-19T22:42:50.117Z] # -> Force: false [2021-04-19T22:42:50.117Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-881/.semver [Pipeline] } [2021-04-19T22:42:50.131Z] $ docker exec --env ******** --env ******** 3da2e5a6aa7bc2d792a777559f80886b75cca93b73abcc9ece0c93d13d9caf12 ssh-agent -k [2021-04-19T22:42:50.269Z] unset SSH_AUTH_SOCK; [2021-04-19T22:42:50.269Z] unset SSH_AGENT_PID; [2021-04-19T22:42:50.269Z] echo Agent pid 53 killed; [2021-04-19T22:42:50.326Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:42:50.658Z] + git semver [Pipeline] } [2021-04-19T22:42:50.677Z] $ docker stop --time=1 3da2e5a6aa7bc2d792a777559f80886b75cca93b73abcc9ece0c93d13d9caf12 [2021-04-19T22:42:52.390Z] $ docker rm -f 3da2e5a6aa7bc2d792a777559f80886b75cca93b73abcc9ece0c93d13d9caf12 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:42:52.816Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-19T22:42:53.132Z] Stashed 1 file(s) [Pipeline] echo [2021-04-19T22:42:53.135Z] [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-04-19T22:43:08.302Z] Still waiting to schedule task [2021-04-19T22:43:08.302Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-19T22:43:08.305Z] Still waiting to schedule task [2021-04-19T22:43:08.305Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-builder-2c-1g-958’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-1008’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-949’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1015’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1018’ is offline [2021-04-19T22:45:19.699Z] Running on prd-centos7-docker-4c-2g-1024 in /w/workspace/dgexfoundry_device-sdk-go_PR-881 [Pipeline] { [Pipeline] ws [2021-04-19T22:45:19.718Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-19T22:45:22.643Z] using credential edgex-jenkins-ssh [2021-04-19T22:45:22.662Z] Cloning the remote Git repository [2021-04-19T22:45:22.596Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T22:45:22.675Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-19T22:45:22.752Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T22:45:22.752Z] > git --version # timeout=10 [2021-04-19T22:45:22.757Z] > git --version # 'git version 2.24.3' [2021-04-19T22:45:22.758Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:45:22.813Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:45:24.057Z] Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit f1f8d07c7547b0631bee6ef379e1f335d995aecd [2021-04-19T22:45:24.176Z] Merge succeeded, producing b63a0775669a0d8f920084e454cc928d32619faf [2021-04-19T22:45:24.177Z] Checking out Revision b63a0775669a0d8f920084e454cc928d32619faf (PR-881) [2021-04-19T22:45:23.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T22:45:23.651Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:45:23.662Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T22:45:23.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T22:45:23.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:45:23.681Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/881/head:refs/remotes/origin/PR-881 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T22:45:24.066Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:45:24.073Z] > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 [2021-04-19T22:45:24.113Z] > git remote # timeout=10 [2021-04-19T22:45:24.118Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T22:45:24.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:45:24.126Z] > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 [2021-04-19T22:45:24.164Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T22:45:24.182Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:45:24.186Z] > git checkout -f b63a0775669a0d8f920084e454cc928d32619faf # timeout=10 [2021-04-19T22:45:27.890Z] Commit message: "Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD" [2021-04-19T22:45:27.906Z] First time build. Skipping changelog. [2021-04-19T22:45:27.896Z] > git rev-list --no-walk d0a83b780265e8f475c3514d228360d0b089da8f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:45:28.905Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:45:29.267Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:45:29.570Z] + sudo service docker restart [2021-04-19T22:45:29.570Z] + true [2021-04-19T22:45:29.570Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:45:30.554Z] provisioning config files... [2021-04-19T22:45:30.588Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2118686400849970525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:45:30.922Z] ---> docker-login.sh [2021-04-19T22:45:30.922Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:45:31.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:31.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:31.187Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:31.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:31.187Z] [2021-04-19T22:45:31.187Z] Login Succeeded [2021-04-19T22:45:31.187Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:45:31.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:31.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:31.458Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:31.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:31.458Z] [2021-04-19T22:45:31.458Z] Login Succeeded [2021-04-19T22:45:31.458Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:45:31.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:31.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:31.732Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:31.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:31.732Z] [2021-04-19T22:45:31.732Z] Login Succeeded [2021-04-19T22:45:31.732Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:45:31.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:31.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:31.732Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:31.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:31.732Z] [2021-04-19T22:45:31.732Z] Login Succeeded [2021-04-19T22:45:31.732Z] docker.io [2021-04-19T22:45:32.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:32.058Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1022 in /w/workspace/dgexfoundry_device-sdk-go_PR-881 [Pipeline] { [Pipeline] ws [2021-04-19T22:45:32.082Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-19T22:45:32.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:32.266Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:32.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:32.266Z] [2021-04-19T22:45:32.266Z] Login Succeeded [2021-04-19T22:45:32.266Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:45:32.278Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T22:45:32.493Z] ========================================================= [2021-04-19T22:45:32.493Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-19T22:45:32.493Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:45:32.805Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-19T22:45:32.805Z] Sending build context to Docker daemon 2.462MB [2021-04-19T22:45:32.805Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:45:32.805Z] Step 2/8 : FROM ${BASE} [2021-04-19T22:45:33.085Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-19T22:45:33.085Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T22:45:33.085Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T22:45:33.085Z] de9db76c5a1d: Pulling fs layer [2021-04-19T22:45:33.085Z] bca2f99d35d6: Pulling fs layer [2021-04-19T22:45:33.085Z] 93359f2a8cfa: Pulling fs layer [2021-04-19T22:45:33.085Z] 7c6f9722023f: Pulling fs layer [2021-04-19T22:45:33.085Z] a35cf1a2eb13: Pulling fs layer [2021-04-19T22:45:33.085Z] 93359f2a8cfa: Waiting [2021-04-19T22:45:33.085Z] 7c6f9722023f: Waiting [2021-04-19T22:45:33.085Z] a35cf1a2eb13: Waiting [2021-04-19T22:45:33.085Z] bca2f99d35d6: Waiting [2021-04-19T22:45:33.085Z] 0ef7d3d256c8: Download complete [2021-04-19T22:45:33.085Z] de9db76c5a1d: Verifying Checksum [2021-04-19T22:45:33.085Z] de9db76c5a1d: Download complete [2021-04-19T22:45:33.085Z] 93359f2a8cfa: Verifying Checksum [2021-04-19T22:45:33.085Z] 93359f2a8cfa: Download complete [2021-04-19T22:45:33.085Z] 188c0c94c7c5: Verifying Checksum [2021-04-19T22:45:33.085Z] 188c0c94c7c5: Download complete [2021-04-19T22:45:33.085Z] 7c6f9722023f: Verifying Checksum [2021-04-19T22:45:33.085Z] 7c6f9722023f: Download complete [2021-04-19T22:45:33.367Z] 188c0c94c7c5: Pull complete [2021-04-19T22:45:33.661Z] 0ef7d3d256c8: Pull complete [2021-04-19T22:45:33.661Z] de9db76c5a1d: Pull complete [2021-04-19T22:45:34.622Z] a35cf1a2eb13: Verifying Checksum [2021-04-19T22:45:34.622Z] a35cf1a2eb13: Download complete [2021-04-19T22:45:35.210Z] bca2f99d35d6: Download complete [2021-04-19T22:45:39.090Z] using credential edgex-jenkins-ssh [2021-04-19T22:45:39.124Z] Cloning the remote Git repository [2021-04-19T22:45:39.196Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T22:45:39.333Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-19T22:45:39.422Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T22:45:39.424Z] > git --version # timeout=10 [2021-04-19T22:45:39.451Z] > git --version # 'git version 2.17.1' [2021-04-19T22:45:39.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:45:39.636Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:45:40.553Z] bca2f99d35d6: Pull complete [2021-04-19T22:45:40.553Z] 93359f2a8cfa: Pull complete [2021-04-19T22:45:40.553Z] 7c6f9722023f: Pull complete [2021-04-19T22:45:41.408Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T22:45:42.156Z] Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit f1f8d07c7547b0631bee6ef379e1f335d995aecd [2021-04-19T22:45:42.424Z] Merge succeeded, producing 8385195bfab40e0bbd6adc69f6079698f696e45e [2021-04-19T22:45:42.425Z] Checking out Revision 8385195bfab40e0bbd6adc69f6079698f696e45e (PR-881) [2021-04-19T22:45:41.439Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:45:41.472Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T22:45:41.505Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T22:45:41.506Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:45:41.518Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/881/head:refs/remotes/origin/PR-881 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T22:45:42.178Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:45:42.193Z] > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 [2021-04-19T22:45:42.291Z] > git remote # timeout=10 [2021-04-19T22:45:42.306Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T22:45:42.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:45:42.329Z] > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 [2021-04-19T22:45:42.412Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T22:45:42.435Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:45:42.447Z] > git checkout -f 8385195bfab40e0bbd6adc69f6079698f696e45e # timeout=10 [2021-04-19T22:45:46.821Z] Commit message: "Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD" [2021-04-19T22:45:46.849Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:45:46.834Z] > git rev-list --no-walk d0a83b780265e8f475c3514d228360d0b089da8f # timeout=10 [2021-04-19T22:45:48.359Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:45:48.753Z] a35cf1a2eb13: Pull complete [2021-04-19T22:45:48.753Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-19T22:45:48.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-19T22:45:48.753Z] ---> a62c8e92a672 [2021-04-19T22:45:48.753Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T22:45:48.753Z] ---> Running in 65b3d66dae69 [2021-04-19T22:45:48.753Z] Removing intermediate container 65b3d66dae69 [2021-04-19T22:45:48.753Z] ---> bdc05c224850 [2021-04-19T22:45:48.753Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:45:48.753Z] ---> Running in deb6833829dc [2021-04-19T22:45:48.806Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:45:49.021Z] Removing intermediate container deb6833829dc [2021-04-19T22:45:49.021Z] ---> 0eda0257d4c3 [2021-04-19T22:45:49.021Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-19T22:45:49.021Z] ---> Running in af8316fd55a2 [2021-04-19T22:45:49.169Z] + sudo service docker restart [2021-04-19T22:45:49.169Z] + true [2021-04-19T22:45:49.612Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:45:50.585Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:45:50.860Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-19T22:45:50.860Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-19T22:45:51.121Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-19T22:45:51.121Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-19T22:45:51.121Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T22:45:51.382Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-19T22:45:51.383Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T22:45:51.383Z] OK: 167 MiB in 45 packages [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:45:51.847Z] provisioning config files... [2021-04-19T22:45:51.893Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7256284723912054330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:45:51.956Z] Removing intermediate container af8316fd55a2 [2021-04-19T22:45:51.956Z] ---> 6461c1b17a57 [2021-04-19T22:45:51.956Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-19T22:45:51.956Z] ---> Running in 8043fd7847a7 [2021-04-19T22:45:52.218Z] Removing intermediate container 8043fd7847a7 [2021-04-19T22:45:52.218Z] ---> f678fc3bfd3a [2021-04-19T22:45:52.218Z] Step 7/8 : COPY . . [2021-04-19T22:45:52.280Z] ---> docker-login.sh [2021-04-19T22:45:52.280Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:45:53.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:53.604Z] ---> 88ecf7f93f00 [2021-04-19T22:45:53.604Z] Step 8/8 : RUN go mod download [2021-04-19T22:45:53.604Z] ---> Running in a27ae0c6ac0c [2021-04-19T22:45:53.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:53.875Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:53.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:53.875Z] [2021-04-19T22:45:53.875Z] Login Succeeded [2021-04-19T22:45:53.875Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:45:54.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:54.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:54.433Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:54.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:54.434Z] [2021-04-19T22:45:54.434Z] Login Succeeded [2021-04-19T22:45:54.434Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:45:55.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:55.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:55.035Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:55.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:55.035Z] [2021-04-19T22:45:55.035Z] Login Succeeded [2021-04-19T22:45:55.035Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:45:55.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:55.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:55.639Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:55.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:55.639Z] [2021-04-19T22:45:55.639Z] Login Succeeded [2021-04-19T22:45:55.639Z] docker.io [2021-04-19T22:45:56.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:56.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:56.570Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:56.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:56.570Z] [2021-04-19T22:45:56.570Z] Login Succeeded [2021-04-19T22:45:56.570Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:45:56.588Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T22:45:56.960Z] ========================================================= [2021-04-19T22:45:56.960Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-19T22:45:56.960Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:45:57.322Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-19T22:45:57.927Z] Sending build context to Docker daemon 2.451MB [2021-04-19T22:45:57.927Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:45:57.927Z] Step 2/8 : FROM ${BASE} [2021-04-19T22:45:57.927Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-19T22:45:57.927Z] 5f621e34cdf4: Pulling fs layer [2021-04-19T22:45:57.927Z] a4357932f1b6: Pulling fs layer [2021-04-19T22:45:57.927Z] 18c013af1878: Pulling fs layer [2021-04-19T22:45:57.927Z] 00ac8860ef70: Pulling fs layer [2021-04-19T22:45:57.927Z] 63d7cb157983: Pulling fs layer [2021-04-19T22:45:57.927Z] b116817d02f9: Pulling fs layer [2021-04-19T22:45:57.927Z] 745a02a5169b: Pulling fs layer [2021-04-19T22:45:57.927Z] 63d7cb157983: Waiting [2021-04-19T22:45:57.927Z] b116817d02f9: Waiting [2021-04-19T22:45:57.927Z] 00ac8860ef70: Waiting [2021-04-19T22:45:57.927Z] 745a02a5169b: Waiting [2021-04-19T22:45:57.927Z] 18c013af1878: Download complete [2021-04-19T22:45:57.927Z] a4357932f1b6: Verifying Checksum [2021-04-19T22:45:57.927Z] a4357932f1b6: Download complete [2021-04-19T22:45:57.927Z] 63d7cb157983: Verifying Checksum [2021-04-19T22:45:57.927Z] 63d7cb157983: Download complete [2021-04-19T22:45:57.927Z] b116817d02f9: Verifying Checksum [2021-04-19T22:45:57.927Z] b116817d02f9: Download complete [2021-04-19T22:45:58.205Z] 5f621e34cdf4: Download complete [2021-04-19T22:45:58.820Z] 5f621e34cdf4: Pull complete [2021-04-19T22:45:59.425Z] a4357932f1b6: Pull complete [2021-04-19T22:46:00.030Z] 18c013af1878: Pull complete [2021-04-19T22:46:00.635Z] 745a02a5169b: Verifying Checksum [2021-04-19T22:46:00.635Z] 745a02a5169b: Download complete [2021-04-19T22:46:01.623Z] 00ac8860ef70: Verifying Checksum [2021-04-19T22:46:01.623Z] 00ac8860ef70: Download complete [2021-04-19T22:46:11.827Z] 00ac8860ef70: Pull complete [2021-04-19T22:46:11.827Z] 63d7cb157983: Pull complete [2021-04-19T22:46:12.101Z] b116817d02f9: Pull complete [2021-04-19T22:46:15.510Z] 745a02a5169b: Pull complete [2021-04-19T22:46:15.510Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-19T22:46:15.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-19T22:46:15.510Z] ---> b7e6874047d6 [2021-04-19T22:46:15.510Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T22:46:15.618Z] Removing intermediate container a27ae0c6ac0c [2021-04-19T22:46:15.618Z] ---> 9dd9f3673660 [2021-04-19T22:46:15.618Z] Successfully built 9dd9f3673660 [2021-04-19T22:46:15.618Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:46:15.933Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T22:46:15.933Z] . [Pipeline] withDockerContainer [2021-04-19T22:46:16.040Z] prd-centos7-docker-4c-2g-1024 does not seem to be running inside a container [2021-04-19T22:46:16.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-19T22:46:17.255Z] $ docker top 91ac45727203d16f74cb26c9ae48e3b66cdff7580b460f1c6bcb35e416ab6acc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:46:17.676Z] + go version [2021-04-19T22:46:17.676Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-19T22:46:17.692Z] $ docker stop --time=1 91ac45727203d16f74cb26c9ae48e3b66cdff7580b460f1c6bcb35e416ab6acc [2021-04-19T22:46:18.970Z] ---> Running in 8fd19752add0 [2021-04-19T22:46:19.051Z] $ docker rm -f 91ac45727203d16f74cb26c9ae48e3b66cdff7580b460f1c6bcb35e416ab6acc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-04-19T22:46:19.246Z] Removing intermediate container 8fd19752add0 [2021-04-19T22:46:19.246Z] ---> 1ac5514ff0b5 [2021-04-19T22:46:19.246Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:46:19.523Z] ---> Running in 3da6237a8536 [2021-04-19T22:46:19.576Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T22:46:19.576Z] . [Pipeline] withDockerContainer [2021-04-19T22:46:19.685Z] prd-centos7-docker-4c-2g-1024 does not seem to be running inside a container [2021-04-19T22:46:19.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-19T22:46:20.370Z] $ docker top bc612ece744a9197131daca5e138f25c58a45f54208898e50239473f32b2e6ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:46:20.813Z] + make test [2021-04-19T22:46:20.813Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-19T22:46:22.239Z] Removing intermediate container 3da6237a8536 [2021-04-19T22:46:22.240Z] ---> 64aa986f4beb [2021-04-19T22:46:22.240Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-19T22:46:22.240Z] ---> Running in 36c5a94d3c1b [2021-04-19T22:46:23.220Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:46:23.837Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:46:24.823Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-19T22:46:24.823Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-19T22:46:25.095Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-19T22:46:25.095Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-19T22:46:25.095Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T22:46:25.368Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-19T22:46:25.368Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T22:46:25.368Z] OK: 144 MiB in 45 packages [2021-04-19T22:46:26.800Z] Removing intermediate container 36c5a94d3c1b [2021-04-19T22:46:26.800Z] ---> 52ca8cab0d16 [2021-04-19T22:46:26.800Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-19T22:46:27.074Z] ---> Running in a7bcb9915284 [2021-04-19T22:46:27.348Z] Removing intermediate container a7bcb9915284 [2021-04-19T22:46:27.348Z] ---> 96ec71fcd16d [2021-04-19T22:46:27.348Z] Step 7/8 : COPY . . [2021-04-19T22:46:28.787Z] ---> f9ec15ae4537 [2021-04-19T22:46:28.787Z] Step 8/8 : RUN go mod download [2021-04-19T22:46:28.787Z] ---> Running in 3771a47e9adb [2021-04-19T22:46:29.097Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-19T22:46:51.226Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-19T22:46:51.226Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-19T22:46:51.226Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-19T22:46:51.226Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-19T22:46:51.226Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-19T22:46:52.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.078s coverage: 28.1% of statements [2021-04-19T22:46:52.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements [2021-04-19T22:46:53.518Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.086s coverage: 7.8% of statements [2021-04-19T22:46:53.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-19T22:46:53.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-19T22:46:53.519Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-19T22:46:54.117Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.124s coverage: 32.0% of statements [2021-04-19T22:46:54.117Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-19T22:46:54.117Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-19T22:46:54.117Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-19T22:46:54.406Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.126s coverage: 57.1% of statements [2021-04-19T22:46:54.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.455s coverage: 6.6% of statements [2021-04-19T22:46:54.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.0% of statements [2021-04-19T22:46:54.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-19T22:46:55.259Z] GO111MODULE=on go vet ./... [2021-04-19T22:46:55.618Z] Removing intermediate container 3771a47e9adb [2021-04-19T22:46:55.618Z] ---> 88ddd91f7423 [2021-04-19T22:46:55.618Z] Successfully built 88ddd91f7423 [2021-04-19T22:46:55.619Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:46:55.984Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T22:46:55.984Z] . [Pipeline] withDockerContainer [2021-04-19T22:46:56.284Z] prd-ubuntu18.04-docker-arm64-4c-16g-1022 does not seem to be running inside a container [2021-04-19T22:46:56.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T22:46:58.078Z] $ docker top 322fcce1423acb6dafee730a3fe8f9140eeb300d5cf2392a770d3b4733f7a823 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:46:59.099Z] + go version [2021-04-19T22:46:59.099Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-19T22:46:59.139Z] $ docker stop --time=1 322fcce1423acb6dafee730a3fe8f9140eeb300d5cf2392a770d3b4733f7a823 [2021-04-19T22:47:01.204Z] $ docker rm -f 322fcce1423acb6dafee730a3fe8f9140eeb300d5cf2392a770d3b4733f7a823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:47:01.930Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T22:47:01.930Z] . [Pipeline] withDockerContainer [2021-04-19T22:47:02.223Z] prd-ubuntu18.04-docker-arm64-4c-16g-1022 does not seem to be running inside a container [2021-04-19T22:47:02.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T22:47:04.047Z] $ docker top f12b54f266c992a3a231a19c4d6400fe0d5dbb6e174f715fb9691372489d2fdd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:47:05.072Z] + make test [2021-04-19T22:47:05.072Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-19T22:47:13.508Z] gofmt -l . [2021-04-19T22:47:13.508Z] [ "`gofmt -l .`" = "" ] [2021-04-19T22:47:13.508Z] ./bin/test-attribution-txt.sh [2021-04-19T22:47:13.508Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T22:47:13.529Z] $ docker stop --time=1 bc612ece744a9197131daca5e138f25c58a45f54208898e50239473f32b2e6ed [2021-04-19T22:47:15.169Z] $ docker rm -f bc612ece744a9197131daca5e138f25c58a45f54208898e50239473f32b2e6ed [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:47:15.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T22:47:16.250Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-19T22:47:17.292Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T22:47:17.598Z] + ls -al . [2021-04-19T22:47:17.598Z] total 188 [2021-04-19T22:47:17.598Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 19 22:47 . [2021-04-19T22:47:17.598Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 22:45 .. [2021-04-19T22:47:17.598Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 19 22:45 bin [2021-04-19T22:47:17.598Z] -rw-r--r--. 1 jenkins jenkins 100116 Apr 19 22:46 coverage.out [2021-04-19T22:47:17.598Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 19 22:45 Dockerfile.build [2021-04-19T22:47:17.598Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 19 22:45 .dockerignore [2021-04-19T22:47:17.598Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 19 22:45 example [2021-04-19T22:47:17.598Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 22:45 .git [2021-04-19T22:47:17.598Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 22:45 .github [2021-04-19T22:47:17.598Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 19 22:45 .gitignore [2021-04-19T22:47:17.598Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 19 22:47 go.mod [2021-04-19T22:47:17.598Z] -rw-r--r--. 1 jenkins jenkins 20735 Apr 19 22:47 go.sum [2021-04-19T22:47:17.598Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 19 22:45 internal [2021-04-19T22:47:17.598Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 19 22:45 Jenkinsfile [2021-04-19T22:47:17.598Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 19 22:45 LICENSE [2021-04-19T22:47:17.598Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 19 22:45 Makefile [2021-04-19T22:47:17.598Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 19 22:45 openapi [2021-04-19T22:47:17.598Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 19 22:45 pkg [2021-04-19T22:47:17.598Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 19 22:45 README.md [2021-04-19T22:47:17.598Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 19 22:45 RELEASE-NOTES.txt [2021-04-19T22:47:17.598Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 19 22:45 snap [2021-04-19T22:47:17.598Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 22:42 VERSION [2021-04-19T22:47:17.598Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 19 22:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:47:17.923Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=067737c8c3e95bfa56f39aca1e9e747a53cf6a74 --label arch=amd64 --label version=0.0.0 . [2021-04-19T22:47:18.189Z] Sending build context to Docker daemon 2.563MB [2021-04-19T22:47:18.189Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:47:18.189Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-19T22:47:18.189Z] ---> 9dd9f3673660 [2021-04-19T22:47:18.189Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-19T22:47:18.450Z] ---> Running in 12c1036663cc [2021-04-19T22:47:18.712Z] Removing intermediate container 12c1036663cc [2021-04-19T22:47:18.712Z] ---> a4eaedb90e5e [2021-04-19T22:47:18.712Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T22:47:18.712Z] ---> Running in 913d9dd9fb3a [2021-04-19T22:47:18.997Z] Removing intermediate container 913d9dd9fb3a [2021-04-19T22:47:18.997Z] ---> 43eda1435ea8 [2021-04-19T22:47:18.997Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:47:18.997Z] ---> Running in 235a285d7d4b [2021-04-19T22:47:19.946Z] Removing intermediate container 235a285d7d4b [2021-04-19T22:47:19.947Z] ---> 774ab3266141 [2021-04-19T22:47:19.947Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-19T22:47:19.947Z] ---> Running in b98d5ce9ca95 [2021-04-19T22:47:20.523Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:47:21.098Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:47:21.359Z] OK: 167 MiB in 45 packages [2021-04-19T22:47:21.932Z] Removing intermediate container b98d5ce9ca95 [2021-04-19T22:47:21.932Z] ---> 1db77d33254a [2021-04-19T22:47:21.932Z] Step 7/23 : COPY . . [2021-04-19T22:47:22.880Z] ---> a81edc2fac5f [2021-04-19T22:47:22.880Z] Step 8/23 : RUN go mod download [2021-04-19T22:47:22.880Z] ---> Running in c746c4021d35 [2021-04-19T22:47:23.859Z] Removing intermediate container c746c4021d35 [2021-04-19T22:47:23.859Z] ---> 98810dffcc3b [2021-04-19T22:47:23.859Z] Step 9/23 : RUN make build [2021-04-19T22:47:23.859Z] ---> Running in 744ebe0d105b [2021-04-19T22:47:24.443Z] 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-04-19T22:47:31.896Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-19T22:47:36.783Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-19T22:47:36.783Z] Removing intermediate container 744ebe0d105b [2021-04-19T22:47:36.783Z] ---> 8f520b2ba427 [2021-04-19T22:47:36.783Z] Step 10/23 : FROM alpine:3.12 [2021-04-19T22:47:37.047Z] 3.12: Pulling from library/alpine [2021-04-19T22:47:37.047Z] 339de151aab4: Pulling fs layer [2021-04-19T22:47:37.047Z] 339de151aab4: Verifying Checksum [2021-04-19T22:47:37.047Z] 339de151aab4: Download complete [2021-04-19T22:47:37.311Z] 339de151aab4: Pull complete [2021-04-19T22:47:37.579Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T22:47:37.579Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T22:47:37.579Z] ---> 13621d1b12d4 [2021-04-19T22:47:37.579Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T22:47:37.579Z] ---> Running in 5981e87ea9ce [2021-04-19T22:47:37.843Z] Removing intermediate container 5981e87ea9ce [2021-04-19T22:47:37.843Z] ---> 01342731ba35 [2021-04-19T22:47:37.843Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:47:37.843Z] ---> Running in 95f65ceeb7e9 [2021-04-19T22:47:38.818Z] Removing intermediate container 95f65ceeb7e9 [2021-04-19T22:47:38.818Z] ---> fea34709186e [2021-04-19T22:47:38.818Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-19T22:47:38.818Z] ---> Running in 234ace07e5f0 [2021-04-19T22:47:39.397Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:47:39.969Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:47:40.544Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-19T22:47:40.544Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-19T22:47:40.544Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-19T22:47:41.492Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-19T22:47:41.492Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-19T22:47:41.492Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T22:47:41.756Z] OK: 8 MiB in 19 packages [2021-04-19T22:47:42.017Z] Removing intermediate container 234ace07e5f0 [2021-04-19T22:47:42.017Z] ---> 52113d41b2fe [2021-04-19T22:47:42.017Z] Step 14/23 : WORKDIR / [2021-04-19T22:47:42.282Z] ---> Running in 9e39cf55ee09 [2021-04-19T22:47:42.282Z] Removing intermediate container 9e39cf55ee09 [2021-04-19T22:47:42.282Z] ---> 3b93ec66e738 [2021-04-19T22:47:42.282Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-19T22:47:42.545Z] ---> 16cf487bae91 [2021-04-19T22:47:42.545Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-19T22:47:43.120Z] ---> d614ddce3e4c [2021-04-19T22:47:43.120Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-19T22:47:43.383Z] ---> bd3c7f4bd6bb [2021-04-19T22:47:43.383Z] Step 18/23 : EXPOSE 49990 [2021-04-19T22:47:43.383Z] ---> Running in e50fcb57088c [2021-04-19T22:47:43.647Z] Removing intermediate container e50fcb57088c [2021-04-19T22:47:43.647Z] ---> 0bc19c32414e [2021-04-19T22:47:43.647Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-19T22:47:43.647Z] ---> Running in 68640e1fb0fe [2021-04-19T22:47:43.908Z] Removing intermediate container 68640e1fb0fe [2021-04-19T22:47:43.908Z] ---> f96ab2cc37ab [2021-04-19T22:47:43.908Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T22:47:43.908Z] ---> Running in d0041b4b8670 [2021-04-19T22:47:43.908Z] Removing intermediate container d0041b4b8670 [2021-04-19T22:47:43.908Z] ---> 1ca915098c45 [2021-04-19T22:47:43.908Z] Step 21/23 : LABEL arch=amd64 [2021-04-19T22:47:44.169Z] ---> Running in 7415dd0fa28b [2021-04-19T22:47:44.169Z] Removing intermediate container 7415dd0fa28b [2021-04-19T22:47:44.169Z] ---> 14295fce4d43 [2021-04-19T22:47:44.169Z] Step 22/23 : LABEL git_sha=067737c8c3e95bfa56f39aca1e9e747a53cf6a74 [2021-04-19T22:47:44.431Z] ---> Running in ebd661f9a758 [2021-04-19T22:47:44.431Z] Removing intermediate container ebd661f9a758 [2021-04-19T22:47:44.431Z] ---> e8b9d34814e2 [2021-04-19T22:47:44.431Z] Step 23/23 : LABEL version=0.0.0 [2021-04-19T22:47:44.431Z] ---> Running in f2c86948f8c0 [2021-04-19T22:47:44.698Z] Removing intermediate container f2c86948f8c0 [2021-04-19T22:47:44.698Z] ---> 1352f74cd1fe [2021-04-19T22:47:44.698Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-19T22:47:44.698Z] Successfully built 1352f74cd1fe [2021-04-19T22:47:44.698Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:47:45.217Z] ---> job-cost.sh [2021-04-19T22:47:45.217Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-b5nT [2021-04-19T22:48:00.151Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T22:48:26.790Z] lf-activate-venv(): INFO: Adding /tmp/venv-b5nT/bin to PATH [2021-04-19T22:48:26.790Z] INFO: No Stack... [2021-04-19T22:48:27.362Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T22:48:27.935Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T22:48:28.246Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-04-19T22:48:28.247Z] + cut -d, -f6 [Pipeline] lock [2021-04-19T22:48:28.330Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] [2021-04-19T22:48:28.343Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] did not exist. Created. [2021-04-19T22:48:28.344Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T22:48:28.492Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-19T22:48:28.492Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-19T22:48:28.492Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-19T22:48:28.492Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-19T22:48:28.492Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-19T22:48:28.674Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-19T22:48:28.803Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T22:48:28.817Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T22:48:29.944Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.162s coverage: 28.1% of statements [2021-04-19T22:48:30.560Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.195s coverage: 78.9% of statements [2021-04-19T22:48:30.560Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.142s coverage: 7.8% of statements [2021-04-19T22:48:30.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-19T22:48:30.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-19T22:48:30.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-19T22:48:32.551Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.261s coverage: 32.0% of statements [2021-04-19T22:48:32.551Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-19T22:48:32.551Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-19T22:48:32.551Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-19T22:48:36.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.303s coverage: 57.1% of statements [2021-04-19T22:48:36.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.172s coverage: 6.6% of statements [2021-04-19T22:48:36.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 5.0% of statements [2021-04-19T22:48:36.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-19T22:48:37.171Z] GO111MODULE=on go vet ./... [2021-04-19T22:49:24.153Z] gofmt -l . [2021-04-19T22:49:24.153Z] [ "`gofmt -l .`" = "" ] [2021-04-19T22:49:24.153Z] ./bin/test-attribution-txt.sh [2021-04-19T22:49:24.153Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T22:49:24.189Z] $ docker stop --time=1 f12b54f266c992a3a231a19c4d6400fe0d5dbb6e174f715fb9691372489d2fdd [2021-04-19T22:49:26.423Z] $ docker rm -f f12b54f266c992a3a231a19c4d6400fe0d5dbb6e174f715fb9691372489d2fdd [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:49:27.592Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T22:49:27.614Z] Warning: overwriting stash ‘coverage-report’ [2021-04-19T22:49:28.768Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:49:29.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T22:49:29.627Z] + ls -al . [2021-04-19T22:49:29.627Z] total 224 [2021-04-19T22:49:29.627Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 22:49 . [2021-04-19T22:49:29.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:45 .. [2021-04-19T22:49:29.627Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 22:45 .dockerignore [2021-04-19T22:49:29.627Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 22:45 .git [2021-04-19T22:49:29.627Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:45 .github [2021-04-19T22:49:29.627Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 19 22:45 .gitignore [2021-04-19T22:49:29.627Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 19 22:45 Dockerfile.build [2021-04-19T22:49:29.627Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 19 22:45 Jenkinsfile [2021-04-19T22:49:29.627Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 19 22:45 LICENSE [2021-04-19T22:49:29.627Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 19 22:45 Makefile [2021-04-19T22:49:29.627Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 19 22:45 README.md [2021-04-19T22:49:29.627Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 19 22:45 RELEASE-NOTES.txt [2021-04-19T22:49:29.627Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 22:42 VERSION [2021-04-19T22:49:29.627Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:45 bin [2021-04-19T22:49:29.627Z] -rw-r--r-- 1 jenkins jenkins 100116 Apr 19 22:48 coverage.out [2021-04-19T22:49:29.627Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 22:45 example [2021-04-19T22:49:29.627Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 19 22:49 go.mod [2021-04-19T22:49:29.627Z] -rw-r--r-- 1 jenkins jenkins 20735 Apr 19 22:49 go.sum [2021-04-19T22:49:29.627Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 19 22:45 internal [2021-04-19T22:49:29.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:45 openapi [2021-04-19T22:49:29.627Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 22:45 pkg [2021-04-19T22:49:29.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:45 snap [2021-04-19T22:49:29.627Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 19 22:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:49:29.995Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=067737c8c3e95bfa56f39aca1e9e747a53cf6a74 --label arch=arm64 --label version=0.0.0 . [2021-04-19T22:49:30.600Z] Sending build context to Docker daemon 2.552MB [2021-04-19T22:49:30.600Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:49:30.600Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-19T22:49:30.600Z] ---> 88ddd91f7423 [2021-04-19T22:49:30.600Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-19T22:49:30.875Z] ---> Running in 2dcff3a96aad [2021-04-19T22:49:31.471Z] Removing intermediate container 2dcff3a96aad [2021-04-19T22:49:31.471Z] ---> f7d0c55634dc [2021-04-19T22:49:31.471Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T22:49:31.471Z] ---> Running in 7620d47cd9a0 [2021-04-19T22:49:31.742Z] Removing intermediate container 7620d47cd9a0 [2021-04-19T22:49:31.742Z] ---> 25cfc4768bd0 [2021-04-19T22:49:31.742Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:49:32.013Z] ---> Running in 15c7424cacde [2021-04-19T22:49:33.986Z] Removing intermediate container 15c7424cacde [2021-04-19T22:49:33.987Z] ---> 9a1e3bff195f [2021-04-19T22:49:33.987Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-19T22:49:33.987Z] ---> Running in 58b6b27cfa58 [2021-04-19T22:49:35.437Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:49:36.029Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:49:36.619Z] OK: 144 MiB in 45 packages [2021-04-19T22:49:37.611Z] Removing intermediate container 58b6b27cfa58 [2021-04-19T22:49:37.611Z] ---> 69b910fdba06 [2021-04-19T22:49:37.611Z] Step 7/23 : COPY . . [2021-04-19T22:49:39.047Z] ---> bcb052f6afd9 [2021-04-19T22:49:39.047Z] Step 8/23 : RUN go mod download [2021-04-19T22:49:39.047Z] ---> Running in 2e62c6bfc7a6 [2021-04-19T22:49:41.663Z] Removing intermediate container 2e62c6bfc7a6 [2021-04-19T22:49:41.663Z] ---> 639767a15976 [2021-04-19T22:49:41.663Z] Step 9/23 : RUN make build [2021-04-19T22:49:41.663Z] ---> Running in c64de07d59b6 [2021-04-19T22:49:42.259Z] 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-04-19T22:50:14.613Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-19T22:50:18.925Z] Removing intermediate container c64de07d59b6 [2021-04-19T22:50:18.925Z] ---> 568ccdaebfec [2021-04-19T22:50:18.925Z] Step 10/23 : FROM alpine:3.12 [2021-04-19T22:50:18.925Z] 3.12: Pulling from library/alpine [2021-04-19T22:50:18.925Z] d2f70382dc9a: Pulling fs layer [2021-04-19T22:50:18.925Z] d2f70382dc9a: Verifying Checksum [2021-04-19T22:50:18.925Z] d2f70382dc9a: Download complete [2021-04-19T22:50:19.521Z] d2f70382dc9a: Pull complete [2021-04-19T22:50:19.521Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T22:50:19.793Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T22:50:19.793Z] ---> 9852663dfa18 [2021-04-19T22:50:19.793Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T22:50:19.793Z] ---> Running in eaaf5ec33c84 [2021-04-19T22:50:20.396Z] Removing intermediate container eaaf5ec33c84 [2021-04-19T22:50:20.396Z] ---> 6a6b15cb07ee [2021-04-19T22:50:20.396Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:50:20.396Z] ---> Running in 9607f959cc32 [2021-04-19T22:50:23.016Z] Removing intermediate container 9607f959cc32 [2021-04-19T22:50:23.016Z] ---> c29598337d82 [2021-04-19T22:50:23.016Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-19T22:50:23.016Z] ---> Running in 6fbf5c348996 [2021-04-19T22:50:23.996Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:50:24.591Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:50:25.564Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-19T22:50:25.564Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-19T22:50:25.564Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-19T22:50:26.155Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-19T22:50:26.426Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-19T22:50:26.426Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T22:50:26.426Z] OK: 8 MiB in 19 packages [2021-04-19T22:50:27.852Z] Removing intermediate container 6fbf5c348996 [2021-04-19T22:50:27.852Z] ---> 1eb2bccde24a [2021-04-19T22:50:27.852Z] Step 14/23 : WORKDIR / [2021-04-19T22:50:27.852Z] ---> Running in 71de3055b590 [2021-04-19T22:50:28.445Z] Removing intermediate container 71de3055b590 [2021-04-19T22:50:28.445Z] ---> 0f4802094a6d [2021-04-19T22:50:28.445Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-19T22:50:29.042Z] ---> 3a143d92af75 [2021-04-19T22:50:29.042Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-19T22:50:30.472Z] ---> 372f1bb7a481 [2021-04-19T22:50:30.472Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-19T22:50:31.067Z] ---> 54fa3d241741 [2021-04-19T22:50:31.067Z] Step 18/23 : EXPOSE 49990 [2021-04-19T22:50:31.067Z] ---> Running in d04643020794 [2021-04-19T22:50:31.339Z] Removing intermediate container d04643020794 [2021-04-19T22:50:31.339Z] ---> 9e7cceb72c2b [2021-04-19T22:50:31.339Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-19T22:50:31.612Z] ---> Running in 383fda1be3b4 [2021-04-19T22:50:32.205Z] Removing intermediate container 383fda1be3b4 [2021-04-19T22:50:32.205Z] ---> 92519b903dd5 [2021-04-19T22:50:32.205Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T22:50:32.205Z] ---> Running in 1436d98123b5 [2021-04-19T22:50:32.796Z] Removing intermediate container 1436d98123b5 [2021-04-19T22:50:32.797Z] ---> 585e79005dd7 [2021-04-19T22:50:32.797Z] Step 21/23 : LABEL arch=arm64 [2021-04-19T22:50:32.797Z] ---> Running in 38184aa72eb3 [2021-04-19T22:50:33.072Z] Removing intermediate container 38184aa72eb3 [2021-04-19T22:50:33.072Z] ---> 446f2f9a8a9a [2021-04-19T22:50:33.072Z] Step 22/23 : LABEL git_sha=067737c8c3e95bfa56f39aca1e9e747a53cf6a74 [2021-04-19T22:50:33.344Z] ---> Running in cf3effcb9a27 [2021-04-19T22:50:33.618Z] Removing intermediate container cf3effcb9a27 [2021-04-19T22:50:33.618Z] ---> 074c0630a65f [2021-04-19T22:50:33.618Z] Step 23/23 : LABEL version=0.0.0 [2021-04-19T22:50:33.901Z] ---> Running in 32fcb60577de [2021-04-19T22:50:34.174Z] Removing intermediate container 32fcb60577de [2021-04-19T22:50:34.174Z] ---> fef6bc63641d [2021-04-19T22:50:34.174Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-19T22:50:34.446Z] Successfully built fef6bc63641d [2021-04-19T22:50:34.446Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:50:34.907Z] ---> job-cost.sh [2021-04-19T22:50:34.907Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yoCk [2021-04-19T22:51:21.815Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T22:52:43.536Z] lf-activate-venv(): INFO: Adding /tmp/venv-yoCk/bin to PATH [2021-04-19T22:52:43.536Z] INFO: No Stack... [2021-04-19T22:52:43.536Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-19T22:52:43.536Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T22:52:43.877Z] + cut -d, -f6 [2021-04-19T22:52:43.877Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2021-04-19T22:52:43.993Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] [2021-04-19T22:52:44.021Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] did not exist. Created. [2021-04-19T22:52:44.021Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T22:52:44.399Z] /w/workspace/device-sdk-go/3@tmp/durable-9a2633c2/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-9a2633c2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-19T22:52:44.742Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-19T22:52:44.773Z] Warning: overwriting stash ‘stack-cost’ [2021-04-19T22:52:44.920Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T22:52:44.935Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-881-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-19T22:52:45.333Z] provisioning config files... [2021-04-19T22:52:45.345Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/config2102033311572625200tmp [Pipeline] { [Pipeline] sh [2021-04-19T22:52:45.669Z] + set +x [2021-04-19T22:52:45.670Z] + curl -s https://codecov.io/bash [2021-04-19T22:52:45.670Z] + bash -s -- [2021-04-19T22:52:45.932Z] [2021-04-19T22:52:45.932Z] _____ _ [2021-04-19T22:52:45.932Z] / ____| | | [2021-04-19T22:52:45.932Z] | | ___ __| | ___ ___ _____ __ [2021-04-19T22:52:45.932Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-19T22:52:45.932Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-19T22:52:45.932Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-19T22:52:45.932Z] Bash-1.0.1 [2021-04-19T22:52:45.932Z] [2021-04-19T22:52:45.932Z] [2021-04-19T22:52:45.932Z] ==> git version 2.24.3 found [2021-04-19T22:52:45.932Z] ==> 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-04-19T22:52:45.932Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-19T22:52:45.932Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-19T22:52:45.932Z] ==> Jenkins CI detected. [2021-04-19T22:52:45.932Z] project root: . [2021-04-19T22:52:45.932Z] --> token set from env [2021-04-19T22:52:45.932Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-19T22:52:45.932Z] ==> Running gcov in . (disable via -X gcov) [2021-04-19T22:52:45.932Z] ==> Python coveragepy not found [2021-04-19T22:52:45.932Z] ==> Searching for coverage reports in: [2021-04-19T22:52:45.932Z] + . [2021-04-19T22:52:45.932Z] -> Found 1 reports [2021-04-19T22:52:45.932Z] ==> Detecting git/mercurial file structure [2021-04-19T22:52:45.932Z] ==> Reading reports [2021-04-19T22:52:45.932Z] + ./coverage.out bytes=100116 [2021-04-19T22:52:45.932Z] ==> Appending adjustments [2021-04-19T22:52:45.932Z] https://docs.codecov.io/docs/fixing-reports [2021-04-19T22:52:46.195Z] + Found adjustments [2021-04-19T22:52:46.195Z] ==> Gzipping contents [2021-04-19T22:52:46.195Z] 16K /tmp/codecov.i6Q7JU.gz [2021-04-19T22:52:46.195Z] ==> Uploading reports [2021-04-19T22:52:46.195Z] url: https://codecov.io [2021-04-19T22:52:46.195Z] query: branch=PR-881&commit=067737c8c3e95bfa56f39aca1e9e747a53cf6a74&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-881%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=881&job=&cmd_args= [2021-04-19T22:52:46.195Z] -> Pinging Codecov [2021-04-19T22:52:46.195Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-881&commit=067737c8c3e95bfa56f39aca1e9e747a53cf6a74&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-881%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=881&job=&cmd_args= [2021-04-19T22:52:46.772Z] -> Uploading to [2021-04-19T22:52:46.772Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-19/7E55EF52A471D76F132DFD9A03CDDE97/067737c8c3e95bfa56f39aca1e9e747a53cf6a74/8b3096c2-2d52-4ef0-9da6-26c44805ea9d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T225246Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a5d3e44a03260471e47a63ad90664585e4e4914a1d7f57d5fdce508da106590 [2021-04-19T22:52:46.772Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-19T22:52:46.772Z] Dload Upload Total Spent Left Speed [2021-04-19T22:52:47.347Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13513 0 0 100 13513 0 26358 --:--:-- --:--:-- --:--:-- 26392 [2021-04-19T22:52:47.347Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/067737c8c3e95bfa56f39aca1e9e747a53cf6a74 [Pipeline] } [2021-04-19T22:52:47.358Z] 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-04-19T22:52:48.318Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:52:48.631Z] ---> package-listing.sh [2021-04-19T22:52:48.631Z] ++ facter osfamily [2021-04-19T22:52:48.631Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-19T22:52:48.631Z] + OS_FAMILY=redhat [2021-04-19T22:52:48.631Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-881 [2021-04-19T22:52:48.631Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-19T22:52:48.631Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-19T22:52:48.631Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-19T22:52:48.631Z] + PACKAGES=/tmp/packages_start.txt [2021-04-19T22:52:48.631Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-881 ']' [2021-04-19T22:52:48.631Z] + PACKAGES=/tmp/packages_end.txt [2021-04-19T22:52:48.631Z] + case "${OS_FAMILY}" in [2021-04-19T22:52:48.631Z] + rpm -qa [2021-04-19T22:52:48.631Z] + sort [2021-04-19T22:52:53.948Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-19T22:52:53.948Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-19T22:52:53.948Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-19T22:52:53.948Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-881 ']' [2021-04-19T22:52:53.948Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-881/archives/ [2021-04-19T22:52:53.948Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-881/archives/ [Pipeline] echo [2021-04-19T22:52:53.963Z] 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-881/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-19T22:52:54.259Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:52:54.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:52:54.577Z] [2021-04-19T22:52:54.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:52:54.896Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:52:54.896Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-19T22:52:54.896Z] df20fa9351a1: Pulling fs layer [2021-04-19T22:52:54.896Z] 36b3adc4ff6f: Pulling fs layer [2021-04-19T22:52:54.896Z] 8ad3a11d3b57: Pulling fs layer [2021-04-19T22:52:54.896Z] 46f8f816bc3b: Pulling fs layer [2021-04-19T22:52:54.896Z] 93b61091891f: Pulling fs layer [2021-04-19T22:52:54.896Z] 93b9cdb0e59b: Pulling fs layer [2021-04-19T22:52:54.896Z] 5e14af77c1be: Pulling fs layer [2021-04-19T22:52:54.896Z] 01666e4c0597: Pulling fs layer [2021-04-19T22:52:54.896Z] aa168da1d23b: Pulling fs layer [2021-04-19T22:52:54.896Z] 46f8f816bc3b: Waiting [2021-04-19T22:52:54.896Z] 5e14af77c1be: Waiting [2021-04-19T22:52:54.896Z] 01666e4c0597: Waiting [2021-04-19T22:52:54.896Z] 93b61091891f: Waiting [2021-04-19T22:52:54.896Z] aa168da1d23b: Waiting [2021-04-19T22:52:54.896Z] 93b9cdb0e59b: Waiting [2021-04-19T22:52:54.896Z] 36b3adc4ff6f: Verifying Checksum [2021-04-19T22:52:54.896Z] 36b3adc4ff6f: Download complete [2021-04-19T22:52:54.896Z] 46f8f816bc3b: Download complete [2021-04-19T22:52:54.896Z] df20fa9351a1: Verifying Checksum [2021-04-19T22:52:54.896Z] df20fa9351a1: Download complete [2021-04-19T22:52:54.896Z] 93b9cdb0e59b: Verifying Checksum [2021-04-19T22:52:54.896Z] 93b9cdb0e59b: Download complete [2021-04-19T22:52:55.168Z] 93b61091891f: Verifying Checksum [2021-04-19T22:52:55.168Z] 93b61091891f: Download complete [2021-04-19T22:52:55.168Z] 01666e4c0597: Verifying Checksum [2021-04-19T22:52:55.168Z] 01666e4c0597: Download complete [2021-04-19T22:52:55.168Z] 8ad3a11d3b57: Verifying Checksum [2021-04-19T22:52:55.168Z] 8ad3a11d3b57: Download complete [2021-04-19T22:52:55.433Z] df20fa9351a1: Pull complete [2021-04-19T22:52:55.697Z] 36b3adc4ff6f: Pull complete [2021-04-19T22:52:55.959Z] 5e14af77c1be: Verifying Checksum [2021-04-19T22:52:55.959Z] 5e14af77c1be: Download complete [2021-04-19T22:52:56.911Z] 8ad3a11d3b57: Pull complete [2021-04-19T22:52:56.911Z] aa168da1d23b: Verifying Checksum [2021-04-19T22:52:56.911Z] aa168da1d23b: Download complete [2021-04-19T22:52:57.181Z] 46f8f816bc3b: Pull complete [2021-04-19T22:52:57.447Z] 93b61091891f: Pull complete [2021-04-19T22:52:57.447Z] 93b9cdb0e59b: Pull complete [2021-04-19T22:52:57.711Z] 5e14af77c1be: Pull complete [2021-04-19T22:52:57.711Z] 01666e4c0597: Pull complete [2021-04-19T22:53:05.885Z] aa168da1d23b: Pull complete [2021-04-19T22:53:05.885Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-19T22:53:05.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:53:05.885Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-19T22:53:06.023Z] prd-centos7-docker-4c-2g-1017 does not seem to be running inside a container [2021-04-19T22:53:06.078Z] $ 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-881/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-881 -v /w/workspace/dgexfoundry_device-sdk-go_PR-881:/w/workspace/dgexfoundry_device-sdk-go_PR-881:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-881@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-19T22:53:09.353Z] $ docker top e223559fe5d8cc5819c150294dd7fcf4202b0e823c8e323a4b0fe276d8b07688 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:53:09.762Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-19T22:53:10.062Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-19T22:53:10.363Z] + ls /var/log/sa-host [2021-04-19T22:53:10.363Z] + sadf -c /var/log/sa-host/sa19 [2021-04-19T22:53:10.363Z] file_magic: OK [2021-04-19T22:53:10.363Z] HZ: Using current value: 100 [2021-04-19T22:53:10.363Z] file_header: OK [2021-04-19T22:53:10.363Z] 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-04-19T22:53:10.363Z] Statistics: [2021-04-19T22:53:10.363Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-19T22:53:10.363Z] File successfully converted to sysstat format version 12.2.1 [2021-04-19T22:53:10.363Z] + sadf -c /var/log/sa-host/sa23 [2021-04-19T22:53:10.363Z] file_magic: OK [2021-04-19T22:53:10.363Z] HZ: Using current value: 100 [2021-04-19T22:53:10.363Z] file_header: OK [2021-04-19T22:53:10.363Z] 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-04-19T22:53:10.363Z] Statistics: [2021-04-19T22:53:10.363Z] Hnuu...uuuununununu... [2021-04-19T22:53:10.363Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-19T22:53:10.535Z] provisioning config files... [2021-04-19T22:53:10.552Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/config1807492120100127284tmp [Pipeline] { [Pipeline] echo [2021-04-19T22:53:10.583Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:53:10.889Z] ---> create-netrc.sh [Pipeline] } [2021-04-19T22:53:10.899Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-19T22:53:10.928Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:53:11.241Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-19T22:53:11.255Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:53:11.557Z] ---> sudo-logs.sh [2021-04-19T22:53:11.557Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-19T22:53:11.586Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:53:11.891Z] ---> job-cost.sh [2021-04-19T22:53:11.891Z] lf-activate-venv: SKIPPING [2021-04-19T22:53:11.891Z] DEBUG: total: 0.20999999344348907 [2021-04-19T22:53:11.891Z] INFO: Retrieving Stack Cost... [2021-04-19T22:53:13.283Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T22:53:13.545Z] INFO: Archiving Costs [Pipeline] echo [2021-04-19T22:53:13.560Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:53:13.862Z] ---> logs-deploy.sh [2021-04-19T22:53:13.863Z] lf-activate-venv: SKIPPING [2021-04-19T22:53:13.863Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-881/3 [2021-04-19T22:53:13.863Z] INFO: archiving workspace using pattern(s): [2021-04-19T22:53:15.790Z] Archives upload complete. [2021-04-19T22:53:15.790Z] INFO: archiving logs to Nexus