Pull request #879 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from dd0b196889d4fd430a5007e633b91b3603e9182d+c62645d0ab1012df8ad15b74000ef7e30c377aaa (b11333c107b5afcd1d2bfb8b03dd73e006447327) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-879/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-879/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-79 in /w/workspace/dgexfoundry_device-sdk-go_PR-879 [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-879 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/879/head:refs/remotes/origin/PR-879 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit dd0b196889d4fd430a5007e633b91b3603e9182d Merge succeeded, producing dd0b196889d4fd430a5007e633b91b3603e9182d Checking out Revision dd0b196889d4fd430a5007e633b91b3603e9182d (PR-879) > git config core.sparsecheckout # timeout=10 > git checkout -f dd0b196889d4fd430a5007e633b91b3603e9182d # 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 c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd0b196889d4fd430a5007e633b91b3603e9182d # timeout=10 Commit message: "refactor: Replace use of BurntSushi/toml with pelletier/go-toml" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-14T08:13:34.221Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-14T08:13:34.419Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-14T08:13:34.532Z] ========================================================= [2021-04-14T08:13:34.532Z] EdgeX Global Pipelines Version Info [2021-04-14T08:13:34.532Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-14T08:13:36.092Z] ------------------- [2021-04-14T08:13:36.092Z] stable info: [2021-04-14T08:13:36.092Z] ------------------- [2021-04-14T08:13:36.092Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-14T08:13:36.092Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-14T08:13:36.092Z] Message: update stable to v1.0.186 [2021-04-14T08:13:37.032Z] ------------------- [2021-04-14T08:13:37.032Z] experimental info: [2021-04-14T08:13:37.032Z] ------------------- [2021-04-14T08:13:37.032Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-14T08:13:37.032Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-14T08:13:37.032Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-14T08:13:37.265Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-14T08:13:37.324Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-14T08:13:37.378Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-14T08:13:37.436Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-14T08:13:37.494Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-14T08:13:37.547Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-14T08:13:37.598Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-14T08:13:37.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-14T08:13:37.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-14T08:13:37.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-14T08:13:37.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-14T08:13:37.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-14T08:13:37.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-14T08:13:37.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-14T08:13:38.043Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-14T08:13:38.096Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T08:13:38.151Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T08:13:38.215Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T08:13:38.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-14T08:13:38.334Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-14T08:13:38.394Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-14T08:13:38.452Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-14T08:13:38.512Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-14T08:13:38.586Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-14T08:13:38.664Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-14T08:13:38.729Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-14T08:13:38.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-879 [Pipeline] echo [2021-04-14T08:13:38.878Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-879 [Pipeline] echo [2021-04-14T08:13:38.956Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-879 [Pipeline] echo [2021-04-14T08:13:39.026Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd0b196889d4fd430a5007e633b91b3603e9182d [Pipeline] echo [2021-04-14T08:13:39.098Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd0b196 [Pipeline] echo [2021-04-14T08:13:39.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T08:13:39.383Z] provisioning config files... [2021-04-14T08:13:39.461Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp/config3677625862252111329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T08:13:39.861Z] ---> docker-login.sh [2021-04-14T08:13:39.861Z] nexus3.edgexfoundry.org:10001 [2021-04-14T08:13:40.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:13:40.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:13:40.125Z] Configure a credential helper to remove this warning. See [2021-04-14T08:13:40.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:13:40.125Z] [2021-04-14T08:13:40.125Z] Login Succeeded [2021-04-14T08:13:40.125Z] nexus3.edgexfoundry.org:10002 [2021-04-14T08:13:40.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:13:40.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:13:40.388Z] Configure a credential helper to remove this warning. See [2021-04-14T08:13:40.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:13:40.388Z] [2021-04-14T08:13:40.388Z] Login Succeeded [2021-04-14T08:13:40.388Z] nexus3.edgexfoundry.org:10003 [2021-04-14T08:13:40.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:13:40.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:13:40.650Z] Configure a credential helper to remove this warning. See [2021-04-14T08:13:40.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:13:40.650Z] [2021-04-14T08:13:40.650Z] Login Succeeded [2021-04-14T08:13:40.650Z] nexus3.edgexfoundry.org:10004 [2021-04-14T08:13:40.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:13:40.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:13:40.650Z] Configure a credential helper to remove this warning. See [2021-04-14T08:13:40.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:13:40.650Z] [2021-04-14T08:13:40.650Z] Login Succeeded [2021-04-14T08:13:40.650Z] docker.io [2021-04-14T08:13:40.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:13:41.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:13:41.179Z] Configure a credential helper to remove this warning. See [2021-04-14T08:13:41.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:13:41.179Z] [2021-04-14T08:13:41.179Z] Login Succeeded [2021-04-14T08:13:41.179Z] ---> docker-login.sh ends [Pipeline] } [2021-04-14T08:13:41.208Z] 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-14T08:13:42.170Z] + git log --format=format:%s -1 dd0b196889d4fd430a5007e633b91b3603e9182d [Pipeline] echo [2021-04-14T08:13:42.256Z] GIT_COMMIT: dd0b196889d4fd430a5007e633b91b3603e9182d, Commit Message: refactor: Replace use of BurntSushi/toml with pelletier/go-toml [Pipeline] echo [2021-04-14T08:13:42.293Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-14T08:13:43.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T08:13:43.238Z] [2021-04-14T08:13:43.238Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-14T08:13:43.591Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T08:13:43.591Z] latest: Pulling from edgex-devops/git-semver [2021-04-14T08:13:43.591Z] 31603596830f: Pulling fs layer [2021-04-14T08:13:43.591Z] 2a8b12db71e7: Pulling fs layer [2021-04-14T08:13:43.591Z] 6ca5941a6612: Pulling fs layer [2021-04-14T08:13:43.591Z] ecc8261a40a4: Pulling fs layer [2021-04-14T08:13:43.591Z] ecc8261a40a4: Waiting [2021-04-14T08:13:43.591Z] 2a8b12db71e7: Verifying Checksum [2021-04-14T08:13:43.591Z] 2a8b12db71e7: Download complete [2021-04-14T08:13:43.591Z] 31603596830f: Verifying Checksum [2021-04-14T08:13:43.591Z] 31603596830f: Download complete [2021-04-14T08:13:43.859Z] ecc8261a40a4: Verifying Checksum [2021-04-14T08:13:43.859Z] ecc8261a40a4: Download complete [2021-04-14T08:13:43.859Z] 6ca5941a6612: Verifying Checksum [2021-04-14T08:13:43.859Z] 6ca5941a6612: Download complete [2021-04-14T08:13:44.131Z] 31603596830f: Pull complete [2021-04-14T08:13:44.131Z] 2a8b12db71e7: Pull complete [2021-04-14T08:13:45.074Z] 6ca5941a6612: Pull complete [2021-04-14T08:13:45.074Z] ecc8261a40a4: Pull complete [2021-04-14T08:13:45.074Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-14T08:13:45.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T08:13:45.074Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-14T08:13:45.187Z] prd-centos7-docker-4c-2g-79 does not seem to be running inside a container [2021-04-14T08:13:45.232Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-879 -v /w/workspace/dgexfoundry_device-sdk-go_PR-879:/w/workspace/dgexfoundry_device-sdk-go_PR-879:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-14T08:13:47.094Z] $ docker top b1e309a26735fa45212e4fcde0d7d89f65df424b3e44b7e3509314fd22f1079d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-14T08:13:47.330Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-14T08:13:47.330Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-14T08:13:47.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-14T08:13:47.523Z] $ docker exec b1e309a26735fa45212e4fcde0d7d89f65df424b3e44b7e3509314fd22f1079d ssh-agent [2021-04-14T08:13:47.677Z] SSH_AUTH_SOCK=/tmp/ssh-seHhqDDYEcMU/agent.11 [2021-04-14T08:13:47.677Z] SSH_AGENT_PID=17 [2021-04-14T08:13:47.687Z] Running ssh-add (command line suppressed) [2021-04-14T08:13:47.795Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp/private_key_4690332280267921622.key (/w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp/private_key_4690332280267921622.key) [2021-04-14T08:13:47.838Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-14T08:13:48.182Z] + git tag --points-at HEAD [Pipeline] } [2021-04-14T08:13:48.208Z] $ docker exec --env ******** --env ******** b1e309a26735fa45212e4fcde0d7d89f65df424b3e44b7e3509314fd22f1079d ssh-agent -k [2021-04-14T08:13:48.310Z] unset SSH_AUTH_SOCK; [2021-04-14T08:13:48.311Z] unset SSH_AGENT_PID; [2021-04-14T08:13:48.311Z] echo Agent pid 17 killed; [2021-04-14T08:13:48.351Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-14T08:13:48.456Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-14T08:13:48.456Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-14T08:13:48.611Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-14T08:13:48.617Z] $ docker exec b1e309a26735fa45212e4fcde0d7d89f65df424b3e44b7e3509314fd22f1079d ssh-agent [2021-04-14T08:13:48.757Z] SSH_AUTH_SOCK=/tmp/ssh-YXwl9g6J5PBh/agent.48 [2021-04-14T08:13:48.757Z] SSH_AGENT_PID=54 [2021-04-14T08:13:48.766Z] Running ssh-add (command line suppressed) [2021-04-14T08:13:48.879Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp/private_key_8548693358645475384.key (/w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp/private_key_8548693358645475384.key) [2021-04-14T08:13:48.929Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-14T08:13:49.272Z] + git semver init [2021-04-14T08:13:49.273Z] # -> Open(): unable to determine branch for HEAD [2021-04-14T08:13:49.273Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-879/.git [2021-04-14T08:13:49.273Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-879 [2021-04-14T08:13:49.273Z] # $SEMVER_REMOTE_NAME = origin [2021-04-14T08:13:49.273Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-14T08:13:49.273Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-14T08:13:49.273Z] # $SEMVER_BRANCH = PR-879 [2021-04-14T08:13:49.273Z] # $SEMVER_TEMP = /tmp/semver-307172368 [2021-04-14T08:13:49.273Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-14T08:13:49.849Z] # '/tmp/semver-307172368' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-879/.semver' [2021-04-14T08:13:50.109Z] # -> Force: false [2021-04-14T08:13:50.109Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-879/.semver [Pipeline] } [2021-04-14T08:13:50.133Z] $ docker exec --env ******** --env ******** b1e309a26735fa45212e4fcde0d7d89f65df424b3e44b7e3509314fd22f1079d ssh-agent -k [2021-04-14T08:13:50.240Z] unset SSH_AUTH_SOCK; [2021-04-14T08:13:50.241Z] unset SSH_AGENT_PID; [2021-04-14T08:13:50.241Z] echo Agent pid 54 killed; [2021-04-14T08:13:50.286Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-14T08:13:50.717Z] + git semver [Pipeline] } [2021-04-14T08:13:50.748Z] $ docker stop --time=1 b1e309a26735fa45212e4fcde0d7d89f65df424b3e44b7e3509314fd22f1079d [2021-04-14T08:13:52.136Z] $ docker rm -f b1e309a26735fa45212e4fcde0d7d89f65df424b3e44b7e3509314fd22f1079d [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-14T08:13:52.570Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-14T08:13:52.909Z] Stashed 1 file(s) [Pipeline] echo [2021-04-14T08:13:52.932Z] [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-14T08:14:08.387Z] Still waiting to schedule task [2021-04-14T08:14:08.387Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-14T08:14:08.413Z] Still waiting to schedule task [2021-04-14T08:14:08.413Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-14T08:16:04.194Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-80 in /w/workspace/dgexfoundry_device-sdk-go_PR-879 [Pipeline] { [Pipeline] ws [2021-04-14T08:16:04.269Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-14T08:16:10.165Z] using credential edgex-jenkins-ssh [2021-04-14T08:16:10.189Z] Cloning the remote Git repository [2021-04-14T08:16:10.243Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T08:16:10.361Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-14T08:16:10.458Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T08:16:10.459Z] > git --version # timeout=10 [2021-04-14T08:16:10.476Z] > git --version # 'git version 2.17.1' [2021-04-14T08:16:10.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T08:16:10.533Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T08:16:11.898Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T08:16:11.922Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T08:16:11.948Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T08:16:11.983Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T08:16:11.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T08:16:11.997Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/879/head:refs/remotes/origin/PR-879 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-14T08:16:12.621Z] Merging remotes/origin/master commit c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit dd0b196889d4fd430a5007e633b91b3603e9182d [2021-04-14T08:16:12.877Z] Merge succeeded, producing dd0b196889d4fd430a5007e633b91b3603e9182d [2021-04-14T08:16:12.878Z] Checking out Revision dd0b196889d4fd430a5007e633b91b3603e9182d (PR-879) [2021-04-14T08:16:12.644Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T08:16:12.672Z] > git checkout -f dd0b196889d4fd430a5007e633b91b3603e9182d # timeout=10 [2021-04-14T08:16:12.780Z] > git remote # timeout=10 [2021-04-14T08:16:12.803Z] > git config --get remote.origin.url # timeout=10 [2021-04-14T08:16:12.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T08:16:12.832Z] > git merge c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 [2021-04-14T08:16:12.863Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-14T08:16:12.888Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T08:16:12.906Z] > git checkout -f dd0b196889d4fd430a5007e633b91b3603e9182d # timeout=10 [2021-04-14T08:16:17.145Z] Commit message: "refactor: Replace use of BurntSushi/toml with pelletier/go-toml" [2021-04-14T08:16:17.205Z] > git --version # timeout=10 [2021-04-14T08:16:17.223Z] > git --version # 'git version 2.17.1' [2021-04-14T08:16:17.246Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T08:16:19.144Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-14T08:16:19.566Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-14T08:16:19.928Z] + + sudotrue service [2021-04-14T08:16:19.928Z] docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T08:16:22.675Z] provisioning config files... [2021-04-14T08:16:22.751Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3531869094000899869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T08:16:23.187Z] ---> docker-login.sh [2021-04-14T08:16:23.187Z] nexus3.edgexfoundry.org:10001 [2021-04-14T08:16:24.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:16:24.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:16:24.451Z] Configure a credential helper to remove this warning. See [2021-04-14T08:16:24.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:16:24.451Z] [2021-04-14T08:16:24.451Z] Login Succeeded [2021-04-14T08:16:24.451Z] nexus3.edgexfoundry.org:10002 [2021-04-14T08:16:25.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:16:25.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:16:25.051Z] Configure a credential helper to remove this warning. See [2021-04-14T08:16:25.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:16:25.051Z] [2021-04-14T08:16:25.051Z] Login Succeeded [2021-04-14T08:16:25.051Z] nexus3.edgexfoundry.org:10003 [2021-04-14T08:16:25.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:16:25.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:16:25.605Z] Configure a credential helper to remove this warning. See [2021-04-14T08:16:25.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:16:25.605Z] [2021-04-14T08:16:25.605Z] Login Succeeded [2021-04-14T08:16:25.605Z] nexus3.edgexfoundry.org:10004 [2021-04-14T08:16:25.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:16:25.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:16:25.881Z] Configure a credential helper to remove this warning. See [2021-04-14T08:16:25.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:16:25.881Z] [2021-04-14T08:16:25.881Z] Login Succeeded [2021-04-14T08:16:25.881Z] docker.io [2021-04-14T08:16:26.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:16:26.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:16:26.755Z] Configure a credential helper to remove this warning. See [2021-04-14T08:16:26.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:16:26.755Z] [2021-04-14T08:16:26.755Z] Login Succeeded [2021-04-14T08:16:26.755Z] ---> docker-login.sh ends [Pipeline] } [2021-04-14T08:16:26.791Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-14T08:16:27.286Z] ========================================================= [2021-04-14T08:16:27.286Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-14T08:16:27.286Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-14T08:16:27.682Z] + 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-14T08:16:27.959Z] Sending build context to Docker daemon 2.421MB [2021-04-14T08:16:27.959Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T08:16:27.959Z] Step 2/8 : FROM ${BASE} [2021-04-14T08:16:28.234Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-14T08:16:28.234Z] 5f621e34cdf4: Pulling fs layer [2021-04-14T08:16:28.234Z] a4357932f1b6: Pulling fs layer [2021-04-14T08:16:28.234Z] 18c013af1878: Pulling fs layer [2021-04-14T08:16:28.234Z] 00ac8860ef70: Pulling fs layer [2021-04-14T08:16:28.234Z] 63d7cb157983: Pulling fs layer [2021-04-14T08:16:28.234Z] b116817d02f9: Pulling fs layer [2021-04-14T08:16:28.234Z] 745a02a5169b: Pulling fs layer [2021-04-14T08:16:28.234Z] 00ac8860ef70: Waiting [2021-04-14T08:16:28.234Z] 63d7cb157983: Waiting [2021-04-14T08:16:28.234Z] b116817d02f9: Waiting [2021-04-14T08:16:28.234Z] 745a02a5169b: Waiting [2021-04-14T08:16:28.234Z] 18c013af1878: Download complete [2021-04-14T08:16:28.234Z] a4357932f1b6: Verifying Checksum [2021-04-14T08:16:28.234Z] a4357932f1b6: Download complete [2021-04-14T08:16:28.234Z] 63d7cb157983: Download complete [2021-04-14T08:16:28.234Z] b116817d02f9: Download complete [2021-04-14T08:16:28.509Z] 5f621e34cdf4: Verifying Checksum [2021-04-14T08:16:28.509Z] 5f621e34cdf4: Download complete [2021-04-14T08:16:29.116Z] 5f621e34cdf4: Pull complete [2021-04-14T08:16:29.729Z] a4357932f1b6: Pull complete [2021-04-14T08:16:30.008Z] 18c013af1878: Pull complete [2021-04-14T08:16:31.452Z] 745a02a5169b: Verifying Checksum [2021-04-14T08:16:31.452Z] 745a02a5169b: Download complete [2021-04-14T08:16:32.047Z] 00ac8860ef70: Verifying Checksum [2021-04-14T08:16:32.048Z] 00ac8860ef70: Download complete [2021-04-14T08:16:42.206Z] 00ac8860ef70: Pull complete [2021-04-14T08:16:42.805Z] 63d7cb157983: Pull complete [2021-04-14T08:16:43.077Z] b116817d02f9: Pull complete [2021-04-14T08:16:46.463Z] 745a02a5169b: Pull complete [2021-04-14T08:16:46.463Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-14T08:16:46.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-14T08:16:46.463Z] ---> b7e6874047d6 [2021-04-14T08:16:46.463Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T08:16:49.861Z] ---> Running in bed6d6e800e6 [2021-04-14T08:16:49.861Z] Removing intermediate container bed6d6e800e6 [2021-04-14T08:16:49.861Z] ---> 3cfd4f5c555b [2021-04-14T08:16:49.861Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T08:16:49.861Z] ---> Running in 2ea76eff47aa [2021-04-14T08:16:52.493Z] Removing intermediate container 2ea76eff47aa [2021-04-14T08:16:52.493Z] ---> 66e15f2ca0db [2021-04-14T08:16:52.493Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-14T08:16:52.493Z] ---> Running in 15ca3ed33186 [2021-04-14T08:16:53.485Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T08:16:54.461Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T08:16:55.053Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-14T08:16:55.053Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-14T08:16:55.326Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-14T08:16:55.326Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-14T08:16:55.326Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-14T08:16:55.599Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-14T08:16:55.599Z] Executing busybox-1.31.1-r19.trigger [2021-04-14T08:16:55.599Z] OK: 144 MiB in 45 packages [2021-04-14T08:16:57.036Z] Removing intermediate container 15ca3ed33186 [2021-04-14T08:16:57.036Z] ---> f60d954201ac [2021-04-14T08:16:57.036Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-14T08:16:57.036Z] ---> Running in 10dc00122fce [2021-04-14T08:16:57.631Z] Removing intermediate container 10dc00122fce [2021-04-14T08:16:57.631Z] ---> 9d74ef3a8f01 [2021-04-14T08:16:57.631Z] Step 7/8 : COPY . . [2021-04-14T08:16:57.920Z] Running on prd-centos7-docker-4c-2g-81 in /w/workspace/dgexfoundry_device-sdk-go_PR-879 [Pipeline] { [Pipeline] ws [2021-04-14T08:16:57.979Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-14T08:16:59.062Z] ---> cc1eb7f1ed2b [2021-04-14T08:16:59.062Z] Step 8/8 : RUN go mod download [2021-04-14T08:16:59.062Z] ---> Running in 3ec681f6baae [2021-04-14T08:17:00.850Z] using credential edgex-jenkins-ssh [2021-04-14T08:17:00.863Z] Cloning the remote Git repository [2021-04-14T08:17:00.885Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T08:17:00.955Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-14T08:17:01.019Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T08:17:01.019Z] > git --version # timeout=10 [2021-04-14T08:17:01.026Z] > git --version # 'git version 2.24.3' [2021-04-14T08:17:01.027Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T08:17:01.053Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T08:17:02.570Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T08:17:02.581Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T08:17:02.596Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T08:17:02.613Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T08:17:02.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T08:17:02.619Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/879/head:refs/remotes/origin/PR-879 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-14T08:17:04.404Z] Merging remotes/origin/master commit c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit dd0b196889d4fd430a5007e633b91b3603e9182d [2021-04-14T08:17:04.504Z] Merge succeeded, producing dd0b196889d4fd430a5007e633b91b3603e9182d [2021-04-14T08:17:04.505Z] Checking out Revision dd0b196889d4fd430a5007e633b91b3603e9182d (PR-879) [2021-04-14T08:17:04.413Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T08:17:04.420Z] > git checkout -f dd0b196889d4fd430a5007e633b91b3603e9182d # timeout=10 [2021-04-14T08:17:04.469Z] > git remote # timeout=10 [2021-04-14T08:17:04.476Z] > git config --get remote.origin.url # timeout=10 [2021-04-14T08:17:04.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T08:17:04.487Z] > git merge c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 [2021-04-14T08:17:04.497Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-14T08:17:04.508Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T08:17:04.515Z] > git checkout -f dd0b196889d4fd430a5007e633b91b3603e9182d # timeout=10 [2021-04-14T08:17:08.185Z] Commit message: "refactor: Replace use of BurntSushi/toml with pelletier/go-toml" [2021-04-14T08:17:08.221Z] > git --version # timeout=10 [2021-04-14T08:17:08.229Z] > git --version # 'git version 2.24.3' [2021-04-14T08:17:08.239Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T08:17:09.519Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-14T08:17:09.886Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-14T08:17:10.213Z] + true [2021-04-14T08:17:10.213Z] + sudo service docker restart [2021-04-14T08:17:10.213Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T08:17:11.713Z] provisioning config files... [2021-04-14T08:17:11.742Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3738384201863858082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T08:17:12.135Z] ---> docker-login.sh [2021-04-14T08:17:12.135Z] nexus3.edgexfoundry.org:10001 [2021-04-14T08:17:12.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:17:12.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:17:12.398Z] Configure a credential helper to remove this warning. See [2021-04-14T08:17:12.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:17:12.398Z] [2021-04-14T08:17:12.398Z] Login Succeeded [2021-04-14T08:17:12.398Z] nexus3.edgexfoundry.org:10002 [2021-04-14T08:17:12.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:17:12.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:17:12.660Z] Configure a credential helper to remove this warning. See [2021-04-14T08:17:12.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:17:12.660Z] [2021-04-14T08:17:12.660Z] Login Succeeded [2021-04-14T08:17:12.660Z] nexus3.edgexfoundry.org:10003 [2021-04-14T08:17:12.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:17:12.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:17:12.931Z] Configure a credential helper to remove this warning. See [2021-04-14T08:17:12.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:17:12.931Z] [2021-04-14T08:17:12.931Z] Login Succeeded [2021-04-14T08:17:12.931Z] nexus3.edgexfoundry.org:10004 [2021-04-14T08:17:12.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:17:13.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:17:13.193Z] Configure a credential helper to remove this warning. See [2021-04-14T08:17:13.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:17:13.193Z] [2021-04-14T08:17:13.193Z] Login Succeeded [2021-04-14T08:17:13.193Z] docker.io [2021-04-14T08:17:13.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T08:17:13.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T08:17:13.454Z] Configure a credential helper to remove this warning. See [2021-04-14T08:17:13.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T08:17:13.454Z] [2021-04-14T08:17:13.454Z] Login Succeeded [2021-04-14T08:17:13.454Z] ---> docker-login.sh ends [Pipeline] } [2021-04-14T08:17:13.483Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-14T08:17:13.801Z] ========================================================= [2021-04-14T08:17:13.801Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-14T08:17:13.801Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-14T08:17:14.170Z] + 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-14T08:17:14.170Z] Sending build context to Docker daemon 2.422MB [2021-04-14T08:17:14.170Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T08:17:14.170Z] Step 2/8 : FROM ${BASE} [2021-04-14T08:17:14.448Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-14T08:17:14.448Z] 188c0c94c7c5: Pulling fs layer [2021-04-14T08:17:14.448Z] 0ef7d3d256c8: Pulling fs layer [2021-04-14T08:17:14.448Z] de9db76c5a1d: Pulling fs layer [2021-04-14T08:17:14.448Z] bca2f99d35d6: Pulling fs layer [2021-04-14T08:17:14.448Z] 93359f2a8cfa: Pulling fs layer [2021-04-14T08:17:14.448Z] 7c6f9722023f: Pulling fs layer [2021-04-14T08:17:14.448Z] a35cf1a2eb13: Pulling fs layer [2021-04-14T08:17:14.448Z] 93359f2a8cfa: Waiting [2021-04-14T08:17:14.448Z] 7c6f9722023f: Waiting [2021-04-14T08:17:14.448Z] a35cf1a2eb13: Waiting [2021-04-14T08:17:14.448Z] bca2f99d35d6: Waiting [2021-04-14T08:17:14.448Z] 0ef7d3d256c8: Verifying Checksum [2021-04-14T08:17:14.448Z] 0ef7d3d256c8: Download complete [2021-04-14T08:17:14.448Z] de9db76c5a1d: Verifying Checksum [2021-04-14T08:17:14.448Z] de9db76c5a1d: Download complete [2021-04-14T08:17:14.448Z] 93359f2a8cfa: Download complete [2021-04-14T08:17:14.448Z] 188c0c94c7c5: Verifying Checksum [2021-04-14T08:17:14.448Z] 188c0c94c7c5: Download complete [2021-04-14T08:17:14.448Z] 7c6f9722023f: Verifying Checksum [2021-04-14T08:17:14.448Z] 7c6f9722023f: Download complete [2021-04-14T08:17:14.726Z] 188c0c94c7c5: Pull complete [2021-04-14T08:17:14.992Z] 0ef7d3d256c8: Pull complete [2021-04-14T08:17:15.265Z] de9db76c5a1d: Pull complete [2021-04-14T08:17:15.853Z] a35cf1a2eb13: Verifying Checksum [2021-04-14T08:17:15.853Z] a35cf1a2eb13: Download complete [2021-04-14T08:17:16.808Z] bca2f99d35d6: Verifying Checksum [2021-04-14T08:17:16.808Z] bca2f99d35d6: Download complete [2021-04-14T08:17:23.459Z] bca2f99d35d6: Pull complete [2021-04-14T08:17:23.459Z] 93359f2a8cfa: Pull complete [2021-04-14T08:17:23.459Z] 7c6f9722023f: Pull complete [2021-04-14T08:17:25.878Z] Removing intermediate container 3ec681f6baae [2021-04-14T08:17:25.878Z] ---> 456d2b988267 [2021-04-14T08:17:25.878Z] Successfully built 456d2b988267 [2021-04-14T08:17:25.878Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-14T08:17:26.256Z] + docker inspect -f . ci-base-image-arm64 [2021-04-14T08:17:26.256Z] . [Pipeline] withDockerContainer [2021-04-14T08:17:26.519Z] prd-ubuntu18.04-docker-arm64-4c-16g-80 does not seem to be running inside a container [2021-04-14T08:17:26.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-14T08:17:27.725Z] a35cf1a2eb13: Pull complete [2021-04-14T08:17:27.725Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-14T08:17:27.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-14T08:17:27.725Z] ---> a62c8e92a672 [2021-04-14T08:17:27.725Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T08:17:27.725Z] ---> Running in eb106311b5e2 [2021-04-14T08:17:27.992Z] Removing intermediate container eb106311b5e2 [2021-04-14T08:17:27.992Z] ---> 0311271287d1 [2021-04-14T08:17:27.992Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T08:17:27.992Z] ---> Running in 49d704202b52 [2021-04-14T08:17:28.244Z] $ docker top e0062a578d93ce8d4db3aaa27d88f00e436fe1444f96eece239c52db5378ea7b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T08:17:29.235Z] + go version [2021-04-14T08:17:29.236Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-14T08:17:29.281Z] $ docker stop --time=1 e0062a578d93ce8d4db3aaa27d88f00e436fe1444f96eece239c52db5378ea7b [2021-04-14T08:17:29.394Z] Removing intermediate container 49d704202b52 [2021-04-14T08:17:29.394Z] ---> de92e88b691b [2021-04-14T08:17:29.394Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-14T08:17:29.394Z] ---> Running in 9aa7074e42bb [2021-04-14T08:17:30.348Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T08:17:30.924Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-14T08:17:31.308Z] $ docker rm -f e0062a578d93ce8d4db3aaa27d88f00e436fe1444f96eece239c52db5378ea7b [2021-04-14T08:17:31.501Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-14T08:17:31.501Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-14T08:17:31.501Z] (3/6) Installing pkgconf (1.7.2-r0) [Pipeline] // withDockerContainer [Pipeline] } [2021-04-14T08:17:31.764Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-14T08:17:31.764Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-14T08:17:31.764Z] (6/6) Installing zeromq-dev (4.3.3-r0) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-04-14T08:17:32.028Z] Executing busybox-1.31.1-r19.trigger [2021-04-14T08:17:32.028Z] OK: 167 MiB in 45 packages [Pipeline] isUnix [Pipeline] sh [2021-04-14T08:17:32.414Z] + docker inspect -f . ci-base-image-arm64 [2021-04-14T08:17:32.414Z] . [Pipeline] withDockerContainer [2021-04-14T08:17:32.604Z] Removing intermediate container 9aa7074e42bb [2021-04-14T08:17:32.604Z] ---> cf027af28ec4 [2021-04-14T08:17:32.604Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-14T08:17:32.604Z] ---> Running in 9568695231c3 [2021-04-14T08:17:32.701Z] prd-ubuntu18.04-docker-arm64-4c-16g-80 does not seem to be running inside a container [2021-04-14T08:17:32.791Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-14T08:17:32.867Z] Removing intermediate container 9568695231c3 [2021-04-14T08:17:32.867Z] ---> fdbb4efe135c [2021-04-14T08:17:32.867Z] Step 7/8 : COPY . . [2021-04-14T08:17:34.258Z] ---> 46024407f25a [2021-04-14T08:17:34.258Z] Step 8/8 : RUN go mod download [2021-04-14T08:17:34.258Z] ---> Running in 6ac1f04fc3db [2021-04-14T08:17:34.347Z] $ docker top 766c5c5a45744fd75777a4c489cee4fcd5dcb4d19a8dfbf8140ca8b89c8adbe4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T08:17:35.395Z] + make test [2021-04-14T08:17:35.395Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-14T08:17:56.331Z] Removing intermediate container 6ac1f04fc3db [2021-04-14T08:17:56.331Z] ---> 631ec5a19428 [2021-04-14T08:17:56.331Z] Successfully built 631ec5a19428 [2021-04-14T08:17:56.331Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-14T08:17:56.699Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-14T08:17:56.699Z] . [Pipeline] withDockerContainer [2021-04-14T08:17:56.858Z] prd-centos7-docker-4c-2g-81 does not seem to be running inside a container [2021-04-14T08:17:56.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-14T08:17:57.599Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-14T08:17:57.706Z] $ docker top a73aa2ba9b23a21bfafbc2494abc35bd9b1f7e95bd611ebc5e60ceeeabc003e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T08:17:58.197Z] + go version [2021-04-14T08:17:58.197Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-14T08:17:58.230Z] $ docker stop --time=1 a73aa2ba9b23a21bfafbc2494abc35bd9b1f7e95bd611ebc5e60ceeeabc003e0 [2021-04-14T08:17:59.612Z] $ docker rm -f a73aa2ba9b23a21bfafbc2494abc35bd9b1f7e95bd611ebc5e60ceeeabc003e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-14T08:18:00.377Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-14T08:18:00.377Z] . [Pipeline] withDockerContainer [2021-04-14T08:18:00.502Z] prd-centos7-docker-4c-2g-81 does not seem to be running inside a container [2021-04-14T08:18:00.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-14T08:18:01.283Z] $ docker top b9d109d26c4ec2d39f19635b645189ebae761aa65f394f56797cd84f09310a93 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T08:18:01.880Z] + make test [2021-04-14T08:18:01.880Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-14T08:18:10.281Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-14T08:18:28.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-14T08:18:28.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-14T08:18:28.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-14T08:18:28.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-14T08:18:28.540Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-14T08:18:32.816Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.084s coverage: 28.1% of statements [2021-04-14T08:18:32.816Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.082s coverage: 78.9% of statements [2021-04-14T08:18:33.789Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.071s coverage: 7.8% of statements [2021-04-14T08:18:33.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-14T08:18:33.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-14T08:18:33.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-14T08:18:33.789Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.092s coverage: 32.5% of statements [2021-04-14T08:18:33.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-14T08:18:33.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-14T08:18:33.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-14T08:18:34.370Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.129s coverage: 57.1% of statements [2021-04-14T08:18:34.955Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.231s coverage: 6.6% of statements [2021-04-14T08:18:35.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-04-14T08:18:35.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-14T08:18:35.218Z] GO111MODULE=on go vet ./... [2021-04-14T08:18:53.591Z] gofmt -l . [2021-04-14T08:18:53.591Z] [ "`gofmt -l .`" = "" ] [2021-04-14T08:18:53.591Z] ./bin/test-attribution-txt.sh [2021-04-14T08:18:53.591Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-14T08:18:53.626Z] $ docker stop --time=1 b9d109d26c4ec2d39f19635b645189ebae761aa65f394f56797cd84f09310a93 [2021-04-14T08:18:54.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-14T08:18:54.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-14T08:18:54.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-14T08:18:54.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-14T08:18:54.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-14T08:18:56.082Z] $ docker rm -f b9d109d26c4ec2d39f19635b645189ebae761aa65f394f56797cd84f09310a93 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-14T08:18:56.761Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-14T08:18:56.891Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.179s coverage: 28.1% of statements [2021-04-14T08:18:57.180Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-04-14T08:18:58.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.159s coverage: 78.9% of statements [2021-04-14T08:18:58.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.192s coverage: 7.8% of statements [2021-04-14T08:18:58.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-14T08:18:58.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-14T08:18:58.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [Pipeline] sh [2021-04-14T08:19:00.118Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-14T08:19:00.353Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.270s coverage: 32.5% of statements [2021-04-14T08:19:00.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-14T08:19:00.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-14T08:19:00.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-14T08:19:00.451Z] + ls -al . [2021-04-14T08:19:00.451Z] total 188 [2021-04-14T08:19:00.451Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 14 08:18 . [2021-04-14T08:19:00.451Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 14 08:17 .. [2021-04-14T08:19:00.451Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 14 08:17 bin [2021-04-14T08:19:00.451Z] -rw-r--r--. 1 jenkins jenkins 99750 Apr 14 08:18 coverage.out [2021-04-14T08:19:00.451Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 14 08:17 Dockerfile.build [2021-04-14T08:19:00.451Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 14 08:17 .dockerignore [2021-04-14T08:19:00.451Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 14 08:17 example [2021-04-14T08:19:00.451Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 14 08:17 .git [2021-04-14T08:19:00.451Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 14 08:17 .github [2021-04-14T08:19:00.451Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 14 08:17 .gitignore [2021-04-14T08:19:00.451Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 14 08:18 go.mod [2021-04-14T08:19:00.451Z] -rw-r--r--. 1 jenkins jenkins 20735 Apr 14 08:18 go.sum [2021-04-14T08:19:00.451Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 14 08:17 internal [2021-04-14T08:19:00.451Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 14 08:17 Jenkinsfile [2021-04-14T08:19:00.451Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 14 08:17 LICENSE [2021-04-14T08:19:00.451Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 14 08:17 Makefile [2021-04-14T08:19:00.451Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 14 08:17 openapi [2021-04-14T08:19:00.451Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 14 08:17 pkg [2021-04-14T08:19:00.451Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 14 08:17 README.md [2021-04-14T08:19:00.451Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 14 08:17 RELEASE-NOTES.txt [2021-04-14T08:19:00.451Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 14 08:17 snap [2021-04-14T08:19:00.451Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 14 08:13 VERSION [2021-04-14T08:19:00.451Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 14 08:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-14T08:19:00.798Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=dd0b196889d4fd430a5007e633b91b3603e9182d --label arch=amd64 --label version=0.0.0 . [2021-04-14T08:19:01.062Z] Sending build context to Docker daemon 2.523MB [2021-04-14T08:19:01.062Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T08:19:01.062Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-14T08:19:01.062Z] ---> 631ec5a19428 [2021-04-14T08:19:01.062Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-14T08:19:01.637Z] ---> Running in a8208e3f447d [2021-04-14T08:19:01.904Z] Removing intermediate container a8208e3f447d [2021-04-14T08:19:01.904Z] ---> 501d70d8a376 [2021-04-14T08:19:01.904Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T08:19:01.904Z] ---> Running in 65efae4f5abf [2021-04-14T08:19:02.172Z] Removing intermediate container 65efae4f5abf [2021-04-14T08:19:02.172Z] ---> 27e2d7616437 [2021-04-14T08:19:02.172Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T08:19:02.172Z] ---> Running in d82cc83ef893 [2021-04-14T08:19:03.125Z] Removing intermediate container d82cc83ef893 [2021-04-14T08:19:03.125Z] ---> d88c2393280c [2021-04-14T08:19:03.125Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-14T08:19:03.125Z] ---> Running in 72cccebd9ec6 [2021-04-14T08:19:03.703Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T08:19:03.809Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.296s coverage: 57.1% of statements [2021-04-14T08:19:03.809Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.187s coverage: 6.6% of statements [2021-04-14T08:19:03.809Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements [2021-04-14T08:19:03.809Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-14T08:19:03.809Z] GO111MODULE=on go vet ./... [2021-04-14T08:19:04.283Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-14T08:19:04.865Z] OK: 167 MiB in 45 packages [2021-04-14T08:19:05.129Z] Removing intermediate container 72cccebd9ec6 [2021-04-14T08:19:05.129Z] ---> a2756562f052 [2021-04-14T08:19:05.129Z] Step 7/23 : COPY . . [2021-04-14T08:19:06.526Z] ---> 167230cd02c7 [2021-04-14T08:19:06.526Z] Step 8/23 : RUN go mod download [2021-04-14T08:19:06.526Z] ---> Running in cee744ab652b [2021-04-14T08:19:07.493Z] Removing intermediate container cee744ab652b [2021-04-14T08:19:07.493Z] ---> 56e7935788f1 [2021-04-14T08:19:07.493Z] Step 9/23 : RUN make build [2021-04-14T08:19:07.493Z] ---> Running in 2ddc6512a2c8 [2021-04-14T08:19:08.083Z] 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-14T08:19:20.422Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-14T08:19:20.685Z] Removing intermediate container 2ddc6512a2c8 [2021-04-14T08:19:20.685Z] ---> 228e93c402b0 [2021-04-14T08:19:20.685Z] Step 10/23 : FROM alpine:3.12 [2021-04-14T08:19:21.262Z] 3.12: Pulling from library/alpine [2021-04-14T08:19:21.262Z] 532819f3e44c: Pulling fs layer [2021-04-14T08:19:21.526Z] 532819f3e44c: Verifying Checksum [2021-04-14T08:19:21.526Z] 532819f3e44c: Download complete [2021-04-14T08:19:21.793Z] 532819f3e44c: Pull complete [2021-04-14T08:19:21.793Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-14T08:19:21.793Z] Status: Downloaded newer image for alpine:3.12 [2021-04-14T08:19:21.793Z] ---> 7230e588e954 [2021-04-14T08:19:21.793Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T08:19:21.793Z] ---> Running in f05f283fc70b [2021-04-14T08:19:22.060Z] Removing intermediate container f05f283fc70b [2021-04-14T08:19:22.060Z] ---> 3dc90d670784 [2021-04-14T08:19:22.060Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T08:19:22.060Z] ---> Running in dd00078cd162 [2021-04-14T08:19:23.017Z] Removing intermediate container dd00078cd162 [2021-04-14T08:19:23.017Z] ---> 3e81e47b7b6b [2021-04-14T08:19:23.017Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-14T08:19:23.282Z] ---> Running in bda1cdac2b46 [2021-04-14T08:19:23.545Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T08:19:24.495Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-14T08:19:24.758Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-14T08:19:24.758Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-14T08:19:25.026Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-14T08:19:25.970Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-14T08:19:25.970Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-14T08:19:25.970Z] Executing busybox-1.31.1-r20.trigger [2021-04-14T08:19:25.970Z] OK: 8 MiB in 19 packages [2021-04-14T08:19:26.546Z] Removing intermediate container bda1cdac2b46 [2021-04-14T08:19:26.546Z] ---> 22e33d84b9c8 [2021-04-14T08:19:26.546Z] Step 14/23 : WORKDIR / [2021-04-14T08:19:26.811Z] ---> Running in ef915bbfbbc1 [2021-04-14T08:19:26.811Z] Removing intermediate container ef915bbfbbc1 [2021-04-14T08:19:26.811Z] ---> 27688b6ec251 [2021-04-14T08:19:26.812Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-14T08:19:27.072Z] ---> 42533d92b02f [2021-04-14T08:19:27.072Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-14T08:19:27.646Z] ---> 493c0a614227 [2021-04-14T08:19:27.647Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-14T08:19:27.912Z] ---> c14cff90055f [2021-04-14T08:19:27.912Z] Step 18/23 : EXPOSE 49990 [2021-04-14T08:19:27.912Z] ---> Running in cbe86f285f91 [2021-04-14T08:19:28.177Z] Removing intermediate container cbe86f285f91 [2021-04-14T08:19:28.177Z] ---> b12fb9bd9f9b [2021-04-14T08:19:28.177Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-14T08:19:28.177Z] ---> Running in f16a47aeba02 [2021-04-14T08:19:28.440Z] Removing intermediate container f16a47aeba02 [2021-04-14T08:19:28.440Z] ---> 429a75170e3c [2021-04-14T08:19:28.440Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-14T08:19:28.440Z] ---> Running in 7ab6cd8936b6 [2021-04-14T08:19:28.702Z] Removing intermediate container 7ab6cd8936b6 [2021-04-14T08:19:28.702Z] ---> e866f6f6e807 [2021-04-14T08:19:28.702Z] Step 21/23 : LABEL arch=amd64 [2021-04-14T08:19:28.702Z] ---> Running in 6f922dafdd13 [2021-04-14T08:19:28.965Z] Removing intermediate container 6f922dafdd13 [2021-04-14T08:19:28.965Z] ---> f20051de0b91 [2021-04-14T08:19:28.965Z] Step 22/23 : LABEL git_sha=dd0b196889d4fd430a5007e633b91b3603e9182d [2021-04-14T08:19:28.965Z] ---> Running in 36da40068a08 [2021-04-14T08:19:28.965Z] Removing intermediate container 36da40068a08 [2021-04-14T08:19:28.965Z] ---> c315ff9c1ea7 [2021-04-14T08:19:28.965Z] Step 23/23 : LABEL version=0.0.0 [2021-04-14T08:19:29.228Z] ---> Running in 49b69c6c7b5b [2021-04-14T08:19:29.228Z] Removing intermediate container 49b69c6c7b5b [2021-04-14T08:19:29.228Z] ---> ea62df62bb58 [2021-04-14T08:19:29.228Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-14T08:19:29.228Z] Successfully built ea62df62bb58 [2021-04-14T08:19:29.228Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-14T08:19:30.462Z] ---> job-cost.sh [2021-04-14T08:19:30.462Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QxE8 [2021-04-14T08:19:45.426Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-14T08:19:50.866Z] gofmt -l . [2021-04-14T08:19:50.866Z] [ "`gofmt -l .`" = "" ] [2021-04-14T08:19:50.866Z] ./bin/test-attribution-txt.sh [2021-04-14T08:19:50.866Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-14T08:19:50.899Z] $ docker stop --time=1 766c5c5a45744fd75777a4c489cee4fcd5dcb4d19a8dfbf8140ca8b89c8adbe4 [2021-04-14T08:19:53.203Z] $ docker rm -f 766c5c5a45744fd75777a4c489cee4fcd5dcb4d19a8dfbf8140ca8b89c8adbe4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-14T08:19:54.360Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-14T08:19:54.399Z] Warning: overwriting stash ‘coverage-report’ [2021-04-14T08:19:55.395Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T08:19:56.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-14T08:19:56.416Z] + ls -al . [2021-04-14T08:19:56.416Z] total 224 [2021-04-14T08:19:56.416Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 08:19 . [2021-04-14T08:19:56.416Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 08:16 .. [2021-04-14T08:19:56.416Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 08:16 .dockerignore [2021-04-14T08:19:56.416Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 08:16 .git [2021-04-14T08:19:56.416Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 08:16 .github [2021-04-14T08:19:56.416Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 14 08:16 .gitignore [2021-04-14T08:19:56.416Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 14 08:16 Dockerfile.build [2021-04-14T08:19:56.416Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 14 08:16 Jenkinsfile [2021-04-14T08:19:56.416Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 08:16 LICENSE [2021-04-14T08:19:56.416Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 14 08:16 Makefile [2021-04-14T08:19:56.416Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 14 08:16 README.md [2021-04-14T08:19:56.416Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 14 08:16 RELEASE-NOTES.txt [2021-04-14T08:19:56.416Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 08:13 VERSION [2021-04-14T08:19:56.416Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 08:16 bin [2021-04-14T08:19:56.416Z] -rw-r--r-- 1 jenkins jenkins 99751 Apr 14 08:19 coverage.out [2021-04-14T08:19:56.416Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 08:16 example [2021-04-14T08:19:56.416Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 14 08:19 go.mod [2021-04-14T08:19:56.416Z] -rw-r--r-- 1 jenkins jenkins 20735 Apr 14 08:19 go.sum [2021-04-14T08:19:56.416Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 14 08:16 internal [2021-04-14T08:19:56.416Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 08:16 openapi [2021-04-14T08:19:56.416Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 08:16 pkg [2021-04-14T08:19:56.416Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 08:16 snap [2021-04-14T08:19:56.416Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 08:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-14T08:19:56.817Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=dd0b196889d4fd430a5007e633b91b3603e9182d --label arch=arm64 --label version=0.0.0 . [2021-04-14T08:19:57.441Z] Sending build context to Docker daemon 2.522MB [2021-04-14T08:19:57.441Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T08:19:57.441Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-14T08:19:57.441Z] ---> 456d2b988267 [2021-04-14T08:19:57.441Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-14T08:19:57.729Z] ---> Running in fda60ca64329 [2021-04-14T08:19:58.006Z] Removing intermediate container fda60ca64329 [2021-04-14T08:19:58.006Z] ---> 81a8c636f3ff [2021-04-14T08:19:58.006Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T08:19:58.289Z] ---> Running in c327d74aea77 [2021-04-14T08:19:58.886Z] Removing intermediate container c327d74aea77 [2021-04-14T08:19:58.886Z] ---> 02613dd529b6 [2021-04-14T08:19:58.886Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T08:19:58.886Z] ---> Running in 30b94e75dfa4 [2021-04-14T08:20:00.860Z] Removing intermediate container 30b94e75dfa4 [2021-04-14T08:20:00.860Z] ---> a3742e64ae74 [2021-04-14T08:20:00.860Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-14T08:20:01.136Z] ---> Running in 1cf0b77ca0f4 [2021-04-14T08:20:02.115Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T08:20:03.088Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T08:20:03.683Z] OK: 144 MiB in 45 packages [2021-04-14T08:20:04.665Z] Removing intermediate container 1cf0b77ca0f4 [2021-04-14T08:20:04.665Z] ---> e2c4fd4f7846 [2021-04-14T08:20:04.665Z] Step 7/23 : COPY . . [2021-04-14T08:20:06.096Z] ---> 81fc20c4430d [2021-04-14T08:20:06.096Z] Step 8/23 : RUN go mod download [2021-04-14T08:20:06.376Z] ---> Running in a08a00ed5ab5 [2021-04-14T08:20:08.993Z] Removing intermediate container a08a00ed5ab5 [2021-04-14T08:20:08.993Z] ---> 06668d52931e [2021-04-14T08:20:08.993Z] Step 9/23 : RUN make build [2021-04-14T08:20:08.993Z] ---> Running in 7a1dd00e1d64 [2021-04-14T08:20:09.591Z] 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-14T08:20:12.049Z] lf-activate-venv(): INFO: Adding /tmp/venv-QxE8/bin to PATH [2021-04-14T08:20:12.049Z] INFO: No Stack... [2021-04-14T08:20:13.438Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-14T08:20:14.010Z] INFO: Archiving Costs [Pipeline] sh [2021-04-14T08:20:14.334Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-14T08:20:14.334Z] + cut -d, -f6 [Pipeline] lock [2021-04-14T08:20:14.440Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-879-1-stack-cost] [2021-04-14T08:20:14.447Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-879-1-stack-cost] did not exist. Created. [2021-04-14T08:20:14.447Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-879-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-14T08:20:14.857Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-14T08:20:14.982Z] Stashed 1 file(s) [Pipeline] } [2021-04-14T08:20:15.002Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-879-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-14T08:20:41.940Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-14T08:20:46.244Z] Removing intermediate container 7a1dd00e1d64 [2021-04-14T08:20:46.244Z] ---> 2af08b59c24f [2021-04-14T08:20:46.244Z] Step 10/23 : FROM alpine:3.12 [2021-04-14T08:20:46.517Z] 3.12: Pulling from library/alpine [2021-04-14T08:20:47.942Z] 9a219e8acc52: Pulling fs layer [2021-04-14T08:20:48.217Z] 9a219e8acc52: Verifying Checksum [2021-04-14T08:20:48.217Z] 9a219e8acc52: Download complete [2021-04-14T08:20:48.812Z] 9a219e8acc52: Pull complete [2021-04-14T08:20:48.812Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-14T08:20:48.812Z] Status: Downloaded newer image for alpine:3.12 [2021-04-14T08:20:48.812Z] ---> d75e27dfc0a0 [2021-04-14T08:20:48.812Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T08:20:49.084Z] ---> Running in 2ff1793b7c30 [2021-04-14T08:20:49.357Z] Removing intermediate container 2ff1793b7c30 [2021-04-14T08:20:49.357Z] ---> 172442c9707f [2021-04-14T08:20:49.357Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T08:20:49.630Z] ---> Running in 94a2db3e4910 [2021-04-14T08:20:51.595Z] Removing intermediate container 94a2db3e4910 [2021-04-14T08:20:51.595Z] ---> e508e99b2f94 [2021-04-14T08:20:51.595Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-14T08:20:51.867Z] ---> Running in 3574b8471db2 [2021-04-14T08:20:52.840Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T08:20:53.811Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T08:20:54.406Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-14T08:20:54.406Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-14T08:20:54.406Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-14T08:20:54.676Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-14T08:20:54.676Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-14T08:20:54.947Z] Executing busybox-1.31.1-r20.trigger [2021-04-14T08:20:54.947Z] OK: 8 MiB in 19 packages [2021-04-14T08:20:56.377Z] Removing intermediate container 3574b8471db2 [2021-04-14T08:20:56.377Z] ---> d2e4ad65ed35 [2021-04-14T08:20:56.377Z] Step 14/23 : WORKDIR / [2021-04-14T08:20:56.377Z] ---> Running in a9cf9d4652fd [2021-04-14T08:20:56.970Z] Removing intermediate container a9cf9d4652fd [2021-04-14T08:20:56.970Z] ---> 204a32529811 [2021-04-14T08:20:56.970Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-14T08:20:57.566Z] ---> 86e436339e14 [2021-04-14T08:20:57.566Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-14T08:20:58.999Z] ---> 0cd8d48a53b4 [2021-04-14T08:20:58.999Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-14T08:20:59.593Z] ---> 7dc64b90b4f9 [2021-04-14T08:20:59.593Z] Step 18/23 : EXPOSE 49990 [2021-04-14T08:20:59.593Z] ---> Running in 09edb5a8efd7 [2021-04-14T08:21:00.226Z] Removing intermediate container 09edb5a8efd7 [2021-04-14T08:21:00.227Z] ---> cb1687120c20 [2021-04-14T08:21:00.227Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-14T08:21:00.227Z] ---> Running in f1c12729c4cf [2021-04-14T08:21:00.820Z] Removing intermediate container f1c12729c4cf [2021-04-14T08:21:00.820Z] ---> cc4ea29ba26d [2021-04-14T08:21:00.820Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-14T08:21:00.820Z] ---> Running in c58f5a55c011 [2021-04-14T08:21:01.416Z] Removing intermediate container c58f5a55c011 [2021-04-14T08:21:01.416Z] ---> 401a1420264e [2021-04-14T08:21:01.416Z] Step 21/23 : LABEL arch=arm64 [2021-04-14T08:21:01.695Z] ---> Running in fea2c9da7c68 [2021-04-14T08:21:01.978Z] Removing intermediate container fea2c9da7c68 [2021-04-14T08:21:01.978Z] ---> 303fb08206a6 [2021-04-14T08:21:01.979Z] Step 22/23 : LABEL git_sha=dd0b196889d4fd430a5007e633b91b3603e9182d [2021-04-14T08:21:02.253Z] ---> Running in e5290d2fca00 [2021-04-14T08:21:02.852Z] Removing intermediate container e5290d2fca00 [2021-04-14T08:21:02.852Z] ---> 3d660bb15a1d [2021-04-14T08:21:02.852Z] Step 23/23 : LABEL version=0.0.0 [2021-04-14T08:21:02.852Z] ---> Running in b34fdfb444a5 [2021-04-14T08:21:03.446Z] Removing intermediate container b34fdfb444a5 [2021-04-14T08:21:03.446Z] ---> 282d5537b22d [2021-04-14T08:21:03.446Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-14T08:21:03.446Z] Successfully built 282d5537b22d [2021-04-14T08:21:03.446Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-14T08:21:04.127Z] ---> job-cost.sh [2021-04-14T08:21:04.127Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mJDs [2021-04-14T08:21:43.075Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-14T08:23:19.828Z] lf-activate-venv(): INFO: Adding /tmp/venv-mJDs/bin to PATH [2021-04-14T08:23:19.828Z] INFO: No Stack... [2021-04-14T08:23:19.828Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-14T08:23:19.828Z] INFO: Archiving Costs [Pipeline] sh [2021-04-14T08:23:20.193Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-14T08:23:20.193Z] cut -d, -f6 [Pipeline] lock [2021-04-14T08:23:20.333Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-879-1-stack-cost] [2021-04-14T08:23:20.340Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-879-1-stack-cost] did not exist. Created. [2021-04-14T08:23:20.340Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-879-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-14T08:23:20.805Z] /w/workspace/device-sdk-go/1@tmp/durable-d7fe5bb9/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-d7fe5bb9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-14T08:23:21.172Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-14T08:23:21.209Z] Warning: overwriting stash ‘stack-cost’ [2021-04-14T08:23:21.363Z] Stashed 1 file(s) [Pipeline] } [2021-04-14T08:23:21.381Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-879-1-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-14T08:23:22.348Z] provisioning config files... [2021-04-14T08:23:22.357Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp/config7091272760636877618tmp [Pipeline] { [Pipeline] sh [2021-04-14T08:23:22.719Z] + set +x [2021-04-14T08:23:22.719Z] + curl -s https://codecov.io/bash [2021-04-14T08:23:22.719Z] + bash -s -- [2021-04-14T08:23:22.989Z] [2021-04-14T08:23:22.989Z] _____ _ [2021-04-14T08:23:22.989Z] / ____| | | [2021-04-14T08:23:22.989Z] | | ___ __| | ___ ___ _____ __ [2021-04-14T08:23:22.989Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-14T08:23:22.989Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-14T08:23:22.989Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-14T08:23:22.989Z] Bash-1.0.1 [2021-04-14T08:23:22.989Z] [2021-04-14T08:23:22.989Z] [2021-04-14T08:23:22.989Z] ==> git version 2.24.3 found [2021-04-14T08:23:22.989Z] ==> 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-14T08:23:22.989Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-14T08:23:22.989Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-14T08:23:22.989Z] ==> Jenkins CI detected. [2021-04-14T08:23:22.989Z] project root: . [2021-04-14T08:23:22.989Z] --> token set from env [2021-04-14T08:23:22.989Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-14T08:23:22.989Z] ==> Running gcov in . (disable via -X gcov) [2021-04-14T08:23:22.989Z] ==> Python coveragepy not found [2021-04-14T08:23:22.989Z] ==> Searching for coverage reports in: [2021-04-14T08:23:22.989Z] + . [2021-04-14T08:23:22.989Z] -> Found 1 reports [2021-04-14T08:23:22.989Z] ==> Detecting git/mercurial file structure [2021-04-14T08:23:22.989Z] ==> Reading reports [2021-04-14T08:23:22.989Z] + ./coverage.out bytes=99751 [2021-04-14T08:23:22.989Z] ==> Appending adjustments [2021-04-14T08:23:22.989Z] https://docs.codecov.io/docs/fixing-reports [2021-04-14T08:23:23.251Z] + Found adjustments [2021-04-14T08:23:23.251Z] ==> Gzipping contents [2021-04-14T08:23:23.251Z] 16K /tmp/codecov.QabDDj.gz [2021-04-14T08:23:23.251Z] ==> Uploading reports [2021-04-14T08:23:23.251Z] url: https://codecov.io [2021-04-14T08:23:23.251Z] query: branch=PR-879&commit=dd0b196889d4fd430a5007e633b91b3603e9182d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-879%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=879&job=&cmd_args= [2021-04-14T08:23:23.251Z] -> Pinging Codecov [2021-04-14T08:23:23.251Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-879&commit=dd0b196889d4fd430a5007e633b91b3603e9182d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-879%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=879&job=&cmd_args= [2021-04-14T08:23:23.826Z] -> Uploading to [2021-04-14T08:23:23.826Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-14/7E55EF52A471D76F132DFD9A03CDDE97/dd0b196889d4fd430a5007e633b91b3603e9182d/b02559ec-7f43-4164-865c-1a54c3dd096a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210414%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210414T082323Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4604d3394de7dbc1f84a6e6e599aa9f2007c4f2645808545ce401cc9326ff68e [2021-04-14T08:23:23.826Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-14T08:23:23.826Z] Dload Upload Total Spent Left Speed [2021-04-14T08:23:24.349Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13488 0 0 100 13488 0 35621 --:--:-- --:--:-- --:--:-- 35588 [2021-04-14T08:23:24.349Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/dd0b196889d4fd430a5007e633b91b3603e9182d [Pipeline] } [2021-04-14T08:23:24.373Z] 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-14T08:23:26.633Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T08:23:27.027Z] ---> package-listing.sh [2021-04-14T08:23:27.027Z] ++ facter osfamily [2021-04-14T08:23:27.027Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-14T08:23:27.027Z] + OS_FAMILY=redhat [2021-04-14T08:23:27.027Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-879 [2021-04-14T08:23:27.027Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-14T08:23:27.027Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-14T08:23:27.027Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-14T08:23:27.027Z] + PACKAGES=/tmp/packages_start.txt [2021-04-14T08:23:27.027Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-879 ']' [2021-04-14T08:23:27.027Z] + PACKAGES=/tmp/packages_end.txt [2021-04-14T08:23:27.027Z] + case "${OS_FAMILY}" in [2021-04-14T08:23:27.027Z] + rpm -qa [2021-04-14T08:23:27.027Z] + sort [2021-04-14T08:23:31.245Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-14T08:23:31.245Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-14T08:23:31.245Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-14T08:23:31.245Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-879 ']' [2021-04-14T08:23:31.245Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-879/archives/ [2021-04-14T08:23:31.245Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-879/archives/ [Pipeline] echo [2021-04-14T08:23:31.289Z] 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-879/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-14T08:23:31.606Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-14T08:23:31.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T08:23:31.934Z] [2021-04-14T08:23:31.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-14T08:23:32.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T08:23:32.315Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-14T08:23:32.315Z] df20fa9351a1: Pulling fs layer [2021-04-14T08:23:32.315Z] 36b3adc4ff6f: Pulling fs layer [2021-04-14T08:23:32.315Z] 8ad3a11d3b57: Pulling fs layer [2021-04-14T08:23:32.315Z] 46f8f816bc3b: Pulling fs layer [2021-04-14T08:23:32.315Z] 93b61091891f: Pulling fs layer [2021-04-14T08:23:32.315Z] 93b9cdb0e59b: Pulling fs layer [2021-04-14T08:23:32.315Z] 5e14af77c1be: Pulling fs layer [2021-04-14T08:23:32.315Z] 01666e4c0597: Pulling fs layer [2021-04-14T08:23:32.315Z] aa168da1d23b: Pulling fs layer [2021-04-14T08:23:32.315Z] 46f8f816bc3b: Waiting [2021-04-14T08:23:32.315Z] 93b61091891f: Waiting [2021-04-14T08:23:32.315Z] 93b9cdb0e59b: Waiting [2021-04-14T08:23:32.315Z] 5e14af77c1be: Waiting [2021-04-14T08:23:32.315Z] 01666e4c0597: Waiting [2021-04-14T08:23:32.315Z] aa168da1d23b: Waiting [2021-04-14T08:23:32.315Z] 36b3adc4ff6f: Verifying Checksum [2021-04-14T08:23:32.315Z] 36b3adc4ff6f: Download complete [2021-04-14T08:23:32.582Z] 46f8f816bc3b: Verifying Checksum [2021-04-14T08:23:32.582Z] 46f8f816bc3b: Download complete [2021-04-14T08:23:32.582Z] df20fa9351a1: Verifying Checksum [2021-04-14T08:23:32.582Z] df20fa9351a1: Download complete [2021-04-14T08:23:32.582Z] 93b9cdb0e59b: Verifying Checksum [2021-04-14T08:23:32.582Z] 93b9cdb0e59b: Download complete [2021-04-14T08:23:32.582Z] 93b61091891f: Download complete [2021-04-14T08:23:32.582Z] 5e14af77c1be: Verifying Checksum [2021-04-14T08:23:32.582Z] 5e14af77c1be: Download complete [2021-04-14T08:23:32.582Z] 01666e4c0597: Download complete [2021-04-14T08:23:32.582Z] 8ad3a11d3b57: Verifying Checksum [2021-04-14T08:23:32.582Z] 8ad3a11d3b57: Download complete [2021-04-14T08:23:32.843Z] df20fa9351a1: Pull complete [2021-04-14T08:23:32.843Z] 36b3adc4ff6f: Pull complete [2021-04-14T08:23:33.418Z] 8ad3a11d3b57: Pull complete [2021-04-14T08:23:33.678Z] 46f8f816bc3b: Pull complete [2021-04-14T08:23:34.620Z] aa168da1d23b: Verifying Checksum [2021-04-14T08:23:34.620Z] aa168da1d23b: Download complete [2021-04-14T08:23:34.881Z] 93b61091891f: Pull complete [2021-04-14T08:23:35.452Z] 93b9cdb0e59b: Pull complete [2021-04-14T08:23:35.453Z] 5e14af77c1be: Pull complete [2021-04-14T08:23:35.453Z] 01666e4c0597: Pull complete [2021-04-14T08:23:42.064Z] aa168da1d23b: Pull complete [2021-04-14T08:23:42.064Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-14T08:23:42.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T08:23:42.064Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-14T08:23:42.234Z] prd-centos7-docker-4c-2g-79 does not seem to be running inside a container [2021-04-14T08:23:42.274Z] $ 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-879/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-879 -v /w/workspace/dgexfoundry_device-sdk-go_PR-879:/w/workspace/dgexfoundry_device-sdk-go_PR-879:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-14T08:23:45.230Z] $ docker top ff0ef38263c521178f7dc2b74703193ae8dff1f00ba198fd09219ac03bee2d4e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T08:23:45.687Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-14T08:23:45.999Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-14T08:23:46.312Z] + ls /var/log/sa-host [2021-04-14T08:23:46.312Z] + sadf -c /var/log/sa-host/sa14 [2021-04-14T08:23:46.312Z] file_magic: OK [2021-04-14T08:23:46.312Z] HZ: Using current value: 100 [2021-04-14T08:23:46.312Z] file_header: OK [2021-04-14T08:23:46.312Z] 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-14T08:23:46.312Z] Statistics: [2021-04-14T08:23:46.312Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-14T08:23:46.312Z] File successfully converted to sysstat format version 12.2.1 [2021-04-14T08:23:46.312Z] + sadf -c /var/log/sa-host/sa23 [2021-04-14T08:23:46.312Z] file_magic: OK [2021-04-14T08:23:46.312Z] HZ: Using current value: 100 [2021-04-14T08:23:46.312Z] file_header: OK [2021-04-14T08:23:46.312Z] 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-14T08:23:46.312Z] Statistics: [2021-04-14T08:23:46.312Z] Hnuu...uuuununununu... [2021-04-14T08:23:46.312Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-14T08:23:46.924Z] provisioning config files... [2021-04-14T08:23:46.941Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-879@tmp/config9080388083754062384tmp [Pipeline] { [Pipeline] echo [2021-04-14T08:23:47.000Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T08:23:47.336Z] ---> create-netrc.sh [Pipeline] } [2021-04-14T08:23:47.359Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-14T08:23:47.446Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T08:23:47.798Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-14T08:23:47.830Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T08:23:48.161Z] ---> sudo-logs.sh [2021-04-14T08:23:48.161Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-14T08:23:48.249Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T08:23:48.578Z] ---> job-cost.sh [2021-04-14T08:23:48.578Z] lf-activate-venv: SKIPPING [2021-04-14T08:23:48.578Z] DEBUG: total: 0.20999999344348907 [2021-04-14T08:23:48.578Z] INFO: Retrieving Stack Cost... [2021-04-14T08:23:49.970Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-14T08:23:50.541Z] INFO: Archiving Costs [Pipeline] echo [2021-04-14T08:23:50.577Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T08:23:50.929Z] ---> logs-deploy.sh [2021-04-14T08:23:50.930Z] lf-activate-venv: SKIPPING [2021-04-14T08:23:50.930Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-879/1 [2021-04-14T08:23:50.930Z] INFO: archiving workspace using pattern(s): [2021-04-14T08:23:52.318Z] Archives upload complete. [2021-04-14T08:23:52.579Z] INFO: archiving logs to Nexus