Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+8659f99871c0873da8324f2f6a625b509cb242d1 (69d8bb978a1472f36cdf34b95f2794f3c5b4b26a) 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: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: 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-585 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing a8d60f956115993d26ccd83775acbf9de8b4268b Checking out Revision a8d60f956115993d26ccd83775acbf9de8b4268b (PR-725) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # 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 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a8d60f956115993d26ccd83775acbf9de8b4268b # timeout=10 Commit message: "Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-17T22:43:15.580Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 5158b96cebebe48af021ba8fe4939eb881cc437b # timeout=10 [Pipeline] withCredentials [2021-04-17T22:43:15.670Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-17T22:43:15.698Z] ========================================================= [2021-04-17T22:43:15.698Z] EdgeX Global Pipelines Version Info [2021-04-17T22:43:15.698Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:43:17.261Z] ------------------- [2021-04-17T22:43:17.261Z] stable info: [2021-04-17T22:43:17.261Z] ------------------- [2021-04-17T22:43:17.261Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-17T22:43:17.261Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-17T22:43:17.261Z] Message: update stable to v1.0.186 [2021-04-17T22:43:18.209Z] ------------------- [2021-04-17T22:43:18.209Z] experimental info: [2021-04-17T22:43:18.209Z] ------------------- [2021-04-17T22:43:18.209Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-17T22:43:18.209Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-17T22:43:18.209Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-17T22:43:18.340Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-17T22:43:18.365Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-17T22:43:18.391Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-17T22:43:18.418Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-17T22:43:18.442Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-17T22:43:18.467Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-17T22:43:18.491Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-17T22:43:18.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-17T22:43:18.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-17T22:43:18.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-17T22:43:18.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-17T22:43:18.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-04-17T22:43:18.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-17T22:43:18.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-17T22:43:18.687Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-17T22:43:18.740Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-17T22:43:18.774Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-17T22:43:18.800Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-17T22:43:18.824Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-17T22:43:18.849Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-17T22:43:18.875Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-17T22:43:18.900Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-17T22:43:18.927Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-17T22:43:18.953Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-17T22:43:18.982Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-17T22:43:19.008Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-17T22:43:19.035Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-04-17T22:43:19.061Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-04-17T22:43:19.087Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-04-17T22:43:19.114Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a8d60f956115993d26ccd83775acbf9de8b4268b [Pipeline] echo [2021-04-17T22:43:19.139Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a8d60f9 [Pipeline] echo [2021-04-17T22:43:19.164Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-17T22:43:19.233Z] provisioning config files... [2021-04-17T22:43:19.262Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1530354135983209736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:43:19.579Z] ---> docker-login.sh [2021-04-17T22:43:19.579Z] nexus3.edgexfoundry.org:10001 [2021-04-17T22:43:19.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:43:20.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:43:20.107Z] Configure a credential helper to remove this warning. See [2021-04-17T22:43:20.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:43:20.107Z] [2021-04-17T22:43:20.107Z] Login Succeeded [2021-04-17T22:43:20.107Z] nexus3.edgexfoundry.org:10002 [2021-04-17T22:43:20.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:43:20.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:43:20.107Z] Configure a credential helper to remove this warning. See [2021-04-17T22:43:20.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:43:20.107Z] [2021-04-17T22:43:20.107Z] Login Succeeded [2021-04-17T22:43:20.107Z] nexus3.edgexfoundry.org:10003 [2021-04-17T22:43:20.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:43:20.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:43:20.373Z] Configure a credential helper to remove this warning. See [2021-04-17T22:43:20.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:43:20.373Z] [2021-04-17T22:43:20.373Z] Login Succeeded [2021-04-17T22:43:20.373Z] nexus3.edgexfoundry.org:10004 [2021-04-17T22:43:20.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:43:20.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:43:20.636Z] Configure a credential helper to remove this warning. See [2021-04-17T22:43:20.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:43:20.636Z] [2021-04-17T22:43:20.636Z] Login Succeeded [2021-04-17T22:43:20.636Z] docker.io [2021-04-17T22:43:20.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:43:20.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:43:20.898Z] Configure a credential helper to remove this warning. See [2021-04-17T22:43:20.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:43:20.898Z] [2021-04-17T22:43:20.898Z] Login Succeeded [2021-04-17T22:43:20.898Z] ---> docker-login.sh ends [Pipeline] } [2021-04-17T22:43:20.907Z] 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-17T22:43:21.328Z] + git log --format=format:%s -1 a8d60f956115993d26ccd83775acbf9de8b4268b [Pipeline] echo [2021-04-17T22:43:21.408Z] GIT_COMMIT: a8d60f956115993d26ccd83775acbf9de8b4268b, Commit Message: Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD [Pipeline] echo [2021-04-17T22:43:21.422Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:43:21.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-17T22:43:21.960Z] [2021-04-17T22:43:21.960Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:43:22.274Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-17T22:43:22.274Z] latest: Pulling from edgex-devops/git-semver [2021-04-17T22:43:22.274Z] 31603596830f: Pulling fs layer [2021-04-17T22:43:22.274Z] 2a8b12db71e7: Pulling fs layer [2021-04-17T22:43:22.274Z] 6ca5941a6612: Pulling fs layer [2021-04-17T22:43:22.274Z] ecc8261a40a4: Pulling fs layer [2021-04-17T22:43:22.274Z] ecc8261a40a4: Waiting [2021-04-17T22:43:22.274Z] 2a8b12db71e7: Verifying Checksum [2021-04-17T22:43:22.274Z] 2a8b12db71e7: Download complete [2021-04-17T22:43:22.274Z] 31603596830f: Verifying Checksum [2021-04-17T22:43:22.274Z] 31603596830f: Download complete [2021-04-17T22:43:22.539Z] 6ca5941a6612: Verifying Checksum [2021-04-17T22:43:22.539Z] 6ca5941a6612: Download complete [2021-04-17T22:43:22.539Z] ecc8261a40a4: Verifying Checksum [2021-04-17T22:43:22.539Z] ecc8261a40a4: Download complete [2021-04-17T22:43:22.803Z] 31603596830f: Pull complete [2021-04-17T22:43:22.803Z] 2a8b12db71e7: Pull complete [2021-04-17T22:43:23.761Z] 6ca5941a6612: Pull complete [2021-04-17T22:43:24.026Z] ecc8261a40a4: Pull complete [2021-04-17T22:43:24.026Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-17T22:43:24.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-17T22:43:24.026Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-17T22:43:24.125Z] prd-centos7-docker-4c-2g-585 does not seem to be running inside a container [2021-04-17T22:43:24.168Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-17T22:43:26.059Z] $ docker top bea80b49b82c5defa5b8700f5e08b69421fc0a7c06610efd68c419222a1d24c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-17T22:43:26.297Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-17T22:43:26.297Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-17T22:43:26.529Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-17T22:43:26.533Z] $ docker exec bea80b49b82c5defa5b8700f5e08b69421fc0a7c06610efd68c419222a1d24c9 ssh-agent [2021-04-17T22:43:26.711Z] SSH_AUTH_SOCK=/tmp/ssh-iupUto63BxM3/agent.12 [2021-04-17T22:43:26.711Z] SSH_AGENT_PID=18 [2021-04-17T22:43:26.725Z] Running ssh-add (command line suppressed) [2021-04-17T22:43:26.846Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5597764974951626553.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5597764974951626553.key) [2021-04-17T22:43:26.898Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-17T22:43:27.201Z] + git tag --points-at HEAD [Pipeline] } [2021-04-17T22:43:27.221Z] $ docker exec --env ******** --env ******** bea80b49b82c5defa5b8700f5e08b69421fc0a7c06610efd68c419222a1d24c9 ssh-agent -k [2021-04-17T22:43:27.345Z] unset SSH_AUTH_SOCK; [2021-04-17T22:43:27.345Z] unset SSH_AGENT_PID; [2021-04-17T22:43:27.345Z] echo Agent pid 18 killed; [2021-04-17T22:43:27.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-17T22:43:27.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-17T22:43:27.440Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-17T22:43:27.611Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-17T22:43:27.615Z] $ docker exec bea80b49b82c5defa5b8700f5e08b69421fc0a7c06610efd68c419222a1d24c9 ssh-agent [2021-04-17T22:43:27.782Z] SSH_AUTH_SOCK=/tmp/ssh-AvFvFxkT39cJ/agent.49 [2021-04-17T22:43:27.782Z] SSH_AGENT_PID=54 [2021-04-17T22:43:27.789Z] Running ssh-add (command line suppressed) [2021-04-17T22:43:27.909Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5925036966627002633.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5925036966627002633.key) [2021-04-17T22:43:27.967Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-17T22:43:28.271Z] + git semver init [2021-04-17T22:43:28.271Z] # -> Open(): unable to determine branch for HEAD [2021-04-17T22:43:28.271Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-04-17T22:43:28.271Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-17T22:43:28.271Z] # $SEMVER_REMOTE_NAME = origin [2021-04-17T22:43:28.271Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-17T22:43:28.271Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-17T22:43:28.271Z] # $SEMVER_BRANCH = PR-725 [2021-04-17T22:43:28.271Z] # $SEMVER_TEMP = /tmp/semver-270952677 [2021-04-17T22:43:28.271Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-17T22:43:29.218Z] # '/tmp/semver-270952677' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-04-17T22:43:29.218Z] # -> Force: false [2021-04-17T22:43:29.218Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-04-17T22:43:29.231Z] $ docker exec --env ******** --env ******** bea80b49b82c5defa5b8700f5e08b69421fc0a7c06610efd68c419222a1d24c9 ssh-agent -k [2021-04-17T22:43:29.349Z] unset SSH_AUTH_SOCK; [2021-04-17T22:43:29.350Z] unset SSH_AGENT_PID; [2021-04-17T22:43:29.350Z] echo Agent pid 54 killed; [2021-04-17T22:43:29.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-17T22:43:29.743Z] + git semver [Pipeline] } [2021-04-17T22:43:29.760Z] $ docker stop --time=1 bea80b49b82c5defa5b8700f5e08b69421fc0a7c06610efd68c419222a1d24c9 [2021-04-17T22:43:31.462Z] $ docker rm -f bea80b49b82c5defa5b8700f5e08b69421fc0a7c06610efd68c419222a1d24c9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-17T22:43:31.865Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-17T22:43:32.270Z] Stashed 1 file(s) [Pipeline] echo [2021-04-17T22:43:32.275Z] [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-17T22:43:47.438Z] Still waiting to schedule task [2021-04-17T22:43:47.438Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-587’ is offline; ‘prd-centos7-docker-4c-2g-588’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-586’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-17T22:43:47.441Z] Still waiting to schedule task [2021-04-17T22:43:47.441Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-586’ is offline [2021-04-17T22:45:20.931Z] Running on prd-centos7-docker-4c-2g-589 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-17T22:45:20.948Z] Running in /w/workspace/device-sdk-go/36 [Pipeline] { [Pipeline] checkout [2021-04-17T22:45:30.607Z] using credential edgex-jenkins-ssh [2021-04-17T22:45:30.633Z] Cloning the remote Git repository [2021-04-17T22:45:30.695Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:45:30.816Z] > git init /w/workspace/device-sdk-go/36 # timeout=10 [2021-04-17T22:45:30.984Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:45:30.985Z] > git --version # timeout=10 [2021-04-17T22:45:31.124Z] > git --version # 'git version 2.24.3' [2021-04-17T22:45:31.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:45:31.227Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-17T22:45:32.943Z] Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-17T22:45:32.285Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-17T22:45:32.294Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-17T22:45:32.307Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-17T22:45:32.335Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:45:32.336Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:45:32.346Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-17T22:45:32.952Z] > git config core.sparsecheckout # timeout=10 [2021-04-17T22:45:33.057Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-17T22:45:33.575Z] Merge succeeded, producing 58f324f828991ce068bcc0ee781b845bc63627f9 [2021-04-17T22:45:33.575Z] Checking out Revision 58f324f828991ce068bcc0ee781b845bc63627f9 (PR-725) [2021-04-17T22:45:33.208Z] > git remote # timeout=10 [2021-04-17T22:45:33.270Z] > git config --get remote.origin.url # timeout=10 [2021-04-17T22:45:33.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:45:33.400Z] > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 [2021-04-17T22:45:33.552Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-17T22:45:33.574Z] > git config core.sparsecheckout # timeout=10 [2021-04-17T22:45:33.643Z] > git checkout -f 58f324f828991ce068bcc0ee781b845bc63627f9 # timeout=10 [2021-04-17T22:45:38.787Z] Commit message: "Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD" [2021-04-17T22:45:38.834Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-17T22:45:38.789Z] > git rev-list --no-walk 5158b96cebebe48af021ba8fe4939eb881cc437b # timeout=10 [2021-04-17T22:45:40.593Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-17T22:45:41.080Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-17T22:45:41.448Z] + true [2021-04-17T22:45:41.448Z] + sudo service docker restart [2021-04-17T22:45:41.448Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-17T22:45:42.910Z] provisioning config files... [2021-04-17T22:45:42.943Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/36@tmp/config3058949519745562833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:45:43.364Z] ---> docker-login.sh [2021-04-17T22:45:43.364Z] nexus3.edgexfoundry.org:10001 [2021-04-17T22:45:44.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:45:45.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:45:45.157Z] Configure a credential helper to remove this warning. See [2021-04-17T22:45:45.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:45:45.157Z] [2021-04-17T22:45:45.157Z] Login Succeeded [2021-04-17T22:45:45.157Z] nexus3.edgexfoundry.org:10002 [2021-04-17T22:45:45.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:45:45.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:45:45.831Z] Configure a credential helper to remove this warning. See [2021-04-17T22:45:45.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:45:45.831Z] [2021-04-17T22:45:45.831Z] Login Succeeded [2021-04-17T22:45:45.831Z] nexus3.edgexfoundry.org:10003 [2021-04-17T22:45:46.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:45:46.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:45:46.103Z] Configure a credential helper to remove this warning. See [2021-04-17T22:45:46.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:45:46.103Z] [2021-04-17T22:45:46.103Z] Login Succeeded [2021-04-17T22:45:46.103Z] nexus3.edgexfoundry.org:10004 [2021-04-17T22:45:46.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:45:46.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:45:46.373Z] Configure a credential helper to remove this warning. See [2021-04-17T22:45:46.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:45:46.373Z] [2021-04-17T22:45:46.373Z] Login Succeeded [2021-04-17T22:45:46.373Z] docker.io [2021-04-17T22:45:47.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:45:47.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:45:47.738Z] Configure a credential helper to remove this warning. See [2021-04-17T22:45:47.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:45:47.738Z] [2021-04-17T22:45:47.738Z] Login Succeeded [2021-04-17T22:45:47.738Z] ---> docker-login.sh ends [Pipeline] } [2021-04-17T22:45:47.791Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-17T22:45:48.110Z] ========================================================= [2021-04-17T22:45:48.110Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-17T22:45:48.110Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:45:48.675Z] + 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-17T22:45:48.991Z] Sending build context to Docker daemon 2.46MB [2021-04-17T22:45:48.991Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-17T22:45:48.991Z] Step 2/8 : FROM ${BASE} [2021-04-17T22:45:49.292Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-17T22:45:49.292Z] 188c0c94c7c5: Pulling fs layer [2021-04-17T22:45:49.292Z] 0ef7d3d256c8: Pulling fs layer [2021-04-17T22:45:49.292Z] de9db76c5a1d: Pulling fs layer [2021-04-17T22:45:49.292Z] bca2f99d35d6: Pulling fs layer [2021-04-17T22:45:49.292Z] 93359f2a8cfa: Pulling fs layer [2021-04-17T22:45:49.292Z] 7c6f9722023f: Pulling fs layer [2021-04-17T22:45:49.292Z] a35cf1a2eb13: Pulling fs layer [2021-04-17T22:45:49.292Z] bca2f99d35d6: Waiting [2021-04-17T22:45:49.292Z] 7c6f9722023f: Waiting [2021-04-17T22:45:49.292Z] a35cf1a2eb13: Waiting [2021-04-17T22:45:49.292Z] 93359f2a8cfa: Waiting [2021-04-17T22:45:49.292Z] de9db76c5a1d: Verifying Checksum [2021-04-17T22:45:49.292Z] de9db76c5a1d: Download complete [2021-04-17T22:45:49.292Z] 0ef7d3d256c8: Verifying Checksum [2021-04-17T22:45:49.292Z] 0ef7d3d256c8: Download complete [2021-04-17T22:45:49.292Z] 93359f2a8cfa: Verifying Checksum [2021-04-17T22:45:49.292Z] 93359f2a8cfa: Download complete [2021-04-17T22:45:49.292Z] 7c6f9722023f: Verifying Checksum [2021-04-17T22:45:49.292Z] 7c6f9722023f: Download complete [2021-04-17T22:45:49.292Z] 188c0c94c7c5: Verifying Checksum [2021-04-17T22:45:49.292Z] 188c0c94c7c5: Download complete [2021-04-17T22:45:50.580Z] 188c0c94c7c5: Pull complete [2021-04-17T22:45:51.661Z] 0ef7d3d256c8: Pull complete [2021-04-17T22:45:51.661Z] de9db76c5a1d: Pull complete [2021-04-17T22:45:56.007Z] a35cf1a2eb13: Verifying Checksum [2021-04-17T22:45:56.007Z] a35cf1a2eb13: Download complete [2021-04-17T22:45:57.107Z] bca2f99d35d6: Verifying Checksum [2021-04-17T22:45:57.107Z] bca2f99d35d6: Download complete [2021-04-17T22:46:12.651Z] bca2f99d35d6: Pull complete [2021-04-17T22:46:12.651Z] 93359f2a8cfa: Pull complete [2021-04-17T22:46:12.934Z] 7c6f9722023f: Pull complete [2021-04-17T22:46:24.314Z] a35cf1a2eb13: Pull complete [2021-04-17T22:46:24.315Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-17T22:46:24.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-17T22:46:24.315Z] ---> a62c8e92a672 [2021-04-17T22:46:24.315Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:46:24.315Z] ---> Running in 763daedb0d45 [2021-04-17T22:46:24.315Z] Removing intermediate container 763daedb0d45 [2021-04-17T22:46:24.315Z] ---> d59ebcf20666 [2021-04-17T22:46:24.315Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:46:24.315Z] ---> Running in 6cb9a1a86d87 [2021-04-17T22:46:27.337Z] Removing intermediate container 6cb9a1a86d87 [2021-04-17T22:46:27.337Z] ---> 01967fc863c0 [2021-04-17T22:46:27.337Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-17T22:46:27.337Z] ---> Running in 762f74c4f932 [2021-04-17T22:46:28.851Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-17T22:46:29.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-17T22:46:31.223Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-17T22:46:31.223Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-17T22:46:31.223Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-17T22:46:31.502Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-17T22:46:31.502Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-17T22:46:31.817Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-17T22:46:31.817Z] Executing busybox-1.31.1-r19.trigger [2021-04-17T22:46:31.817Z] OK: 167 MiB in 45 packages [2021-04-17T22:46:33.338Z] Removing intermediate container 762f74c4f932 [2021-04-17T22:46:33.338Z] ---> 69825b97ff78 [2021-04-17T22:46:33.338Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-17T22:46:33.338Z] ---> Running in ae55872d5459 [2021-04-17T22:46:33.635Z] Removing intermediate container ae55872d5459 [2021-04-17T22:46:33.635Z] ---> 62cb17dcac49 [2021-04-17T22:46:33.635Z] Step 7/8 : COPY . . [2021-04-17T22:46:36.618Z] ---> 3f77b0a6f483 [2021-04-17T22:46:36.618Z] Step 8/8 : RUN go mod download [2021-04-17T22:46:36.618Z] ---> Running in fa53e0cd6f33 [2021-04-17T22:47:04.848Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-593 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-17T22:47:04.865Z] Running in /w/workspace/device-sdk-go/36 [Pipeline] { [Pipeline] checkout [2021-04-17T22:47:10.492Z] using credential edgex-jenkins-ssh [2021-04-17T22:47:10.511Z] Cloning the remote Git repository [2021-04-17T22:47:10.563Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:47:10.673Z] > git init /w/workspace/device-sdk-go/36 # timeout=10 [2021-04-17T22:47:10.999Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:47:11.000Z] > git --version # timeout=10 [2021-04-17T22:47:11.042Z] > git --version # 'git version 2.17.1' [2021-04-17T22:47:11.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:47:11.165Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-17T22:47:12.343Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-17T22:47:12.368Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-17T22:47:12.399Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-17T22:47:12.443Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:47:12.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:47:12.453Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-17T22:47:13.024Z] Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-17T22:47:13.497Z] Merge succeeded, producing 6a4a9a2c5e4beb2581d98ca462f69e8bf9bb3049 [2021-04-17T22:47:13.498Z] Checking out Revision 6a4a9a2c5e4beb2581d98ca462f69e8bf9bb3049 (PR-725) [2021-04-17T22:47:13.047Z] > git config core.sparsecheckout # timeout=10 [2021-04-17T22:47:13.062Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-17T22:47:13.181Z] > git remote # timeout=10 [2021-04-17T22:47:13.198Z] > git config --get remote.origin.url # timeout=10 [2021-04-17T22:47:13.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:47:13.223Z] > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 [2021-04-17T22:47:13.478Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-17T22:47:13.508Z] > git config core.sparsecheckout # timeout=10 [2021-04-17T22:47:13.520Z] > git checkout -f 6a4a9a2c5e4beb2581d98ca462f69e8bf9bb3049 # timeout=10 [2021-04-17T22:47:16.628Z] Removing intermediate container fa53e0cd6f33 [2021-04-17T22:47:16.628Z] ---> e4dac405ee0e [2021-04-17T22:47:16.628Z] Successfully built e4dac405ee0e [2021-04-17T22:47:16.628Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:47:17.073Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-17T22:47:17.399Z] . [Pipeline] withDockerContainer [2021-04-17T22:47:17.717Z] Commit message: "Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD" [2021-04-17T22:47:17.740Z] First time build. Skipping changelog. [2021-04-17T22:47:18.214Z] prd-centos7-docker-4c-2g-589 does not seem to be running inside a container [2021-04-17T22:47:17.728Z] > git rev-list --no-walk 5158b96cebebe48af021ba8fe4939eb881cc437b # timeout=10 [2021-04-17T22:47:18.657Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-17T22:47:21.393Z] $ docker top 62f7af7b64a8921de3e8a4c414719f79ce3962de04d25d662dffa246764294a5 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-17T22:47:22.183Z] + go version [2021-04-17T22:47:22.183Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-17T22:47:22.711Z] $ docker stop --time=1 62f7af7b64a8921de3e8a4c414719f79ce3962de04d25d662dffa246764294a5 [2021-04-17T22:47:23.005Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-04-17T22:47:24.464Z] $ docker rm -f 62f7af7b64a8921de3e8a4c414719f79ce3962de04d25d662dffa246764294a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:47:24.940Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-17T22:47:25.153Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-17T22:47:25.286Z] + true [2021-04-17T22:47:25.286Z] + sudo service docker restart [2021-04-17T22:47:25.451Z] . [Pipeline] withDockerContainer [2021-04-17T22:47:25.713Z] prd-centos7-docker-4c-2g-589 does not seem to be running inside a container [2021-04-17T22:47:25.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-17T22:47:27.900Z] $ docker top a61bd9b48889a3a97976acade2d5c32a86ba3a2ad4f1de9c817a53ce005e0c32 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] wrap [2021-04-17T22:47:28.353Z] provisioning config files... [2021-04-17T22:47:28.399Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/36@tmp/config7622141058076683185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:47:28.668Z] + make test [2021-04-17T22:47:28.668Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-17T22:47:28.778Z] ---> docker-login.sh [2021-04-17T22:47:28.778Z] nexus3.edgexfoundry.org:10001 [2021-04-17T22:47:29.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:47:30.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:47:30.035Z] Configure a credential helper to remove this warning. See [2021-04-17T22:47:30.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:47:30.035Z] [2021-04-17T22:47:30.035Z] Login Succeeded [2021-04-17T22:47:30.035Z] nexus3.edgexfoundry.org:10002 [2021-04-17T22:47:30.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:47:30.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:47:30.581Z] Configure a credential helper to remove this warning. See [2021-04-17T22:47:30.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:47:30.581Z] [2021-04-17T22:47:30.581Z] Login Succeeded [2021-04-17T22:47:30.581Z] nexus3.edgexfoundry.org:10003 [2021-04-17T22:47:30.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:47:31.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:47:31.134Z] Configure a credential helper to remove this warning. See [2021-04-17T22:47:31.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:47:31.134Z] [2021-04-17T22:47:31.134Z] Login Succeeded [2021-04-17T22:47:31.134Z] nexus3.edgexfoundry.org:10004 [2021-04-17T22:47:31.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:47:31.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:47:31.682Z] Configure a credential helper to remove this warning. See [2021-04-17T22:47:31.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:47:31.682Z] [2021-04-17T22:47:31.682Z] Login Succeeded [2021-04-17T22:47:31.682Z] docker.io [2021-04-17T22:47:31.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:47:32.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:47:32.224Z] Configure a credential helper to remove this warning. See [2021-04-17T22:47:32.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:47:32.224Z] [2021-04-17T22:47:32.224Z] Login Succeeded [2021-04-17T22:47:32.224Z] ---> docker-login.sh ends [Pipeline] } [2021-04-17T22:47:32.240Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-17T22:47:32.526Z] ========================================================= [2021-04-17T22:47:32.526Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-17T22:47:32.526Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:47:32.867Z] + 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-17T22:47:33.152Z] Sending build context to Docker daemon 2.459MB [2021-04-17T22:47:33.428Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-17T22:47:33.428Z] Step 2/8 : FROM ${BASE} [2021-04-17T22:47:33.428Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-17T22:47:33.428Z] 5f621e34cdf4: Pulling fs layer [2021-04-17T22:47:33.428Z] a4357932f1b6: Pulling fs layer [2021-04-17T22:47:33.428Z] 18c013af1878: Pulling fs layer [2021-04-17T22:47:33.428Z] 00ac8860ef70: Pulling fs layer [2021-04-17T22:47:33.428Z] 63d7cb157983: Pulling fs layer [2021-04-17T22:47:33.428Z] 00ac8860ef70: Waiting [2021-04-17T22:47:33.429Z] 63d7cb157983: Waiting [2021-04-17T22:47:33.429Z] b116817d02f9: Pulling fs layer [2021-04-17T22:47:33.429Z] 745a02a5169b: Pulling fs layer [2021-04-17T22:47:33.429Z] b116817d02f9: Waiting [2021-04-17T22:47:33.429Z] 745a02a5169b: Waiting [2021-04-17T22:47:33.429Z] 18c013af1878: Verifying Checksum [2021-04-17T22:47:33.429Z] 18c013af1878: Download complete [2021-04-17T22:47:33.429Z] a4357932f1b6: Verifying Checksum [2021-04-17T22:47:33.429Z] a4357932f1b6: Download complete [2021-04-17T22:47:33.429Z] 63d7cb157983: Verifying Checksum [2021-04-17T22:47:33.429Z] 63d7cb157983: Download complete [2021-04-17T22:47:33.429Z] b116817d02f9: Verifying Checksum [2021-04-17T22:47:33.429Z] b116817d02f9: Download complete [2021-04-17T22:47:33.429Z] 5f621e34cdf4: Download complete [2021-04-17T22:47:34.421Z] 5f621e34cdf4: Pull complete [2021-04-17T22:47:34.697Z] a4357932f1b6: Pull complete [2021-04-17T22:47:35.300Z] 18c013af1878: Pull complete [2021-04-17T22:47:35.897Z] 745a02a5169b: Verifying Checksum [2021-04-17T22:47:35.897Z] 745a02a5169b: Download complete [2021-04-17T22:47:36.885Z] 00ac8860ef70: Verifying Checksum [2021-04-17T22:47:36.885Z] 00ac8860ef70: Download complete [2021-04-17T22:47:47.048Z] 00ac8860ef70: Pull complete [2021-04-17T22:47:47.327Z] 63d7cb157983: Pull complete [2021-04-17T22:47:47.602Z] b116817d02f9: Pull complete [2021-04-17T22:47:47.863Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-17T22:47:51.932Z] 745a02a5169b: Pull complete [2021-04-17T22:47:51.932Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-17T22:47:51.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-17T22:47:51.932Z] ---> b7e6874047d6 [2021-04-17T22:47:51.932Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:47:54.559Z] ---> Running in 146014f38c60 [2021-04-17T22:47:54.559Z] Removing intermediate container 146014f38c60 [2021-04-17T22:47:54.559Z] ---> c4a462048be5 [2021-04-17T22:47:54.559Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:47:54.833Z] ---> Running in ac216cf0a329 [2021-04-17T22:47:57.456Z] Removing intermediate container ac216cf0a329 [2021-04-17T22:47:57.456Z] ---> 7bcabe02a744 [2021-04-17T22:47:57.456Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-17T22:47:57.456Z] ---> Running in 60ef93abfc67 [2021-04-17T22:47:58.434Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-17T22:47:59.036Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-17T22:48:00.014Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-17T22:48:00.014Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-17T22:48:00.014Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-17T22:48:00.014Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-17T22:48:00.292Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-17T22:48:00.292Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-17T22:48:00.292Z] Executing busybox-1.31.1-r19.trigger [2021-04-17T22:48:00.292Z] OK: 144 MiB in 45 packages [2021-04-17T22:48:01.734Z] Removing intermediate container 60ef93abfc67 [2021-04-17T22:48:01.734Z] ---> f3c5b9d5a40b [2021-04-17T22:48:01.734Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-17T22:48:01.734Z] ---> Running in 096d71c97c09 [2021-04-17T22:48:02.327Z] Removing intermediate container 096d71c97c09 [2021-04-17T22:48:02.327Z] ---> 9cd80ed7376c [2021-04-17T22:48:02.327Z] Step 7/8 : COPY . . [2021-04-17T22:48:03.301Z] ---> 1a467978a6cb [2021-04-17T22:48:03.301Z] Step 8/8 : RUN go mod download [2021-04-17T22:48:03.572Z] ---> Running in 760b4f127866 [2021-04-17T22:48:28.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-17T22:48:28.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-17T22:48:28.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-17T22:48:28.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-17T22:48:28.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-17T22:48:28.661Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.132s coverage: 28.1% of statements [2021-04-17T22:48:28.661Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.128s coverage: 78.9% of statements [2021-04-17T22:48:28.661Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.104s coverage: 7.8% of statements [2021-04-17T22:48:28.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-17T22:48:28.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-17T22:48:28.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-17T22:48:28.661Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 32.0% of statements [2021-04-17T22:48:28.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-17T22:48:28.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-17T22:48:28.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-17T22:48:30.349Z] Removing intermediate container 760b4f127866 [2021-04-17T22:48:30.350Z] ---> f356851cdc04 [2021-04-17T22:48:30.350Z] Successfully built f356851cdc04 [2021-04-17T22:48:30.350Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:48:30.695Z] + docker inspect -f . ci-base-image-arm64 [2021-04-17T22:48:30.696Z] . [Pipeline] withDockerContainer [2021-04-17T22:48:30.965Z] prd-ubuntu18.04-docker-arm64-4c-16g-593 does not seem to be running inside a container [2021-04-17T22:48:30.982Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.140s coverage: 57.1% of statements [2021-04-17T22:48:31.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-17T22:48:31.596Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.468s coverage: 6.6% of statements [2021-04-17T22:48:31.905Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 5.0% of statements [2021-04-17T22:48:31.905Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-17T22:48:32.177Z] GO111MODULE=on go vet ./... [2021-04-17T22:48:32.670Z] $ docker top 5fa9fb7fe85ffb89e123a2feb4a938d69afe47eb6889d14c76e29b4a89e8fac5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-17T22:48:33.624Z] + go version [2021-04-17T22:48:33.624Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-17T22:48:33.648Z] $ docker stop --time=1 5fa9fb7fe85ffb89e123a2feb4a938d69afe47eb6889d14c76e29b4a89e8fac5 [2021-04-17T22:48:35.604Z] $ docker rm -f 5fa9fb7fe85ffb89e123a2feb4a938d69afe47eb6889d14c76e29b4a89e8fac5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:48:36.255Z] + docker inspect -f . ci-base-image-arm64 [2021-04-17T22:48:36.255Z] . [Pipeline] withDockerContainer [2021-04-17T22:48:36.508Z] prd-ubuntu18.04-docker-arm64-4c-16g-593 does not seem to be running inside a container [2021-04-17T22:48:36.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-17T22:48:38.062Z] $ docker top 1755c0b3cfd94321fbc2a03f6ec7486658f5d595f35194ceea3a83c548304589 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-17T22:48:38.988Z] + make test [2021-04-17T22:48:38.988Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-17T22:48:59.825Z] gofmt -l . [2021-04-17T22:48:59.825Z] [ "`gofmt -l .`" = "" ] [2021-04-17T22:48:59.825Z] ./bin/test-attribution-txt.sh [2021-04-17T22:48:59.825Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-17T22:49:00.157Z] $ docker stop --time=1 a61bd9b48889a3a97976acade2d5c32a86ba3a2ad4f1de9c817a53ce005e0c32 [2021-04-17T22:49:01.179Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-17T22:49:03.376Z] $ docker rm -f a61bd9b48889a3a97976acade2d5c32a86ba3a2ad4f1de9c817a53ce005e0c32 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-17T22:49:04.507Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-17T22:49:05.668Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-17T22:49:06.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-17T22:49:07.326Z] + ls -al . [2021-04-17T22:49:07.326Z] total 188 [2021-04-17T22:49:07.326Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 17 22:48 . [2021-04-17T22:49:07.326Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 17 22:45 .. [2021-04-17T22:49:07.326Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 17 22:45 bin [2021-04-17T22:49:07.326Z] -rw-r--r--. 1 jenkins jenkins 100116 Apr 17 22:48 coverage.out [2021-04-17T22:49:07.326Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 17 22:45 Dockerfile.build [2021-04-17T22:49:07.326Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 17 22:45 .dockerignore [2021-04-17T22:49:07.326Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 17 22:45 example [2021-04-17T22:49:07.326Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 17 22:45 .git [2021-04-17T22:49:07.326Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 17 22:45 .github [2021-04-17T22:49:07.326Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 17 22:45 .gitignore [2021-04-17T22:49:07.327Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 17 22:48 go.mod [2021-04-17T22:49:07.327Z] -rw-r--r--. 1 jenkins jenkins 20735 Apr 17 22:48 go.sum [2021-04-17T22:49:07.327Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 17 22:45 internal [2021-04-17T22:49:07.327Z] -rw-rw-r--. 1 jenkins jenkins 894 Apr 17 22:45 Jenkinsfile [2021-04-17T22:49:07.327Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 17 22:45 LICENSE [2021-04-17T22:49:07.327Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 17 22:45 Makefile [2021-04-17T22:49:07.327Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 17 22:45 openapi [2021-04-17T22:49:07.327Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 17 22:45 pkg [2021-04-17T22:49:07.327Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 17 22:45 README.md [2021-04-17T22:49:07.327Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 17 22:45 RELEASE-NOTES.txt [2021-04-17T22:49:07.327Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 17 22:45 snap [2021-04-17T22:49:07.327Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 17 22:43 VERSION [2021-04-17T22:49:07.327Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 17 22:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:49:07.692Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a8d60f956115993d26ccd83775acbf9de8b4268b --label arch=amd64 --label version=0.0.0 . [2021-04-17T22:49:07.991Z] Sending build context to Docker daemon 2.561MB [2021-04-17T22:49:08.334Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-17T22:49:08.334Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-17T22:49:08.334Z] ---> e4dac405ee0e [2021-04-17T22:49:08.334Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-17T22:49:08.954Z] ---> Running in 413e3a59f94c [2021-04-17T22:49:09.247Z] Removing intermediate container 413e3a59f94c [2021-04-17T22:49:09.247Z] ---> 95cc1c20bffc [2021-04-17T22:49:09.247Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:49:09.537Z] ---> Running in 2e41fefb374e [2021-04-17T22:49:10.306Z] Removing intermediate container 2e41fefb374e [2021-04-17T22:49:10.306Z] ---> 679d71badaa9 [2021-04-17T22:49:10.306Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:49:10.306Z] ---> Running in e6e688ed3014 [2021-04-17T22:49:11.767Z] Removing intermediate container e6e688ed3014 [2021-04-17T22:49:11.767Z] ---> 07af7fa31c25 [2021-04-17T22:49:11.767Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-17T22:49:11.767Z] ---> Running in 1389c11f1a49 [2021-04-17T22:49:12.391Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-17T22:49:13.381Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-17T22:49:13.771Z] OK: 167 MiB in 45 packages [2021-04-17T22:49:14.913Z] Removing intermediate container 1389c11f1a49 [2021-04-17T22:49:14.913Z] ---> a70f11325591 [2021-04-17T22:49:14.913Z] Step 7/23 : COPY . . [2021-04-17T22:49:15.561Z] ---> 77ef87ee647e [2021-04-17T22:49:15.561Z] Step 8/23 : RUN go mod download [2021-04-17T22:49:15.561Z] ---> Running in 5de7c5067847 [2021-04-17T22:49:20.544Z] Removing intermediate container 5de7c5067847 [2021-04-17T22:49:20.544Z] ---> c7180547bf4a [2021-04-17T22:49:20.544Z] Step 9/23 : RUN make build [2021-04-17T22:49:20.544Z] ---> Running in f1f6d49c4a95 [2021-04-17T22:49:21.182Z] 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-17T22:49:39.790Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-17T22:49:40.399Z] Removing intermediate container f1f6d49c4a95 [2021-04-17T22:49:40.399Z] ---> 1acc4416f5b1 [2021-04-17T22:49:40.399Z] Step 10/23 : FROM alpine:3.12 [2021-04-17T22:49:41.058Z] 3.12: Pulling from library/alpine [2021-04-17T22:49:41.058Z] 339de151aab4: Pulling fs layer [2021-04-17T22:49:41.377Z] 339de151aab4: Download complete [2021-04-17T22:49:42.445Z] 339de151aab4: Pull complete [2021-04-17T22:49:42.445Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-17T22:49:42.445Z] Status: Downloaded newer image for alpine:3.12 [2021-04-17T22:49:42.445Z] ---> 13621d1b12d4 [2021-04-17T22:49:42.445Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:49:42.712Z] ---> Running in 2a209c8dc187 [2021-04-17T22:49:42.996Z] Removing intermediate container 2a209c8dc187 [2021-04-17T22:49:42.996Z] ---> a311787c4253 [2021-04-17T22:49:42.996Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:49:42.996Z] ---> Running in 90516f6023df [2021-04-17T22:49:45.125Z] Removing intermediate container 90516f6023df [2021-04-17T22:49:45.125Z] ---> 592c6b8f3a79 [2021-04-17T22:49:45.125Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-17T22:49:45.125Z] ---> Running in 8f3744a99dd2 [2021-04-17T22:49:46.640Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-17T22:49:47.675Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-17T22:49:48.661Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-17T22:49:48.938Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-17T22:49:48.938Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-17T22:49:49.564Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-17T22:49:49.564Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-17T22:49:49.564Z] Executing busybox-1.31.1-r20.trigger [2021-04-17T22:49:49.564Z] OK: 8 MiB in 19 packages [2021-04-17T22:49:51.128Z] Removing intermediate container 8f3744a99dd2 [2021-04-17T22:49:51.128Z] ---> 58e83d76f862 [2021-04-17T22:49:51.128Z] Step 14/23 : WORKDIR / [2021-04-17T22:49:51.436Z] ---> Running in eb03fa9737d1 [2021-04-17T22:49:51.739Z] Removing intermediate container eb03fa9737d1 [2021-04-17T22:49:51.739Z] ---> de9fa6fcfa11 [2021-04-17T22:49:51.739Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-17T22:49:52.381Z] ---> 66893072f093 [2021-04-17T22:49:52.381Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-17T22:49:53.547Z] ---> 014df678658f [2021-04-17T22:49:53.547Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-17T22:49:54.215Z] ---> 8478aa55d12f [2021-04-17T22:49:54.215Z] Step 18/23 : EXPOSE 49990 [2021-04-17T22:49:54.215Z] ---> Running in 18b06e2e81a3 [2021-04-17T22:49:54.882Z] Removing intermediate container 18b06e2e81a3 [2021-04-17T22:49:54.882Z] ---> b48c3f89277f [2021-04-17T22:49:54.882Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-17T22:49:54.882Z] ---> Running in e3cb1bc5bd1e [2021-04-17T22:49:55.157Z] Removing intermediate container e3cb1bc5bd1e [2021-04-17T22:49:55.157Z] ---> 79ea138b9340 [2021-04-17T22:49:55.157Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-17T22:49:55.461Z] ---> Running in 53467bc7de5f [2021-04-17T22:49:55.746Z] Removing intermediate container 53467bc7de5f [2021-04-17T22:49:55.746Z] ---> 73b3f971ed2e [2021-04-17T22:49:55.746Z] Step 21/23 : LABEL arch=amd64 [2021-04-17T22:49:55.746Z] ---> Running in a40e580a7d2b [2021-04-17T22:49:56.360Z] Removing intermediate container a40e580a7d2b [2021-04-17T22:49:56.360Z] ---> 2deb33047939 [2021-04-17T22:49:56.360Z] Step 22/23 : LABEL git_sha=a8d60f956115993d26ccd83775acbf9de8b4268b [2021-04-17T22:49:56.360Z] ---> Running in 4ccd78f71f5d [2021-04-17T22:49:56.633Z] Removing intermediate container 4ccd78f71f5d [2021-04-17T22:49:56.633Z] ---> 72fdfb52b57b [2021-04-17T22:49:56.633Z] Step 23/23 : LABEL version=0.0.0 [2021-04-17T22:49:56.633Z] ---> Running in f2eca7374825 [2021-04-17T22:49:57.039Z] Removing intermediate container f2eca7374825 [2021-04-17T22:49:57.039Z] ---> 1cd568d2f3f3 [2021-04-17T22:49:57.039Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-17T22:49:57.315Z] Successfully built 1cd568d2f3f3 [2021-04-17T22:49:57.315Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:49:57.825Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-17T22:49:57.825Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-17T22:49:57.825Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-17T22:49:57.825Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-17T22:49:57.825Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-17T22:49:58.032Z] ---> job-cost.sh [2021-04-17T22:49:58.033Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jbgB [2021-04-17T22:50:01.261Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.126s coverage: 28.1% of statements [2021-04-17T22:50:01.865Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.235s coverage: 78.9% of statements [2021-04-17T22:50:01.865Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.161s coverage: 7.8% of statements [2021-04-17T22:50:01.865Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-17T22:50:01.865Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-17T22:50:01.865Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-17T22:50:03.309Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.273s coverage: 32.0% of statements [2021-04-17T22:50:03.309Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-17T22:50:03.309Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-17T22:50:03.309Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-17T22:50:07.652Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.287s coverage: 57.1% of statements [2021-04-17T22:50:07.652Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.402s coverage: 6.6% of statements [2021-04-17T22:50:07.652Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.151s coverage: 5.0% of statements [2021-04-17T22:50:07.652Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-17T22:50:07.652Z] GO111MODULE=on go vet ./... [2021-04-17T22:50:25.264Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-17T22:50:54.669Z] gofmt -l . [2021-04-17T22:50:54.669Z] [ "`gofmt -l .`" = "" ] [2021-04-17T22:50:54.669Z] ./bin/test-attribution-txt.sh [2021-04-17T22:50:54.669Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-17T22:50:54.694Z] $ docker stop --time=1 1755c0b3cfd94321fbc2a03f6ec7486658f5d595f35194ceea3a83c548304589 [2021-04-17T22:50:56.999Z] $ docker rm -f 1755c0b3cfd94321fbc2a03f6ec7486658f5d595f35194ceea3a83c548304589 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-17T22:50:58.057Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-17T22:50:58.089Z] Warning: overwriting stash ‘coverage-report’ [2021-04-17T22:50:59.018Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-17T22:50:59.443Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-17T22:50:59.776Z] + ls -al . [2021-04-17T22:50:59.776Z] total 224 [2021-04-17T22:50:59.776Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 22:50 . [2021-04-17T22:50:59.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:47 .. [2021-04-17T22:50:59.776Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 22:47 .dockerignore [2021-04-17T22:50:59.776Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 22:47 .git [2021-04-17T22:50:59.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 22:47 .github [2021-04-17T22:50:59.776Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 17 22:47 .gitignore [2021-04-17T22:50:59.776Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 17 22:47 Dockerfile.build [2021-04-17T22:50:59.776Z] -rw-rw-r-- 1 jenkins jenkins 894 Apr 17 22:47 Jenkinsfile [2021-04-17T22:50:59.776Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 22:47 LICENSE [2021-04-17T22:50:59.776Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 17 22:47 Makefile [2021-04-17T22:50:59.776Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 17 22:47 README.md [2021-04-17T22:50:59.776Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 17 22:47 RELEASE-NOTES.txt [2021-04-17T22:50:59.776Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 22:43 VERSION [2021-04-17T22:50:59.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 22:47 bin [2021-04-17T22:50:59.776Z] -rw-r--r-- 1 jenkins jenkins 100116 Apr 17 22:50 coverage.out [2021-04-17T22:50:59.776Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 22:47 example [2021-04-17T22:50:59.776Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 17 22:50 go.mod [2021-04-17T22:50:59.776Z] -rw-r--r-- 1 jenkins jenkins 20735 Apr 17 22:50 go.sum [2021-04-17T22:50:59.776Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 17 22:47 internal [2021-04-17T22:50:59.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:47 openapi [2021-04-17T22:50:59.776Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 22:47 pkg [2021-04-17T22:50:59.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:47 snap [2021-04-17T22:50:59.776Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 22:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:51:00.115Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a8d60f956115993d26ccd83775acbf9de8b4268b --label arch=arm64 --label version=0.0.0 . [2021-04-17T22:51:00.389Z] Sending build context to Docker daemon 2.559MB [2021-04-17T22:51:00.660Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-17T22:51:00.660Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-17T22:51:00.660Z] ---> f356851cdc04 [2021-04-17T22:51:00.660Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-17T22:51:00.936Z] ---> Running in d857f2ab9de8 [2021-04-17T22:51:01.208Z] Removing intermediate container d857f2ab9de8 [2021-04-17T22:51:01.208Z] ---> f4ce372dc1d5 [2021-04-17T22:51:01.208Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:51:01.480Z] ---> Running in 78e16b5dae38 [2021-04-17T22:51:02.079Z] Removing intermediate container 78e16b5dae38 [2021-04-17T22:51:02.080Z] ---> 822082b4fdcd [2021-04-17T22:51:02.080Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:51:02.080Z] ---> Running in 5d5aac69ede1 [2021-04-17T22:51:04.050Z] Removing intermediate container 5d5aac69ede1 [2021-04-17T22:51:04.050Z] ---> 4ef89e3ff066 [2021-04-17T22:51:04.050Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-17T22:51:04.328Z] ---> Running in 8faa1551e303 [2021-04-17T22:51:04.964Z] lf-activate-venv(): INFO: Adding /tmp/venv-jbgB/bin to PATH [2021-04-17T22:51:04.964Z] INFO: No Stack... [2021-04-17T22:51:04.964Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-17T22:51:05.248Z] INFO: Archiving Costs [2021-04-17T22:51:05.301Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] sh [2021-04-17T22:51:05.713Z] + cat /w/workspace/device-sdk-go/36/archives/cost.csv [2021-04-17T22:51:05.713Z] + cut -d, -f6 [Pipeline] lock [2021-04-17T22:51:05.885Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-36-stack-cost] [2021-04-17T22:51:05.894Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-36-stack-cost] did not exist. Created. [2021-04-17T22:51:05.894Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-17T22:51:06.273Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-17T22:51:06.280Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-17T22:51:06.541Z] Stashed 1 file(s) [Pipeline] } [2021-04-17T22:51:06.550Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-36-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-17T22:51:07.241Z] OK: 144 MiB in 45 packages [2021-04-17T22:51:08.664Z] Removing intermediate container 8faa1551e303 [2021-04-17T22:51:08.664Z] ---> 932982708613 [2021-04-17T22:51:08.664Z] Step 7/23 : COPY . . [2021-04-17T22:51:09.637Z] ---> 77012b4f8993 [2021-04-17T22:51:09.637Z] Step 8/23 : RUN go mod download [2021-04-17T22:51:09.909Z] ---> Running in 538ba20d2c2c [2021-04-17T22:51:12.530Z] Removing intermediate container 538ba20d2c2c [2021-04-17T22:51:12.530Z] ---> 08fba43d8dcf [2021-04-17T22:51:12.530Z] Step 9/23 : RUN make build [2021-04-17T22:51:12.530Z] ---> Running in 7f1e0c9689e7 [2021-04-17T22:51:13.506Z] 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-17T22:51:45.860Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-17T22:51:47.300Z] Removing intermediate container 7f1e0c9689e7 [2021-04-17T22:51:47.300Z] ---> e1cd158e02af [2021-04-17T22:51:47.300Z] Step 10/23 : FROM alpine:3.12 [2021-04-17T22:51:47.569Z] 3.12: Pulling from library/alpine [2021-04-17T22:51:47.838Z] d2f70382dc9a: Pulling fs layer [2021-04-17T22:51:47.838Z] d2f70382dc9a: Verifying Checksum [2021-04-17T22:51:47.838Z] d2f70382dc9a: Download complete [2021-04-17T22:51:48.429Z] d2f70382dc9a: Pull complete [2021-04-17T22:51:48.429Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-17T22:51:48.429Z] Status: Downloaded newer image for alpine:3.12 [2021-04-17T22:51:48.429Z] ---> 9852663dfa18 [2021-04-17T22:51:48.429Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:51:48.702Z] ---> Running in 62bf0e59498b [2021-04-17T22:51:49.306Z] Removing intermediate container 62bf0e59498b [2021-04-17T22:51:49.306Z] ---> cf4f58ad13f0 [2021-04-17T22:51:49.306Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:51:49.306Z] ---> Running in 3f15b5d00d68 [2021-04-17T22:51:51.272Z] Removing intermediate container 3f15b5d00d68 [2021-04-17T22:51:51.272Z] ---> 099eefca58f7 [2021-04-17T22:51:51.272Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-17T22:51:51.567Z] ---> Running in 5667edd821ec [2021-04-17T22:51:52.541Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-17T22:51:53.136Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-17T22:51:53.730Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-17T22:51:54.001Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-17T22:51:54.001Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-17T22:51:54.276Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-17T22:51:54.276Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-17T22:51:54.276Z] Executing busybox-1.31.1-r20.trigger [2021-04-17T22:51:54.276Z] OK: 8 MiB in 19 packages [2021-04-17T22:51:55.712Z] Removing intermediate container 5667edd821ec [2021-04-17T22:51:55.712Z] ---> 2225fa387b2a [2021-04-17T22:51:55.712Z] Step 14/23 : WORKDIR / [2021-04-17T22:51:55.712Z] ---> Running in 9c90a5d3319f [2021-04-17T22:51:56.304Z] Removing intermediate container 9c90a5d3319f [2021-04-17T22:51:56.304Z] ---> 272854d8dca2 [2021-04-17T22:51:56.304Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-17T22:51:56.898Z] ---> 2cf2725f44f8 [2021-04-17T22:51:56.898Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-17T22:51:58.328Z] ---> 0240f730fb52 [2021-04-17T22:51:58.328Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-17T22:51:58.923Z] ---> a8e397cd6c4f [2021-04-17T22:51:58.923Z] Step 18/23 : EXPOSE 49990 [2021-04-17T22:51:58.923Z] ---> Running in 5d9968deb8b5 [2021-04-17T22:51:59.516Z] Removing intermediate container 5d9968deb8b5 [2021-04-17T22:51:59.516Z] ---> 952c1e224606 [2021-04-17T22:51:59.516Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-17T22:51:59.516Z] ---> Running in 196e0805aa69 [2021-04-17T22:51:59.791Z] Removing intermediate container 196e0805aa69 [2021-04-17T22:51:59.791Z] ---> dff880a6432d [2021-04-17T22:51:59.791Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-17T22:52:00.077Z] ---> Running in 47ae6e955d62 [2021-04-17T22:52:00.670Z] Removing intermediate container 47ae6e955d62 [2021-04-17T22:52:00.671Z] ---> 277cb87c1685 [2021-04-17T22:52:00.671Z] Step 21/23 : LABEL arch=arm64 [2021-04-17T22:52:00.671Z] ---> Running in e151bd912758 [2021-04-17T22:52:01.267Z] Removing intermediate container e151bd912758 [2021-04-17T22:52:01.267Z] ---> 107d9e058659 [2021-04-17T22:52:01.267Z] Step 22/23 : LABEL git_sha=a8d60f956115993d26ccd83775acbf9de8b4268b [2021-04-17T22:52:01.267Z] ---> Running in 8352aa8d9a18 [2021-04-17T22:52:01.861Z] Removing intermediate container 8352aa8d9a18 [2021-04-17T22:52:01.861Z] ---> 1d32e48f5348 [2021-04-17T22:52:01.861Z] Step 23/23 : LABEL version=0.0.0 [2021-04-17T22:52:01.861Z] ---> Running in 640b5534b404 [2021-04-17T22:52:02.453Z] Removing intermediate container 640b5534b404 [2021-04-17T22:52:02.453Z] ---> 82dc9b7db2f2 [2021-04-17T22:52:02.453Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-17T22:52:02.453Z] Successfully built 82dc9b7db2f2 [2021-04-17T22:52:02.453Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:52:02.907Z] ---> job-cost.sh [2021-04-17T22:52:02.907Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CwWj [2021-04-17T22:52:41.853Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-17T22:54:18.601Z] lf-activate-venv(): INFO: Adding /tmp/venv-CwWj/bin to PATH [2021-04-17T22:54:18.601Z] INFO: No Stack... [2021-04-17T22:54:18.601Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-17T22:54:18.601Z] INFO: Archiving Costs [Pipeline] sh [2021-04-17T22:54:18.933Z] + cut -d, -f6+ [2021-04-17T22:54:18.933Z] cat /w/workspace/device-sdk-go/36/archives/cost.csv [Pipeline] lock [2021-04-17T22:54:19.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-36-stack-cost] [2021-04-17T22:54:19.061Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-36-stack-cost] did not exist. Created. [2021-04-17T22:54:19.061Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-17T22:54:19.429Z] /w/workspace/device-sdk-go/36@tmp/durable-16c46cc3/script.sh: 1: /w/workspace/device-sdk-go/36@tmp/durable-16c46cc3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-17T22:54:19.770Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-17T22:54:19.808Z] Warning: overwriting stash ‘stack-cost’ [2021-04-17T22:54:19.964Z] Stashed 1 file(s) [Pipeline] } [2021-04-17T22:54:19.982Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-36-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-17T22:54:20.384Z] provisioning config files... [2021-04-17T22:54:20.399Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5571986096313864163tmp [Pipeline] { [Pipeline] sh [2021-04-17T22:54:20.733Z] + set +x [2021-04-17T22:54:20.733Z] + curl -s https://codecov.io/bash [2021-04-17T22:54:20.733Z] + bash -s -- [2021-04-17T22:54:21.001Z] [2021-04-17T22:54:21.001Z] _____ _ [2021-04-17T22:54:21.001Z] / ____| | | [2021-04-17T22:54:21.001Z] | | ___ __| | ___ ___ _____ __ [2021-04-17T22:54:21.001Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-17T22:54:21.001Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-17T22:54:21.001Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-17T22:54:21.001Z] Bash-1.0.1 [2021-04-17T22:54:21.001Z] [2021-04-17T22:54:21.001Z] [2021-04-17T22:54:21.001Z] ==> git version 2.24.3 found [2021-04-17T22:54:21.001Z] ==> 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-17T22:54:21.001Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-17T22:54:21.001Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-17T22:54:21.001Z] ==> Jenkins CI detected. [2021-04-17T22:54:21.001Z] project root: . [2021-04-17T22:54:21.001Z] --> token set from env [2021-04-17T22:54:21.001Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-17T22:54:21.001Z] ==> Running gcov in . (disable via -X gcov) [2021-04-17T22:54:21.001Z] ==> Python coveragepy not found [2021-04-17T22:54:21.001Z] ==> Searching for coverage reports in: [2021-04-17T22:54:21.001Z] + . [2021-04-17T22:54:21.001Z] -> Found 1 reports [2021-04-17T22:54:21.001Z] ==> Detecting git/mercurial file structure [2021-04-17T22:54:21.001Z] ==> Reading reports [2021-04-17T22:54:21.001Z] + ./coverage.out bytes=100116 [2021-04-17T22:54:21.001Z] ==> Appending adjustments [2021-04-17T22:54:21.001Z] https://docs.codecov.io/docs/fixing-reports [2021-04-17T22:54:21.268Z] + Found adjustments [2021-04-17T22:54:21.268Z] ==> Gzipping contents [2021-04-17T22:54:21.268Z] 16K /tmp/codecov.RVk8Zi.gz [2021-04-17T22:54:21.268Z] ==> Uploading reports [2021-04-17T22:54:21.268Z] url: https://codecov.io [2021-04-17T22:54:21.268Z] query: branch=PR-725&commit=a8d60f956115993d26ccd83775acbf9de8b4268b&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-17T22:54:21.268Z] -> Pinging Codecov [2021-04-17T22:54:21.268Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-725&commit=a8d60f956115993d26ccd83775acbf9de8b4268b&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-17T22:54:21.841Z] -> Uploading to [2021-04-17T22:54:21.841Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-17/7E55EF52A471D76F132DFD9A03CDDE97/a8d60f956115993d26ccd83775acbf9de8b4268b/109baad5-cbde-458d-babd-18c7cdb47339.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQTQ3YJIJLIJGVGTVHAPGJID7VJUNCGTQF3BY2BVBYAXUZ3IB42ZKRMI%2F20210417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210417T225421Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ed4188fd199e2e41e1e5986721471dc3fef6fa1ed42c2f5fd6dff55d7966616a [2021-04-17T22:54:21.841Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-17T22:54:21.841Z] Dload Upload Total Spent Left Speed [2021-04-17T22:54:22.417Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13506 0 0 100 13506 0 27554 --:--:-- --:--:-- --:--:-- 27619 [2021-04-17T22:54:22.417Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a8d60f956115993d26ccd83775acbf9de8b4268b [Pipeline] } [2021-04-17T22:54:22.426Z] 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-17T22:54:23.292Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:54:23.860Z] ---> package-listing.sh [2021-04-17T22:54:23.860Z] ++ facter osfamily [2021-04-17T22:54:23.860Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-17T22:54:23.860Z] + OS_FAMILY=redhat [2021-04-17T22:54:23.860Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-17T22:54:23.860Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-17T22:54:23.860Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-17T22:54:23.860Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-17T22:54:23.860Z] + PACKAGES=/tmp/packages_start.txt [2021-04-17T22:54:23.860Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-17T22:54:23.860Z] + PACKAGES=/tmp/packages_end.txt [2021-04-17T22:54:23.860Z] + case "${OS_FAMILY}" in [2021-04-17T22:54:23.860Z] + rpm -qa [2021-04-17T22:54:23.860Z] + sort [2021-04-17T22:54:29.189Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-17T22:54:29.189Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-17T22:54:29.189Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-17T22:54:29.189Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-17T22:54:29.189Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-04-17T22:54:29.189Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-04-17T22:54:29.203Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-17T22:54:29.497Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:54:29.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-17T22:54:29.803Z] [2021-04-17T22:54:29.803Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:54:30.123Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-17T22:54:30.123Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-17T22:54:30.123Z] df20fa9351a1: Pulling fs layer [2021-04-17T22:54:30.123Z] 36b3adc4ff6f: Pulling fs layer [2021-04-17T22:54:30.123Z] 8ad3a11d3b57: Pulling fs layer [2021-04-17T22:54:30.123Z] 46f8f816bc3b: Pulling fs layer [2021-04-17T22:54:30.123Z] 93b61091891f: Pulling fs layer [2021-04-17T22:54:30.123Z] 93b9cdb0e59b: Pulling fs layer [2021-04-17T22:54:30.123Z] 5e14af77c1be: Pulling fs layer [2021-04-17T22:54:30.123Z] 01666e4c0597: Pulling fs layer [2021-04-17T22:54:30.123Z] aa168da1d23b: Pulling fs layer [2021-04-17T22:54:30.123Z] 93b61091891f: Waiting [2021-04-17T22:54:30.123Z] 93b9cdb0e59b: Waiting [2021-04-17T22:54:30.123Z] 5e14af77c1be: Waiting [2021-04-17T22:54:30.123Z] 01666e4c0597: Waiting [2021-04-17T22:54:30.123Z] aa168da1d23b: Waiting [2021-04-17T22:54:30.123Z] 46f8f816bc3b: Waiting [2021-04-17T22:54:30.123Z] 36b3adc4ff6f: Download complete [2021-04-17T22:54:30.123Z] 46f8f816bc3b: Verifying Checksum [2021-04-17T22:54:30.123Z] 46f8f816bc3b: Download complete [2021-04-17T22:54:30.392Z] df20fa9351a1: Verifying Checksum [2021-04-17T22:54:30.392Z] 93b9cdb0e59b: Verifying Checksum [2021-04-17T22:54:30.392Z] 93b9cdb0e59b: Download complete [2021-04-17T22:54:30.393Z] 5e14af77c1be: Verifying Checksum [2021-04-17T22:54:30.393Z] 5e14af77c1be: Download complete [2021-04-17T22:54:30.393Z] 93b61091891f: Verifying Checksum [2021-04-17T22:54:30.393Z] 93b61091891f: Download complete [2021-04-17T22:54:30.393Z] 01666e4c0597: Verifying Checksum [2021-04-17T22:54:30.393Z] 01666e4c0597: Download complete [2021-04-17T22:54:30.393Z] 8ad3a11d3b57: Verifying Checksum [2021-04-17T22:54:30.393Z] 8ad3a11d3b57: Download complete [2021-04-17T22:54:30.655Z] df20fa9351a1: Pull complete [2021-04-17T22:54:31.239Z] 36b3adc4ff6f: Pull complete [2021-04-17T22:54:31.822Z] 8ad3a11d3b57: Pull complete [2021-04-17T22:54:32.112Z] 46f8f816bc3b: Pull complete [2021-04-17T22:54:32.693Z] aa168da1d23b: Verifying Checksum [2021-04-17T22:54:32.693Z] aa168da1d23b: Download complete [2021-04-17T22:54:33.268Z] 93b61091891f: Pull complete [2021-04-17T22:54:33.530Z] 93b9cdb0e59b: Pull complete [2021-04-17T22:54:33.794Z] 5e14af77c1be: Pull complete [2021-04-17T22:54:33.794Z] 01666e4c0597: Pull complete [2021-04-17T22:54:40.434Z] aa168da1d23b: Pull complete [2021-04-17T22:54:40.434Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-17T22:54:40.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-17T22:54:40.434Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-17T22:54:40.636Z] prd-centos7-docker-4c-2g-585 does not seem to be running inside a container [2021-04-17T22:54:40.683Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-17T22:54:43.898Z] $ docker top fcdce80a6301fde1bdd7caded58a3888417e52cb9093c7ef78c9b62bb463e023 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-17T22:54:44.300Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-17T22:54:44.597Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-17T22:54:44.907Z] + ls /var/log/sa-host [2021-04-17T22:54:44.907Z] + sadf -c /var/log/sa-host/sa17 [2021-04-17T22:54:44.907Z] file_magic: OK [2021-04-17T22:54:44.907Z] HZ: Using current value: 100 [2021-04-17T22:54:44.907Z] file_header: OK [2021-04-17T22:54:44.907Z] 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-17T22:54:44.907Z] Statistics: [2021-04-17T22:54:44.907Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-17T22:54:44.907Z] File successfully converted to sysstat format version 12.2.1 [2021-04-17T22:54:44.907Z] + sadf -c /var/log/sa-host/sa23 [2021-04-17T22:54:44.907Z] file_magic: OK [2021-04-17T22:54:44.907Z] HZ: Using current value: 100 [2021-04-17T22:54:44.907Z] file_header: OK [2021-04-17T22:54:44.907Z] 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-17T22:54:44.907Z] Statistics: [2021-04-17T22:54:44.907Z] Hnuu...uuuununununu... [2021-04-17T22:54:44.907Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-17T22:54:45.079Z] provisioning config files... [2021-04-17T22:54:45.095Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config6546114393724443206tmp [Pipeline] { [Pipeline] echo [2021-04-17T22:54:45.117Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:54:45.416Z] ---> create-netrc.sh [Pipeline] } [2021-04-17T22:54:45.426Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-17T22:54:45.452Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:54:45.747Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-17T22:54:45.757Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:54:46.052Z] ---> sudo-logs.sh [2021-04-17T22:54:46.052Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-17T22:54:46.087Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:54:46.393Z] ---> job-cost.sh [2021-04-17T22:54:46.393Z] lf-activate-venv: SKIPPING [2021-04-17T22:54:46.393Z] DEBUG: total: 0.20999999344348907 [2021-04-17T22:54:46.393Z] INFO: Retrieving Stack Cost... [2021-04-17T22:54:47.342Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-17T22:54:47.917Z] INFO: Archiving Costs [Pipeline] echo [2021-04-17T22:54:47.935Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:54:48.239Z] ---> logs-deploy.sh [2021-04-17T22:54:48.239Z] lf-activate-venv: SKIPPING [2021-04-17T22:54:48.239Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/36 [2021-04-17T22:54:48.239Z] INFO: archiving workspace using pattern(s): [2021-04-17T22:54:50.160Z] Archives upload complete. [2021-04-17T22:54:50.160Z] INFO: archiving logs to Nexus