Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cc2fb99d94801e599dd318b6093e400577257e87+4d2675d668c2f9064e370a810b18e5856622130c (0d8a8f2695d0ab3e885337be3bd1017737a39e64) 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-1010 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [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-883 # 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/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit cc2fb99d94801e599dd318b6093e400577257e87 Merge succeeded, producing 1e62149aacc7d3c3508981401439a5856b941d47 Checking out Revision 1e62149aacc7d3c3508981401439a5856b941d47 (PR-883) > git config core.sparsecheckout # timeout=10 > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e62149aacc7d3c3508981401439a5856b941d47 # timeout=10 Commit message: "Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD" > git rev-list --no-walk cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-19T22:42:32.861Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-19T22:42:32.945Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-19T22:42:32.973Z] ========================================================= [2021-04-19T22:42:32.973Z] EdgeX Global Pipelines Version Info [2021-04-19T22:42:32.973Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:42:35.883Z] ------------------- [2021-04-19T22:42:35.884Z] stable info: [2021-04-19T22:42:35.884Z] ------------------- [2021-04-19T22:42:35.884Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-19T22:42:35.884Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T22:42:35.884Z] Message: update stable to v1.0.186 [2021-04-19T22:42:37.550Z] ------------------- [2021-04-19T22:42:37.550Z] experimental info: [2021-04-19T22:42:37.550Z] ------------------- [2021-04-19T22:42:37.550Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-19T22:42:37.550Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-19T22:42:37.550Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-19T22:42:37.795Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-19T22:42:37.819Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-19T22:42:37.845Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-19T22:42:37.881Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-19T22:42:37.909Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-19T22:42:37.933Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-19T22:42:37.958Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-19T22:42:37.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-19T22:42:38.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-19T22:42:38.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-19T22:42:38.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-19T22:42:38.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-19T22:42:38.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-19T22:42:38.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-19T22:42:38.152Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T22:42:38.177Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T22:42:38.204Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T22:42:38.229Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T22:42:38.254Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-19T22:42:38.278Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-19T22:42:38.302Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-19T22:42:38.327Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-19T22:42:38.352Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-19T22:42:38.378Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-19T22:42:38.402Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-19T22:42:38.427Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-19T22:42:38.451Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-883 [Pipeline] echo [2021-04-19T22:42:38.475Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-883 [Pipeline] echo [2021-04-19T22:42:38.501Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-883 [Pipeline] echo [2021-04-19T22:42:38.527Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e62149aacc7d3c3508981401439a5856b941d47 [Pipeline] echo [2021-04-19T22:42:38.551Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e62149 [Pipeline] echo [2021-04-19T22:42:38.575Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:42:38.679Z] provisioning config files... [2021-04-19T22:42:38.749Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config4126835706973429011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:42:39.239Z] ---> docker-login.sh [2021-04-19T22:42:39.239Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:42:40.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:42:40.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:42:40.742Z] Configure a credential helper to remove this warning. See [2021-04-19T22:42:40.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:42:40.742Z] [2021-04-19T22:42:40.742Z] Login Succeeded [2021-04-19T22:42:40.742Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:42:41.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:42:41.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:42:41.672Z] Configure a credential helper to remove this warning. See [2021-04-19T22:42:41.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:42:41.672Z] [2021-04-19T22:42:41.672Z] Login Succeeded [2021-04-19T22:42:41.672Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:42:41.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:42:42.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:42:42.283Z] Configure a credential helper to remove this warning. See [2021-04-19T22:42:42.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:42:42.283Z] [2021-04-19T22:42:42.283Z] Login Succeeded [2021-04-19T22:42:42.283Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:42:42.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:42:42.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:42:42.873Z] Configure a credential helper to remove this warning. See [2021-04-19T22:42:42.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:42:42.873Z] [2021-04-19T22:42:42.873Z] Login Succeeded [2021-04-19T22:42:42.873Z] docker.io [2021-04-19T22:42:43.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:42:43.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:42:43.478Z] Configure a credential helper to remove this warning. See [2021-04-19T22:42:43.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:42:43.478Z] [2021-04-19T22:42:43.478Z] Login Succeeded [2021-04-19T22:42:43.478Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:42:43.514Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:42:44.024Z] + git log --format=format:%s -1 1e62149aacc7d3c3508981401439a5856b941d47 [Pipeline] echo [2021-04-19T22:42:44.321Z] GIT_COMMIT: 1e62149aacc7d3c3508981401439a5856b941d47, Commit Message: Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD [Pipeline] echo [2021-04-19T22:42:44.335Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:42:44.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:42:44.963Z] [2021-04-19T22:42:44.963Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:42:45.342Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:42:45.342Z] latest: Pulling from edgex-devops/git-semver [2021-04-19T22:42:45.342Z] 31603596830f: Pulling fs layer [2021-04-19T22:42:45.342Z] 2a8b12db71e7: Pulling fs layer [2021-04-19T22:42:45.342Z] 6ca5941a6612: Pulling fs layer [2021-04-19T22:42:45.342Z] ecc8261a40a4: Pulling fs layer [2021-04-19T22:42:45.342Z] ecc8261a40a4: Waiting [2021-04-19T22:42:45.625Z] 2a8b12db71e7: Verifying Checksum [2021-04-19T22:42:45.625Z] 2a8b12db71e7: Download complete [2021-04-19T22:42:45.625Z] 31603596830f: Verifying Checksum [2021-04-19T22:42:45.625Z] 31603596830f: Download complete [2021-04-19T22:42:45.936Z] ecc8261a40a4: Verifying Checksum [2021-04-19T22:42:45.936Z] ecc8261a40a4: Download complete [2021-04-19T22:42:46.225Z] 6ca5941a6612: Verifying Checksum [2021-04-19T22:42:46.225Z] 6ca5941a6612: Download complete [2021-04-19T22:42:46.504Z] 31603596830f: Pull complete [2021-04-19T22:42:46.811Z] 2a8b12db71e7: Pull complete [2021-04-19T22:42:50.414Z] 6ca5941a6612: Pull complete [2021-04-19T22:42:51.040Z] ecc8261a40a4: Pull complete [2021-04-19T22:42:51.040Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-19T22:42:51.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T22:42:51.040Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-19T22:42:51.620Z] prd-centos7-docker-4c-2g-1010 does not seem to be running inside a container [2021-04-19T22:42:51.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-883 -v /w/workspace/dgexfoundry_device-sdk-go_PR-883:/w/workspace/dgexfoundry_device-sdk-go_PR-883:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-19T22:42:55.006Z] $ docker top 56d984b9feb94d355c61e892d0e0726d39409c5d8cdf75523cb615860012168b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T22:42:55.432Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:42:55.432Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:42:55.936Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:42:55.950Z] $ docker exec 56d984b9feb94d355c61e892d0e0726d39409c5d8cdf75523cb615860012168b ssh-agent [2021-04-19T22:42:56.231Z] SSH_AUTH_SOCK=/tmp/ssh-5AeRgHfjVseR/agent.11 [2021-04-19T22:42:56.231Z] SSH_AGENT_PID=17 [2021-04-19T22:42:56.254Z] Running ssh-add (command line suppressed) [2021-04-19T22:42:56.494Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_6703860475153156551.key (/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_6703860475153156551.key) [2021-04-19T22:42:56.603Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:42:56.955Z] + git tag --points-at HEAD [Pipeline] } [2021-04-19T22:42:57.020Z] $ docker exec --env ******** --env ******** 56d984b9feb94d355c61e892d0e0726d39409c5d8cdf75523cb615860012168b ssh-agent -k [2021-04-19T22:42:57.293Z] unset SSH_AUTH_SOCK; [2021-04-19T22:42:57.294Z] unset SSH_AGENT_PID; [2021-04-19T22:42:57.294Z] echo Agent pid 17 killed; [2021-04-19T22:42:57.406Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-19T22:42:57.453Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T22:42:57.453Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T22:42:57.873Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T22:42:57.885Z] $ docker exec 56d984b9feb94d355c61e892d0e0726d39409c5d8cdf75523cb615860012168b ssh-agent [2021-04-19T22:42:58.247Z] SSH_AUTH_SOCK=/tmp/ssh-0H6huX7MUYf5/agent.45 [2021-04-19T22:42:58.247Z] SSH_AGENT_PID=51 [2021-04-19T22:42:58.262Z] Running ssh-add (command line suppressed) [2021-04-19T22:42:58.604Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_6920722281305851179.key (/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/private_key_6920722281305851179.key) [2021-04-19T22:42:58.727Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T22:42:59.119Z] + git semver init [2021-04-19T22:42:59.408Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T22:42:59.408Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-883/.git [2021-04-19T22:42:59.408Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-883 [2021-04-19T22:42:59.408Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T22:42:59.408Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T22:42:59.408Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T22:42:59.408Z] # $SEMVER_BRANCH = PR-883 [2021-04-19T22:42:59.408Z] # $SEMVER_TEMP = /tmp/semver-861054426 [2021-04-19T22:42:59.408Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-19T22:43:00.963Z] # '/tmp/semver-861054426' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-883/.semver' [2021-04-19T22:43:00.963Z] # -> Force: false [2021-04-19T22:43:00.963Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-883/.semver [Pipeline] } [2021-04-19T22:43:01.052Z] $ docker exec --env ******** --env ******** 56d984b9feb94d355c61e892d0e0726d39409c5d8cdf75523cb615860012168b ssh-agent -k [2021-04-19T22:43:01.616Z] unset SSH_AUTH_SOCK; [2021-04-19T22:43:01.619Z] unset SSH_AGENT_PID; [2021-04-19T22:43:01.619Z] echo Agent pid 51 killed; [2021-04-19T22:43:01.791Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T22:43:02.635Z] + git semver [Pipeline] } [2021-04-19T22:43:02.676Z] $ docker stop --time=1 56d984b9feb94d355c61e892d0e0726d39409c5d8cdf75523cb615860012168b [2021-04-19T22:43:04.690Z] $ docker rm -f 56d984b9feb94d355c61e892d0e0726d39409c5d8cdf75523cb615860012168b [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:43:05.314Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-19T22:43:06.573Z] Stashed 1 file(s) [Pipeline] echo [2021-04-19T22:43:06.577Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-19T22:43:21.770Z] Still waiting to schedule task [2021-04-19T22:43:21.770Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-19T22:43:21.773Z] Still waiting to schedule task [2021-04-19T22:43:21.773Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-builder-2c-1g-958’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-1008’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-949’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1018’ is offline [2021-04-19T22:45:33.601Z] Running on prd-centos7-docker-4c-2g-1026 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [Pipeline] { [Pipeline] ws [2021-04-19T22:45:33.633Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-04-19T22:45:36.466Z] using credential edgex-jenkins-ssh [2021-04-19T22:45:36.494Z] Cloning the remote Git repository [2021-04-19T22:45:36.522Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T22:45:36.623Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-04-19T22:45:36.691Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T22:45:36.692Z] > git --version # timeout=10 [2021-04-19T22:45:36.697Z] > git --version # 'git version 2.24.3' [2021-04-19T22:45:36.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:45:36.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:45:38.171Z] Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit cc2fb99d94801e599dd318b6093e400577257e87 [2021-04-19T22:45:38.349Z] Merge succeeded, producing 92f044f8b65c9e5a3c14ea080f23db1832d56f41 [2021-04-19T22:45:38.349Z] Checking out Revision 92f044f8b65c9e5a3c14ea080f23db1832d56f41 (PR-883) [2021-04-19T22:45:37.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T22:45:37.677Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:45:37.695Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T22:45:37.715Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T22:45:37.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:45:37.722Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T22:45:38.180Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:45:38.199Z] > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 [2021-04-19T22:45:38.294Z] > git remote # timeout=10 [2021-04-19T22:45:38.304Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T22:45:38.311Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:45:38.315Z] > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 [2021-04-19T22:45:38.343Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T22:45:38.352Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:45:38.358Z] > git checkout -f 92f044f8b65c9e5a3c14ea080f23db1832d56f41 # timeout=10 [2021-04-19T22:45:42.095Z] Commit message: "Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD" [2021-04-19T22:45:42.100Z] > git rev-list --no-walk cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:45:43.274Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:45:43.615Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:45:43.923Z] + sudo service docker restart [2021-04-19T22:45:43.923Z] + true [2021-04-19T22:45:43.923Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:45:45.351Z] provisioning config files... [2021-04-19T22:45:45.383Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3119686158823590491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:45:45.718Z] ---> docker-login.sh [2021-04-19T22:45:45.718Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:45:45.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:45.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:45.982Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:45.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:45.982Z] [2021-04-19T22:45:45.982Z] Login Succeeded [2021-04-19T22:45:45.982Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:45:46.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:46.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:46.248Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:46.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:46.248Z] [2021-04-19T22:45:46.248Z] Login Succeeded [2021-04-19T22:45:46.248Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:45:46.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:46.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:46.514Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:46.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:46.514Z] [2021-04-19T22:45:46.514Z] Login Succeeded [2021-04-19T22:45:46.514Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:45:46.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:46.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:46.781Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:46.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:46.781Z] [2021-04-19T22:45:46.781Z] Login Succeeded [2021-04-19T22:45:46.781Z] docker.io [2021-04-19T22:45:46.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:45:47.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:45:47.044Z] Configure a credential helper to remove this warning. See [2021-04-19T22:45:47.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:45:47.044Z] [2021-04-19T22:45:47.044Z] Login Succeeded [2021-04-19T22:45:47.044Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:45:47.055Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T22:45:47.268Z] ========================================================= [2021-04-19T22:45:47.268Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-19T22:45:47.268Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:45:47.586Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-19T22:45:47.858Z] Sending build context to Docker daemon 2.452MB [2021-04-19T22:45:47.858Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:45:47.858Z] Step 2/8 : FROM ${BASE} [2021-04-19T22:45:47.858Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-19T22:45:47.858Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T22:45:47.858Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T22:45:47.858Z] de9db76c5a1d: Pulling fs layer [2021-04-19T22:45:47.858Z] bca2f99d35d6: Pulling fs layer [2021-04-19T22:45:47.858Z] 93359f2a8cfa: Pulling fs layer [2021-04-19T22:45:47.858Z] 7c6f9722023f: Pulling fs layer [2021-04-19T22:45:47.858Z] a35cf1a2eb13: Pulling fs layer [2021-04-19T22:45:47.858Z] 93359f2a8cfa: Waiting [2021-04-19T22:45:47.858Z] 7c6f9722023f: Waiting [2021-04-19T22:45:47.858Z] a35cf1a2eb13: Waiting [2021-04-19T22:45:47.858Z] bca2f99d35d6: Waiting [2021-04-19T22:45:47.858Z] de9db76c5a1d: Verifying Checksum [2021-04-19T22:45:47.858Z] de9db76c5a1d: Download complete [2021-04-19T22:45:47.858Z] 0ef7d3d256c8: Verifying Checksum [2021-04-19T22:45:47.858Z] 0ef7d3d256c8: Download complete [2021-04-19T22:45:47.858Z] 93359f2a8cfa: Verifying Checksum [2021-04-19T22:45:47.858Z] 93359f2a8cfa: Download complete [2021-04-19T22:45:47.858Z] 188c0c94c7c5: Verifying Checksum [2021-04-19T22:45:47.858Z] 188c0c94c7c5: Download complete [2021-04-19T22:45:47.858Z] 7c6f9722023f: Verifying Checksum [2021-04-19T22:45:47.858Z] 7c6f9722023f: Download complete [2021-04-19T22:45:48.122Z] 188c0c94c7c5: Pull complete [2021-04-19T22:45:48.390Z] 0ef7d3d256c8: Pull complete [2021-04-19T22:45:48.656Z] de9db76c5a1d: Pull complete [2021-04-19T22:45:49.613Z] a35cf1a2eb13: Download complete [2021-04-19T22:45:50.211Z] bca2f99d35d6: Verifying Checksum [2021-04-19T22:45:50.212Z] bca2f99d35d6: Download complete [2021-04-19T22:45:56.851Z] bca2f99d35d6: Pull complete [2021-04-19T22:45:56.851Z] 93359f2a8cfa: Pull complete [2021-04-19T22:45:56.851Z] 7c6f9722023f: Pull complete [2021-04-19T22:46:01.111Z] a35cf1a2eb13: Pull complete [2021-04-19T22:46:01.111Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-19T22:46:01.111Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-19T22:46:01.111Z] ---> a62c8e92a672 [2021-04-19T22:46:01.111Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T22:46:01.687Z] ---> Running in e668eadb6d2b [2021-04-19T22:46:01.951Z] Removing intermediate container e668eadb6d2b [2021-04-19T22:46:01.952Z] ---> 753ae25fd153 [2021-04-19T22:46:01.952Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:46:01.952Z] ---> Running in 35d03187dbae [2021-04-19T22:46:02.913Z] Removing intermediate container 35d03187dbae [2021-04-19T22:46:02.913Z] ---> 318e5f2b91d1 [2021-04-19T22:46:02.913Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-19T22:46:02.913Z] ---> Running in fbf600499434 [2021-04-19T22:46:04.310Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:46:04.885Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:46:05.462Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-19T22:46:05.462Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-19T22:46:05.462Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-19T22:46:05.462Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-19T22:46:05.724Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T22:46:05.724Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-19T22:46:05.988Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T22:46:05.988Z] OK: 167 MiB in 45 packages [2021-04-19T22:46:06.574Z] Removing intermediate container fbf600499434 [2021-04-19T22:46:06.574Z] ---> 66905081ca6d [2021-04-19T22:46:06.574Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-19T22:46:06.574Z] ---> Running in 9165c94399d6 [2021-04-19T22:46:06.839Z] Removing intermediate container 9165c94399d6 [2021-04-19T22:46:06.839Z] ---> c9cf50157422 [2021-04-19T22:46:06.839Z] Step 7/8 : COPY . . [2021-04-19T22:46:08.235Z] ---> ac47c02520fe [2021-04-19T22:46:08.235Z] Step 8/8 : RUN go mod download [2021-04-19T22:46:08.235Z] ---> Running in 95610318e253 [2021-04-19T22:46:30.265Z] Removing intermediate container 95610318e253 [2021-04-19T22:46:30.265Z] ---> 174a8fecf81c [2021-04-19T22:46:30.265Z] Successfully built 174a8fecf81c [2021-04-19T22:46:30.265Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:46:30.593Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T22:46:30.593Z] . [Pipeline] withDockerContainer [2021-04-19T22:46:30.746Z] prd-centos7-docker-4c-2g-1026 does not seem to be running inside a container [2021-04-19T22:46:30.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-19T22:46:31.739Z] $ docker top ec45cbd65331ce6c498c6d13ba4b4006170b39a5d06d39591cb1bf5a0f9c04d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:46:32.182Z] + go version [2021-04-19T22:46:32.182Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-19T22:46:32.202Z] $ docker stop --time=1 ec45cbd65331ce6c498c6d13ba4b4006170b39a5d06d39591cb1bf5a0f9c04d5 [2021-04-19T22:46:33.570Z] $ docker rm -f ec45cbd65331ce6c498c6d13ba4b4006170b39a5d06d39591cb1bf5a0f9c04d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:46:34.089Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T22:46:34.090Z] . [Pipeline] withDockerContainer [2021-04-19T22:46:34.193Z] prd-centos7-docker-4c-2g-1026 does not seem to be running inside a container [2021-04-19T22:46:34.244Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-19T22:46:34.868Z] $ docker top b2f982c80a58813ee9e8ec3f332e3a436eaf6f7d966b1c23b7ca66a01810b71b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:46:35.298Z] + make test [2021-04-19T22:46:35.298Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-19T22:46:39.796Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1028 in /w/workspace/dgexfoundry_device-sdk-go_PR-883 [Pipeline] { [Pipeline] ws [2021-04-19T22:46:39.817Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-04-19T22:46:43.521Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-19T22:46:46.178Z] using credential edgex-jenkins-ssh [2021-04-19T22:46:46.205Z] Cloning the remote Git repository [2021-04-19T22:46:46.276Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T22:46:46.406Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-04-19T22:46:46.503Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T22:46:46.504Z] > git --version # timeout=10 [2021-04-19T22:46:46.520Z] > git --version # 'git version 2.17.1' [2021-04-19T22:46:46.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:46:46.612Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:46:48.759Z] Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit cc2fb99d94801e599dd318b6093e400577257e87 [2021-04-19T22:46:48.091Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T22:46:48.126Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T22:46:48.158Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T22:46:48.197Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T22:46:48.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:46:48.214Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/883/head:refs/remotes/origin/PR-883 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T22:46:48.778Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:46:48.795Z] > git checkout -f cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 [2021-04-19T22:46:49.059Z] Merge succeeded, producing d58db6aa6448ebb85dab5c2a7a7cbbea0e6ef7f2 [2021-04-19T22:46:49.060Z] Checking out Revision d58db6aa6448ebb85dab5c2a7a7cbbea0e6ef7f2 (PR-883) [2021-04-19T22:46:48.904Z] > git remote # timeout=10 [2021-04-19T22:46:48.923Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T22:46:48.949Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T22:46:48.961Z] > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 [2021-04-19T22:46:49.038Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T22:46:49.061Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T22:46:49.072Z] > git checkout -f d58db6aa6448ebb85dab5c2a7a7cbbea0e6ef7f2 # timeout=10 [2021-04-19T22:46:53.452Z] Commit message: "Merge commit '4d2675d668c2f9064e370a810b18e5856622130c' into HEAD" [2021-04-19T22:46:53.454Z] > git rev-list --no-walk cc2fb99d94801e599dd318b6093e400577257e87 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:46:55.115Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:46:55.566Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T22:46:55.918Z] + sudo service docker restart [2021-04-19T22:46:55.918Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T22:46:58.590Z] provisioning config files... [2021-04-19T22:46:58.632Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6146274748176639922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:46:59.012Z] ---> docker-login.sh [2021-04-19T22:46:59.012Z] nexus3.edgexfoundry.org:10001 [2021-04-19T22:47:00.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:47:00.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:47:00.280Z] Configure a credential helper to remove this warning. See [2021-04-19T22:47:00.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:47:00.280Z] [2021-04-19T22:47:00.280Z] Login Succeeded [2021-04-19T22:47:00.280Z] nexus3.edgexfoundry.org:10002 [2021-04-19T22:47:00.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:47:00.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:47:00.885Z] Configure a credential helper to remove this warning. See [2021-04-19T22:47:00.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:47:00.885Z] [2021-04-19T22:47:00.885Z] Login Succeeded [2021-04-19T22:47:00.885Z] nexus3.edgexfoundry.org:10003 [2021-04-19T22:47:01.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:47:01.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:47:01.482Z] Configure a credential helper to remove this warning. See [2021-04-19T22:47:01.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:47:01.482Z] [2021-04-19T22:47:01.482Z] Login Succeeded [2021-04-19T22:47:01.482Z] nexus3.edgexfoundry.org:10004 [2021-04-19T22:47:02.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:47:02.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:47:02.088Z] Configure a credential helper to remove this warning. See [2021-04-19T22:47:02.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:47:02.088Z] [2021-04-19T22:47:02.088Z] Login Succeeded [2021-04-19T22:47:02.088Z] docker.io [2021-04-19T22:47:02.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T22:47:02.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T22:47:02.965Z] Configure a credential helper to remove this warning. See [2021-04-19T22:47:02.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T22:47:02.965Z] [2021-04-19T22:47:02.965Z] Login Succeeded [2021-04-19T22:47:02.965Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T22:47:02.985Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T22:47:03.363Z] ========================================================= [2021-04-19T22:47:03.363Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-19T22:47:03.363Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:47:03.730Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-19T22:47:04.354Z] Sending build context to Docker daemon 2.451MB [2021-04-19T22:47:04.354Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:47:04.354Z] Step 2/8 : FROM ${BASE} [2021-04-19T22:47:04.354Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-19T22:47:04.354Z] 5f621e34cdf4: Pulling fs layer [2021-04-19T22:47:04.354Z] a4357932f1b6: Pulling fs layer [2021-04-19T22:47:04.354Z] 18c013af1878: Pulling fs layer [2021-04-19T22:47:04.354Z] 00ac8860ef70: Pulling fs layer [2021-04-19T22:47:04.354Z] 63d7cb157983: Pulling fs layer [2021-04-19T22:47:04.354Z] b116817d02f9: Pulling fs layer [2021-04-19T22:47:04.354Z] 745a02a5169b: Pulling fs layer [2021-04-19T22:47:04.354Z] 63d7cb157983: Waiting [2021-04-19T22:47:04.354Z] b116817d02f9: Waiting [2021-04-19T22:47:04.354Z] 745a02a5169b: Waiting [2021-04-19T22:47:04.354Z] 00ac8860ef70: Waiting [2021-04-19T22:47:04.354Z] 18c013af1878: Download complete [2021-04-19T22:47:04.354Z] a4357932f1b6: Verifying Checksum [2021-04-19T22:47:04.354Z] a4357932f1b6: Download complete [2021-04-19T22:47:04.354Z] 63d7cb157983: Verifying Checksum [2021-04-19T22:47:04.354Z] 63d7cb157983: Download complete [2021-04-19T22:47:04.354Z] b116817d02f9: Download complete [2021-04-19T22:47:04.354Z] 5f621e34cdf4: Verifying Checksum [2021-04-19T22:47:04.354Z] 5f621e34cdf4: Download complete [2021-04-19T22:47:05.345Z] 5f621e34cdf4: Pull complete [2021-04-19T22:47:05.887Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-19T22:47:05.888Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-19T22:47:05.888Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-19T22:47:05.888Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-19T22:47:05.888Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-19T22:47:05.947Z] a4357932f1b6: Pull complete [2021-04-19T22:47:06.218Z] 18c013af1878: Pull complete [2021-04-19T22:47:07.198Z] 745a02a5169b: Verifying Checksum [2021-04-19T22:47:07.198Z] 745a02a5169b: Download complete [2021-04-19T22:47:07.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 28.1% of statements [2021-04-19T22:47:07.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements [2021-04-19T22:47:08.079Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.113s coverage: 7.8% of statements [2021-04-19T22:47:08.079Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-19T22:47:08.079Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-19T22:47:08.079Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-19T22:47:08.079Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 32.0% of statements [2021-04-19T22:47:08.079Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-19T22:47:08.079Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-19T22:47:08.079Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-19T22:47:09.047Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.114s coverage: 57.1% of statements [2021-04-19T22:47:09.193Z] 00ac8860ef70: Verifying Checksum [2021-04-19T22:47:09.193Z] 00ac8860ef70: Download complete [2021-04-19T22:47:09.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.327s coverage: 6.6% of statements [2021-04-19T22:47:09.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-04-19T22:47:09.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-19T22:47:09.575Z] GO111MODULE=on go vet ./... [2021-04-19T22:47:19.380Z] 00ac8860ef70: Pull complete [2021-04-19T22:47:19.380Z] 63d7cb157983: Pull complete [2021-04-19T22:47:19.380Z] b116817d02f9: Pull complete [2021-04-19T22:47:22.791Z] 745a02a5169b: Pull complete [2021-04-19T22:47:22.791Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-19T22:47:22.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-19T22:47:22.791Z] ---> b7e6874047d6 [2021-04-19T22:47:22.791Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T22:47:26.219Z] ---> Running in be6508353397 [2021-04-19T22:47:26.490Z] Removing intermediate container be6508353397 [2021-04-19T22:47:26.491Z] ---> 78c10ce91b65 [2021-04-19T22:47:26.491Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:47:26.491Z] ---> Running in 003e08b96171 [2021-04-19T22:47:27.890Z] gofmt -l . [2021-04-19T22:47:27.890Z] [ "`gofmt -l .`" = "" ] [2021-04-19T22:47:27.890Z] ./bin/test-attribution-txt.sh [2021-04-19T22:47:27.890Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T22:47:27.911Z] $ docker stop --time=1 b2f982c80a58813ee9e8ec3f332e3a436eaf6f7d966b1c23b7ca66a01810b71b [2021-04-19T22:47:29.135Z] Removing intermediate container 003e08b96171 [2021-04-19T22:47:29.135Z] ---> 8bf1791a63f0 [2021-04-19T22:47:29.135Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-19T22:47:29.135Z] ---> Running in b01a646291cd [2021-04-19T22:47:29.663Z] $ docker rm -f b2f982c80a58813ee9e8ec3f332e3a436eaf6f7d966b1c23b7ca66a01810b71b [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:47:30.116Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:47:30.296Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T22:47:30.691Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [2021-04-19T22:47:30.713Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-19T22:47:31.643Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T22:47:31.690Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-19T22:47:31.691Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-19T22:47:31.691Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-19T22:47:31.947Z] + ls -al . [2021-04-19T22:47:31.947Z] total 188 [2021-04-19T22:47:31.947Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 19 22:47 . [2021-04-19T22:47:31.947Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 22:45 .. [2021-04-19T22:47:31.947Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 19 22:45 bin [2021-04-19T22:47:31.947Z] -rw-r--r--. 1 jenkins jenkins 100116 Apr 19 22:47 coverage.out [2021-04-19T22:47:31.947Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 19 22:45 Dockerfile.build [2021-04-19T22:47:31.947Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 19 22:45 .dockerignore [2021-04-19T22:47:31.947Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 19 22:45 example [2021-04-19T22:47:31.947Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 22:45 .git [2021-04-19T22:47:31.947Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 22:45 .github [2021-04-19T22:47:31.947Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 19 22:45 .gitignore [2021-04-19T22:47:31.947Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 19 22:47 go.mod [2021-04-19T22:47:31.947Z] -rw-r--r--. 1 jenkins jenkins 20735 Apr 19 22:47 go.sum [2021-04-19T22:47:31.947Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 19 22:45 internal [2021-04-19T22:47:31.947Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 19 22:45 Jenkinsfile [2021-04-19T22:47:31.947Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 19 22:45 LICENSE [2021-04-19T22:47:31.947Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 19 22:45 Makefile [2021-04-19T22:47:31.947Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 19 22:45 openapi [2021-04-19T22:47:31.947Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 19 22:45 pkg [2021-04-19T22:47:31.947Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 19 22:45 README.md [2021-04-19T22:47:31.947Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 19 22:45 RELEASE-NOTES.txt [2021-04-19T22:47:31.947Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 19 22:45 snap [2021-04-19T22:47:31.947Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 22:43 VERSION [2021-04-19T22:47:31.947Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 19 22:45 version.go [Pipeline] isUnix [2021-04-19T22:47:31.964Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-19T22:47:31.964Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T22:47:31.964Z] (6/6) Installing zeromq-dev (4.3.3-r0) [Pipeline] sh [2021-04-19T22:47:32.237Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T22:47:32.237Z] OK: 144 MiB in 45 packages [2021-04-19T22:47:32.255Z] + 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=1e62149aacc7d3c3508981401439a5856b941d47 --label arch=amd64 --label version=0.0.0 . [2021-04-19T22:47:32.517Z] Sending build context to Docker daemon 2.553MB [2021-04-19T22:47:32.517Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:47:32.517Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-19T22:47:32.517Z] ---> 174a8fecf81c [2021-04-19T22:47:32.517Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-19T22:47:32.779Z] ---> Running in 4d6db9a4b1e7 [2021-04-19T22:47:33.045Z] Removing intermediate container 4d6db9a4b1e7 [2021-04-19T22:47:33.045Z] ---> fdde533877f7 [2021-04-19T22:47:33.045Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T22:47:33.045Z] ---> Running in 5efe1c11fa2d [2021-04-19T22:47:33.308Z] Removing intermediate container 5efe1c11fa2d [2021-04-19T22:47:33.308Z] ---> 2b2c2062e1a8 [2021-04-19T22:47:33.308Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:47:33.308Z] ---> Running in b1873f47034d [2021-04-19T22:47:33.680Z] Removing intermediate container b01a646291cd [2021-04-19T22:47:33.680Z] ---> b425d19c32ee [2021-04-19T22:47:33.680Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-19T22:47:33.680Z] ---> Running in c31182bb9194 [2021-04-19T22:47:34.275Z] Removing intermediate container b1873f47034d [2021-04-19T22:47:34.275Z] ---> 961d26b15c1c [2021-04-19T22:47:34.275Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-19T22:47:34.275Z] ---> Running in e84c6832bcf8 [2021-04-19T22:47:34.280Z] Removing intermediate container c31182bb9194 [2021-04-19T22:47:34.280Z] ---> ae2068cd09a0 [2021-04-19T22:47:34.280Z] Step 7/8 : COPY . . [2021-04-19T22:47:35.235Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:47:35.716Z] ---> 695bf390e892 [2021-04-19T22:47:35.716Z] Step 8/8 : RUN go mod download [2021-04-19T22:47:35.813Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:47:35.991Z] ---> Running in e81da46f67cf [2021-04-19T22:47:36.076Z] OK: 167 MiB in 45 packages [2021-04-19T22:47:36.660Z] Removing intermediate container e84c6832bcf8 [2021-04-19T22:47:36.660Z] ---> 2cd35f66649f [2021-04-19T22:47:36.660Z] Step 7/23 : COPY . . [2021-04-19T22:47:37.628Z] ---> a8cb3f8a4fde [2021-04-19T22:47:37.628Z] Step 8/23 : RUN go mod download [2021-04-19T22:47:37.628Z] ---> Running in f3149aaf9734 [2021-04-19T22:47:39.031Z] Removing intermediate container f3149aaf9734 [2021-04-19T22:47:39.032Z] ---> 819649a32de4 [2021-04-19T22:47:39.032Z] Step 9/23 : RUN make build [2021-04-19T22:47:39.032Z] ---> Running in ac959e54efda [2021-04-19T22:47:39.323Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-19T22:47:51.693Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-19T22:47:52.273Z] Removing intermediate container ac959e54efda [2021-04-19T22:47:52.273Z] ---> 6319a3f75dcd [2021-04-19T22:47:52.273Z] Step 10/23 : FROM alpine:3.12 [2021-04-19T22:47:52.850Z] 3.12: Pulling from library/alpine [2021-04-19T22:47:52.850Z] 339de151aab4: Pulling fs layer [2021-04-19T22:47:53.113Z] 339de151aab4: Verifying Checksum [2021-04-19T22:47:53.113Z] 339de151aab4: Download complete [2021-04-19T22:47:53.377Z] 339de151aab4: Pull complete [2021-04-19T22:47:53.377Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T22:47:53.377Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T22:47:53.377Z] ---> 13621d1b12d4 [2021-04-19T22:47:53.377Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T22:47:53.377Z] ---> Running in ca78190b5861 [2021-04-19T22:47:53.641Z] Removing intermediate container ca78190b5861 [2021-04-19T22:47:53.641Z] ---> efee551a67eb [2021-04-19T22:47:53.641Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:47:53.641Z] ---> Running in 853da074064b [2021-04-19T22:47:54.594Z] Removing intermediate container 853da074064b [2021-04-19T22:47:54.594Z] ---> 6c4def0b6b06 [2021-04-19T22:47:54.594Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-19T22:47:54.594Z] ---> Running in c73a2c0ed146 [2021-04-19T22:47:55.172Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T22:47:55.748Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T22:47:56.324Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-19T22:47:56.324Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-19T22:47:56.586Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-19T22:47:57.163Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-19T22:47:57.739Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-19T22:47:57.739Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T22:47:57.739Z] OK: 8 MiB in 19 packages [2021-04-19T22:47:58.316Z] Removing intermediate container c73a2c0ed146 [2021-04-19T22:47:58.316Z] ---> 4978bf9f3a78 [2021-04-19T22:47:58.316Z] Step 14/23 : WORKDIR / [2021-04-19T22:47:58.316Z] ---> Running in 507a75fc43de [2021-04-19T22:47:58.579Z] Removing intermediate container 507a75fc43de [2021-04-19T22:47:58.579Z] ---> 5b731e02be33 [2021-04-19T22:47:58.579Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-19T22:47:58.845Z] ---> 8dfa7416e4d7 [2021-04-19T22:47:58.845Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-19T22:47:59.425Z] ---> 3b2246a16f52 [2021-04-19T22:47:59.425Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-19T22:47:59.688Z] ---> 4de69da817d5 [2021-04-19T22:47:59.688Z] Step 18/23 : EXPOSE 49990 [2021-04-19T22:47:59.688Z] ---> Running in 5dc653bcee4f [2021-04-19T22:47:59.959Z] Removing intermediate container 5dc653bcee4f [2021-04-19T22:47:59.959Z] ---> 661aacb2659c [2021-04-19T22:47:59.959Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-19T22:47:59.959Z] ---> Running in 3a24f8c14c31 [2021-04-19T22:48:00.222Z] Removing intermediate container 3a24f8c14c31 [2021-04-19T22:48:00.222Z] ---> bcb835dbb00b [2021-04-19T22:48:00.222Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T22:48:00.222Z] ---> Running in 076b54907926 [2021-04-19T22:48:00.489Z] Removing intermediate container 076b54907926 [2021-04-19T22:48:00.489Z] ---> e8e872353290 [2021-04-19T22:48:00.489Z] Step 21/23 : LABEL arch=amd64 [2021-04-19T22:48:00.489Z] ---> Running in f59c5cb43ac2 [2021-04-19T22:48:00.752Z] Removing intermediate container f59c5cb43ac2 [2021-04-19T22:48:00.752Z] ---> b57829ed4cbe [2021-04-19T22:48:00.752Z] Step 22/23 : LABEL git_sha=1e62149aacc7d3c3508981401439a5856b941d47 [2021-04-19T22:48:00.752Z] ---> Running in a4c7fd5124bf [2021-04-19T22:48:01.015Z] Removing intermediate container a4c7fd5124bf [2021-04-19T22:48:01.015Z] ---> 380d6243c168 [2021-04-19T22:48:01.015Z] Step 23/23 : LABEL version=0.0.0 [2021-04-19T22:48:01.015Z] ---> Running in 0c2252c72740 [2021-04-19T22:48:01.279Z] Removing intermediate container 0c2252c72740 [2021-04-19T22:48:01.279Z] ---> c76dbd0b9954 [2021-04-19T22:48:01.279Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-19T22:48:01.279Z] Successfully built c76dbd0b9954 [2021-04-19T22:48:01.279Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:48:01.800Z] ---> job-cost.sh [2021-04-19T22:48:01.800Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sQe2 [2021-04-19T22:48:02.798Z] Removing intermediate container e81da46f67cf [2021-04-19T22:48:02.798Z] ---> b9756b1f2650 [2021-04-19T22:48:02.798Z] Successfully built b9756b1f2650 [2021-04-19T22:48:02.798Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:48:03.145Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T22:48:03.145Z] . [Pipeline] withDockerContainer [2021-04-19T22:48:03.440Z] prd-ubuntu18.04-docker-arm64-4c-16g-1028 does not seem to be running inside a container [2021-04-19T22:48:03.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T22:48:05.260Z] $ docker top d2e99137f8c80b4ff8b642c160aa125eea9f7c0b05f208e5bd61c9702d442f57 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:48:06.279Z] + go version [2021-04-19T22:48:06.279Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-19T22:48:06.301Z] $ docker stop --time=1 d2e99137f8c80b4ff8b642c160aa125eea9f7c0b05f208e5bd61c9702d442f57 [2021-04-19T22:48:08.330Z] $ docker rm -f d2e99137f8c80b4ff8b642c160aa125eea9f7c0b05f208e5bd61c9702d442f57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:48:09.035Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T22:48:09.035Z] . [Pipeline] withDockerContainer [2021-04-19T22:48:09.304Z] prd-ubuntu18.04-docker-arm64-4c-16g-1028 does not seem to be running inside a container [2021-04-19T22:48:09.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T22:48:10.931Z] $ docker top 1ec8d24c9e60e0d16753c2f8af75b219e520f6f9ebcabd78a4bde7be0c76e7b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:48:11.912Z] + make test [2021-04-19T22:48:11.913Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-19T22:48:19.952Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T22:48:38.735Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-19T22:48:46.612Z] lf-activate-venv(): INFO: Adding /tmp/venv-sQe2/bin to PATH [2021-04-19T22:48:46.612Z] INFO: No Stack... [2021-04-19T22:48:46.875Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T22:48:47.453Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T22:48:47.762Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-04-19T22:48:47.762Z] + cut -d, -f6 [Pipeline] lock [2021-04-19T22:48:47.848Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] [2021-04-19T22:48:47.864Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] did not exist. Created. [2021-04-19T22:48:47.865Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T22:48:48.195Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-19T22:48:48.322Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T22:48:48.333Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T22:49:35.363Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-19T22:49:35.363Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-19T22:49:35.363Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-19T22:49:35.363Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-19T22:49:35.363Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-19T22:49:38.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.184s coverage: 28.1% of statements [2021-04-19T22:49:38.296Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.195s coverage: 78.9% of statements [2021-04-19T22:49:38.296Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.129s coverage: 7.8% of statements [2021-04-19T22:49:38.296Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-19T22:49:38.296Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-19T22:49:38.296Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-19T22:49:40.291Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.215s coverage: 32.0% of statements [2021-04-19T22:49:40.291Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-19T22:49:40.291Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-19T22:49:40.291Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-19T22:49:43.715Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.328s coverage: 57.1% of statements [2021-04-19T22:49:43.715Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.127s coverage: 6.6% of statements [2021-04-19T22:49:43.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.145s coverage: 5.0% of statements [2021-04-19T22:49:43.988Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-19T22:49:44.583Z] GO111MODULE=on go vet ./... [2021-04-19T22:50:31.622Z] gofmt -l . [2021-04-19T22:50:31.622Z] [ "`gofmt -l .`" = "" ] [2021-04-19T22:50:31.622Z] ./bin/test-attribution-txt.sh [2021-04-19T22:50:31.622Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T22:50:31.649Z] $ docker stop --time=1 1ec8d24c9e60e0d16753c2f8af75b219e520f6f9ebcabd78a4bde7be0c76e7b8 [2021-04-19T22:50:33.901Z] $ docker rm -f 1ec8d24c9e60e0d16753c2f8af75b219e520f6f9ebcabd78a4bde7be0c76e7b8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T22:50:34.923Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T22:50:34.953Z] Warning: overwriting stash ‘coverage-report’ [2021-04-19T22:50:35.925Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T22:50:36.390Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T22:50:36.735Z] + ls -al . [2021-04-19T22:50:36.735Z] total 224 [2021-04-19T22:50:36.735Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 22:50 . [2021-04-19T22:50:36.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:46 .. [2021-04-19T22:50:36.735Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 22:46 .dockerignore [2021-04-19T22:50:36.735Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 22:46 .git [2021-04-19T22:50:36.735Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:46 .github [2021-04-19T22:50:36.735Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 19 22:46 .gitignore [2021-04-19T22:50:36.735Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 19 22:46 Dockerfile.build [2021-04-19T22:50:36.735Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 19 22:46 Jenkinsfile [2021-04-19T22:50:36.735Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 19 22:46 LICENSE [2021-04-19T22:50:36.735Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 19 22:46 Makefile [2021-04-19T22:50:36.735Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 19 22:46 README.md [2021-04-19T22:50:36.735Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 19 22:46 RELEASE-NOTES.txt [2021-04-19T22:50:36.735Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 22:43 VERSION [2021-04-19T22:50:36.735Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 22:46 bin [2021-04-19T22:50:36.735Z] -rw-r--r-- 1 jenkins jenkins 100117 Apr 19 22:49 coverage.out [2021-04-19T22:50:36.735Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 22:46 example [2021-04-19T22:50:36.735Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 19 22:50 go.mod [2021-04-19T22:50:36.735Z] -rw-r--r-- 1 jenkins jenkins 20735 Apr 19 22:50 go.sum [2021-04-19T22:50:36.735Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 19 22:46 internal [2021-04-19T22:50:36.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:46 openapi [2021-04-19T22:50:36.735Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 22:46 pkg [2021-04-19T22:50:36.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 22:46 snap [2021-04-19T22:50:36.735Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 19 22:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:50:37.084Z] + 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=1e62149aacc7d3c3508981401439a5856b941d47 --label arch=arm64 --label version=0.0.0 . [2021-04-19T22:50:37.759Z] Sending build context to Docker daemon 2.552MB [2021-04-19T22:50:37.759Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T22:50:37.759Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-19T22:50:37.759Z] ---> b9756b1f2650 [2021-04-19T22:50:37.759Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-19T22:50:38.038Z] ---> Running in b4df25d05074 [2021-04-19T22:50:38.312Z] Removing intermediate container b4df25d05074 [2021-04-19T22:50:38.312Z] ---> 1ba7db89a37c [2021-04-19T22:50:38.312Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T22:50:38.582Z] ---> Running in 9ad3008c4e7b [2021-04-19T22:50:39.177Z] Removing intermediate container 9ad3008c4e7b [2021-04-19T22:50:39.177Z] ---> 2f4ecc02d257 [2021-04-19T22:50:39.177Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:50:39.178Z] ---> Running in 6709d6a3d6d1 [2021-04-19T22:50:41.796Z] Removing intermediate container 6709d6a3d6d1 [2021-04-19T22:50:41.797Z] ---> f36177bdb7cf [2021-04-19T22:50:41.797Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-19T22:50:41.797Z] ---> Running in a93aa18e34f0 [2021-04-19T22:50:42.779Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:50:43.372Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:50:43.965Z] OK: 144 MiB in 45 packages [2021-04-19T22:50:44.944Z] Removing intermediate container a93aa18e34f0 [2021-04-19T22:50:44.944Z] ---> c50a6848696b [2021-04-19T22:50:44.944Z] Step 7/23 : COPY . . [2021-04-19T22:50:46.377Z] ---> b5d84e86b2e9 [2021-04-19T22:50:46.377Z] Step 8/23 : RUN go mod download [2021-04-19T22:50:46.377Z] ---> Running in 0bae1755af06 [2021-04-19T22:50:49.000Z] Removing intermediate container 0bae1755af06 [2021-04-19T22:50:49.000Z] ---> 10cbe4599fa4 [2021-04-19T22:50:49.000Z] Step 9/23 : RUN make build [2021-04-19T22:50:49.000Z] ---> Running in 6acf3e8f935b [2021-04-19T22:50:49.979Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-19T22:51:22.353Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-19T22:51:24.971Z] Removing intermediate container 6acf3e8f935b [2021-04-19T22:51:24.971Z] ---> 0d99e62518d9 [2021-04-19T22:51:24.971Z] Step 10/23 : FROM alpine:3.12 [2021-04-19T22:51:25.561Z] 3.12: Pulling from library/alpine [2021-04-19T22:51:25.561Z] d2f70382dc9a: Pulling fs layer [2021-04-19T22:51:25.834Z] d2f70382dc9a: Verifying Checksum [2021-04-19T22:51:25.834Z] d2f70382dc9a: Download complete [2021-04-19T22:51:26.428Z] d2f70382dc9a: Pull complete [2021-04-19T22:51:26.428Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T22:51:26.428Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T22:51:26.428Z] ---> 9852663dfa18 [2021-04-19T22:51:26.428Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T22:51:26.700Z] ---> Running in 2fdadecc0400 [2021-04-19T22:51:27.289Z] Removing intermediate container 2fdadecc0400 [2021-04-19T22:51:27.289Z] ---> 65937b54e571 [2021-04-19T22:51:27.289Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T22:51:27.289Z] ---> Running in 3a69e69c3720 [2021-04-19T22:51:29.266Z] Removing intermediate container 3a69e69c3720 [2021-04-19T22:51:29.266Z] ---> 1d86be0dc0f2 [2021-04-19T22:51:29.266Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-19T22:51:29.266Z] ---> Running in dfc940822939 [2021-04-19T22:51:30.249Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T22:51:31.227Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T22:51:31.821Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-19T22:51:31.821Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-19T22:51:32.091Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-19T22:51:32.091Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-19T22:51:32.366Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-19T22:51:32.366Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T22:51:32.366Z] OK: 8 MiB in 19 packages [2021-04-19T22:51:33.799Z] Removing intermediate container dfc940822939 [2021-04-19T22:51:33.799Z] ---> 42d4c0b13e46 [2021-04-19T22:51:33.799Z] Step 14/23 : WORKDIR / [2021-04-19T22:51:33.799Z] ---> Running in f10a869b5506 [2021-04-19T22:51:34.071Z] Removing intermediate container f10a869b5506 [2021-04-19T22:51:34.071Z] ---> f5b7cdcf0c84 [2021-04-19T22:51:34.071Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-19T22:51:34.667Z] ---> de2636a0dce7 [2021-04-19T22:51:34.667Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-19T22:51:36.088Z] ---> be1e181d3cc0 [2021-04-19T22:51:36.088Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-19T22:51:36.685Z] ---> cc3015a1623c [2021-04-19T22:51:36.685Z] Step 18/23 : EXPOSE 49990 [2021-04-19T22:51:36.685Z] ---> Running in 69a9fbb51e2a [2021-04-19T22:51:37.277Z] Removing intermediate container 69a9fbb51e2a [2021-04-19T22:51:37.277Z] ---> ed4721db3304 [2021-04-19T22:51:37.277Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-19T22:51:37.277Z] ---> Running in b1e67cd2b9d4 [2021-04-19T22:51:37.879Z] Removing intermediate container b1e67cd2b9d4 [2021-04-19T22:51:37.879Z] ---> 48cff0d7a076 [2021-04-19T22:51:37.879Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T22:51:37.879Z] ---> Running in d90cd37999f5 [2021-04-19T22:51:38.482Z] Removing intermediate container d90cd37999f5 [2021-04-19T22:51:38.482Z] ---> e1cf142eddd8 [2021-04-19T22:51:38.482Z] Step 21/23 : LABEL arch=arm64 [2021-04-19T22:51:38.482Z] ---> Running in aa7a6a534681 [2021-04-19T22:51:39.072Z] Removing intermediate container aa7a6a534681 [2021-04-19T22:51:39.072Z] ---> e4b12c073111 [2021-04-19T22:51:39.072Z] Step 22/23 : LABEL git_sha=1e62149aacc7d3c3508981401439a5856b941d47 [2021-04-19T22:51:39.072Z] ---> Running in 61551a90b616 [2021-04-19T22:51:39.662Z] Removing intermediate container 61551a90b616 [2021-04-19T22:51:39.662Z] ---> 4e6b74fe6abb [2021-04-19T22:51:39.662Z] Step 23/23 : LABEL version=0.0.0 [2021-04-19T22:51:39.662Z] ---> Running in d49738028a86 [2021-04-19T22:51:39.933Z] Removing intermediate container d49738028a86 [2021-04-19T22:51:39.933Z] ---> 45ec0c851ce2 [2021-04-19T22:51:39.933Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-19T22:51:40.204Z] Successfully built 45ec0c851ce2 [2021-04-19T22:51:40.204Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:51:40.656Z] ---> job-cost.sh [2021-04-19T22:51:40.656Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-V9QG [2021-04-19T22:52:19.608Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T22:53:56.338Z] lf-activate-venv(): INFO: Adding /tmp/venv-V9QG/bin to PATH [2021-04-19T22:53:56.338Z] INFO: No Stack... [2021-04-19T22:53:56.338Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-19T22:53:56.338Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T22:53:56.676Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-04-19T22:53:56.676Z] + cut -d, -f6 [Pipeline] lock [2021-04-19T22:53:56.788Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] [2021-04-19T22:53:56.802Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] did not exist. Created. [2021-04-19T22:53:56.802Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T22:53:57.167Z] /w/workspace/device-sdk-go/4@tmp/durable-3a03199b/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-3a03199b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-19T22:53:57.509Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-19T22:53:57.541Z] Warning: overwriting stash ‘stack-cost’ [2021-04-19T22:53:57.699Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T22:53:57.712Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-883-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-19T22:53:58.165Z] provisioning config files... [2021-04-19T22:53:58.185Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config495208072013731019tmp [Pipeline] { [Pipeline] sh [2021-04-19T22:53:58.649Z] + set +x [2021-04-19T22:53:58.649Z] + curl -s https://codecov.io/bash [2021-04-19T22:53:58.649Z] + bash -s -- [2021-04-19T22:53:58.923Z] [2021-04-19T22:53:58.923Z] _____ _ [2021-04-19T22:53:58.923Z] / ____| | | [2021-04-19T22:53:58.923Z] | | ___ __| | ___ ___ _____ __ [2021-04-19T22:53:58.923Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-19T22:53:58.923Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-19T22:53:58.923Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-19T22:53:58.923Z] Bash-1.0.1 [2021-04-19T22:53:58.923Z] [2021-04-19T22:53:58.923Z] [2021-04-19T22:53:58.923Z] ==> git version 2.24.3 found [2021-04-19T22:53:58.924Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-19T22:53:58.924Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-19T22:53:58.924Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-19T22:53:58.924Z] ==> Jenkins CI detected. [2021-04-19T22:53:58.924Z] project root: . [2021-04-19T22:53:58.924Z] --> token set from env [2021-04-19T22:53:58.924Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-19T22:53:59.193Z] ==> Running gcov in . (disable via -X gcov) [2021-04-19T22:53:59.193Z] ==> Python coveragepy not found [2021-04-19T22:53:59.193Z] ==> Searching for coverage reports in: [2021-04-19T22:53:59.193Z] + . [2021-04-19T22:53:59.193Z] -> Found 1 reports [2021-04-19T22:53:59.193Z] ==> Detecting git/mercurial file structure [2021-04-19T22:53:59.193Z] ==> Reading reports [2021-04-19T22:53:59.193Z] + ./coverage.out bytes=100117 [2021-04-19T22:53:59.193Z] ==> Appending adjustments [2021-04-19T22:53:59.193Z] https://docs.codecov.io/docs/fixing-reports [2021-04-19T22:53:59.459Z] + Found adjustments [2021-04-19T22:53:59.459Z] ==> Gzipping contents [2021-04-19T22:53:59.723Z] 16K /tmp/codecov.jRgi5R.gz [2021-04-19T22:53:59.723Z] ==> Uploading reports [2021-04-19T22:53:59.723Z] url: https://codecov.io [2021-04-19T22:53:59.723Z] query: branch=PR-883&commit=1e62149aacc7d3c3508981401439a5856b941d47&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-883%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=883&job=&cmd_args= [2021-04-19T22:53:59.723Z] -> Pinging Codecov [2021-04-19T22:53:59.723Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-883&commit=1e62149aacc7d3c3508981401439a5856b941d47&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-883%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=883&job=&cmd_args= [2021-04-19T22:53:59.988Z] -> Uploading to [2021-04-19T22:53:59.988Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-19/7E55EF52A471D76F132DFD9A03CDDE97/1e62149aacc7d3c3508981401439a5856b941d47/462a0b39-c6c8-481e-824a-ddbee5bc8105.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T225359Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d05c79883b0002f70355a59d9397552fbe40a007d5a5058cb74deed098651a6 [2021-04-19T22:53:59.988Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-19T22:53:59.988Z] Dload Upload Total Spent Left Speed [2021-04-19T22:54:00.537Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13540 0 0 100 13540 0 26099 --:--:-- --:--:-- --:--:-- 26088 [2021-04-19T22:54:00.537Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1e62149aacc7d3c3508981401439a5856b941d47 [Pipeline] } [2021-04-19T22:54:00.549Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:54:01.453Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:54:02.388Z] ---> package-listing.sh [2021-04-19T22:54:02.388Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-19T22:54:02.388Z] ++ facter osfamily [2021-04-19T22:54:02.388Z] + OS_FAMILY=redhat [2021-04-19T22:54:02.388Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-883 [2021-04-19T22:54:02.388Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-19T22:54:02.388Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-19T22:54:02.388Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-19T22:54:02.388Z] + PACKAGES=/tmp/packages_start.txt [2021-04-19T22:54:02.388Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-883 ']' [2021-04-19T22:54:02.388Z] + PACKAGES=/tmp/packages_end.txt [2021-04-19T22:54:02.388Z] + case "${OS_FAMILY}" in [2021-04-19T22:54:02.388Z] + rpm -qa [2021-04-19T22:54:02.388Z] + sort [2021-04-19T22:54:15.088Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-19T22:54:15.088Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-19T22:54:15.088Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-19T22:54:15.088Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-883 ']' [2021-04-19T22:54:15.088Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-883/archives/ [2021-04-19T22:54:15.088Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-883/archives/ [Pipeline] echo [2021-04-19T22:54:15.114Z] 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-883/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-19T22:54:15.495Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:54:16.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:54:16.414Z] [2021-04-19T22:54:16.414Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-19T22:54:16.784Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:54:16.784Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-19T22:54:16.784Z] df20fa9351a1: Pulling fs layer [2021-04-19T22:54:16.784Z] 36b3adc4ff6f: Pulling fs layer [2021-04-19T22:54:16.784Z] 8ad3a11d3b57: Pulling fs layer [2021-04-19T22:54:16.784Z] 46f8f816bc3b: Pulling fs layer [2021-04-19T22:54:16.784Z] 93b61091891f: Pulling fs layer [2021-04-19T22:54:16.784Z] 93b9cdb0e59b: Pulling fs layer [2021-04-19T22:54:16.784Z] 5e14af77c1be: Pulling fs layer [2021-04-19T22:54:16.784Z] 01666e4c0597: Pulling fs layer [2021-04-19T22:54:16.784Z] aa168da1d23b: Pulling fs layer [2021-04-19T22:54:16.784Z] 5e14af77c1be: Waiting [2021-04-19T22:54:16.784Z] 93b61091891f: Waiting [2021-04-19T22:54:16.784Z] 01666e4c0597: Waiting [2021-04-19T22:54:16.784Z] 93b9cdb0e59b: Waiting [2021-04-19T22:54:16.784Z] 46f8f816bc3b: Waiting [2021-04-19T22:54:17.063Z] 36b3adc4ff6f: Download complete [2021-04-19T22:54:17.063Z] 46f8f816bc3b: Download complete [2021-04-19T22:54:17.063Z] df20fa9351a1: Verifying Checksum [2021-04-19T22:54:17.063Z] df20fa9351a1: Download complete [2021-04-19T22:54:17.063Z] 93b9cdb0e59b: Verifying Checksum [2021-04-19T22:54:17.063Z] 93b9cdb0e59b: Download complete [2021-04-19T22:54:17.063Z] 5e14af77c1be: Verifying Checksum [2021-04-19T22:54:17.063Z] 5e14af77c1be: Download complete [2021-04-19T22:54:17.063Z] 01666e4c0597: Verifying Checksum [2021-04-19T22:54:17.063Z] 01666e4c0597: Download complete [2021-04-19T22:54:17.063Z] 93b61091891f: Verifying Checksum [2021-04-19T22:54:17.063Z] 93b61091891f: Download complete [2021-04-19T22:54:17.337Z] 8ad3a11d3b57: Verifying Checksum [2021-04-19T22:54:17.337Z] 8ad3a11d3b57: Download complete [2021-04-19T22:54:17.944Z] df20fa9351a1: Pull complete [2021-04-19T22:54:18.232Z] 36b3adc4ff6f: Pull complete [2021-04-19T22:54:22.042Z] 8ad3a11d3b57: Pull complete [2021-04-19T22:54:22.042Z] aa168da1d23b: Verifying Checksum [2021-04-19T22:54:22.042Z] aa168da1d23b: Download complete [2021-04-19T22:54:22.308Z] 46f8f816bc3b: Pull complete [2021-04-19T22:54:22.917Z] 93b61091891f: Pull complete [2021-04-19T22:54:23.185Z] 93b9cdb0e59b: Pull complete [2021-04-19T22:54:23.453Z] 5e14af77c1be: Pull complete [2021-04-19T22:54:23.737Z] 01666e4c0597: Pull complete [2021-04-19T22:54:36.317Z] aa168da1d23b: Pull complete [2021-04-19T22:54:36.317Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-19T22:54:36.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T22:54:36.317Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-19T22:54:37.092Z] prd-centos7-docker-4c-2g-1010 does not seem to be running inside a container [2021-04-19T22:54:37.232Z] $ 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-883/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-883 -v /w/workspace/dgexfoundry_device-sdk-go_PR-883:/w/workspace/dgexfoundry_device-sdk-go_PR-883:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-19T22:54:41.391Z] $ docker top bec195f49e6f1e1af11081ba6d44adb83f8cdcd015c98b3894e26c83a04c8567 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T22:54:41.876Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-19T22:54:42.712Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-19T22:54:43.026Z] + ls /var/log/sa-host [2021-04-19T22:54:43.026Z] + sadf -c /var/log/sa-host/sa19 [2021-04-19T22:54:43.026Z] file_magic: OK [2021-04-19T22:54:43.026Z] HZ: Using current value: 100 [2021-04-19T22:54:43.026Z] file_header: OK [2021-04-19T22:54:43.026Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-19T22:54:43.026Z] Statistics: [2021-04-19T22:54:43.026Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-19T22:54:43.026Z] File successfully converted to sysstat format version 12.2.1 [2021-04-19T22:54:43.026Z] + sadf -c /var/log/sa-host/sa23 [2021-04-19T22:54:43.026Z] file_magic: OK [2021-04-19T22:54:43.026Z] HZ: Using current value: 100 [2021-04-19T22:54:43.026Z] file_header: OK [2021-04-19T22:54:43.026Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-19T22:54:43.026Z] Statistics: [2021-04-19T22:54:43.026Z] Hnuu...uuuununununu... [2021-04-19T22:54:43.026Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-19T22:54:43.218Z] provisioning config files... [2021-04-19T22:54:43.243Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-883@tmp/config256796311150811232tmp [Pipeline] { [Pipeline] echo [2021-04-19T22:54:43.282Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:54:44.368Z] ---> create-netrc.sh [Pipeline] } [2021-04-19T22:54:44.389Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-19T22:54:44.415Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:54:44.733Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-19T22:54:44.748Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:54:45.065Z] ---> sudo-logs.sh [2021-04-19T22:54:45.065Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-19T22:54:45.382Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:54:45.712Z] ---> job-cost.sh [2021-04-19T22:54:45.981Z] lf-activate-venv: SKIPPING [2021-04-19T22:54:45.981Z] DEBUG: total: 0.20999999344348907 [2021-04-19T22:54:45.981Z] INFO: Retrieving Stack Cost... [2021-04-19T22:54:46.965Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T22:54:47.556Z] INFO: Archiving Costs [Pipeline] echo [2021-04-19T22:54:47.577Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T22:54:47.886Z] ---> logs-deploy.sh [2021-04-19T22:54:47.886Z] lf-activate-venv: SKIPPING [2021-04-19T22:54:47.886Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-883/4 [2021-04-19T22:54:47.886Z] INFO: archiving workspace using pattern(s): [2021-04-19T22:54:51.443Z] Archives upload complete. [2021-04-19T22:54:51.443Z] INFO: archiving logs to Nexus