Pull request #866 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 c5bee4ff36719fbf7e86a19b7760f0eb931608b9+00c5ba735e55045c2b436cba75d2b8d60948dbc8 (1a3542d779ac8555c1332ab48f6690efe259a96f) 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-866/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-866/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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-33141 in /w/workspace/dgexfoundry_device-sdk-go_PR-866 [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-866 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit c5bee4ff36719fbf7e86a19b7760f0eb931608b9 Merge succeeded, producing c5bee4ff36719fbf7e86a19b7760f0eb931608b9 Checking out Revision c5bee4ff36719fbf7e86a19b7760f0eb931608b9 (PR-866) > 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/866/head:refs/remotes/origin/PR-866 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5bee4ff36719fbf7e86a19b7760f0eb931608b9 # 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 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5bee4ff36719fbf7e86a19b7760f0eb931608b9 # timeout=10 Commit message: "feat: improve Event/Reading Origin logic" 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-07T09:06:17.176Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-07T09:06:17.527Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-07T09:06:17.832Z] ========================================================= [2021-04-07T09:06:17.832Z] EdgeX Global Pipelines Version Info [2021-04-07T09:06:17.832Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-07T09:06:19.967Z] ------------------- [2021-04-07T09:06:19.967Z] stable info: [2021-04-07T09:06:19.967Z] ------------------- [2021-04-07T09:06:19.967Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-07T09:06:19.967Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-07T09:06:19.967Z] Message: update stable to v1.0.186 [2021-04-07T09:06:20.545Z] ------------------- [2021-04-07T09:06:20.545Z] experimental info: [2021-04-07T09:06:20.545Z] ------------------- [2021-04-07T09:06:20.545Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-07T09:06:20.545Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-07T09:06:20.545Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-07T09:06:20.979Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-07T09:06:21.119Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-07T09:06:21.254Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-07T09:06:21.378Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-07T09:06:21.519Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-07T09:06:21.676Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-07T09:06:21.808Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-07T09:06:21.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-07T09:06:22.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-07T09:06:22.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-07T09:06:22.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-07T09:06:22.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-07T09:06:22.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-07T09:06:22.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-07T09:06:22.952Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-07T09:06:23.073Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T09:06:23.197Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T09:06:23.315Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T09:06:23.450Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-07T09:06:23.585Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-07T09:06:23.709Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-07T09:06:24.059Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-07T09:06:24.177Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-07T09:06:24.300Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-07T09:06:24.421Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-07T09:06:24.548Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-07T09:06:24.672Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-866 [Pipeline] echo [2021-04-07T09:06:24.804Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-866 [Pipeline] echo [2021-04-07T09:06:24.929Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-866 [Pipeline] echo [2021-04-07T09:06:25.071Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5bee4ff36719fbf7e86a19b7760f0eb931608b9 [Pipeline] echo [2021-04-07T09:06:25.205Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5bee4f [Pipeline] echo [2021-04-07T09:06:25.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T09:06:25.608Z] provisioning config files... [2021-04-07T09:06:25.637Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-866@tmp/config2166544821521065956tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T09:06:26.072Z] ---> docker-login.sh [2021-04-07T09:06:26.073Z] nexus3.edgexfoundry.org:10001 [2021-04-07T09:06:26.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:06:26.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:06:26.607Z] Configure a credential helper to remove this warning. See [2021-04-07T09:06:26.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:06:26.607Z] [2021-04-07T09:06:26.607Z] Login Succeeded [2021-04-07T09:06:26.607Z] nexus3.edgexfoundry.org:10002 [2021-04-07T09:06:26.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:06:26.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:06:26.872Z] Configure a credential helper to remove this warning. See [2021-04-07T09:06:26.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:06:26.872Z] [2021-04-07T09:06:26.872Z] Login Succeeded [2021-04-07T09:06:26.872Z] nexus3.edgexfoundry.org:10003 [2021-04-07T09:06:26.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:06:27.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:06:27.136Z] Configure a credential helper to remove this warning. See [2021-04-07T09:06:27.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:06:27.136Z] [2021-04-07T09:06:27.136Z] Login Succeeded [2021-04-07T09:06:27.136Z] nexus3.edgexfoundry.org:10004 [2021-04-07T09:06:27.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:06:27.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:06:27.136Z] Configure a credential helper to remove this warning. See [2021-04-07T09:06:27.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:06:27.136Z] [2021-04-07T09:06:27.136Z] Login Succeeded [2021-04-07T09:06:27.136Z] docker.io [2021-04-07T09:06:27.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:06:27.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:06:27.674Z] Configure a credential helper to remove this warning. See [2021-04-07T09:06:27.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:06:27.674Z] [2021-04-07T09:06:27.674Z] Login Succeeded [2021-04-07T09:06:27.674Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T09:06:27.709Z] 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-07T09:06:28.795Z] + git log --format=format:%s -1 c5bee4ff36719fbf7e86a19b7760f0eb931608b9 [Pipeline] echo [2021-04-07T09:06:28.941Z] GIT_COMMIT: c5bee4ff36719fbf7e86a19b7760f0eb931608b9, Commit Message: feat: improve Event/Reading Origin logic [Pipeline] echo [2021-04-07T09:06:29.045Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:06:29.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T09:06:29.665Z] [2021-04-07T09:06:29.665Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:06:30.078Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T09:06:30.078Z] latest: Pulling from edgex-devops/git-semver [2021-04-07T09:06:30.078Z] 31603596830f: Pulling fs layer [2021-04-07T09:06:30.078Z] 2a8b12db71e7: Pulling fs layer [2021-04-07T09:06:30.078Z] 6ca5941a6612: Pulling fs layer [2021-04-07T09:06:30.078Z] ecc8261a40a4: Pulling fs layer [2021-04-07T09:06:30.078Z] ecc8261a40a4: Waiting [2021-04-07T09:06:30.078Z] 2a8b12db71e7: Verifying Checksum [2021-04-07T09:06:30.078Z] 2a8b12db71e7: Download complete [2021-04-07T09:06:30.078Z] 31603596830f: Download complete [2021-04-07T09:06:30.344Z] ecc8261a40a4: Verifying Checksum [2021-04-07T09:06:30.344Z] ecc8261a40a4: Download complete [2021-04-07T09:06:30.344Z] 6ca5941a6612: Verifying Checksum [2021-04-07T09:06:30.344Z] 6ca5941a6612: Download complete [2021-04-07T09:06:30.613Z] 31603596830f: Pull complete [2021-04-07T09:06:30.882Z] 2a8b12db71e7: Pull complete [2021-04-07T09:06:31.847Z] 6ca5941a6612: Pull complete [2021-04-07T09:06:31.847Z] ecc8261a40a4: Pull complete [2021-04-07T09:06:31.847Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-07T09:06:31.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T09:06:31.847Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-07T09:06:32.163Z] prd-centos7-docker-4c-2g-33141 does not seem to be running inside a container [2021-04-07T09:06:32.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-866 -v /w/workspace/dgexfoundry_device-sdk-go_PR-866:/w/workspace/dgexfoundry_device-sdk-go_PR-866:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-866@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-866@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-07T09:06:34.266Z] $ docker top 72ef7e46f5d49acf1e161468e73f593215e35c595cdbde12deb09631b3d9c374 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-07T09:06:34.655Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T09:06:34.655Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T09:06:34.897Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T09:06:34.901Z] $ docker exec 72ef7e46f5d49acf1e161468e73f593215e35c595cdbde12deb09631b3d9c374 ssh-agent [2021-04-07T09:06:35.105Z] SSH_AUTH_SOCK=/tmp/ssh-sNWVtk2mI81p/agent.11 [2021-04-07T09:06:35.105Z] SSH_AGENT_PID=16 [2021-04-07T09:06:35.116Z] Running ssh-add (command line suppressed) [2021-04-07T09:06:35.247Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-866@tmp/private_key_1574884005575077738.key (/w/workspace/dgexfoundry_device-sdk-go_PR-866@tmp/private_key_1574884005575077738.key) [2021-04-07T09:06:35.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T09:06:35.690Z] + git tag --points-at HEAD [Pipeline] } [2021-04-07T09:06:35.718Z] $ docker exec --env ******** --env ******** 72ef7e46f5d49acf1e161468e73f593215e35c595cdbde12deb09631b3d9c374 ssh-agent -k [2021-04-07T09:06:35.838Z] unset SSH_AUTH_SOCK; [2021-04-07T09:06:35.838Z] unset SSH_AGENT_PID; [2021-04-07T09:06:35.838Z] echo Agent pid 16 killed; [2021-04-07T09:06:35.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-07T09:06:36.110Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T09:06:36.110Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T09:06:36.308Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T09:06:36.312Z] $ docker exec 72ef7e46f5d49acf1e161468e73f593215e35c595cdbde12deb09631b3d9c374 ssh-agent [2021-04-07T09:06:36.482Z] SSH_AUTH_SOCK=/tmp/ssh-bmcoRlVcqnbl/agent.46 [2021-04-07T09:06:36.482Z] SSH_AGENT_PID=51 [2021-04-07T09:06:36.490Z] Running ssh-add (command line suppressed) [2021-04-07T09:06:36.624Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-866@tmp/private_key_6192071603303981598.key (/w/workspace/dgexfoundry_device-sdk-go_PR-866@tmp/private_key_6192071603303981598.key) [2021-04-07T09:06:36.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T09:06:37.076Z] + git semver init [2021-04-07T09:06:37.076Z] # -> Open(): unable to determine branch for HEAD [2021-04-07T09:06:37.076Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-866/.git [2021-04-07T09:06:37.076Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-866 [2021-04-07T09:06:37.076Z] # $SEMVER_REMOTE_NAME = origin [2021-04-07T09:06:37.076Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-07T09:06:37.076Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-07T09:06:37.076Z] # $SEMVER_BRANCH = PR-866 [2021-04-07T09:06:37.076Z] # $SEMVER_TEMP = /tmp/semver-232787107 [2021-04-07T09:06:37.076Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-07T09:06:38.033Z] # '/tmp/semver-232787107' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-866/.semver' [2021-04-07T09:06:38.033Z] # -> Force: false [2021-04-07T09:06:38.033Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-866/.semver [Pipeline] } [2021-04-07T09:06:38.060Z] $ docker exec --env ******** --env ******** 72ef7e46f5d49acf1e161468e73f593215e35c595cdbde12deb09631b3d9c374 ssh-agent -k [2021-04-07T09:06:38.199Z] unset SSH_AUTH_SOCK; [2021-04-07T09:06:38.199Z] unset SSH_AGENT_PID; [2021-04-07T09:06:38.199Z] echo Agent pid 51 killed; [2021-04-07T09:06:38.266Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-07T09:06:38.932Z] + git semver [Pipeline] } [2021-04-07T09:06:38.965Z] $ docker stop --time=1 72ef7e46f5d49acf1e161468e73f593215e35c595cdbde12deb09631b3d9c374 [2021-04-07T09:06:40.481Z] $ docker rm -f 72ef7e46f5d49acf1e161468e73f593215e35c595cdbde12deb09631b3d9c374 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T09:06:41.129Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-07T09:06:41.584Z] Stashed 1 file(s) [Pipeline] echo [2021-04-07T09:06:41.608Z] [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-07T09:06:57.415Z] Still waiting to schedule task [2021-04-07T09:06:57.415Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-07T09:06:57.441Z] Still waiting to schedule task [2021-04-07T09:06:57.441Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-07T09:09:32.510Z] Running on prd-centos7-docker-4c-2g-33142 in /w/workspace/dgexfoundry_device-sdk-go_PR-866 [Pipeline] { [Pipeline] ws [2021-04-07T09:09:32.605Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-07T09:09:35.167Z] using credential edgex-jenkins-ssh [2021-04-07T09:09:35.222Z] Cloning the remote Git repository [2021-04-07T09:09:35.250Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T09:09:35.327Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-07T09:09:35.407Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T09:09:35.407Z] > git --version # timeout=10 [2021-04-07T09:09:35.417Z] > git --version # 'git version 2.24.3' [2021-04-07T09:09:35.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T09:09:35.446Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T09:09:36.795Z] Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit c5bee4ff36719fbf7e86a19b7760f0eb931608b9 [2021-04-07T09:09:36.893Z] Merge succeeded, producing c5bee4ff36719fbf7e86a19b7760f0eb931608b9 [2021-04-07T09:09:36.893Z] Checking out Revision c5bee4ff36719fbf7e86a19b7760f0eb931608b9 (PR-866) [2021-04-07T09:09:36.201Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T09:09:36.208Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T09:09:36.222Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T09:09:36.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T09:09:36.239Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T09:09:36.243Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/866/head:refs/remotes/origin/PR-866 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T09:09:36.803Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T09:09:36.811Z] > git checkout -f c5bee4ff36719fbf7e86a19b7760f0eb931608b9 # timeout=10 [2021-04-07T09:09:36.855Z] > git remote # timeout=10 [2021-04-07T09:09:36.864Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T09:09:36.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T09:09:36.873Z] > git merge 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 [2021-04-07T09:09:36.885Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T09:09:36.896Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T09:09:36.903Z] > git checkout -f c5bee4ff36719fbf7e86a19b7760f0eb931608b9 # timeout=10 [2021-04-07T09:09:40.532Z] Commit message: "feat: improve Event/Reading Origin logic" [2021-04-07T09:09:40.560Z] > git --version # timeout=10 [2021-04-07T09:09:40.563Z] > git --version # 'git version 2.24.3' [2021-04-07T09:09:40.569Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T09:09:42.083Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-07T09:09:42.437Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T09:09:42.758Z] + sudo service docker restart [2021-04-07T09:09:42.758Z] + true [2021-04-07T09:09:42.758Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T09:09:43.851Z] provisioning config files... [2021-04-07T09:09:43.883Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3974086635799211152tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T09:09:44.354Z] ---> docker-login.sh [2021-04-07T09:09:44.354Z] nexus3.edgexfoundry.org:10001 [2021-04-07T09:09:44.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:09:44.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:09:44.618Z] Configure a credential helper to remove this warning. See [2021-04-07T09:09:44.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:09:44.618Z] [2021-04-07T09:09:44.618Z] Login Succeeded [2021-04-07T09:09:44.618Z] nexus3.edgexfoundry.org:10002 [2021-04-07T09:09:44.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:09:44.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:09:44.882Z] Configure a credential helper to remove this warning. See [2021-04-07T09:09:44.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:09:44.882Z] [2021-04-07T09:09:44.882Z] Login Succeeded [2021-04-07T09:09:44.882Z] nexus3.edgexfoundry.org:10003 [2021-04-07T09:09:45.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:09:45.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:09:45.148Z] Configure a credential helper to remove this warning. See [2021-04-07T09:09:45.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:09:45.148Z] [2021-04-07T09:09:45.148Z] Login Succeeded [2021-04-07T09:09:45.148Z] nexus3.edgexfoundry.org:10004 [2021-04-07T09:09:45.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:09:45.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:09:45.420Z] Configure a credential helper to remove this warning. See [2021-04-07T09:09:45.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:09:45.420Z] [2021-04-07T09:09:45.420Z] Login Succeeded [2021-04-07T09:09:45.420Z] docker.io [2021-04-07T09:09:45.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:09:45.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:09:45.684Z] Configure a credential helper to remove this warning. See [2021-04-07T09:09:45.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:09:45.684Z] [2021-04-07T09:09:45.684Z] Login Succeeded [2021-04-07T09:09:45.684Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T09:09:45.711Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-07T09:09:46.289Z] ========================================================= [2021-04-07T09:09:46.289Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-07T09:09:46.289Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:09:46.682Z] + 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-07T09:09:46.682Z] Sending build context to Docker daemon 2.416MB [2021-04-07T09:09:46.682Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T09:09:46.682Z] Step 2/8 : FROM ${BASE} [2021-04-07T09:09:46.944Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-07T09:09:46.944Z] 188c0c94c7c5: Pulling fs layer [2021-04-07T09:09:46.944Z] 0ef7d3d256c8: Pulling fs layer [2021-04-07T09:09:46.944Z] de9db76c5a1d: Pulling fs layer [2021-04-07T09:09:46.944Z] bca2f99d35d6: Pulling fs layer [2021-04-07T09:09:46.944Z] 93359f2a8cfa: Pulling fs layer [2021-04-07T09:09:46.944Z] 7c6f9722023f: Pulling fs layer [2021-04-07T09:09:46.944Z] a35cf1a2eb13: Pulling fs layer [2021-04-07T09:09:46.944Z] 93359f2a8cfa: Waiting [2021-04-07T09:09:46.944Z] 7c6f9722023f: Waiting [2021-04-07T09:09:46.944Z] bca2f99d35d6: Waiting [2021-04-07T09:09:46.944Z] a35cf1a2eb13: Waiting [2021-04-07T09:09:46.944Z] de9db76c5a1d: Verifying Checksum [2021-04-07T09:09:46.944Z] de9db76c5a1d: Download complete [2021-04-07T09:09:46.944Z] 0ef7d3d256c8: Verifying Checksum [2021-04-07T09:09:46.944Z] 0ef7d3d256c8: Download complete [2021-04-07T09:09:46.944Z] 93359f2a8cfa: Download complete [2021-04-07T09:09:46.944Z] 188c0c94c7c5: Verifying Checksum [2021-04-07T09:09:46.944Z] 188c0c94c7c5: Download complete [2021-04-07T09:09:46.944Z] 7c6f9722023f: Verifying Checksum [2021-04-07T09:09:46.944Z] 7c6f9722023f: Download complete [2021-04-07T09:09:47.217Z] 188c0c94c7c5: Pull complete [2021-04-07T09:09:47.479Z] 0ef7d3d256c8: Pull complete [2021-04-07T09:09:47.479Z] de9db76c5a1d: Pull complete [2021-04-07T09:09:50.051Z] a35cf1a2eb13: Verifying Checksum [2021-04-07T09:09:50.051Z] a35cf1a2eb13: Download complete [2021-04-07T09:09:50.051Z] bca2f99d35d6: Verifying Checksum [2021-04-07T09:09:50.051Z] bca2f99d35d6: Download complete [2021-04-07T09:09:55.391Z] bca2f99d35d6: Pull complete [2021-04-07T09:09:55.391Z] 93359f2a8cfa: Pull complete [2021-04-07T09:09:55.391Z] 7c6f9722023f: Pull complete [2021-04-07T09:10:05.440Z] a35cf1a2eb13: Pull complete [2021-04-07T09:10:05.440Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-07T09:10:05.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-07T09:10:05.440Z] ---> a62c8e92a672 [2021-04-07T09:10:05.440Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T09:10:05.440Z] ---> Running in 3437e5337c67 [2021-04-07T09:10:05.440Z] Removing intermediate container 3437e5337c67 [2021-04-07T09:10:05.440Z] ---> bb3140e1cd12 [2021-04-07T09:10:05.440Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T09:10:05.440Z] ---> Running in 524e2c14f39e [2021-04-07T09:10:05.440Z] Removing intermediate container 524e2c14f39e [2021-04-07T09:10:05.440Z] ---> 30c3c1e6f934 [2021-04-07T09:10:05.440Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-07T09:10:05.737Z] ---> Running in 3a482d4618bc [2021-04-07T09:10:06.313Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T09:10:06.889Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T09:10:07.466Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-07T09:10:07.466Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-07T09:10:07.729Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-07T09:10:07.729Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-07T09:10:07.729Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-07T09:10:07.992Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-07T09:10:07.992Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T09:10:07.992Z] OK: 167 MiB in 45 packages [2021-04-07T09:10:08.573Z] Removing intermediate container 3a482d4618bc [2021-04-07T09:10:08.573Z] ---> 8a578eb561ef [2021-04-07T09:10:08.573Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-07T09:10:08.835Z] ---> Running in 18da8900b797 [2021-04-07T09:10:09.099Z] Removing intermediate container 18da8900b797 [2021-04-07T09:10:09.099Z] ---> 2213170757d8 [2021-04-07T09:10:09.099Z] Step 7/8 : COPY . . [2021-04-07T09:10:10.502Z] ---> bb339fd6dcde [2021-04-07T09:10:10.502Z] Step 8/8 : RUN go mod download [2021-04-07T09:10:10.502Z] ---> Running in 387ceb5f42f5 [2021-04-07T09:10:32.556Z] Removing intermediate container 387ceb5f42f5 [2021-04-07T09:10:32.556Z] ---> b801d9ee7e0b [2021-04-07T09:10:32.556Z] Successfully built b801d9ee7e0b [2021-04-07T09:10:32.556Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:10:32.928Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T09:10:32.928Z] . [Pipeline] withDockerContainer [2021-04-07T09:10:33.091Z] prd-centos7-docker-4c-2g-33142 does not seem to be running inside a container [2021-04-07T09:10:33.160Z] $ 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-07T09:10:33.944Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33143 in /w/workspace/dgexfoundry_device-sdk-go_PR-866 [2021-04-07T09:10:34.031Z] $ docker top df2393ef922abc89498de6b84e7d2ee2c4b479a71900f2dc73ffc618ba079134 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2021-04-07T09:10:34.487Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-07T09:10:34.714Z] + go version [2021-04-07T09:10:34.714Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-07T09:10:34.746Z] $ docker stop --time=1 df2393ef922abc89498de6b84e7d2ee2c4b479a71900f2dc73ffc618ba079134 [2021-04-07T09:10:36.133Z] $ docker rm -f df2393ef922abc89498de6b84e7d2ee2c4b479a71900f2dc73ffc618ba079134 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:10:37.210Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T09:10:37.210Z] . [Pipeline] withDockerContainer [2021-04-07T09:10:37.331Z] prd-centos7-docker-4c-2g-33142 does not seem to be running inside a container [2021-04-07T09:10:37.397Z] $ 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-07T09:10:38.089Z] $ docker top 628e557b6657a8b7b4c20a45b0ee2eaa1d5525786e101509d6505bc6246103ee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T09:10:38.625Z] + make test [2021-04-07T09:10:38.625Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-07T09:10:39.771Z] using credential edgex-jenkins-ssh [2021-04-07T09:10:39.827Z] Cloning the remote Git repository [2021-04-07T09:10:39.880Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T09:10:39.978Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-07T09:10:40.070Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T09:10:40.070Z] > git --version # timeout=10 [2021-04-07T09:10:40.092Z] > git --version # 'git version 2.17.1' [2021-04-07T09:10:40.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T09:10:40.154Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T09:10:41.992Z] Merging remotes/origin/master commit 00c5ba735e55045c2b436cba75d2b8d60948dbc8 into PR head commit c5bee4ff36719fbf7e86a19b7760f0eb931608b9 [2021-04-07T09:10:42.212Z] Merge succeeded, producing c5bee4ff36719fbf7e86a19b7760f0eb931608b9 [2021-04-07T09:10:42.212Z] Checking out Revision c5bee4ff36719fbf7e86a19b7760f0eb931608b9 (PR-866) [2021-04-07T09:10:41.283Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T09:10:41.309Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T09:10:41.341Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-07T09:10:41.375Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-07T09:10:41.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T09:10:41.391Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/866/head:refs/remotes/origin/PR-866 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T09:10:42.012Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T09:10:42.026Z] > git checkout -f c5bee4ff36719fbf7e86a19b7760f0eb931608b9 # timeout=10 [2021-04-07T09:10:42.125Z] > git remote # timeout=10 [2021-04-07T09:10:42.146Z] > git config --get remote.origin.url # timeout=10 [2021-04-07T09:10:42.166Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T09:10:42.177Z] > git merge 00c5ba735e55045c2b436cba75d2b8d60948dbc8 # timeout=10 [2021-04-07T09:10:42.198Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-07T09:10:42.223Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T09:10:42.234Z] > git checkout -f c5bee4ff36719fbf7e86a19b7760f0eb931608b9 # timeout=10 [2021-04-07T09:10:46.673Z] Commit message: "feat: improve Event/Reading Origin logic" [2021-04-07T09:10:46.726Z] > git --version # timeout=10 [2021-04-07T09:10:46.735Z] > git --version # 'git version 2.17.1' [2021-04-07T09:10:46.744Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-07T09:10:46.841Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T09:10:48.398Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-07T09:10:48.861Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T09:10:49.224Z] + sudo service docker restart [2021-04-07T09:10:49.224Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-07T09:10:51.991Z] provisioning config files... [2021-04-07T09:10:52.029Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5310403586879786286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T09:10:52.496Z] ---> docker-login.sh [2021-04-07T09:10:52.496Z] nexus3.edgexfoundry.org:10001 [2021-04-07T09:10:53.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:10:53.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:10:53.695Z] Configure a credential helper to remove this warning. See [2021-04-07T09:10:53.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:10:53.695Z] [2021-04-07T09:10:53.695Z] Login Succeeded [2021-04-07T09:10:53.695Z] nexus3.edgexfoundry.org:10002 [2021-04-07T09:10:53.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:10:53.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:10:53.973Z] Configure a credential helper to remove this warning. See [2021-04-07T09:10:53.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:10:53.973Z] [2021-04-07T09:10:53.973Z] Login Succeeded [2021-04-07T09:10:53.973Z] nexus3.edgexfoundry.org:10003 [2021-04-07T09:10:54.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:10:54.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:10:54.576Z] Configure a credential helper to remove this warning. See [2021-04-07T09:10:54.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:10:54.576Z] [2021-04-07T09:10:54.576Z] Login Succeeded [2021-04-07T09:10:54.576Z] nexus3.edgexfoundry.org:10004 [2021-04-07T09:10:54.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:10:55.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:10:55.128Z] Configure a credential helper to remove this warning. See [2021-04-07T09:10:55.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:10:55.128Z] [2021-04-07T09:10:55.128Z] Login Succeeded [2021-04-07T09:10:55.128Z] docker.io [2021-04-07T09:10:55.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-07T09:10:56.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-07T09:10:56.006Z] Configure a credential helper to remove this warning. See [2021-04-07T09:10:56.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-07T09:10:56.006Z] [2021-04-07T09:10:56.006Z] Login Succeeded [2021-04-07T09:10:56.006Z] ---> docker-login.sh ends [Pipeline] } [2021-04-07T09:10:56.040Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-07T09:10:56.598Z] ========================================================= [2021-04-07T09:10:56.598Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-07T09:10:56.598Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:10:57.019Z] + 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-07T09:10:57.628Z] Sending build context to Docker daemon 2.401MB [2021-04-07T09:10:57.628Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T09:10:57.628Z] Step 2/8 : FROM ${BASE} [2021-04-07T09:10:57.628Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-07T09:10:57.628Z] 5f621e34cdf4: Pulling fs layer [2021-04-07T09:10:57.628Z] a4357932f1b6: Pulling fs layer [2021-04-07T09:10:57.628Z] 18c013af1878: Pulling fs layer [2021-04-07T09:10:57.628Z] 00ac8860ef70: Pulling fs layer [2021-04-07T09:10:57.628Z] 63d7cb157983: Pulling fs layer [2021-04-07T09:10:57.628Z] b116817d02f9: Pulling fs layer [2021-04-07T09:10:57.628Z] 745a02a5169b: Pulling fs layer [2021-04-07T09:10:57.628Z] 00ac8860ef70: Waiting [2021-04-07T09:10:57.628Z] 63d7cb157983: Waiting [2021-04-07T09:10:57.628Z] b116817d02f9: Waiting [2021-04-07T09:10:57.628Z] 745a02a5169b: Waiting [2021-04-07T09:10:57.628Z] 18c013af1878: Download complete [2021-04-07T09:10:57.628Z] a4357932f1b6: Verifying Checksum [2021-04-07T09:10:57.628Z] a4357932f1b6: Download complete [2021-04-07T09:10:57.628Z] 63d7cb157983: Download complete [2021-04-07T09:10:58.223Z] b116817d02f9: Download complete [2021-04-07T09:10:58.223Z] 5f621e34cdf4: Verifying Checksum [2021-04-07T09:10:58.223Z] 5f621e34cdf4: Download complete [2021-04-07T09:10:58.829Z] 5f621e34cdf4: Pull complete [2021-04-07T09:10:59.428Z] a4357932f1b6: Pull complete [2021-04-07T09:11:00.025Z] 18c013af1878: Pull complete [2021-04-07T09:11:00.624Z] 745a02a5169b: Verifying Checksum [2021-04-07T09:11:00.624Z] 745a02a5169b: Download complete [2021-04-07T09:11:01.614Z] 00ac8860ef70: Verifying Checksum [2021-04-07T09:11:01.614Z] 00ac8860ef70: Download complete [2021-04-07T09:11:05.096Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-07T09:11:05.096Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-07T09:11:05.096Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-07T09:11:05.096Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-07T09:11:05.096Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-07T09:11:08.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.092s coverage: 28.1% of statements [2021-04-07T09:11:08.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 78.9% of statements [2021-04-07T09:11:09.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.103s coverage: 7.8% of statements [2021-04-07T09:11:09.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-07T09:11:09.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-07T09:11:09.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-07T09:11:09.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.097s coverage: 32.5% of statements [2021-04-07T09:11:09.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-07T09:11:09.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-07T09:11:09.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-07T09:11:10.090Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.106s coverage: 57.1% of statements [2021-04-07T09:11:10.680Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.250s coverage: 6.6% of statements [2021-04-07T09:11:10.680Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-04-07T09:11:10.680Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-07T09:11:10.950Z] GO111MODULE=on go vet ./... [2021-04-07T09:11:11.810Z] 00ac8860ef70: Pull complete [2021-04-07T09:11:12.084Z] 63d7cb157983: Pull complete [2021-04-07T09:11:12.686Z] b116817d02f9: Pull complete [2021-04-07T09:11:17.013Z] 745a02a5169b: Pull complete [2021-04-07T09:11:17.013Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-07T09:11:17.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-07T09:11:17.014Z] ---> b7e6874047d6 [2021-04-07T09:11:17.014Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T09:11:19.647Z] ---> Running in d6db40f10258 [2021-04-07T09:11:19.647Z] Removing intermediate container d6db40f10258 [2021-04-07T09:11:19.647Z] ---> 6f005934027d [2021-04-07T09:11:19.647Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T09:11:19.647Z] ---> Running in e94bde4e0370 [2021-04-07T09:11:22.281Z] Removing intermediate container e94bde4e0370 [2021-04-07T09:11:22.281Z] ---> 7a3dff25a4fb [2021-04-07T09:11:22.281Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-07T09:11:22.281Z] ---> Running in d15884b05509 [2021-04-07T09:11:23.252Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T09:11:23.845Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T09:11:24.819Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-07T09:11:24.819Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-07T09:11:24.819Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-07T09:11:24.819Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-07T09:11:25.091Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-07T09:11:25.091Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-07T09:11:25.377Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T09:11:25.377Z] OK: 144 MiB in 45 packages [2021-04-07T09:11:26.001Z] gofmt -l . [2021-04-07T09:11:26.001Z] [ "`gofmt -l .`" = "" ] [2021-04-07T09:11:26.001Z] ./bin/test-attribution-txt.sh [2021-04-07T09:11:26.578Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-07T09:11:26.610Z] $ docker stop --time=1 628e557b6657a8b7b4c20a45b0ee2eaa1d5525786e101509d6505bc6246103ee [2021-04-07T09:11:26.826Z] Removing intermediate container d15884b05509 [2021-04-07T09:11:26.826Z] ---> 870fe4b2f2b3 [2021-04-07T09:11:26.826Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-07T09:11:26.826Z] ---> Running in adebd9409040 [2021-04-07T09:11:27.420Z] Removing intermediate container adebd9409040 [2021-04-07T09:11:27.420Z] ---> 8cb46a1cbe38 [2021-04-07T09:11:27.420Z] Step 7/8 : COPY . . [2021-04-07T09:11:28.267Z] $ docker rm -f 628e557b6657a8b7b4c20a45b0ee2eaa1d5525786e101509d6505bc6246103ee [2021-04-07T09:11:28.396Z] ---> bac83dcda267 [2021-04-07T09:11:28.397Z] Step 8/8 : RUN go mod download [2021-04-07T09:11:28.671Z] ---> Running in a5c23cf0dffb [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T09:11:29.078Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-07T09:11:29.484Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-07T09:11:31.011Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-07T09:11:31.345Z] + ls -al . [2021-04-07T09:11:31.345Z] total 188 [2021-04-07T09:11:31.345Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 7 09:11 . [2021-04-07T09:11:31.345Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 7 09:09 .. [2021-04-07T09:11:31.345Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 7 09:09 bin [2021-04-07T09:11:31.345Z] -rw-r--r--. 1 jenkins jenkins 99750 Apr 7 09:11 coverage.out [2021-04-07T09:11:31.345Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 7 09:09 Dockerfile.build [2021-04-07T09:11:31.345Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 7 09:09 .dockerignore [2021-04-07T09:11:31.345Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 7 09:09 example [2021-04-07T09:11:31.345Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 7 09:09 .git [2021-04-07T09:11:31.345Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 7 09:09 .github [2021-04-07T09:11:31.345Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 7 09:09 .gitignore [2021-04-07T09:11:31.345Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 7 09:11 go.mod [2021-04-07T09:11:31.345Z] -rw-r--r--. 1 jenkins jenkins 20946 Apr 7 09:11 go.sum [2021-04-07T09:11:31.345Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 7 09:09 internal [2021-04-07T09:11:31.345Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 7 09:09 Jenkinsfile [2021-04-07T09:11:31.345Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 7 09:09 LICENSE [2021-04-07T09:11:31.345Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 7 09:09 Makefile [2021-04-07T09:11:31.345Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 7 09:09 openapi [2021-04-07T09:11:31.345Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 7 09:09 pkg [2021-04-07T09:11:31.345Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 7 09:09 README.md [2021-04-07T09:11:31.345Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 7 09:09 RELEASE-NOTES.txt [2021-04-07T09:11:31.345Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 7 09:09 snap [2021-04-07T09:11:31.345Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 7 09:06 VERSION [2021-04-07T09:11:31.345Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 7 09:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:11:31.704Z] + 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=c5bee4ff36719fbf7e86a19b7760f0eb931608b9 --label arch=amd64 --label version=0.0.0 . [2021-04-07T09:11:31.968Z] Sending build context to Docker daemon 2.516MB [2021-04-07T09:11:31.968Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T09:11:31.968Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-07T09:11:31.968Z] ---> b801d9ee7e0b [2021-04-07T09:11:31.968Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-07T09:11:32.547Z] ---> Running in 9829197a0830 [2021-04-07T09:11:32.810Z] Removing intermediate container 9829197a0830 [2021-04-07T09:11:32.810Z] ---> 6e7ca0f3826d [2021-04-07T09:11:32.810Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T09:11:32.810Z] ---> Running in aa6e551a783a [2021-04-07T09:11:33.080Z] Removing intermediate container aa6e551a783a [2021-04-07T09:11:33.080Z] ---> f27fb11c5a77 [2021-04-07T09:11:33.080Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T09:11:33.080Z] ---> Running in 5f2cca77104e [2021-04-07T09:11:34.037Z] Removing intermediate container 5f2cca77104e [2021-04-07T09:11:34.037Z] ---> 00ea4f43cd3c [2021-04-07T09:11:34.037Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-07T09:11:34.301Z] ---> Running in f218cb0821aa [2021-04-07T09:11:34.567Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T09:11:35.516Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T09:11:35.779Z] OK: 167 MiB in 45 packages [2021-04-07T09:11:36.355Z] Removing intermediate container f218cb0821aa [2021-04-07T09:11:36.355Z] ---> 6116d041ee5b [2021-04-07T09:11:36.355Z] Step 7/23 : COPY . . [2021-04-07T09:11:37.307Z] ---> b244830e3860 [2021-04-07T09:11:37.307Z] Step 8/23 : RUN go mod download [2021-04-07T09:11:37.307Z] ---> Running in 6b3fb4a7fb68 [2021-04-07T09:11:38.262Z] Removing intermediate container 6b3fb4a7fb68 [2021-04-07T09:11:38.262Z] ---> 6d6f8e7c94a7 [2021-04-07T09:11:38.262Z] Step 9/23 : RUN make build [2021-04-07T09:11:38.262Z] ---> Running in f9890ae3dcd4 [2021-04-07T09:11:38.841Z] 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-07T09:11:49.003Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-07T09:11:52.328Z] Removing intermediate container f9890ae3dcd4 [2021-04-07T09:11:52.328Z] ---> a6b3221125da [2021-04-07T09:11:52.328Z] Step 10/23 : FROM alpine:3.12 [2021-04-07T09:11:52.328Z] 3.12: Pulling from library/alpine [2021-04-07T09:11:52.328Z] 532819f3e44c: Pulling fs layer [2021-04-07T09:11:52.591Z] 532819f3e44c: Verifying Checksum [2021-04-07T09:11:52.591Z] 532819f3e44c: Download complete [2021-04-07T09:11:52.857Z] 532819f3e44c: Pull complete [2021-04-07T09:11:52.857Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-07T09:11:52.857Z] Status: Downloaded newer image for alpine:3.12 [2021-04-07T09:11:52.857Z] ---> 7230e588e954 [2021-04-07T09:11:52.857Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T09:11:53.121Z] ---> Running in 648fec8cab9b [2021-04-07T09:11:53.383Z] Removing intermediate container 648fec8cab9b [2021-04-07T09:11:53.383Z] ---> a4064dcae589 [2021-04-07T09:11:53.383Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T09:11:53.383Z] ---> Running in 33beaaea0895 [2021-04-07T09:11:54.335Z] Removing intermediate container 33beaaea0895 [2021-04-07T09:11:54.335Z] ---> 18fa87955c75 [2021-04-07T09:11:54.335Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-07T09:11:54.335Z] ---> Running in 2b94427977e1 [2021-04-07T09:11:54.909Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T09:11:55.482Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T09:11:55.500Z] Removing intermediate container a5c23cf0dffb [2021-04-07T09:11:55.500Z] ---> f790dafad355 [2021-04-07T09:11:55.500Z] Successfully built f790dafad355 [2021-04-07T09:11:55.500Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:11:55.880Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T09:11:55.880Z] . [Pipeline] withDockerContainer [2021-04-07T09:11:56.058Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-07T09:11:56.058Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-07T09:11:56.176Z] prd-ubuntu18.04-docker-arm64-4c-16g-33143 does not seem to be running inside a container [2021-04-07T09:11:56.264Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-04-07T09:11:56.321Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-07T09:11:56.321Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-07T09:11:56.584Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-07T09:11:56.584Z] Executing busybox-1.31.1-r20.trigger [2021-04-07T09:11:56.584Z] OK: 8 MiB in 19 packages [2021-04-07T09:11:57.159Z] Removing intermediate container 2b94427977e1 [2021-04-07T09:11:57.159Z] ---> 4bf50ebe40fb [2021-04-07T09:11:57.159Z] Step 14/23 : WORKDIR / [2021-04-07T09:11:57.159Z] ---> Running in 32c92ab257b5 [2021-04-07T09:11:57.421Z] Removing intermediate container 32c92ab257b5 [2021-04-07T09:11:57.421Z] ---> 7cd955e5ef95 [2021-04-07T09:11:57.421Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-07T09:11:57.422Z] ---> d0f3a51fe554 [2021-04-07T09:11:57.422Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-07T09:11:57.732Z] $ docker top a3db034d5cdcc0a7fa9e33ec04c76eb7a8c8e051bec60a0770b02f4923f989c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T09:11:58.369Z] ---> 0562cdc0f7d8 [2021-04-07T09:11:58.369Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-07T09:11:58.369Z] ---> 4c07fc1e3305 [2021-04-07T09:11:58.369Z] Step 18/23 : EXPOSE 49990 [2021-04-07T09:11:58.631Z] ---> Running in 2e5a4017240d [2021-04-07T09:11:58.631Z] Removing intermediate container 2e5a4017240d [2021-04-07T09:11:58.631Z] ---> 35a94cc0ae03 [2021-04-07T09:11:58.631Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-07T09:11:58.631Z] ---> Running in 12c36223a635 [2021-04-07T09:11:58.872Z] + go version [2021-04-07T09:11:58.872Z] go version go1.15.5 linux/arm64 [2021-04-07T09:11:58.892Z] Removing intermediate container 12c36223a635 [2021-04-07T09:11:58.892Z] ---> a63944df90bb [2021-04-07T09:11:58.892Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-07T09:11:58.892Z] ---> Running in ee574156af44 [Pipeline] } [2021-04-07T09:11:58.920Z] $ docker stop --time=1 a3db034d5cdcc0a7fa9e33ec04c76eb7a8c8e051bec60a0770b02f4923f989c5 [2021-04-07T09:11:59.153Z] Removing intermediate container ee574156af44 [2021-04-07T09:11:59.153Z] ---> 8dbf3cde4b75 [2021-04-07T09:11:59.153Z] Step 21/23 : LABEL arch=amd64 [2021-04-07T09:11:59.153Z] ---> Running in 618f8b5a1f93 [2021-04-07T09:11:59.414Z] Removing intermediate container 618f8b5a1f93 [2021-04-07T09:11:59.414Z] ---> dc5db965eb03 [2021-04-07T09:11:59.414Z] Step 22/23 : LABEL git_sha=c5bee4ff36719fbf7e86a19b7760f0eb931608b9 [2021-04-07T09:11:59.414Z] ---> Running in aedc9fbf3a8a [2021-04-07T09:11:59.414Z] Removing intermediate container aedc9fbf3a8a [2021-04-07T09:11:59.414Z] ---> 79394773fc29 [2021-04-07T09:11:59.414Z] Step 23/23 : LABEL version=0.0.0 [2021-04-07T09:11:59.681Z] ---> Running in 4b93abbcdd09 [2021-04-07T09:11:59.681Z] Removing intermediate container 4b93abbcdd09 [2021-04-07T09:11:59.681Z] ---> 0030e137d0d4 [2021-04-07T09:11:59.681Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-07T09:11:59.681Z] Successfully built 0030e137d0d4 [2021-04-07T09:11:59.942Z] Successfully tagged docker-device-sdk-simple:latest [2021-04-07T09:12:00.883Z] $ docker rm -f a3db034d5cdcc0a7fa9e33ec04c76eb7a8c8e051bec60a0770b02f4923f989c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Test) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] script [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [2021-04-07T09:12:02.454Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T09:12:02.454Z] . [Pipeline] libraryResource [Pipeline] sh [Pipeline] withDockerContainer [2021-04-07T09:12:02.842Z] prd-ubuntu18.04-docker-arm64-4c-16g-33143 does not seem to be running inside a container [2021-04-07T09:12:02.864Z] ---> job-cost.sh [2021-04-07T09:12:02.864Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1z52 [2021-04-07T09:12:02.927Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-04-07T09:12:04.450Z] $ docker top a0bae5d4cb6e764f5bef38d801de73a432fe12e265358cff152efc1717742f82 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T09:12:05.515Z] + make test [2021-04-07T09:12:05.515Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-07T09:12:17.956Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T09:12:27.703Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-07T09:12:50.147Z] lf-activate-venv(): INFO: Adding /tmp/venv-1z52/bin to PATH [2021-04-07T09:12:50.147Z] INFO: No Stack... [2021-04-07T09:12:50.147Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T09:12:50.147Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T09:12:50.480Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-07T09:12:50.480Z] + cut -d, -f6 [Pipeline] lock [2021-04-07T09:12:50.594Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-866-1-stack-cost] [2021-04-07T09:12:50.602Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-866-1-stack-cost] did not exist. Created. [2021-04-07T09:12:50.602Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-866-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T09:12:51.528Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-07T09:12:51.683Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T09:12:51.705Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-866-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-07T09:13:14.714Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-07T09:13:14.714Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-07T09:13:14.714Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-07T09:13:14.714Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-07T09:13:14.714Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-07T09:13:27.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.138s coverage: 28.1% of statements [2021-04-07T09:13:27.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.201s coverage: 78.9% of statements [2021-04-07T09:13:27.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.196s coverage: 7.8% of statements [2021-04-07T09:13:27.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-07T09:13:27.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-07T09:13:27.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-07T09:13:28.585Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.286s coverage: 32.5% of statements [2021-04-07T09:13:28.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-07T09:13:28.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-07T09:13:28.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-07T09:13:32.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.300s coverage: 57.1% of statements [2021-04-07T09:13:32.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.110s coverage: 6.6% of statements [2021-04-07T09:13:32.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.185s coverage: 5.0% of statements [2021-04-07T09:13:32.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-07T09:13:32.942Z] GO111MODULE=on go vet ./... [2021-04-07T09:14:19.968Z] gofmt -l . [2021-04-07T09:14:19.968Z] [ "`gofmt -l .`" = "" ] [2021-04-07T09:14:19.968Z] ./bin/test-attribution-txt.sh [2021-04-07T09:14:19.968Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-07T09:14:20.019Z] $ docker stop --time=1 a0bae5d4cb6e764f5bef38d801de73a432fe12e265358cff152efc1717742f82 [2021-04-07T09:14:22.355Z] $ docker rm -f a0bae5d4cb6e764f5bef38d801de73a432fe12e265358cff152efc1717742f82 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T09:14:23.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-07T09:14:23.671Z] Warning: overwriting stash ‘coverage-report’ [2021-04-07T09:14:24.516Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T09:14:25.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-07T09:14:25.930Z] + ls -al . [2021-04-07T09:14:25.930Z] total 224 [2021-04-07T09:14:25.930Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 09:14 . [2021-04-07T09:14:25.930Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:10 .. [2021-04-07T09:14:25.930Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 09:10 .dockerignore [2021-04-07T09:14:25.930Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 09:10 .git [2021-04-07T09:14:25.930Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:10 .github [2021-04-07T09:14:25.930Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 7 09:10 .gitignore [2021-04-07T09:14:25.930Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 7 09:10 Dockerfile.build [2021-04-07T09:14:25.930Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 7 09:10 Jenkinsfile [2021-04-07T09:14:25.930Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 7 09:10 LICENSE [2021-04-07T09:14:25.930Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 7 09:10 Makefile [2021-04-07T09:14:25.930Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 7 09:10 README.md [2021-04-07T09:14:25.930Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 7 09:10 RELEASE-NOTES.txt [2021-04-07T09:14:25.930Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 09:06 VERSION [2021-04-07T09:14:25.930Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 09:10 bin [2021-04-07T09:14:25.930Z] -rw-r--r-- 1 jenkins jenkins 99750 Apr 7 09:13 coverage.out [2021-04-07T09:14:25.930Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 09:10 example [2021-04-07T09:14:25.930Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 7 09:14 go.mod [2021-04-07T09:14:25.930Z] -rw-r--r-- 1 jenkins jenkins 20946 Apr 7 09:14 go.sum [2021-04-07T09:14:25.930Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 7 09:10 internal [2021-04-07T09:14:25.930Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:10 openapi [2021-04-07T09:14:25.930Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 7 09:10 pkg [2021-04-07T09:14:25.930Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 09:10 snap [2021-04-07T09:14:25.930Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 7 09:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:14:26.333Z] + 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=c5bee4ff36719fbf7e86a19b7760f0eb931608b9 --label arch=arm64 --label version=0.0.0 . [2021-04-07T09:14:26.969Z] Sending build context to Docker daemon 2.502MB [2021-04-07T09:14:26.969Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T09:14:26.969Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-07T09:14:26.969Z] ---> f790dafad355 [2021-04-07T09:14:26.969Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-07T09:14:27.251Z] ---> Running in 3b57d084b810 [2021-04-07T09:14:27.852Z] Removing intermediate container 3b57d084b810 [2021-04-07T09:14:27.852Z] ---> ef30f0aba185 [2021-04-07T09:14:27.852Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T09:14:27.852Z] ---> Running in 2a989b319206 [2021-04-07T09:14:28.450Z] Removing intermediate container 2a989b319206 [2021-04-07T09:14:28.450Z] ---> eb51c855e2e7 [2021-04-07T09:14:28.450Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T09:14:28.450Z] ---> Running in f5c66e0e34c2 [2021-04-07T09:14:30.425Z] Removing intermediate container f5c66e0e34c2 [2021-04-07T09:14:30.425Z] ---> 268ea86cbfa4 [2021-04-07T09:14:30.425Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-07T09:14:30.700Z] ---> Running in 76f3fd2baddc [2021-04-07T09:14:31.682Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T09:14:32.653Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T09:14:33.247Z] OK: 144 MiB in 45 packages [2021-04-07T09:14:34.247Z] Removing intermediate container 76f3fd2baddc [2021-04-07T09:14:34.247Z] ---> fc406b05e446 [2021-04-07T09:14:34.247Z] Step 7/23 : COPY . . [2021-04-07T09:14:35.686Z] ---> bdd4d10ef9a7 [2021-04-07T09:14:35.686Z] Step 8/23 : RUN go mod download [2021-04-07T09:14:35.686Z] ---> Running in 1ad9b4627912 [2021-04-07T09:14:38.320Z] Removing intermediate container 1ad9b4627912 [2021-04-07T09:14:38.320Z] ---> 90bd1868c06c [2021-04-07T09:14:38.320Z] Step 9/23 : RUN make build [2021-04-07T09:14:38.320Z] ---> Running in 29b57bdd3e1e [2021-04-07T09:14:39.303Z] 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-07T09:15:11.677Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-07T09:15:14.321Z] Removing intermediate container 29b57bdd3e1e [2021-04-07T09:15:14.321Z] ---> 071b5d2408ee [2021-04-07T09:15:14.321Z] Step 10/23 : FROM alpine:3.12 [2021-04-07T09:15:14.593Z] 3.12: Pulling from library/alpine [2021-04-07T09:15:14.865Z] 9a219e8acc52: Pulling fs layer [2021-04-07T09:15:14.865Z] 9a219e8acc52: Verifying Checksum [2021-04-07T09:15:14.865Z] 9a219e8acc52: Download complete [2021-04-07T09:15:15.463Z] 9a219e8acc52: Pull complete [2021-04-07T09:15:15.463Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-07T09:15:15.463Z] Status: Downloaded newer image for alpine:3.12 [2021-04-07T09:15:15.463Z] ---> d75e27dfc0a0 [2021-04-07T09:15:15.463Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-07T09:15:15.735Z] ---> Running in 3df30c8b54a0 [2021-04-07T09:15:16.330Z] Removing intermediate container 3df30c8b54a0 [2021-04-07T09:15:16.330Z] ---> 3a93498359c5 [2021-04-07T09:15:16.330Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-07T09:15:16.330Z] ---> Running in ed2e0b695bc3 [2021-04-07T09:15:18.305Z] Removing intermediate container ed2e0b695bc3 [2021-04-07T09:15:18.305Z] ---> 1472668639bb [2021-04-07T09:15:18.305Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-07T09:15:18.586Z] ---> Running in ccd5254145b4 [2021-04-07T09:15:19.567Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T09:15:20.159Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T09:15:21.135Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-07T09:15:21.135Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-07T09:15:21.135Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-07T09:15:21.404Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-07T09:15:21.404Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-07T09:15:21.676Z] Executing busybox-1.31.1-r20.trigger [2021-04-07T09:15:21.676Z] OK: 8 MiB in 19 packages [2021-04-07T09:15:23.110Z] Removing intermediate container ccd5254145b4 [2021-04-07T09:15:23.110Z] ---> 0adb2e3b9542 [2021-04-07T09:15:23.110Z] Step 14/23 : WORKDIR / [2021-04-07T09:15:23.110Z] ---> Running in 4b00b8d66a96 [2021-04-07T09:15:23.383Z] Removing intermediate container 4b00b8d66a96 [2021-04-07T09:15:23.383Z] ---> e86588e7aec8 [2021-04-07T09:15:23.383Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-07T09:15:24.362Z] ---> 7874069867c3 [2021-04-07T09:15:24.363Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-07T09:15:25.341Z] ---> f79bca69804b [2021-04-07T09:15:25.341Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-07T09:15:26.318Z] ---> bd28c1d01556 [2021-04-07T09:15:26.318Z] Step 18/23 : EXPOSE 49990 [2021-04-07T09:15:26.318Z] ---> Running in f5fd783295a2 [2021-04-07T09:15:26.593Z] Removing intermediate container f5fd783295a2 [2021-04-07T09:15:26.593Z] ---> de450526049f [2021-04-07T09:15:26.593Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-07T09:15:26.868Z] ---> Running in 72cfbd4c227c [2021-04-07T09:15:27.463Z] Removing intermediate container 72cfbd4c227c [2021-04-07T09:15:27.463Z] ---> 2284372428a3 [2021-04-07T09:15:27.463Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-07T09:15:27.463Z] ---> Running in 0dd1a56a282f [2021-04-07T09:15:27.740Z] Removing intermediate container 0dd1a56a282f [2021-04-07T09:15:27.740Z] ---> 8d1f13e369f2 [2021-04-07T09:15:27.740Z] Step 21/23 : LABEL arch=arm64 [2021-04-07T09:15:28.015Z] ---> Running in da96572d9676 [2021-04-07T09:15:28.611Z] Removing intermediate container da96572d9676 [2021-04-07T09:15:28.611Z] ---> 422d993c7cad [2021-04-07T09:15:28.611Z] Step 22/23 : LABEL git_sha=c5bee4ff36719fbf7e86a19b7760f0eb931608b9 [2021-04-07T09:15:28.611Z] ---> Running in a2cad7239ca8 [2021-04-07T09:15:29.209Z] Removing intermediate container a2cad7239ca8 [2021-04-07T09:15:29.209Z] ---> 8cc2ef75ef18 [2021-04-07T09:15:29.209Z] Step 23/23 : LABEL version=0.0.0 [2021-04-07T09:15:29.209Z] ---> Running in c53b87bddc8c [2021-04-07T09:15:29.805Z] Removing intermediate container c53b87bddc8c [2021-04-07T09:15:29.805Z] ---> b909cd8764e3 [2021-04-07T09:15:29.805Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-07T09:15:29.805Z] Successfully built b909cd8764e3 [2021-04-07T09:15:29.805Z] 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-07T09:15:30.960Z] ---> job-cost.sh [2021-04-07T09:15:30.960Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4Em6 [2021-04-07T09:16:09.981Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T09:17:46.730Z] lf-activate-venv(): INFO: Adding /tmp/venv-4Em6/bin to PATH [2021-04-07T09:17:46.730Z] INFO: No Stack... [2021-04-07T09:17:46.730Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-07T09:17:46.730Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T09:17:47.125Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-07T09:17:47.125Z] + cut -d, -f6 [Pipeline] lock [2021-04-07T09:17:47.259Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-866-1-stack-cost] [2021-04-07T09:17:47.266Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-866-1-stack-cost] did not exist. Created. [2021-04-07T09:17:47.266Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-866-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T09:17:47.786Z] /w/workspace/device-sdk-go/1@tmp/durable-56d0de72/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-56d0de72/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-07T09:17:48.166Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-07T09:17:48.207Z] Warning: overwriting stash ‘stack-cost’ [2021-04-07T09:17:48.367Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T09:17:48.387Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-866-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-07T09:17:50.102Z] provisioning config files... [2021-04-07T09:17:50.113Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-866@tmp/config6373342675796547928tmp [Pipeline] { [Pipeline] sh [2021-04-07T09:17:50.536Z] + set +x [2021-04-07T09:17:50.537Z] + curl -s https://codecov.io/bash [2021-04-07T09:17:50.537Z] + bash -s -- [2021-04-07T09:17:50.802Z] [2021-04-07T09:17:50.802Z] _____ _ [2021-04-07T09:17:50.802Z] / ____| | | [2021-04-07T09:17:50.802Z] | | ___ __| | ___ ___ _____ __ [2021-04-07T09:17:50.802Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-07T09:17:50.802Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-07T09:17:50.802Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-07T09:17:50.802Z] Bash-20210309-2b87ace [2021-04-07T09:17:50.802Z] [2021-04-07T09:17:50.802Z] [2021-04-07T09:17:50.802Z] ==> git version 2.24.3 found [2021-04-07T09:17:50.803Z] ==> 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-07T09:17:50.803Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-07T09:17:50.803Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-07T09:17:50.803Z] ==> Jenkins CI detected. [2021-04-07T09:17:50.803Z] project root: . [2021-04-07T09:17:50.803Z] --> token set from env [2021-04-07T09:17:50.803Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-07T09:17:50.803Z] ==> Running gcov in . (disable via -X gcov) [2021-04-07T09:17:50.803Z] ==> Python coveragepy not found [2021-04-07T09:17:50.803Z] ==> Searching for coverage reports in: [2021-04-07T09:17:50.803Z] + . [2021-04-07T09:17:50.803Z] -> Found 1 reports [2021-04-07T09:17:50.803Z] ==> Detecting git/mercurial file structure [2021-04-07T09:17:50.803Z] ==> Reading reports [2021-04-07T09:17:50.803Z] + ./coverage.out bytes=99750 [2021-04-07T09:17:50.803Z] ==> Appending adjustments [2021-04-07T09:17:50.803Z] https://docs.codecov.io/docs/fixing-reports [2021-04-07T09:17:51.066Z] + Found adjustments [2021-04-07T09:17:51.066Z] ==> Gzipping contents [2021-04-07T09:17:51.066Z] 16K /tmp/codecov.w389ao.gz [2021-04-07T09:17:51.066Z] ==> Uploading reports [2021-04-07T09:17:51.066Z] url: https://codecov.io [2021-04-07T09:17:51.066Z] query: branch=PR-866&commit=c5bee4ff36719fbf7e86a19b7760f0eb931608b9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-866%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=866&job=&cmd_args= [2021-04-07T09:17:51.066Z] -> Pinging Codecov [2021-04-07T09:17:51.066Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-866&commit=c5bee4ff36719fbf7e86a19b7760f0eb931608b9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-866%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=866&job=&cmd_args= [2021-04-07T09:17:51.652Z] -> Uploading to [2021-04-07T09:17:51.652Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-07/7E55EF52A471D76F132DFD9A03CDDE97/c5bee4ff36719fbf7e86a19b7760f0eb931608b9/801111e4-c201-4f2c-bcae-6bbf7921d30b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210407T091751Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=85843478dda539237f88599dfe99a4d8fdfe0d0d591d25ae05cbe0a0e54ca97e [2021-04-07T09:17:51.652Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-07T09:17:51.652Z] Dload Upload Total Spent Left Speed [2021-04-07T09:17:52.228Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13462 0 0 100 13462 0 29952 --:--:-- --:--:-- --:--:-- 29982 [2021-04-07T09:17:52.228Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c5bee4ff36719fbf7e86a19b7760f0eb931608b9 [Pipeline] } [2021-04-07T09:17:52.259Z] 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-07T09:17:55.576Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T09:17:55.932Z] ---> package-listing.sh [2021-04-07T09:17:55.933Z] ++ facter osfamily [2021-04-07T09:17:55.933Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-07T09:17:55.933Z] + OS_FAMILY=redhat [2021-04-07T09:17:55.933Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-866 [2021-04-07T09:17:55.933Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-07T09:17:55.933Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-07T09:17:55.933Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-07T09:17:55.933Z] + PACKAGES=/tmp/packages_start.txt [2021-04-07T09:17:55.933Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-866 ']' [2021-04-07T09:17:55.933Z] + PACKAGES=/tmp/packages_end.txt [2021-04-07T09:17:55.933Z] + case "${OS_FAMILY}" in [2021-04-07T09:17:55.933Z] + rpm -qa [2021-04-07T09:17:55.933Z] + sort [2021-04-07T09:18:01.246Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-07T09:18:01.246Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-07T09:18:01.246Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-07T09:18:01.246Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-866 ']' [2021-04-07T09:18:01.246Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-866/archives/ [2021-04-07T09:18:01.246Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-866/archives/ [Pipeline] echo [2021-04-07T09:18:01.282Z] 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-866/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-07T09:18:01.597Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:18:01.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T09:18:01.943Z] [2021-04-07T09:18:01.943Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-07T09:18:02.339Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T09:18:02.339Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-07T09:18:02.339Z] df20fa9351a1: Pulling fs layer [2021-04-07T09:18:02.339Z] 36b3adc4ff6f: Pulling fs layer [2021-04-07T09:18:02.339Z] 8ad3a11d3b57: Pulling fs layer [2021-04-07T09:18:02.339Z] 46f8f816bc3b: Pulling fs layer [2021-04-07T09:18:02.339Z] 93b61091891f: Pulling fs layer [2021-04-07T09:18:02.339Z] 93b9cdb0e59b: Pulling fs layer [2021-04-07T09:18:02.339Z] 5e14af77c1be: Pulling fs layer [2021-04-07T09:18:02.339Z] 01666e4c0597: Pulling fs layer [2021-04-07T09:18:02.339Z] aa168da1d23b: Pulling fs layer [2021-04-07T09:18:02.339Z] 93b61091891f: Waiting [2021-04-07T09:18:02.339Z] 93b9cdb0e59b: Waiting [2021-04-07T09:18:02.339Z] 46f8f816bc3b: Waiting [2021-04-07T09:18:02.339Z] aa168da1d23b: Waiting [2021-04-07T09:18:02.339Z] 5e14af77c1be: Waiting [2021-04-07T09:18:02.339Z] 01666e4c0597: Waiting [2021-04-07T09:18:02.339Z] 36b3adc4ff6f: Verifying Checksum [2021-04-07T09:18:02.339Z] 36b3adc4ff6f: Download complete [2021-04-07T09:18:02.339Z] 46f8f816bc3b: Verifying Checksum [2021-04-07T09:18:02.339Z] 46f8f816bc3b: Download complete [2021-04-07T09:18:02.339Z] df20fa9351a1: Verifying Checksum [2021-04-07T09:18:02.339Z] df20fa9351a1: Download complete [2021-04-07T09:18:02.604Z] 93b9cdb0e59b: Verifying Checksum [2021-04-07T09:18:02.604Z] 93b9cdb0e59b: Download complete [2021-04-07T09:18:02.604Z] 5e14af77c1be: Verifying Checksum [2021-04-07T09:18:02.604Z] 5e14af77c1be: Download complete [2021-04-07T09:18:02.604Z] 93b61091891f: Verifying Checksum [2021-04-07T09:18:02.604Z] 93b61091891f: Download complete [2021-04-07T09:18:02.604Z] 01666e4c0597: Verifying Checksum [2021-04-07T09:18:02.604Z] 01666e4c0597: Download complete [2021-04-07T09:18:02.866Z] df20fa9351a1: Pull complete [2021-04-07T09:18:03.133Z] 36b3adc4ff6f: Pull complete [2021-04-07T09:18:03.133Z] 8ad3a11d3b57: Verifying Checksum [2021-04-07T09:18:03.133Z] 8ad3a11d3b57: Download complete [2021-04-07T09:18:04.097Z] 8ad3a11d3b57: Pull complete [2021-04-07T09:18:04.097Z] 46f8f816bc3b: Pull complete [2021-04-07T09:18:05.064Z] 93b61091891f: Pull complete [2021-04-07T09:18:05.064Z] aa168da1d23b: Verifying Checksum [2021-04-07T09:18:05.064Z] aa168da1d23b: Download complete [2021-04-07T09:18:05.064Z] 93b9cdb0e59b: Pull complete [2021-04-07T09:18:05.331Z] 5e14af77c1be: Pull complete [2021-04-07T09:18:05.331Z] 01666e4c0597: Pull complete [2021-04-07T09:18:11.968Z] aa168da1d23b: Pull complete [2021-04-07T09:18:11.968Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-07T09:18:11.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T09:18:11.968Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-07T09:18:12.163Z] prd-centos7-docker-4c-2g-33141 does not seem to be running inside a container [2021-04-07T09:18:12.214Z] $ 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-866/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-866 -v /w/workspace/dgexfoundry_device-sdk-go_PR-866:/w/workspace/dgexfoundry_device-sdk-go_PR-866:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-866@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-866@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-07T09:18:15.709Z] $ docker top 0333b7662559b318384a03102204395ebcb0eb16c364863a58ec51eb69417ae0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T09:18:16.384Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-07T09:18:16.704Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-07T09:18:17.025Z] + ls /var/log/sa-host [2021-04-07T09:18:17.026Z] + sadf -c /var/log/sa-host/sa07 [2021-04-07T09:18:17.026Z] file_magic: OK [2021-04-07T09:18:17.026Z] HZ: Using current value: 100 [2021-04-07T09:18:17.026Z] file_header: OK [2021-04-07T09:18:17.026Z] 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-07T09:18:17.026Z] Statistics: [2021-04-07T09:18:17.026Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-07T09:18:17.026Z] File successfully converted to sysstat format version 12.2.1 [2021-04-07T09:18:17.026Z] + sadf -c /var/log/sa-host/sa23 [2021-04-07T09:18:17.026Z] file_magic: OK [2021-04-07T09:18:17.026Z] HZ: Using current value: 100 [2021-04-07T09:18:17.026Z] file_header: OK [2021-04-07T09:18:17.026Z] 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-07T09:18:17.026Z] Statistics: [2021-04-07T09:18:17.026Z] Hnuu...uuuununununu... [2021-04-07T09:18:17.026Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-07T09:18:17.304Z] provisioning config files... [2021-04-07T09:18:17.323Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-866@tmp/config6357558441268288625tmp [Pipeline] { [Pipeline] echo [2021-04-07T09:18:17.440Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T09:18:17.779Z] ---> create-netrc.sh [Pipeline] } [2021-04-07T09:18:17.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-07T09:18:17.937Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T09:18:18.288Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-07T09:18:18.320Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T09:18:18.657Z] ---> sudo-logs.sh [2021-04-07T09:18:18.657Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-07T09:18:18.767Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T09:18:19.096Z] ---> job-cost.sh [2021-04-07T09:18:19.096Z] lf-activate-venv: SKIPPING [2021-04-07T09:18:19.096Z] DEBUG: total: 0.20999999344348907 [2021-04-07T09:18:19.096Z] INFO: Retrieving Stack Cost... [2021-04-07T09:18:20.044Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T09:18:20.617Z] INFO: Archiving Costs [Pipeline] echo [2021-04-07T09:18:20.650Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T09:18:20.986Z] ---> logs-deploy.sh [2021-04-07T09:18:20.986Z] lf-activate-venv: SKIPPING [2021-04-07T09:18:20.987Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-866/1 [2021-04-07T09:18:20.987Z] INFO: archiving workspace using pattern(s): [2021-04-07T09:18:22.906Z] Archives upload complete. [2021-04-07T09:18:22.906Z] INFO: archiving logs to Nexus