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+4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (f5bfc3b667a6831162c9edeef0e38c60f8172209) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20743 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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 Checking out Revision d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 (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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 # timeout=10 Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk e296ca2f3ba30b226a855120fdd1084aef7d3086 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-16T02:45:11.512Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-16T02:45:11.812Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-16T02:45:11.939Z] ========================================================= [2021-01-16T02:45:11.939Z] EdgeX Global Pipelines Version Info [2021-01-16T02:45:11.939Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:45:13.450Z] ------------------- [2021-01-16T02:45:13.450Z] stable info: [2021-01-16T02:45:13.451Z] ------------------- [2021-01-16T02:45:13.451Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-16T02:45:13.451Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-16T02:45:13.451Z] Message: update stable to v1.0.177 [2021-01-16T02:45:14.399Z] ------------------- [2021-01-16T02:45:14.399Z] experimental info: [2021-01-16T02:45:14.399Z] ------------------- [2021-01-16T02:45:14.399Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-16T02:45:14.399Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-16T02:45:14.399Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-16T02:45:14.655Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-16T02:45:14.752Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-16T02:45:14.849Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-16T02:45:14.937Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-16T02:45:15.072Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-16T02:45:15.163Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-16T02:45:15.254Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-16T02:45:15.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-16T02:45:15.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-16T02:45:15.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-16T02:45:15.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-16T02:45:15.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-01-16T02:45:15.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-16T02:45:15.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-16T02:45:16.035Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-16T02:45:16.121Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-16T02:45:16.206Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-16T02:45:16.294Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-16T02:45:16.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-16T02:45:16.479Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-16T02:45:16.587Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-16T02:45:16.683Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-16T02:45:16.772Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-16T02:45:16.859Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-16T02:45:16.960Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-16T02:45:17.051Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-16T02:45:17.139Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-16T02:45:17.228Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-01-16T02:45:17.339Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-01-16T02:45:17.436Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-01-16T02:45:17.524Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 [Pipeline] echo [2021-01-16T02:45:17.637Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d74631b [Pipeline] echo [2021-01-16T02:45:17.758Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-16T02:45:17.971Z] provisioning config files... [2021-01-16T02:45:18.009Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4835681195295068130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:45:18.405Z] ---> docker-login.sh [2021-01-16T02:45:18.405Z] nexus3.edgexfoundry.org:10001 [2021-01-16T02:45:18.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:18.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:18.669Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:18.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:18.669Z] [2021-01-16T02:45:18.669Z] Login Succeeded [2021-01-16T02:45:18.669Z] nexus3.edgexfoundry.org:10002 [2021-01-16T02:45:18.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:18.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:18.934Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:18.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:18.934Z] [2021-01-16T02:45:18.934Z] Login Succeeded [2021-01-16T02:45:18.934Z] nexus3.edgexfoundry.org:10003 [2021-01-16T02:45:19.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:19.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:19.197Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:19.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:19.197Z] [2021-01-16T02:45:19.197Z] Login Succeeded [2021-01-16T02:45:19.197Z] nexus3.edgexfoundry.org:10004 [2021-01-16T02:45:19.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:19.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:19.461Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:19.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:19.461Z] [2021-01-16T02:45:19.461Z] Login Succeeded [2021-01-16T02:45:19.461Z] docker.io [2021-01-16T02:45:19.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:45:19.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:45:19.726Z] Configure a credential helper to remove this warning. See [2021-01-16T02:45:19.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:45:19.726Z] [2021-01-16T02:45:19.726Z] Login Succeeded [2021-01-16T02:45:19.726Z] ---> docker-login.sh ends [Pipeline] } [2021-01-16T02:45:19.738Z] 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-01-16T02:45:20.736Z] + git log --format=format:%s -1 d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 [Pipeline] echo [2021-01-16T02:45:20.821Z] GIT_COMMIT: d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69, Commit Message: Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD [Pipeline] echo [2021-01-16T02:45:20.864Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:45:21.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-16T02:45:21.454Z] [2021-01-16T02:45:21.454Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:45:21.816Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-16T02:45:21.816Z] latest: Pulling from edgex-devops/git-semver [2021-01-16T02:45:21.816Z] 31603596830f: Pulling fs layer [2021-01-16T02:45:21.816Z] 2a8b12db71e7: Pulling fs layer [2021-01-16T02:45:21.816Z] 6ca5941a6612: Pulling fs layer [2021-01-16T02:45:21.816Z] ecc8261a40a4: Pulling fs layer [2021-01-16T02:45:21.816Z] ecc8261a40a4: Waiting [2021-01-16T02:45:21.816Z] 2a8b12db71e7: Verifying Checksum [2021-01-16T02:45:21.816Z] 2a8b12db71e7: Download complete [2021-01-16T02:45:21.816Z] 31603596830f: Download complete [2021-01-16T02:45:22.079Z] ecc8261a40a4: Verifying Checksum [2021-01-16T02:45:22.079Z] ecc8261a40a4: Download complete [2021-01-16T02:45:22.079Z] 6ca5941a6612: Verifying Checksum [2021-01-16T02:45:22.079Z] 6ca5941a6612: Download complete [2021-01-16T02:45:22.350Z] 31603596830f: Pull complete [2021-01-16T02:45:22.350Z] 2a8b12db71e7: Pull complete [2021-01-16T02:45:23.310Z] 6ca5941a6612: Pull complete [2021-01-16T02:45:23.310Z] ecc8261a40a4: Pull complete [2021-01-16T02:45:23.310Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-16T02:45:23.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-16T02:45:23.310Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-16T02:45:23.411Z] prd-centos7-docker-4c-2g-20743 does not seem to be running inside a container [2021-01-16T02:45:23.461Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-16T02:45:25.825Z] $ docker top 575e95c5558e853f9969615b082cc12c65a84196ebfbdf6438c0215f0ce538be -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-16T02:45:26.139Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-16T02:45:26.139Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-16T02:45:26.350Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-16T02:45:26.354Z] $ docker exec 575e95c5558e853f9969615b082cc12c65a84196ebfbdf6438c0215f0ce538be ssh-agent [2021-01-16T02:45:26.511Z] SSH_AUTH_SOCK=/tmp/ssh-9a5nFTHeclx0/agent.13 [2021-01-16T02:45:26.511Z] SSH_AGENT_PID=18 [2021-01-16T02:45:26.522Z] Running ssh-add (command line suppressed) [2021-01-16T02:45:26.639Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1686658237351268554.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1686658237351268554.key) [2021-01-16T02:45:26.691Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-16T02:45:27.094Z] + git tag --points-at HEAD [Pipeline] } [2021-01-16T02:45:27.115Z] $ docker exec --env ******** --env ******** 575e95c5558e853f9969615b082cc12c65a84196ebfbdf6438c0215f0ce538be ssh-agent -k [2021-01-16T02:45:27.234Z] unset SSH_AUTH_SOCK; [2021-01-16T02:45:27.234Z] unset SSH_AGENT_PID; [2021-01-16T02:45:27.234Z] echo Agent pid 18 killed; [2021-01-16T02:45:27.281Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-16T02:45:27.426Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-16T02:45:27.427Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-16T02:45:27.593Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-16T02:45:27.596Z] $ docker exec 575e95c5558e853f9969615b082cc12c65a84196ebfbdf6438c0215f0ce538be ssh-agent [2021-01-16T02:45:27.763Z] SSH_AUTH_SOCK=/tmp/ssh-DrOZKYGQBm9U/agent.47 [2021-01-16T02:45:27.763Z] SSH_AGENT_PID=52 [2021-01-16T02:45:27.770Z] Running ssh-add (command line suppressed) [2021-01-16T02:45:27.884Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_7190269905228027330.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_7190269905228027330.key) [2021-01-16T02:45:27.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-16T02:45:28.266Z] + git semver init [2021-01-16T02:45:28.266Z] # -> Open(): unable to determine branch for HEAD [2021-01-16T02:45:28.266Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-01-16T02:45:28.266Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-01-16T02:45:28.266Z] # $SEMVER_REMOTE_NAME = origin [2021-01-16T02:45:28.266Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-16T02:45:28.266Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-16T02:45:28.266Z] # $SEMVER_BRANCH = PR-725 [2021-01-16T02:45:28.266Z] # $SEMVER_TEMP = /tmp/semver-726082863 [2021-01-16T02:45:28.266Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-16T02:45:29.217Z] # '/tmp/semver-726082863' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-01-16T02:45:29.217Z] # -> Force: false [2021-01-16T02:45:29.217Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-01-16T02:45:29.238Z] $ docker exec --env ******** --env ******** 575e95c5558e853f9969615b082cc12c65a84196ebfbdf6438c0215f0ce538be ssh-agent -k [2021-01-16T02:45:29.354Z] unset SSH_AUTH_SOCK; [2021-01-16T02:45:29.355Z] unset SSH_AGENT_PID; [2021-01-16T02:45:29.355Z] echo Agent pid 52 killed; [2021-01-16T02:45:29.408Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-16T02:45:29.894Z] + git semver [Pipeline] } [2021-01-16T02:45:29.913Z] $ docker stop --time=1 575e95c5558e853f9969615b082cc12c65a84196ebfbdf6438c0215f0ce538be [2021-01-16T02:45:31.435Z] $ docker rm -f 575e95c5558e853f9969615b082cc12c65a84196ebfbdf6438c0215f0ce538be [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-16T02:45:31.887Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-16T02:45:32.455Z] Stashed 1 file(s) [Pipeline] echo [2021-01-16T02:45:32.457Z] [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-01-16T02:45:47.925Z] Still waiting to schedule task [2021-01-16T02:45:47.925Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-16T02:45:47.929Z] Still waiting to schedule task [2021-01-16T02:45:47.929Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-16T02:46:03.773Z] Running on prd-centos7-docker-4c-2g-20747 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-01-16T02:46:03.933Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-01-16T02:46:06.580Z] using credential edgex-jenkins-ssh [2021-01-16T02:46:06.634Z] Cloning the remote Git repository [2021-01-16T02:46:06.668Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:46:06.742Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-16T02:46:06.899Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:46:06.900Z] > git --version # timeout=10 [2021-01-16T02:46:06.906Z] > git --version # 'git version 2.24.3' [2021-01-16T02:46:06.906Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:46:06.939Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-16T02:46:08.254Z] Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-01-16T02:46:08.515Z] Merge succeeded, producing f8252439fbca94e140908581e2e54406c478b3b0 [2021-01-16T02:46:08.516Z] Checking out Revision f8252439fbca94e140908581e2e54406c478b3b0 (PR-725) [2021-01-16T02:46:07.691Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-16T02:46:07.698Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-16T02:46:07.710Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-16T02:46:07.729Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:46:07.729Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:46:07.735Z] > 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-01-16T02:46:08.288Z] > git config core.sparsecheckout # timeout=10 [2021-01-16T02:46:08.307Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-01-16T02:46:08.402Z] > git remote # timeout=10 [2021-01-16T02:46:08.410Z] > git config --get remote.origin.url # timeout=10 [2021-01-16T02:46:08.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:46:08.422Z] > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-16T02:46:08.504Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-16T02:46:08.518Z] > git config core.sparsecheckout # timeout=10 [2021-01-16T02:46:08.526Z] > git checkout -f f8252439fbca94e140908581e2e54406c478b3b0 # timeout=10 [2021-01-16T02:46:12.237Z] Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" [2021-01-16T02:46:12.249Z] First time build. Skipping changelog. [2021-01-16T02:46:12.241Z] > git rev-list --no-walk e296ca2f3ba30b226a855120fdd1084aef7d3086 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-16T02:46:13.595Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-16T02:46:13.935Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-16T02:46:14.245Z] + sudo service docker restart [2021-01-16T02:46:14.245Z] + true [2021-01-16T02:46:14.245Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-16T02:46:15.260Z] provisioning config files... [2021-01-16T02:46:15.288Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6347854198376040813tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:46:15.646Z] ---> docker-login.sh [2021-01-16T02:46:15.646Z] nexus3.edgexfoundry.org:10001 [2021-01-16T02:46:15.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:46:15.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:46:15.909Z] Configure a credential helper to remove this warning. See [2021-01-16T02:46:15.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:46:15.909Z] [2021-01-16T02:46:15.909Z] Login Succeeded [2021-01-16T02:46:16.170Z] nexus3.edgexfoundry.org:10002 [2021-01-16T02:46:16.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:46:16.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:46:16.170Z] Configure a credential helper to remove this warning. See [2021-01-16T02:46:16.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:46:16.170Z] [2021-01-16T02:46:16.170Z] Login Succeeded [2021-01-16T02:46:16.170Z] nexus3.edgexfoundry.org:10003 [2021-01-16T02:46:16.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:46:16.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:46:16.432Z] Configure a credential helper to remove this warning. See [2021-01-16T02:46:16.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:46:16.432Z] [2021-01-16T02:46:16.432Z] Login Succeeded [2021-01-16T02:46:16.432Z] nexus3.edgexfoundry.org:10004 [2021-01-16T02:46:16.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:46:16.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:46:16.695Z] Configure a credential helper to remove this warning. See [2021-01-16T02:46:16.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:46:16.695Z] [2021-01-16T02:46:16.695Z] Login Succeeded [2021-01-16T02:46:16.695Z] docker.io [2021-01-16T02:46:16.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:46:16.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:46:16.962Z] Configure a credential helper to remove this warning. See [2021-01-16T02:46:16.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:46:16.962Z] [2021-01-16T02:46:16.962Z] Login Succeeded [2021-01-16T02:46:16.962Z] ---> docker-login.sh ends [Pipeline] } [2021-01-16T02:46:16.987Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-16T02:46:17.380Z] ========================================================= [2021-01-16T02:46:17.381Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-16T02:46:17.381Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:46:17.728Z] + 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-01-16T02:46:17.728Z] Sending build context to Docker daemon 2.592MB [2021-01-16T02:46:17.991Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-16T02:46:17.991Z] Step 2/8 : FROM ${BASE} [2021-01-16T02:46:18.629Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-16T02:46:18.629Z] 188c0c94c7c5: Pulling fs layer [2021-01-16T02:46:18.629Z] 0ef7d3d256c8: Pulling fs layer [2021-01-16T02:46:18.629Z] de9db76c5a1d: Pulling fs layer [2021-01-16T02:46:18.629Z] bca2f99d35d6: Pulling fs layer [2021-01-16T02:46:18.629Z] 93359f2a8cfa: Pulling fs layer [2021-01-16T02:46:18.629Z] 7c6f9722023f: Pulling fs layer [2021-01-16T02:46:18.629Z] a35cf1a2eb13: Pulling fs layer [2021-01-16T02:46:18.629Z] 93359f2a8cfa: Waiting [2021-01-16T02:46:18.629Z] 7c6f9722023f: Waiting [2021-01-16T02:46:18.629Z] a35cf1a2eb13: Waiting [2021-01-16T02:46:18.629Z] bca2f99d35d6: Waiting [2021-01-16T02:46:18.629Z] de9db76c5a1d: Download complete [2021-01-16T02:46:18.629Z] 0ef7d3d256c8: Download complete [2021-01-16T02:46:18.629Z] 93359f2a8cfa: Verifying Checksum [2021-01-16T02:46:18.629Z] 93359f2a8cfa: Download complete [2021-01-16T02:46:19.215Z] 7c6f9722023f: Verifying Checksum [2021-01-16T02:46:19.215Z] 7c6f9722023f: Download complete [2021-01-16T02:46:19.215Z] 188c0c94c7c5: Verifying Checksum [2021-01-16T02:46:19.215Z] 188c0c94c7c5: Download complete [2021-01-16T02:46:19.478Z] 188c0c94c7c5: Pull complete [2021-01-16T02:46:20.058Z] 0ef7d3d256c8: Pull complete [2021-01-16T02:46:20.058Z] de9db76c5a1d: Pull complete [2021-01-16T02:46:21.468Z] a35cf1a2eb13: Verifying Checksum [2021-01-16T02:46:21.468Z] a35cf1a2eb13: Download complete [2021-01-16T02:46:22.861Z] bca2f99d35d6: Download complete [2021-01-16T02:46:29.505Z] bca2f99d35d6: Pull complete [2021-01-16T02:46:29.505Z] 93359f2a8cfa: Pull complete [2021-01-16T02:46:29.505Z] 7c6f9722023f: Pull complete [2021-01-16T02:46:36.140Z] a35cf1a2eb13: Pull complete [2021-01-16T02:46:36.140Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-16T02:46:36.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-16T02:46:36.140Z] ---> a62c8e92a672 [2021-01-16T02:46:36.140Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:46:36.140Z] ---> Running in 636186dcb2c4 [2021-01-16T02:46:36.140Z] Removing intermediate container 636186dcb2c4 [2021-01-16T02:46:36.140Z] ---> b54f71240589 [2021-01-16T02:46:36.140Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-16T02:46:36.405Z] ---> Running in 47e015ab0792 [2021-01-16T02:46:37.813Z] Removing intermediate container 47e015ab0792 [2021-01-16T02:46:37.813Z] ---> fa3e94d18e77 [2021-01-16T02:46:37.813Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-16T02:46:37.813Z] ---> Running in d2ddaf3ffe07 [2021-01-16T02:46:39.210Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-16T02:46:39.477Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-16T02:46:40.052Z] OK: 166 MiB in 39 packages [2021-01-16T02:46:40.315Z] Removing intermediate container d2ddaf3ffe07 [2021-01-16T02:46:40.315Z] ---> 48be87a95509 [2021-01-16T02:46:40.315Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-16T02:46:40.315Z] ---> Running in eea6408acc4f [2021-01-16T02:46:40.580Z] Removing intermediate container eea6408acc4f [2021-01-16T02:46:40.580Z] ---> cfe2e3335321 [2021-01-16T02:46:40.580Z] Step 7/8 : COPY . . [2021-01-16T02:46:41.976Z] ---> 4050c3970020 [2021-01-16T02:46:41.976Z] Step 8/8 : RUN go mod download [2021-01-16T02:46:41.976Z] ---> Running in 72b14e8607fa [2021-01-16T02:47:00.190Z] Removing intermediate container 72b14e8607fa [2021-01-16T02:47:00.190Z] ---> 74ac91566669 [2021-01-16T02:47:00.190Z] Successfully built 74ac91566669 [2021-01-16T02:47:00.191Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:47:00.532Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-16T02:47:00.532Z] . [Pipeline] withDockerContainer [2021-01-16T02:47:00.714Z] prd-centos7-docker-4c-2g-20747 does not seem to be running inside a container [2021-01-16T02:47:00.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-16T02:47:01.626Z] $ docker top 0495a40a1115d5b05a67630d3d1025335cab3bb094d563c328a6125b79ccecbd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:47:02.207Z] + go version [2021-01-16T02:47:02.207Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-16T02:47:02.227Z] $ docker stop --time=1 0495a40a1115d5b05a67630d3d1025335cab3bb094d563c328a6125b79ccecbd [2021-01-16T02:47:03.601Z] $ docker rm -f 0495a40a1115d5b05a67630d3d1025335cab3bb094d563c328a6125b79ccecbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:47:04.407Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-16T02:47:04.407Z] . [Pipeline] withDockerContainer [2021-01-16T02:47:04.515Z] prd-centos7-docker-4c-2g-20747 does not seem to be running inside a container [2021-01-16T02:47:04.572Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-16T02:47:05.292Z] $ docker top 60903f7d52135c707e589cfefd87163fa916b655e3a57238723a34f37309cb40 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:47:05.779Z] + make test [2021-01-16T02:47:05.779Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-16T02:47:13.978Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-16T02:47:29.049Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-16T02:47:29.049Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-16T02:47:29.049Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-16T02:47:29.049Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 19.4% of statements [2021-01-16T02:47:33.332Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.467s coverage: 97.1% of statements [2021-01-16T02:48:05.537Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.061s coverage: 9.4% of statements [2021-01-16T02:48:05.537Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.059s coverage: 21.7% of statements [2021-01-16T02:48:05.537Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-16T02:48:05.537Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.246s coverage: 42.9% of statements [2021-01-16T02:48:05.537Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-16T02:48:05.537Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.292s coverage: 68.9% of statements [2021-01-16T02:48:05.537Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-16T02:48:05.537Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-16T02:48:05.537Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-16T02:48:05.537Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-16T02:48:05.537Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.072s coverage: 53.8% of statements [2021-01-16T02:48:05.537Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-16T02:48:05.537Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-16T02:48:05.537Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.078s coverage: 30.4% of statements [2021-01-16T02:48:05.537Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.477s coverage: 68.9% of statements [2021-01-16T02:48:05.537Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.070s coverage: 4.2% of statements [2021-01-16T02:48:05.537Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-16T02:48:05.537Z] GO111MODULE=on go vet ./... [2021-01-16T02:48:12.241Z] gofmt -l . [2021-01-16T02:48:12.241Z] [ "`gofmt -l .`" = "" ] [2021-01-16T02:48:12.241Z] ./bin/test-attribution-txt.sh [2021-01-16T02:48:13.194Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-16T02:48:13.216Z] $ docker stop --time=1 60903f7d52135c707e589cfefd87163fa916b655e3a57238723a34f37309cb40 [2021-01-16T02:48:15.197Z] $ docker rm -f 60903f7d52135c707e589cfefd87163fa916b655e3a57238723a34f37309cb40 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-16T02:48:15.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-16T02:48:16.271Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-16T02:48:17.481Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-16T02:48:17.813Z] + ls -al . [2021-01-16T02:48:17.814Z] total 220 [2021-01-16T02:48:17.814Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 16 02:48 . [2021-01-16T02:48:17.814Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 16 02:46 .. [2021-01-16T02:48:17.814Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 16 02:46 bin [2021-01-16T02:48:17.814Z] -rw-r--r--. 1 jenkins jenkins 142787 Jan 16 02:48 coverage.out [2021-01-16T02:48:17.814Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 16 02:46 Dockerfile.build [2021-01-16T02:48:17.814Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 16 02:46 .dockerignore [2021-01-16T02:48:17.814Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 16 02:46 example [2021-01-16T02:48:17.814Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 16 02:46 .git [2021-01-16T02:48:17.814Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 16 02:46 .github [2021-01-16T02:48:17.814Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 16 02:46 .gitignore [2021-01-16T02:48:17.814Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 16 02:48 go.mod [2021-01-16T02:48:17.814Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 16 02:48 go.sum [2021-01-16T02:48:17.814Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 16 02:46 internal [2021-01-16T02:48:17.814Z] -rw-rw-r--. 1 jenkins jenkins 894 Jan 16 02:46 Jenkinsfile [2021-01-16T02:48:17.814Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 16 02:46 LICENSE [2021-01-16T02:48:17.814Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 16 02:46 Makefile [2021-01-16T02:48:17.814Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 16 02:46 openapi [2021-01-16T02:48:17.814Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 16 02:46 pkg [2021-01-16T02:48:17.814Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 16 02:46 README.md [2021-01-16T02:48:17.814Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 16 02:46 RELEASE-NOTES.txt [2021-01-16T02:48:17.814Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 16 02:46 snap [2021-01-16T02:48:17.814Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 16 02:45 VERSION [2021-01-16T02:48:17.814Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 16 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:48:18.139Z] + 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=d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 --label arch=amd64 --label version=0.0.0 . [2021-01-16T02:48:18.404Z] Sending build context to Docker daemon 2.736MB [2021-01-16T02:48:18.404Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-16T02:48:18.404Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-16T02:48:18.404Z] ---> 74ac91566669 [2021-01-16T02:48:18.404Z] Step 3/24 : ARG MAKE='make build' [2021-01-16T02:48:18.889Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20748 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-01-16T02:48:18.943Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [2021-01-16T02:48:18.980Z] ---> Running in 2992ad658eda [Pipeline] checkout [2021-01-16T02:48:19.243Z] Removing intermediate container 2992ad658eda [2021-01-16T02:48:19.243Z] ---> 1d70491c6ae2 [2021-01-16T02:48:19.243Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-16T02:48:19.243Z] ---> Running in 86c09752567e [2021-01-16T02:48:19.506Z] Removing intermediate container 86c09752567e [2021-01-16T02:48:19.506Z] ---> 974b3d001bee [2021-01-16T02:48:19.506Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:48:19.506Z] ---> Running in c4c5c85a4615 [2021-01-16T02:48:19.772Z] Removing intermediate container c4c5c85a4615 [2021-01-16T02:48:19.772Z] ---> 201ad834ccf7 [2021-01-16T02:48:19.772Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-16T02:48:19.772Z] ---> Running in d810c35edd4d [2021-01-16T02:48:21.185Z] Removing intermediate container d810c35edd4d [2021-01-16T02:48:21.185Z] ---> 6fcdea6074a3 [2021-01-16T02:48:21.185Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-16T02:48:21.185Z] ---> Running in 8400e79494e5 [2021-01-16T02:48:21.764Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-16T02:48:22.341Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-16T02:48:22.923Z] OK: 166 MiB in 39 packages [2021-01-16T02:48:23.187Z] Removing intermediate container 8400e79494e5 [2021-01-16T02:48:23.187Z] ---> 16df54851051 [2021-01-16T02:48:23.187Z] Step 8/24 : COPY . . [2021-01-16T02:48:23.899Z] using credential edgex-jenkins-ssh [2021-01-16T02:48:23.965Z] Cloning the remote Git repository [2021-01-16T02:48:24.033Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:48:24.586Z] ---> 227802ff0a25 [2021-01-16T02:48:24.586Z] Step 9/24 : RUN ${MAKE} [2021-01-16T02:48:24.586Z] ---> Running in ef62b1016236 [2021-01-16T02:48:24.856Z] 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-01-16T02:48:24.144Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-01-16T02:48:24.234Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:48:24.235Z] > git --version # timeout=10 [2021-01-16T02:48:24.267Z] > git --version # 'git version 2.17.1' [2021-01-16T02:48:24.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:48:24.335Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-16T02:48:26.305Z] Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-01-16T02:48:25.569Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-16T02:48:25.588Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-16T02:48:25.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-16T02:48:25.654Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-16T02:48:25.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:48:25.668Z] > 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-01-16T02:48:26.325Z] > git config core.sparsecheckout # timeout=10 [2021-01-16T02:48:26.346Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-01-16T02:48:26.465Z] > git remote # timeout=10 [2021-01-16T02:48:26.485Z] > git config --get remote.origin.url # timeout=10 [2021-01-16T02:48:26.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-16T02:48:26.514Z] > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-16T02:48:26.674Z] Merge succeeded, producing cf81dfe295979d939252b98effba66ad563431e2 [2021-01-16T02:48:26.675Z] Checking out Revision cf81dfe295979d939252b98effba66ad563431e2 (PR-725) [2021-01-16T02:48:26.650Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-16T02:48:26.684Z] > git config core.sparsecheckout # timeout=10 [2021-01-16T02:48:26.701Z] > git checkout -f cf81dfe295979d939252b98effba66ad563431e2 # timeout=10 [2021-01-16T02:48:31.244Z] Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" [2021-01-16T02:48:31.268Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-16T02:48:31.254Z] > git rev-list --no-walk e296ca2f3ba30b226a855120fdd1084aef7d3086 # timeout=10 [2021-01-16T02:48:32.798Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-16T02:48:33.221Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-16T02:48:33.593Z] + sudo service docker restart [2021-01-16T02:48:33.593Z] + true [2021-01-16T02:48:34.959Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-16T02:48:36.285Z] provisioning config files... [2021-01-16T02:48:36.320Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config4338638121805557582tmp [Pipeline] { [2021-01-16T02:48:36.363Z] Removing intermediate container ef62b1016236 [2021-01-16T02:48:36.363Z] ---> 6c76f0a62fca [2021-01-16T02:48:36.363Z] Step 10/24 : FROM scratch [2021-01-16T02:48:36.363Z] ---> [2021-01-16T02:48:36.363Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:48:36.363Z] ---> Running in 5913e4e4dee0 [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:48:36.626Z] Removing intermediate container 5913e4e4dee0 [2021-01-16T02:48:36.626Z] ---> ccea30910b52 [2021-01-16T02:48:36.626Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-16T02:48:36.626Z] ---> Running in 0de521cdc407 [2021-01-16T02:48:36.626Z] Removing intermediate container 0de521cdc407 [2021-01-16T02:48:36.626Z] ---> 0ed49ae6b19d [2021-01-16T02:48:36.626Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-16T02:48:36.730Z] ---> docker-login.sh [2021-01-16T02:48:36.730Z] nexus3.edgexfoundry.org:10001 [2021-01-16T02:48:36.888Z] ---> Running in 588b877d60cc [2021-01-16T02:48:36.888Z] Removing intermediate container 588b877d60cc [2021-01-16T02:48:36.888Z] ---> f37e6811f867 [2021-01-16T02:48:36.888Z] Step 14/24 : WORKDIR / [2021-01-16T02:48:36.888Z] ---> Running in 99bafbe7f630 [2021-01-16T02:48:37.157Z] Removing intermediate container 99bafbe7f630 [2021-01-16T02:48:37.157Z] ---> f0d755127146 [2021-01-16T02:48:37.157Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-16T02:48:37.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:48:37.731Z] ---> 61eca87ec3ec [2021-01-16T02:48:37.731Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-16T02:48:37.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:48:37.985Z] Configure a credential helper to remove this warning. See [2021-01-16T02:48:37.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:48:37.985Z] [2021-01-16T02:48:37.985Z] Login Succeeded [2021-01-16T02:48:37.985Z] nexus3.edgexfoundry.org:10002 [2021-01-16T02:48:38.000Z] ---> c133b38ddd8a [2021-01-16T02:48:38.000Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-16T02:48:38.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:48:38.263Z] ---> d9998a392242 [2021-01-16T02:48:38.263Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-16T02:48:38.526Z] ---> e72beb1af49e [2021-01-16T02:48:38.526Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-16T02:48:38.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:48:38.536Z] Configure a credential helper to remove this warning. See [2021-01-16T02:48:38.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:48:38.536Z] [2021-01-16T02:48:38.536Z] Login Succeeded [2021-01-16T02:48:38.536Z] nexus3.edgexfoundry.org:10003 [2021-01-16T02:48:38.789Z] ---> f1c61b29240e [2021-01-16T02:48:38.789Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-16T02:48:38.789Z] ---> Running in bf08567f9420 [2021-01-16T02:48:38.789Z] Removing intermediate container bf08567f9420 [2021-01-16T02:48:38.789Z] ---> dfcdc9ba18eb [2021-01-16T02:48:38.789Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-16T02:48:38.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:48:39.053Z] ---> Running in 613f0c32f6ec [2021-01-16T02:48:39.053Z] Removing intermediate container 613f0c32f6ec [2021-01-16T02:48:39.053Z] ---> 2a8e340c0794 [2021-01-16T02:48:39.053Z] Step 22/24 : LABEL arch=amd64 [2021-01-16T02:48:39.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:48:39.082Z] Configure a credential helper to remove this warning. See [2021-01-16T02:48:39.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:48:39.082Z] [2021-01-16T02:48:39.082Z] Login Succeeded [2021-01-16T02:48:39.082Z] nexus3.edgexfoundry.org:10004 [2021-01-16T02:48:39.316Z] ---> Running in 7e7e4171f8b9 [2021-01-16T02:48:39.316Z] Removing intermediate container 7e7e4171f8b9 [2021-01-16T02:48:39.316Z] ---> c647a3406654 [2021-01-16T02:48:39.316Z] Step 23/24 : LABEL git_sha=d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 [2021-01-16T02:48:39.316Z] ---> Running in 4421d391831a [2021-01-16T02:48:39.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-16T02:48:39.577Z] Removing intermediate container 4421d391831a [2021-01-16T02:48:39.577Z] ---> 2792dddca3ed [2021-01-16T02:48:39.577Z] Step 24/24 : LABEL version=0.0.0 [2021-01-16T02:48:39.577Z] ---> Running in 9853b48d5fca [2021-01-16T02:48:39.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:48:39.634Z] Configure a credential helper to remove this warning. See [2021-01-16T02:48:39.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:48:39.634Z] [2021-01-16T02:48:39.634Z] Login Succeeded [2021-01-16T02:48:39.634Z] docker.io [2021-01-16T02:48:39.839Z] Removing intermediate container 9853b48d5fca [2021-01-16T02:48:39.839Z] ---> 7d36c448c905 [2021-01-16T02:48:39.839Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-16T02:48:39.839Z] Successfully built 7d36c448c905 [2021-01-16T02:48:39.839Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [2021-01-16T02:48:39.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [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 [2021-01-16T02:48:40.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-16T02:48:40.506Z] Configure a credential helper to remove this warning. See [2021-01-16T02:48:40.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-16T02:48:40.506Z] [2021-01-16T02:48:40.506Z] Login Succeeded [2021-01-16T02:48:40.506Z] ---> docker-login.sh ends [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } [2021-01-16T02:48:40.582Z] Deleting 1 temporary files [Pipeline] // withEnv [Pipeline] // wrap [Pipeline] } [Pipeline] } [Pipeline] // ws [Pipeline] // withEnv [Pipeline] } [Pipeline] unstash [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2021-01-16T02:48:41.160Z] ========================================================= [2021-01-16T02:48:41.160Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-16T02:48:41.160Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:48:41.539Z] + 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-01-16T02:48:42.150Z] Sending build context to Docker daemon 2.591MB [2021-01-16T02:48:42.150Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-16T02:48:42.150Z] Step 2/8 : FROM ${BASE} [2021-01-16T02:48:42.150Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-16T02:48:42.150Z] 5f621e34cdf4: Pulling fs layer [2021-01-16T02:48:42.150Z] a4357932f1b6: Pulling fs layer [2021-01-16T02:48:42.150Z] 18c013af1878: Pulling fs layer [2021-01-16T02:48:42.150Z] 00ac8860ef70: Pulling fs layer [2021-01-16T02:48:42.150Z] 63d7cb157983: Pulling fs layer [2021-01-16T02:48:42.150Z] b116817d02f9: Pulling fs layer [2021-01-16T02:48:42.150Z] 745a02a5169b: Pulling fs layer [2021-01-16T02:48:42.150Z] 00ac8860ef70: Waiting [2021-01-16T02:48:42.150Z] 63d7cb157983: Waiting [2021-01-16T02:48:42.150Z] b116817d02f9: Waiting [2021-01-16T02:48:42.150Z] 745a02a5169b: Waiting [2021-01-16T02:48:42.150Z] a4357932f1b6: Verifying Checksum [2021-01-16T02:48:42.150Z] a4357932f1b6: Download complete [2021-01-16T02:48:42.150Z] 63d7cb157983: Download complete [2021-01-16T02:48:42.427Z] b116817d02f9: Verifying Checksum [2021-01-16T02:48:42.427Z] b116817d02f9: Download complete [2021-01-16T02:48:42.427Z] 5f621e34cdf4: Verifying Checksum [2021-01-16T02:48:42.427Z] 5f621e34cdf4: Download complete [2021-01-16T02:48:43.036Z] 5f621e34cdf4: Pull complete [2021-01-16T02:48:43.652Z] a4357932f1b6: Pull complete [2021-01-16T02:48:44.254Z] 18c013af1878: Pull complete [2021-01-16T02:48:45.694Z] 745a02a5169b: Verifying Checksum [2021-01-16T02:48:45.694Z] 745a02a5169b: Download complete [2021-01-16T02:48:46.292Z] 00ac8860ef70: Verifying Checksum [2021-01-16T02:48:46.292Z] 00ac8860ef70: Download complete [2021-01-16T02:48:56.465Z] 00ac8860ef70: Pull complete [2021-01-16T02:48:56.465Z] 63d7cb157983: Pull complete [2021-01-16T02:48:56.465Z] b116817d02f9: Pull complete [2021-01-16T02:48:59.845Z] 745a02a5169b: Pull complete [2021-01-16T02:48:59.845Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-16T02:48:59.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-16T02:48:59.845Z] ---> b7e6874047d6 [2021-01-16T02:48:59.845Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:49:03.245Z] ---> Running in e85527bc895e [2021-01-16T02:49:03.245Z] Removing intermediate container e85527bc895e [2021-01-16T02:49:03.245Z] ---> ce99820a506c [2021-01-16T02:49:03.245Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-16T02:49:03.245Z] ---> Running in a516b5e130bd [2021-01-16T02:49:05.867Z] Removing intermediate container a516b5e130bd [2021-01-16T02:49:05.867Z] ---> a25d929dd7c5 [2021-01-16T02:49:05.867Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-16T02:49:05.867Z] ---> Running in 1786ab8a80ee [2021-01-16T02:49:06.462Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-16T02:49:07.433Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-16T02:49:08.025Z] OK: 142 MiB in 39 packages [2021-01-16T02:49:09.004Z] Removing intermediate container 1786ab8a80ee [2021-01-16T02:49:09.004Z] ---> 9683141fcb7c [2021-01-16T02:49:09.004Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-16T02:49:09.276Z] ---> Running in 62f6a0eec4e5 [2021-01-16T02:49:09.872Z] Removing intermediate container 62f6a0eec4e5 [2021-01-16T02:49:09.872Z] ---> f10824e0164e [2021-01-16T02:49:09.872Z] Step 7/8 : COPY . . [2021-01-16T02:49:10.845Z] ---> 14d55fe7eaeb [2021-01-16T02:49:10.845Z] Step 8/8 : RUN go mod download [2021-01-16T02:49:11.119Z] ---> Running in 11b244efd8e2 [2021-01-16T02:49:33.299Z] Removing intermediate container 11b244efd8e2 [2021-01-16T02:49:33.299Z] ---> 2dd04aaad09e [2021-01-16T02:49:33.299Z] Successfully built 2dd04aaad09e [2021-01-16T02:49:33.299Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:49:33.650Z] + docker inspect -f . ci-base-image-arm64 [2021-01-16T02:49:33.650Z] . [Pipeline] withDockerContainer [2021-01-16T02:49:33.897Z] prd-ubuntu18.04-docker-arm64-4c-16g-20748 does not seem to be running inside a container [2021-01-16T02:49:33.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-16T02:49:35.460Z] $ docker top ed05b76f650d656ebce33c2dc335356878ac90a1c34b63dd420aa2380b267065 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:49:36.437Z] + go version [2021-01-16T02:49:36.437Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-16T02:49:36.475Z] $ docker stop --time=1 ed05b76f650d656ebce33c2dc335356878ac90a1c34b63dd420aa2380b267065 [2021-01-16T02:49:38.341Z] $ docker rm -f ed05b76f650d656ebce33c2dc335356878ac90a1c34b63dd420aa2380b267065 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:49:39.330Z] + docker inspect -f . ci-base-image-arm64 [2021-01-16T02:49:39.330Z] . [Pipeline] withDockerContainer [2021-01-16T02:49:39.593Z] prd-ubuntu18.04-docker-arm64-4c-16g-20748 does not seem to be running inside a container [2021-01-16T02:49:39.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-16T02:49:41.187Z] $ docker top 263b517e69150723e710d7ddf7961828e7a6d3ce8ece37705ffbc82e39bbfcfc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:49:42.180Z] + make test [2021-01-16T02:49:42.180Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-16T02:50:04.383Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-16T02:50:43.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-16T02:50:43.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-16T02:50:43.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-16T02:50:44.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.162s coverage: 19.4% of statements [2021-01-16T02:50:49.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.200s coverage: 97.1% of statements [2021-01-16T02:51:21.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.193s coverage: 9.4% of statements [2021-01-16T02:51:21.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 21.7% of statements [2021-01-16T02:51:21.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-16T02:51:21.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.685s coverage: 42.9% of statements [2021-01-16T02:51:21.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-16T02:51:21.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.730s coverage: 68.9% of statements [2021-01-16T02:51:21.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-16T02:51:21.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-16T02:51:21.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-16T02:51:21.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-16T02:51:21.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 53.8% of statements [2021-01-16T02:51:21.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-16T02:51:21.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-16T02:51:21.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.172s coverage: 30.4% of statements [2021-01-16T02:51:21.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.995s coverage: 68.9% of statements [2021-01-16T02:51:21.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.131s coverage: 4.2% of statements [2021-01-16T02:51:21.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-16T02:51:21.864Z] GO111MODULE=on go vet ./... [2021-01-16T02:51:54.292Z] gofmt -l . [2021-01-16T02:51:54.292Z] [ "`gofmt -l .`" = "" ] [2021-01-16T02:51:54.292Z] ./bin/test-attribution-txt.sh [2021-01-16T02:51:54.292Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-16T02:51:54.321Z] $ docker stop --time=1 263b517e69150723e710d7ddf7961828e7a6d3ce8ece37705ffbc82e39bbfcfc [2021-01-16T02:51:56.551Z] $ docker rm -f 263b517e69150723e710d7ddf7961828e7a6d3ce8ece37705ffbc82e39bbfcfc [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-16T02:51:57.732Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-16T02:51:57.799Z] Warning: overwriting stash ‘coverage-report’ [2021-01-16T02:51:58.702Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-16T02:51:59.555Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-16T02:52:00.021Z] + ls -al . [2021-01-16T02:52:00.021Z] total 256 [2021-01-16T02:52:00.021Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 02:51 . [2021-01-16T02:52:00.021Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:48 .. [2021-01-16T02:52:00.021Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 16 02:48 .dockerignore [2021-01-16T02:52:00.021Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 02:48 .git [2021-01-16T02:52:00.021Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 02:48 .github [2021-01-16T02:52:00.021Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 16 02:48 .gitignore [2021-01-16T02:52:00.021Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 16 02:48 Dockerfile.build [2021-01-16T02:52:00.021Z] -rw-rw-r-- 1 jenkins jenkins 894 Jan 16 02:48 Jenkinsfile [2021-01-16T02:52:00.021Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 16 02:48 LICENSE [2021-01-16T02:52:00.021Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 16 02:48 Makefile [2021-01-16T02:52:00.021Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 16 02:48 README.md [2021-01-16T02:52:00.021Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 16 02:48 RELEASE-NOTES.txt [2021-01-16T02:52:00.021Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 02:45 VERSION [2021-01-16T02:52:00.021Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 02:48 bin [2021-01-16T02:52:00.021Z] -rw-r--r-- 1 jenkins jenkins 142787 Jan 16 02:51 coverage.out [2021-01-16T02:52:00.021Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:48 example [2021-01-16T02:52:00.021Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 16 02:51 go.mod [2021-01-16T02:52:00.021Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 16 02:51 go.sum [2021-01-16T02:52:00.021Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 16 02:48 internal [2021-01-16T02:52:00.021Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:48 openapi [2021-01-16T02:52:00.021Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 16 02:48 pkg [2021-01-16T02:52:00.021Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:48 snap [2021-01-16T02:52:00.021Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 16 02:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:52:00.421Z] + 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=d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 --label arch=arm64 --label version=0.0.0 . [2021-01-16T02:52:01.099Z] Sending build context to Docker daemon 2.735MB [2021-01-16T02:52:01.099Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-16T02:52:01.099Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-16T02:52:01.099Z] ---> 2dd04aaad09e [2021-01-16T02:52:01.099Z] Step 3/24 : ARG MAKE='make build' [2021-01-16T02:52:01.381Z] ---> Running in 3e3545a1771f [2021-01-16T02:52:01.991Z] Removing intermediate container 3e3545a1771f [2021-01-16T02:52:01.991Z] ---> 4db25885913d [2021-01-16T02:52:01.991Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-16T02:52:01.991Z] ---> Running in 77bd6a524e38 [2021-01-16T02:52:02.586Z] Removing intermediate container 77bd6a524e38 [2021-01-16T02:52:02.586Z] ---> e57d80a0881b [2021-01-16T02:52:02.586Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:52:02.586Z] ---> Running in cdfa75a904dc [2021-01-16T02:52:03.184Z] Removing intermediate container cdfa75a904dc [2021-01-16T02:52:03.184Z] ---> fe9527299a65 [2021-01-16T02:52:03.184Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-16T02:52:03.184Z] ---> Running in f20ea2ac09ed [2021-01-16T02:52:05.815Z] Removing intermediate container f20ea2ac09ed [2021-01-16T02:52:05.815Z] ---> c36863e2c2ec [2021-01-16T02:52:05.815Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-16T02:52:05.815Z] ---> Running in 43e855e0f884 [2021-01-16T02:52:06.793Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-16T02:52:07.390Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-16T02:52:07.986Z] OK: 142 MiB in 39 packages [2021-01-16T02:52:08.975Z] Removing intermediate container 43e855e0f884 [2021-01-16T02:52:08.975Z] ---> 27ce645be91f [2021-01-16T02:52:08.975Z] Step 8/24 : COPY . . [2021-01-16T02:52:10.411Z] ---> 85058de655d6 [2021-01-16T02:52:10.411Z] Step 9/24 : RUN ${MAKE} [2021-01-16T02:52:10.686Z] ---> Running in bd8f120a87aa [2021-01-16T02:52:11.671Z] 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-01-16T02:52:38.489Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-16T02:52:38.489Z] Removing intermediate container bd8f120a87aa [2021-01-16T02:52:38.489Z] ---> 0c83f1511a26 [2021-01-16T02:52:38.489Z] Step 10/24 : FROM scratch [2021-01-16T02:52:38.489Z] ---> [2021-01-16T02:52:38.489Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-16T02:52:38.489Z] ---> Running in 20a45f75f517 [2021-01-16T02:52:39.079Z] Removing intermediate container 20a45f75f517 [2021-01-16T02:52:39.079Z] ---> abce5d83cee4 [2021-01-16T02:52:39.079Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-16T02:52:39.079Z] ---> Running in 1d61fc97e69c [2021-01-16T02:52:39.351Z] Removing intermediate container 1d61fc97e69c [2021-01-16T02:52:39.351Z] ---> fc9399d3be90 [2021-01-16T02:52:39.351Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-16T02:52:39.621Z] ---> Running in c68cdd45fdea [2021-01-16T02:52:39.892Z] Removing intermediate container c68cdd45fdea [2021-01-16T02:52:39.892Z] ---> 2ab9e61581c9 [2021-01-16T02:52:39.892Z] Step 14/24 : WORKDIR / [2021-01-16T02:52:40.162Z] ---> Running in 1c2b6805ebe4 [2021-01-16T02:52:40.435Z] Removing intermediate container 1c2b6805ebe4 [2021-01-16T02:52:40.435Z] ---> d1bfa8cb9ec8 [2021-01-16T02:52:40.435Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-16T02:52:41.416Z] ---> 6efdc770122d [2021-01-16T02:52:41.416Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-16T02:52:42.396Z] ---> d4c9aba21937 [2021-01-16T02:52:42.396Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-16T02:52:42.987Z] ---> 43651ece4c42 [2021-01-16T02:52:42.987Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-16T02:52:43.583Z] ---> d02077196835 [2021-01-16T02:52:43.583Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-16T02:52:44.177Z] ---> 8bf2b71f822e [2021-01-16T02:52:44.177Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-16T02:52:44.450Z] ---> Running in 7ff5d081b078 [2021-01-16T02:52:44.724Z] Removing intermediate container 7ff5d081b078 [2021-01-16T02:52:44.724Z] ---> dacb3df80e29 [2021-01-16T02:52:44.724Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-16T02:52:44.998Z] ---> Running in 722e0ddaafcd [2021-01-16T02:52:45.594Z] Removing intermediate container 722e0ddaafcd [2021-01-16T02:52:45.594Z] ---> 69981468e6ad [2021-01-16T02:52:45.594Z] Step 22/24 : LABEL arch=arm64 [2021-01-16T02:52:45.594Z] ---> Running in 854a33a27a00 [2021-01-16T02:52:46.192Z] Removing intermediate container 854a33a27a00 [2021-01-16T02:52:46.192Z] ---> 81ec0586d22a [2021-01-16T02:52:46.192Z] Step 23/24 : LABEL git_sha=d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 [2021-01-16T02:52:46.192Z] ---> Running in 0a5816421ecc [2021-01-16T02:52:46.789Z] Removing intermediate container 0a5816421ecc [2021-01-16T02:52:46.789Z] ---> 9355bd5bdd5f [2021-01-16T02:52:46.789Z] Step 24/24 : LABEL version=0.0.0 [2021-01-16T02:52:46.789Z] ---> Running in e6bfd55cc712 [2021-01-16T02:52:47.384Z] Removing intermediate container e6bfd55cc712 [2021-01-16T02:52:47.385Z] ---> 4017d196e0e2 [2021-01-16T02:52:47.385Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-16T02:52:47.385Z] Successfully built 4017d196e0e2 [2021-01-16T02:52:47.385Z] 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 [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-01-16T02:52:49.093Z] provisioning config files... [2021-01-16T02:52:49.105Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config839101420015371631tmp [Pipeline] { [Pipeline] sh [2021-01-16T02:52:49.496Z] + set +x [2021-01-16T02:52:49.496Z] + curl -s https://codecov.io/bash [2021-01-16T02:52:49.496Z] + bash -s -- [2021-01-16T02:52:49.759Z] [2021-01-16T02:52:49.759Z] _____ _ [2021-01-16T02:52:49.759Z] / ____| | | [2021-01-16T02:52:49.759Z] | | ___ __| | ___ ___ _____ __ [2021-01-16T02:52:49.759Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-16T02:52:49.759Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-16T02:52:49.759Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-16T02:52:49.759Z] Bash-20210115-cec3c92 [2021-01-16T02:52:49.759Z] [2021-01-16T02:52:49.759Z] [2021-01-16T02:52:49.759Z] ==> git version 2.24.3 found [2021-01-16T02:52:49.759Z] ==> 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-01-16T02:52:49.759Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-16T02:52:49.759Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-16T02:52:49.759Z] ==> Jenkins CI detected. [2021-01-16T02:52:49.759Z] project root: . [2021-01-16T02:52:49.759Z] --> token set from env [2021-01-16T02:52:49.759Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-16T02:52:49.759Z] ==> Running gcov in . (disable via -X gcov) [2021-01-16T02:52:49.759Z] ==> Python coveragepy not found [2021-01-16T02:52:49.759Z] ==> Searching for coverage reports in: [2021-01-16T02:52:49.759Z] + . [2021-01-16T02:52:49.759Z] -> Found 1 reports [2021-01-16T02:52:49.759Z] ==> Detecting git/mercurial file structure [2021-01-16T02:52:49.759Z] ==> Reading reports [2021-01-16T02:52:49.759Z] + ./coverage.out bytes=142787 [2021-01-16T02:52:49.759Z] ==> Appending adjustments [2021-01-16T02:52:49.759Z] https://docs.codecov.io/docs/fixing-reports [2021-01-16T02:52:50.337Z] + Found adjustments [2021-01-16T02:52:50.337Z] ==> Gzipping contents [2021-01-16T02:52:50.337Z] 24K /tmp/codecov.GR3P2A.gz [2021-01-16T02:52:50.337Z] ==> Uploading reports [2021-01-16T02:52:50.337Z] url: https://codecov.io [2021-01-16T02:52:50.337Z] query: branch=PR-725&commit=d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-01-16T02:52:50.337Z] -> Pinging Codecov [2021-01-16T02:52:50.337Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-725&commit=d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-01-16T02:52:50.600Z] -> Uploading to [2021-01-16T02:52:50.600Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-16/7E55EF52A471D76F132DFD9A03CDDE97/d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69/8b046bb4-fc8f-4846-abb9-5c9ce6069a39.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210116T025250Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d8a143d572ad604fea23d95acf805db77ac8f1c7a691d1da0230ce8ad68e9324 [2021-01-16T02:52:50.600Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-16T02:52:50.600Z] Dload Upload Total Spent Left Speed [2021-01-16T02:52:51.176Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22131 0 0 100 22131 0 42987 --:--:-- --:--:-- --:--:-- 43056 [2021-01-16T02:52:51.176Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d74631b43476f3b8ab0fbd5dd4f3cfb53a0c6e69 [Pipeline] } [2021-01-16T02:52:51.186Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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-01-16T02:52:53.682Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:52:54.255Z] ---> package-listing.sh [2021-01-16T02:52:54.255Z] ++ facter osfamily [2021-01-16T02:52:54.255Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-16T02:52:54.255Z] + OS_FAMILY=redhat [2021-01-16T02:52:54.255Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-01-16T02:52:54.255Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-16T02:52:54.255Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-16T02:52:54.255Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-16T02:52:54.255Z] + PACKAGES=/tmp/packages_start.txt [2021-01-16T02:52:54.255Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-01-16T02:52:54.255Z] + PACKAGES=/tmp/packages_end.txt [2021-01-16T02:52:54.255Z] + case "${OS_FAMILY}" in [2021-01-16T02:52:54.255Z] + rpm -qa [2021-01-16T02:52:54.255Z] + sort [2021-01-16T02:52:59.578Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-16T02:52:59.578Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-16T02:52:59.578Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-16T02:52:59.579Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-01-16T02:52:59.579Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-01-16T02:52:59.579Z] + 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-01-16T02:52:59.594Z] 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-01-16T02:52:59.888Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:53:00.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-16T02:53:00.204Z] [2021-01-16T02:53:00.204Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-16T02:53:00.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-16T02:53:00.564Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-16T02:53:00.564Z] df20fa9351a1: Pulling fs layer [2021-01-16T02:53:00.564Z] 36b3adc4ff6f: Pulling fs layer [2021-01-16T02:53:00.564Z] 8ad3a11d3b57: Pulling fs layer [2021-01-16T02:53:00.564Z] 46f8f816bc3b: Pulling fs layer [2021-01-16T02:53:00.564Z] 93b61091891f: Pulling fs layer [2021-01-16T02:53:00.564Z] 93b9cdb0e59b: Pulling fs layer [2021-01-16T02:53:00.564Z] 5e14af77c1be: Pulling fs layer [2021-01-16T02:53:00.564Z] 01666e4c0597: Pulling fs layer [2021-01-16T02:53:00.565Z] aa168da1d23b: Pulling fs layer [2021-01-16T02:53:00.565Z] 46f8f816bc3b: Waiting [2021-01-16T02:53:00.565Z] 93b61091891f: Waiting [2021-01-16T02:53:00.565Z] 93b9cdb0e59b: Waiting [2021-01-16T02:53:00.565Z] 5e14af77c1be: Waiting [2021-01-16T02:53:00.565Z] 01666e4c0597: Waiting [2021-01-16T02:53:00.565Z] aa168da1d23b: Waiting [2021-01-16T02:53:00.565Z] 36b3adc4ff6f: Download complete [2021-01-16T02:53:00.827Z] 46f8f816bc3b: Verifying Checksum [2021-01-16T02:53:00.827Z] 46f8f816bc3b: Download complete [2021-01-16T02:53:00.827Z] df20fa9351a1: Verifying Checksum [2021-01-16T02:53:00.827Z] df20fa9351a1: Download complete [2021-01-16T02:53:00.827Z] 93b9cdb0e59b: Verifying Checksum [2021-01-16T02:53:00.827Z] 93b9cdb0e59b: Download complete [2021-01-16T02:53:00.827Z] 5e14af77c1be: Verifying Checksum [2021-01-16T02:53:00.827Z] 5e14af77c1be: Download complete [2021-01-16T02:53:00.827Z] 93b61091891f: Download complete [2021-01-16T02:53:00.827Z] 01666e4c0597: Download complete [2021-01-16T02:53:01.091Z] df20fa9351a1: Pull complete [2021-01-16T02:53:01.355Z] 36b3adc4ff6f: Pull complete [2021-01-16T02:53:01.622Z] 8ad3a11d3b57: Verifying Checksum [2021-01-16T02:53:01.622Z] 8ad3a11d3b57: Download complete [2021-01-16T02:53:02.602Z] 8ad3a11d3b57: Pull complete [2021-01-16T02:53:02.879Z] 46f8f816bc3b: Pull complete [2021-01-16T02:53:03.142Z] 93b61091891f: Pull complete [2021-01-16T02:53:03.405Z] 93b9cdb0e59b: Pull complete [2021-01-16T02:53:03.405Z] aa168da1d23b: Download complete [2021-01-16T02:53:03.993Z] 5e14af77c1be: Pull complete [2021-01-16T02:53:03.993Z] 01666e4c0597: Pull complete [2021-01-16T02:53:10.649Z] aa168da1d23b: Pull complete [2021-01-16T02:53:10.649Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-16T02:53:10.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-16T02:53:10.649Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-16T02:53:10.792Z] prd-centos7-docker-4c-2g-20743 does not seem to be running inside a container [2021-01-16T02:53:10.839Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-16T02:53:14.393Z] $ docker top 971a03bee752ea109fd56d24a658421cb244311c4d4954216a8e63d0d4442688 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-16T02:53:14.955Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-16T02:53:15.261Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-16T02:53:15.564Z] + ls /var/log/sa-host [2021-01-16T02:53:15.564Z] + sadf -c /var/log/sa-host/sa16 [2021-01-16T02:53:15.564Z] file_magic: OK [2021-01-16T02:53:15.564Z] HZ: Using current value: 100 [2021-01-16T02:53:15.564Z] file_header: OK [2021-01-16T02:53:15.564Z] 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-01-16T02:53:15.564Z] Statistics: [2021-01-16T02:53:15.564Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-16T02:53:15.564Z] File successfully converted to sysstat format version 12.2.1 [2021-01-16T02:53:15.564Z] + sadf -c /var/log/sa-host/sa23 [2021-01-16T02:53:15.564Z] file_magic: OK [2021-01-16T02:53:15.564Z] HZ: Using current value: 100 [2021-01-16T02:53:15.564Z] file_header: OK [2021-01-16T02:53:15.564Z] 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-01-16T02:53:15.564Z] Statistics: [2021-01-16T02:53:15.564Z] Hnuu...uuuununununu... [2021-01-16T02:53:15.564Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-16T02:53:15.785Z] provisioning config files... [2021-01-16T02:53:15.804Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2485009501571397737tmp [Pipeline] { [Pipeline] echo [2021-01-16T02:53:15.874Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:53:16.173Z] ---> create-netrc.sh [Pipeline] } [2021-01-16T02:53:16.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-16T02:53:16.299Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:53:16.598Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-16T02:53:16.610Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:53:16.909Z] ---> sudo-logs.sh [2021-01-16T02:53:16.909Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-16T02:53:16.922Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:53:17.223Z] ---> job-cost.sh [2021-01-16T02:53:17.223Z] lf-activate-venv: SKIPPING [2021-01-16T02:53:17.223Z] INFO: No Stack... [2021-01-16T02:53:18.617Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-16T02:53:19.193Z] INFO: Archiving Costs [Pipeline] echo [2021-01-16T02:53:19.209Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-16T02:53:19.512Z] ---> logs-deploy.sh [2021-01-16T02:53:19.512Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/4 [2021-01-16T02:53:19.512Z] INFO: archiving workspace using pattern(s): [2021-01-16T02:53:21.438Z] Archives upload complete. [2021-01-16T02:53:21.438Z] INFO: archiving logs to Nexus