Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+e34679e4f02bbc164353b5eb88e70f6c516b0d21 (097b0668a402efe3832c260671ef38b755138957) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30235 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing f068eab07e936d73c58fca6d90e4c14bd3031f37 Checking out Revision f068eab07e936d73c58fca6d90e4c14bd3031f37 (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f068eab07e936d73c58fca6d90e4c14bd3031f37 # timeout=10 Commit message: "Merge commit 'e34679e4f02bbc164353b5eb88e70f6c516b0d21' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-18T02:41:46.990Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 282f6da0e28193c4de9cf90a6648079ba1e5e910 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-18T02:41:47.292Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-18T02:41:47.417Z] ========================================================= [2021-03-18T02:41:47.418Z] EdgeX Global Pipelines Version Info [2021-03-18T02:41:47.418Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-18T02:41:48.923Z] ------------------- [2021-03-18T02:41:48.923Z] stable info: [2021-03-18T02:41:48.923Z] ------------------- [2021-03-18T02:41:48.923Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-18T02:41:48.923Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-18T02:41:48.923Z] Message: update stable to v1.0.186 [2021-03-18T02:41:49.873Z] ------------------- [2021-03-18T02:41:49.873Z] experimental info: [2021-03-18T02:41:49.873Z] ------------------- [2021-03-18T02:41:49.873Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-18T02:41:49.873Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-18T02:41:49.873Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-18T02:41:50.185Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-18T02:41:50.302Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-18T02:41:50.412Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-18T02:41:50.528Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-18T02:41:50.627Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-18T02:41:50.759Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-18T02:41:50.884Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-18T02:41:50.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-18T02:41:51.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-18T02:41:51.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-18T02:41:51.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-18T02:41:51.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-03-18T02:41:51.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-18T02:41:51.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-18T02:41:51.706Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-18T02:41:51.828Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T02:41:51.921Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T02:41:52.032Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T02:41:52.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-18T02:41:52.217Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-18T02:41:52.310Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-18T02:41:52.419Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-18T02:41:52.511Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-18T02:41:52.613Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-18T02:41:52.717Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-18T02:41:52.849Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-18T02:41:52.940Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-03-18T02:41:53.043Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-03-18T02:41:53.131Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-03-18T02:41:53.237Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f068eab07e936d73c58fca6d90e4c14bd3031f37 [Pipeline] echo [2021-03-18T02:41:53.323Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f068eab [Pipeline] echo [2021-03-18T02:41:53.415Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-18T02:41:53.625Z] provisioning config files... [2021-03-18T02:41:53.662Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config634087323544951478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T02:41:54.055Z] ---> docker-login.sh [2021-03-18T02:41:54.056Z] nexus3.edgexfoundry.org:10001 [2021-03-18T02:41:54.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:41:54.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:41:54.590Z] Configure a credential helper to remove this warning. See [2021-03-18T02:41:54.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:41:54.590Z] [2021-03-18T02:41:54.590Z] Login Succeeded [2021-03-18T02:41:54.590Z] nexus3.edgexfoundry.org:10002 [2021-03-18T02:41:54.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:41:54.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:41:54.590Z] Configure a credential helper to remove this warning. See [2021-03-18T02:41:54.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:41:54.590Z] [2021-03-18T02:41:54.590Z] Login Succeeded [2021-03-18T02:41:54.590Z] nexus3.edgexfoundry.org:10003 [2021-03-18T02:41:54.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:41:54.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:41:54.851Z] Configure a credential helper to remove this warning. See [2021-03-18T02:41:54.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:41:54.851Z] [2021-03-18T02:41:54.851Z] Login Succeeded [2021-03-18T02:41:54.851Z] nexus3.edgexfoundry.org:10004 [2021-03-18T02:41:55.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:41:55.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:41:55.115Z] Configure a credential helper to remove this warning. See [2021-03-18T02:41:55.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:41:55.115Z] [2021-03-18T02:41:55.115Z] Login Succeeded [2021-03-18T02:41:55.115Z] docker.io [2021-03-18T02:41:55.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:41:55.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:41:55.380Z] Configure a credential helper to remove this warning. See [2021-03-18T02:41:55.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:41:55.380Z] [2021-03-18T02:41:55.380Z] Login Succeeded [2021-03-18T02:41:55.380Z] ---> docker-login.sh ends [Pipeline] } [2021-03-18T02:41:55.392Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T02:41:56.361Z] + git log --format=format:%s -1 f068eab07e936d73c58fca6d90e4c14bd3031f37 [Pipeline] echo [2021-03-18T02:41:56.431Z] GIT_COMMIT: f068eab07e936d73c58fca6d90e4c14bd3031f37, Commit Message: Merge commit 'e34679e4f02bbc164353b5eb88e70f6c516b0d21' into HEAD [Pipeline] echo [2021-03-18T02:41:56.501Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-18T02:41:57.666Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T02:41:57.666Z] [2021-03-18T02:41:57.666Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T02:41:58.016Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T02:41:58.016Z] latest: Pulling from edgex-devops/git-semver [2021-03-18T02:41:58.016Z] 31603596830f: Pulling fs layer [2021-03-18T02:41:58.016Z] 2a8b12db71e7: Pulling fs layer [2021-03-18T02:41:58.016Z] 6ca5941a6612: Pulling fs layer [2021-03-18T02:41:58.016Z] ecc8261a40a4: Pulling fs layer [2021-03-18T02:41:58.016Z] ecc8261a40a4: Waiting [2021-03-18T02:41:58.016Z] 2a8b12db71e7: Verifying Checksum [2021-03-18T02:41:58.016Z] 2a8b12db71e7: Download complete [2021-03-18T02:41:58.284Z] 31603596830f: Verifying Checksum [2021-03-18T02:41:58.284Z] 31603596830f: Download complete [2021-03-18T02:41:58.284Z] ecc8261a40a4: Verifying Checksum [2021-03-18T02:41:58.284Z] ecc8261a40a4: Download complete [2021-03-18T02:41:58.284Z] 6ca5941a6612: Verifying Checksum [2021-03-18T02:41:58.284Z] 6ca5941a6612: Download complete [2021-03-18T02:41:58.550Z] 31603596830f: Pull complete [2021-03-18T02:41:58.824Z] 2a8b12db71e7: Pull complete [2021-03-18T02:41:59.460Z] 6ca5941a6612: Pull complete [2021-03-18T02:41:59.734Z] ecc8261a40a4: Pull complete [2021-03-18T02:41:59.734Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-18T02:41:59.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T02:41:59.734Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-18T02:41:59.852Z] prd-centos7-docker-4c-2g-30235 does not seem to be running inside a container [2021-03-18T02:41:59.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-18T02:42:02.241Z] $ docker top 30ebc92dfd644c2b9f7e300b3a0e0748d396a5612ae0a7ce06e65a2c8f22483a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T02:42:02.660Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T02:42:02.660Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T02:42:02.880Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T02:42:02.884Z] $ docker exec 30ebc92dfd644c2b9f7e300b3a0e0748d396a5612ae0a7ce06e65a2c8f22483a ssh-agent [2021-03-18T02:42:03.053Z] SSH_AUTH_SOCK=/tmp/ssh-Z0XDr09YV88h/agent.11 [2021-03-18T02:42:03.053Z] SSH_AGENT_PID=16 [2021-03-18T02:42:03.065Z] Running ssh-add (command line suppressed) [2021-03-18T02:42:03.195Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1409628653347750185.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1409628653347750185.key) [2021-03-18T02:42:03.249Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T02:42:03.585Z] + git tag --points-at HEAD [Pipeline] } [2021-03-18T02:42:03.611Z] $ docker exec --env ******** --env ******** 30ebc92dfd644c2b9f7e300b3a0e0748d396a5612ae0a7ce06e65a2c8f22483a ssh-agent -k [2021-03-18T02:42:03.723Z] unset SSH_AUTH_SOCK; [2021-03-18T02:42:03.723Z] unset SSH_AGENT_PID; [2021-03-18T02:42:03.724Z] echo Agent pid 16 killed; [2021-03-18T02:42:03.773Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-18T02:42:03.926Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T02:42:03.926Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T02:42:04.095Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T02:42:04.099Z] $ docker exec 30ebc92dfd644c2b9f7e300b3a0e0748d396a5612ae0a7ce06e65a2c8f22483a ssh-agent [2021-03-18T02:42:04.314Z] SSH_AUTH_SOCK=/tmp/ssh-OPOB4KqpnGnJ/agent.47 [2021-03-18T02:42:04.314Z] SSH_AGENT_PID=53 [2021-03-18T02:42:04.321Z] Running ssh-add (command line suppressed) [2021-03-18T02:42:04.452Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_854604687146418626.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_854604687146418626.key) [2021-03-18T02:42:04.508Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T02:42:04.869Z] + git semver init [2021-03-18T02:42:04.869Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T02:42:04.869Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-03-18T02:42:04.869Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-03-18T02:42:04.869Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T02:42:04.869Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T02:42:04.869Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T02:42:04.869Z] # $SEMVER_BRANCH = PR-725 [2021-03-18T02:42:04.869Z] # $SEMVER_TEMP = /tmp/semver-544266179 [2021-03-18T02:42:04.869Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-18T02:42:05.445Z] # '/tmp/semver-544266179' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-03-18T02:42:05.708Z] # -> Force: false [2021-03-18T02:42:05.708Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-03-18T02:42:05.740Z] $ docker exec --env ******** --env ******** 30ebc92dfd644c2b9f7e300b3a0e0748d396a5612ae0a7ce06e65a2c8f22483a ssh-agent -k [2021-03-18T02:42:05.867Z] unset SSH_AUTH_SOCK; [2021-03-18T02:42:05.868Z] unset SSH_AGENT_PID; [2021-03-18T02:42:05.868Z] echo Agent pid 53 killed; [2021-03-18T02:42:05.915Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T02:42:06.406Z] + git semver [Pipeline] } [2021-03-18T02:42:06.424Z] $ docker stop --time=1 30ebc92dfd644c2b9f7e300b3a0e0748d396a5612ae0a7ce06e65a2c8f22483a [2021-03-18T02:42:08.040Z] $ docker rm -f 30ebc92dfd644c2b9f7e300b3a0e0748d396a5612ae0a7ce06e65a2c8f22483a [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T02:42:08.537Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-18T02:42:08.990Z] Stashed 1 file(s) [Pipeline] echo [2021-03-18T02:42:08.994Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-03-18T02:42:24.616Z] Still waiting to schedule task [2021-03-18T02:42:24.617Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30235’ [2021-03-18T02:42:24.620Z] Still waiting to schedule task [2021-03-18T02:42:24.620Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-18T02:44:08.461Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30236 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-03-18T02:44:08.523Z] Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout [2021-03-18T02:44:13.237Z] using credential edgex-jenkins-ssh [2021-03-18T02:44:13.291Z] Cloning the remote Git repository [2021-03-18T02:44:13.338Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-18T02:44:13.441Z] > git init /w/workspace/device-sdk-go/21 # timeout=10 [2021-03-18T02:44:13.536Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-18T02:44:13.536Z] > git --version # timeout=10 [2021-03-18T02:44:13.556Z] > git --version # 'git version 2.17.1' [2021-03-18T02:44:13.559Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T02:44:13.644Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T02:44:14.727Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-18T02:44:14.750Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T02:44:15.440Z] Merging remotes/origin/master commit e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-03-18T02:44:15.836Z] Merge succeeded, producing bc1a97ab72c29e1a144ecb2036e2bf98bdd81374 [2021-03-18T02:44:15.837Z] Checking out Revision bc1a97ab72c29e1a144ecb2036e2bf98bdd81374 (PR-725) [2021-03-18T02:44:14.780Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-18T02:44:14.820Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-18T02:44:14.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T02:44:14.832Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-18T02:44:15.452Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T02:44:15.468Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-03-18T02:44:15.574Z] > git remote # timeout=10 [2021-03-18T02:44:15.589Z] > git config --get remote.origin.url # timeout=10 [2021-03-18T02:44:15.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T02:44:15.624Z] > git merge e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 [2021-03-18T02:44:15.814Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-18T02:44:15.883Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T02:44:15.908Z] > git checkout -f bc1a97ab72c29e1a144ecb2036e2bf98bdd81374 # timeout=10 [2021-03-18T02:44:20.284Z] Commit message: "Merge commit 'e34679e4f02bbc164353b5eb88e70f6c516b0d21' into HEAD" [2021-03-18T02:44:20.306Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T02:44:20.288Z] > git rev-list --no-walk 282f6da0e28193c4de9cf90a6648079ba1e5e910 # timeout=10 [2021-03-18T02:44:22.120Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-18T02:44:22.644Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-18T02:44:22.985Z] + true [2021-03-18T02:44:22.985Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-18T02:44:25.723Z] provisioning config files... [2021-03-18T02:44:25.777Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/21@tmp/config1851929529130203744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T02:44:26.195Z] ---> docker-login.sh [2021-03-18T02:44:26.195Z] nexus3.edgexfoundry.org:10001 [2021-03-18T02:44:27.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:44:27.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:44:27.458Z] Configure a credential helper to remove this warning. See [2021-03-18T02:44:27.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:44:27.458Z] [2021-03-18T02:44:27.458Z] Login Succeeded [2021-03-18T02:44:27.458Z] nexus3.edgexfoundry.org:10002 [2021-03-18T02:44:28.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:44:28.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:44:28.058Z] Configure a credential helper to remove this warning. See [2021-03-18T02:44:28.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:44:28.058Z] [2021-03-18T02:44:28.058Z] Login Succeeded [2021-03-18T02:44:28.058Z] nexus3.edgexfoundry.org:10003 [2021-03-18T02:44:28.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:44:28.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:44:28.609Z] Configure a credential helper to remove this warning. See [2021-03-18T02:44:28.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:44:28.609Z] [2021-03-18T02:44:28.609Z] Login Succeeded [2021-03-18T02:44:28.609Z] nexus3.edgexfoundry.org:10004 [2021-03-18T02:44:28.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:44:29.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:44:29.159Z] Configure a credential helper to remove this warning. See [2021-03-18T02:44:29.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:44:29.159Z] [2021-03-18T02:44:29.159Z] Login Succeeded [2021-03-18T02:44:29.159Z] docker.io [2021-03-18T02:44:29.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:44:29.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:44:29.707Z] Configure a credential helper to remove this warning. See [2021-03-18T02:44:29.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:44:29.707Z] [2021-03-18T02:44:29.707Z] Login Succeeded [2021-03-18T02:44:29.707Z] ---> docker-login.sh ends [Pipeline] } [2021-03-18T02:44:29.725Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-18T02:44:30.204Z] ========================================================= [2021-03-18T02:44:30.204Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-18T02:44:30.204Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-18T02:44:30.586Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-18T02:44:31.183Z] Sending build context to Docker daemon 2.278MB [2021-03-18T02:44:31.183Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T02:44:31.183Z] Step 2/8 : FROM ${BASE} [2021-03-18T02:44:31.183Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-18T02:44:31.183Z] 5f621e34cdf4: Pulling fs layer [2021-03-18T02:44:31.183Z] a4357932f1b6: Pulling fs layer [2021-03-18T02:44:31.183Z] 18c013af1878: Pulling fs layer [2021-03-18T02:44:31.183Z] 00ac8860ef70: Pulling fs layer [2021-03-18T02:44:31.183Z] 63d7cb157983: Pulling fs layer [2021-03-18T02:44:31.183Z] b116817d02f9: Pulling fs layer [2021-03-18T02:44:31.183Z] 745a02a5169b: Pulling fs layer [2021-03-18T02:44:31.183Z] 00ac8860ef70: Waiting [2021-03-18T02:44:31.183Z] 63d7cb157983: Waiting [2021-03-18T02:44:31.183Z] b116817d02f9: Waiting [2021-03-18T02:44:31.183Z] 745a02a5169b: Waiting [2021-03-18T02:44:31.183Z] 18c013af1878: Verifying Checksum [2021-03-18T02:44:31.183Z] 18c013af1878: Download complete [2021-03-18T02:44:31.183Z] a4357932f1b6: Download complete [2021-03-18T02:44:31.183Z] 63d7cb157983: Verifying Checksum [2021-03-18T02:44:31.183Z] 63d7cb157983: Download complete [2021-03-18T02:44:31.183Z] b116817d02f9: Verifying Checksum [2021-03-18T02:44:31.183Z] b116817d02f9: Download complete [2021-03-18T02:44:31.783Z] 5f621e34cdf4: Verifying Checksum [2021-03-18T02:44:31.783Z] 5f621e34cdf4: Download complete [2021-03-18T02:44:32.804Z] 5f621e34cdf4: Pull complete [2021-03-18T02:44:33.417Z] a4357932f1b6: Pull complete [2021-03-18T02:44:33.690Z] 18c013af1878: Pull complete [2021-03-18T02:44:33.966Z] 745a02a5169b: Verifying Checksum [2021-03-18T02:44:33.966Z] 745a02a5169b: Download complete [2021-03-18T02:44:35.405Z] 00ac8860ef70: Verifying Checksum [2021-03-18T02:44:35.405Z] 00ac8860ef70: Download complete [2021-03-18T02:44:43.593Z] Running on prd-centos7-docker-4c-2g-30237 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-03-18T02:44:43.661Z] Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout [2021-03-18T02:44:45.596Z] 00ac8860ef70: Pull complete [2021-03-18T02:44:45.872Z] 63d7cb157983: Pull complete [2021-03-18T02:44:46.176Z] using credential edgex-jenkins-ssh [2021-03-18T02:44:46.240Z] Cloning the remote Git repository [2021-03-18T02:44:46.468Z] b116817d02f9: Pull complete [2021-03-18T02:44:45.667Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-18T02:44:45.741Z] > git init /w/workspace/device-sdk-go/21 # timeout=10 [2021-03-18T02:44:45.808Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-18T02:44:45.808Z] > git --version # timeout=10 [2021-03-18T02:44:45.815Z] > git --version # 'git version 2.24.3' [2021-03-18T02:44:45.816Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T02:44:45.852Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T02:44:47.599Z] Merging remotes/origin/master commit e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-03-18T02:44:47.799Z] Merge succeeded, producing 2679d373c82ba17db9e2f0d954adcfad3f05911b [2021-03-18T02:44:47.800Z] Checking out Revision 2679d373c82ba17db9e2f0d954adcfad3f05911b (PR-725) [2021-03-18T02:44:46.559Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-18T02:44:46.569Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T02:44:46.583Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-18T02:44:46.602Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-18T02:44:46.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T02:44:46.607Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-18T02:44:47.117Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T02:44:47.123Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-03-18T02:44:47.183Z] > git remote # timeout=10 [2021-03-18T02:44:47.188Z] > git config --get remote.origin.url # timeout=10 [2021-03-18T02:44:47.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T02:44:47.219Z] > git merge e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 [2021-03-18T02:44:47.317Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-18T02:44:47.328Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T02:44:47.337Z] > git checkout -f 2679d373c82ba17db9e2f0d954adcfad3f05911b # timeout=10 [2021-03-18T02:44:50.790Z] 745a02a5169b: Pull complete [2021-03-18T02:44:50.790Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-18T02:44:50.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-18T02:44:50.790Z] ---> b7e6874047d6 [2021-03-18T02:44:50.790Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-18T02:44:51.210Z] Commit message: "Merge commit 'e34679e4f02bbc164353b5eb88e70f6c516b0d21' into HEAD" [2021-03-18T02:44:51.227Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-03-18T02:44:51.027Z] > git rev-list --no-walk 282f6da0e28193c4de9cf90a6648079ba1e5e910 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T02:44:52.427Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-18T02:44:52.765Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-18T02:44:53.069Z] + sudo service docker restart [2021-03-18T02:44:53.069Z] + true [2021-03-18T02:44:53.069Z] Redirecting to /bin/systemctl restart docker.service [2021-03-18T02:44:53.413Z] ---> Running in 8886f108d0cd [2021-03-18T02:44:53.413Z] Removing intermediate container 8886f108d0cd [2021-03-18T02:44:53.413Z] ---> 82c5f038acc6 [2021-03-18T02:44:53.413Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T02:44:53.685Z] ---> Running in b472efebd0ff [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-18T02:44:54.087Z] provisioning config files... [2021-03-18T02:44:54.114Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/21@tmp/config6359771075145950046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T02:44:54.475Z] ---> docker-login.sh [2021-03-18T02:44:54.475Z] nexus3.edgexfoundry.org:10001 [2021-03-18T02:44:54.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:44:54.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:44:54.737Z] Configure a credential helper to remove this warning. See [2021-03-18T02:44:54.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:44:54.737Z] [2021-03-18T02:44:54.737Z] Login Succeeded [2021-03-18T02:44:54.737Z] nexus3.edgexfoundry.org:10002 [2021-03-18T02:44:55.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:44:55.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:44:55.042Z] Configure a credential helper to remove this warning. See [2021-03-18T02:44:55.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:44:55.042Z] [2021-03-18T02:44:55.042Z] Login Succeeded [2021-03-18T02:44:55.042Z] nexus3.edgexfoundry.org:10003 [2021-03-18T02:44:55.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:44:55.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:44:55.304Z] Configure a credential helper to remove this warning. See [2021-03-18T02:44:55.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:44:55.304Z] [2021-03-18T02:44:55.304Z] Login Succeeded [2021-03-18T02:44:55.304Z] nexus3.edgexfoundry.org:10004 [2021-03-18T02:44:55.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:44:55.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:44:55.304Z] Configure a credential helper to remove this warning. See [2021-03-18T02:44:55.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:44:55.304Z] [2021-03-18T02:44:55.304Z] Login Succeeded [2021-03-18T02:44:55.304Z] docker.io [2021-03-18T02:44:55.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-18T02:44:55.664Z] Removing intermediate container b472efebd0ff [2021-03-18T02:44:55.664Z] ---> aafc296263a7 [2021-03-18T02:44:55.664Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-18T02:44:55.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-18T02:44:55.830Z] Configure a credential helper to remove this warning. See [2021-03-18T02:44:55.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-18T02:44:55.830Z] [2021-03-18T02:44:55.830Z] Login Succeeded [2021-03-18T02:44:55.830Z] ---> docker-login.sh ends [Pipeline] } [2021-03-18T02:44:55.840Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-03-18T02:44:55.940Z] ---> Running in 85815662b26b [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-18T02:44:56.183Z] ========================================================= [2021-03-18T02:44:56.183Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-18T02:44:56.183Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-18T02:44:56.527Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-18T02:44:56.527Z] Sending build context to Docker daemon 2.28MB [2021-03-18T02:44:56.527Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T02:44:56.527Z] Step 2/8 : FROM ${BASE} [2021-03-18T02:44:56.795Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-18T02:44:56.795Z] 188c0c94c7c5: Pulling fs layer [2021-03-18T02:44:56.795Z] 0ef7d3d256c8: Pulling fs layer [2021-03-18T02:44:56.795Z] de9db76c5a1d: Pulling fs layer [2021-03-18T02:44:56.795Z] bca2f99d35d6: Pulling fs layer [2021-03-18T02:44:56.795Z] 93359f2a8cfa: Pulling fs layer [2021-03-18T02:44:56.795Z] 7c6f9722023f: Pulling fs layer [2021-03-18T02:44:56.795Z] a35cf1a2eb13: Pulling fs layer [2021-03-18T02:44:56.795Z] 93359f2a8cfa: Waiting [2021-03-18T02:44:56.795Z] 7c6f9722023f: Waiting [2021-03-18T02:44:56.795Z] a35cf1a2eb13: Waiting [2021-03-18T02:44:56.795Z] bca2f99d35d6: Waiting [2021-03-18T02:44:56.795Z] de9db76c5a1d: Verifying Checksum [2021-03-18T02:44:56.795Z] de9db76c5a1d: Download complete [2021-03-18T02:44:56.795Z] 0ef7d3d256c8: Verifying Checksum [2021-03-18T02:44:56.795Z] 0ef7d3d256c8: Download complete [2021-03-18T02:44:56.795Z] 93359f2a8cfa: Verifying Checksum [2021-03-18T02:44:56.795Z] 93359f2a8cfa: Download complete [2021-03-18T02:44:56.795Z] 7c6f9722023f: Verifying Checksum [2021-03-18T02:44:56.795Z] 7c6f9722023f: Download complete [2021-03-18T02:44:56.795Z] 188c0c94c7c5: Verifying Checksum [2021-03-18T02:44:56.795Z] 188c0c94c7c5: Download complete [2021-03-18T02:44:56.930Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-18T02:44:57.061Z] 188c0c94c7c5: Pull complete [2021-03-18T02:44:57.329Z] 0ef7d3d256c8: Pull complete [2021-03-18T02:44:57.591Z] de9db76c5a1d: Pull complete [2021-03-18T02:44:58.545Z] a35cf1a2eb13: Verifying Checksum [2021-03-18T02:44:58.545Z] a35cf1a2eb13: Download complete [2021-03-18T02:44:59.126Z] bca2f99d35d6: Verifying Checksum [2021-03-18T02:44:59.126Z] bca2f99d35d6: Download complete [2021-03-18T02:44:59.537Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-18T02:45:02.140Z] OK: 142 MiB in 39 packages [2021-03-18T02:45:02.740Z] Removing intermediate container 85815662b26b [2021-03-18T02:45:02.740Z] ---> 05a8605d121a [2021-03-18T02:45:02.740Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-18T02:45:03.012Z] ---> Running in 3387afdf62fc [2021-03-18T02:45:03.614Z] Removing intermediate container 3387afdf62fc [2021-03-18T02:45:03.615Z] ---> 32d82244ed8a [2021-03-18T02:45:03.615Z] Step 7/8 : COPY . . [2021-03-18T02:45:04.437Z] bca2f99d35d6: Pull complete [2021-03-18T02:45:04.438Z] 93359f2a8cfa: Pull complete [2021-03-18T02:45:04.596Z] ---> 8068fd48b20d [2021-03-18T02:45:04.596Z] Step 8/8 : RUN go mod download [2021-03-18T02:45:04.702Z] 7c6f9722023f: Pull complete [2021-03-18T02:45:04.871Z] ---> Running in 44c39b7dbeb1 [2021-03-18T02:45:12.884Z] a35cf1a2eb13: Pull complete [2021-03-18T02:45:12.884Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-18T02:45:12.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-18T02:45:12.884Z] ---> a62c8e92a672 [2021-03-18T02:45:12.884Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-18T02:45:13.148Z] ---> Running in 3f10fcd7a6d5 [2021-03-18T02:45:13.411Z] Removing intermediate container 3f10fcd7a6d5 [2021-03-18T02:45:13.411Z] ---> ce388af4a5cd [2021-03-18T02:45:13.411Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T02:45:13.411Z] ---> Running in 8de47f05ad2b [2021-03-18T02:45:14.365Z] Removing intermediate container 8de47f05ad2b [2021-03-18T02:45:14.365Z] ---> efab680c003b [2021-03-18T02:45:14.365Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-18T02:45:14.365Z] ---> Running in d9d1984f62a5 [2021-03-18T02:45:15.320Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-18T02:45:15.895Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-18T02:45:16.472Z] OK: 166 MiB in 39 packages [2021-03-18T02:45:16.735Z] Removing intermediate container d9d1984f62a5 [2021-03-18T02:45:16.735Z] ---> 635ca611658c [2021-03-18T02:45:16.735Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-18T02:45:16.999Z] ---> Running in 4b0b323cb5d9 [2021-03-18T02:45:16.999Z] Removing intermediate container 4b0b323cb5d9 [2021-03-18T02:45:16.999Z] ---> d764e6a1187d [2021-03-18T02:45:16.999Z] Step 7/8 : COPY . . [2021-03-18T02:45:18.401Z] ---> 3ddd2e442e20 [2021-03-18T02:45:18.401Z] Step 8/8 : RUN go mod download [2021-03-18T02:45:18.401Z] ---> Running in 616bc7a70aee [2021-03-18T02:45:31.668Z] Removing intermediate container 44c39b7dbeb1 [2021-03-18T02:45:31.668Z] ---> 622e22759c23 [2021-03-18T02:45:31.668Z] Successfully built 622e22759c23 [2021-03-18T02:45:31.668Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T02:45:32.010Z] + docker inspect -f . ci-base-image-arm64 [2021-03-18T02:45:32.010Z] . [Pipeline] withDockerContainer [2021-03-18T02:45:32.288Z] prd-ubuntu18.04-docker-arm64-4c-16g-30236 does not seem to be running inside a container [2021-03-18T02:45:32.383Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-18T02:45:33.990Z] $ docker top e8af5c63fe5c27f8b15ed6069c30ea991b65965ddde253516a77d42c699a4c49 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T02:45:35.014Z] + go version [2021-03-18T02:45:35.014Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-18T02:45:35.047Z] $ docker stop --time=1 e8af5c63fe5c27f8b15ed6069c30ea991b65965ddde253516a77d42c699a4c49 [2021-03-18T02:45:37.103Z] $ docker rm -f e8af5c63fe5c27f8b15ed6069c30ea991b65965ddde253516a77d42c699a4c49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-18T02:45:38.095Z] + docker inspect -f . ci-base-image-arm64 [2021-03-18T02:45:38.096Z] . [Pipeline] withDockerContainer [2021-03-18T02:45:38.357Z] prd-ubuntu18.04-docker-arm64-4c-16g-30236 does not seem to be running inside a container [2021-03-18T02:45:38.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-18T02:45:39.934Z] $ docker top fac9c93000620c9f49ac44c91868679d5f012a9651fd37a816b8972402715ee8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T02:45:40.450Z] Removing intermediate container 616bc7a70aee [2021-03-18T02:45:40.450Z] ---> e0abe910683e [2021-03-18T02:45:40.450Z] Successfully built e0abe910683e [2021-03-18T02:45:40.450Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T02:45:40.818Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-18T02:45:40.818Z] . [Pipeline] withDockerContainer [2021-03-18T02:45:40.940Z] prd-centos7-docker-4c-2g-30237 does not seem to be running inside a container [2021-03-18T02:45:40.996Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-18T02:45:41.019Z] + make test [2021-03-18T02:45:41.019Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-18T02:45:42.451Z] $ docker top 5ae9c55b8ecb203f2604b975f230949ac453048c960bc282e922c2f90141319b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T02:45:42.967Z] + go version [2021-03-18T02:45:42.967Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-18T02:45:42.982Z] $ docker stop --time=1 5ae9c55b8ecb203f2604b975f230949ac453048c960bc282e922c2f90141319b [2021-03-18T02:45:44.371Z] $ docker rm -f 5ae9c55b8ecb203f2604b975f230949ac453048c960bc282e922c2f90141319b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-18T02:45:45.295Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-18T02:45:45.295Z] . [Pipeline] withDockerContainer [2021-03-18T02:45:45.391Z] prd-centos7-docker-4c-2g-30237 does not seem to be running inside a container [2021-03-18T02:45:45.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-18T02:45:46.115Z] $ docker top 3593cd3cdb78e3ab4d849a74ddefbf300d4c88877cac0f958b11a2995cfbb5c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T02:45:46.656Z] + make test [2021-03-18T02:45:46.656Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-18T02:45:54.895Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-18T02:46:03.206Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-18T02:46:09.953Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-18T02:46:09.953Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-18T02:46:09.953Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-18T02:46:09.953Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-18T02:46:11.362Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 25.5% of statements [2021-03-18T02:46:11.628Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 81.2% of statements [2021-03-18T02:46:43.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.056s coverage: 10.5% of statements [2021-03-18T02:46:43.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-18T02:46:43.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-18T02:46:43.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 32.5% of statements [2021-03-18T02:46:43.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-18T02:46:43.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-18T02:46:43.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-18T02:46:43.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.094s coverage: 57.3% of statements [2021-03-18T02:46:43.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.315s coverage: 6.6% of statements [2021-03-18T02:46:43.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.1% of statements [2021-03-18T02:46:43.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-18T02:46:43.818Z] GO111MODULE=on go vet ./... [2021-03-18T02:46:50.274Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-18T02:46:50.274Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-18T02:46:50.274Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-18T02:46:50.274Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-18T02:46:50.274Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.137s coverage: 25.5% of statements [2021-03-18T02:46:50.274Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.155s coverage: 81.2% of statements [2021-03-18T02:46:50.518Z] gofmt -l . [2021-03-18T02:46:50.785Z] [ "`gofmt -l .`" = "" ] [2021-03-18T02:46:50.785Z] ./bin/test-attribution-txt.sh [2021-03-18T02:46:51.730Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-18T02:46:51.748Z] $ docker stop --time=1 3593cd3cdb78e3ab4d849a74ddefbf300d4c88877cac0f958b11a2995cfbb5c1 [2021-03-18T02:46:53.718Z] $ docker rm -f 3593cd3cdb78e3ab4d849a74ddefbf300d4c88877cac0f958b11a2995cfbb5c1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T02:46:54.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-18T02:46:54.824Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-18T02:46:57.606Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-18T02:46:57.909Z] + ls -al . [2021-03-18T02:46:57.909Z] total 184 [2021-03-18T02:46:57.909Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 18 02:46 . [2021-03-18T02:46:57.909Z] drwxrwxr-x. 4 jenkins jenkins 30 Mar 18 02:44 .. [2021-03-18T02:46:57.909Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 18 02:44 bin [2021-03-18T02:46:57.909Z] -rw-r--r--. 1 jenkins jenkins 100014 Mar 18 02:46 coverage.out [2021-03-18T02:46:57.909Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 18 02:44 Dockerfile.build [2021-03-18T02:46:57.909Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 18 02:44 .dockerignore [2021-03-18T02:46:57.909Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 18 02:44 example [2021-03-18T02:46:57.909Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 18 02:44 .git [2021-03-18T02:46:57.909Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 18 02:44 .github [2021-03-18T02:46:57.909Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 18 02:44 .gitignore [2021-03-18T02:46:57.909Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 18 02:46 go.mod [2021-03-18T02:46:57.909Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 18 02:46 go.sum [2021-03-18T02:46:57.910Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 18 02:44 internal [2021-03-18T02:46:57.910Z] -rw-rw-r--. 1 jenkins jenkins 894 Mar 18 02:44 Jenkinsfile [2021-03-18T02:46:57.910Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 18 02:44 LICENSE [2021-03-18T02:46:57.910Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 18 02:44 Makefile [2021-03-18T02:46:57.910Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 18 02:44 openapi [2021-03-18T02:46:57.910Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 18 02:44 pkg [2021-03-18T02:46:57.910Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 18 02:44 README.md [2021-03-18T02:46:57.910Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 18 02:44 RELEASE-NOTES.txt [2021-03-18T02:46:57.910Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 18 02:44 snap [2021-03-18T02:46:57.910Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 18 02:42 VERSION [2021-03-18T02:46:57.910Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 18 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-18T02:46:58.225Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f068eab07e936d73c58fca6d90e4c14bd3031f37 --label arch=amd64 --label version=0.0.0 . [2021-03-18T02:46:58.490Z] Sending build context to Docker daemon 2.381MB [2021-03-18T02:46:58.490Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T02:46:58.490Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-18T02:46:58.490Z] ---> e0abe910683e [2021-03-18T02:46:58.490Z] Step 3/24 : ARG MAKE='make build' [2021-03-18T02:46:59.065Z] ---> Running in 427b2b61bee2 [2021-03-18T02:46:59.328Z] Removing intermediate container 427b2b61bee2 [2021-03-18T02:46:59.328Z] ---> a6f8aa072ab9 [2021-03-18T02:46:59.328Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-18T02:46:59.328Z] ---> Running in c27540a016b8 [2021-03-18T02:46:59.591Z] Removing intermediate container c27540a016b8 [2021-03-18T02:46:59.591Z] ---> 2c1517e2dfea [2021-03-18T02:46:59.591Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-18T02:46:59.591Z] ---> Running in 81a3a046889a [2021-03-18T02:46:59.591Z] Removing intermediate container 81a3a046889a [2021-03-18T02:46:59.591Z] ---> 302721197a87 [2021-03-18T02:46:59.591Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T02:46:59.855Z] ---> Running in d50f35afe0fb [2021-03-18T02:47:00.810Z] Removing intermediate container d50f35afe0fb [2021-03-18T02:47:00.810Z] ---> 84b0f38b4e8c [2021-03-18T02:47:00.810Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-18T02:47:00.810Z] ---> Running in 54ca48ce16d7 [2021-03-18T02:47:01.395Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-18T02:47:01.976Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-18T02:47:02.552Z] OK: 166 MiB in 39 packages [2021-03-18T02:47:02.815Z] Removing intermediate container 54ca48ce16d7 [2021-03-18T02:47:02.815Z] ---> 47d56ec30d9c [2021-03-18T02:47:02.815Z] Step 8/24 : COPY . . [2021-03-18T02:47:03.770Z] ---> 469dd4e2b4d9 [2021-03-18T02:47:03.770Z] Step 9/24 : RUN ${MAKE} [2021-03-18T02:47:03.770Z] ---> Running in e474aa8217ef [2021-03-18T02:47:04.351Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-18T02:47:12.613Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-18T02:47:15.170Z] Removing intermediate container e474aa8217ef [2021-03-18T02:47:15.170Z] ---> 622563228df9 [2021-03-18T02:47:15.170Z] Step 10/24 : FROM scratch [2021-03-18T02:47:15.170Z] ---> [2021-03-18T02:47:15.170Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-18T02:47:15.170Z] ---> Running in 6d2e8cc7f8a7 [2021-03-18T02:47:15.170Z] Removing intermediate container 6d2e8cc7f8a7 [2021-03-18T02:47:15.170Z] ---> 260273a49045 [2021-03-18T02:47:15.170Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-18T02:47:15.170Z] ---> Running in 7211d34fdbaa [2021-03-18T02:47:15.436Z] Removing intermediate container 7211d34fdbaa [2021-03-18T02:47:15.436Z] ---> e2b6818e2b02 [2021-03-18T02:47:15.436Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-18T02:47:15.436Z] ---> Running in f5fe69e31bff [2021-03-18T02:47:15.698Z] Removing intermediate container f5fe69e31bff [2021-03-18T02:47:15.698Z] ---> 17707ca09a2f [2021-03-18T02:47:15.698Z] Step 14/24 : WORKDIR / [2021-03-18T02:47:15.698Z] ---> Running in 0980dbea5028 [2021-03-18T02:47:15.698Z] Removing intermediate container 0980dbea5028 [2021-03-18T02:47:15.698Z] ---> 6bf3d513ccec [2021-03-18T02:47:15.698Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-18T02:47:16.280Z] ---> ae6eed17b073 [2021-03-18T02:47:16.280Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-18T02:47:16.545Z] ---> 63e8d3130856 [2021-03-18T02:47:16.545Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-18T02:47:16.807Z] ---> fce3e16e7e4b [2021-03-18T02:47:16.807Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-18T02:47:17.070Z] ---> 8a925acc714c [2021-03-18T02:47:17.070Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-18T02:47:17.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.162s coverage: 10.5% of statements [2021-03-18T02:47:17.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-18T02:47:17.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-18T02:47:17.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.229s coverage: 32.5% of statements [2021-03-18T02:47:17.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-18T02:47:17.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-18T02:47:17.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-18T02:47:17.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.254s coverage: 57.3% of statements [2021-03-18T02:47:17.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.850s coverage: 6.6% of statements [2021-03-18T02:47:17.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.1% of statements [2021-03-18T02:47:17.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-18T02:47:17.120Z] GO111MODULE=on go vet ./... [2021-03-18T02:47:17.333Z] ---> b9f87b2851af [2021-03-18T02:47:17.334Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-18T02:47:17.334Z] ---> Running in 4ba39e5061e4 [2021-03-18T02:47:17.596Z] Removing intermediate container 4ba39e5061e4 [2021-03-18T02:47:17.596Z] ---> 691578c90055 [2021-03-18T02:47:17.596Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-18T02:47:17.596Z] ---> Running in 7736afa13c53 [2021-03-18T02:47:17.860Z] Removing intermediate container 7736afa13c53 [2021-03-18T02:47:17.860Z] ---> bec4884a4f1e [2021-03-18T02:47:17.860Z] Step 22/24 : LABEL arch=amd64 [2021-03-18T02:47:17.860Z] ---> Running in 17eb9ebaf723 [2021-03-18T02:47:18.124Z] Removing intermediate container 17eb9ebaf723 [2021-03-18T02:47:18.124Z] ---> 4b87bb5fd68c [2021-03-18T02:47:18.124Z] Step 23/24 : LABEL git_sha=f068eab07e936d73c58fca6d90e4c14bd3031f37 [2021-03-18T02:47:18.125Z] ---> Running in 4cdcad196233 [2021-03-18T02:47:18.125Z] Removing intermediate container 4cdcad196233 [2021-03-18T02:47:18.125Z] ---> 464fb7bc40a6 [2021-03-18T02:47:18.125Z] Step 24/24 : LABEL version=0.0.0 [2021-03-18T02:47:18.388Z] ---> Running in 825ee0746fdd [2021-03-18T02:47:18.388Z] Removing intermediate container 825ee0746fdd [2021-03-18T02:47:18.388Z] ---> 4c4159751867 [2021-03-18T02:47:18.388Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-18T02:47:18.388Z] Successfully built 4c4159751867 [2021-03-18T02:47:18.388Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-18T02:47:19.454Z] ---> job-cost.sh [2021-03-18T02:47:19.454Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-l6X6 [2021-03-18T02:47:34.398Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-18T02:47:49.641Z] gofmt -l . [2021-03-18T02:47:49.912Z] [ "`gofmt -l .`" = "" ] [2021-03-18T02:47:50.188Z] ./bin/test-attribution-txt.sh [2021-03-18T02:47:51.165Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-18T02:47:51.804Z] $ docker stop --time=1 fac9c93000620c9f49ac44c91868679d5f012a9651fd37a816b8972402715ee8 [2021-03-18T02:47:54.024Z] $ docker rm -f fac9c93000620c9f49ac44c91868679d5f012a9651fd37a816b8972402715ee8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T02:47:55.137Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-18T02:47:55.208Z] Warning: overwriting stash ‘coverage-report’ [2021-03-18T02:47:56.058Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T02:47:56.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-18T02:47:57.086Z] + ls -al . [2021-03-18T02:47:57.086Z] total 220 [2021-03-18T02:47:57.086Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 02:47 . [2021-03-18T02:47:57.086Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 02:44 .. [2021-03-18T02:47:57.086Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 18 02:44 .dockerignore [2021-03-18T02:47:57.086Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 02:44 .git [2021-03-18T02:47:57.086Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 02:44 .github [2021-03-18T02:47:57.086Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 18 02:44 .gitignore [2021-03-18T02:47:57.086Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 18 02:44 Dockerfile.build [2021-03-18T02:47:57.086Z] -rw-rw-r-- 1 jenkins jenkins 894 Mar 18 02:44 Jenkinsfile [2021-03-18T02:47:57.086Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 18 02:44 LICENSE [2021-03-18T02:47:57.086Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 18 02:44 Makefile [2021-03-18T02:47:57.086Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 18 02:44 README.md [2021-03-18T02:47:57.086Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 18 02:44 RELEASE-NOTES.txt [2021-03-18T02:47:57.086Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 02:42 VERSION [2021-03-18T02:47:57.086Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 02:44 bin [2021-03-18T02:47:57.086Z] -rw-r--r-- 1 jenkins jenkins 100014 Mar 18 02:47 coverage.out [2021-03-18T02:47:57.086Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 02:44 example [2021-03-18T02:47:57.086Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 18 02:47 go.mod [2021-03-18T02:47:57.086Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 18 02:47 go.sum [2021-03-18T02:47:57.086Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 18 02:44 internal [2021-03-18T02:47:57.086Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 02:44 openapi [2021-03-18T02:47:57.086Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 18 02:44 pkg [2021-03-18T02:47:57.086Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 02:44 snap [2021-03-18T02:47:57.086Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 18 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-18T02:47:57.423Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f068eab07e936d73c58fca6d90e4c14bd3031f37 --label arch=arm64 --label version=0.0.0 . [2021-03-18T02:47:58.020Z] Sending build context to Docker daemon 2.379MB [2021-03-18T02:47:58.020Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T02:47:58.020Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-18T02:47:58.020Z] ---> 622e22759c23 [2021-03-18T02:47:58.020Z] Step 3/24 : ARG MAKE='make build' [2021-03-18T02:47:58.295Z] ---> Running in ab5be70f123f [2021-03-18T02:47:58.568Z] Removing intermediate container ab5be70f123f [2021-03-18T02:47:58.568Z] ---> 9b5de306b92a [2021-03-18T02:47:58.568Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-18T02:47:58.841Z] ---> Running in 237eff16ea77 [2021-03-18T02:47:59.118Z] Removing intermediate container 237eff16ea77 [2021-03-18T02:47:59.118Z] ---> fa4d1fcaa922 [2021-03-18T02:47:59.118Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-18T02:47:59.390Z] ---> Running in 1da5fe8e2e22 [2021-03-18T02:47:59.665Z] Removing intermediate container 1da5fe8e2e22 [2021-03-18T02:47:59.665Z] ---> f2a3a0d070b4 [2021-03-18T02:47:59.665Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-18T02:47:59.939Z] ---> Running in d3b02754b957 [2021-03-18T02:48:01.034Z] lf-activate-venv(): INFO: Adding /tmp/venv-l6X6/bin to PATH [2021-03-18T02:48:01.034Z] INFO: No Stack... [2021-03-18T02:48:01.918Z] Removing intermediate container d3b02754b957 [2021-03-18T02:48:01.918Z] ---> eef0de9158c2 [2021-03-18T02:48:01.918Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-18T02:48:01.983Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-18T02:48:02.194Z] ---> Running in 26b23316eb89 [2021-03-18T02:48:02.560Z] INFO: Archiving Costs [Pipeline] sh [2021-03-18T02:48:02.870Z] + cat /w/workspace/device-sdk-go/21/archives/cost.csv [2021-03-18T02:48:02.870Z] + cut -d, -f6 [Pipeline] lock [2021-03-18T02:48:02.948Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-21-stack-cost] [2021-03-18T02:48:02.958Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-21-stack-cost] did not exist. Created. [2021-03-18T02:48:02.958Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-18T02:48:03.170Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-18T02:48:03.401Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-18T02:48:03.553Z] Stashed 1 file(s) [Pipeline] } [2021-03-18T02:48:03.569Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-21-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-03-18T02:48:04.143Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] } [2021-03-18T02:48:04.412Z] OK: 142 MiB in 39 packages [2021-03-18T02:48:05.860Z] Removing intermediate container 26b23316eb89 [2021-03-18T02:48:05.860Z] ---> ea94adde17ac [2021-03-18T02:48:05.860Z] Step 8/24 : COPY . . [2021-03-18T02:48:06.843Z] ---> 1001eef6e56d [2021-03-18T02:48:06.843Z] Step 9/24 : RUN ${MAKE} [2021-03-18T02:48:07.115Z] ---> Running in 3f7a8912135f [2021-03-18T02:48:08.094Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-18T02:48:34.932Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-18T02:48:35.528Z] Removing intermediate container 3f7a8912135f [2021-03-18T02:48:35.528Z] ---> 730fc6dfc8f8 [2021-03-18T02:48:35.528Z] Step 10/24 : FROM scratch [2021-03-18T02:48:35.528Z] ---> [2021-03-18T02:48:35.528Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-18T02:48:35.528Z] ---> Running in 9c93ed4552aa [2021-03-18T02:48:36.123Z] Removing intermediate container 9c93ed4552aa [2021-03-18T02:48:36.123Z] ---> c2e680bf1047 [2021-03-18T02:48:36.123Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-18T02:48:36.123Z] ---> Running in c85084dc835d [2021-03-18T02:48:36.718Z] Removing intermediate container c85084dc835d [2021-03-18T02:48:36.718Z] ---> 1980d4301de7 [2021-03-18T02:48:36.718Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-18T02:48:36.718Z] ---> Running in 2b1dbf0af223 [2021-03-18T02:48:36.999Z] Removing intermediate container 2b1dbf0af223 [2021-03-18T02:48:36.999Z] ---> 7a394ca6aeda [2021-03-18T02:48:36.999Z] Step 14/24 : WORKDIR / [2021-03-18T02:48:37.273Z] ---> Running in 54f5fc9a5d08 [2021-03-18T02:48:37.866Z] Removing intermediate container 54f5fc9a5d08 [2021-03-18T02:48:37.866Z] ---> 0402f7f38c0e [2021-03-18T02:48:37.866Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-18T02:48:38.854Z] ---> 2ac26887945d [2021-03-18T02:48:38.854Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-18T02:48:39.447Z] ---> c9ff05b2780e [2021-03-18T02:48:39.447Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-18T02:48:40.425Z] ---> 47ab7afbc46f [2021-03-18T02:48:40.425Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-18T02:48:41.018Z] ---> 08116b76027b [2021-03-18T02:48:41.018Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-18T02:48:41.611Z] ---> dfc99eabefe4 [2021-03-18T02:48:41.611Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-18T02:48:41.884Z] ---> Running in f8839f37066a [2021-03-18T02:48:42.156Z] Removing intermediate container f8839f37066a [2021-03-18T02:48:42.156Z] ---> 824972a494c6 [2021-03-18T02:48:42.156Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-18T02:48:42.431Z] ---> Running in e5d3aed070e5 [2021-03-18T02:48:42.704Z] Removing intermediate container e5d3aed070e5 [2021-03-18T02:48:42.704Z] ---> fde1f8257d47 [2021-03-18T02:48:42.704Z] Step 22/24 : LABEL arch=arm64 [2021-03-18T02:48:42.978Z] ---> Running in 8b23287d781a [2021-03-18T02:48:43.250Z] Removing intermediate container 8b23287d781a [2021-03-18T02:48:43.250Z] ---> 7cf963a2f66f [2021-03-18T02:48:43.250Z] Step 23/24 : LABEL git_sha=f068eab07e936d73c58fca6d90e4c14bd3031f37 [2021-03-18T02:48:43.524Z] ---> Running in 7578a52715ad [2021-03-18T02:48:43.798Z] Removing intermediate container 7578a52715ad [2021-03-18T02:48:43.798Z] ---> 2c61988af6c5 [2021-03-18T02:48:43.798Z] Step 24/24 : LABEL version=0.0.0 [2021-03-18T02:48:44.071Z] ---> Running in 042acff4d2db [2021-03-18T02:48:44.342Z] Removing intermediate container 042acff4d2db [2021-03-18T02:48:44.342Z] ---> 6314c65e3dbe [2021-03-18T02:48:44.342Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-18T02:48:44.342Z] Successfully built 6314c65e3dbe [2021-03-18T02:48:44.342Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-18T02:48:45.154Z] ---> job-cost.sh [2021-03-18T02:48:45.154Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Nccx [2021-03-18T02:49:24.102Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-18T02:51:00.855Z] lf-activate-venv(): INFO: Adding /tmp/venv-Nccx/bin to PATH [2021-03-18T02:51:00.855Z] INFO: No Stack... [2021-03-18T02:51:00.855Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-18T02:51:00.855Z] INFO: Archiving Costs [Pipeline] sh [2021-03-18T02:51:01.190Z] + cat /w/workspace/device-sdk-go/21/archives/cost.csv [2021-03-18T02:51:01.190Z] + cut -d, -f6 [Pipeline] lock [2021-03-18T02:51:01.353Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-21-stack-cost] [2021-03-18T02:51:01.361Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-21-stack-cost] did not exist. Created. [2021-03-18T02:51:01.361Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-18T02:51:01.838Z] /w/workspace/device-sdk-go/21@tmp/durable-a037655c/script.sh: 1: /w/workspace/device-sdk-go/21@tmp/durable-a037655c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-18T02:51:02.185Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-18T02:51:02.260Z] Warning: overwriting stash ‘stack-cost’ [2021-03-18T02:51:02.412Z] Stashed 1 file(s) [Pipeline] } [2021-03-18T02:51:02.425Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-21-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-18T02:51:03.924Z] provisioning config files... [2021-03-18T02:51:03.935Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2879797918766297244tmp [Pipeline] { [Pipeline] sh [2021-03-18T02:51:04.370Z] + set +x [2021-03-18T02:51:04.371Z] + curl -s https://codecov.io/bash [2021-03-18T02:51:04.371Z] + bash -s -- [2021-03-18T02:51:04.634Z] [2021-03-18T02:51:04.634Z] _____ _ [2021-03-18T02:51:04.634Z] / ____| | | [2021-03-18T02:51:04.634Z] | | ___ __| | ___ ___ _____ __ [2021-03-18T02:51:04.634Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-18T02:51:04.634Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-18T02:51:04.634Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-18T02:51:04.634Z] Bash-20210309-2b87ace [2021-03-18T02:51:04.634Z] [2021-03-18T02:51:04.634Z] [2021-03-18T02:51:04.634Z] ==> git version 2.24.3 found [2021-03-18T02:51:04.634Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-18T02:51:04.634Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-18T02:51:04.634Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-18T02:51:04.634Z] ==> Jenkins CI detected. [2021-03-18T02:51:04.634Z] project root: . [2021-03-18T02:51:04.634Z] --> token set from env [2021-03-18T02:51:04.634Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-18T02:51:04.634Z] ==> Running gcov in . (disable via -X gcov) [2021-03-18T02:51:04.634Z] ==> Python coveragepy not found [2021-03-18T02:51:04.634Z] ==> Searching for coverage reports in: [2021-03-18T02:51:04.634Z] + . [2021-03-18T02:51:04.634Z] -> Found 1 reports [2021-03-18T02:51:04.634Z] ==> Detecting git/mercurial file structure [2021-03-18T02:51:04.634Z] ==> Reading reports [2021-03-18T02:51:04.634Z] + ./coverage.out bytes=100014 [2021-03-18T02:51:04.634Z] ==> Appending adjustments [2021-03-18T02:51:04.634Z] https://docs.codecov.io/docs/fixing-reports [2021-03-18T02:51:04.897Z] + Found adjustments [2021-03-18T02:51:04.897Z] ==> Gzipping contents [2021-03-18T02:51:04.897Z] 16K /tmp/codecov.oZxh4k.gz [2021-03-18T02:51:04.897Z] ==> Uploading reports [2021-03-18T02:51:04.897Z] url: https://codecov.io [2021-03-18T02:51:04.897Z] query: branch=PR-725&commit=f068eab07e936d73c58fca6d90e4c14bd3031f37&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-03-18T02:51:04.897Z] -> Pinging Codecov [2021-03-18T02:51:04.897Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-725&commit=f068eab07e936d73c58fca6d90e4c14bd3031f37&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-03-18T02:51:05.473Z] -> Uploading to [2021-03-18T02:51:05.473Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-18/7E55EF52A471D76F132DFD9A03CDDE97/f068eab07e936d73c58fca6d90e4c14bd3031f37/801e2c10-47c3-452c-848a-451f7b15e276.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210318T025105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d79d7f80346dfe4bdf6d23589a614da8bb2ce74296cc3afa5bfdd7ccb095105 [2021-03-18T02:51:05.473Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-18T02:51:05.473Z] Dload Upload Total Spent Left Speed [2021-03-18T02:51:05.742Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13471 0 0 100 13471 0 32669 --:--:-- --:--:-- --:--:-- 32617 100 13471 0 0 100 13471 0 32654 --:--:-- --:--:-- --:--:-- 32617 [2021-03-18T02:51:05.742Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f068eab07e936d73c58fca6d90e4c14bd3031f37 [Pipeline] } [2021-03-18T02:51:05.757Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-18T02:51:08.447Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T02:51:08.756Z] ---> package-listing.sh [2021-03-18T02:51:08.756Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-18T02:51:08.756Z] ++ facter osfamily [2021-03-18T02:51:08.756Z] + OS_FAMILY=redhat [2021-03-18T02:51:08.756Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-03-18T02:51:08.756Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-18T02:51:08.756Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-18T02:51:08.757Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-18T02:51:08.757Z] + PACKAGES=/tmp/packages_start.txt [2021-03-18T02:51:08.757Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-03-18T02:51:08.757Z] + PACKAGES=/tmp/packages_end.txt [2021-03-18T02:51:08.757Z] + case "${OS_FAMILY}" in [2021-03-18T02:51:08.757Z] + rpm -qa [2021-03-18T02:51:08.757Z] + sort [2021-03-18T02:51:14.271Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-18T02:51:14.271Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-18T02:51:14.271Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-18T02:51:14.271Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-03-18T02:51:14.271Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-03-18T02:51:14.271Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-03-18T02:51:14.299Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-18T02:51:14.591Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-18T02:51:14.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T02:51:14.897Z] [2021-03-18T02:51:14.897Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-18T02:51:15.256Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T02:51:15.256Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-18T02:51:15.256Z] df20fa9351a1: Pulling fs layer [2021-03-18T02:51:15.256Z] 36b3adc4ff6f: Pulling fs layer [2021-03-18T02:51:15.256Z] 8ad3a11d3b57: Pulling fs layer [2021-03-18T02:51:15.256Z] 46f8f816bc3b: Pulling fs layer [2021-03-18T02:51:15.256Z] 93b61091891f: Pulling fs layer [2021-03-18T02:51:15.256Z] 93b9cdb0e59b: Pulling fs layer [2021-03-18T02:51:15.256Z] 5e14af77c1be: Pulling fs layer [2021-03-18T02:51:15.256Z] 01666e4c0597: Pulling fs layer [2021-03-18T02:51:15.256Z] aa168da1d23b: Pulling fs layer [2021-03-18T02:51:15.256Z] 93b9cdb0e59b: Waiting [2021-03-18T02:51:15.256Z] 5e14af77c1be: Waiting [2021-03-18T02:51:15.256Z] 46f8f816bc3b: Waiting [2021-03-18T02:51:15.256Z] 01666e4c0597: Waiting [2021-03-18T02:51:15.256Z] aa168da1d23b: Waiting [2021-03-18T02:51:15.256Z] 93b61091891f: Waiting [2021-03-18T02:51:15.256Z] 36b3adc4ff6f: Verifying Checksum [2021-03-18T02:51:15.256Z] 36b3adc4ff6f: Download complete [2021-03-18T02:51:15.521Z] 46f8f816bc3b: Verifying Checksum [2021-03-18T02:51:15.521Z] 46f8f816bc3b: Download complete [2021-03-18T02:51:15.521Z] df20fa9351a1: Verifying Checksum [2021-03-18T02:51:15.521Z] df20fa9351a1: Download complete [2021-03-18T02:51:15.521Z] 93b9cdb0e59b: Verifying Checksum [2021-03-18T02:51:15.521Z] 93b9cdb0e59b: Download complete [2021-03-18T02:51:15.521Z] 93b61091891f: Download complete [2021-03-18T02:51:15.521Z] 5e14af77c1be: Verifying Checksum [2021-03-18T02:51:15.521Z] 5e14af77c1be: Download complete [2021-03-18T02:51:15.521Z] 01666e4c0597: Verifying Checksum [2021-03-18T02:51:15.521Z] 01666e4c0597: Download complete [2021-03-18T02:51:15.784Z] df20fa9351a1: Pull complete [2021-03-18T02:51:16.046Z] 36b3adc4ff6f: Pull complete [2021-03-18T02:51:16.627Z] 8ad3a11d3b57: Verifying Checksum [2021-03-18T02:51:16.627Z] 8ad3a11d3b57: Download complete [2021-03-18T02:51:17.209Z] 8ad3a11d3b57: Pull complete [2021-03-18T02:51:17.486Z] 46f8f816bc3b: Pull complete [2021-03-18T02:51:18.066Z] 93b61091891f: Pull complete [2021-03-18T02:51:18.329Z] aa168da1d23b: Verifying Checksum [2021-03-18T02:51:18.329Z] aa168da1d23b: Download complete [2021-03-18T02:51:18.597Z] 93b9cdb0e59b: Pull complete [2021-03-18T02:51:18.597Z] 5e14af77c1be: Pull complete [2021-03-18T02:51:18.862Z] 01666e4c0597: Pull complete [2021-03-18T02:51:25.489Z] aa168da1d23b: Pull complete [2021-03-18T02:51:25.489Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-18T02:51:25.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T02:51:25.489Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-18T02:51:25.643Z] prd-centos7-docker-4c-2g-30235 does not seem to be running inside a container [2021-03-18T02:51:25.696Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-18T02:51:29.890Z] $ docker top 395bbb9e864b195ca121bb717cab55ad204b10123c99e71662a72cf4bc6a7a31 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T02:51:30.431Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-18T02:51:30.732Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-18T02:51:31.038Z] + ls /var/log/sa-host [2021-03-18T02:51:31.038Z] + sadf -c /var/log/sa-host/sa18 [2021-03-18T02:51:31.038Z] file_magic: OK [2021-03-18T02:51:31.038Z] HZ: Using current value: 100 [2021-03-18T02:51:31.038Z] file_header: OK [2021-03-18T02:51:31.038Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-18T02:51:31.038Z] Statistics: [2021-03-18T02:51:31.038Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-18T02:51:31.038Z] File successfully converted to sysstat format version 12.2.1 [2021-03-18T02:51:31.038Z] + sadf -c /var/log/sa-host/sa23 [2021-03-18T02:51:31.038Z] file_magic: OK [2021-03-18T02:51:31.038Z] HZ: Using current value: 100 [2021-03-18T02:51:31.038Z] file_header: OK [2021-03-18T02:51:31.038Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-18T02:51:31.038Z] Statistics: [2021-03-18T02:51:31.038Z] Hnuu...uuuununununu... [2021-03-18T02:51:31.038Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-18T02:51:31.683Z] provisioning config files... [2021-03-18T02:51:31.702Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config7184386434428287359tmp [Pipeline] { [Pipeline] echo [2021-03-18T02:51:31.794Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T02:51:32.100Z] ---> create-netrc.sh [Pipeline] } [2021-03-18T02:51:32.111Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-18T02:51:32.224Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T02:51:32.527Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-18T02:51:32.542Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T02:51:32.843Z] ---> sudo-logs.sh [2021-03-18T02:51:32.843Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-18T02:51:32.928Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T02:51:33.231Z] ---> job-cost.sh [2021-03-18T02:51:33.231Z] lf-activate-venv: SKIPPING [2021-03-18T02:51:33.231Z] DEBUG: total: 0.20999999344348907 [2021-03-18T02:51:33.231Z] INFO: Retrieving Stack Cost... [2021-03-18T02:51:33.804Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-18T02:51:34.382Z] INFO: Archiving Costs [Pipeline] echo [2021-03-18T02:51:34.396Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T02:51:34.695Z] ---> logs-deploy.sh [2021-03-18T02:51:34.695Z] lf-activate-venv: SKIPPING [2021-03-18T02:51:34.695Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/21 [2021-03-18T02:51:34.695Z] INFO: archiving workspace using pattern(s): [2021-03-18T02:51:37.254Z] Archives upload complete. [2021-03-18T02:51:37.254Z] INFO: archiving logs to Nexus