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+5b084bdeafa1e122a5c890164a05a3ac30530fc3 (4c0ed3464576432849bdd4ccddf40671ed8a16f2) 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-30689 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 Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing a0d7157e902c7aa62e434b60c94eb03fd33917e8 Checking out Revision a0d7157e902c7aa62e434b60c94eb03fd33917e8 (PR-725) > 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 > 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 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0d7157e902c7aa62e434b60c94eb03fd33917e8 # timeout=10 Commit message: "Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 44fa666b1470b6cb4fa4ec633565dca2eafcacdd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-20T02:42:26.644Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-20T02:42:26.882Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-20T02:42:26.980Z] ========================================================= [2021-03-20T02:42:26.980Z] EdgeX Global Pipelines Version Info [2021-03-20T02:42:26.980Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:42:28.484Z] ------------------- [2021-03-20T02:42:28.484Z] stable info: [2021-03-20T02:42:28.484Z] ------------------- [2021-03-20T02:42:28.484Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-20T02:42:28.484Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-20T02:42:28.484Z] Message: update stable to v1.0.186 [2021-03-20T02:42:29.436Z] ------------------- [2021-03-20T02:42:29.436Z] experimental info: [2021-03-20T02:42:29.436Z] ------------------- [2021-03-20T02:42:29.436Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-20T02:42:29.436Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-20T02:42:29.436Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-20T02:42:29.772Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-20T02:42:29.876Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-20T02:42:29.989Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-20T02:42:30.119Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-20T02:42:30.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-20T02:42:30.351Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-20T02:42:30.452Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-20T02:42:30.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-20T02:42:30.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-20T02:42:30.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-20T02:42:30.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-20T02:42:30.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-03-20T02:42:30.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-20T02:42:31.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-20T02:42:31.169Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-20T02:42:31.252Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-20T02:42:31.340Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-20T02:42:31.443Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-20T02:42:31.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-20T02:42:31.620Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-20T02:42:31.705Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-20T02:42:31.796Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-20T02:42:31.913Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-20T02:42:31.999Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-20T02:42:32.087Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-20T02:42:32.175Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-20T02:42:32.263Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-03-20T02:42:32.366Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-03-20T02:42:32.452Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-03-20T02:42:32.538Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0d7157e902c7aa62e434b60c94eb03fd33917e8 [Pipeline] echo [2021-03-20T02:42:32.623Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0d7157 [Pipeline] echo [2021-03-20T02:42:32.710Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-20T02:42:32.877Z] provisioning config files... [2021-03-20T02:42:32.906Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config158761747666377255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:42:33.271Z] ---> docker-login.sh [2021-03-20T02:42:33.271Z] nexus3.edgexfoundry.org:10001 [2021-03-20T02:42:33.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:42:33.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:42:33.797Z] Configure a credential helper to remove this warning. See [2021-03-20T02:42:33.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:42:33.797Z] [2021-03-20T02:42:33.797Z] Login Succeeded [2021-03-20T02:42:33.797Z] nexus3.edgexfoundry.org:10002 [2021-03-20T02:42:33.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:42:34.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:42:34.061Z] Configure a credential helper to remove this warning. See [2021-03-20T02:42:34.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:42:34.061Z] [2021-03-20T02:42:34.061Z] Login Succeeded [2021-03-20T02:42:34.061Z] nexus3.edgexfoundry.org:10003 [2021-03-20T02:42:34.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:42:34.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:42:34.061Z] Configure a credential helper to remove this warning. See [2021-03-20T02:42:34.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:42:34.061Z] [2021-03-20T02:42:34.061Z] Login Succeeded [2021-03-20T02:42:34.061Z] nexus3.edgexfoundry.org:10004 [2021-03-20T02:42:34.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:42:34.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:42:34.325Z] Configure a credential helper to remove this warning. See [2021-03-20T02:42:34.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:42:34.325Z] [2021-03-20T02:42:34.325Z] Login Succeeded [2021-03-20T02:42:34.325Z] docker.io [2021-03-20T02:42:34.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:42:34.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:42:34.588Z] Configure a credential helper to remove this warning. See [2021-03-20T02:42:34.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:42:34.588Z] [2021-03-20T02:42:34.588Z] Login Succeeded [2021-03-20T02:42:34.588Z] ---> docker-login.sh ends [Pipeline] } [2021-03-20T02:42:34.599Z] 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-20T02:42:35.424Z] + git log --format=format:%s -1 a0d7157e902c7aa62e434b60c94eb03fd33917e8 [Pipeline] echo [2021-03-20T02:42:35.492Z] GIT_COMMIT: a0d7157e902c7aa62e434b60c94eb03fd33917e8, Commit Message: Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD [Pipeline] echo [2021-03-20T02:42:35.540Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:42:36.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-20T02:42:36.139Z] [2021-03-20T02:42:36.139Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:42:36.494Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-20T02:42:36.495Z] latest: Pulling from edgex-devops/git-semver [2021-03-20T02:42:36.495Z] 31603596830f: Pulling fs layer [2021-03-20T02:42:36.495Z] 2a8b12db71e7: Pulling fs layer [2021-03-20T02:42:36.495Z] 6ca5941a6612: Pulling fs layer [2021-03-20T02:42:36.495Z] ecc8261a40a4: Pulling fs layer [2021-03-20T02:42:36.495Z] ecc8261a40a4: Waiting [2021-03-20T02:42:36.495Z] 2a8b12db71e7: Verifying Checksum [2021-03-20T02:42:36.495Z] 2a8b12db71e7: Download complete [2021-03-20T02:42:36.495Z] 31603596830f: Verifying Checksum [2021-03-20T02:42:36.495Z] 31603596830f: Download complete [2021-03-20T02:42:36.760Z] ecc8261a40a4: Verifying Checksum [2021-03-20T02:42:36.760Z] ecc8261a40a4: Download complete [2021-03-20T02:42:36.760Z] 6ca5941a6612: Verifying Checksum [2021-03-20T02:42:36.760Z] 6ca5941a6612: Download complete [2021-03-20T02:42:37.023Z] 31603596830f: Pull complete [2021-03-20T02:42:37.023Z] 2a8b12db71e7: Pull complete [2021-03-20T02:42:37.979Z] 6ca5941a6612: Pull complete [2021-03-20T02:42:38.242Z] ecc8261a40a4: Pull complete [2021-03-20T02:42:38.242Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-20T02:42:38.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-20T02:42:38.242Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-20T02:42:38.347Z] prd-centos7-docker-4c-2g-30689 does not seem to be running inside a container [2021-03-20T02:42:38.398Z] $ 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-20T02:42:40.714Z] $ docker top f024519268524d2a05dd52502c2c4e4f22a8b7a6c688b042000e7e8934b81221 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-20T02:42:41.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-20T02:42:41.021Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-20T02:42:41.267Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-20T02:42:41.271Z] $ docker exec f024519268524d2a05dd52502c2c4e4f22a8b7a6c688b042000e7e8934b81221 ssh-agent [2021-03-20T02:42:41.431Z] SSH_AUTH_SOCK=/tmp/ssh-ZDzO4Q1pvcXu/agent.12 [2021-03-20T02:42:41.431Z] SSH_AGENT_PID=18 [2021-03-20T02:42:41.442Z] Running ssh-add (command line suppressed) [2021-03-20T02:42:41.565Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_779237787022267562.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_779237787022267562.key) [2021-03-20T02:42:41.617Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-20T02:42:41.952Z] + git tag --points-at HEAD [Pipeline] } [2021-03-20T02:42:42.055Z] $ docker exec --env ******** --env ******** f024519268524d2a05dd52502c2c4e4f22a8b7a6c688b042000e7e8934b81221 ssh-agent -k [2021-03-20T02:42:42.187Z] unset SSH_AUTH_SOCK; [2021-03-20T02:42:42.188Z] unset SSH_AGENT_PID; [2021-03-20T02:42:42.188Z] echo Agent pid 18 killed; [2021-03-20T02:42:42.237Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-20T02:42:42.398Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-20T02:42:42.398Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-20T02:42:42.579Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-20T02:42:42.584Z] $ docker exec f024519268524d2a05dd52502c2c4e4f22a8b7a6c688b042000e7e8934b81221 ssh-agent [2021-03-20T02:42:42.749Z] SSH_AUTH_SOCK=/tmp/ssh-GzYPY9fUtkLt/agent.46 [2021-03-20T02:42:42.750Z] SSH_AGENT_PID=52 [2021-03-20T02:42:42.757Z] Running ssh-add (command line suppressed) [2021-03-20T02:42:42.877Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3303948619431988995.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3303948619431988995.key) [2021-03-20T02:42:42.931Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-20T02:42:43.287Z] + git semver init [2021-03-20T02:42:43.287Z] # -> Open(): unable to determine branch for HEAD [2021-03-20T02:42:43.287Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-03-20T02:42:43.287Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-03-20T02:42:43.287Z] # $SEMVER_REMOTE_NAME = origin [2021-03-20T02:42:43.287Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-20T02:42:43.287Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-20T02:42:43.287Z] # $SEMVER_BRANCH = PR-725 [2021-03-20T02:42:43.287Z] # $SEMVER_TEMP = /tmp/semver-429446059 [2021-03-20T02:42:43.287Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-20T02:42:44.233Z] # '/tmp/semver-429446059' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-03-20T02:42:44.233Z] # -> Force: false [2021-03-20T02:42:44.233Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-03-20T02:42:44.247Z] $ docker exec --env ******** --env ******** f024519268524d2a05dd52502c2c4e4f22a8b7a6c688b042000e7e8934b81221 ssh-agent -k [2021-03-20T02:42:44.356Z] unset SSH_AUTH_SOCK; [2021-03-20T02:42:44.357Z] unset SSH_AGENT_PID; [2021-03-20T02:42:44.357Z] echo Agent pid 52 killed; [2021-03-20T02:42:44.403Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-20T02:42:44.866Z] + git semver [Pipeline] } [2021-03-20T02:42:44.888Z] $ docker stop --time=1 f024519268524d2a05dd52502c2c4e4f22a8b7a6c688b042000e7e8934b81221 [2021-03-20T02:42:46.277Z] $ docker rm -f f024519268524d2a05dd52502c2c4e4f22a8b7a6c688b042000e7e8934b81221 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-20T02:42:46.822Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-20T02:42:47.190Z] Stashed 1 file(s) [Pipeline] echo [2021-03-20T02:42:47.193Z] [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-20T02:43:02.670Z] Still waiting to schedule task [2021-03-20T02:43:02.671Z] ‘prd-centos7-docker-4c-2g-30683’ is offline; ‘prd-centos7-docker-4c-2g-30687’ is offline; ‘prd-centos7-docker-4c-2g-30690’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30485’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30654’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30686’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-20T02:43:02.673Z] Still waiting to schedule task [2021-03-20T02:43:02.673Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-20T02:44:09.375Z] Running on prd-centos7-docker-4c-2g-30693 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-03-20T02:44:09.431Z] Running in /w/workspace/device-sdk-go/23 [Pipeline] { [Pipeline] checkout [2021-03-20T02:44:11.895Z] using credential edgex-jenkins-ssh [2021-03-20T02:44:11.946Z] Cloning the remote Git repository [2021-03-20T02:44:11.575Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:44:11.651Z] > git init /w/workspace/device-sdk-go/23 # timeout=10 [2021-03-20T02:44:11.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:44:11.716Z] > git --version # timeout=10 [2021-03-20T02:44:11.725Z] > git --version # 'git version 2.24.3' [2021-03-20T02:44:11.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:44:11.762Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-20T02:44:13.488Z] Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-03-20T02:44:13.685Z] Merge succeeded, producing 246057fd106b311c10f185c77abcb12b1cf08077 [2021-03-20T02:44:13.686Z] Checking out Revision 246057fd106b311c10f185c77abcb12b1cf08077 (PR-725) [2021-03-20T02:44:12.618Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-20T02:44:12.625Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-20T02:44:12.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-20T02:44:12.655Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:44:12.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:44:12.669Z] > 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-20T02:44:13.229Z] > git config core.sparsecheckout # timeout=10 [2021-03-20T02:44:13.238Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-03-20T02:44:13.308Z] > git remote # timeout=10 [2021-03-20T02:44:13.315Z] > git config --get remote.origin.url # timeout=10 [2021-03-20T02:44:13.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:44:13.326Z] > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 [2021-03-20T02:44:13.421Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-20T02:44:13.435Z] > git config core.sparsecheckout # timeout=10 [2021-03-20T02:44:13.443Z] > git checkout -f 246057fd106b311c10f185c77abcb12b1cf08077 # timeout=10 [2021-03-20T02:44:17.185Z] Commit message: "Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD" [2021-03-20T02:44:17.198Z] First time build. Skipping changelog. [2021-03-20T02:44:17.189Z] > git rev-list --no-walk 44fa666b1470b6cb4fa4ec633565dca2eafcacdd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-20T02:44:18.443Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-20T02:44:18.783Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-20T02:44:19.083Z] + sudo service docker restart [2021-03-20T02:44:19.083Z] + true [2021-03-20T02:44:19.083Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-20T02:44:20.540Z] provisioning config files... [2021-03-20T02:44:20.569Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/23@tmp/config6158115867478122533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:44:21.019Z] ---> docker-login.sh [2021-03-20T02:44:21.019Z] nexus3.edgexfoundry.org:10001 [2021-03-20T02:44:21.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:44:21.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:44:21.547Z] Configure a credential helper to remove this warning. See [2021-03-20T02:44:21.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:44:21.547Z] [2021-03-20T02:44:21.547Z] Login Succeeded [2021-03-20T02:44:21.547Z] nexus3.edgexfoundry.org:10002 [2021-03-20T02:44:21.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:44:21.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:44:21.813Z] Configure a credential helper to remove this warning. See [2021-03-20T02:44:21.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:44:21.813Z] [2021-03-20T02:44:21.813Z] Login Succeeded [2021-03-20T02:44:21.813Z] nexus3.edgexfoundry.org:10003 [2021-03-20T02:44:21.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:44:21.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:44:21.813Z] Configure a credential helper to remove this warning. See [2021-03-20T02:44:21.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:44:21.813Z] [2021-03-20T02:44:21.813Z] Login Succeeded [2021-03-20T02:44:21.813Z] nexus3.edgexfoundry.org:10004 [2021-03-20T02:44:22.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:44:22.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:44:22.077Z] Configure a credential helper to remove this warning. See [2021-03-20T02:44:22.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:44:22.077Z] [2021-03-20T02:44:22.077Z] Login Succeeded [2021-03-20T02:44:22.077Z] docker.io [2021-03-20T02:44:22.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:44:22.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:44:22.915Z] Configure a credential helper to remove this warning. See [2021-03-20T02:44:22.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:44:22.915Z] [2021-03-20T02:44:22.915Z] Login Succeeded [2021-03-20T02:44:22.915Z] ---> docker-login.sh ends [Pipeline] } [2021-03-20T02:44:22.925Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-20T02:44:23.267Z] ========================================================= [2021-03-20T02:44:23.267Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-20T02:44:23.267Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:44:23.615Z] + 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-20T02:44:23.615Z] Sending build context to Docker daemon 2.294MB [2021-03-20T02:44:23.615Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-20T02:44:23.615Z] Step 2/8 : FROM ${BASE} [2021-03-20T02:44:23.880Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-20T02:44:23.880Z] 188c0c94c7c5: Pulling fs layer [2021-03-20T02:44:23.880Z] 0ef7d3d256c8: Pulling fs layer [2021-03-20T02:44:23.880Z] de9db76c5a1d: Pulling fs layer [2021-03-20T02:44:23.880Z] bca2f99d35d6: Pulling fs layer [2021-03-20T02:44:23.880Z] 93359f2a8cfa: Pulling fs layer [2021-03-20T02:44:23.880Z] 7c6f9722023f: Pulling fs layer [2021-03-20T02:44:23.880Z] a35cf1a2eb13: Pulling fs layer [2021-03-20T02:44:23.880Z] 93359f2a8cfa: Waiting [2021-03-20T02:44:23.880Z] 7c6f9722023f: Waiting [2021-03-20T02:44:23.880Z] a35cf1a2eb13: Waiting [2021-03-20T02:44:23.880Z] bca2f99d35d6: Waiting [2021-03-20T02:44:23.880Z] de9db76c5a1d: Verifying Checksum [2021-03-20T02:44:23.880Z] de9db76c5a1d: Download complete [2021-03-20T02:44:24.146Z] 93359f2a8cfa: Verifying Checksum [2021-03-20T02:44:24.146Z] 93359f2a8cfa: Download complete [2021-03-20T02:44:24.146Z] 7c6f9722023f: Verifying Checksum [2021-03-20T02:44:24.146Z] 7c6f9722023f: Download complete [2021-03-20T02:44:24.146Z] 188c0c94c7c5: Verifying Checksum [2021-03-20T02:44:24.146Z] 188c0c94c7c5: Download complete [2021-03-20T02:44:24.460Z] 188c0c94c7c5: Pull complete [2021-03-20T02:44:24.746Z] 0ef7d3d256c8: Pull complete [2021-03-20T02:44:25.011Z] de9db76c5a1d: Pull complete [2021-03-20T02:44:26.947Z] a35cf1a2eb13: Verifying Checksum [2021-03-20T02:44:26.947Z] a35cf1a2eb13: Download complete [2021-03-20T02:44:27.896Z] bca2f99d35d6: Download complete [2021-03-20T02:44:34.562Z] bca2f99d35d6: Pull complete [2021-03-20T02:44:34.562Z] 93359f2a8cfa: Pull complete [2021-03-20T02:44:34.562Z] 7c6f9722023f: Pull complete [2021-03-20T02:44:41.201Z] a35cf1a2eb13: Pull complete [2021-03-20T02:44:41.201Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-20T02:44:41.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-20T02:44:41.201Z] ---> a62c8e92a672 [2021-03-20T02:44:41.201Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:44:41.201Z] ---> Running in b294665471f3 [2021-03-20T02:44:41.201Z] Removing intermediate container b294665471f3 [2021-03-20T02:44:41.201Z] ---> f7a59d0eb242 [2021-03-20T02:44:41.201Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-20T02:44:41.201Z] ---> Running in 94dd1628c778 [2021-03-20T02:44:42.170Z] Removing intermediate container 94dd1628c778 [2021-03-20T02:44:42.170Z] ---> 1d560decf7d1 [2021-03-20T02:44:42.170Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-20T02:44:42.170Z] ---> Running in 181b3a17f98b [2021-03-20T02:44:43.129Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-20T02:44:43.705Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-20T02:44:44.285Z] OK: 166 MiB in 39 packages [2021-03-20T02:44:44.870Z] Removing intermediate container 181b3a17f98b [2021-03-20T02:44:44.870Z] ---> ec1b9029a7ce [2021-03-20T02:44:44.870Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-20T02:44:44.870Z] ---> Running in b52be9434622 [2021-03-20T02:44:44.870Z] Removing intermediate container b52be9434622 [2021-03-20T02:44:44.870Z] ---> 2232ec2952a5 [2021-03-20T02:44:44.870Z] Step 7/8 : COPY . . [2021-03-20T02:44:46.272Z] ---> 98a3e637e22c [2021-03-20T02:44:46.272Z] Step 8/8 : RUN go mod download [2021-03-20T02:44:46.272Z] ---> Running in 55772584ce56 [2021-03-20T02:45:08.423Z] Removing intermediate container 55772584ce56 [2021-03-20T02:45:08.423Z] ---> 1c72b3315afa [2021-03-20T02:45:08.423Z] Successfully built 1c72b3315afa [2021-03-20T02:45:08.423Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:45:08.754Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-20T02:45:08.754Z] . [Pipeline] withDockerContainer [2021-03-20T02:45:08.885Z] prd-centos7-docker-4c-2g-30693 does not seem to be running inside a container [2021-03-20T02:45:08.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-20T02:45:09.752Z] $ docker top fc08f9078b1363149f1761b10b3aaa99460633dff17aa8964cab2077246033f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:45:10.245Z] + go version [2021-03-20T02:45:10.245Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-20T02:45:10.261Z] $ docker stop --time=1 fc08f9078b1363149f1761b10b3aaa99460633dff17aa8964cab2077246033f7 [2021-03-20T02:45:11.648Z] $ docker rm -f fc08f9078b1363149f1761b10b3aaa99460633dff17aa8964cab2077246033f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:45:12.457Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-20T02:45:12.457Z] . [Pipeline] withDockerContainer [2021-03-20T02:45:12.559Z] prd-centos7-docker-4c-2g-30693 does not seem to be running inside a container [2021-03-20T02:45:12.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-20T02:45:13.319Z] $ docker top faf592db27ff3857df5d6f35a4d40a4d1cdb2a7a7466a154f88e140d00e3d48a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:45:13.884Z] + make test [2021-03-20T02:45:13.885Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-20T02:45:22.132Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-20T02:45:40.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-20T02:45:40.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-20T02:45:40.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-20T02:45:40.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-20T02:45:41.846Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.0% of statements [2021-03-20T02:45:42.110Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 81.2% of statements [2021-03-20T02:45:48.351Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30694 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-03-20T02:45:48.409Z] Running in /w/workspace/device-sdk-go/23 [Pipeline] { [Pipeline] checkout [2021-03-20T02:45:53.523Z] using credential edgex-jenkins-ssh [2021-03-20T02:45:53.583Z] Cloning the remote Git repository [2021-03-20T02:45:53.659Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:45:53.786Z] > git init /w/workspace/device-sdk-go/23 # timeout=10 [2021-03-20T02:45:53.890Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:45:53.891Z] > git --version # timeout=10 [2021-03-20T02:45:53.911Z] > git --version # 'git version 2.17.1' [2021-03-20T02:45:53.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:45:53.982Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-20T02:45:55.777Z] Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-03-20T02:45:55.091Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-20T02:45:55.104Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-20T02:45:55.133Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-20T02:45:55.173Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:45:55.174Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:45:55.185Z] > 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-20T02:45:55.803Z] > git config core.sparsecheckout # timeout=10 [2021-03-20T02:45:55.826Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-03-20T02:45:56.233Z] Merge succeeded, producing c88c33eab95d91a1d0ed8e605e70c0c3f9881fea [2021-03-20T02:45:56.233Z] Checking out Revision c88c33eab95d91a1d0ed8e605e70c0c3f9881fea (PR-725) [2021-03-20T02:45:55.962Z] > git remote # timeout=10 [2021-03-20T02:45:55.979Z] > git config --get remote.origin.url # timeout=10 [2021-03-20T02:45:56.008Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:45:56.021Z] > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 [2021-03-20T02:45:56.221Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-20T02:45:56.244Z] > git config core.sparsecheckout # timeout=10 [2021-03-20T02:45:56.256Z] > git checkout -f c88c33eab95d91a1d0ed8e605e70c0c3f9881fea # timeout=10 [2021-03-20T02:46:00.683Z] Commit message: "Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD" [2021-03-20T02:46:00.708Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-20T02:46:00.696Z] > git rev-list --no-walk 44fa666b1470b6cb4fa4ec633565dca2eafcacdd # timeout=10 [2021-03-20T02:46:02.359Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-20T02:46:02.764Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-20T02:46:03.143Z] + true [2021-03-20T02:46:03.143Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-20T02:46:05.841Z] provisioning config files... [2021-03-20T02:46:05.882Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/23@tmp/config1119404253554085921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:46:06.318Z] ---> docker-login.sh [2021-03-20T02:46:06.319Z] nexus3.edgexfoundry.org:10001 [2021-03-20T02:46:07.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:46:07.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:46:07.584Z] Configure a credential helper to remove this warning. See [2021-03-20T02:46:07.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:46:07.584Z] [2021-03-20T02:46:07.584Z] Login Succeeded [2021-03-20T02:46:07.584Z] nexus3.edgexfoundry.org:10002 [2021-03-20T02:46:07.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:46:08.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:46:08.132Z] Configure a credential helper to remove this warning. See [2021-03-20T02:46:08.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:46:08.132Z] [2021-03-20T02:46:08.132Z] Login Succeeded [2021-03-20T02:46:08.132Z] nexus3.edgexfoundry.org:10003 [2021-03-20T02:46:08.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:46:08.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:46:08.760Z] Configure a credential helper to remove this warning. See [2021-03-20T02:46:08.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:46:08.760Z] [2021-03-20T02:46:08.760Z] Login Succeeded [2021-03-20T02:46:08.760Z] nexus3.edgexfoundry.org:10004 [2021-03-20T02:46:09.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:46:09.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:46:09.310Z] Configure a credential helper to remove this warning. See [2021-03-20T02:46:09.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:46:09.310Z] [2021-03-20T02:46:09.310Z] Login Succeeded [2021-03-20T02:46:09.310Z] docker.io [2021-03-20T02:46:09.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:46:09.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:46:09.859Z] Configure a credential helper to remove this warning. See [2021-03-20T02:46:09.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:46:09.859Z] [2021-03-20T02:46:09.859Z] Login Succeeded [2021-03-20T02:46:09.859Z] ---> docker-login.sh ends [Pipeline] } [2021-03-20T02:46:09.878Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-20T02:46:10.463Z] ========================================================= [2021-03-20T02:46:10.463Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-20T02:46:10.463Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:46:10.888Z] + 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-20T02:46:11.166Z] Sending build context to Docker daemon 2.293MB [2021-03-20T02:46:11.451Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-20T02:46:11.452Z] Step 2/8 : FROM ${BASE} [2021-03-20T02:46:11.452Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-20T02:46:11.452Z] 5f621e34cdf4: Pulling fs layer [2021-03-20T02:46:11.452Z] a4357932f1b6: Pulling fs layer [2021-03-20T02:46:11.452Z] 18c013af1878: Pulling fs layer [2021-03-20T02:46:11.452Z] 00ac8860ef70: Pulling fs layer [2021-03-20T02:46:11.452Z] 63d7cb157983: Pulling fs layer [2021-03-20T02:46:11.452Z] b116817d02f9: Pulling fs layer [2021-03-20T02:46:11.452Z] 745a02a5169b: Pulling fs layer [2021-03-20T02:46:11.452Z] 63d7cb157983: Waiting [2021-03-20T02:46:11.452Z] b116817d02f9: Waiting [2021-03-20T02:46:11.452Z] 00ac8860ef70: Waiting [2021-03-20T02:46:11.452Z] 745a02a5169b: Waiting [2021-03-20T02:46:11.452Z] 18c013af1878: Verifying Checksum [2021-03-20T02:46:11.452Z] 18c013af1878: Download complete [2021-03-20T02:46:11.452Z] a4357932f1b6: Verifying Checksum [2021-03-20T02:46:11.452Z] a4357932f1b6: Download complete [2021-03-20T02:46:11.452Z] 63d7cb157983: Verifying Checksum [2021-03-20T02:46:11.452Z] 63d7cb157983: Download complete [2021-03-20T02:46:11.452Z] b116817d02f9: Download complete [2021-03-20T02:46:11.731Z] 5f621e34cdf4: Verifying Checksum [2021-03-20T02:46:11.731Z] 5f621e34cdf4: Download complete [2021-03-20T02:46:12.339Z] 5f621e34cdf4: Pull complete [2021-03-20T02:46:12.945Z] a4357932f1b6: Pull complete [2021-03-20T02:46:13.219Z] 18c013af1878: Pull complete [2021-03-20T02:46:14.353Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.058s coverage: 10.5% of statements [2021-03-20T02:46:14.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-20T02:46:14.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-20T02:46:14.353Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.082s coverage: 32.5% of statements [2021-03-20T02:46:14.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-20T02:46:14.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-20T02:46:14.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-20T02:46:14.353Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.088s coverage: 57.3% of statements [2021-03-20T02:46:14.353Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.210s coverage: 6.6% of statements [2021-03-20T02:46:14.353Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.065s coverage: 5.1% of statements [2021-03-20T02:46:14.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-20T02:46:14.353Z] GO111MODULE=on go vet ./... [2021-03-20T02:46:15.216Z] 745a02a5169b: Verifying Checksum [2021-03-20T02:46:15.216Z] 745a02a5169b: Download complete [2021-03-20T02:46:15.818Z] 00ac8860ef70: Verifying Checksum [2021-03-20T02:46:15.818Z] 00ac8860ef70: Download complete [2021-03-20T02:46:21.073Z] gofmt -l . [2021-03-20T02:46:21.073Z] [ "`gofmt -l .`" = "" ] [2021-03-20T02:46:21.073Z] ./bin/test-attribution-txt.sh [2021-03-20T02:46:22.022Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-20T02:46:22.039Z] $ docker stop --time=1 faf592db27ff3857df5d6f35a4d40a4d1cdb2a7a7466a154f88e140d00e3d48a [2021-03-20T02:46:24.061Z] $ docker rm -f faf592db27ff3857df5d6f35a4d40a4d1cdb2a7a7466a154f88e140d00e3d48a [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-20T02:46:24.724Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-20T02:46:25.069Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-03-20T02:46:25.996Z] 00ac8860ef70: Pull complete [2021-03-20T02:46:25.996Z] 63d7cb157983: Pull complete [2021-03-20T02:46:25.996Z] b116817d02f9: Pull complete [Pipeline] sh [2021-03-20T02:46:26.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-20T02:46:26.666Z] + ls -al . [2021-03-20T02:46:26.666Z] total 184 [2021-03-20T02:46:26.666Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 20 02:46 . [2021-03-20T02:46:26.666Z] drwxrwxr-x. 4 jenkins jenkins 30 Mar 20 02:44 .. [2021-03-20T02:46:26.666Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 20 02:44 bin [2021-03-20T02:46:26.666Z] -rw-r--r--. 1 jenkins jenkins 99588 Mar 20 02:46 coverage.out [2021-03-20T02:46:26.666Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 20 02:44 Dockerfile.build [2021-03-20T02:46:26.666Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 20 02:44 .dockerignore [2021-03-20T02:46:26.666Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 20 02:44 example [2021-03-20T02:46:26.666Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 20 02:44 .git [2021-03-20T02:46:26.667Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 20 02:44 .github [2021-03-20T02:46:26.667Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 20 02:44 .gitignore [2021-03-20T02:46:26.667Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 20 02:46 go.mod [2021-03-20T02:46:26.667Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 20 02:46 go.sum [2021-03-20T02:46:26.667Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 20 02:44 internal [2021-03-20T02:46:26.667Z] -rw-rw-r--. 1 jenkins jenkins 894 Mar 20 02:44 Jenkinsfile [2021-03-20T02:46:26.667Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 20 02:44 LICENSE [2021-03-20T02:46:26.667Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 20 02:44 Makefile [2021-03-20T02:46:26.667Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 20 02:44 openapi [2021-03-20T02:46:26.667Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 20 02:44 pkg [2021-03-20T02:46:26.667Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 20 02:44 README.md [2021-03-20T02:46:26.667Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 20 02:44 RELEASE-NOTES.txt [2021-03-20T02:46:26.667Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 20 02:44 snap [2021-03-20T02:46:26.667Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 20 02:42 VERSION [2021-03-20T02:46:26.667Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 20 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:46:26.997Z] + 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=a0d7157e902c7aa62e434b60c94eb03fd33917e8 --label arch=amd64 --label version=0.0.0 . [2021-03-20T02:46:27.272Z] Sending build context to Docker daemon 2.394MB [2021-03-20T02:46:27.272Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-20T02:46:27.272Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-20T02:46:27.272Z] ---> 1c72b3315afa [2021-03-20T02:46:27.272Z] Step 3/24 : ARG MAKE='make build' [2021-03-20T02:46:27.856Z] ---> Running in 7630eee9c7ae [2021-03-20T02:46:27.856Z] Removing intermediate container 7630eee9c7ae [2021-03-20T02:46:27.856Z] ---> 26e6b3dac59e [2021-03-20T02:46:27.856Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-20T02:46:27.856Z] ---> Running in c0624ff7cfc2 [2021-03-20T02:46:28.119Z] Removing intermediate container c0624ff7cfc2 [2021-03-20T02:46:28.119Z] ---> 47429a681b85 [2021-03-20T02:46:28.119Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:46:28.386Z] ---> Running in e00cdec76e7d [2021-03-20T02:46:28.386Z] Removing intermediate container e00cdec76e7d [2021-03-20T02:46:28.386Z] ---> ae9cb8bc7110 [2021-03-20T02:46:28.386Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-20T02:46:28.386Z] ---> Running in 865911a1b9a5 [2021-03-20T02:46:29.357Z] Removing intermediate container 865911a1b9a5 [2021-03-20T02:46:29.357Z] ---> 115f0a51fa6d [2021-03-20T02:46:29.357Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-20T02:46:29.626Z] ---> Running in 50cf96aad17a [2021-03-20T02:46:30.206Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-20T02:46:30.368Z] 745a02a5169b: Pull complete [2021-03-20T02:46:30.368Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-20T02:46:30.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-20T02:46:30.368Z] ---> b7e6874047d6 [2021-03-20T02:46:30.368Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:46:31.600Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-20T02:46:32.996Z] OK: 166 MiB in 39 packages [2021-03-20T02:46:33.002Z] ---> Running in f6bedadde106 [2021-03-20T02:46:33.281Z] Removing intermediate container f6bedadde106 [2021-03-20T02:46:33.281Z] ---> 1180af50dd7a [2021-03-20T02:46:33.281Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-20T02:46:33.572Z] Removing intermediate container 50cf96aad17a [2021-03-20T02:46:33.572Z] ---> 9a526f80aaa2 [2021-03-20T02:46:33.572Z] Step 8/24 : COPY . . [2021-03-20T02:46:33.877Z] ---> Running in 455eb5eea35d [2021-03-20T02:46:34.968Z] ---> b80abf22687c [2021-03-20T02:46:34.968Z] Step 9/24 : RUN ${MAKE} [2021-03-20T02:46:34.968Z] ---> Running in c6cda620657b [2021-03-20T02:46:35.235Z] 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-20T02:46:35.867Z] Removing intermediate container 455eb5eea35d [2021-03-20T02:46:35.867Z] ---> 0849c7f882ce [2021-03-20T02:46:35.867Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-20T02:46:36.140Z] ---> Running in 67d41dec2d35 [2021-03-20T02:46:37.135Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-20T02:46:38.112Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-20T02:46:39.539Z] OK: 142 MiB in 39 packages [2021-03-20T02:46:40.521Z] Removing intermediate container 67d41dec2d35 [2021-03-20T02:46:40.521Z] ---> 26875fcbeabe [2021-03-20T02:46:40.521Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-20T02:46:40.795Z] ---> Running in 0eacb17480d2 [2021-03-20T02:46:41.394Z] Removing intermediate container 0eacb17480d2 [2021-03-20T02:46:41.394Z] ---> 6884c78cb74b [2021-03-20T02:46:41.394Z] Step 7/8 : COPY . . [2021-03-20T02:46:42.835Z] ---> 8ee2fe7d7b5e [2021-03-20T02:46:42.835Z] Step 8/8 : RUN go mod download [2021-03-20T02:46:42.835Z] ---> Running in d1c2efea5131 [2021-03-20T02:46:45.365Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-20T02:46:46.311Z] Removing intermediate container c6cda620657b [2021-03-20T02:46:46.311Z] ---> 79d3d8b1f011 [2021-03-20T02:46:46.311Z] Step 10/24 : FROM scratch [2021-03-20T02:46:46.311Z] ---> [2021-03-20T02:46:46.311Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:46:46.311Z] ---> Running in 994bcc2eaf70 [2021-03-20T02:46:46.311Z] Removing intermediate container 994bcc2eaf70 [2021-03-20T02:46:46.311Z] ---> 9d53daee625b [2021-03-20T02:46:46.311Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-20T02:46:46.574Z] ---> Running in 146fab9e6f19 [2021-03-20T02:46:46.574Z] Removing intermediate container 146fab9e6f19 [2021-03-20T02:46:46.574Z] ---> 75dc7bc6f0cb [2021-03-20T02:46:46.574Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-20T02:46:46.574Z] ---> Running in 79f17c11957b [2021-03-20T02:46:46.837Z] Removing intermediate container 79f17c11957b [2021-03-20T02:46:46.837Z] ---> ba2628170343 [2021-03-20T02:46:46.837Z] Step 14/24 : WORKDIR / [2021-03-20T02:46:46.837Z] ---> Running in 4aa25d89ec0d [2021-03-20T02:46:47.100Z] Removing intermediate container 4aa25d89ec0d [2021-03-20T02:46:47.100Z] ---> 47d9899470a1 [2021-03-20T02:46:47.100Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-20T02:46:47.363Z] ---> 8f2415b58550 [2021-03-20T02:46:47.363Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-20T02:46:47.625Z] ---> d08e347859a7 [2021-03-20T02:46:47.625Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-20T02:46:47.888Z] ---> 532e2147c25e [2021-03-20T02:46:47.888Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-20T02:46:48.151Z] ---> 9affd732b110 [2021-03-20T02:46:48.151Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-20T02:46:48.414Z] ---> 4f5308fec42b [2021-03-20T02:46:48.414Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-20T02:46:48.414Z] ---> Running in 67c0dd45b29a [2021-03-20T02:46:48.676Z] Removing intermediate container 67c0dd45b29a [2021-03-20T02:46:48.676Z] ---> 0728c3537f48 [2021-03-20T02:46:48.676Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-20T02:46:48.676Z] ---> Running in 63e21a42709e [2021-03-20T02:46:48.938Z] Removing intermediate container 63e21a42709e [2021-03-20T02:46:48.938Z] ---> 798cb2b12ef7 [2021-03-20T02:46:48.938Z] Step 22/24 : LABEL arch=amd64 [2021-03-20T02:46:48.938Z] ---> Running in b9cfd0d10d9c [2021-03-20T02:46:48.938Z] Removing intermediate container b9cfd0d10d9c [2021-03-20T02:46:48.938Z] ---> a4b5dcb4d200 [2021-03-20T02:46:48.938Z] Step 23/24 : LABEL git_sha=a0d7157e902c7aa62e434b60c94eb03fd33917e8 [2021-03-20T02:46:49.201Z] ---> Running in 483054d276e8 [2021-03-20T02:46:49.201Z] Removing intermediate container 483054d276e8 [2021-03-20T02:46:49.201Z] ---> 9a30103a8498 [2021-03-20T02:46:49.201Z] Step 24/24 : LABEL version=0.0.0 [2021-03-20T02:46:49.463Z] ---> Running in d12121566620 [2021-03-20T02:46:49.463Z] Removing intermediate container d12121566620 [2021-03-20T02:46:49.463Z] ---> 85c2515a04f6 [2021-03-20T02:46:49.463Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-20T02:46:49.463Z] Successfully built 85c2515a04f6 [2021-03-20T02:46:49.463Z] 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-20T02:46:50.350Z] ---> job-cost.sh [2021-03-20T02:46:50.350Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MgcE [2021-03-20T02:47:05.028Z] Removing intermediate container d1c2efea5131 [2021-03-20T02:47:05.028Z] ---> 0ba863799e14 [2021-03-20T02:47:05.028Z] Successfully built 0ba863799e14 [2021-03-20T02:47:05.028Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:47:05.311Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-20T02:47:05.389Z] + docker inspect -f . ci-base-image-arm64 [2021-03-20T02:47:05.389Z] . [Pipeline] withDockerContainer [2021-03-20T02:47:05.627Z] prd-ubuntu18.04-docker-arm64-4c-16g-30694 does not seem to be running inside a container [2021-03-20T02:47:05.715Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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-arm64 cat [2021-03-20T02:47:07.167Z] $ docker top b7a80b6d317644d702f8be5080f55abe33c78dc281237d49bf5a234bd2bb329a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:47:08.168Z] + go version [2021-03-20T02:47:08.168Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-20T02:47:08.193Z] $ docker stop --time=1 b7a80b6d317644d702f8be5080f55abe33c78dc281237d49bf5a234bd2bb329a [2021-03-20T02:47:10.122Z] $ docker rm -f b7a80b6d317644d702f8be5080f55abe33c78dc281237d49bf5a234bd2bb329a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:47:11.176Z] + docker inspect -f . ci-base-image-arm64 [2021-03-20T02:47:11.176Z] . [Pipeline] withDockerContainer [2021-03-20T02:47:11.446Z] prd-ubuntu18.04-docker-arm64-4c-16g-30694 does not seem to be running inside a container [2021-03-20T02:47:11.531Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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-arm64 cat [2021-03-20T02:47:12.950Z] $ docker top 8232a132081f1bff59fe27ca919d8517c9830234f61ee34bfda78bb6172c2f90 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:47:13.973Z] + make test [2021-03-20T02:47:13.974Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-20T02:47:36.146Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-20T02:47:37.497Z] lf-activate-venv(): INFO: Adding /tmp/venv-MgcE/bin to PATH [2021-03-20T02:47:37.497Z] INFO: No Stack... [2021-03-20T02:47:37.497Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-20T02:47:37.497Z] INFO: Archiving Costs [Pipeline] sh [2021-03-20T02:47:37.811Z] + cat /w/workspace/device-sdk-go/23/archives/cost.csv [2021-03-20T02:47:37.811Z] + cut -d, -f6 [Pipeline] lock [2021-03-20T02:47:37.892Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-23-stack-cost] [2021-03-20T02:47:37.902Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-23-stack-cost] did not exist. Created. [2021-03-20T02:47:37.902Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-20T02:47:38.306Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-20T02:47:38.406Z] Stashed 1 file(s) [Pipeline] } [2021-03-20T02:47:38.435Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-23-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-20T02:48:23.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-20T02:48:23.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-20T02:48:23.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-20T02:48:23.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-20T02:48:23.175Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.115s coverage: 27.0% of statements [2021-03-20T02:48:23.175Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.159s coverage: 81.2% of statements [2021-03-20T02:48:56.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.131s coverage: 10.5% of statements [2021-03-20T02:48:56.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-20T02:48:56.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-20T02:48:56.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.205s coverage: 32.5% of statements [2021-03-20T02:48:56.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-20T02:48:56.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-20T02:48:56.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-20T02:48:56.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.251s coverage: 57.3% of statements [2021-03-20T02:48:56.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.890s coverage: 6.6% of statements [2021-03-20T02:48:56.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 5.1% of statements [2021-03-20T02:48:56.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-20T02:48:56.311Z] GO111MODULE=on go vet ./... [2021-03-20T02:49:28.835Z] gofmt -l . [2021-03-20T02:49:28.835Z] [ "`gofmt -l .`" = "" ] [2021-03-20T02:49:28.835Z] ./bin/test-attribution-txt.sh [2021-03-20T02:49:29.434Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-20T02:49:29.728Z] $ docker stop --time=1 8232a132081f1bff59fe27ca919d8517c9830234f61ee34bfda78bb6172c2f90 [2021-03-20T02:49:32.006Z] $ docker rm -f 8232a132081f1bff59fe27ca919d8517c9830234f61ee34bfda78bb6172c2f90 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-20T02:49:33.154Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-20T02:49:33.222Z] Warning: overwriting stash ‘coverage-report’ [2021-03-20T02:49:34.186Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-20T02:49:34.894Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-20T02:49:35.241Z] + ls -al . [2021-03-20T02:49:35.241Z] total 220 [2021-03-20T02:49:35.241Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 02:49 . [2021-03-20T02:49:35.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:45 .. [2021-03-20T02:49:35.241Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 02:45 .dockerignore [2021-03-20T02:49:35.241Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 02:46 .git [2021-03-20T02:49:35.241Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 02:45 .github [2021-03-20T02:49:35.241Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 20 02:45 .gitignore [2021-03-20T02:49:35.241Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 20 02:45 Dockerfile.build [2021-03-20T02:49:35.241Z] -rw-rw-r-- 1 jenkins jenkins 894 Mar 20 02:45 Jenkinsfile [2021-03-20T02:49:35.241Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 20 02:45 LICENSE [2021-03-20T02:49:35.241Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 20 02:45 Makefile [2021-03-20T02:49:35.241Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 20 02:45 README.md [2021-03-20T02:49:35.241Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 20 02:45 RELEASE-NOTES.txt [2021-03-20T02:49:35.241Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 02:42 VERSION [2021-03-20T02:49:35.241Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 02:45 bin [2021-03-20T02:49:35.241Z] -rw-r--r-- 1 jenkins jenkins 99587 Mar 20 02:48 coverage.out [2021-03-20T02:49:35.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:45 example [2021-03-20T02:49:35.241Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 20 02:49 go.mod [2021-03-20T02:49:35.241Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 20 02:49 go.sum [2021-03-20T02:49:35.241Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 20 02:45 internal [2021-03-20T02:49:35.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:45 openapi [2021-03-20T02:49:35.241Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 20 02:45 pkg [2021-03-20T02:49:35.241Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:45 snap [2021-03-20T02:49:35.241Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 20 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:49:35.590Z] + 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=a0d7157e902c7aa62e434b60c94eb03fd33917e8 --label arch=arm64 --label version=0.0.0 . [2021-03-20T02:49:35.864Z] Sending build context to Docker daemon 2.393MB [2021-03-20T02:49:36.139Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-20T02:49:36.139Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-20T02:49:36.139Z] ---> 0ba863799e14 [2021-03-20T02:49:36.139Z] Step 3/24 : ARG MAKE='make build' [2021-03-20T02:49:36.415Z] ---> Running in 2459f96b5c8e [2021-03-20T02:49:36.689Z] Removing intermediate container 2459f96b5c8e [2021-03-20T02:49:36.689Z] ---> 73116c9da91f [2021-03-20T02:49:36.689Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-20T02:49:36.964Z] ---> Running in ef318f37418c [2021-03-20T02:49:37.562Z] Removing intermediate container ef318f37418c [2021-03-20T02:49:37.562Z] ---> b5702baf5cc9 [2021-03-20T02:49:37.562Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:49:37.562Z] ---> Running in 760ea7ce8d41 [2021-03-20T02:49:38.170Z] Removing intermediate container 760ea7ce8d41 [2021-03-20T02:49:38.170Z] ---> 3a6c368c453c [2021-03-20T02:49:38.170Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-20T02:49:38.170Z] ---> Running in 6cdfdb3f91ce [2021-03-20T02:49:40.804Z] Removing intermediate container 6cdfdb3f91ce [2021-03-20T02:49:40.804Z] ---> da3c76301c69 [2021-03-20T02:49:40.804Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-20T02:49:40.804Z] ---> Running in 1963580be931 [2021-03-20T02:49:41.784Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-20T02:49:42.764Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-20T02:49:43.764Z] OK: 142 MiB in 39 packages [2021-03-20T02:49:44.745Z] Removing intermediate container 1963580be931 [2021-03-20T02:49:44.745Z] ---> af6a41f75abf [2021-03-20T02:49:44.745Z] Step 8/24 : COPY . . [2021-03-20T02:49:46.185Z] ---> db1c92e8feb3 [2021-03-20T02:49:46.185Z] Step 9/24 : RUN ${MAKE} [2021-03-20T02:49:46.185Z] ---> Running in 22ec7fd9f520 [2021-03-20T02:49:47.625Z] 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-20T02:50:14.482Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-20T02:50:15.913Z] Removing intermediate container 22ec7fd9f520 [2021-03-20T02:50:15.913Z] ---> 1609a46fc5bf [2021-03-20T02:50:15.913Z] Step 10/24 : FROM scratch [2021-03-20T02:50:15.913Z] ---> [2021-03-20T02:50:15.913Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:50:15.913Z] ---> Running in e1a72e5bdd34 [2021-03-20T02:50:16.511Z] Removing intermediate container e1a72e5bdd34 [2021-03-20T02:50:16.511Z] ---> 479517ddc6d0 [2021-03-20T02:50:16.511Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-20T02:50:16.511Z] ---> Running in 1ca88290d0e2 [2021-03-20T02:50:16.788Z] Removing intermediate container 1ca88290d0e2 [2021-03-20T02:50:16.788Z] ---> 41b75941d55c [2021-03-20T02:50:16.788Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-20T02:50:17.060Z] ---> Running in 8a51e8c22893 [2021-03-20T02:50:17.657Z] Removing intermediate container 8a51e8c22893 [2021-03-20T02:50:17.657Z] ---> 2c81d0e853c9 [2021-03-20T02:50:17.657Z] Step 14/24 : WORKDIR / [2021-03-20T02:50:17.657Z] ---> Running in 665454e35b96 [2021-03-20T02:50:18.253Z] Removing intermediate container 665454e35b96 [2021-03-20T02:50:18.253Z] ---> 745957c0ea90 [2021-03-20T02:50:18.253Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-20T02:50:19.238Z] ---> 37380153ce88 [2021-03-20T02:50:19.238Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-20T02:50:19.834Z] ---> cc34a288844f [2021-03-20T02:50:19.834Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-20T02:50:20.814Z] ---> 1639ca8ae9d7 [2021-03-20T02:50:20.814Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-20T02:50:21.410Z] ---> bfa36e8ae5a2 [2021-03-20T02:50:21.410Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-20T02:50:22.005Z] ---> 64ec4029da0e [2021-03-20T02:50:22.005Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-20T02:50:22.278Z] ---> Running in 2b1a267d1ff6 [2021-03-20T02:50:22.874Z] Removing intermediate container 2b1a267d1ff6 [2021-03-20T02:50:22.874Z] ---> c7b0b796ce0e [2021-03-20T02:50:22.874Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-20T02:50:22.874Z] ---> Running in 6fe9bf97d6b2 [2021-03-20T02:50:23.476Z] Removing intermediate container 6fe9bf97d6b2 [2021-03-20T02:50:23.476Z] ---> 23c7f5cfeb9a [2021-03-20T02:50:23.476Z] Step 22/24 : LABEL arch=arm64 [2021-03-20T02:50:23.476Z] ---> Running in ea852e25e460 [2021-03-20T02:50:24.076Z] Removing intermediate container ea852e25e460 [2021-03-20T02:50:24.076Z] ---> be500f0f5aa0 [2021-03-20T02:50:24.076Z] Step 23/24 : LABEL git_sha=a0d7157e902c7aa62e434b60c94eb03fd33917e8 [2021-03-20T02:50:24.076Z] ---> Running in 8629fd17bca0 [2021-03-20T02:50:24.673Z] Removing intermediate container 8629fd17bca0 [2021-03-20T02:50:24.673Z] ---> 07f114bb1822 [2021-03-20T02:50:24.673Z] Step 24/24 : LABEL version=0.0.0 [2021-03-20T02:50:24.673Z] ---> Running in 36bc36020416 [2021-03-20T02:50:25.276Z] Removing intermediate container 36bc36020416 [2021-03-20T02:50:25.276Z] ---> c91072128755 [2021-03-20T02:50:25.276Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-20T02:50:25.276Z] Successfully built c91072128755 [2021-03-20T02:50:25.276Z] 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-20T02:50:26.098Z] ---> job-cost.sh [2021-03-20T02:50:26.098Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zksX [2021-03-20T02:51:13.044Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-20T02:52:49.795Z] lf-activate-venv(): INFO: Adding /tmp/venv-zksX/bin to PATH [2021-03-20T02:52:49.795Z] INFO: No Stack... [2021-03-20T02:52:49.795Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-20T02:52:49.795Z] INFO: Archiving Costs [Pipeline] sh [2021-03-20T02:52:50.132Z] + + cat /w/workspace/device-sdk-go/23/archives/cost.csv [2021-03-20T02:52:50.132Z] cut -d, -f6 [Pipeline] lock [2021-03-20T02:52:50.239Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-23-stack-cost] [2021-03-20T02:52:50.248Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-23-stack-cost] did not exist. Created. [2021-03-20T02:52:50.249Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-20T02:52:50.689Z] /w/workspace/device-sdk-go/23@tmp/durable-a53b25ea/script.sh: 1: /w/workspace/device-sdk-go/23@tmp/durable-a53b25ea/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-20T02:52:51.029Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-20T02:52:51.095Z] Warning: overwriting stash ‘stack-cost’ [2021-03-20T02:52:51.255Z] Stashed 1 file(s) [Pipeline] } [2021-03-20T02:52:51.268Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-23-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-20T02:52:52.508Z] provisioning config files... [2021-03-20T02:52:52.519Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8195105953308929735tmp [Pipeline] { [Pipeline] sh [2021-03-20T02:52:52.905Z] + set +x [2021-03-20T02:52:52.905Z] + bash -s -- [2021-03-20T02:52:52.905Z] + curl -s https://codecov.io/bash [2021-03-20T02:52:53.169Z] [2021-03-20T02:52:53.169Z] _____ _ [2021-03-20T02:52:53.169Z] / ____| | | [2021-03-20T02:52:53.169Z] | | ___ __| | ___ ___ _____ __ [2021-03-20T02:52:53.169Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-20T02:52:53.169Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-20T02:52:53.169Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-20T02:52:53.169Z] Bash-20210309-2b87ace [2021-03-20T02:52:53.169Z] [2021-03-20T02:52:53.169Z] [2021-03-20T02:52:53.169Z] ==> git version 2.24.3 found [2021-03-20T02:52:53.169Z] ==> 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-20T02:52:53.169Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-20T02:52:53.169Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-20T02:52:53.169Z] ==> Jenkins CI detected. [2021-03-20T02:52:53.169Z] project root: . [2021-03-20T02:52:53.169Z] --> token set from env [2021-03-20T02:52:53.169Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-20T02:52:53.169Z] ==> Running gcov in . (disable via -X gcov) [2021-03-20T02:52:53.169Z] ==> Python coveragepy not found [2021-03-20T02:52:53.169Z] ==> Searching for coverage reports in: [2021-03-20T02:52:53.169Z] + . [2021-03-20T02:52:53.169Z] -> Found 1 reports [2021-03-20T02:52:53.169Z] ==> Detecting git/mercurial file structure [2021-03-20T02:52:53.169Z] ==> Reading reports [2021-03-20T02:52:53.169Z] + ./coverage.out bytes=99587 [2021-03-20T02:52:53.169Z] ==> Appending adjustments [2021-03-20T02:52:53.169Z] https://docs.codecov.io/docs/fixing-reports [2021-03-20T02:52:53.431Z] + Found adjustments [2021-03-20T02:52:53.431Z] ==> Gzipping contents [2021-03-20T02:52:53.431Z] 16K /tmp/codecov.Rz46aW.gz [2021-03-20T02:52:53.431Z] ==> Uploading reports [2021-03-20T02:52:53.431Z] url: https://codecov.io [2021-03-20T02:52:53.431Z] query: branch=PR-725&commit=a0d7157e902c7aa62e434b60c94eb03fd33917e8&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-03-20T02:52:53.431Z] -> Pinging Codecov [2021-03-20T02:52:53.431Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-725&commit=a0d7157e902c7aa62e434b60c94eb03fd33917e8&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-03-20T02:52:54.007Z] -> Uploading to [2021-03-20T02:52:54.007Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-20/7E55EF52A471D76F132DFD9A03CDDE97/a0d7157e902c7aa62e434b60c94eb03fd33917e8/46e2db6e-f5f0-44f4-a246-48fd23aafe73.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210320T025253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7683a240650a4c341e1e47c3aec56ac227702579596c83ba54459d873c65cedd [2021-03-20T02:52:54.007Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-20T02:52:54.007Z] Dload Upload Total Spent Left Speed [2021-03-20T02:52:54.583Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13445 0 0 100 13445 0 29488 --:--:-- --:--:-- --:--:-- 29549 [2021-03-20T02:52:54.583Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a0d7157e902c7aa62e434b60c94eb03fd33917e8 [Pipeline] } [2021-03-20T02:52:54.593Z] 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-20T02:52:56.747Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:52:57.319Z] ---> package-listing.sh [2021-03-20T02:52:57.320Z] ++ facter osfamily [2021-03-20T02:52:57.320Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-20T02:52:57.320Z] + OS_FAMILY=redhat [2021-03-20T02:52:57.320Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-03-20T02:52:57.320Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-20T02:52:57.320Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-20T02:52:57.320Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-20T02:52:57.320Z] + PACKAGES=/tmp/packages_start.txt [2021-03-20T02:52:57.320Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-03-20T02:52:57.320Z] + PACKAGES=/tmp/packages_end.txt [2021-03-20T02:52:57.320Z] + case "${OS_FAMILY}" in [2021-03-20T02:52:57.320Z] + rpm -qa [2021-03-20T02:52:57.320Z] + sort [2021-03-20T02:53:02.644Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-20T02:53:02.644Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-20T02:53:02.644Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-20T02:53:02.644Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-03-20T02:53:02.644Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-03-20T02:53:02.644Z] + 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-20T02:53:02.659Z] 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-20T02:53:02.952Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:53:03.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-20T02:53:03.263Z] [2021-03-20T02:53:03.263Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:53:03.620Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-20T02:53:03.620Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-20T02:53:03.620Z] df20fa9351a1: Pulling fs layer [2021-03-20T02:53:03.620Z] 36b3adc4ff6f: Pulling fs layer [2021-03-20T02:53:03.620Z] 8ad3a11d3b57: Pulling fs layer [2021-03-20T02:53:03.620Z] 46f8f816bc3b: Pulling fs layer [2021-03-20T02:53:03.620Z] 93b61091891f: Pulling fs layer [2021-03-20T02:53:03.620Z] 93b9cdb0e59b: Pulling fs layer [2021-03-20T02:53:03.620Z] 5e14af77c1be: Pulling fs layer [2021-03-20T02:53:03.620Z] 01666e4c0597: Pulling fs layer [2021-03-20T02:53:03.620Z] aa168da1d23b: Pulling fs layer [2021-03-20T02:53:03.620Z] 46f8f816bc3b: Waiting [2021-03-20T02:53:03.620Z] 93b61091891f: Waiting [2021-03-20T02:53:03.620Z] 93b9cdb0e59b: Waiting [2021-03-20T02:53:03.620Z] 5e14af77c1be: Waiting [2021-03-20T02:53:03.620Z] 01666e4c0597: Waiting [2021-03-20T02:53:03.621Z] aa168da1d23b: Waiting [2021-03-20T02:53:03.621Z] 36b3adc4ff6f: Verifying Checksum [2021-03-20T02:53:03.621Z] 36b3adc4ff6f: Download complete [2021-03-20T02:53:03.621Z] 46f8f816bc3b: Verifying Checksum [2021-03-20T02:53:03.621Z] 46f8f816bc3b: Download complete [2021-03-20T02:53:03.884Z] df20fa9351a1: Verifying Checksum [2021-03-20T02:53:03.884Z] 93b9cdb0e59b: Verifying Checksum [2021-03-20T02:53:03.884Z] 93b9cdb0e59b: Download complete [2021-03-20T02:53:03.884Z] 5e14af77c1be: Verifying Checksum [2021-03-20T02:53:03.884Z] 5e14af77c1be: Download complete [2021-03-20T02:53:03.884Z] 01666e4c0597: Verifying Checksum [2021-03-20T02:53:03.884Z] 01666e4c0597: Download complete [2021-03-20T02:53:03.884Z] 93b61091891f: Download complete [2021-03-20T02:53:04.146Z] df20fa9351a1: Pull complete [2021-03-20T02:53:04.409Z] 36b3adc4ff6f: Pull complete [2021-03-20T02:53:04.690Z] 8ad3a11d3b57: Verifying Checksum [2021-03-20T02:53:04.690Z] 8ad3a11d3b57: Download complete [2021-03-20T02:53:05.279Z] 8ad3a11d3b57: Pull complete [2021-03-20T02:53:05.552Z] 46f8f816bc3b: Pull complete [2021-03-20T02:53:06.128Z] 93b61091891f: Pull complete [2021-03-20T02:53:06.392Z] aa168da1d23b: Verifying Checksum [2021-03-20T02:53:06.392Z] aa168da1d23b: Download complete [2021-03-20T02:53:06.392Z] 93b9cdb0e59b: Pull complete [2021-03-20T02:53:06.661Z] 5e14af77c1be: Pull complete [2021-03-20T02:53:06.661Z] 01666e4c0597: Pull complete [2021-03-20T02:53:14.868Z] aa168da1d23b: Pull complete [2021-03-20T02:53:14.868Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-20T02:53:14.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-20T02:53:14.868Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-20T02:53:15.078Z] prd-centos7-docker-4c-2g-30689 does not seem to be running inside a container [2021-03-20T02:53:15.129Z] $ 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-20T02:53:18.285Z] $ docker top 78360bd25ca921be3c71468364b7ce90b0f221c5b8fd4bf91b80f31ae32b6421 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:53:18.783Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-20T02:53:19.103Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-20T02:53:19.421Z] + ls /var/log/sa-host [2021-03-20T02:53:19.421Z] + sadf -c /var/log/sa-host/sa20 [2021-03-20T02:53:19.421Z] file_magic: OK [2021-03-20T02:53:19.421Z] HZ: Using current value: 100 [2021-03-20T02:53:19.421Z] file_header: OK [2021-03-20T02:53:19.421Z] 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-20T02:53:19.421Z] Statistics: [2021-03-20T02:53:19.421Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-20T02:53:19.421Z] File successfully converted to sysstat format version 12.2.1 [2021-03-20T02:53:19.421Z] + sadf -c /var/log/sa-host/sa23 [2021-03-20T02:53:19.421Z] file_magic: OK [2021-03-20T02:53:19.421Z] HZ: Using current value: 100 [2021-03-20T02:53:19.421Z] file_header: OK [2021-03-20T02:53:19.421Z] 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-20T02:53:19.421Z] Statistics: [2021-03-20T02:53:19.421Z] Hnuu...uuuununununu... [2021-03-20T02:53:19.421Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-20T02:53:19.642Z] provisioning config files... [2021-03-20T02:53:19.657Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1280815019125414813tmp [Pipeline] { [Pipeline] echo [2021-03-20T02:53:19.743Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:53:20.043Z] ---> create-netrc.sh [Pipeline] } [2021-03-20T02:53:20.053Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-20T02:53:20.154Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:53:20.456Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-20T02:53:20.467Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:53:20.763Z] ---> sudo-logs.sh [2021-03-20T02:53:20.763Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-20T02:53:20.829Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:53:21.129Z] ---> job-cost.sh [2021-03-20T02:53:21.129Z] lf-activate-venv: SKIPPING [2021-03-20T02:53:21.129Z] DEBUG: total: 0.20999999344348907 [2021-03-20T02:53:21.129Z] INFO: Retrieving Stack Cost... [2021-03-20T02:53:22.521Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-20T02:53:23.098Z] INFO: Archiving Costs [Pipeline] echo [2021-03-20T02:53:23.113Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:53:23.422Z] ---> logs-deploy.sh [2021-03-20T02:53:23.422Z] lf-activate-venv: SKIPPING [2021-03-20T02:53:23.422Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/23 [2021-03-20T02:53:23.422Z] INFO: archiving workspace using pattern(s): [2021-03-20T02:53:25.344Z] Archives upload complete. [2021-03-20T02:53:25.344Z] INFO: archiving logs to Nexus