Pull request #847 updated 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ed9c44cb9e26efe7467f281613af790e74475005+89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e (34c9566272c2699fa6abfe6e9eba84c269607894) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-32288 in /w/workspace/dgexfoundry_device-sdk-go_PR-847 [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-847 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/847/head:refs/remotes/origin/PR-847 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit ed9c44cb9e26efe7467f281613af790e74475005 Merge succeeded, producing ed9c44cb9e26efe7467f281613af790e74475005 Checking out Revision ed9c44cb9e26efe7467f281613af790e74475005 (PR-847) > git config core.sparsecheckout # timeout=10 > git checkout -f ed9c44cb9e26efe7467f281613af790e74475005 # 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 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed9c44cb9e26efe7467f281613af790e74475005 # timeout=10 Commit message: "feat: Updated Attribution.txt for missing crypto module" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-31T17:08:27.291Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-31T17:08:27.594Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-31T17:08:27.763Z] ========================================================= [2021-03-31T17:08:27.763Z] EdgeX Global Pipelines Version Info [2021-03-31T17:08:27.763Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 405863b8552e159bc36ea9bb827e59e08bb4326e # timeout=10 [2021-03-31T17:08:30.882Z] ------------------- [2021-03-31T17:08:30.882Z] stable info: [2021-03-31T17:08:30.882Z] ------------------- [2021-03-31T17:08:30.882Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-31T17:08:30.882Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-31T17:08:30.882Z] Message: update stable to v1.0.186 [2021-03-31T17:08:31.959Z] ------------------- [2021-03-31T17:08:31.959Z] experimental info: [2021-03-31T17:08:31.959Z] ------------------- [2021-03-31T17:08:31.959Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-31T17:08:31.959Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-31T17:08:31.959Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-31T17:08:32.347Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-31T17:08:32.441Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-31T17:08:32.553Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-31T17:08:32.648Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-31T17:08:32.740Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-31T17:08:32.835Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-31T17:08:32.926Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-31T17:08:33.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-31T17:08:33.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-31T17:08:33.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-31T17:08:33.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-31T17:08:33.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-31T17:08:33.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-31T17:08:33.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-31T17:08:33.875Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-31T17:08:34.025Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T17:08:34.124Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T17:08:34.229Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T17:08:34.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-31T17:08:34.408Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-31T17:08:34.510Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-31T17:08:34.599Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-31T17:08:34.709Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-31T17:08:34.810Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-31T17:08:34.900Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-31T17:08:34.989Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-31T17:08:35.081Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-847 [Pipeline] echo [2021-03-31T17:08:35.194Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-847 [Pipeline] echo [2021-03-31T17:08:35.285Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-847 [Pipeline] echo [2021-03-31T17:08:35.374Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed9c44cb9e26efe7467f281613af790e74475005 [Pipeline] echo [2021-03-31T17:08:35.468Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed9c44c [Pipeline] echo [2021-03-31T17:08:35.560Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T17:08:35.774Z] provisioning config files... [2021-03-31T17:08:35.815Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/config7987147209358078141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:08:36.542Z] ---> docker-login.sh [2021-03-31T17:08:36.543Z] nexus3.edgexfoundry.org:10001 [2021-03-31T17:08:37.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:08:38.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:08:38.066Z] Configure a credential helper to remove this warning. See [2021-03-31T17:08:38.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:08:38.066Z] [2021-03-31T17:08:38.066Z] Login Succeeded [2021-03-31T17:08:38.066Z] nexus3.edgexfoundry.org:10002 [2021-03-31T17:08:38.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:08:39.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:08:39.101Z] Configure a credential helper to remove this warning. See [2021-03-31T17:08:39.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:08:39.101Z] [2021-03-31T17:08:39.101Z] Login Succeeded [2021-03-31T17:08:39.101Z] nexus3.edgexfoundry.org:10003 [2021-03-31T17:08:39.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:08:40.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:08:40.230Z] Configure a credential helper to remove this warning. See [2021-03-31T17:08:40.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:08:40.230Z] [2021-03-31T17:08:40.230Z] Login Succeeded [2021-03-31T17:08:40.230Z] nexus3.edgexfoundry.org:10004 [2021-03-31T17:08:41.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:08:41.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:08:41.611Z] Configure a credential helper to remove this warning. See [2021-03-31T17:08:41.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:08:41.611Z] [2021-03-31T17:08:41.611Z] Login Succeeded [2021-03-31T17:08:41.611Z] docker.io [2021-03-31T17:08:42.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:08:42.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:08:42.660Z] Configure a credential helper to remove this warning. See [2021-03-31T17:08:42.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:08:42.660Z] [2021-03-31T17:08:42.660Z] Login Succeeded [2021-03-31T17:08:42.660Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T17:08:42.679Z] 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-03-31T17:08:43.702Z] + git log --format=format:%s -1 ed9c44cb9e26efe7467f281613af790e74475005 [Pipeline] echo [2021-03-31T17:08:44.019Z] GIT_COMMIT: ed9c44cb9e26efe7467f281613af790e74475005, Commit Message: feat: Updated Attribution.txt for missing crypto module [Pipeline] echo [2021-03-31T17:08:44.067Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:08:45.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T17:08:45.523Z] [2021-03-31T17:08:45.523Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:08:46.012Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T17:08:46.012Z] latest: Pulling from edgex-devops/git-semver [2021-03-31T17:08:46.012Z] 31603596830f: Pulling fs layer [2021-03-31T17:08:46.012Z] 2a8b12db71e7: Pulling fs layer [2021-03-31T17:08:46.012Z] 6ca5941a6612: Pulling fs layer [2021-03-31T17:08:46.012Z] ecc8261a40a4: Pulling fs layer [2021-03-31T17:08:46.012Z] ecc8261a40a4: Waiting [2021-03-31T17:08:46.012Z] 2a8b12db71e7: Verifying Checksum [2021-03-31T17:08:46.012Z] 2a8b12db71e7: Download complete [2021-03-31T17:08:46.297Z] 31603596830f: Verifying Checksum [2021-03-31T17:08:46.297Z] 31603596830f: Download complete [2021-03-31T17:08:46.594Z] ecc8261a40a4: Verifying Checksum [2021-03-31T17:08:46.594Z] ecc8261a40a4: Download complete [2021-03-31T17:08:47.268Z] 6ca5941a6612: Verifying Checksum [2021-03-31T17:08:47.268Z] 6ca5941a6612: Download complete [2021-03-31T17:08:47.591Z] 31603596830f: Pull complete [2021-03-31T17:08:47.898Z] 2a8b12db71e7: Pull complete [2021-03-31T17:08:50.003Z] 6ca5941a6612: Pull complete [2021-03-31T17:08:51.239Z] ecc8261a40a4: Pull complete [2021-03-31T17:08:51.239Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-31T17:08:51.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T17:08:51.239Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-31T17:08:51.632Z] prd-centos7-docker-4c-2g-32288 does not seem to be running inside a container [2021-03-31T17:08:51.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-847 -v /w/workspace/dgexfoundry_device-sdk-go_PR-847:/w/workspace/dgexfoundry_device-sdk-go_PR-847:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-31T17:08:55.266Z] $ docker top a6fbf8b424a947733c9d8905eb3a24bbf8b4da0b5d4c98df0180c6e492cdad36 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T17:08:56.191Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T17:08:56.191Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T17:08:56.681Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T17:08:56.685Z] $ docker exec a6fbf8b424a947733c9d8905eb3a24bbf8b4da0b5d4c98df0180c6e492cdad36 ssh-agent [2021-03-31T17:08:57.199Z] SSH_AUTH_SOCK=/tmp/ssh-zzMUR3zmNU4C/agent.13 [2021-03-31T17:08:57.199Z] SSH_AGENT_PID=18 [2021-03-31T17:08:57.305Z] Running ssh-add (command line suppressed) [2021-03-31T17:08:57.739Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/private_key_2277586241265682339.key (/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/private_key_2277586241265682339.key) [2021-03-31T17:08:57.817Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T17:08:58.561Z] + git tag --points-at HEAD [Pipeline] } [2021-03-31T17:08:58.650Z] $ docker exec --env ******** --env ******** a6fbf8b424a947733c9d8905eb3a24bbf8b4da0b5d4c98df0180c6e492cdad36 ssh-agent -k [2021-03-31T17:08:59.526Z] unset SSH_AUTH_SOCK; [2021-03-31T17:08:59.527Z] unset SSH_AGENT_PID; [2021-03-31T17:08:59.527Z] echo Agent pid 18 killed; [2021-03-31T17:08:59.842Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-31T17:08:59.994Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T17:08:59.994Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T17:09:00.530Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T17:09:00.542Z] $ docker exec a6fbf8b424a947733c9d8905eb3a24bbf8b4da0b5d4c98df0180c6e492cdad36 ssh-agent [2021-03-31T17:09:01.119Z] SSH_AUTH_SOCK=/tmp/ssh-DTNyyisw2y8O/agent.46 [2021-03-31T17:09:01.119Z] SSH_AGENT_PID=52 [2021-03-31T17:09:01.131Z] Running ssh-add (command line suppressed) [2021-03-31T17:09:02.126Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/private_key_2274701980857488578.key (/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/private_key_2274701980857488578.key) [2021-03-31T17:09:02.926Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T17:09:03.878Z] + git semver init [2021-03-31T17:09:03.878Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T17:09:03.878Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-847/.git [2021-03-31T17:09:03.878Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-847 [2021-03-31T17:09:03.878Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T17:09:03.878Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T17:09:03.878Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T17:09:03.878Z] # $SEMVER_BRANCH = PR-847 [2021-03-31T17:09:03.878Z] # $SEMVER_TEMP = /tmp/semver-097594038 [2021-03-31T17:09:03.878Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-31T17:09:06.022Z] # '/tmp/semver-097594038' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-847/.semver' [2021-03-31T17:09:06.022Z] # -> Force: false [2021-03-31T17:09:06.022Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-847/.semver [Pipeline] } [2021-03-31T17:09:06.081Z] $ docker exec --env ******** --env ******** a6fbf8b424a947733c9d8905eb3a24bbf8b4da0b5d4c98df0180c6e492cdad36 ssh-agent -k [2021-03-31T17:09:06.598Z] unset SSH_AUTH_SOCK; [2021-03-31T17:09:06.599Z] unset SSH_AGENT_PID; [2021-03-31T17:09:06.599Z] echo Agent pid 52 killed; [2021-03-31T17:09:07.022Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T17:09:08.527Z] + git semver [Pipeline] } [2021-03-31T17:09:08.783Z] $ docker stop --time=1 a6fbf8b424a947733c9d8905eb3a24bbf8b4da0b5d4c98df0180c6e492cdad36 [2021-03-31T17:09:11.004Z] $ docker rm -f a6fbf8b424a947733c9d8905eb3a24bbf8b4da0b5d4c98df0180c6e492cdad36 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T17:09:11.697Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-31T17:09:13.019Z] Stashed 1 file(s) [Pipeline] echo [2021-03-31T17:09:13.022Z] [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-03-31T17:09:28.538Z] Still waiting to schedule task [2021-03-31T17:09:28.538Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-31T17:09:28.539Z] Still waiting to schedule task [2021-03-31T17:09:28.539Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-31T17:12:50.460Z] Running on prd-centos7-docker-4c-2g-32290 in /w/workspace/dgexfoundry_device-sdk-go_PR-847 [Pipeline] { [Pipeline] ws [2021-03-31T17:12:50.525Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-03-31T17:12:53.243Z] using credential edgex-jenkins-ssh [2021-03-31T17:12:53.326Z] Cloning the remote Git repository [2021-03-31T17:12:53.016Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T17:12:53.101Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-03-31T17:12:53.180Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T17:12:53.180Z] > git --version # timeout=10 [2021-03-31T17:12:53.190Z] > git --version # 'git version 2.24.3' [2021-03-31T17:12:53.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T17:12:53.225Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T17:12:54.065Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T17:12:54.075Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T17:12:54.089Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T17:12:54.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T17:12:54.109Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T17:12:54.115Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/847/head:refs/remotes/origin/PR-847 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T17:12:55.235Z] Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit ed9c44cb9e26efe7467f281613af790e74475005 [2021-03-31T17:12:55.335Z] Merge succeeded, producing ed9c44cb9e26efe7467f281613af790e74475005 [2021-03-31T17:12:55.335Z] Checking out Revision ed9c44cb9e26efe7467f281613af790e74475005 (PR-847) [2021-03-31T17:12:55.049Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T17:12:55.055Z] > git checkout -f ed9c44cb9e26efe7467f281613af790e74475005 # timeout=10 [2021-03-31T17:12:55.105Z] > git remote # timeout=10 [2021-03-31T17:12:55.116Z] > git config --get remote.origin.url # timeout=10 [2021-03-31T17:12:55.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T17:12:55.128Z] > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 [2021-03-31T17:12:55.139Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-31T17:12:55.151Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T17:12:55.157Z] > git checkout -f ed9c44cb9e26efe7467f281613af790e74475005 # timeout=10 [2021-03-31T17:12:58.892Z] Commit message: "feat: Updated Attribution.txt for missing crypto module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T17:13:00.258Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-31T17:13:00.601Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T17:13:00.928Z] + sudo service docker restart [2021-03-31T17:13:00.928Z] + true [2021-03-31T17:13:00.928Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T17:13:01.985Z] provisioning config files... [2021-03-31T17:13:02.021Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1115905197884975863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:13:02.402Z] ---> docker-login.sh [2021-03-31T17:13:02.403Z] nexus3.edgexfoundry.org:10001 [2021-03-31T17:13:02.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:13:02.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:13:02.936Z] Configure a credential helper to remove this warning. See [2021-03-31T17:13:02.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:13:02.936Z] [2021-03-31T17:13:02.936Z] Login Succeeded [2021-03-31T17:13:02.936Z] nexus3.edgexfoundry.org:10002 [2021-03-31T17:13:02.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:13:03.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:13:03.199Z] Configure a credential helper to remove this warning. See [2021-03-31T17:13:03.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:13:03.199Z] [2021-03-31T17:13:03.199Z] Login Succeeded [2021-03-31T17:13:03.199Z] nexus3.edgexfoundry.org:10003 [2021-03-31T17:13:03.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:13:03.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:13:03.199Z] Configure a credential helper to remove this warning. See [2021-03-31T17:13:03.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:13:03.199Z] [2021-03-31T17:13:03.199Z] Login Succeeded [2021-03-31T17:13:03.199Z] nexus3.edgexfoundry.org:10004 [2021-03-31T17:13:03.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:13:03.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:13:03.462Z] Configure a credential helper to remove this warning. See [2021-03-31T17:13:03.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:13:03.462Z] [2021-03-31T17:13:03.462Z] Login Succeeded [2021-03-31T17:13:03.462Z] docker.io [2021-03-31T17:13:03.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:13:03.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:13:03.726Z] Configure a credential helper to remove this warning. See [2021-03-31T17:13:03.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:13:03.726Z] [2021-03-31T17:13:03.726Z] Login Succeeded [2021-03-31T17:13:03.988Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T17:13:03.999Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-31T17:13:04.319Z] ========================================================= [2021-03-31T17:13:04.320Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-31T17:13:04.320Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:13:04.667Z] + 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-03-31T17:13:04.667Z] Sending build context to Docker daemon 2.391MB [2021-03-31T17:13:04.667Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T17:13:04.667Z] Step 2/8 : FROM ${BASE} [2021-03-31T17:13:04.930Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-31T17:13:04.930Z] 188c0c94c7c5: Pulling fs layer [2021-03-31T17:13:04.930Z] 0ef7d3d256c8: Pulling fs layer [2021-03-31T17:13:04.930Z] de9db76c5a1d: Pulling fs layer [2021-03-31T17:13:04.930Z] bca2f99d35d6: Pulling fs layer [2021-03-31T17:13:04.930Z] 93359f2a8cfa: Pulling fs layer [2021-03-31T17:13:04.930Z] 7c6f9722023f: Pulling fs layer [2021-03-31T17:13:04.930Z] a35cf1a2eb13: Pulling fs layer [2021-03-31T17:13:04.930Z] 93359f2a8cfa: Waiting [2021-03-31T17:13:04.930Z] 7c6f9722023f: Waiting [2021-03-31T17:13:04.930Z] a35cf1a2eb13: Waiting [2021-03-31T17:13:04.930Z] bca2f99d35d6: Waiting [2021-03-31T17:13:04.930Z] de9db76c5a1d: Verifying Checksum [2021-03-31T17:13:04.930Z] de9db76c5a1d: Download complete [2021-03-31T17:13:04.930Z] 0ef7d3d256c8: Download complete [2021-03-31T17:13:04.930Z] 93359f2a8cfa: Verifying Checksum [2021-03-31T17:13:04.930Z] 93359f2a8cfa: Download complete [2021-03-31T17:13:04.930Z] 188c0c94c7c5: Verifying Checksum [2021-03-31T17:13:04.930Z] 188c0c94c7c5: Download complete [2021-03-31T17:13:04.930Z] 7c6f9722023f: Verifying Checksum [2021-03-31T17:13:04.930Z] 7c6f9722023f: Download complete [2021-03-31T17:13:05.193Z] 188c0c94c7c5: Pull complete [2021-03-31T17:13:05.457Z] 0ef7d3d256c8: Pull complete [2021-03-31T17:13:05.457Z] de9db76c5a1d: Pull complete [2021-03-31T17:13:06.861Z] a35cf1a2eb13: Verifying Checksum [2021-03-31T17:13:06.861Z] a35cf1a2eb13: Download complete [2021-03-31T17:13:07.710Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32289 in /w/workspace/dgexfoundry_device-sdk-go_PR-847 [Pipeline] { [Pipeline] ws [2021-03-31T17:13:07.767Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [2021-03-31T17:13:07.821Z] bca2f99d35d6: Verifying Checksum [2021-03-31T17:13:07.821Z] bca2f99d35d6: Download complete [Pipeline] checkout [2021-03-31T17:13:12.878Z] using credential edgex-jenkins-ssh [2021-03-31T17:13:12.941Z] Cloning the remote Git repository [2021-03-31T17:13:13.008Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T17:13:13.123Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-03-31T17:13:13.211Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T17:13:13.212Z] > git --version # timeout=10 [2021-03-31T17:13:13.233Z] > git --version # 'git version 2.17.1' [2021-03-31T17:13:13.235Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T17:13:13.326Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T17:13:14.506Z] bca2f99d35d6: Pull complete [2021-03-31T17:13:14.506Z] 93359f2a8cfa: Pull complete [2021-03-31T17:13:14.506Z] 7c6f9722023f: Pull complete [2021-03-31T17:13:15.227Z] Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit ed9c44cb9e26efe7467f281613af790e74475005 [2021-03-31T17:13:14.492Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T17:13:14.511Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T17:13:14.539Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-31T17:13:14.582Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-31T17:13:14.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T17:13:14.594Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/847/head:refs/remotes/origin/PR-847 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T17:13:15.247Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T17:13:15.268Z] > git checkout -f ed9c44cb9e26efe7467f281613af790e74475005 # timeout=10 [2021-03-31T17:13:15.371Z] > git remote # timeout=10 [2021-03-31T17:13:15.482Z] Merge succeeded, producing ed9c44cb9e26efe7467f281613af790e74475005 [2021-03-31T17:13:15.482Z] Checking out Revision ed9c44cb9e26efe7467f281613af790e74475005 (PR-847) [2021-03-31T17:13:15.396Z] > git config --get remote.origin.url # timeout=10 [2021-03-31T17:13:15.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T17:13:15.427Z] > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 [2021-03-31T17:13:15.455Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-31T17:13:15.487Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T17:13:15.507Z] > git checkout -f ed9c44cb9e26efe7467f281613af790e74475005 # timeout=10 [2021-03-31T17:13:18.768Z] a35cf1a2eb13: Pull complete [2021-03-31T17:13:18.768Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-31T17:13:18.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-31T17:13:18.768Z] ---> a62c8e92a672 [2021-03-31T17:13:18.768Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T17:13:18.768Z] ---> Running in eae124a480cc [2021-03-31T17:13:19.036Z] Removing intermediate container eae124a480cc [2021-03-31T17:13:19.036Z] ---> b446d8ce0f99 [2021-03-31T17:13:19.036Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T17:13:19.036Z] ---> Running in aa180c04d9b7 [2021-03-31T17:13:20.007Z] Commit message: "feat: Updated Attribution.txt for missing crypto module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-03-31T17:13:20.484Z] Removing intermediate container aa180c04d9b7 [2021-03-31T17:13:20.484Z] ---> c8557483229b [2021-03-31T17:13:20.484Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-03-31T17:13:20.484Z] ---> Running in 8b7a88d1f463 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T17:13:21.441Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T17:13:21.734Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-31T17:13:22.020Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T17:13:22.155Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T17:13:22.512Z] + true [2021-03-31T17:13:22.512Z] + sudo service docker restart [2021-03-31T17:13:22.969Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-03-31T17:13:22.969Z] (2/6) Installing libsodium (1.0.18-r0) [2021-03-31T17:13:22.969Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-03-31T17:13:22.969Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-03-31T17:13:23.232Z] (5/6) Installing libzmq (4.3.3-r0) [2021-03-31T17:13:23.232Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-03-31T17:13:23.232Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T17:13:23.232Z] OK: 167 MiB in 45 packages [2021-03-31T17:13:24.182Z] Removing intermediate container 8b7a88d1f463 [2021-03-31T17:13:24.182Z] ---> 6389bf4d843f [2021-03-31T17:13:24.182Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-31T17:13:24.182Z] ---> Running in c188ee0f4f27 [2021-03-31T17:13:24.182Z] Removing intermediate container c188ee0f4f27 [2021-03-31T17:13:24.182Z] ---> afb532042d1f [2021-03-31T17:13:24.182Z] Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-31T17:13:25.230Z] provisioning config files... [2021-03-31T17:13:25.278Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3211290809414780818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:13:25.580Z] ---> 590ef0bf80ce [2021-03-31T17:13:25.580Z] Step 8/8 : RUN go mod download [2021-03-31T17:13:25.580Z] ---> Running in a7162f1cc47d [2021-03-31T17:13:25.712Z] ---> docker-login.sh [2021-03-31T17:13:25.712Z] nexus3.edgexfoundry.org:10001 [2021-03-31T17:13:26.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:13:26.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:13:26.974Z] Configure a credential helper to remove this warning. See [2021-03-31T17:13:26.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:13:26.974Z] [2021-03-31T17:13:26.974Z] Login Succeeded [2021-03-31T17:13:26.974Z] nexus3.edgexfoundry.org:10002 [2021-03-31T17:13:27.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:13:27.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:13:27.524Z] Configure a credential helper to remove this warning. See [2021-03-31T17:13:27.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:13:27.524Z] [2021-03-31T17:13:27.524Z] Login Succeeded [2021-03-31T17:13:27.524Z] nexus3.edgexfoundry.org:10003 [2021-03-31T17:13:27.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:13:28.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:13:28.076Z] Configure a credential helper to remove this warning. See [2021-03-31T17:13:28.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:13:28.076Z] [2021-03-31T17:13:28.076Z] Login Succeeded [2021-03-31T17:13:28.076Z] nexus3.edgexfoundry.org:10004 [2021-03-31T17:13:28.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:13:28.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:13:28.632Z] Configure a credential helper to remove this warning. See [2021-03-31T17:13:28.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:13:28.632Z] [2021-03-31T17:13:28.632Z] Login Succeeded [2021-03-31T17:13:28.632Z] docker.io [2021-03-31T17:13:28.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-31T17:13:29.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-31T17:13:29.179Z] Configure a credential helper to remove this warning. See [2021-03-31T17:13:29.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-31T17:13:29.179Z] [2021-03-31T17:13:29.179Z] Login Succeeded [2021-03-31T17:13:29.179Z] ---> docker-login.sh ends [Pipeline] } [2021-03-31T17:13:29.197Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-31T17:13:29.701Z] ========================================================= [2021-03-31T17:13:29.701Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-31T17:13:29.701Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:13:30.088Z] + 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-03-31T17:13:30.688Z] Sending build context to Docker daemon 2.39MB [2021-03-31T17:13:30.688Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T17:13:30.688Z] Step 2/8 : FROM ${BASE} [2021-03-31T17:13:30.962Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-31T17:13:30.962Z] 5f621e34cdf4: Pulling fs layer [2021-03-31T17:13:30.962Z] a4357932f1b6: Pulling fs layer [2021-03-31T17:13:30.962Z] 18c013af1878: Pulling fs layer [2021-03-31T17:13:30.962Z] 00ac8860ef70: Pulling fs layer [2021-03-31T17:13:30.962Z] 63d7cb157983: Pulling fs layer [2021-03-31T17:13:30.962Z] b116817d02f9: Pulling fs layer [2021-03-31T17:13:30.962Z] 745a02a5169b: Pulling fs layer [2021-03-31T17:13:30.962Z] 63d7cb157983: Waiting [2021-03-31T17:13:30.962Z] b116817d02f9: Waiting [2021-03-31T17:13:30.963Z] 00ac8860ef70: Waiting [2021-03-31T17:13:30.963Z] 745a02a5169b: Waiting [2021-03-31T17:13:30.963Z] 18c013af1878: Verifying Checksum [2021-03-31T17:13:30.963Z] 18c013af1878: Download complete [2021-03-31T17:13:30.963Z] a4357932f1b6: Verifying Checksum [2021-03-31T17:13:30.963Z] a4357932f1b6: Download complete [2021-03-31T17:13:30.963Z] 63d7cb157983: Verifying Checksum [2021-03-31T17:13:30.963Z] 63d7cb157983: Download complete [2021-03-31T17:13:31.560Z] 5f621e34cdf4: Verifying Checksum [2021-03-31T17:13:31.560Z] 5f621e34cdf4: Download complete [2021-03-31T17:13:32.173Z] 5f621e34cdf4: Pull complete [2021-03-31T17:13:32.792Z] a4357932f1b6: Pull complete [2021-03-31T17:13:33.067Z] 18c013af1878: Pull complete [2021-03-31T17:13:34.511Z] 745a02a5169b: Verifying Checksum [2021-03-31T17:13:34.511Z] 745a02a5169b: Download complete [2021-03-31T17:13:35.963Z] 00ac8860ef70: Verifying Checksum [2021-03-31T17:13:35.963Z] 00ac8860ef70: Download complete [2021-03-31T17:13:46.129Z] 00ac8860ef70: Pull complete [2021-03-31T17:13:46.129Z] 63d7cb157983: Pull complete [2021-03-31T17:13:46.129Z] b116817d02f9: Pull complete [2021-03-31T17:13:47.736Z] Removing intermediate container a7162f1cc47d [2021-03-31T17:13:47.736Z] ---> 2735e514ede5 [2021-03-31T17:13:47.736Z] Successfully built 2735e514ede5 [2021-03-31T17:13:47.736Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:13:48.062Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T17:13:48.062Z] . [Pipeline] withDockerContainer [2021-03-31T17:13:48.187Z] prd-centos7-docker-4c-2g-32290 does not seem to be running inside a container [2021-03-31T17:13:48.244Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-31T17:13:49.145Z] $ docker top 306ef4262a232768cd74fc01731183739ae50305f928ea707f3894a3d2c35f85 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T17:13:49.527Z] 745a02a5169b: Pull complete [2021-03-31T17:13:49.527Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-31T17:13:49.527Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-31T17:13:49.527Z] ---> b7e6874047d6 [2021-03-31T17:13:49.527Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T17:13:49.694Z] + go version [2021-03-31T17:13:49.694Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-31T17:13:49.711Z] $ docker stop --time=1 306ef4262a232768cd74fc01731183739ae50305f928ea707f3894a3d2c35f85 [2021-03-31T17:13:51.109Z] $ docker rm -f 306ef4262a232768cd74fc01731183739ae50305f928ea707f3894a3d2c35f85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:13:52.001Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T17:13:52.001Z] . [Pipeline] withDockerContainer [2021-03-31T17:13:52.103Z] prd-centos7-docker-4c-2g-32290 does not seem to be running inside a container [2021-03-31T17:13:52.146Z] ---> Running in a4451b2771c9 [2021-03-31T17:13:52.146Z] Removing intermediate container a4451b2771c9 [2021-03-31T17:13:52.146Z] ---> 5736ef24d849 [2021-03-31T17:13:52.146Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T17:13:52.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-31T17:13:52.418Z] ---> Running in 9f02e4b6fd6e [2021-03-31T17:13:52.926Z] $ docker top c5fc563e11574890852f03095c31bda542cb5aced2b188971970b6286d07a090 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T17:13:53.490Z] + make test [2021-03-31T17:13:53.490Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T17:13:54.397Z] Removing intermediate container 9f02e4b6fd6e [2021-03-31T17:13:54.397Z] ---> b06ac1616dc7 [2021-03-31T17:13:54.397Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-03-31T17:13:54.676Z] ---> Running in d267968518cb [2021-03-31T17:13:55.662Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T17:13:56.639Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T17:13:57.234Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-03-31T17:13:57.234Z] (2/6) Installing libsodium (1.0.18-r0) [2021-03-31T17:13:57.506Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-03-31T17:13:57.506Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-03-31T17:13:57.778Z] (5/6) Installing libzmq (4.3.3-r0) [2021-03-31T17:13:57.778Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-03-31T17:13:58.052Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T17:13:58.052Z] OK: 144 MiB in 45 packages [2021-03-31T17:13:59.502Z] Removing intermediate container d267968518cb [2021-03-31T17:13:59.502Z] ---> 612cdfeee2b2 [2021-03-31T17:13:59.502Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-31T17:13:59.502Z] ---> Running in 3a00990545b0 [2021-03-31T17:14:00.106Z] Removing intermediate container 3a00990545b0 [2021-03-31T17:14:00.106Z] ---> 419119a23256 [2021-03-31T17:14:00.106Z] Step 7/8 : COPY . . [2021-03-31T17:14:01.545Z] ---> aa9b62653687 [2021-03-31T17:14:01.545Z] Step 8/8 : RUN go mod download [2021-03-31T17:14:01.545Z] ---> Running in f4df472a1082 [2021-03-31T17:14:01.730Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-31T17:14:23.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-31T17:14:23.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-31T17:14:23.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-31T17:14:23.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-31T17:14:23.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-31T17:14:24.501Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.072s coverage: 27.0% of statements [2021-03-31T17:14:24.772Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.066s coverage: 81.2% of statements [2021-03-31T17:14:25.361Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.062s coverage: 7.8% of statements [2021-03-31T17:14:25.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-31T17:14:25.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-03-31T17:14:25.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-31T17:14:25.361Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 32.5% of statements [2021-03-31T17:14:25.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-31T17:14:25.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-31T17:14:25.361Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-31T17:14:26.332Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 57.3% of statements [2021-03-31T17:14:26.602Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.207s coverage: 6.6% of statements [2021-03-31T17:14:26.602Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.0% of statements [2021-03-31T17:14:26.602Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-31T17:14:26.870Z] GO111MODULE=on go vet ./... [2021-03-31T17:14:28.349Z] Removing intermediate container f4df472a1082 [2021-03-31T17:14:28.349Z] ---> 6d7071e9260c [2021-03-31T17:14:28.349Z] Successfully built 6d7071e9260c [2021-03-31T17:14:28.349Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:14:28.692Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T17:14:28.692Z] . [Pipeline] withDockerContainer [2021-03-31T17:14:28.974Z] prd-ubuntu18.04-docker-arm64-4c-16g-32289 does not seem to be running inside a container [2021-03-31T17:14:29.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-31T17:14:30.618Z] $ docker top 40a46f164d03ec2ac746f1b665997e0623ef4f41c3e5f9f179f3a09d2e89d656 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T17:14:31.637Z] + go version [2021-03-31T17:14:31.637Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-31T17:14:31.662Z] $ docker stop --time=1 40a46f164d03ec2ac746f1b665997e0623ef4f41c3e5f9f179f3a09d2e89d656 [2021-03-31T17:14:33.571Z] $ docker rm -f 40a46f164d03ec2ac746f1b665997e0623ef4f41c3e5f9f179f3a09d2e89d656 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:14:34.719Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T17:14:34.719Z] . [Pipeline] withDockerContainer [2021-03-31T17:14:34.979Z] prd-ubuntu18.04-docker-arm64-4c-16g-32289 does not seem to be running inside a container [2021-03-31T17:14:35.056Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-31T17:14:36.605Z] $ docker top df3e4622a8c510c624de0a58e5287a2f4b5ea1702e9a2c3baa633d8794561225 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T17:14:37.646Z] + make test [2021-03-31T17:14:37.646Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-31T17:14:45.160Z] gofmt -l . [2021-03-31T17:14:45.160Z] [ "`gofmt -l .`" = "" ] [2021-03-31T17:14:45.160Z] ./bin/test-attribution-txt.sh [2021-03-31T17:14:45.160Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-31T17:14:45.179Z] $ docker stop --time=1 c5fc563e11574890852f03095c31bda542cb5aced2b188971970b6286d07a090 [2021-03-31T17:14:46.997Z] $ docker rm -f c5fc563e11574890852f03095c31bda542cb5aced2b188971970b6286d07a090 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T17:14:47.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T17:14:48.229Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-31T17:14:51.441Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-31T17:14:51.746Z] + ls -al . [2021-03-31T17:14:51.746Z] total 188 [2021-03-31T17:14:51.746Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 31 17:14 . [2021-03-31T17:14:51.746Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 31 17:12 .. [2021-03-31T17:14:51.746Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 17:12 bin [2021-03-31T17:14:51.746Z] -rw-r--r--. 1 jenkins jenkins 101416 Mar 31 17:14 coverage.out [2021-03-31T17:14:51.746Z] -rw-rw-r--. 1 jenkins jenkins 987 Mar 31 17:12 Dockerfile.build [2021-03-31T17:14:51.746Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 17:12 .dockerignore [2021-03-31T17:14:51.746Z] drwxrwxr-x. 5 jenkins jenkins 62 Mar 31 17:12 example [2021-03-31T17:14:51.746Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 31 17:12 .git [2021-03-31T17:14:51.746Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 31 17:12 .github [2021-03-31T17:14:51.746Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 17:12 .gitignore [2021-03-31T17:14:51.746Z] -rw-r--r--. 1 jenkins jenkins 537 Mar 31 17:14 go.mod [2021-03-31T17:14:51.746Z] -rw-r--r--. 1 jenkins jenkins 21117 Mar 31 17:14 go.sum [2021-03-31T17:14:51.746Z] drwxrwxr-x. 14 jenkins jenkins 207 Mar 31 17:12 internal [2021-03-31T17:14:51.746Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 31 17:12 Jenkinsfile [2021-03-31T17:14:51.746Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 17:12 LICENSE [2021-03-31T17:14:51.746Z] -rw-rw-r--. 1 jenkins jenkins 1022 Mar 31 17:12 Makefile [2021-03-31T17:14:51.746Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 31 17:12 openapi [2021-03-31T17:14:51.746Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 31 17:12 pkg [2021-03-31T17:14:51.746Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 31 17:12 README.md [2021-03-31T17:14:51.746Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 31 17:12 RELEASE-NOTES.txt [2021-03-31T17:14:51.746Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 17:12 snap [2021-03-31T17:14:51.746Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 31 17:09 VERSION [2021-03-31T17:14:51.746Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 17:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:14:52.067Z] + 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=ed9c44cb9e26efe7467f281613af790e74475005 --label arch=amd64 --label version=0.0.0 . [2021-03-31T17:14:52.331Z] Sending build context to Docker daemon 2.493MB [2021-03-31T17:14:52.331Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T17:14:52.331Z] Step 2/23 : FROM ${BASE} AS builder [2021-03-31T17:14:52.331Z] ---> 2735e514ede5 [2021-03-31T17:14:52.331Z] Step 3/23 : WORKDIR /device-sdk-go [2021-03-31T17:14:52.907Z] ---> Running in ae03afe5467c [2021-03-31T17:14:53.170Z] Removing intermediate container ae03afe5467c [2021-03-31T17:14:53.170Z] ---> 89df84b4dda7 [2021-03-31T17:14:53.170Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T17:14:53.170Z] ---> Running in 517bcd9bf26c [2021-03-31T17:14:53.432Z] Removing intermediate container 517bcd9bf26c [2021-03-31T17:14:53.432Z] ---> d4c442ea240c [2021-03-31T17:14:53.432Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T17:14:53.432Z] ---> Running in 99ece862cf20 [2021-03-31T17:14:54.390Z] Removing intermediate container 99ece862cf20 [2021-03-31T17:14:54.390Z] ---> 2310650c501b [2021-03-31T17:14:54.390Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-03-31T17:14:54.390Z] ---> Running in c468e15bc3e8 [2021-03-31T17:14:54.977Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T17:14:55.927Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T17:14:56.190Z] OK: 167 MiB in 45 packages [2021-03-31T17:14:57.142Z] Removing intermediate container c468e15bc3e8 [2021-03-31T17:14:57.142Z] ---> 83548271606d [2021-03-31T17:14:57.142Z] Step 7/23 : COPY . . [2021-03-31T17:14:58.096Z] ---> b9193ba28ac1 [2021-03-31T17:14:58.096Z] Step 8/23 : RUN go mod download [2021-03-31T17:14:58.096Z] ---> Running in b45c21cd372d [2021-03-31T17:14:59.064Z] Removing intermediate container b45c21cd372d [2021-03-31T17:14:59.064Z] ---> 86ca2f82f704 [2021-03-31T17:14:59.064Z] Step 9/23 : RUN make build [2021-03-31T17:14:59.338Z] ---> Running in 1ca501fe5604 [2021-03-31T17:14:59.605Z] 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-03-31T17:14:59.844Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-31T17:15:12.011Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-03-31T17:15:12.967Z] Removing intermediate container 1ca501fe5604 [2021-03-31T17:15:12.967Z] ---> 6ff73b616f3a [2021-03-31T17:15:12.967Z] Step 10/23 : FROM alpine:3.12 [2021-03-31T17:15:13.544Z] 3.12: Pulling from library/alpine [2021-03-31T17:15:13.544Z] 22599d3e9e25: Pulling fs layer [2021-03-31T17:15:14.126Z] 22599d3e9e25: Verifying Checksum [2021-03-31T17:15:14.126Z] 22599d3e9e25: Download complete [2021-03-31T17:15:14.391Z] 22599d3e9e25: Pull complete [2021-03-31T17:15:14.391Z] Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 [2021-03-31T17:15:14.391Z] Status: Downloaded newer image for alpine:3.12 [2021-03-31T17:15:14.391Z] ---> 42cb162f0360 [2021-03-31T17:15:14.391Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T17:15:14.654Z] ---> Running in 7576864eaecf [2021-03-31T17:15:14.654Z] Removing intermediate container 7576864eaecf [2021-03-31T17:15:14.654Z] ---> 5cfa4d524f5c [2021-03-31T17:15:14.654Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T17:15:14.920Z] ---> Running in 9e1513222ead [2021-03-31T17:15:15.879Z] Removing intermediate container 9e1513222ead [2021-03-31T17:15:15.879Z] ---> 7ab53771f4db [2021-03-31T17:15:15.879Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-03-31T17:15:15.879Z] ---> Running in e29a86598b53 [2021-03-31T17:15:16.458Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T17:15:17.408Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T17:15:17.983Z] (1/5) Installing libgcc (9.3.0-r2) [2021-03-31T17:15:17.983Z] (2/5) Installing libsodium (1.0.18-r0) [2021-03-31T17:15:17.983Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-03-31T17:15:18.246Z] (4/5) Installing libzmq (4.3.3-r0) [2021-03-31T17:15:18.246Z] (5/5) Installing zeromq (4.3.3-r0) [2021-03-31T17:15:18.509Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T17:15:18.509Z] OK: 8 MiB in 19 packages [2021-03-31T17:15:19.086Z] Removing intermediate container e29a86598b53 [2021-03-31T17:15:19.086Z] ---> e7366a6393bb [2021-03-31T17:15:19.086Z] Step 14/23 : WORKDIR / [2021-03-31T17:15:19.086Z] ---> Running in 6029f226a1f0 [2021-03-31T17:15:19.352Z] Removing intermediate container 6029f226a1f0 [2021-03-31T17:15:19.352Z] ---> 117249a701cc [2021-03-31T17:15:19.352Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-03-31T17:15:19.620Z] ---> 161e112656bf [2021-03-31T17:15:19.620Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-03-31T17:15:20.201Z] ---> 94d7e1f9b806 [2021-03-31T17:15:20.201Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-03-31T17:15:20.466Z] ---> 2347c505d490 [2021-03-31T17:15:20.466Z] Step 18/23 : EXPOSE 49990 [2021-03-31T17:15:20.733Z] ---> Running in 3aeb4509d6cb [2021-03-31T17:15:20.733Z] Removing intermediate container 3aeb4509d6cb [2021-03-31T17:15:20.733Z] ---> e3104aba2417 [2021-03-31T17:15:20.733Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-03-31T17:15:20.997Z] ---> Running in 7bb8e7025221 [2021-03-31T17:15:20.997Z] Removing intermediate container 7bb8e7025221 [2021-03-31T17:15:20.997Z] ---> b947c2fada44 [2021-03-31T17:15:20.997Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-31T17:15:20.997Z] ---> Running in 3f1e578884cb [2021-03-31T17:15:21.262Z] Removing intermediate container 3f1e578884cb [2021-03-31T17:15:21.262Z] ---> bfca0d3fe801 [2021-03-31T17:15:21.262Z] Step 21/23 : LABEL arch=amd64 [2021-03-31T17:15:21.262Z] ---> Running in ad70b6f6cc52 [2021-03-31T17:15:21.525Z] Removing intermediate container ad70b6f6cc52 [2021-03-31T17:15:21.525Z] ---> 4eb2aa7891e8 [2021-03-31T17:15:21.525Z] Step 22/23 : LABEL git_sha=ed9c44cb9e26efe7467f281613af790e74475005 [2021-03-31T17:15:21.789Z] ---> Running in c3bee2e8817c [2021-03-31T17:15:21.789Z] Removing intermediate container c3bee2e8817c [2021-03-31T17:15:21.789Z] ---> 1e1189a7ff55 [2021-03-31T17:15:21.789Z] Step 23/23 : LABEL version=0.0.0 [2021-03-31T17:15:22.052Z] ---> Running in 59fab0ed50fe [2021-03-31T17:15:22.052Z] Removing intermediate container 59fab0ed50fe [2021-03-31T17:15:22.052Z] ---> 351654d455a9 [2021-03-31T17:15:22.052Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-31T17:15:22.052Z] Successfully built 351654d455a9 [2021-03-31T17:15:22.052Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:15:23.044Z] ---> job-cost.sh [2021-03-31T17:15:23.044Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BpBf [2021-03-31T17:15:38.001Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T17:15:56.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-31T17:15:56.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-31T17:15:56.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-31T17:15:56.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-31T17:15:56.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-31T17:15:59.150Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.152s coverage: 27.0% of statements [2021-03-31T17:15:59.426Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.255s coverage: 81.2% of statements [2021-03-31T17:15:59.426Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.154s coverage: 7.8% of statements [2021-03-31T17:15:59.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-31T17:15:59.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-03-31T17:15:59.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-31T17:16:02.059Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.232s coverage: 32.5% of statements [2021-03-31T17:16:02.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-31T17:16:02.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-31T17:16:02.059Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-31T17:16:04.770Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.290s coverage: 57.3% of statements [2021-03-31T17:16:04.770Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.213s coverage: 6.6% of statements [2021-03-31T17:16:05.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.154s coverage: 5.0% of statements [2021-03-31T17:16:05.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-31T17:16:06.049Z] GO111MODULE=on go vet ./... [2021-03-31T17:16:10.249Z] lf-activate-venv(): INFO: Adding /tmp/venv-BpBf/bin to PATH [2021-03-31T17:16:10.249Z] INFO: No Stack... [2021-03-31T17:16:10.249Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T17:16:10.249Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T17:16:10.563Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-03-31T17:16:10.563Z] + cut -d, -f6 [Pipeline] lock [2021-03-31T17:16:10.651Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-847-3-stack-cost] [2021-03-31T17:16:10.663Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-847-3-stack-cost] did not exist. Created. [2021-03-31T17:16:10.664Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-847-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T17:16:11.101Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-31T17:16:11.334Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T17:16:11.349Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-847-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-31T17:16:53.101Z] gofmt -l . [2021-03-31T17:16:53.101Z] [ "`gofmt -l .`" = "" ] [2021-03-31T17:16:53.101Z] ./bin/test-attribution-txt.sh [2021-03-31T17:16:53.101Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-31T17:16:53.120Z] $ docker stop --time=1 df3e4622a8c510c624de0a58e5287a2f4b5ea1702e9a2c3baa633d8794561225 [2021-03-31T17:16:55.425Z] $ docker rm -f df3e4622a8c510c624de0a58e5287a2f4b5ea1702e9a2c3baa633d8794561225 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T17:16:56.541Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T17:16:56.605Z] Warning: overwriting stash ‘coverage-report’ [2021-03-31T17:16:57.491Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T17:16:58.195Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-31T17:16:58.529Z] + ls -al . [2021-03-31T17:16:58.529Z] total 224 [2021-03-31T17:16:58.529Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 17:16 . [2021-03-31T17:16:58.529Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 17:13 .. [2021-03-31T17:16:58.529Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 17:13 .dockerignore [2021-03-31T17:16:58.529Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 17:13 .git [2021-03-31T17:16:58.529Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 17:13 .github [2021-03-31T17:16:58.529Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 17:13 .gitignore [2021-03-31T17:16:58.529Z] -rw-rw-r-- 1 jenkins jenkins 987 Mar 31 17:13 Dockerfile.build [2021-03-31T17:16:58.529Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 31 17:13 Jenkinsfile [2021-03-31T17:16:58.529Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 17:13 LICENSE [2021-03-31T17:16:58.529Z] -rw-rw-r-- 1 jenkins jenkins 1022 Mar 31 17:13 Makefile [2021-03-31T17:16:58.529Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 31 17:13 README.md [2021-03-31T17:16:58.529Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 31 17:13 RELEASE-NOTES.txt [2021-03-31T17:16:58.529Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 17:09 VERSION [2021-03-31T17:16:58.529Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 17:13 bin [2021-03-31T17:16:58.529Z] -rw-r--r-- 1 jenkins jenkins 101417 Mar 31 17:16 coverage.out [2021-03-31T17:16:58.529Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 17:13 example [2021-03-31T17:16:58.529Z] -rw-r--r-- 1 jenkins jenkins 537 Mar 31 17:16 go.mod [2021-03-31T17:16:58.529Z] -rw-r--r-- 1 jenkins jenkins 21117 Mar 31 17:16 go.sum [2021-03-31T17:16:58.529Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 31 17:13 internal [2021-03-31T17:16:58.529Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 17:13 openapi [2021-03-31T17:16:58.529Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 17:13 pkg [2021-03-31T17:16:58.529Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 17:13 snap [2021-03-31T17:16:58.529Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 17:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:16:58.873Z] + 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=ed9c44cb9e26efe7467f281613af790e74475005 --label arch=arm64 --label version=0.0.0 . [2021-03-31T17:16:59.478Z] Sending build context to Docker daemon 2.492MB [2021-03-31T17:16:59.478Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T17:16:59.478Z] Step 2/23 : FROM ${BASE} AS builder [2021-03-31T17:16:59.478Z] ---> 6d7071e9260c [2021-03-31T17:16:59.478Z] Step 3/23 : WORKDIR /device-sdk-go [2021-03-31T17:16:59.752Z] ---> Running in f1313afd423e [2021-03-31T17:17:00.027Z] Removing intermediate container f1313afd423e [2021-03-31T17:17:00.027Z] ---> f59e921bfcff [2021-03-31T17:17:00.027Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T17:17:00.301Z] ---> Running in 0798350dc1bc [2021-03-31T17:17:00.897Z] Removing intermediate container 0798350dc1bc [2021-03-31T17:17:00.897Z] ---> dd3f407d9fbf [2021-03-31T17:17:00.897Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T17:17:00.897Z] ---> Running in 22360e484603 [2021-03-31T17:17:02.874Z] Removing intermediate container 22360e484603 [2021-03-31T17:17:02.874Z] ---> a3294d502043 [2021-03-31T17:17:02.874Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-03-31T17:17:03.147Z] ---> Running in ed04dfe764a3 [2021-03-31T17:17:04.121Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T17:17:04.722Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T17:17:05.700Z] OK: 144 MiB in 45 packages [2021-03-31T17:17:06.696Z] Removing intermediate container ed04dfe764a3 [2021-03-31T17:17:06.696Z] ---> 8e3acc9094df [2021-03-31T17:17:06.696Z] Step 7/23 : COPY . . [2021-03-31T17:17:08.129Z] ---> f01dd50efe54 [2021-03-31T17:17:08.129Z] Step 8/23 : RUN go mod download [2021-03-31T17:17:08.129Z] ---> Running in ec5ae9be8f46 [2021-03-31T17:17:10.753Z] Removing intermediate container ec5ae9be8f46 [2021-03-31T17:17:10.753Z] ---> 579d5d544856 [2021-03-31T17:17:10.753Z] Step 9/23 : RUN make build [2021-03-31T17:17:10.753Z] ---> Running in 63e14d67fe29 [2021-03-31T17:17:11.734Z] 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-03-31T17:17:44.122Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-03-31T17:17:47.514Z] Removing intermediate container 63e14d67fe29 [2021-03-31T17:17:47.515Z] ---> 6f38142b2d76 [2021-03-31T17:17:47.515Z] Step 10/23 : FROM alpine:3.12 [2021-03-31T17:17:47.515Z] 3.12: Pulling from library/alpine [2021-03-31T17:17:47.515Z] 95dec6db3722: Pulling fs layer [2021-03-31T17:17:47.789Z] 95dec6db3722: Verifying Checksum [2021-03-31T17:17:47.789Z] 95dec6db3722: Download complete [2021-03-31T17:17:48.387Z] 95dec6db3722: Pull complete [2021-03-31T17:17:48.387Z] Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 [2021-03-31T17:17:48.387Z] Status: Downloaded newer image for alpine:3.12 [2021-03-31T17:17:48.387Z] ---> e47305ac9786 [2021-03-31T17:17:48.387Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-31T17:17:48.660Z] ---> Running in d61f190ec9f0 [2021-03-31T17:17:49.258Z] Removing intermediate container d61f190ec9f0 [2021-03-31T17:17:49.258Z] ---> 84ce9c623d01 [2021-03-31T17:17:49.258Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-31T17:17:49.536Z] ---> Running in b11cda43270d [2021-03-31T17:17:51.513Z] Removing intermediate container b11cda43270d [2021-03-31T17:17:51.513Z] ---> 111a71ada37a [2021-03-31T17:17:51.513Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-03-31T17:17:51.513Z] ---> Running in 02e887d691ae [2021-03-31T17:17:52.491Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T17:17:53.464Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T17:17:54.053Z] (1/5) Installing libgcc (9.3.0-r2) [2021-03-31T17:17:54.053Z] (2/5) Installing libsodium (1.0.18-r0) [2021-03-31T17:17:54.324Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-03-31T17:17:54.324Z] (4/5) Installing libzmq (4.3.3-r0) [2021-03-31T17:17:54.595Z] (5/5) Installing zeromq (4.3.3-r0) [2021-03-31T17:17:54.595Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T17:17:54.595Z] OK: 8 MiB in 19 packages [2021-03-31T17:17:56.027Z] Removing intermediate container 02e887d691ae [2021-03-31T17:17:56.027Z] ---> 70aa6a075790 [2021-03-31T17:17:56.027Z] Step 14/23 : WORKDIR / [2021-03-31T17:17:56.027Z] ---> Running in 559f46efa4fd [2021-03-31T17:17:56.622Z] Removing intermediate container 559f46efa4fd [2021-03-31T17:17:56.622Z] ---> f25cb170421d [2021-03-31T17:17:56.622Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-03-31T17:17:57.220Z] ---> 8ff15fcb53c1 [2021-03-31T17:17:57.220Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-03-31T17:17:58.655Z] ---> b2312b3d75f6 [2021-03-31T17:17:58.655Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-03-31T17:17:59.249Z] ---> 8de95d465ea7 [2021-03-31T17:17:59.249Z] Step 18/23 : EXPOSE 49990 [2021-03-31T17:17:59.249Z] ---> Running in b12ede74126a [2021-03-31T17:17:59.847Z] Removing intermediate container b12ede74126a [2021-03-31T17:17:59.847Z] ---> 590f83d9e4dd [2021-03-31T17:17:59.847Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-03-31T17:17:59.847Z] ---> Running in 222e5632192c [2021-03-31T17:18:00.444Z] Removing intermediate container 222e5632192c [2021-03-31T17:18:00.444Z] ---> efeef6289b8c [2021-03-31T17:18:00.444Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-31T17:18:00.444Z] ---> Running in 625abcac2f36 [2021-03-31T17:18:00.718Z] Removing intermediate container 625abcac2f36 [2021-03-31T17:18:00.718Z] ---> aa6c9d5b04de [2021-03-31T17:18:00.718Z] Step 21/23 : LABEL arch=arm64 [2021-03-31T17:18:00.996Z] ---> Running in 3737b2de12e1 [2021-03-31T17:18:01.594Z] Removing intermediate container 3737b2de12e1 [2021-03-31T17:18:01.595Z] ---> cdbcc5e2d3f4 [2021-03-31T17:18:01.595Z] Step 22/23 : LABEL git_sha=ed9c44cb9e26efe7467f281613af790e74475005 [2021-03-31T17:18:01.595Z] ---> Running in 92c9f8350cb2 [2021-03-31T17:18:02.191Z] Removing intermediate container 92c9f8350cb2 [2021-03-31T17:18:02.191Z] ---> 86d67d5f208f [2021-03-31T17:18:02.191Z] Step 23/23 : LABEL version=0.0.0 [2021-03-31T17:18:02.191Z] ---> Running in 4125cea80e19 [2021-03-31T17:18:02.787Z] Removing intermediate container 4125cea80e19 [2021-03-31T17:18:02.787Z] ---> 638a7017511d [2021-03-31T17:18:02.787Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-03-31T17:18:02.787Z] Successfully built 638a7017511d [2021-03-31T17:18:02.787Z] 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-03-31T17:18:03.626Z] ---> job-cost.sh [2021-03-31T17:18:03.626Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bvsH [2021-03-31T17:18:42.583Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T17:20:19.338Z] lf-activate-venv(): INFO: Adding /tmp/venv-bvsH/bin to PATH [2021-03-31T17:20:19.338Z] INFO: No Stack... [2021-03-31T17:20:19.338Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-31T17:20:19.338Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T17:20:19.680Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-03-31T17:20:19.680Z] + cut -d, -f6 [Pipeline] lock [2021-03-31T17:20:19.795Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-847-3-stack-cost] [2021-03-31T17:20:19.804Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-847-3-stack-cost] did not exist. Created. [2021-03-31T17:20:19.804Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-847-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T17:20:20.257Z] /w/workspace/device-sdk-go/3@tmp/durable-364b2fe2/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-364b2fe2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-31T17:20:20.603Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-31T17:20:20.672Z] Warning: overwriting stash ‘stack-cost’ [2021-03-31T17:20:20.831Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T17:20:20.844Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-847-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-31T17:20:22.903Z] provisioning config files... [2021-03-31T17:20:22.938Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/config1036318314088890473tmp [Pipeline] { [Pipeline] sh [2021-03-31T17:20:23.950Z] + set +x [2021-03-31T17:20:23.950Z] + curl -s https://codecov.io/bash [2021-03-31T17:20:23.950Z] + bash -s -- [2021-03-31T17:20:24.600Z] [2021-03-31T17:20:24.600Z] _____ _ [2021-03-31T17:20:24.600Z] / ____| | | [2021-03-31T17:20:24.600Z] | | ___ __| | ___ ___ _____ __ [2021-03-31T17:20:24.600Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-31T17:20:24.600Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-31T17:20:24.600Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-31T17:20:24.600Z] Bash-20210309-2b87ace [2021-03-31T17:20:24.600Z] [2021-03-31T17:20:24.600Z] [2021-03-31T17:20:24.600Z] ==> git version 2.24.3 found [2021-03-31T17:20:24.600Z] ==> 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-03-31T17:20:24.600Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-31T17:20:24.600Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-31T17:20:24.600Z] curl: option -sm: expected a proper numerical parameter [2021-03-31T17:20:24.600Z] curl: try 'curl --help' or 'curl --manual' for more information [2021-03-31T17:20:24.600Z] ==> Jenkins CI detected. [2021-03-31T17:20:24.600Z] project root: . [2021-03-31T17:20:24.600Z] --> token set from env [2021-03-31T17:20:24.969Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-31T17:20:24.969Z] ==> Running gcov in . (disable via -X gcov) [2021-03-31T17:20:24.969Z] ==> Python coveragepy not found [2021-03-31T17:20:24.969Z] ==> Searching for coverage reports in: [2021-03-31T17:20:24.969Z] + . [2021-03-31T17:20:24.969Z] -> Found 1 reports [2021-03-31T17:20:24.969Z] ==> Detecting git/mercurial file structure [2021-03-31T17:20:24.969Z] ==> Reading reports [2021-03-31T17:20:24.969Z] + ./coverage.out bytes=101417 [2021-03-31T17:20:24.969Z] ==> Appending adjustments [2021-03-31T17:20:24.969Z] https://docs.codecov.io/docs/fixing-reports [2021-03-31T17:20:25.597Z] + Found adjustments [2021-03-31T17:20:25.919Z] ==> Gzipping contents [2021-03-31T17:20:25.919Z] 16K /tmp/codecov.MERskc.gz [2021-03-31T17:20:25.919Z] ==> Uploading reports [2021-03-31T17:20:25.919Z] url: https://codecov.io [2021-03-31T17:20:25.919Z] query: branch=PR-847&commit=ed9c44cb9e26efe7467f281613af790e74475005&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-847%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=847&job=&cmd_args= [2021-03-31T17:20:25.919Z] -> Pinging Codecov [2021-03-31T17:20:25.919Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-847&commit=ed9c44cb9e26efe7467f281613af790e74475005&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-847%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=847&job=&cmd_args= [2021-03-31T17:20:26.604Z] -> Uploading to [2021-03-31T17:20:26.604Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-31/7E55EF52A471D76F132DFD9A03CDDE97/ed9c44cb9e26efe7467f281613af790e74475005/79393ca0-e1fe-4977-b770-a80941fd19e5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210331T172026Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=56c08c4a19a87f2cd45821e7753184ab25ca92566db5ef66ab1809368aa69642 [2021-03-31T17:20:26.604Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-31T17:20:26.604Z] Dload Upload Total Spent Left Speed [2021-03-31T17:20:26.907Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13732 0 0 100 13732 0 25979 --:--:-- --:--:-- --:--:-- 25958 100 13732 0 0 100 13732 0 25963 --:--:-- --:--:-- --:--:-- 25958 [2021-03-31T17:20:26.908Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ed9c44cb9e26efe7467f281613af790e74475005 [Pipeline] } [2021-03-31T17:20:26.923Z] 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-03-31T17:20:29.579Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:20:30.872Z] ---> package-listing.sh [2021-03-31T17:20:30.872Z] ++ facter osfamily [2021-03-31T17:20:30.872Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-31T17:20:31.217Z] + OS_FAMILY=redhat [2021-03-31T17:20:31.217Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-847 [2021-03-31T17:20:31.217Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-31T17:20:31.217Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-31T17:20:31.217Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-31T17:20:31.217Z] + PACKAGES=/tmp/packages_start.txt [2021-03-31T17:20:31.217Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-847 ']' [2021-03-31T17:20:31.217Z] + PACKAGES=/tmp/packages_end.txt [2021-03-31T17:20:31.217Z] + case "${OS_FAMILY}" in [2021-03-31T17:20:31.217Z] + sort [2021-03-31T17:20:31.217Z] + rpm -qa [2021-03-31T17:20:44.903Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-31T17:20:44.903Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-31T17:20:44.903Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-31T17:20:44.903Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-847 ']' [2021-03-31T17:20:44.903Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-847/archives/ [2021-03-31T17:20:44.903Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-847/archives/ [Pipeline] echo [2021-03-31T17:20:44.929Z] 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-847/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-31T17:20:45.337Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:20:46.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T17:20:46.879Z] [2021-03-31T17:20:46.880Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-31T17:20:47.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T17:20:47.754Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-31T17:20:47.754Z] df20fa9351a1: Pulling fs layer [2021-03-31T17:20:47.754Z] 36b3adc4ff6f: Pulling fs layer [2021-03-31T17:20:47.754Z] 8ad3a11d3b57: Pulling fs layer [2021-03-31T17:20:47.754Z] 46f8f816bc3b: Pulling fs layer [2021-03-31T17:20:47.754Z] 93b61091891f: Pulling fs layer [2021-03-31T17:20:47.754Z] 93b9cdb0e59b: Pulling fs layer [2021-03-31T17:20:47.754Z] 5e14af77c1be: Pulling fs layer [2021-03-31T17:20:47.754Z] 01666e4c0597: Pulling fs layer [2021-03-31T17:20:47.754Z] aa168da1d23b: Pulling fs layer [2021-03-31T17:20:47.754Z] 46f8f816bc3b: Waiting [2021-03-31T17:20:47.754Z] 93b61091891f: Waiting [2021-03-31T17:20:47.754Z] 93b9cdb0e59b: Waiting [2021-03-31T17:20:47.754Z] 5e14af77c1be: Waiting [2021-03-31T17:20:47.754Z] 01666e4c0597: Waiting [2021-03-31T17:20:47.754Z] aa168da1d23b: Waiting [2021-03-31T17:20:47.754Z] 36b3adc4ff6f: Verifying Checksum [2021-03-31T17:20:47.754Z] 36b3adc4ff6f: Download complete [2021-03-31T17:20:47.754Z] 46f8f816bc3b: Verifying Checksum [2021-03-31T17:20:47.754Z] 46f8f816bc3b: Download complete [2021-03-31T17:20:48.115Z] df20fa9351a1: Verifying Checksum [2021-03-31T17:20:48.115Z] df20fa9351a1: Download complete [2021-03-31T17:20:48.514Z] 93b9cdb0e59b: Download complete [2021-03-31T17:20:48.514Z] 5e14af77c1be: Verifying Checksum [2021-03-31T17:20:48.514Z] 5e14af77c1be: Download complete [2021-03-31T17:20:48.515Z] 93b61091891f: Verifying Checksum [2021-03-31T17:20:48.515Z] 93b61091891f: Download complete [2021-03-31T17:20:48.515Z] 01666e4c0597: Verifying Checksum [2021-03-31T17:20:48.515Z] 01666e4c0597: Download complete [2021-03-31T17:20:49.563Z] df20fa9351a1: Pull complete [2021-03-31T17:20:49.877Z] 8ad3a11d3b57: Verifying Checksum [2021-03-31T17:20:49.877Z] 8ad3a11d3b57: Download complete [2021-03-31T17:20:49.877Z] 36b3adc4ff6f: Pull complete [2021-03-31T17:20:52.122Z] 8ad3a11d3b57: Pull complete [2021-03-31T17:20:52.549Z] 46f8f816bc3b: Pull complete [2021-03-31T17:20:53.351Z] 93b61091891f: Pull complete [2021-03-31T17:20:53.675Z] 93b9cdb0e59b: Pull complete [2021-03-31T17:20:54.302Z] 5e14af77c1be: Pull complete [2021-03-31T17:20:54.302Z] 01666e4c0597: Pull complete [2021-03-31T17:21:01.043Z] aa168da1d23b: Verifying Checksum [2021-03-31T17:21:01.043Z] aa168da1d23b: Download complete [2021-03-31T17:21:24.348Z] aa168da1d23b: Pull complete [2021-03-31T17:21:24.348Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-31T17:21:24.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T17:21:24.348Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-31T17:21:24.783Z] prd-centos7-docker-4c-2g-32288 does not seem to be running inside a container [2021-03-31T17:21:24.892Z] $ 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-847/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-847 -v /w/workspace/dgexfoundry_device-sdk-go_PR-847:/w/workspace/dgexfoundry_device-sdk-go_PR-847:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-31T17:21:31.292Z] $ docker top c960f5d1d6010c61e1e6d4a4521cc2b311aa62ec3eb8dac880c33b079222ffca -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T17:21:32.421Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-31T17:21:32.929Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-31T17:21:33.814Z] + ls /var/log/sa-host [2021-03-31T17:21:33.814Z] + sadf -c /var/log/sa-host/sa23 [2021-03-31T17:21:33.814Z] file_magic: OK [2021-03-31T17:21:33.814Z] HZ: Using current value: 100 [2021-03-31T17:21:33.814Z] file_header: OK [2021-03-31T17:21:33.814Z] 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-03-31T17:21:33.814Z] Statistics: [2021-03-31T17:21:33.814Z] Hnuu...uuuununununu... [2021-03-31T17:21:33.814Z] File successfully converted to sysstat format version 12.2.1 [2021-03-31T17:21:33.814Z] + sadf -c /var/log/sa-host/sa31 [2021-03-31T17:21:33.814Z] file_magic: OK [2021-03-31T17:21:33.814Z] HZ: Using current value: 100 [2021-03-31T17:21:33.814Z] file_header: OK [2021-03-31T17:21:33.814Z] 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-03-31T17:21:33.814Z] Statistics: [2021-03-31T17:21:33.814Z] 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...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-31T17:21:33.814Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-31T17:21:34.044Z] provisioning config files... [2021-03-31T17:21:34.103Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/config7855920512164790238tmp [Pipeline] { [Pipeline] echo [2021-03-31T17:21:34.203Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:21:36.325Z] ---> create-netrc.sh [Pipeline] } [2021-03-31T17:21:36.359Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-31T17:21:36.473Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:21:37.301Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-31T17:21:37.317Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:21:38.024Z] ---> sudo-logs.sh [2021-03-31T17:21:38.024Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-31T17:21:38.507Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:21:39.373Z] ---> job-cost.sh [2021-03-31T17:21:39.673Z] lf-activate-venv: SKIPPING [2021-03-31T17:21:39.673Z] DEBUG: total: 0.20999999344348907 [2021-03-31T17:21:39.673Z] INFO: Retrieving Stack Cost... [2021-03-31T17:21:40.729Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T17:21:41.491Z] INFO: Archiving Costs [Pipeline] echo [2021-03-31T17:21:41.509Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T17:21:42.332Z] ---> logs-deploy.sh [2021-03-31T17:21:42.332Z] lf-activate-venv: SKIPPING [2021-03-31T17:21:42.332Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-847/3 [2021-03-31T17:21:42.332Z] INFO: archiving workspace using pattern(s): [2021-03-31T17:21:45.854Z] Archives upload complete. [2021-03-31T17:21:45.854Z] INFO: archiving logs to Nexus