Pull request #703 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 00c0363cc5d56fd7e95d9b70b56ba500672dab77+bb51c8debe42093e5eb42b70cd80c1650e49a210 (3bf316c0781a6cfbc5a2bf026c12caff42126de7) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-703/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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-703/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-16993 in /w/workspace/dgexfoundry_device-sdk-go_PR-703 [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-703 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/703/head:refs/remotes/origin/PR-703 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit bb51c8debe42093e5eb42b70cd80c1650e49a210 into PR head commit 00c0363cc5d56fd7e95d9b70b56ba500672dab77 Merge succeeded, producing 00c0363cc5d56fd7e95d9b70b56ba500672dab77 Checking out Revision 00c0363cc5d56fd7e95d9b70b56ba500672dab77 (PR-703) > git config core.sparsecheckout # timeout=10 > git checkout -f 00c0363cc5d56fd7e95d9b70b56ba500672dab77 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bb51c8debe42093e5eb42b70cd80c1650e49a210 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00c0363cc5d56fd7e95d9b70b56ba500672dab77 # timeout=10 Commit message: "docs: update release note for 1.4.0 release" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-21T05:08:13.032Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-21T05:08:13.445Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-21T05:08:13.753Z] ========================================================= [2020-12-21T05:08:13.753Z] EdgeX Global Pipelines Version Info [2020-12-21T05:08:13.753Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:08:15.378Z] ------------------- [2020-12-21T05:08:15.378Z] stable info: [2020-12-21T05:08:15.379Z] ------------------- [2020-12-21T05:08:15.379Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-21T05:08:15.379Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T05:08:15.379Z] Message: update stable to v1.0.173 [2020-12-21T05:08:16.327Z] ------------------- [2020-12-21T05:08:16.327Z] experimental info: [2020-12-21T05:08:16.327Z] ------------------- [2020-12-21T05:08:16.327Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-21T05:08:16.327Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T05:08:16.327Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-21T05:08:16.733Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-21T05:08:16.868Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-21T05:08:16.988Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-21T05:08:17.117Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-21T05:08:17.242Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-21T05:08:17.382Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-21T05:08:17.507Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-21T05:08:17.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-21T05:08:17.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-21T05:08:17.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-21T05:08:18.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-21T05:08:18.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-21T05:08:18.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-21T05:08:18.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-21T05:08:18.536Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-21T05:08:18.671Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T05:08:18.789Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T05:08:18.927Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T05:08:19.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-21T05:08:19.193Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-21T05:08:19.324Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-21T05:08:19.462Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-21T05:08:19.581Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-21T05:08:19.698Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-21T05:08:19.821Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-21T05:08:19.944Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-21T05:08:20.063Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-21T05:08:20.197Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-703 [Pipeline] echo [2020-12-21T05:08:20.407Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-703 [Pipeline] echo [2020-12-21T05:08:20.554Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-703 [Pipeline] echo [2020-12-21T05:08:20.754Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00c0363cc5d56fd7e95d9b70b56ba500672dab77 [Pipeline] echo [2020-12-21T05:08:20.882Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00c0363 [Pipeline] echo [2020-12-21T05:08:21.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T05:08:21.257Z] provisioning config files... [2020-12-21T05:08:21.286Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-703@tmp/config3253568033829005532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:08:21.744Z] ---> docker-login.sh [2020-12-21T05:08:21.744Z] nexus3.edgexfoundry.org:10001 [2020-12-21T05:08:22.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:08:22.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:08:22.268Z] Configure a credential helper to remove this warning. See [2020-12-21T05:08:22.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:08:22.268Z] [2020-12-21T05:08:22.268Z] Login Succeeded [2020-12-21T05:08:22.268Z] nexus3.edgexfoundry.org:10002 [2020-12-21T05:08:22.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:08:22.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:08:22.530Z] Configure a credential helper to remove this warning. See [2020-12-21T05:08:22.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:08:22.530Z] [2020-12-21T05:08:22.530Z] Login Succeeded [2020-12-21T05:08:22.530Z] nexus3.edgexfoundry.org:10003 [2020-12-21T05:08:22.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:08:22.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:08:22.530Z] Configure a credential helper to remove this warning. See [2020-12-21T05:08:22.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:08:22.530Z] [2020-12-21T05:08:22.530Z] Login Succeeded [2020-12-21T05:08:22.530Z] nexus3.edgexfoundry.org:10004 [2020-12-21T05:08:22.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:08:22.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:08:22.796Z] Configure a credential helper to remove this warning. See [2020-12-21T05:08:22.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:08:22.796Z] [2020-12-21T05:08:22.796Z] Login Succeeded [2020-12-21T05:08:22.796Z] docker.io [2020-12-21T05:08:22.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:08:23.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:08:23.370Z] Configure a credential helper to remove this warning. See [2020-12-21T05:08:23.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:08:23.370Z] [2020-12-21T05:08:23.370Z] Login Succeeded [2020-12-21T05:08:23.370Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T05:08:23.397Z] 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 [2020-12-21T05:08:24.541Z] + git log --format=format:%s -1 00c0363cc5d56fd7e95d9b70b56ba500672dab77 [Pipeline] echo [2020-12-21T05:08:24.622Z] GIT_COMMIT: 00c0363cc5d56fd7e95d9b70b56ba500672dab77, Commit Message: docs: update release note for 1.4.0 release [Pipeline] echo [2020-12-21T05:08:24.709Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:08:25.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T05:08:25.571Z] [2020-12-21T05:08:25.571Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:08:25.951Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T05:08:25.951Z] latest: Pulling from edgex-devops/git-semver [2020-12-21T05:08:25.951Z] 31603596830f: Pulling fs layer [2020-12-21T05:08:25.951Z] 2a8b12db71e7: Pulling fs layer [2020-12-21T05:08:25.951Z] 6ca5941a6612: Pulling fs layer [2020-12-21T05:08:25.951Z] ecc8261a40a4: Pulling fs layer [2020-12-21T05:08:25.951Z] ecc8261a40a4: Waiting [2020-12-21T05:08:25.951Z] 2a8b12db71e7: Verifying Checksum [2020-12-21T05:08:25.951Z] 2a8b12db71e7: Download complete [2020-12-21T05:08:26.223Z] 31603596830f: Verifying Checksum [2020-12-21T05:08:26.223Z] 31603596830f: Download complete [2020-12-21T05:08:26.223Z] ecc8261a40a4: Verifying Checksum [2020-12-21T05:08:26.223Z] ecc8261a40a4: Download complete [2020-12-21T05:08:26.223Z] 6ca5941a6612: Verifying Checksum [2020-12-21T05:08:26.223Z] 6ca5941a6612: Download complete [2020-12-21T05:08:26.485Z] 31603596830f: Pull complete [2020-12-21T05:08:26.749Z] 2a8b12db71e7: Pull complete [2020-12-21T05:08:27.698Z] 6ca5941a6612: Pull complete [2020-12-21T05:08:28.280Z] ecc8261a40a4: Pull complete [2020-12-21T05:08:28.280Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-21T05:08:28.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T05:08:28.280Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-21T05:08:28.491Z] prd-centos7-docker-4c-2g-16993 does not seem to be running inside a container [2020-12-21T05:08:28.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-703 -v /w/workspace/dgexfoundry_device-sdk-go_PR-703:/w/workspace/dgexfoundry_device-sdk-go_PR-703:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-703@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-703@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 [2020-12-21T05:08:30.144Z] $ docker top bdcb3780b0535941f4b05b574d25f95e1221e8d87fb3e2996c6a24f5042bd89b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-21T05:08:30.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T05:08:30.568Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T05:08:30.775Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T05:08:30.778Z] $ docker exec bdcb3780b0535941f4b05b574d25f95e1221e8d87fb3e2996c6a24f5042bd89b ssh-agent [2020-12-21T05:08:30.951Z] SSH_AUTH_SOCK=/tmp/ssh-rfQT9BvUUUWP/agent.12 [2020-12-21T05:08:30.951Z] SSH_AGENT_PID=18 [2020-12-21T05:08:30.962Z] Running ssh-add (command line suppressed) [2020-12-21T05:08:31.089Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-703@tmp/private_key_740363863233774973.key (/w/workspace/dgexfoundry_device-sdk-go_PR-703@tmp/private_key_740363863233774973.key) [2020-12-21T05:08:31.142Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T05:08:31.513Z] + git tag --points-at HEAD [Pipeline] } [2020-12-21T05:08:31.540Z] $ docker exec --env ******** --env ******** bdcb3780b0535941f4b05b574d25f95e1221e8d87fb3e2996c6a24f5042bd89b ssh-agent -k [2020-12-21T05:08:31.649Z] unset SSH_AUTH_SOCK; [2020-12-21T05:08:31.650Z] unset SSH_AGENT_PID; [2020-12-21T05:08:31.650Z] echo Agent pid 18 killed; [2020-12-21T05:08:31.700Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-21T05:08:31.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T05:08:31.900Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T05:08:32.065Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T05:08:32.068Z] $ docker exec bdcb3780b0535941f4b05b574d25f95e1221e8d87fb3e2996c6a24f5042bd89b ssh-agent [2020-12-21T05:08:32.234Z] SSH_AUTH_SOCK=/tmp/ssh-V74kZeRiYuKq/agent.46 [2020-12-21T05:08:32.234Z] SSH_AGENT_PID=51 [2020-12-21T05:08:32.241Z] Running ssh-add (command line suppressed) [2020-12-21T05:08:32.353Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-703@tmp/private_key_2528421553448702298.key (/w/workspace/dgexfoundry_device-sdk-go_PR-703@tmp/private_key_2528421553448702298.key) [2020-12-21T05:08:32.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T05:08:32.784Z] + git semver init [2020-12-21T05:08:32.784Z] # -> Open(): unable to determine branch for HEAD [2020-12-21T05:08:32.784Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-703/.git [2020-12-21T05:08:32.784Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-703 [2020-12-21T05:08:32.784Z] # $SEMVER_REMOTE_NAME = origin [2020-12-21T05:08:32.784Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-21T05:08:32.784Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-21T05:08:32.784Z] # $SEMVER_BRANCH = PR-703 [2020-12-21T05:08:32.784Z] # $SEMVER_TEMP = /tmp/semver-756035432 [2020-12-21T05:08:32.784Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-21T05:08:33.731Z] # '/tmp/semver-756035432' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-703/.semver' [2020-12-21T05:08:33.732Z] # -> Force: false [2020-12-21T05:08:33.732Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-703/.semver [Pipeline] } [2020-12-21T05:08:33.751Z] $ docker exec --env ******** --env ******** bdcb3780b0535941f4b05b574d25f95e1221e8d87fb3e2996c6a24f5042bd89b ssh-agent -k [2020-12-21T05:08:33.863Z] unset SSH_AUTH_SOCK; [2020-12-21T05:08:33.863Z] unset SSH_AGENT_PID; [2020-12-21T05:08:33.864Z] echo Agent pid 51 killed; [2020-12-21T05:08:33.912Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-21T05:08:34.463Z] + git semver [Pipeline] } [2020-12-21T05:08:34.494Z] $ docker stop --time=1 bdcb3780b0535941f4b05b574d25f95e1221e8d87fb3e2996c6a24f5042bd89b [2020-12-21T05:08:36.066Z] $ docker rm -f bdcb3780b0535941f4b05b574d25f95e1221e8d87fb3e2996c6a24f5042bd89b [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T05:08:36.644Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-21T05:08:37.093Z] Stashed 1 file(s) [Pipeline] echo [2020-12-21T05:08:37.118Z] [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 [2020-12-21T05:08:52.926Z] Still waiting to schedule task [2020-12-21T05:08:52.926Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-21T05:08:52.954Z] Still waiting to schedule task [2020-12-21T05:08:52.954Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-21T05:10:41.809Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16994 in /w/workspace/dgexfoundry_device-sdk-go_PR-703 [Pipeline] { [Pipeline] ws [2020-12-21T05:10:41.928Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-21T05:10:47.140Z] using credential edgex-jenkins-ssh [2020-12-21T05:10:47.200Z] Cloning the remote Git repository [2020-12-21T05:10:47.265Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T05:10:47.386Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-21T05:10:47.471Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T05:10:47.471Z] > git --version # timeout=10 [2020-12-21T05:10:47.499Z] > git --version # 'git version 2.17.1' [2020-12-21T05:10:47.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T05:10:47.613Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T05:10:49.510Z] Merging remotes/origin/master commit bb51c8debe42093e5eb42b70cd80c1650e49a210 into PR head commit 00c0363cc5d56fd7e95d9b70b56ba500672dab77 [2020-12-21T05:10:48.728Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T05:10:48.749Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T05:10:48.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T05:10:48.808Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T05:10:48.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T05:10:48.836Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/703/head:refs/remotes/origin/PR-703 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T05:10:49.528Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T05:10:49.574Z] > git checkout -f 00c0363cc5d56fd7e95d9b70b56ba500672dab77 # timeout=10 [2020-12-21T05:10:49.790Z] Merge succeeded, producing 00c0363cc5d56fd7e95d9b70b56ba500672dab77 [2020-12-21T05:10:49.790Z] Checking out Revision 00c0363cc5d56fd7e95d9b70b56ba500672dab77 (PR-703) [2020-12-21T05:10:49.694Z] > git remote # timeout=10 [2020-12-21T05:10:49.715Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T05:10:49.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T05:10:49.741Z] > git merge bb51c8debe42093e5eb42b70cd80c1650e49a210 # timeout=10 [2020-12-21T05:10:49.765Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T05:10:49.796Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T05:10:49.813Z] > git checkout -f 00c0363cc5d56fd7e95d9b70b56ba500672dab77 # timeout=10 [2020-12-21T05:10:54.025Z] Commit message: "docs: update release note for 1.4.0 release" [2020-12-21T05:10:54.081Z] > git --version # timeout=10 [2020-12-21T05:10:54.093Z] > git --version # 'git version 2.17.1' [2020-12-21T05:10:54.107Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T05:10:55.930Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-21T05:10:56.345Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T05:10:56.699Z] + + true [2020-12-21T05:10:56.699Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T05:10:58.827Z] provisioning config files... [2020-12-21T05:10:58.867Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4860822912121719358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:10:59.329Z] ---> docker-login.sh [2020-12-21T05:10:59.329Z] nexus3.edgexfoundry.org:10001 [2020-12-21T05:11:00.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:11:00.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:11:00.587Z] Configure a credential helper to remove this warning. See [2020-12-21T05:11:00.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:11:00.587Z] [2020-12-21T05:11:00.587Z] Login Succeeded [2020-12-21T05:11:00.587Z] nexus3.edgexfoundry.org:10002 [2020-12-21T05:11:00.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:11:01.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:11:01.133Z] Configure a credential helper to remove this warning. See [2020-12-21T05:11:01.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:11:01.133Z] [2020-12-21T05:11:01.133Z] Login Succeeded [2020-12-21T05:11:01.133Z] nexus3.edgexfoundry.org:10003 [2020-12-21T05:11:01.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:11:01.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:11:01.684Z] Configure a credential helper to remove this warning. See [2020-12-21T05:11:01.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:11:01.684Z] [2020-12-21T05:11:01.684Z] Login Succeeded [2020-12-21T05:11:01.684Z] nexus3.edgexfoundry.org:10004 [2020-12-21T05:11:01.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:11:02.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:11:02.230Z] Configure a credential helper to remove this warning. See [2020-12-21T05:11:02.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:11:02.230Z] [2020-12-21T05:11:02.230Z] Login Succeeded [2020-12-21T05:11:02.230Z] docker.io [2020-12-21T05:11:02.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:11:03.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:11:03.102Z] Configure a credential helper to remove this warning. See [2020-12-21T05:11:03.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:11:03.102Z] [2020-12-21T05:11:03.102Z] Login Succeeded [2020-12-21T05:11:03.102Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T05:11:03.131Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-21T05:11:03.696Z] ========================================================= [2020-12-21T05:11:03.696Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-21T05:11:03.696Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:11:04.105Z] + 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 . [2020-12-21T05:11:04.707Z] Sending build context to Docker daemon 2.419MB [2020-12-21T05:11:04.707Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-21T05:11:04.707Z] Step 2/8 : FROM ${BASE} [2020-12-21T05:11:04.707Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-21T05:11:04.707Z] 5f621e34cdf4: Pulling fs layer [2020-12-21T05:11:04.707Z] a4357932f1b6: Pulling fs layer [2020-12-21T05:11:04.707Z] 18c013af1878: Pulling fs layer [2020-12-21T05:11:04.707Z] 00ac8860ef70: Pulling fs layer [2020-12-21T05:11:04.707Z] 63d7cb157983: Pulling fs layer [2020-12-21T05:11:04.707Z] b116817d02f9: Pulling fs layer [2020-12-21T05:11:04.707Z] 745a02a5169b: Pulling fs layer [2020-12-21T05:11:04.707Z] 00ac8860ef70: Waiting [2020-12-21T05:11:04.707Z] 63d7cb157983: Waiting [2020-12-21T05:11:04.707Z] b116817d02f9: Waiting [2020-12-21T05:11:04.707Z] 745a02a5169b: Waiting [2020-12-21T05:11:04.707Z] 18c013af1878: Verifying Checksum [2020-12-21T05:11:04.707Z] 18c013af1878: Download complete [2020-12-21T05:11:04.707Z] a4357932f1b6: Verifying Checksum [2020-12-21T05:11:04.707Z] a4357932f1b6: Download complete [2020-12-21T05:11:04.707Z] 63d7cb157983: Download complete [2020-12-21T05:11:04.981Z] 5f621e34cdf4: Verifying Checksum [2020-12-21T05:11:04.981Z] b116817d02f9: Verifying Checksum [2020-12-21T05:11:04.981Z] b116817d02f9: Download complete [2020-12-21T05:11:05.578Z] 5f621e34cdf4: Pull complete [2020-12-21T05:11:06.187Z] a4357932f1b6: Pull complete [2020-12-21T05:11:06.489Z] 18c013af1878: Pull complete [2020-12-21T05:11:07.469Z] 745a02a5169b: Verifying Checksum [2020-12-21T05:11:07.469Z] 745a02a5169b: Download complete [2020-12-21T05:11:08.908Z] 00ac8860ef70: Verifying Checksum [2020-12-21T05:11:08.908Z] 00ac8860ef70: Download complete [2020-12-21T05:11:19.080Z] 00ac8860ef70: Pull complete [2020-12-21T05:11:19.080Z] 63d7cb157983: Pull complete [2020-12-21T05:11:19.355Z] b116817d02f9: Pull complete [2020-12-21T05:11:20.257Z] Running on prd-centos7-docker-4c-2g-16995 in /w/workspace/dgexfoundry_device-sdk-go_PR-703 [Pipeline] { [Pipeline] ws [2020-12-21T05:11:20.350Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-21T05:11:22.817Z] using credential edgex-jenkins-ssh [2020-12-21T05:11:22.868Z] Cloning the remote Git repository [2020-12-21T05:11:22.477Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T05:11:23.674Z] 745a02a5169b: Pull complete [2020-12-21T05:11:23.675Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-21T05:11:23.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-21T05:11:23.675Z] ---> b7e6874047d6 [2020-12-21T05:11:23.675Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T05:11:22.548Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-21T05:11:22.606Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T05:11:22.606Z] > git --version # timeout=10 [2020-12-21T05:11:22.614Z] > git --version # 'git version 2.24.3' [2020-12-21T05:11:22.615Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T05:11:22.645Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T05:11:24.952Z] Merging remotes/origin/master commit bb51c8debe42093e5eb42b70cd80c1650e49a210 into PR head commit 00c0363cc5d56fd7e95d9b70b56ba500672dab77 [2020-12-21T05:11:24.124Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T05:11:24.133Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T05:11:24.144Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T05:11:24.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T05:11:24.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T05:11:24.161Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/703/head:refs/remotes/origin/PR-703 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T05:11:24.704Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T05:11:24.711Z] > git checkout -f 00c0363cc5d56fd7e95d9b70b56ba500672dab77 # timeout=10 [2020-12-21T05:11:25.056Z] Merge succeeded, producing 00c0363cc5d56fd7e95d9b70b56ba500672dab77 [2020-12-21T05:11:25.057Z] Checking out Revision 00c0363cc5d56fd7e95d9b70b56ba500672dab77 (PR-703) [2020-12-21T05:11:24.763Z] > git remote # timeout=10 [2020-12-21T05:11:24.771Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T05:11:24.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T05:11:24.786Z] > git merge bb51c8debe42093e5eb42b70cd80c1650e49a210 # timeout=10 [2020-12-21T05:11:24.800Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T05:11:24.811Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T05:11:24.819Z] > git checkout -f 00c0363cc5d56fd7e95d9b70b56ba500672dab77 # timeout=10 [2020-12-21T05:11:26.303Z] ---> Running in 17a030eb6873 [2020-12-21T05:11:26.576Z] Removing intermediate container 17a030eb6873 [2020-12-21T05:11:26.576Z] ---> 5d92617d1027 [2020-12-21T05:11:26.576Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T05:11:26.849Z] ---> Running in 7f300a795aea [2020-12-21T05:11:28.513Z] Commit message: "docs: update release note for 1.4.0 release" [2020-12-21T05:11:28.544Z] > git --version # timeout=10 [2020-12-21T05:11:28.549Z] > git --version # 'git version 2.24.3' [2020-12-21T05:11:28.555Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T05:11:29.507Z] Removing intermediate container 7f300a795aea [2020-12-21T05:11:29.507Z] ---> 6ab72a4606ae [2020-12-21T05:11:29.507Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-21T05:11:29.507Z] ---> Running in fedb5dc12e2a [2020-12-21T05:11:30.059Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-21T05:11:30.408Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T05:11:30.499Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-21T05:11:30.734Z] + sudo service docker restart [2020-12-21T05:11:30.734Z] + true [2020-12-21T05:11:30.734Z] Redirecting to /bin/systemctl restart docker.service [2020-12-21T05:11:31.477Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T05:11:31.806Z] provisioning config files... [2020-12-21T05:11:31.832Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7144488978703794378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:11:32.261Z] ---> docker-login.sh [2020-12-21T05:11:32.261Z] nexus3.edgexfoundry.org:10001 [2020-12-21T05:11:32.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:11:32.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:11:32.523Z] Configure a credential helper to remove this warning. See [2020-12-21T05:11:32.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:11:32.523Z] [2020-12-21T05:11:32.523Z] Login Succeeded [2020-12-21T05:11:32.523Z] nexus3.edgexfoundry.org:10002 [2020-12-21T05:11:32.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:11:32.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:11:32.786Z] Configure a credential helper to remove this warning. See [2020-12-21T05:11:32.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:11:32.786Z] [2020-12-21T05:11:32.786Z] Login Succeeded [2020-12-21T05:11:32.786Z] nexus3.edgexfoundry.org:10003 [2020-12-21T05:11:32.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:11:33.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:11:33.053Z] Configure a credential helper to remove this warning. See [2020-12-21T05:11:33.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:11:33.053Z] [2020-12-21T05:11:33.053Z] Login Succeeded [2020-12-21T05:11:33.053Z] nexus3.edgexfoundry.org:10004 [2020-12-21T05:11:33.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:11:33.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:11:33.053Z] Configure a credential helper to remove this warning. See [2020-12-21T05:11:33.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:11:33.053Z] [2020-12-21T05:11:33.053Z] Login Succeeded [2020-12-21T05:11:33.053Z] docker.io [2020-12-21T05:11:33.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T05:11:33.444Z] OK: 142 MiB in 39 packages [2020-12-21T05:11:33.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T05:11:33.581Z] Configure a credential helper to remove this warning. See [2020-12-21T05:11:33.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T05:11:33.581Z] [2020-12-21T05:11:33.581Z] Login Succeeded [2020-12-21T05:11:33.581Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T05:11:33.607Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-21T05:11:34.162Z] ========================================================= [2020-12-21T05:11:34.162Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-21T05:11:34.162Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:11:34.540Z] + 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 . [2020-12-21T05:11:34.540Z] Sending build context to Docker daemon 2.422MB [2020-12-21T05:11:34.540Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-21T05:11:34.540Z] Step 2/8 : FROM ${BASE} [2020-12-21T05:11:34.804Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-21T05:11:34.804Z] 188c0c94c7c5: Pulling fs layer [2020-12-21T05:11:34.804Z] 0ef7d3d256c8: Pulling fs layer [2020-12-21T05:11:34.804Z] de9db76c5a1d: Pulling fs layer [2020-12-21T05:11:34.804Z] bca2f99d35d6: Pulling fs layer [2020-12-21T05:11:34.804Z] 93359f2a8cfa: Pulling fs layer [2020-12-21T05:11:34.804Z] 7c6f9722023f: Pulling fs layer [2020-12-21T05:11:34.804Z] a35cf1a2eb13: Pulling fs layer [2020-12-21T05:11:34.804Z] 93359f2a8cfa: Waiting [2020-12-21T05:11:34.804Z] 7c6f9722023f: Waiting [2020-12-21T05:11:34.804Z] a35cf1a2eb13: Waiting [2020-12-21T05:11:34.804Z] bca2f99d35d6: Waiting [2020-12-21T05:11:34.804Z] de9db76c5a1d: Download complete [2020-12-21T05:11:34.804Z] 0ef7d3d256c8: Verifying Checksum [2020-12-21T05:11:34.804Z] 0ef7d3d256c8: Download complete [2020-12-21T05:11:34.804Z] 93359f2a8cfa: Verifying Checksum [2020-12-21T05:11:34.804Z] 93359f2a8cfa: Download complete [2020-12-21T05:11:34.804Z] 7c6f9722023f: Verifying Checksum [2020-12-21T05:11:34.804Z] 7c6f9722023f: Download complete [2020-12-21T05:11:34.804Z] 188c0c94c7c5: Verifying Checksum [2020-12-21T05:11:34.804Z] 188c0c94c7c5: Download complete [2020-12-21T05:11:34.875Z] Removing intermediate container fedb5dc12e2a [2020-12-21T05:11:34.875Z] ---> 1dc32bed3742 [2020-12-21T05:11:34.875Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-21T05:11:34.875Z] ---> Running in 5a6597be656e [2020-12-21T05:11:35.072Z] 188c0c94c7c5: Pull complete [2020-12-21T05:11:35.335Z] 0ef7d3d256c8: Pull complete [2020-12-21T05:11:35.472Z] Removing intermediate container 5a6597be656e [2020-12-21T05:11:35.472Z] ---> 56789c780134 [2020-12-21T05:11:35.472Z] Step 7/8 : COPY . . [2020-12-21T05:11:35.600Z] de9db76c5a1d: Pull complete [2020-12-21T05:11:36.914Z] ---> 3f566d5359bc [2020-12-21T05:11:36.914Z] Step 8/8 : RUN go mod download [2020-12-21T05:11:36.914Z] ---> Running in 4104b7a0391b [2020-12-21T05:11:37.003Z] a35cf1a2eb13: Verifying Checksum [2020-12-21T05:11:37.003Z] a35cf1a2eb13: Download complete [2020-12-21T05:11:37.003Z] bca2f99d35d6: Verifying Checksum [2020-12-21T05:11:42.334Z] bca2f99d35d6: Pull complete [2020-12-21T05:11:42.334Z] 93359f2a8cfa: Pull complete [2020-12-21T05:11:42.334Z] 7c6f9722023f: Pull complete [2020-12-21T05:11:50.503Z] a35cf1a2eb13: Pull complete [2020-12-21T05:11:50.503Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-21T05:11:50.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-21T05:11:50.503Z] ---> a62c8e92a672 [2020-12-21T05:11:50.503Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T05:11:51.084Z] ---> Running in 10fc578258ce [2020-12-21T05:11:51.084Z] Removing intermediate container 10fc578258ce [2020-12-21T05:11:51.084Z] ---> 4e2268a5ad84 [2020-12-21T05:11:51.084Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T05:11:51.084Z] ---> Running in 68424075e655 [2020-12-21T05:11:52.478Z] Removing intermediate container 68424075e655 [2020-12-21T05:11:52.478Z] ---> b152112a88e7 [2020-12-21T05:11:52.478Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-21T05:11:52.478Z] ---> Running in ed4f63d2b056 [2020-12-21T05:11:53.059Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-21T05:11:54.457Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T05:11:55.404Z] OK: 166 MiB in 39 packages [2020-12-21T05:11:55.666Z] Removing intermediate container ed4f63d2b056 [2020-12-21T05:11:55.666Z] ---> abe604f7a743 [2020-12-21T05:11:55.666Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-21T05:11:55.930Z] ---> Running in f78d473f140a [2020-12-21T05:11:55.930Z] Removing intermediate container f78d473f140a [2020-12-21T05:11:55.930Z] ---> b1b8be479d4e [2020-12-21T05:11:55.930Z] Step 7/8 : COPY . . [2020-12-21T05:11:57.325Z] ---> ee3814078526 [2020-12-21T05:11:57.325Z] Step 8/8 : RUN go mod download [2020-12-21T05:11:57.325Z] ---> Running in 4b18d1fb75df [2020-12-21T05:11:59.083Z] Removing intermediate container 4104b7a0391b [2020-12-21T05:11:59.083Z] ---> a07a18dd069c [2020-12-21T05:11:59.083Z] Successfully built a07a18dd069c [2020-12-21T05:11:59.083Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:11:59.453Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T05:11:59.453Z] . [Pipeline] withDockerContainer [2020-12-21T05:11:59.698Z] prd-ubuntu18.04-docker-arm64-4c-16g-16994 does not seem to be running inside a container [2020-12-21T05:11:59.788Z] $ 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 [2020-12-21T05:12:01.186Z] $ docker top c0e968d690e40d4cc42cea76c849e723f7fc8b5325584a807d9887273a22faa3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T05:12:02.250Z] + go version [2020-12-21T05:12:02.250Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-21T05:12:02.308Z] $ docker stop --time=1 c0e968d690e40d4cc42cea76c849e723f7fc8b5325584a807d9887273a22faa3 [2020-12-21T05:12:04.259Z] $ docker rm -f c0e968d690e40d4cc42cea76c849e723f7fc8b5325584a807d9887273a22faa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:12:05.521Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T05:12:05.521Z] . [Pipeline] withDockerContainer [2020-12-21T05:12:05.806Z] prd-ubuntu18.04-docker-arm64-4c-16g-16994 does not seem to be running inside a container [2020-12-21T05:12:05.895Z] $ 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 [2020-12-21T05:12:07.364Z] $ docker top dd039f9f99a1966bad5ad175fe4d7d96fc7a077ff1505a56b79cbe7120d06453 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T05:12:08.457Z] + make test [2020-12-21T05:12:08.457Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-21T05:12:15.497Z] Removing intermediate container 4b18d1fb75df [2020-12-21T05:12:15.497Z] ---> 3e0aac85a825 [2020-12-21T05:12:15.497Z] Successfully built 3e0aac85a825 [2020-12-21T05:12:15.497Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:12:15.847Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T05:12:15.848Z] . [Pipeline] withDockerContainer [2020-12-21T05:12:15.994Z] prd-centos7-docker-4c-2g-16995 does not seem to be running inside a container [2020-12-21T05:12:16.049Z] $ 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 [2020-12-21T05:12:16.757Z] $ docker top 31c34258990a9c7a5022ca583f7b4cc8ba70fb5d62eedad11ba31d6c7d64e783 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T05:12:17.342Z] + go version [2020-12-21T05:12:17.342Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-21T05:12:17.376Z] $ docker stop --time=1 31c34258990a9c7a5022ca583f7b4cc8ba70fb5d62eedad11ba31d6c7d64e783 [2020-12-21T05:12:18.749Z] $ docker rm -f 31c34258990a9c7a5022ca583f7b4cc8ba70fb5d62eedad11ba31d6c7d64e783 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:12:19.792Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T05:12:19.793Z] . [Pipeline] withDockerContainer [2020-12-21T05:12:19.911Z] prd-centos7-docker-4c-2g-16995 does not seem to be running inside a container [2020-12-21T05:12:19.969Z] $ 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 [2020-12-21T05:12:20.514Z] $ docker top eca626c3fe2136876eee6a21ca022fb3293975106fbbc4c74ccaff966ca1daf1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T05:12:21.068Z] + make test [2020-12-21T05:12:21.068Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-21T05:12:27.734Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-21T05:12:30.668Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-21T05:12:42.767Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-21T05:12:42.768Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-21T05:12:42.768Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-21T05:12:42.768Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.050s coverage: 19.4% of statements [2020-12-21T05:12:44.171Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.478s coverage: 97.1% of statements [2020-12-21T05:13:09.719Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-21T05:13:09.720Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-21T05:13:09.720Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-21T05:13:09.720Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.125s coverage: 19.4% of statements [2020-12-21T05:13:15.168Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.174s coverage: 97.1% of statements [2020-12-21T05:13:16.338Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 9.4% of statements [2020-12-21T05:13:16.338Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.053s coverage: 21.9% of statements [2020-12-21T05:13:16.338Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-21T05:13:16.338Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.221s coverage: 42.5% of statements [2020-12-21T05:13:16.338Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-21T05:13:16.338Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.280s coverage: 68.9% of statements [2020-12-21T05:13:16.338Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-21T05:13:16.338Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-21T05:13:16.338Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-21T05:13:16.338Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-21T05:13:16.338Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 53.8% of statements [2020-12-21T05:13:16.338Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-21T05:13:16.338Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-21T05:13:16.338Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-21T05:13:16.338Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.274s coverage: 68.9% of statements [2020-12-21T05:13:16.338Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.065s coverage: 4.2% of statements [2020-12-21T05:13:16.338Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-21T05:13:16.338Z] GO111MODULE=on go vet ./... [2020-12-21T05:13:23.050Z] gofmt -l . [2020-12-21T05:13:23.050Z] [ "`gofmt -l .`" = "" ] [2020-12-21T05:13:23.050Z] ./bin/test-attribution-txt.sh [2020-12-21T05:13:24.004Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-21T05:13:24.040Z] $ docker stop --time=1 eca626c3fe2136876eee6a21ca022fb3293975106fbbc4c74ccaff966ca1daf1 [2020-12-21T05:13:26.004Z] $ docker rm -f eca626c3fe2136876eee6a21ca022fb3293975106fbbc4c74ccaff966ca1daf1 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T05:13:26.716Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-21T05:13:27.086Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-21T05:13:29.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-21T05:13:30.061Z] + ls -al . [2020-12-21T05:13:30.061Z] total 208 [2020-12-21T05:13:30.061Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 21 05:13 . [2020-12-21T05:13:30.061Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 21 05:11 .. [2020-12-21T05:13:30.061Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 21 05:11 bin [2020-12-21T05:13:30.061Z] -rw-r--r--. 1 jenkins jenkins 130526 Dec 21 05:13 coverage.out [2020-12-21T05:13:30.061Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 21 05:11 Dockerfile.build [2020-12-21T05:13:30.061Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 21 05:11 .dockerignore [2020-12-21T05:13:30.061Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 21 05:11 example [2020-12-21T05:13:30.061Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 21 05:11 .git [2020-12-21T05:13:30.061Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 21 05:11 .github [2020-12-21T05:13:30.061Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 21 05:11 .gitignore [2020-12-21T05:13:30.061Z] -rw-r--r--. 1 jenkins jenkins 488 Dec 21 05:13 go.mod [2020-12-21T05:13:30.061Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 21 05:13 go.sum [2020-12-21T05:13:30.061Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 21 05:11 internal [2020-12-21T05:13:30.061Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 21 05:11 Jenkinsfile [2020-12-21T05:13:30.061Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 21 05:11 LICENSE [2020-12-21T05:13:30.061Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 21 05:11 Makefile [2020-12-21T05:13:30.061Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 21 05:11 openapi [2020-12-21T05:13:30.061Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 21 05:11 pkg [2020-12-21T05:13:30.061Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 21 05:11 README.md [2020-12-21T05:13:30.061Z] -rw-rw-r--. 1 jenkins jenkins 6616 Dec 21 05:11 RELEASE-NOTES.txt [2020-12-21T05:13:30.061Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 21 05:11 snap [2020-12-21T05:13:30.061Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 21 05:08 VERSION [2020-12-21T05:13:30.062Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 21 05:11 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:13:30.402Z] + 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=00c0363cc5d56fd7e95d9b70b56ba500672dab77 --label arch=amd64 --label version=0.0.0 . [2020-12-21T05:13:30.663Z] Sending build context to Docker daemon 2.553MB [2020-12-21T05:13:30.663Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-21T05:13:30.663Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-21T05:13:30.663Z] ---> 3e0aac85a825 [2020-12-21T05:13:30.663Z] Step 3/24 : ARG MAKE='make build' [2020-12-21T05:13:31.239Z] ---> Running in b2d26b6f0bc6 [2020-12-21T05:13:31.239Z] Removing intermediate container b2d26b6f0bc6 [2020-12-21T05:13:31.239Z] ---> 802d10b9d47d [2020-12-21T05:13:31.239Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-21T05:13:31.501Z] ---> Running in b219749973ed [2020-12-21T05:13:31.501Z] Removing intermediate container b219749973ed [2020-12-21T05:13:31.501Z] ---> dc11e9ba2851 [2020-12-21T05:13:31.501Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T05:13:31.763Z] ---> Running in 78bdf9074c1b [2020-12-21T05:13:31.763Z] Removing intermediate container 78bdf9074c1b [2020-12-21T05:13:31.763Z] ---> 792febd36b90 [2020-12-21T05:13:31.763Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T05:13:32.027Z] ---> Running in 9349c064769f [2020-12-21T05:13:32.602Z] Removing intermediate container 9349c064769f [2020-12-21T05:13:32.602Z] ---> 812685e67e89 [2020-12-21T05:13:32.602Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-21T05:13:32.866Z] ---> Running in 50fcac5efe2e [2020-12-21T05:13:33.128Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-21T05:13:34.076Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T05:13:35.024Z] OK: 166 MiB in 39 packages [2020-12-21T05:13:35.597Z] Removing intermediate container 50fcac5efe2e [2020-12-21T05:13:35.597Z] ---> 1c93a7644f67 [2020-12-21T05:13:35.597Z] Step 8/24 : COPY . . [2020-12-21T05:13:36.553Z] ---> a2e08dfe01ef [2020-12-21T05:13:36.553Z] Step 9/24 : RUN ${MAKE} [2020-12-21T05:13:36.553Z] ---> Running in e74cc915fba8 [2020-12-21T05:13:36.818Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-21T05:13:42.004Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.142s coverage: 9.4% of statements [2020-12-21T05:13:42.004Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.115s coverage: 21.9% of statements [2020-12-21T05:13:42.004Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-21T05:13:42.004Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.567s coverage: 42.5% of statements [2020-12-21T05:13:42.004Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-21T05:13:42.004Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.774s coverage: 68.9% of statements [2020-12-21T05:13:42.004Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-21T05:13:42.004Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-21T05:13:42.004Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-21T05:13:42.004Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-21T05:13:42.004Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.177s coverage: 53.8% of statements [2020-12-21T05:13:42.004Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-21T05:13:42.004Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-21T05:13:42.004Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-21T05:13:42.004Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.942s coverage: 68.9% of statements [2020-12-21T05:13:42.004Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.142s coverage: 4.2% of statements [2020-12-21T05:13:42.004Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-21T05:13:42.004Z] GO111MODULE=on go vet ./... [2020-12-21T05:13:45.097Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-21T05:13:47.674Z] Removing intermediate container e74cc915fba8 [2020-12-21T05:13:47.674Z] ---> 4a8c834311df [2020-12-21T05:13:47.674Z] Step 10/24 : FROM scratch [2020-12-21T05:13:47.674Z] ---> [2020-12-21T05:13:47.674Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T05:13:47.674Z] ---> Running in 569b76d10547 [2020-12-21T05:13:47.674Z] Removing intermediate container 569b76d10547 [2020-12-21T05:13:47.674Z] ---> 83a735046c87 [2020-12-21T05:13:47.674Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-21T05:13:47.674Z] ---> Running in 4bae0bc634dc [2020-12-21T05:13:47.674Z] Removing intermediate container 4bae0bc634dc [2020-12-21T05:13:47.674Z] ---> 91a3e420f1c4 [2020-12-21T05:13:47.674Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-21T05:13:47.674Z] ---> Running in 5eccc0a6580d [2020-12-21T05:13:47.939Z] Removing intermediate container 5eccc0a6580d [2020-12-21T05:13:47.939Z] ---> 828157dac520 [2020-12-21T05:13:47.939Z] Step 14/24 : WORKDIR / [2020-12-21T05:13:47.939Z] ---> Running in fde1ffb6c718 [2020-12-21T05:13:48.202Z] Removing intermediate container fde1ffb6c718 [2020-12-21T05:13:48.202Z] ---> 6b013cd34ee9 [2020-12-21T05:13:48.202Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-21T05:13:48.782Z] ---> d06fa9205201 [2020-12-21T05:13:48.782Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-21T05:13:49.045Z] ---> 449ddaf3327e [2020-12-21T05:13:49.045Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-21T05:13:49.308Z] ---> 7790d1353dd3 [2020-12-21T05:13:49.308Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-21T05:13:50.257Z] ---> f44a4f502cd4 [2020-12-21T05:13:50.257Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-21T05:13:50.257Z] ---> baa72d0df3db [2020-12-21T05:13:50.257Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-21T05:13:50.257Z] ---> Running in 8ed8204d3bd5 [2020-12-21T05:13:50.521Z] Removing intermediate container 8ed8204d3bd5 [2020-12-21T05:13:50.521Z] ---> 71afccfca755 [2020-12-21T05:13:50.521Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-21T05:13:50.521Z] ---> Running in 6295ff3d6031 [2020-12-21T05:13:50.783Z] Removing intermediate container 6295ff3d6031 [2020-12-21T05:13:50.783Z] ---> 52f5f226e78d [2020-12-21T05:13:50.783Z] Step 22/24 : LABEL arch=amd64 [2020-12-21T05:13:50.783Z] ---> Running in 5e1ec2becb70 [2020-12-21T05:13:51.048Z] Removing intermediate container 5e1ec2becb70 [2020-12-21T05:13:51.048Z] ---> cee89f5d995c [2020-12-21T05:13:51.048Z] Step 23/24 : LABEL git_sha=00c0363cc5d56fd7e95d9b70b56ba500672dab77 [2020-12-21T05:13:51.048Z] ---> Running in 6108964c10d1 [2020-12-21T05:13:51.310Z] Removing intermediate container 6108964c10d1 [2020-12-21T05:13:51.310Z] ---> 2991372ca12a [2020-12-21T05:13:51.310Z] Step 24/24 : LABEL version=0.0.0 [2020-12-21T05:13:51.310Z] ---> Running in 2580ba7dcd6e [2020-12-21T05:13:51.573Z] Removing intermediate container 2580ba7dcd6e [2020-12-21T05:13:51.573Z] ---> 4e33af427a92 [2020-12-21T05:13:51.573Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-21T05:13:51.573Z] Successfully built 4e33af427a92 [2020-12-21T05:13:51.573Z] 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] } [2020-12-21T05:14:14.409Z] gofmt -l . [2020-12-21T05:14:14.409Z] [ "`gofmt -l .`" = "" ] [2020-12-21T05:14:14.409Z] ./bin/test-attribution-txt.sh [2020-12-21T05:14:14.409Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-21T05:14:14.452Z] $ docker stop --time=1 dd039f9f99a1966bad5ad175fe4d7d96fc7a077ff1505a56b79cbe7120d06453 [2020-12-21T05:14:16.786Z] $ docker rm -f dd039f9f99a1966bad5ad175fe4d7d96fc7a077ff1505a56b79cbe7120d06453 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T05:14:18.014Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-21T05:14:18.051Z] Warning: overwriting stash ‘coverage-report’ [2020-12-21T05:14:19.012Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T05:14:19.888Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-21T05:14:20.276Z] + ls -al . [2020-12-21T05:14:20.276Z] total 244 [2020-12-21T05:14:20.276Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 21 05:14 . [2020-12-21T05:14:20.276Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 05:10 .. [2020-12-21T05:14:20.276Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 21 05:10 .dockerignore [2020-12-21T05:14:20.276Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 05:10 .git [2020-12-21T05:14:20.276Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 05:10 .github [2020-12-21T05:14:20.276Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 21 05:10 .gitignore [2020-12-21T05:14:20.276Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 21 05:10 Dockerfile.build [2020-12-21T05:14:20.276Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 21 05:10 Jenkinsfile [2020-12-21T05:14:20.276Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 21 05:10 LICENSE [2020-12-21T05:14:20.276Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 21 05:10 Makefile [2020-12-21T05:14:20.276Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 21 05:10 README.md [2020-12-21T05:14:20.276Z] -rw-rw-r-- 1 jenkins jenkins 6616 Dec 21 05:10 RELEASE-NOTES.txt [2020-12-21T05:14:20.276Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 21 05:08 VERSION [2020-12-21T05:14:20.276Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 05:10 bin [2020-12-21T05:14:20.276Z] -rw-r--r-- 1 jenkins jenkins 130526 Dec 21 05:13 coverage.out [2020-12-21T05:14:20.276Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 05:10 example [2020-12-21T05:14:20.276Z] -rw-r--r-- 1 jenkins jenkins 488 Dec 21 05:14 go.mod [2020-12-21T05:14:20.276Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 21 05:14 go.sum [2020-12-21T05:14:20.276Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 21 05:10 internal [2020-12-21T05:14:20.276Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 05:10 openapi [2020-12-21T05:14:20.276Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 21 05:10 pkg [2020-12-21T05:14:20.276Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 05:10 snap [2020-12-21T05:14:20.276Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 21 05:10 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:14:20.739Z] + 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=00c0363cc5d56fd7e95d9b70b56ba500672dab77 --label arch=arm64 --label version=0.0.0 . [2020-12-21T05:14:21.356Z] Sending build context to Docker daemon 2.55MB [2020-12-21T05:14:21.356Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-21T05:14:21.356Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-21T05:14:21.356Z] ---> a07a18dd069c [2020-12-21T05:14:21.356Z] Step 3/24 : ARG MAKE='make build' [2020-12-21T05:14:21.630Z] ---> Running in 3afc6b01c24a [2020-12-21T05:14:22.225Z] Removing intermediate container 3afc6b01c24a [2020-12-21T05:14:22.225Z] ---> b152b6f99251 [2020-12-21T05:14:22.225Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-21T05:14:22.225Z] ---> Running in 2c7e3bfeef5e [2020-12-21T05:14:22.818Z] Removing intermediate container 2c7e3bfeef5e [2020-12-21T05:14:22.819Z] ---> 35f432efe596 [2020-12-21T05:14:22.819Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T05:14:22.819Z] ---> Running in 2ccd6b94611b [2020-12-21T05:14:23.414Z] Removing intermediate container 2ccd6b94611b [2020-12-21T05:14:23.414Z] ---> 0f5e60c61926 [2020-12-21T05:14:23.414Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T05:14:23.414Z] ---> Running in 29b9ab07f6e5 [2020-12-21T05:14:25.388Z] Removing intermediate container 29b9ab07f6e5 [2020-12-21T05:14:25.388Z] ---> 85619f74fbcd [2020-12-21T05:14:25.388Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-21T05:14:25.665Z] ---> Running in 314224fb77e1 [2020-12-21T05:14:26.651Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-21T05:14:27.622Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-21T05:14:29.047Z] OK: 142 MiB in 39 packages [2020-12-21T05:14:30.029Z] Removing intermediate container 314224fb77e1 [2020-12-21T05:14:30.029Z] ---> debaa4c5df1e [2020-12-21T05:14:30.029Z] Step 8/24 : COPY . . [2020-12-21T05:14:31.464Z] ---> 4ad8a779afca [2020-12-21T05:14:31.464Z] Step 9/24 : RUN ${MAKE} [2020-12-21T05:14:31.736Z] ---> Running in 57cb863937e6 [2020-12-21T05:14:32.712Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-21T05:14:59.514Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-21T05:14:59.514Z] Removing intermediate container 57cb863937e6 [2020-12-21T05:14:59.514Z] ---> fdbd2ebd565e [2020-12-21T05:14:59.514Z] Step 10/24 : FROM scratch [2020-12-21T05:14:59.514Z] ---> [2020-12-21T05:14:59.514Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T05:14:59.514Z] ---> Running in f07d25939bcd [2020-12-21T05:14:59.790Z] Removing intermediate container f07d25939bcd [2020-12-21T05:14:59.790Z] ---> 92fe0d65baeb [2020-12-21T05:14:59.790Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-21T05:15:00.060Z] ---> Running in 67993192095b [2020-12-21T05:15:00.333Z] Removing intermediate container 67993192095b [2020-12-21T05:15:00.333Z] ---> 07851bcdcb9f [2020-12-21T05:15:00.333Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-21T05:15:00.606Z] ---> Running in 4618ebee73b2 [2020-12-21T05:15:00.883Z] Removing intermediate container 4618ebee73b2 [2020-12-21T05:15:00.883Z] ---> 3bd40aa8c7bf [2020-12-21T05:15:00.883Z] Step 14/24 : WORKDIR / [2020-12-21T05:15:00.883Z] ---> Running in e750e012befa [2020-12-21T05:15:01.494Z] Removing intermediate container e750e012befa [2020-12-21T05:15:01.494Z] ---> d4283f3d4b22 [2020-12-21T05:15:01.494Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-21T05:15:02.482Z] ---> 9c63928859cb [2020-12-21T05:15:02.482Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-21T05:15:03.462Z] ---> c593846e64cd [2020-12-21T05:15:03.462Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-21T05:15:04.058Z] ---> 23c9fabd4b5c [2020-12-21T05:15:04.058Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-21T05:15:04.654Z] ---> eb304d0daec9 [2020-12-21T05:15:04.654Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-21T05:15:05.632Z] ---> 99c94f97cbec [2020-12-21T05:15:05.632Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-21T05:15:05.632Z] ---> Running in 1d60c13bb69c [2020-12-21T05:15:05.920Z] Removing intermediate container 1d60c13bb69c [2020-12-21T05:15:05.921Z] ---> 1dc72bad8241 [2020-12-21T05:15:05.921Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-21T05:15:06.194Z] ---> Running in 636c1d1c03b3 [2020-12-21T05:15:06.789Z] Removing intermediate container 636c1d1c03b3 [2020-12-21T05:15:06.789Z] ---> 82c428fb4b25 [2020-12-21T05:15:06.789Z] Step 22/24 : LABEL arch=arm64 [2020-12-21T05:15:06.789Z] ---> Running in 1550f7ae7bf6 [2020-12-21T05:15:07.062Z] Removing intermediate container 1550f7ae7bf6 [2020-12-21T05:15:07.062Z] ---> 66e2ff82db92 [2020-12-21T05:15:07.062Z] Step 23/24 : LABEL git_sha=00c0363cc5d56fd7e95d9b70b56ba500672dab77 [2020-12-21T05:15:07.334Z] ---> Running in 991a92a6250c [2020-12-21T05:15:07.611Z] Removing intermediate container 991a92a6250c [2020-12-21T05:15:07.611Z] ---> 69a2a4b91570 [2020-12-21T05:15:07.611Z] Step 24/24 : LABEL version=0.0.0 [2020-12-21T05:15:07.882Z] ---> Running in fd7f573076a7 [2020-12-21T05:15:08.476Z] Removing intermediate container fd7f573076a7 [2020-12-21T05:15:08.476Z] ---> 227a437641cf [2020-12-21T05:15:08.476Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-21T05:15:08.476Z] Successfully built 227a437641cf [2020-12-21T05:15:08.476Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-21T05:15:10.993Z] provisioning config files... [2020-12-21T05:15:11.004Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-703@tmp/config6795305598036438190tmp [Pipeline] { [Pipeline] sh [2020-12-21T05:15:11.440Z] + set +x [2020-12-21T05:15:11.440Z] + curl -s https://codecov.io/bash [2020-12-21T05:15:11.440Z] + bash -s -- [2020-12-21T05:15:11.704Z] [2020-12-21T05:15:11.704Z] _____ _ [2020-12-21T05:15:11.704Z] / ____| | | [2020-12-21T05:15:11.704Z] | | ___ __| | ___ ___ _____ __ [2020-12-21T05:15:11.704Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-21T05:15:11.704Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-21T05:15:11.704Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-21T05:15:11.704Z] Bash-20201217-3d3df35 [2020-12-21T05:15:11.704Z] [2020-12-21T05:15:11.704Z] [2020-12-21T05:15:11.704Z] git version 2.24.3 found [2020-12-21T05:15:11.704Z] 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 [2020-12-21T05:15:11.704Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-21T05:15:11.704Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found [2020-12-21T05:15:11.704Z] ==> Jenkins CI detected. [2020-12-21T05:15:11.704Z] project root: . [2020-12-21T05:15:11.704Z] --> token set from env [2020-12-21T05:15:11.704Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-21T05:15:11.704Z] ==> Running gcov in . (disable via -X gcov) [2020-12-21T05:15:11.704Z] ==> Python coveragepy not found [2020-12-21T05:15:11.704Z] ==> Searching for coverage reports in: [2020-12-21T05:15:11.704Z] + . [2020-12-21T05:15:11.704Z] -> Found 1 reports [2020-12-21T05:15:11.704Z] ==> Detecting git/mercurial file structure [2020-12-21T05:15:11.704Z] ==> Reading reports [2020-12-21T05:15:11.704Z] + ./coverage.out bytes=130526 [2020-12-21T05:15:11.704Z] ==> Appending adjustments [2020-12-21T05:15:11.704Z] https://docs.codecov.io/docs/fixing-reports [2020-12-21T05:15:12.281Z] + Found adjustments [2020-12-21T05:15:12.281Z] ==> Gzipping contents [2020-12-21T05:15:12.281Z] 24K /tmp/codecov.jbJONU.gz [2020-12-21T05:15:12.281Z] ==> Uploading reports [2020-12-21T05:15:12.281Z] url: https://codecov.io [2020-12-21T05:15:12.281Z] query: branch=PR-703&commit=00c0363cc5d56fd7e95d9b70b56ba500672dab77&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-703%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=703&job=&cmd_args= [2020-12-21T05:15:12.281Z] -> Pinging Codecov [2020-12-21T05:15:12.281Z] https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-703&commit=00c0363cc5d56fd7e95d9b70b56ba500672dab77&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-703%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=703&job=&cmd_args= [2020-12-21T05:15:12.863Z] -> Uploading to [2020-12-21T05:15:12.863Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-21/7E55EF52A471D76F132DFD9A03CDDE97/00c0363cc5d56fd7e95d9b70b56ba500672dab77/494eb2cf-8dd5-4666-9456-e83d2edafd72.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201221T051512Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60eee6068aed06c4060e500e77fc1225b2ab2a6a8c0845f80faabcd3d72264b1 [2020-12-21T05:15:12.863Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-21T05:15:12.863Z] Dload Upload Total Spent Left Speed [2020-12-21T05:15:13.126Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21240 0 0 100 21240 0 44377 --:--:-- --:--:-- --:--:-- 44435 [2020-12-21T05:15:13.388Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/00c0363cc5d56fd7e95d9b70b56ba500672dab77 [Pipeline] } [2020-12-21T05:15:13.410Z] 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 [2020-12-21T05:15:17.343Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:15:17.949Z] ---> package-listing.sh [2020-12-21T05:15:17.949Z] ++ facter osfamily [2020-12-21T05:15:17.949Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-21T05:15:17.949Z] + OS_FAMILY=redhat [2020-12-21T05:15:17.949Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-703 [2020-12-21T05:15:17.949Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-21T05:15:17.949Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-21T05:15:17.949Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-21T05:15:17.949Z] + PACKAGES=/tmp/packages_start.txt [2020-12-21T05:15:17.949Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-703 ']' [2020-12-21T05:15:17.949Z] + PACKAGES=/tmp/packages_end.txt [2020-12-21T05:15:17.949Z] + case "${OS_FAMILY}" in [2020-12-21T05:15:17.949Z] + rpm -qa [2020-12-21T05:15:17.949Z] + sort [2020-12-21T05:15:22.170Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-21T05:15:22.170Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-21T05:15:22.170Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-21T05:15:22.170Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-703 ']' [2020-12-21T05:15:22.170Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-703/archives/ [2020-12-21T05:15:22.170Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-703/archives/ [Pipeline] echo [2020-12-21T05:15:22.202Z] 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-703/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-21T05:15:22.506Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:15:22.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T05:15:22.847Z] [2020-12-21T05:15:22.847Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-21T05:15:23.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T05:15:23.232Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-21T05:15:23.232Z] df20fa9351a1: Pulling fs layer [2020-12-21T05:15:23.232Z] 36b3adc4ff6f: Pulling fs layer [2020-12-21T05:15:23.232Z] 8ad3a11d3b57: Pulling fs layer [2020-12-21T05:15:23.232Z] 46f8f816bc3b: Pulling fs layer [2020-12-21T05:15:23.232Z] 93b61091891f: Pulling fs layer [2020-12-21T05:15:23.232Z] 93b9cdb0e59b: Pulling fs layer [2020-12-21T05:15:23.232Z] 5e14af77c1be: Pulling fs layer [2020-12-21T05:15:23.232Z] 01666e4c0597: Pulling fs layer [2020-12-21T05:15:23.232Z] aa168da1d23b: Pulling fs layer [2020-12-21T05:15:23.232Z] 46f8f816bc3b: Waiting [2020-12-21T05:15:23.232Z] 93b61091891f: Waiting [2020-12-21T05:15:23.232Z] 93b9cdb0e59b: Waiting [2020-12-21T05:15:23.232Z] 01666e4c0597: Waiting [2020-12-21T05:15:23.232Z] 5e14af77c1be: Waiting [2020-12-21T05:15:23.232Z] aa168da1d23b: Waiting [2020-12-21T05:15:23.232Z] 36b3adc4ff6f: Verifying Checksum [2020-12-21T05:15:23.232Z] 36b3adc4ff6f: Download complete [2020-12-21T05:15:23.232Z] 46f8f816bc3b: Verifying Checksum [2020-12-21T05:15:23.232Z] 46f8f816bc3b: Download complete [2020-12-21T05:15:23.498Z] df20fa9351a1: Verifying Checksum [2020-12-21T05:15:23.498Z] df20fa9351a1: Download complete [2020-12-21T05:15:23.498Z] 93b9cdb0e59b: Verifying Checksum [2020-12-21T05:15:23.498Z] 93b9cdb0e59b: Download complete [2020-12-21T05:15:23.498Z] 5e14af77c1be: Verifying Checksum [2020-12-21T05:15:23.498Z] 5e14af77c1be: Download complete [2020-12-21T05:15:23.498Z] 93b61091891f: Verifying Checksum [2020-12-21T05:15:23.498Z] 93b61091891f: Download complete [2020-12-21T05:15:23.498Z] 01666e4c0597: Verifying Checksum [2020-12-21T05:15:23.498Z] 01666e4c0597: Download complete [2020-12-21T05:15:23.498Z] 8ad3a11d3b57: Verifying Checksum [2020-12-21T05:15:23.498Z] 8ad3a11d3b57: Download complete [2020-12-21T05:15:23.766Z] df20fa9351a1: Pull complete [2020-12-21T05:15:24.044Z] 36b3adc4ff6f: Pull complete [2020-12-21T05:15:24.625Z] 8ad3a11d3b57: Pull complete [2020-12-21T05:15:24.903Z] 46f8f816bc3b: Pull complete [2020-12-21T05:15:25.485Z] 93b61091891f: Pull complete [2020-12-21T05:15:25.754Z] aa168da1d23b: Verifying Checksum [2020-12-21T05:15:25.754Z] aa168da1d23b: Download complete [2020-12-21T05:15:26.019Z] 93b9cdb0e59b: Pull complete [2020-12-21T05:15:26.019Z] 5e14af77c1be: Pull complete [2020-12-21T05:15:26.284Z] 01666e4c0597: Pull complete [2020-12-21T05:15:32.915Z] aa168da1d23b: Pull complete [2020-12-21T05:15:32.915Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-21T05:15:32.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T05:15:32.915Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-21T05:15:33.070Z] prd-centos7-docker-4c-2g-16993 does not seem to be running inside a container [2020-12-21T05:15:33.115Z] $ 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-703/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-703 -v /w/workspace/dgexfoundry_device-sdk-go_PR-703:/w/workspace/dgexfoundry_device-sdk-go_PR-703:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-703@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-703@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 [2020-12-21T05:15:36.386Z] $ docker top 08b97940ff85930da2e64e4347a72dc2f53848057ced82b87234c6114d99641d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T05:15:37.014Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-21T05:15:37.331Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-21T05:15:37.649Z] + ls /var/log/sa-host [2020-12-21T05:15:37.649Z] + sadf -c /var/log/sa-host/sa21 [2020-12-21T05:15:37.649Z] file_magic: OK [2020-12-21T05:15:37.649Z] HZ: Using current value: 100 [2020-12-21T05:15:37.649Z] file_header: OK [2020-12-21T05:15:37.649Z] 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 [2020-12-21T05:15:37.649Z] Statistics: [2020-12-21T05:15:37.649Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-21T05:15:37.649Z] File successfully converted to sysstat format version 12.2.1 [2020-12-21T05:15:37.649Z] + sadf -c /var/log/sa-host/sa23 [2020-12-21T05:15:37.649Z] file_magic: OK [2020-12-21T05:15:37.649Z] HZ: Using current value: 100 [2020-12-21T05:15:37.649Z] file_header: OK [2020-12-21T05:15:37.649Z] 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 [2020-12-21T05:15:37.649Z] Statistics: [2020-12-21T05:15:37.649Z] Hnuu...uuuununununu... [2020-12-21T05:15:37.649Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-21T05:15:38.339Z] provisioning config files... [2020-12-21T05:15:38.355Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-703@tmp/config2490293553605998262tmp [Pipeline] { [Pipeline] echo [2020-12-21T05:15:38.518Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:15:38.850Z] ---> create-netrc.sh [Pipeline] } [2020-12-21T05:15:38.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-21T05:15:39.027Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:15:39.358Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-21T05:15:39.390Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:15:39.721Z] ---> sudo-logs.sh [2020-12-21T05:15:39.721Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-21T05:15:39.759Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:15:40.091Z] ---> job-cost.sh [2020-12-21T05:15:40.091Z] lf-activate-venv: SKIPPING [2020-12-21T05:15:40.091Z] INFO: No Stack... [2020-12-21T05:15:41.037Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-21T05:15:41.299Z] INFO: Archiving Costs [Pipeline] echo [2020-12-21T05:15:41.334Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T05:15:41.667Z] ---> logs-deploy.sh [2020-12-21T05:15:41.667Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-703/1 [2020-12-21T05:15:41.667Z] INFO: archiving workspace using pattern(s): [2020-12-21T05:15:43.584Z] Archives upload complete. [2020-12-21T05:15:43.584Z] INFO: archiving logs to Nexus