Pull request #738 opened 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from dd82d30efdce0c7c03bbef2a4778dc48fdaaa401+4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (58302adbc20b73b362a78390eb695c62af60038e) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-738/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-738/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-20967 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [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-738 # 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 dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 > 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/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 # timeout=10 Merge succeeded, producing dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 Checking out Revision dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 (PR-738) > 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 dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 # timeout=10 Commit message: "refactor: remove ValueType enumeration in Go-SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-18T08:51:17.400Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-18T08:51:17.805Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-18T08:51:18.057Z] ========================================================= [2021-01-18T08:51:18.057Z] EdgeX Global Pipelines Version Info [2021-01-18T08:51:18.057Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:51:19.570Z] ------------------- [2021-01-18T08:51:19.570Z] stable info: [2021-01-18T08:51:19.570Z] ------------------- [2021-01-18T08:51:19.570Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-18T08:51:19.570Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-18T08:51:19.570Z] Message: update stable to v1.0.177 [2021-01-18T08:51:20.517Z] ------------------- [2021-01-18T08:51:20.517Z] experimental info: [2021-01-18T08:51:20.517Z] ------------------- [2021-01-18T08:51:20.517Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-18T08:51:20.517Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-18T08:51:20.517Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-18T08:51:20.905Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-18T08:51:21.057Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-18T08:51:21.184Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-18T08:51:21.309Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-18T08:51:21.456Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-18T08:51:21.645Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-18T08:51:21.780Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-18T08:51:21.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-18T08:51:22.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-18T08:51:22.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-18T08:51:22.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-18T08:51:22.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-18T08:51:22.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-18T08:51:22.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-18T08:51:22.842Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-18T08:51:22.969Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T08:51:23.165Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T08:51:23.294Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-18T08:51:23.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-18T08:51:23.560Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-18T08:51:23.683Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-18T08:51:23.832Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-18T08:51:23.982Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-18T08:51:24.123Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-18T08:51:24.246Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-18T08:51:24.373Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-18T08:51:24.501Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-18T08:51:24.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-738 [Pipeline] echo [2021-01-18T08:51:24.759Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-738 [Pipeline] echo [2021-01-18T08:51:24.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-738 [Pipeline] echo [2021-01-18T08:51:25.023Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 [Pipeline] echo [2021-01-18T08:51:25.145Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd82d30 [Pipeline] echo [2021-01-18T08:51:25.270Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T08:51:25.578Z] provisioning config files... [2021-01-18T08:51:25.609Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config9109391243012800249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:51:26.040Z] ---> docker-login.sh [2021-01-18T08:51:26.040Z] nexus3.edgexfoundry.org:10001 [2021-01-18T08:51:26.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:51:26.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:51:26.306Z] Configure a credential helper to remove this warning. See [2021-01-18T08:51:26.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:51:26.306Z] [2021-01-18T08:51:26.306Z] Login Succeeded [2021-01-18T08:51:26.306Z] nexus3.edgexfoundry.org:10002 [2021-01-18T08:51:26.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:51:26.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:51:26.566Z] Configure a credential helper to remove this warning. See [2021-01-18T08:51:26.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:51:26.566Z] [2021-01-18T08:51:26.566Z] Login Succeeded [2021-01-18T08:51:26.566Z] nexus3.edgexfoundry.org:10003 [2021-01-18T08:51:26.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:51:26.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:51:26.566Z] Configure a credential helper to remove this warning. See [2021-01-18T08:51:26.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:51:26.566Z] [2021-01-18T08:51:26.566Z] Login Succeeded [2021-01-18T08:51:26.566Z] nexus3.edgexfoundry.org:10004 [2021-01-18T08:51:26.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:51:26.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:51:26.827Z] Configure a credential helper to remove this warning. See [2021-01-18T08:51:26.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:51:26.828Z] [2021-01-18T08:51:26.828Z] Login Succeeded [2021-01-18T08:51:26.828Z] docker.io [2021-01-18T08:51:26.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:51:27.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:51:27.089Z] Configure a credential helper to remove this warning. See [2021-01-18T08:51:27.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:51:27.089Z] [2021-01-18T08:51:27.089Z] Login Succeeded [2021-01-18T08:51:27.089Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T08:51:27.113Z] 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-18T08:51:28.175Z] + git log --format=format:%s -1 dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 [Pipeline] echo [2021-01-18T08:51:28.261Z] GIT_COMMIT: dd82d30efdce0c7c03bbef2a4778dc48fdaaa401, Commit Message: refactor: remove ValueType enumeration in Go-SDK [Pipeline] echo [2021-01-18T08:51:28.340Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:51:29.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T08:51:29.448Z] [2021-01-18T08:51:29.448Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:51:29.844Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T08:51:29.845Z] latest: Pulling from edgex-devops/git-semver [2021-01-18T08:51:29.845Z] 31603596830f: Pulling fs layer [2021-01-18T08:51:29.845Z] 2a8b12db71e7: Pulling fs layer [2021-01-18T08:51:29.845Z] 6ca5941a6612: Pulling fs layer [2021-01-18T08:51:29.845Z] ecc8261a40a4: Pulling fs layer [2021-01-18T08:51:29.845Z] ecc8261a40a4: Waiting [2021-01-18T08:51:29.845Z] 2a8b12db71e7: Verifying Checksum [2021-01-18T08:51:29.845Z] 2a8b12db71e7: Download complete [2021-01-18T08:51:29.845Z] 31603596830f: Verifying Checksum [2021-01-18T08:51:29.845Z] 31603596830f: Download complete [2021-01-18T08:51:30.112Z] ecc8261a40a4: Verifying Checksum [2021-01-18T08:51:30.112Z] ecc8261a40a4: Download complete [2021-01-18T08:51:30.112Z] 6ca5941a6612: Verifying Checksum [2021-01-18T08:51:30.112Z] 6ca5941a6612: Download complete [2021-01-18T08:51:30.112Z] 31603596830f: Pull complete [2021-01-18T08:51:30.372Z] 2a8b12db71e7: Pull complete [2021-01-18T08:51:30.948Z] 6ca5941a6612: Pull complete [2021-01-18T08:51:31.210Z] ecc8261a40a4: Pull complete [2021-01-18T08:51:31.210Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-18T08:51:31.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-18T08:51:31.210Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-18T08:51:31.329Z] prd-centos7-docker-4c-2g-20967 does not seem to be running inside a container [2021-01-18T08:51:31.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-738 -v /w/workspace/dgexfoundry_device-sdk-go_PR-738:/w/workspace/dgexfoundry_device-sdk-go_PR-738:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-18T08:51:33.156Z] $ docker top d4d32b20229bd23d41edbc5bffc86e6ebc0fb3ad981962d2626c0c8b63bcab95 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-18T08:51:33.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T08:51:33.530Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T08:51:33.703Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T08:51:33.707Z] $ docker exec d4d32b20229bd23d41edbc5bffc86e6ebc0fb3ad981962d2626c0c8b63bcab95 ssh-agent [2021-01-18T08:51:33.858Z] SSH_AUTH_SOCK=/tmp/ssh-9VhKTi8gPGDa/agent.12 [2021-01-18T08:51:33.858Z] SSH_AGENT_PID=17 [2021-01-18T08:51:33.868Z] Running ssh-add (command line suppressed) [2021-01-18T08:51:33.975Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_542187976264196137.key (/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_542187976264196137.key) [2021-01-18T08:51:34.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T08:51:34.409Z] + git tag --points-at HEAD [Pipeline] } [2021-01-18T08:51:34.437Z] $ docker exec --env ******** --env ******** d4d32b20229bd23d41edbc5bffc86e6ebc0fb3ad981962d2626c0c8b63bcab95 ssh-agent -k [2021-01-18T08:51:34.538Z] unset SSH_AUTH_SOCK; [2021-01-18T08:51:34.539Z] unset SSH_AGENT_PID; [2021-01-18T08:51:34.539Z] echo Agent pid 17 killed; [2021-01-18T08:51:34.582Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-18T08:51:34.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-18T08:51:34.781Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-18T08:51:34.930Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-18T08:51:34.933Z] $ docker exec d4d32b20229bd23d41edbc5bffc86e6ebc0fb3ad981962d2626c0c8b63bcab95 ssh-agent [2021-01-18T08:51:35.087Z] SSH_AUTH_SOCK=/tmp/ssh-S8U5J295Qej5/agent.45 [2021-01-18T08:51:35.087Z] SSH_AGENT_PID=50 [2021-01-18T08:51:35.093Z] Running ssh-add (command line suppressed) [2021-01-18T08:51:35.199Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_2173055171755343200.key (/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_2173055171755343200.key) [2021-01-18T08:51:35.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-18T08:51:35.633Z] + git semver init [2021-01-18T08:51:35.633Z] # -> Open(): unable to determine branch for HEAD [2021-01-18T08:51:35.633Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-738/.git [2021-01-18T08:51:35.633Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-738 [2021-01-18T08:51:35.633Z] # $SEMVER_REMOTE_NAME = origin [2021-01-18T08:51:35.633Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-18T08:51:35.633Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-18T08:51:35.633Z] # $SEMVER_BRANCH = PR-738 [2021-01-18T08:51:35.633Z] # $SEMVER_TEMP = /tmp/semver-532326631 [2021-01-18T08:51:35.633Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-18T08:51:36.205Z] # '/tmp/semver-532326631' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-738/.semver' [2021-01-18T08:51:36.205Z] # -> Force: false [2021-01-18T08:51:36.205Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-738/.semver [Pipeline] } [2021-01-18T08:51:36.223Z] $ docker exec --env ******** --env ******** d4d32b20229bd23d41edbc5bffc86e6ebc0fb3ad981962d2626c0c8b63bcab95 ssh-agent -k [2021-01-18T08:51:36.324Z] unset SSH_AUTH_SOCK; [2021-01-18T08:51:36.324Z] unset SSH_AGENT_PID; [2021-01-18T08:51:36.324Z] echo Agent pid 50 killed; [2021-01-18T08:51:36.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-18T08:51:36.916Z] + git semver [Pipeline] } [2021-01-18T08:51:36.945Z] $ docker stop --time=1 d4d32b20229bd23d41edbc5bffc86e6ebc0fb3ad981962d2626c0c8b63bcab95 [2021-01-18T08:51:39.161Z] $ docker rm -f d4d32b20229bd23d41edbc5bffc86e6ebc0fb3ad981962d2626c0c8b63bcab95 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T08:51:39.651Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-18T08:51:40.057Z] Stashed 1 file(s) [Pipeline] echo [2021-01-18T08:51:40.080Z] [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-18T08:51:41.148Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20954 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [Pipeline] { [Pipeline] ws [2021-01-18T08:51:41.238Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-18T08:51:45.797Z] using credential edgex-jenkins-ssh [2021-01-18T08:51:45.861Z] Cloning the remote Git repository [2021-01-18T08:51:45.926Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T08:51:46.029Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-18T08:51:46.123Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T08:51:46.124Z] > git --version # timeout=10 [2021-01-18T08:51:46.141Z] > git --version # 'git version 2.17.1' [2021-01-18T08:51:46.143Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T08:51:46.216Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T08:51:47.127Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T08:51:47.156Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T08:51:47.179Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T08:51:47.210Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T08:51:47.210Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T08:51:47.222Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-18T08:51:47.860Z] Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 [2021-01-18T08:51:48.094Z] Merge succeeded, producing dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 [2021-01-18T08:51:48.095Z] Checking out Revision dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 (PR-738) [2021-01-18T08:51:47.885Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T08:51:47.903Z] > git checkout -f dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 # timeout=10 [2021-01-18T08:51:48.016Z] > git remote # timeout=10 [2021-01-18T08:51:48.034Z] > git config --get remote.origin.url # timeout=10 [2021-01-18T08:51:48.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T08:51:48.064Z] > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-18T08:51:48.086Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-18T08:51:48.107Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T08:51:48.121Z] > git checkout -f dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 # timeout=10 [2021-01-18T08:51:52.368Z] Commit message: "refactor: remove ValueType enumeration in Go-SDK" [2021-01-18T08:51:52.444Z] > git --version # timeout=10 [2021-01-18T08:51:52.461Z] > git --version # 'git version 2.17.1' [2021-01-18T08:51:52.476Z] fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T08:51:54.160Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-18T08:51:54.574Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-18T08:51:54.947Z] + true [2021-01-18T08:51:54.947Z] + sudo service docker restart [2021-01-18T08:51:55.949Z] Still waiting to schedule task [2021-01-18T08:51:55.950Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T08:51:57.066Z] provisioning config files... [2021-01-18T08:51:57.109Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4841895949312520933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:51:57.552Z] ---> docker-login.sh [2021-01-18T08:51:57.552Z] nexus3.edgexfoundry.org:10001 [2021-01-18T08:51:58.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:51:58.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:51:58.808Z] Configure a credential helper to remove this warning. See [2021-01-18T08:51:58.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:51:58.808Z] [2021-01-18T08:51:58.808Z] Login Succeeded [2021-01-18T08:51:58.808Z] nexus3.edgexfoundry.org:10002 [2021-01-18T08:51:59.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:51:59.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:51:59.080Z] Configure a credential helper to remove this warning. See [2021-01-18T08:51:59.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:51:59.080Z] [2021-01-18T08:51:59.080Z] Login Succeeded [2021-01-18T08:51:59.080Z] nexus3.edgexfoundry.org:10003 [2021-01-18T08:51:59.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:51:59.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:51:59.678Z] Configure a credential helper to remove this warning. See [2021-01-18T08:51:59.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:51:59.678Z] [2021-01-18T08:51:59.678Z] Login Succeeded [2021-01-18T08:51:59.678Z] nexus3.edgexfoundry.org:10004 [2021-01-18T08:51:59.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:52:00.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:52:00.229Z] Configure a credential helper to remove this warning. See [2021-01-18T08:52:00.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:52:00.229Z] [2021-01-18T08:52:00.229Z] Login Succeeded [2021-01-18T08:52:00.229Z] docker.io [2021-01-18T08:52:00.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:52:01.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:52:01.115Z] Configure a credential helper to remove this warning. See [2021-01-18T08:52:01.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:52:01.115Z] [2021-01-18T08:52:01.115Z] Login Succeeded [2021-01-18T08:52:01.115Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T08:52:01.157Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-18T08:52:01.734Z] ========================================================= [2021-01-18T08:52:01.734Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-18T08:52:01.734Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:52:02.153Z] + 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-18T08:52:02.428Z] Sending build context to Docker daemon 2.566MB [2021-01-18T08:52:02.704Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T08:52:02.704Z] Step 2/8 : FROM ${BASE} [2021-01-18T08:52:02.704Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-18T08:52:02.704Z] 5f621e34cdf4: Pulling fs layer [2021-01-18T08:52:02.704Z] a4357932f1b6: Pulling fs layer [2021-01-18T08:52:02.704Z] 18c013af1878: Pulling fs layer [2021-01-18T08:52:02.704Z] 00ac8860ef70: Pulling fs layer [2021-01-18T08:52:02.704Z] 63d7cb157983: Pulling fs layer [2021-01-18T08:52:02.704Z] b116817d02f9: Pulling fs layer [2021-01-18T08:52:02.704Z] 745a02a5169b: Pulling fs layer [2021-01-18T08:52:02.704Z] 63d7cb157983: Waiting [2021-01-18T08:52:02.704Z] 00ac8860ef70: Waiting [2021-01-18T08:52:02.704Z] b116817d02f9: Waiting [2021-01-18T08:52:02.704Z] 745a02a5169b: Waiting [2021-01-18T08:52:02.704Z] 18c013af1878: Verifying Checksum [2021-01-18T08:52:02.704Z] 18c013af1878: Download complete [2021-01-18T08:52:02.704Z] a4357932f1b6: Verifying Checksum [2021-01-18T08:52:02.704Z] a4357932f1b6: Download complete [2021-01-18T08:52:02.704Z] 63d7cb157983: Verifying Checksum [2021-01-18T08:52:02.704Z] 63d7cb157983: Download complete [2021-01-18T08:52:02.704Z] b116817d02f9: Verifying Checksum [2021-01-18T08:52:02.704Z] b116817d02f9: Download complete [2021-01-18T08:52:02.704Z] 5f621e34cdf4: Verifying Checksum [2021-01-18T08:52:02.704Z] 5f621e34cdf4: Download complete [2021-01-18T08:52:03.690Z] 5f621e34cdf4: Pull complete [2021-01-18T08:52:03.968Z] a4357932f1b6: Pull complete [2021-01-18T08:52:04.574Z] 18c013af1878: Pull complete [2021-01-18T08:52:05.557Z] 745a02a5169b: Verifying Checksum [2021-01-18T08:52:05.557Z] 745a02a5169b: Download complete [2021-01-18T08:52:06.620Z] 00ac8860ef70: Verifying Checksum [2021-01-18T08:52:06.620Z] 00ac8860ef70: Download complete [2021-01-18T08:52:16.804Z] 00ac8860ef70: Pull complete [2021-01-18T08:52:17.079Z] 63d7cb157983: Pull complete [2021-01-18T08:52:17.355Z] b116817d02f9: Pull complete [2021-01-18T08:52:21.682Z] 745a02a5169b: Pull complete [2021-01-18T08:52:21.682Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-18T08:52:21.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-18T08:52:21.682Z] ---> b7e6874047d6 [2021-01-18T08:52:21.682Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T08:52:24.308Z] ---> Running in 0105fb40b41d [2021-01-18T08:52:24.308Z] Removing intermediate container 0105fb40b41d [2021-01-18T08:52:24.308Z] ---> aec7d89a0659 [2021-01-18T08:52:24.308Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T08:52:24.581Z] ---> Running in d4c89b94c0eb [2021-01-18T08:52:27.201Z] Removing intermediate container d4c89b94c0eb [2021-01-18T08:52:27.201Z] ---> 37c34d7677d1 [2021-01-18T08:52:27.201Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-18T08:52:27.201Z] ---> Running in e71af25e2480 [2021-01-18T08:52:28.179Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-18T08:52:28.771Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-18T08:52:29.748Z] OK: 142 MiB in 39 packages [2021-01-18T08:52:30.737Z] Removing intermediate container e71af25e2480 [2021-01-18T08:52:30.737Z] ---> 19520df34813 [2021-01-18T08:52:30.737Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-18T08:52:30.737Z] ---> Running in 8c1dd347610a [2021-01-18T08:52:31.347Z] Removing intermediate container 8c1dd347610a [2021-01-18T08:52:31.347Z] ---> 55f7f346352f [2021-01-18T08:52:31.347Z] Step 7/8 : COPY . . [2021-01-18T08:52:32.786Z] ---> 6387b146231c [2021-01-18T08:52:32.786Z] Step 8/8 : RUN go mod download [2021-01-18T08:52:32.786Z] ---> Running in d80ba915aa71 [2021-01-18T08:52:54.974Z] Removing intermediate container d80ba915aa71 [2021-01-18T08:52:54.974Z] ---> dd79819a24b9 [2021-01-18T08:52:54.974Z] Successfully built dd79819a24b9 [2021-01-18T08:52:54.974Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:52:55.349Z] + docker inspect -f . ci-base-image-arm64 [2021-01-18T08:52:55.349Z] . [Pipeline] withDockerContainer [2021-01-18T08:52:55.634Z] prd-ubuntu18.04-docker-arm64-4c-16g-20954 does not seem to be running inside a container [2021-01-18T08:52:55.720Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-18T08:52:57.236Z] $ docker top 6130f120e34ab1b83b437137e7d3d468d1761e963f1129d666a1cfa4677d1fb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T08:52:58.300Z] + go version [2021-01-18T08:52:58.300Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-18T08:52:58.340Z] $ docker stop --time=1 6130f120e34ab1b83b437137e7d3d468d1761e963f1129d666a1cfa4677d1fb7 [2021-01-18T08:53:00.226Z] $ docker rm -f 6130f120e34ab1b83b437137e7d3d468d1761e963f1129d666a1cfa4677d1fb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:53:01.514Z] + docker inspect -f . ci-base-image-arm64 [2021-01-18T08:53:01.514Z] . [Pipeline] withDockerContainer [2021-01-18T08:53:01.765Z] prd-ubuntu18.04-docker-arm64-4c-16g-20954 does not seem to be running inside a container [2021-01-18T08:53:01.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-18T08:53:03.352Z] $ docker top ab29e35a247126bb1c58584d8aa4fc20336fd30f0374ab2fa6f0e71398140279 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T08:53:04.379Z] + make test [2021-01-18T08:53:04.379Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-18T08:53:26.542Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-18T08:54:05.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-18T08:54:05.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-18T08:54:05.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-18T08:54:06.199Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.128s coverage: 19.4% of statements [2021-01-18T08:54:08.221Z] Running on prd-centos7-docker-4c-2g-20969 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [Pipeline] { [Pipeline] ws [2021-01-18T08:54:08.313Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-18T08:54:10.684Z] using credential edgex-jenkins-ssh [2021-01-18T08:54:10.737Z] Cloning the remote Git repository [2021-01-18T08:54:11.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.211s coverage: 97.1% of statements [2021-01-18T08:54:10.761Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T08:54:10.828Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-18T08:54:10.881Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T08:54:10.882Z] > git --version # timeout=10 [2021-01-18T08:54:10.889Z] > git --version # 'git version 2.24.3' [2021-01-18T08:54:10.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T08:54:10.917Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T08:54:11.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T08:54:11.649Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-18T08:54:11.660Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-18T08:54:11.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-18T08:54:11.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T08:54:11.681Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-18T08:54:12.212Z] Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 [2021-01-18T08:54:12.334Z] Merge succeeded, producing dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 [2021-01-18T08:54:12.334Z] Checking out Revision dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 (PR-738) [2021-01-18T08:54:12.227Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T08:54:12.233Z] > git checkout -f dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 # timeout=10 [2021-01-18T08:54:12.295Z] > git remote # timeout=10 [2021-01-18T08:54:12.304Z] > git config --get remote.origin.url # timeout=10 [2021-01-18T08:54:12.313Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-18T08:54:12.317Z] > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 [2021-01-18T08:54:12.327Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-18T08:54:12.338Z] > git config core.sparsecheckout # timeout=10 [2021-01-18T08:54:12.346Z] > git checkout -f dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 # timeout=10 [2021-01-18T08:54:16.005Z] Commit message: "refactor: remove ValueType enumeration in Go-SDK" [2021-01-18T08:54:16.037Z] > git --version # timeout=10 [2021-01-18T08:54:16.044Z] > git --version # 'git version 2.24.3' [2021-01-18T08:54:16.050Z] fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T08:54:17.499Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-18T08:54:17.850Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-18T08:54:18.188Z] + sudo service docker restart [2021-01-18T08:54:18.188Z] + true [2021-01-18T08:54:18.188Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-18T08:54:19.300Z] provisioning config files... [2021-01-18T08:54:19.326Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8180592290057865982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:54:19.754Z] ---> docker-login.sh [2021-01-18T08:54:19.754Z] nexus3.edgexfoundry.org:10001 [2021-01-18T08:54:20.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:54:20.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:54:20.022Z] Configure a credential helper to remove this warning. See [2021-01-18T08:54:20.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:54:20.022Z] [2021-01-18T08:54:20.022Z] Login Succeeded [2021-01-18T08:54:20.022Z] nexus3.edgexfoundry.org:10002 [2021-01-18T08:54:20.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:54:20.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:54:20.285Z] Configure a credential helper to remove this warning. See [2021-01-18T08:54:20.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:54:20.285Z] [2021-01-18T08:54:20.285Z] Login Succeeded [2021-01-18T08:54:20.285Z] nexus3.edgexfoundry.org:10003 [2021-01-18T08:54:20.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:54:20.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:54:20.556Z] Configure a credential helper to remove this warning. See [2021-01-18T08:54:20.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:54:20.556Z] [2021-01-18T08:54:20.556Z] Login Succeeded [2021-01-18T08:54:20.556Z] nexus3.edgexfoundry.org:10004 [2021-01-18T08:54:20.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:54:20.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:54:20.823Z] Configure a credential helper to remove this warning. See [2021-01-18T08:54:20.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:54:20.823Z] [2021-01-18T08:54:20.823Z] Login Succeeded [2021-01-18T08:54:20.823Z] docker.io [2021-01-18T08:54:20.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-18T08:54:21.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-18T08:54:21.086Z] Configure a credential helper to remove this warning. See [2021-01-18T08:54:21.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-18T08:54:21.086Z] [2021-01-18T08:54:21.086Z] Login Succeeded [2021-01-18T08:54:21.086Z] ---> docker-login.sh ends [Pipeline] } [2021-01-18T08:54:21.113Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-18T08:54:21.661Z] ========================================================= [2021-01-18T08:54:21.661Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-18T08:54:21.661Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:54:22.059Z] + 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-18T08:54:22.059Z] Sending build context to Docker daemon 2.56MB [2021-01-18T08:54:22.330Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T08:54:22.330Z] Step 2/8 : FROM ${BASE} [2021-01-18T08:54:22.330Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-18T08:54:22.330Z] 188c0c94c7c5: Pulling fs layer [2021-01-18T08:54:22.330Z] 0ef7d3d256c8: Pulling fs layer [2021-01-18T08:54:22.330Z] de9db76c5a1d: Pulling fs layer [2021-01-18T08:54:22.330Z] bca2f99d35d6: Pulling fs layer [2021-01-18T08:54:22.330Z] 93359f2a8cfa: Pulling fs layer [2021-01-18T08:54:22.330Z] 7c6f9722023f: Pulling fs layer [2021-01-18T08:54:22.330Z] a35cf1a2eb13: Pulling fs layer [2021-01-18T08:54:22.330Z] bca2f99d35d6: Waiting [2021-01-18T08:54:22.330Z] 7c6f9722023f: Waiting [2021-01-18T08:54:22.330Z] 93359f2a8cfa: Waiting [2021-01-18T08:54:22.330Z] a35cf1a2eb13: Waiting [2021-01-18T08:54:22.330Z] de9db76c5a1d: Verifying Checksum [2021-01-18T08:54:22.330Z] de9db76c5a1d: Download complete [2021-01-18T08:54:22.330Z] 0ef7d3d256c8: Verifying Checksum [2021-01-18T08:54:22.330Z] 0ef7d3d256c8: Download complete [2021-01-18T08:54:22.330Z] 93359f2a8cfa: Verifying Checksum [2021-01-18T08:54:22.330Z] 93359f2a8cfa: Download complete [2021-01-18T08:54:22.330Z] 188c0c94c7c5: Verifying Checksum [2021-01-18T08:54:22.330Z] 188c0c94c7c5: Download complete [2021-01-18T08:54:22.330Z] 7c6f9722023f: Verifying Checksum [2021-01-18T08:54:22.330Z] 7c6f9722023f: Download complete [2021-01-18T08:54:22.595Z] 188c0c94c7c5: Pull complete [2021-01-18T08:54:22.857Z] 0ef7d3d256c8: Pull complete [2021-01-18T08:54:22.857Z] de9db76c5a1d: Pull complete [2021-01-18T08:54:24.792Z] a35cf1a2eb13: Verifying Checksum [2021-01-18T08:54:24.793Z] a35cf1a2eb13: Download complete [2021-01-18T08:54:25.372Z] bca2f99d35d6: Verifying Checksum [2021-01-18T08:54:25.372Z] bca2f99d35d6: Download complete [2021-01-18T08:54:30.692Z] bca2f99d35d6: Pull complete [2021-01-18T08:54:30.692Z] 93359f2a8cfa: Pull complete [2021-01-18T08:54:30.692Z] 7c6f9722023f: Pull complete [2021-01-18T08:54:38.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.122s coverage: 9.4% of statements [2021-01-18T08:54:38.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.124s coverage: 21.7% of statements [2021-01-18T08:54:38.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-18T08:54:38.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.621s coverage: 42.9% of statements [2021-01-18T08:54:38.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-18T08:54:38.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.744s coverage: 68.9% of statements [2021-01-18T08:54:38.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-18T08:54:38.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-18T08:54:38.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-18T08:54:38.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-18T08:54:38.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.194s coverage: 53.8% of statements [2021-01-18T08:54:38.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-18T08:54:38.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-18T08:54:38.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.173s coverage: 30.4% of statements [2021-01-18T08:54:38.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.738s coverage: 83.5% of statements [2021-01-18T08:54:38.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 4.2% of statements [2021-01-18T08:54:38.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-18T08:54:38.454Z] GO111MODULE=on go vet ./... [2021-01-18T08:54:40.726Z] a35cf1a2eb13: Pull complete [2021-01-18T08:54:40.726Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-18T08:54:40.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-18T08:54:40.726Z] ---> a62c8e92a672 [2021-01-18T08:54:40.726Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T08:54:40.726Z] ---> Running in af1eb170491c [2021-01-18T08:54:40.726Z] Removing intermediate container af1eb170491c [2021-01-18T08:54:40.726Z] ---> d0a1c7177db1 [2021-01-18T08:54:40.726Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T08:54:40.726Z] ---> Running in a1f0336fdad5 [2021-01-18T08:54:41.312Z] Removing intermediate container a1f0336fdad5 [2021-01-18T08:54:41.313Z] ---> 6f76e015d828 [2021-01-18T08:54:41.313Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-18T08:54:41.313Z] ---> Running in 65798c0b2678 [2021-01-18T08:54:42.262Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-18T08:54:42.839Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-18T08:54:43.422Z] OK: 166 MiB in 39 packages [2021-01-18T08:54:43.685Z] Removing intermediate container 65798c0b2678 [2021-01-18T08:54:43.685Z] ---> db351208a590 [2021-01-18T08:54:43.685Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-18T08:54:43.685Z] ---> Running in b1872affbdde [2021-01-18T08:54:43.948Z] Removing intermediate container b1872affbdde [2021-01-18T08:54:43.948Z] ---> fdfa8b0dbd48 [2021-01-18T08:54:43.948Z] Step 7/8 : COPY . . [2021-01-18T08:54:45.339Z] ---> 1bf65e2541b1 [2021-01-18T08:54:45.339Z] Step 8/8 : RUN go mod download [2021-01-18T08:54:45.339Z] ---> Running in db454cc9538b [2021-01-18T08:55:03.506Z] Removing intermediate container db454cc9538b [2021-01-18T08:55:03.506Z] ---> 7db56c58b553 [2021-01-18T08:55:03.506Z] Successfully built 7db56c58b553 [2021-01-18T08:55:03.506Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:55:03.872Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-18T08:55:03.872Z] . [Pipeline] withDockerContainer [2021-01-18T08:55:04.022Z] prd-centos7-docker-4c-2g-20969 does not seem to be running inside a container [2021-01-18T08:55:04.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-18T08:55:04.854Z] $ docker top 6ab3f562da1c13bc80349eefee72ee8a2eb3f6728cf89f625365c0e75c954bf5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T08:55:05.426Z] + go version [2021-01-18T08:55:05.426Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-18T08:55:05.459Z] $ docker stop --time=1 6ab3f562da1c13bc80349eefee72ee8a2eb3f6728cf89f625365c0e75c954bf5 [2021-01-18T08:55:06.827Z] $ docker rm -f 6ab3f562da1c13bc80349eefee72ee8a2eb3f6728cf89f625365c0e75c954bf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:55:07.883Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-18T08:55:07.883Z] . [Pipeline] withDockerContainer [2021-01-18T08:55:08.002Z] prd-centos7-docker-4c-2g-20969 does not seem to be running inside a container [2021-01-18T08:55:08.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-18T08:55:08.624Z] $ docker top 05b34dcf7cdd83fd88a9cf974be5a8e6042caad3fa87617817c99f22832c8d7a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T08:55:09.172Z] + make test [2021-01-18T08:55:09.172Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-18T08:55:10.822Z] gofmt -l . [2021-01-18T08:55:10.822Z] [ "`gofmt -l .`" = "" ] [2021-01-18T08:55:10.822Z] ./bin/test-attribution-txt.sh [2021-01-18T08:55:11.417Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-18T08:55:12.053Z] $ docker stop --time=1 ab29e35a247126bb1c58584d8aa4fc20336fd30f0374ab2fa6f0e71398140279 [2021-01-18T08:55:14.349Z] $ docker rm -f ab29e35a247126bb1c58584d8aa4fc20336fd30f0374ab2fa6f0e71398140279 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T08:55:15.448Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-18T08:55:15.812Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-18T08:55:16.434Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-18T08:55:19.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-18T08:55:19.655Z] + ls -al . [2021-01-18T08:55:19.655Z] total 252 [2021-01-18T08:55:19.655Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 08:55 . [2021-01-18T08:55:19.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 08:51 .. [2021-01-18T08:55:19.655Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 18 08:51 .dockerignore [2021-01-18T08:55:19.655Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 08:51 .git [2021-01-18T08:55:19.655Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 08:51 .github [2021-01-18T08:55:19.655Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 18 08:51 .gitignore [2021-01-18T08:55:19.655Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 18 08:51 Dockerfile.build [2021-01-18T08:55:19.655Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 18 08:51 Jenkinsfile [2021-01-18T08:55:19.655Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 18 08:51 LICENSE [2021-01-18T08:55:19.655Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 18 08:51 Makefile [2021-01-18T08:55:19.655Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 18 08:51 README.md [2021-01-18T08:55:19.655Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 18 08:51 RELEASE-NOTES.txt [2021-01-18T08:55:19.655Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 08:51 VERSION [2021-01-18T08:55:19.656Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 08:51 bin [2021-01-18T08:55:19.656Z] -rw-r--r-- 1 jenkins jenkins 136158 Jan 18 08:54 coverage.out [2021-01-18T08:55:19.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 08:51 example [2021-01-18T08:55:19.656Z] -rw-r--r-- 1 jenkins jenkins 491 Jan 18 08:55 go.mod [2021-01-18T08:55:19.656Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 18 08:55 go.sum [2021-01-18T08:55:19.656Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 18 08:51 internal [2021-01-18T08:55:19.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 08:51 openapi [2021-01-18T08:55:19.656Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 18 08:51 pkg [2021-01-18T08:55:19.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 08:51 snap [2021-01-18T08:55:19.656Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 18 08:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:55:20.140Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 --label arch=arm64 --label version=0.0.0 . [2021-01-18T08:55:20.784Z] Sending build context to Docker daemon 2.703MB [2021-01-18T08:55:20.784Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T08:55:20.785Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-18T08:55:20.785Z] ---> dd79819a24b9 [2021-01-18T08:55:20.785Z] Step 3/24 : ARG MAKE='make build' [2021-01-18T08:55:21.060Z] ---> Running in a86fb4f9cee3 [2021-01-18T08:55:21.332Z] Removing intermediate container a86fb4f9cee3 [2021-01-18T08:55:21.332Z] ---> 4c5d10e2b2e6 [2021-01-18T08:55:21.332Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-18T08:55:21.609Z] ---> Running in 8abaebb0e8fe [2021-01-18T08:55:22.206Z] Removing intermediate container 8abaebb0e8fe [2021-01-18T08:55:22.206Z] ---> 02e9c2614cf3 [2021-01-18T08:55:22.206Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T08:55:22.206Z] ---> Running in 5181e529aae1 [2021-01-18T08:55:22.812Z] Removing intermediate container 5181e529aae1 [2021-01-18T08:55:22.812Z] ---> d04cf1fe3f69 [2021-01-18T08:55:22.812Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T08:55:22.812Z] ---> Running in c830e669ae72 [2021-01-18T08:55:25.427Z] Removing intermediate container c830e669ae72 [2021-01-18T08:55:25.427Z] ---> 7c7d42ff9cd4 [2021-01-18T08:55:25.427Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-18T08:55:25.427Z] ---> Running in b57cba695021 [2021-01-18T08:55:26.405Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-18T08:55:27.001Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-18T08:55:27.594Z] OK: 142 MiB in 39 packages [2021-01-18T08:55:29.027Z] Removing intermediate container b57cba695021 [2021-01-18T08:55:29.027Z] ---> 2d0f64b1b420 [2021-01-18T08:55:29.027Z] Step 8/24 : COPY . . [2021-01-18T08:55:30.463Z] ---> 3789ce38ce77 [2021-01-18T08:55:30.463Z] Step 9/24 : RUN ${MAKE} [2021-01-18T08:55:30.463Z] ---> Running in c4cec55e189c [2021-01-18T08:55:30.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-18T08:55:30.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-18T08:55:30.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-18T08:55:30.855Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 19.4% of statements [2021-01-18T08:55:31.439Z] 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-18T08:55:33.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.463s coverage: 97.1% of statements [2021-01-18T08:55:58.256Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-18T08:55:58.256Z] Removing intermediate container c4cec55e189c [2021-01-18T08:55:58.256Z] ---> e347239ff39c [2021-01-18T08:55:58.256Z] Step 10/24 : FROM scratch [2021-01-18T08:55:58.256Z] ---> [2021-01-18T08:55:58.256Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T08:55:58.256Z] ---> Running in 388d266129bf [2021-01-18T08:55:58.852Z] Removing intermediate container 388d266129bf [2021-01-18T08:55:58.852Z] ---> b728e8a04950 [2021-01-18T08:55:58.852Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-18T08:55:58.852Z] ---> Running in b4a011e878d6 [2021-01-18T08:55:59.124Z] Removing intermediate container b4a011e878d6 [2021-01-18T08:55:59.124Z] ---> e24141a3305d [2021-01-18T08:55:59.124Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-18T08:55:59.399Z] ---> Running in 7dbfb06ef1b6 [2021-01-18T08:55:59.673Z] Removing intermediate container 7dbfb06ef1b6 [2021-01-18T08:55:59.673Z] ---> da5e33e05308 [2021-01-18T08:55:59.673Z] Step 14/24 : WORKDIR / [2021-01-18T08:55:59.949Z] ---> Running in 2d835a0bafc4 [2021-01-18T08:56:00.222Z] Removing intermediate container 2d835a0bafc4 [2021-01-18T08:56:00.222Z] ---> 7a2d30ab6bcc [2021-01-18T08:56:00.222Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-18T08:56:01.651Z] ---> a6f04fd4098d [2021-01-18T08:56:01.651Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-18T08:56:02.247Z] ---> 0e6c35aac6f8 [2021-01-18T08:56:02.247Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-18T08:56:02.840Z] ---> 204cd5886094 [2021-01-18T08:56:02.840Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-18T08:56:03.821Z] ---> cb267bc40a99 [2021-01-18T08:56:03.821Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-18T08:56:04.415Z] ---> f97e0f41996a [2021-01-18T08:56:04.415Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-18T08:56:04.689Z] ---> Running in 11c794785bd6 [2021-01-18T08:56:04.960Z] Removing intermediate container 11c794785bd6 [2021-01-18T08:56:04.960Z] ---> c3427728d851 [2021-01-18T08:56:04.960Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-18T08:56:05.235Z] ---> Running in 4e6ecc1ba723 [2021-01-18T08:56:05.520Z] Removing intermediate container 4e6ecc1ba723 [2021-01-18T08:56:05.520Z] ---> eaaa669b7b97 [2021-01-18T08:56:05.520Z] Step 22/24 : LABEL arch=arm64 [2021-01-18T08:56:05.616Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.066s coverage: 9.4% of statements [2021-01-18T08:56:05.616Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.061s coverage: 21.7% of statements [2021-01-18T08:56:05.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-18T08:56:05.616Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.198s coverage: 42.9% of statements [2021-01-18T08:56:05.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-18T08:56:05.616Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.269s coverage: 68.9% of statements [2021-01-18T08:56:05.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-18T08:56:05.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-18T08:56:05.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-18T08:56:05.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-18T08:56:05.616Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 53.8% of statements [2021-01-18T08:56:05.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-18T08:56:05.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-18T08:56:05.616Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.065s coverage: 30.4% of statements [2021-01-18T08:56:05.616Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.342s coverage: 83.5% of statements [2021-01-18T08:56:05.616Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.2% of statements [2021-01-18T08:56:05.616Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-18T08:56:05.616Z] GO111MODULE=on go vet ./... [2021-01-18T08:56:05.792Z] ---> Running in 4fad01f9d071 [2021-01-18T08:56:06.069Z] Removing intermediate container 4fad01f9d071 [2021-01-18T08:56:06.069Z] ---> 02ec5c2c0c83 [2021-01-18T08:56:06.069Z] Step 23/24 : LABEL git_sha=dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 [2021-01-18T08:56:06.345Z] ---> Running in 06232c0eee7b [2021-01-18T08:56:06.937Z] Removing intermediate container 06232c0eee7b [2021-01-18T08:56:06.937Z] ---> 421cb2cea074 [2021-01-18T08:56:06.937Z] Step 24/24 : LABEL version=0.0.0 [2021-01-18T08:56:06.937Z] ---> Running in 42f1b1a6b8a8 [2021-01-18T08:56:07.528Z] Removing intermediate container 42f1b1a6b8a8 [2021-01-18T08:56:07.528Z] ---> e1044e8588ae [2021-01-18T08:56:07.528Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-18T08:56:07.528Z] Successfully built e1044e8588ae [2021-01-18T08:56:07.528Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-18T08:56:12.298Z] gofmt -l . [2021-01-18T08:56:12.298Z] [ "`gofmt -l .`" = "" ] [2021-01-18T08:56:12.298Z] ./bin/test-attribution-txt.sh [2021-01-18T08:56:12.872Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-18T08:56:12.905Z] $ docker stop --time=1 05b34dcf7cdd83fd88a9cf974be5a8e6042caad3fa87617817c99f22832c8d7a [2021-01-18T08:56:14.925Z] $ docker rm -f 05b34dcf7cdd83fd88a9cf974be5a8e6042caad3fa87617817c99f22832c8d7a [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-18T08:56:15.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-18T08:56:15.670Z] Warning: overwriting stash ‘coverage-report’ [2021-01-18T08:56:16.067Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-18T08:56:16.814Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-18T08:56:17.134Z] + ls -al . [2021-01-18T08:56:17.134Z] total 216 [2021-01-18T08:56:17.134Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 18 08:56 . [2021-01-18T08:56:17.134Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 18 08:54 .. [2021-01-18T08:56:17.134Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 18 08:54 bin [2021-01-18T08:56:17.134Z] -rw-r--r--. 1 jenkins jenkins 136158 Jan 18 08:56 coverage.out [2021-01-18T08:56:17.134Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 18 08:54 Dockerfile.build [2021-01-18T08:56:17.135Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 18 08:54 .dockerignore [2021-01-18T08:56:17.135Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 18 08:54 example [2021-01-18T08:56:17.135Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 18 08:54 .git [2021-01-18T08:56:17.135Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 18 08:54 .github [2021-01-18T08:56:17.135Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 18 08:54 .gitignore [2021-01-18T08:56:17.135Z] -rw-r--r--. 1 jenkins jenkins 491 Jan 18 08:56 go.mod [2021-01-18T08:56:17.135Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 18 08:56 go.sum [2021-01-18T08:56:17.135Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 18 08:54 internal [2021-01-18T08:56:17.135Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 18 08:54 Jenkinsfile [2021-01-18T08:56:17.135Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 18 08:54 LICENSE [2021-01-18T08:56:17.135Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 18 08:54 Makefile [2021-01-18T08:56:17.135Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 18 08:54 openapi [2021-01-18T08:56:17.135Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 18 08:54 pkg [2021-01-18T08:56:17.135Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 18 08:54 README.md [2021-01-18T08:56:17.135Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 18 08:54 RELEASE-NOTES.txt [2021-01-18T08:56:17.135Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 18 08:54 snap [2021-01-18T08:56:17.135Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 18 08:51 VERSION [2021-01-18T08:56:17.135Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 18 08:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:56:17.478Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 --label arch=amd64 --label version=0.0.0 . [2021-01-18T08:56:17.741Z] Sending build context to Docker daemon 2.697MB [2021-01-18T08:56:17.741Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-18T08:56:17.741Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-18T08:56:17.741Z] ---> 7db56c58b553 [2021-01-18T08:56:17.741Z] Step 3/24 : ARG MAKE='make build' [2021-01-18T08:56:18.315Z] ---> Running in 03e9400188a3 [2021-01-18T08:56:18.579Z] Removing intermediate container 03e9400188a3 [2021-01-18T08:56:18.579Z] ---> 4fb95da20b26 [2021-01-18T08:56:18.579Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-18T08:56:18.579Z] ---> Running in d59c943d8aa5 [2021-01-18T08:56:18.842Z] Removing intermediate container d59c943d8aa5 [2021-01-18T08:56:18.842Z] ---> b8f333edbccf [2021-01-18T08:56:18.842Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T08:56:18.843Z] ---> Running in bfc5ac1acc65 [2021-01-18T08:56:19.107Z] Removing intermediate container bfc5ac1acc65 [2021-01-18T08:56:19.107Z] ---> 524ae1915a81 [2021-01-18T08:56:19.107Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-18T08:56:19.107Z] ---> Running in cbe07d3eafa3 [2021-01-18T08:56:20.062Z] Removing intermediate container cbe07d3eafa3 [2021-01-18T08:56:20.062Z] ---> 012ecfbedd2a [2021-01-18T08:56:20.062Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-18T08:56:20.324Z] ---> Running in 1514e05c6308 [2021-01-18T08:56:20.588Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-18T08:56:21.535Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-18T08:56:21.798Z] OK: 166 MiB in 39 packages [2021-01-18T08:56:22.371Z] Removing intermediate container 1514e05c6308 [2021-01-18T08:56:22.371Z] ---> 535c00d6104b [2021-01-18T08:56:22.371Z] Step 8/24 : COPY . . [2021-01-18T08:56:23.317Z] ---> c037f1e1054c [2021-01-18T08:56:23.317Z] Step 9/24 : RUN ${MAKE} [2021-01-18T08:56:23.317Z] ---> Running in 98e35822d8b9 [2021-01-18T08:56:23.898Z] 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-18T08:56:32.135Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-18T08:56:34.058Z] Removing intermediate container 98e35822d8b9 [2021-01-18T08:56:34.058Z] ---> ed10a93d298e [2021-01-18T08:56:34.058Z] Step 10/24 : FROM scratch [2021-01-18T08:56:34.058Z] ---> [2021-01-18T08:56:34.058Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-18T08:56:34.058Z] ---> Running in e40e73d6b241 [2021-01-18T08:56:34.058Z] Removing intermediate container e40e73d6b241 [2021-01-18T08:56:34.058Z] ---> cf883291bbb3 [2021-01-18T08:56:34.058Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-18T08:56:34.320Z] ---> Running in 9033d362fba4 [2021-01-18T08:56:34.320Z] Removing intermediate container 9033d362fba4 [2021-01-18T08:56:34.320Z] ---> ff6da5e2fbb7 [2021-01-18T08:56:34.320Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-18T08:56:34.320Z] ---> Running in c0673270101d [2021-01-18T08:56:34.582Z] Removing intermediate container c0673270101d [2021-01-18T08:56:34.582Z] ---> c033976d9734 [2021-01-18T08:56:34.582Z] Step 14/24 : WORKDIR / [2021-01-18T08:56:34.582Z] ---> Running in df4186fad0e9 [2021-01-18T08:56:34.844Z] Removing intermediate container df4186fad0e9 [2021-01-18T08:56:34.844Z] ---> f9201783d312 [2021-01-18T08:56:34.844Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-18T08:56:35.418Z] ---> de9920797db4 [2021-01-18T08:56:35.418Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-18T08:56:35.418Z] ---> bf0c516b69d6 [2021-01-18T08:56:35.418Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-18T08:56:35.681Z] ---> 7ba3d96cffde [2021-01-18T08:56:35.681Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-18T08:56:35.943Z] ---> e761bb6be771 [2021-01-18T08:56:35.943Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-18T08:56:36.210Z] ---> e42735259f88 [2021-01-18T08:56:36.210Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-18T08:56:36.472Z] ---> Running in 5a87f45cd547 [2021-01-18T08:56:36.472Z] Removing intermediate container 5a87f45cd547 [2021-01-18T08:56:36.472Z] ---> d7e31200e6d7 [2021-01-18T08:56:36.472Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-18T08:56:36.472Z] ---> Running in 127b723e8a04 [2021-01-18T08:56:36.734Z] Removing intermediate container 127b723e8a04 [2021-01-18T08:56:36.734Z] ---> 2702dfacb2f9 [2021-01-18T08:56:36.734Z] Step 22/24 : LABEL arch=amd64 [2021-01-18T08:56:37.000Z] ---> Running in 5a12251333be [2021-01-18T08:56:37.263Z] Removing intermediate container 5a12251333be [2021-01-18T08:56:37.263Z] ---> 647f90bbbfbf [2021-01-18T08:56:37.263Z] Step 23/24 : LABEL git_sha=dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 [2021-01-18T08:56:37.263Z] ---> Running in 961a21eaba08 [2021-01-18T08:56:37.263Z] Removing intermediate container 961a21eaba08 [2021-01-18T08:56:37.263Z] ---> 8c43dbeda32f [2021-01-18T08:56:37.263Z] Step 24/24 : LABEL version=0.0.0 [2021-01-18T08:56:37.525Z] ---> Running in b2a3276e4b4c [2021-01-18T08:56:38.100Z] Removing intermediate container b2a3276e4b4c [2021-01-18T08:56:38.100Z] ---> 692c4a10f0b1 [2021-01-18T08:56:38.100Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-18T08:56:38.100Z] Successfully built 692c4a10f0b1 [2021-01-18T08:56:38.100Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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-18T08:56:40.777Z] provisioning config files... [2021-01-18T08:56:40.793Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config1987888982082723950tmp [Pipeline] { [Pipeline] sh [2021-01-18T08:56:41.212Z] + set +x [2021-01-18T08:56:41.212Z] + curl -s https://codecov.io/bash [2021-01-18T08:56:41.212Z] + bash -s -- [2021-01-18T08:56:41.477Z] [2021-01-18T08:56:41.477Z] _____ _ [2021-01-18T08:56:41.477Z] / ____| | | [2021-01-18T08:56:41.477Z] | | ___ __| | ___ ___ _____ __ [2021-01-18T08:56:41.477Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-18T08:56:41.477Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-18T08:56:41.477Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-18T08:56:41.477Z] Bash-20210115-cec3c92 [2021-01-18T08:56:41.477Z] [2021-01-18T08:56:41.477Z] [2021-01-18T08:56:41.477Z] ==> git version 2.24.3 found [2021-01-18T08:56:41.477Z] ==> 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-18T08:56:41.477Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-18T08:56:41.477Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-18T08:56:41.477Z] ==> Jenkins CI detected. [2021-01-18T08:56:41.477Z] project root: . [2021-01-18T08:56:41.477Z] --> token set from env [2021-01-18T08:56:41.477Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-18T08:56:41.477Z] ==> Running gcov in . (disable via -X gcov) [2021-01-18T08:56:41.477Z] ==> Python coveragepy not found [2021-01-18T08:56:41.477Z] ==> Searching for coverage reports in: [2021-01-18T08:56:41.477Z] + . [2021-01-18T08:56:41.477Z] -> Found 1 reports [2021-01-18T08:56:41.477Z] ==> Detecting git/mercurial file structure [2021-01-18T08:56:41.477Z] ==> Reading reports [2021-01-18T08:56:41.477Z] + ./coverage.out bytes=136158 [2021-01-18T08:56:41.477Z] ==> Appending adjustments [2021-01-18T08:56:41.477Z] https://docs.codecov.io/docs/fixing-reports [2021-01-18T08:56:42.051Z] + Found adjustments [2021-01-18T08:56:42.051Z] ==> Gzipping contents [2021-01-18T08:56:42.051Z] 24K /tmp/codecov.onSuDG.gz [2021-01-18T08:56:42.051Z] ==> Uploading reports [2021-01-18T08:56:42.051Z] url: https://codecov.io [2021-01-18T08:56:42.051Z] query: branch=PR-738&commit=dd82d30efdce0c7c03bbef2a4778dc48fdaaa401&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-738%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=738&job=&cmd_args= [2021-01-18T08:56:42.051Z] -> Pinging Codecov [2021-01-18T08:56:42.051Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-738&commit=dd82d30efdce0c7c03bbef2a4778dc48fdaaa401&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-738%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=738&job=&cmd_args= [2021-01-18T08:56:42.313Z] -> Uploading to [2021-01-18T08:56:42.313Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-18/7E55EF52A471D76F132DFD9A03CDDE97/dd82d30efdce0c7c03bbef2a4778dc48fdaaa401/d5c2ea82-bad2-4d11-9c9b-54b5ee34d7d8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210118T085642Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d8bb03b0c69dd80dcc346b444c674d67fa30c15dfecd1104b1c79809f1c75ac3 [2021-01-18T08:56:42.313Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-18T08:56:42.313Z] Dload Upload Total Spent Left Speed [2021-01-18T08:56:42.886Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21380 0 0 100 21380 0 40477 --:--:-- --:--:-- --:--:-- 40492 [2021-01-18T08:56:42.886Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 [Pipeline] } [2021-01-18T08:56:42.910Z] 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-18T08:56:46.632Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:56:46.972Z] ---> package-listing.sh [2021-01-18T08:56:46.973Z] ++ facter osfamily [2021-01-18T08:56:46.973Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-18T08:56:46.973Z] + OS_FAMILY=redhat [2021-01-18T08:56:46.973Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-738 [2021-01-18T08:56:46.973Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-18T08:56:46.973Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-18T08:56:46.973Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-18T08:56:46.973Z] + PACKAGES=/tmp/packages_start.txt [2021-01-18T08:56:46.973Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-738 ']' [2021-01-18T08:56:46.973Z] + PACKAGES=/tmp/packages_end.txt [2021-01-18T08:56:46.973Z] + case "${OS_FAMILY}" in [2021-01-18T08:56:46.973Z] + rpm -qa [2021-01-18T08:56:46.973Z] + sort [2021-01-18T08:56:52.268Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-18T08:56:52.268Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-18T08:56:52.269Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-18T08:56:52.269Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-738 ']' [2021-01-18T08:56:52.269Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-738/archives/ [2021-01-18T08:56:52.269Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-738/archives/ [Pipeline] echo [2021-01-18T08:56:52.304Z] 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-738/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-18T08:56:52.607Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:56:52.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T08:56:52.949Z] [2021-01-18T08:56:52.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-18T08:56:53.337Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T08:56:53.337Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-18T08:56:53.337Z] df20fa9351a1: Pulling fs layer [2021-01-18T08:56:53.337Z] 36b3adc4ff6f: Pulling fs layer [2021-01-18T08:56:53.337Z] 8ad3a11d3b57: Pulling fs layer [2021-01-18T08:56:53.337Z] 46f8f816bc3b: Pulling fs layer [2021-01-18T08:56:53.337Z] 93b61091891f: Pulling fs layer [2021-01-18T08:56:53.337Z] 93b9cdb0e59b: Pulling fs layer [2021-01-18T08:56:53.337Z] 5e14af77c1be: Pulling fs layer [2021-01-18T08:56:53.337Z] 01666e4c0597: Pulling fs layer [2021-01-18T08:56:53.337Z] aa168da1d23b: Pulling fs layer [2021-01-18T08:56:53.337Z] 93b61091891f: Waiting [2021-01-18T08:56:53.337Z] 93b9cdb0e59b: Waiting [2021-01-18T08:56:53.337Z] 5e14af77c1be: Waiting [2021-01-18T08:56:53.337Z] 01666e4c0597: Waiting [2021-01-18T08:56:53.337Z] aa168da1d23b: Waiting [2021-01-18T08:56:53.337Z] 46f8f816bc3b: Waiting [2021-01-18T08:56:53.337Z] 36b3adc4ff6f: Verifying Checksum [2021-01-18T08:56:53.337Z] 36b3adc4ff6f: Download complete [2021-01-18T08:56:53.600Z] 46f8f816bc3b: Verifying Checksum [2021-01-18T08:56:53.600Z] 46f8f816bc3b: Download complete [2021-01-18T08:56:53.600Z] df20fa9351a1: Verifying Checksum [2021-01-18T08:56:53.600Z] df20fa9351a1: Download complete [2021-01-18T08:56:53.600Z] 93b9cdb0e59b: Verifying Checksum [2021-01-18T08:56:53.600Z] 93b9cdb0e59b: Download complete [2021-01-18T08:56:53.600Z] 5e14af77c1be: Verifying Checksum [2021-01-18T08:56:53.600Z] 5e14af77c1be: Download complete [2021-01-18T08:56:53.600Z] 93b61091891f: Verifying Checksum [2021-01-18T08:56:53.600Z] 93b61091891f: Download complete [2021-01-18T08:56:53.600Z] 01666e4c0597: Verifying Checksum [2021-01-18T08:56:53.600Z] 01666e4c0597: Download complete [2021-01-18T08:56:53.600Z] 8ad3a11d3b57: Verifying Checksum [2021-01-18T08:56:53.600Z] 8ad3a11d3b57: Download complete [2021-01-18T08:56:53.862Z] df20fa9351a1: Pull complete [2021-01-18T08:56:53.862Z] 36b3adc4ff6f: Pull complete [2021-01-18T08:56:54.446Z] 8ad3a11d3b57: Pull complete [2021-01-18T08:56:54.709Z] 46f8f816bc3b: Pull complete [2021-01-18T08:56:54.974Z] 93b61091891f: Pull complete [2021-01-18T08:56:55.242Z] 93b9cdb0e59b: Pull complete [2021-01-18T08:56:55.505Z] 5e14af77c1be: Pull complete [2021-01-18T08:56:55.769Z] aa168da1d23b: Verifying Checksum [2021-01-18T08:56:55.769Z] aa168da1d23b: Download complete [2021-01-18T08:56:56.347Z] 01666e4c0597: Pull complete [2021-01-18T08:57:01.661Z] aa168da1d23b: Pull complete [2021-01-18T08:57:01.661Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-18T08:57:01.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-18T08:57:01.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-18T08:57:01.833Z] prd-centos7-docker-4c-2g-20967 does not seem to be running inside a container [2021-01-18T08:57:01.876Z] $ 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-738/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-738 -v /w/workspace/dgexfoundry_device-sdk-go_PR-738:/w/workspace/dgexfoundry_device-sdk-go_PR-738:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-18T08:57:07.676Z] $ docker top 554eeb761768ac3ecde6a998cd507964d43473546a6f1f7085706dd90e748837 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-18T08:57:08.373Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-18T08:57:08.690Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-18T08:57:09.005Z] + ls /var/log/sa-host [2021-01-18T08:57:09.005Z] + sadf -c /var/log/sa-host/sa18 [2021-01-18T08:57:09.005Z] file_magic: OK [2021-01-18T08:57:09.005Z] HZ: Using current value: 100 [2021-01-18T08:57:09.005Z] file_header: OK [2021-01-18T08:57:09.005Z] 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-18T08:57:09.005Z] Statistics: [2021-01-18T08:57:09.005Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-18T08:57:09.005Z] File successfully converted to sysstat format version 12.2.1 [2021-01-18T08:57:09.005Z] + sadf -c /var/log/sa-host/sa23 [2021-01-18T08:57:09.005Z] file_magic: OK [2021-01-18T08:57:09.005Z] HZ: Using current value: 100 [2021-01-18T08:57:09.005Z] file_header: OK [2021-01-18T08:57:09.005Z] 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-18T08:57:09.005Z] Statistics: [2021-01-18T08:57:09.005Z] Hnuu...uuuununununu... [2021-01-18T08:57:09.005Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-18T08:57:09.711Z] provisioning config files... [2021-01-18T08:57:09.905Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config318099769070322268tmp [Pipeline] { [Pipeline] echo [2021-01-18T08:57:09.995Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:57:10.327Z] ---> create-netrc.sh [Pipeline] } [2021-01-18T08:57:10.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-18T08:57:10.517Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:57:10.861Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-18T08:57:10.894Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:57:11.227Z] ---> sudo-logs.sh [2021-01-18T08:57:11.227Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-18T08:57:11.256Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:57:11.606Z] ---> job-cost.sh [2021-01-18T08:57:11.606Z] lf-activate-venv: SKIPPING [2021-01-18T08:57:11.606Z] INFO: No Stack... [2021-01-18T08:57:12.550Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-18T08:57:13.123Z] INFO: Archiving Costs [Pipeline] echo [2021-01-18T08:57:13.157Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-18T08:57:13.489Z] ---> logs-deploy.sh [2021-01-18T08:57:13.489Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-738/1 [2021-01-18T08:57:13.489Z] INFO: archiving workspace using pattern(s): [2021-01-18T08:57:14.874Z] Archives upload complete. [2021-01-18T08:57:15.135Z] INFO: archiving logs to Nexus