Pull request #702 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 0950bb47099977d66490f327b10e1294d49aff53+b058260e0a173cbd20e8373902e2c8ff53da770e (83c9f0b0fec21884112ddc33b97d52feb27463eb) 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-702/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-702/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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-16977 in /w/workspace/dgexfoundry_device-sdk-go_PR-702 [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-702 # 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/702/head:refs/remotes/origin/PR-702 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit 0950bb47099977d66490f327b10e1294d49aff53 Merge succeeded, producing 0950bb47099977d66490f327b10e1294d49aff53 Checking out Revision 0950bb47099977d66490f327b10e1294d49aff53 (PR-702) > git config core.sparsecheckout # timeout=10 > git checkout -f 0950bb47099977d66490f327b10e1294d49aff53 # 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 b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0950bb47099977d66490f327b10e1294d49aff53 # timeout=10 Commit message: "feat: update DS in metadata to reflect config change" 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-21T03:04:01.857Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-21T03:04:02.236Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-21T03:04:02.405Z] ========================================================= [2020-12-21T03:04:02.405Z] EdgeX Global Pipelines Version Info [2020-12-21T03:04:02.405Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-21T03:04:03.947Z] ------------------- [2020-12-21T03:04:03.948Z] stable info: [2020-12-21T03:04:03.948Z] ------------------- [2020-12-21T03:04:03.948Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-21T03:04:03.948Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T03:04:03.948Z] Message: update stable to v1.0.173 [2020-12-21T03:04:04.904Z] ------------------- [2020-12-21T03:04:04.904Z] experimental info: [2020-12-21T03:04:04.904Z] ------------------- [2020-12-21T03:04:04.905Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-21T03:04:04.905Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T03:04:04.905Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-21T03:04:05.342Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-21T03:04:05.488Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-21T03:04:05.626Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-21T03:04:05.759Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-21T03:04:05.895Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-21T03:04:06.025Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-21T03:04:06.161Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-21T03:04:06.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-21T03:04:06.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-21T03:04:06.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-21T03:04:06.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-21T03:04:06.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-21T03:04:07.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-21T03:04:07.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-21T03:04:07.280Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-21T03:04:07.410Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T03:04:07.542Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T03:04:07.677Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T03:04:07.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-21T03:04:07.944Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-21T03:04:08.069Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-21T03:04:08.213Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-21T03:04:08.355Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-21T03:04:08.518Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-21T03:04:08.650Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-21T03:04:08.791Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-21T03:04:08.925Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-21T03:04:09.058Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-702 [Pipeline] echo [2020-12-21T03:04:09.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-702 [Pipeline] echo [2020-12-21T03:04:09.334Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-702 [Pipeline] echo [2020-12-21T03:04:09.469Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0950bb47099977d66490f327b10e1294d49aff53 [Pipeline] echo [2020-12-21T03:04:09.593Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0950bb4 [Pipeline] echo [2020-12-21T03:04:09.721Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T03:04:09.996Z] provisioning config files... [2020-12-21T03:04:10.029Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/config2874764940581171447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T03:04:10.482Z] ---> docker-login.sh [2020-12-21T03:04:10.482Z] nexus3.edgexfoundry.org:10001 [2020-12-21T03:04:10.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:04:11.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:04:11.011Z] Configure a credential helper to remove this warning. See [2020-12-21T03:04:11.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:04:11.011Z] [2020-12-21T03:04:11.011Z] Login Succeeded [2020-12-21T03:04:11.011Z] nexus3.edgexfoundry.org:10002 [2020-12-21T03:04:11.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:04:11.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:04:11.272Z] Configure a credential helper to remove this warning. See [2020-12-21T03:04:11.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:04:11.272Z] [2020-12-21T03:04:11.272Z] Login Succeeded [2020-12-21T03:04:11.272Z] nexus3.edgexfoundry.org:10003 [2020-12-21T03:04:11.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:04:11.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:04:11.272Z] Configure a credential helper to remove this warning. See [2020-12-21T03:04:11.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:04:11.272Z] [2020-12-21T03:04:11.272Z] Login Succeeded [2020-12-21T03:04:11.272Z] nexus3.edgexfoundry.org:10004 [2020-12-21T03:04:11.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:04:11.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:04:11.534Z] Configure a credential helper to remove this warning. See [2020-12-21T03:04:11.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:04:11.534Z] [2020-12-21T03:04:11.534Z] Login Succeeded [2020-12-21T03:04:11.534Z] docker.io [2020-12-21T03:04:11.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:04:11.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:04:11.797Z] Configure a credential helper to remove this warning. See [2020-12-21T03:04:11.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:04:11.797Z] [2020-12-21T03:04:11.797Z] Login Succeeded [2020-12-21T03:04:12.062Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T03:04:12.092Z] 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-21T03:04:13.378Z] + git log --format=format:%s -1 0950bb47099977d66490f327b10e1294d49aff53 [Pipeline] echo [2020-12-21T03:04:13.474Z] GIT_COMMIT: 0950bb47099977d66490f327b10e1294d49aff53, Commit Message: feat: update DS in metadata to reflect config change [Pipeline] echo [2020-12-21T03:04:13.545Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-21T03:04:14.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T03:04:14.651Z] [2020-12-21T03:04:14.651Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T03:04:15.050Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T03:04:15.050Z] latest: Pulling from edgex-devops/git-semver [2020-12-21T03:04:15.050Z] 31603596830f: Pulling fs layer [2020-12-21T03:04:15.050Z] 2a8b12db71e7: Pulling fs layer [2020-12-21T03:04:15.050Z] 6ca5941a6612: Pulling fs layer [2020-12-21T03:04:15.050Z] ecc8261a40a4: Pulling fs layer [2020-12-21T03:04:15.050Z] ecc8261a40a4: Waiting [2020-12-21T03:04:15.050Z] 2a8b12db71e7: Verifying Checksum [2020-12-21T03:04:15.050Z] 2a8b12db71e7: Download complete [2020-12-21T03:04:15.316Z] 31603596830f: Verifying Checksum [2020-12-21T03:04:15.316Z] 31603596830f: Download complete [2020-12-21T03:04:15.316Z] ecc8261a40a4: Verifying Checksum [2020-12-21T03:04:15.316Z] ecc8261a40a4: Download complete [2020-12-21T03:04:15.316Z] 6ca5941a6612: Verifying Checksum [2020-12-21T03:04:15.316Z] 6ca5941a6612: Download complete [2020-12-21T03:04:15.584Z] 31603596830f: Pull complete [2020-12-21T03:04:15.856Z] 2a8b12db71e7: Pull complete [2020-12-21T03:04:16.806Z] 6ca5941a6612: Pull complete [2020-12-21T03:04:16.806Z] ecc8261a40a4: Pull complete [2020-12-21T03:04:16.806Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-21T03:04:16.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T03:04:16.806Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-21T03:04:16.935Z] prd-centos7-docker-4c-2g-16977 does not seem to be running inside a container [2020-12-21T03:04:16.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-702 -v /w/workspace/dgexfoundry_device-sdk-go_PR-702:/w/workspace/dgexfoundry_device-sdk-go_PR-702:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-702@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-21T03:04:19.077Z] $ docker top 68d227d3361b3cc98f52ad890fae71e54dd7c370d77d5892fc73eaeb3926aa9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-21T03:04:19.499Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T03:04:19.499Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T03:04:19.709Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T03:04:19.712Z] $ docker exec 68d227d3361b3cc98f52ad890fae71e54dd7c370d77d5892fc73eaeb3926aa9f ssh-agent [2020-12-21T03:04:19.886Z] SSH_AUTH_SOCK=/tmp/ssh-KfATCH56UNcO/agent.12 [2020-12-21T03:04:19.886Z] SSH_AGENT_PID=17 [2020-12-21T03:04:19.896Z] Running ssh-add (command line suppressed) [2020-12-21T03:04:20.013Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_551808918360920434.key (/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_551808918360920434.key) [2020-12-21T03:04:20.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T03:04:20.456Z] + git tag --points-at HEAD [Pipeline] } [2020-12-21T03:04:20.495Z] $ docker exec --env ******** --env ******** 68d227d3361b3cc98f52ad890fae71e54dd7c370d77d5892fc73eaeb3926aa9f ssh-agent -k [2020-12-21T03:04:20.622Z] unset SSH_AUTH_SOCK; [2020-12-21T03:04:20.622Z] unset SSH_AGENT_PID; [2020-12-21T03:04:20.623Z] echo Agent pid 17 killed; [2020-12-21T03:04:20.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-21T03:04:20.886Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T03:04:20.886Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T03:04:21.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T03:04:21.061Z] $ docker exec 68d227d3361b3cc98f52ad890fae71e54dd7c370d77d5892fc73eaeb3926aa9f ssh-agent [2020-12-21T03:04:21.220Z] SSH_AUTH_SOCK=/tmp/ssh-DI3dYiQRcelL/agent.47 [2020-12-21T03:04:21.220Z] SSH_AGENT_PID=52 [2020-12-21T03:04:21.227Z] Running ssh-add (command line suppressed) [2020-12-21T03:04:21.341Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_3669420202146895630.key (/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_3669420202146895630.key) [2020-12-21T03:04:21.395Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T03:04:21.768Z] + git semver init [2020-12-21T03:04:21.769Z] # -> Open(): unable to determine branch for HEAD [2020-12-21T03:04:21.769Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-702/.git [2020-12-21T03:04:21.769Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-702 [2020-12-21T03:04:21.769Z] # $SEMVER_REMOTE_NAME = origin [2020-12-21T03:04:21.769Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-21T03:04:21.769Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-21T03:04:21.769Z] # $SEMVER_BRANCH = PR-702 [2020-12-21T03:04:21.769Z] # $SEMVER_TEMP = /tmp/semver-373514822 [2020-12-21T03:04:21.769Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-21T03:04:22.343Z] # '/tmp/semver-373514822' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-702/.semver' [2020-12-21T03:04:22.343Z] # -> Force: false [2020-12-21T03:04:22.343Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-702/.semver [Pipeline] } [2020-12-21T03:04:22.367Z] $ docker exec --env ******** --env ******** 68d227d3361b3cc98f52ad890fae71e54dd7c370d77d5892fc73eaeb3926aa9f ssh-agent -k [2020-12-21T03:04:22.480Z] unset SSH_AUTH_SOCK; [2020-12-21T03:04:22.480Z] unset SSH_AGENT_PID; [2020-12-21T03:04:22.480Z] echo Agent pid 52 killed; [2020-12-21T03:04:22.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-21T03:04:23.126Z] + git semver [Pipeline] } [2020-12-21T03:04:23.153Z] $ docker stop --time=1 68d227d3361b3cc98f52ad890fae71e54dd7c370d77d5892fc73eaeb3926aa9f [2020-12-21T03:04:24.540Z] $ docker rm -f 68d227d3361b3cc98f52ad890fae71e54dd7c370d77d5892fc73eaeb3926aa9f [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T03:04:25.066Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-21T03:04:25.520Z] Stashed 1 file(s) [Pipeline] echo [2020-12-21T03:04:25.541Z] [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-21T03:04:41.411Z] Still waiting to schedule task [2020-12-21T03:04:41.412Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-21T03:04:41.439Z] Still waiting to schedule task [2020-12-21T03:04:41.439Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-21T03:06:31.156Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16979 in /w/workspace/dgexfoundry_device-sdk-go_PR-702 [Pipeline] { [Pipeline] ws [2020-12-21T03:06:31.323Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-21T03:06:36.433Z] using credential edgex-jenkins-ssh [2020-12-21T03:06:36.499Z] Cloning the remote Git repository [2020-12-21T03:06:36.555Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T03:06:36.659Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-21T03:06:36.725Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T03:06:36.726Z] > git --version # timeout=10 [2020-12-21T03:06:36.742Z] > git --version # 'git version 2.17.1' [2020-12-21T03:06:36.743Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T03:06:36.825Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T03:06:38.669Z] Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit 0950bb47099977d66490f327b10e1294d49aff53 [2020-12-21T03:06:38.906Z] Merge succeeded, producing 0950bb47099977d66490f327b10e1294d49aff53 [2020-12-21T03:06:38.907Z] Checking out Revision 0950bb47099977d66490f327b10e1294d49aff53 (PR-702) [2020-12-21T03:06:37.885Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T03:06:37.901Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T03:06:37.931Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T03:06:37.962Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T03:06:37.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T03:06:37.982Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/702/head:refs/remotes/origin/PR-702 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T03:06:38.691Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T03:06:38.711Z] > git checkout -f 0950bb47099977d66490f327b10e1294d49aff53 # timeout=10 [2020-12-21T03:06:38.825Z] > git remote # timeout=10 [2020-12-21T03:06:38.843Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T03:06:38.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T03:06:38.867Z] > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 [2020-12-21T03:06:38.890Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T03:06:38.913Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T03:06:38.965Z] > git checkout -f 0950bb47099977d66490f327b10e1294d49aff53 # timeout=10 [2020-12-21T03:06:43.221Z] Commit message: "feat: update DS in metadata to reflect config change" [2020-12-21T03:06:43.285Z] > git --version # timeout=10 [2020-12-21T03:06:43.297Z] > git --version # 'git version 2.17.1' [2020-12-21T03:06:43.312Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T03:06:45.004Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-21T03:06:45.469Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T03:06:45.831Z] + true [2020-12-21T03:06:45.832Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T03:06:48.588Z] provisioning config files... [2020-12-21T03:06:48.630Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2289271196555160596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T03:06:49.142Z] ---> docker-login.sh [2020-12-21T03:06:49.142Z] nexus3.edgexfoundry.org:10001 [2020-12-21T03:06:50.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:06:50.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:06:50.404Z] Configure a credential helper to remove this warning. See [2020-12-21T03:06:50.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:06:50.404Z] [2020-12-21T03:06:50.404Z] Login Succeeded [2020-12-21T03:06:50.404Z] nexus3.edgexfoundry.org:10002 [2020-12-21T03:06:50.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:06:50.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:06:50.684Z] Configure a credential helper to remove this warning. See [2020-12-21T03:06:50.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:06:50.684Z] [2020-12-21T03:06:50.684Z] Login Succeeded [2020-12-21T03:06:50.962Z] nexus3.edgexfoundry.org:10003 [2020-12-21T03:06:51.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:06:51.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:06:51.236Z] Configure a credential helper to remove this warning. See [2020-12-21T03:06:51.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:06:51.236Z] [2020-12-21T03:06:51.236Z] Login Succeeded [2020-12-21T03:06:51.236Z] nexus3.edgexfoundry.org:10004 [2020-12-21T03:06:51.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:06:51.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:06:51.832Z] Configure a credential helper to remove this warning. See [2020-12-21T03:06:51.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:06:51.832Z] [2020-12-21T03:06:51.832Z] Login Succeeded [2020-12-21T03:06:51.832Z] docker.io [2020-12-21T03:06:52.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:06:52.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:06:52.393Z] Configure a credential helper to remove this warning. See [2020-12-21T03:06:52.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:06:52.393Z] [2020-12-21T03:06:52.393Z] Login Succeeded [2020-12-21T03:06:52.666Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T03:06:52.696Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-21T03:06:53.241Z] ========================================================= [2020-12-21T03:06:53.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-21T03:06:53.241Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T03:06:53.699Z] + 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-21T03:06:53.977Z] Sending build context to Docker daemon 2.416MB [2020-12-21T03:06:53.977Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-21T03:06:53.977Z] Step 2/8 : FROM ${BASE} [2020-12-21T03:06:54.250Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-21T03:06:54.250Z] 5f621e34cdf4: Pulling fs layer [2020-12-21T03:06:54.250Z] a4357932f1b6: Pulling fs layer [2020-12-21T03:06:54.250Z] 18c013af1878: Pulling fs layer [2020-12-21T03:06:54.250Z] 00ac8860ef70: Pulling fs layer [2020-12-21T03:06:54.250Z] 63d7cb157983: Pulling fs layer [2020-12-21T03:06:54.250Z] b116817d02f9: Pulling fs layer [2020-12-21T03:06:54.250Z] 745a02a5169b: Pulling fs layer [2020-12-21T03:06:54.250Z] 00ac8860ef70: Waiting [2020-12-21T03:06:54.250Z] 63d7cb157983: Waiting [2020-12-21T03:06:54.250Z] b116817d02f9: Waiting [2020-12-21T03:06:54.250Z] 745a02a5169b: Waiting [2020-12-21T03:06:54.250Z] 18c013af1878: Verifying Checksum [2020-12-21T03:06:54.250Z] 18c013af1878: Download complete [2020-12-21T03:06:54.250Z] a4357932f1b6: Verifying Checksum [2020-12-21T03:06:54.250Z] a4357932f1b6: Download complete [2020-12-21T03:06:54.250Z] 63d7cb157983: Download complete [2020-12-21T03:06:54.250Z] b116817d02f9: Verifying Checksum [2020-12-21T03:06:54.250Z] b116817d02f9: Download complete [2020-12-21T03:06:54.523Z] 5f621e34cdf4: Verifying Checksum [2020-12-21T03:06:55.125Z] 5f621e34cdf4: Pull complete [2020-12-21T03:06:55.726Z] a4357932f1b6: Pull complete [2020-12-21T03:06:56.003Z] 18c013af1878: Pull complete [2020-12-21T03:06:57.454Z] 745a02a5169b: Verifying Checksum [2020-12-21T03:06:57.454Z] 745a02a5169b: Download complete [2020-12-21T03:06:58.435Z] 00ac8860ef70: Verifying Checksum [2020-12-21T03:06:58.435Z] 00ac8860ef70: Download complete [2020-12-21T03:07:08.622Z] 00ac8860ef70: Pull complete [2020-12-21T03:07:08.622Z] 63d7cb157983: Pull complete [2020-12-21T03:07:08.898Z] b116817d02f9: Pull complete [2020-12-21T03:07:13.239Z] 745a02a5169b: Pull complete [2020-12-21T03:07:13.239Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-21T03:07:13.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-21T03:07:13.239Z] ---> b7e6874047d6 [2020-12-21T03:07:13.239Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T03:07:15.217Z] ---> Running in 0f583c69dfe1 [2020-12-21T03:07:15.814Z] Removing intermediate container 0f583c69dfe1 [2020-12-21T03:07:15.814Z] ---> 77434e07e7ee [2020-12-21T03:07:15.814Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T03:07:15.814Z] ---> Running in f50a2f022969 [2020-12-21T03:07:18.454Z] Running on prd-centos7-docker-4c-2g-16980 in /w/workspace/dgexfoundry_device-sdk-go_PR-702 [Pipeline] { [2020-12-21T03:07:18.483Z] Removing intermediate container f50a2f022969 [2020-12-21T03:07:18.483Z] ---> ab995f3b4a78 [2020-12-21T03:07:18.483Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-21T03:07:18.483Z] ---> Running in df518ecc3c90 [Pipeline] ws [2020-12-21T03:07:18.552Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-21T03:07:19.094Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-21T03:07:20.083Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-21T03:07:20.982Z] using credential edgex-jenkins-ssh [2020-12-21T03:07:21.035Z] Cloning the remote Git repository [2020-12-21T03:07:21.074Z] OK: 142 MiB in 39 packages [2020-12-21T03:07:21.059Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T03:07:22.056Z] Removing intermediate container df518ecc3c90 [2020-12-21T03:07:22.057Z] ---> 3b0daad61e32 [2020-12-21T03:07:22.057Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-21T03:07:21.123Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-21T03:07:21.183Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T03:07:21.184Z] > git --version # timeout=10 [2020-12-21T03:07:21.190Z] > git --version # 'git version 2.24.3' [2020-12-21T03:07:21.190Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T03:07:21.213Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T03:07:22.050Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T03:07:22.056Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T03:07:22.069Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T03:07:22.087Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T03:07:22.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T03:07:22.091Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/702/head:refs/remotes/origin/PR-702 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T03:07:22.332Z] ---> Running in 9fae1fa23dc1 [2020-12-21T03:07:22.604Z] Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit 0950bb47099977d66490f327b10e1294d49aff53 [2020-12-21T03:07:22.704Z] Merge succeeded, producing 0950bb47099977d66490f327b10e1294d49aff53 [2020-12-21T03:07:22.705Z] Checking out Revision 0950bb47099977d66490f327b10e1294d49aff53 (PR-702) [2020-12-21T03:07:22.928Z] Removing intermediate container 9fae1fa23dc1 [2020-12-21T03:07:22.928Z] ---> ecc831137849 [2020-12-21T03:07:22.928Z] Step 7/8 : COPY . . [2020-12-21T03:07:22.614Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T03:07:22.620Z] > git checkout -f 0950bb47099977d66490f327b10e1294d49aff53 # timeout=10 [2020-12-21T03:07:22.673Z] > git remote # timeout=10 [2020-12-21T03:07:22.680Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T03:07:22.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T03:07:22.689Z] > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 [2020-12-21T03:07:22.699Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T03:07:22.708Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T03:07:22.712Z] > git checkout -f 0950bb47099977d66490f327b10e1294d49aff53 # timeout=10 [2020-12-21T03:07:24.368Z] ---> b9da4177dce2 [2020-12-21T03:07:24.368Z] Step 8/8 : RUN go mod download [2020-12-21T03:07:24.368Z] ---> Running in eee1e2a5c215 [2020-12-21T03:07:26.266Z] Commit message: "feat: update DS in metadata to reflect config change" [2020-12-21T03:07:26.291Z] > git --version # timeout=10 [2020-12-21T03:07:26.294Z] > git --version # 'git version 2.24.3' [2020-12-21T03:07:26.305Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T03:07:27.639Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-21T03:07:27.996Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T03:07:28.316Z] + sudo service docker restart [2020-12-21T03:07:28.316Z] + true [2020-12-21T03:07:28.316Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T03:07:29.409Z] provisioning config files... [2020-12-21T03:07:29.438Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4127794012812576545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T03:07:29.903Z] ---> docker-login.sh [2020-12-21T03:07:29.903Z] nexus3.edgexfoundry.org:10001 [2020-12-21T03:07:30.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:07:30.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:07:30.173Z] Configure a credential helper to remove this warning. See [2020-12-21T03:07:30.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:07:30.173Z] [2020-12-21T03:07:30.173Z] Login Succeeded [2020-12-21T03:07:30.173Z] nexus3.edgexfoundry.org:10002 [2020-12-21T03:07:30.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:07:30.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:07:30.454Z] Configure a credential helper to remove this warning. See [2020-12-21T03:07:30.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:07:30.454Z] [2020-12-21T03:07:30.454Z] Login Succeeded [2020-12-21T03:07:30.454Z] nexus3.edgexfoundry.org:10003 [2020-12-21T03:07:30.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:07:30.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:07:30.724Z] Configure a credential helper to remove this warning. See [2020-12-21T03:07:30.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:07:30.724Z] [2020-12-21T03:07:30.724Z] Login Succeeded [2020-12-21T03:07:30.724Z] nexus3.edgexfoundry.org:10004 [2020-12-21T03:07:30.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:07:30.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:07:30.724Z] Configure a credential helper to remove this warning. See [2020-12-21T03:07:30.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:07:30.724Z] [2020-12-21T03:07:30.724Z] Login Succeeded [2020-12-21T03:07:30.724Z] docker.io [2020-12-21T03:07:30.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T03:07:31.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T03:07:31.256Z] Configure a credential helper to remove this warning. See [2020-12-21T03:07:31.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T03:07:31.256Z] [2020-12-21T03:07:31.256Z] Login Succeeded [2020-12-21T03:07:31.256Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T03:07:31.281Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-21T03:07:31.861Z] ========================================================= [2020-12-21T03:07:31.861Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-21T03:07:31.861Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T03:07:32.241Z] + 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-21T03:07:32.241Z] Sending build context to Docker daemon 2.417MB [2020-12-21T03:07:32.241Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-21T03:07:32.241Z] Step 2/8 : FROM ${BASE} [2020-12-21T03:07:32.505Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-21T03:07:32.505Z] 188c0c94c7c5: Pulling fs layer [2020-12-21T03:07:32.505Z] 0ef7d3d256c8: Pulling fs layer [2020-12-21T03:07:32.505Z] de9db76c5a1d: Pulling fs layer [2020-12-21T03:07:32.505Z] bca2f99d35d6: Pulling fs layer [2020-12-21T03:07:32.505Z] 93359f2a8cfa: Pulling fs layer [2020-12-21T03:07:32.505Z] 7c6f9722023f: Pulling fs layer [2020-12-21T03:07:32.505Z] a35cf1a2eb13: Pulling fs layer [2020-12-21T03:07:32.505Z] bca2f99d35d6: Waiting [2020-12-21T03:07:32.505Z] 7c6f9722023f: Waiting [2020-12-21T03:07:32.505Z] 93359f2a8cfa: Waiting [2020-12-21T03:07:32.505Z] de9db76c5a1d: Verifying Checksum [2020-12-21T03:07:32.505Z] de9db76c5a1d: Download complete [2020-12-21T03:07:32.505Z] 0ef7d3d256c8: Verifying Checksum [2020-12-21T03:07:32.505Z] 0ef7d3d256c8: Download complete [2020-12-21T03:07:32.505Z] 93359f2a8cfa: Verifying Checksum [2020-12-21T03:07:32.505Z] 93359f2a8cfa: Download complete [2020-12-21T03:07:32.505Z] 188c0c94c7c5: Verifying Checksum [2020-12-21T03:07:32.505Z] 188c0c94c7c5: Download complete [2020-12-21T03:07:32.505Z] 7c6f9722023f: Verifying Checksum [2020-12-21T03:07:32.505Z] 7c6f9722023f: Download complete [2020-12-21T03:07:32.771Z] 188c0c94c7c5: Pull complete [2020-12-21T03:07:33.035Z] 0ef7d3d256c8: Pull complete [2020-12-21T03:07:33.035Z] de9db76c5a1d: Pull complete [2020-12-21T03:07:34.429Z] a35cf1a2eb13: Verifying Checksum [2020-12-21T03:07:34.430Z] a35cf1a2eb13: Download complete [2020-12-21T03:07:35.008Z] bca2f99d35d6: Verifying Checksum [2020-12-21T03:07:35.008Z] bca2f99d35d6: Download complete [2020-12-21T03:07:40.342Z] bca2f99d35d6: Pull complete [2020-12-21T03:07:40.342Z] 93359f2a8cfa: Pull complete [2020-12-21T03:07:40.342Z] 7c6f9722023f: Pull complete [2020-12-21T03:07:46.575Z] Removing intermediate container eee1e2a5c215 [2020-12-21T03:07:46.575Z] ---> 766bff5a538d [2020-12-21T03:07:46.575Z] Successfully built 766bff5a538d [2020-12-21T03:07:46.575Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T03:07:46.949Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T03:07:46.949Z] . [2020-12-21T03:07:46.972Z] a35cf1a2eb13: Pull complete [2020-12-21T03:07:46.972Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-21T03:07:46.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-21T03:07:46.972Z] ---> a62c8e92a672 [2020-12-21T03:07:46.972Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T03:07:46.972Z] ---> Running in 062627b09035 [2020-12-21T03:07:46.972Z] Removing intermediate container 062627b09035 [2020-12-21T03:07:46.972Z] ---> 98b67a2616ca [2020-12-21T03:07:46.972Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T03:07:46.972Z] ---> Running in d5e65e2488d0 [Pipeline] withDockerContainer [2020-12-21T03:07:47.236Z] prd-ubuntu18.04-docker-arm64-4c-16g-16979 does not seem to be running inside a container [2020-12-21T03:07:47.316Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2020-12-21T03:07:47.922Z] Removing intermediate container d5e65e2488d0 [2020-12-21T03:07:47.922Z] ---> 3499103b3b08 [2020-12-21T03:07:47.922Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-21T03:07:47.922Z] ---> Running in 84d56cea64dd [2020-12-21T03:07:48.838Z] $ docker top 95158e5372bfbf09e546d3270060f0650d59593bdee8ebb2d849e655be29a3db -eo pid,comm [2020-12-21T03:07:48.871Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh [2020-12-21T03:07:49.447Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T03:07:49.928Z] + go version [2020-12-21T03:07:49.928Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-21T03:07:49.961Z] $ docker stop --time=1 95158e5372bfbf09e546d3270060f0650d59593bdee8ebb2d849e655be29a3db [2020-12-21T03:07:50.402Z] OK: 166 MiB in 39 packages [2020-12-21T03:07:50.665Z] Removing intermediate container 84d56cea64dd [2020-12-21T03:07:50.665Z] ---> 65bf36d98441 [2020-12-21T03:07:50.665Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-21T03:07:50.931Z] ---> Running in 552fa4334e94 [2020-12-21T03:07:50.931Z] Removing intermediate container 552fa4334e94 [2020-12-21T03:07:50.931Z] ---> 9a4ed65564cc [2020-12-21T03:07:50.931Z] Step 7/8 : COPY . . [2020-12-21T03:07:51.878Z] $ docker rm -f 95158e5372bfbf09e546d3270060f0650d59593bdee8ebb2d849e655be29a3db [Pipeline] // withDockerContainer [Pipeline] } [2020-12-21T03:07:52.332Z] ---> 38e0f9015cf7 [2020-12-21T03:07:52.333Z] Step 8/8 : RUN go mod download [2020-12-21T03:07:52.333Z] ---> Running in ca7deadccf5c [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T03:07:53.232Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T03:07:53.232Z] . [Pipeline] withDockerContainer [2020-12-21T03:07:53.533Z] prd-ubuntu18.04-docker-arm64-4c-16g-16979 does not seem to be running inside a container [2020-12-21T03:07:53.614Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2020-12-21T03:07:55.064Z] $ docker top ad8faffa1b056f1101bbbc5bb077ed65720e643e326d2033618cd9dc04e349de -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T03:07:56.113Z] + make test [2020-12-21T03:07:56.114Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-21T03:08:10.507Z] Removing intermediate container ca7deadccf5c [2020-12-21T03:08:10.507Z] ---> 69d732e19bd8 [2020-12-21T03:08:10.507Z] Successfully built 69d732e19bd8 [2020-12-21T03:08:10.507Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T03:08:10.855Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T03:08:10.855Z] . [Pipeline] withDockerContainer [2020-12-21T03:08:10.994Z] prd-centos7-docker-4c-2g-16980 does not seem to be running inside a container [2020-12-21T03:08:11.046Z] $ 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-21T03:08:11.792Z] $ docker top d83d3193b61e972b78703117538f6231ea8933f40a0992aa5b3c82d47d0f1777 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T03:08:12.370Z] + go version [2020-12-21T03:08:12.370Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-21T03:08:12.405Z] $ docker stop --time=1 d83d3193b61e972b78703117538f6231ea8933f40a0992aa5b3c82d47d0f1777 [2020-12-21T03:08:13.767Z] $ docker rm -f d83d3193b61e972b78703117538f6231ea8933f40a0992aa5b3c82d47d0f1777 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T03:08:14.899Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T03:08:14.899Z] . [Pipeline] withDockerContainer [2020-12-21T03:08:15.027Z] prd-centos7-docker-4c-2g-16980 does not seem to be running inside a container [2020-12-21T03:08:15.080Z] $ 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-21T03:08:16.288Z] $ docker top ef1272149291a011bfb156f48b8826af22c538cfc1a2540af37eec26b4cfa48e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T03:08:16.879Z] + make test [2020-12-21T03:08:16.879Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-21T03:08:18.312Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-21T03:08:23.527Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-21T03:08:38.594Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-21T03:08:38.594Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-21T03:08:38.594Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-21T03:08:38.594Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 19.4% of statements [2020-12-21T03:08:39.548Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.469s coverage: 97.1% of statements [2020-12-21T03:08:57.376Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-21T03:08:57.376Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-21T03:08:57.376Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-21T03:08:57.376Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.124s coverage: 19.4% of statements [2020-12-21T03:09:00.014Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.196s coverage: 97.1% of statements [2020-12-21T03:09:11.814Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements [2020-12-21T03:09:11.815Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements [2020-12-21T03:09:11.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-21T03:09:11.815Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.212s coverage: 42.5% of statements [2020-12-21T03:09:11.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-21T03:09:11.815Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.295s coverage: 68.9% of statements [2020-12-21T03:09:11.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-21T03:09:11.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-21T03:09:11.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-21T03:09:11.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-21T03:09:11.815Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.070s coverage: 53.8% of statements [2020-12-21T03:09:11.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-21T03:09:11.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-21T03:09:11.815Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-21T03:09:11.815Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.262s coverage: 68.9% of statements [2020-12-21T03:09:11.815Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.053s coverage: 4.2% of statements [2020-12-21T03:09:11.815Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-21T03:09:11.815Z] GO111MODULE=on go vet ./... [2020-12-21T03:09:17.189Z] gofmt -l . [2020-12-21T03:09:17.456Z] [ "`gofmt -l .`" = "" ] [2020-12-21T03:09:17.456Z] ./bin/test-attribution-txt.sh [2020-12-21T03:09:18.034Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-21T03:09:18.336Z] $ docker stop --time=1 ef1272149291a011bfb156f48b8826af22c538cfc1a2540af37eec26b4cfa48e [2020-12-21T03:09:20.193Z] $ docker rm -f ef1272149291a011bfb156f48b8826af22c538cfc1a2540af37eec26b4cfa48e [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T03:09:21.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-21T03:09:21.374Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-21T03:09:24.171Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-21T03:09:24.494Z] + ls -al . [2020-12-21T03:09:24.494Z] total 208 [2020-12-21T03:09:24.494Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 21 03:09 . [2020-12-21T03:09:24.494Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 21 03:07 .. [2020-12-21T03:09:24.494Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 21 03:07 bin [2020-12-21T03:09:24.494Z] -rw-r--r--. 1 jenkins jenkins 130526 Dec 21 03:09 coverage.out [2020-12-21T03:09:24.494Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 21 03:07 Dockerfile.build [2020-12-21T03:09:24.494Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 21 03:07 .dockerignore [2020-12-21T03:09:24.494Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 21 03:07 example [2020-12-21T03:09:24.494Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 21 03:07 .git [2020-12-21T03:09:24.494Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 21 03:07 .github [2020-12-21T03:09:24.494Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 21 03:07 .gitignore [2020-12-21T03:09:24.494Z] -rw-r--r--. 1 jenkins jenkins 488 Dec 21 03:09 go.mod [2020-12-21T03:09:24.494Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 21 03:09 go.sum [2020-12-21T03:09:24.494Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 21 03:07 internal [2020-12-21T03:09:24.494Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 21 03:07 Jenkinsfile [2020-12-21T03:09:24.494Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 21 03:07 LICENSE [2020-12-21T03:09:24.494Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 21 03:07 Makefile [2020-12-21T03:09:24.494Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 21 03:07 openapi [2020-12-21T03:09:24.494Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 21 03:07 pkg [2020-12-21T03:09:24.494Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 21 03:07 README.md [2020-12-21T03:09:24.494Z] -rw-rw-r--. 1 jenkins jenkins 4291 Dec 21 03:07 RELEASE-NOTES.txt [2020-12-21T03:09:24.494Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 21 03:07 snap [2020-12-21T03:09:24.494Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 21 03:04 VERSION [2020-12-21T03:09:24.494Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 21 03:07 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-21T03:09:24.834Z] + 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=0950bb47099977d66490f327b10e1294d49aff53 --label arch=amd64 --label version=0.0.0 . [2020-12-21T03:09:25.100Z] Sending build context to Docker daemon 2.548MB [2020-12-21T03:09:25.100Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-21T03:09:25.100Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-21T03:09:25.100Z] ---> 69d732e19bd8 [2020-12-21T03:09:25.100Z] Step 3/24 : ARG MAKE='make build' [2020-12-21T03:09:25.675Z] ---> Running in 8ead32898d69 [2020-12-21T03:09:25.675Z] Removing intermediate container 8ead32898d69 [2020-12-21T03:09:25.675Z] ---> 3ada36f734fb [2020-12-21T03:09:25.675Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-21T03:09:25.945Z] ---> Running in 8c54cd46ab41 [2020-12-21T03:09:25.945Z] Removing intermediate container 8c54cd46ab41 [2020-12-21T03:09:25.945Z] ---> 9f95c251ddf5 [2020-12-21T03:09:25.945Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T03:09:25.945Z] ---> Running in c6e5ebc25687 [2020-12-21T03:09:26.209Z] Removing intermediate container c6e5ebc25687 [2020-12-21T03:09:26.209Z] ---> 6d569ae0f77e [2020-12-21T03:09:26.209Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T03:09:26.209Z] ---> Running in 04740d593445 [2020-12-21T03:09:27.040Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.134s coverage: 9.4% of statements [2020-12-21T03:09:27.040Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.108s coverage: 21.9% of statements [2020-12-21T03:09:27.040Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-21T03:09:27.040Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.596s coverage: 42.5% of statements [2020-12-21T03:09:27.040Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-21T03:09:27.040Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.794s coverage: 68.9% of statements [2020-12-21T03:09:27.040Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-21T03:09:27.040Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-21T03:09:27.040Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-21T03:09:27.040Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-21T03:09:27.040Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.180s coverage: 53.8% of statements [2020-12-21T03:09:27.040Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-21T03:09:27.040Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-21T03:09:27.040Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-21T03:09:27.040Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.160s coverage: 68.9% of statements [2020-12-21T03:09:27.040Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.120s coverage: 4.2% of statements [2020-12-21T03:09:27.040Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-21T03:09:27.161Z] Removing intermediate container 04740d593445 [2020-12-21T03:09:27.162Z] ---> 17e9f64f0eca [2020-12-21T03:09:27.162Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-21T03:09:27.162Z] ---> Running in 30ffdc1df79f [2020-12-21T03:09:27.313Z] GO111MODULE=on go vet ./... [2020-12-21T03:09:27.737Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-21T03:09:28.310Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T03:09:28.883Z] OK: 166 MiB in 39 packages [2020-12-21T03:09:29.456Z] Removing intermediate container 30ffdc1df79f [2020-12-21T03:09:29.456Z] ---> e8845d2618eb [2020-12-21T03:09:29.456Z] Step 8/24 : COPY . . [2020-12-21T03:09:30.032Z] ---> 107db7dbab3b [2020-12-21T03:09:30.032Z] Step 9/24 : RUN ${MAKE} [2020-12-21T03:09:30.296Z] ---> Running in 7528a1ee34b0 [2020-12-21T03:09:30.560Z] 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-21T03:09:38.797Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-21T03:09:40.718Z] Removing intermediate container 7528a1ee34b0 [2020-12-21T03:09:40.718Z] ---> 214d0f677eab [2020-12-21T03:09:40.718Z] Step 10/24 : FROM scratch [2020-12-21T03:09:40.718Z] ---> [2020-12-21T03:09:40.718Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T03:09:40.718Z] ---> Running in c04dbf4a7b24 [2020-12-21T03:09:40.718Z] Removing intermediate container c04dbf4a7b24 [2020-12-21T03:09:40.718Z] ---> 2e8e3f52f555 [2020-12-21T03:09:40.718Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-21T03:09:40.980Z] ---> Running in 0407295c9b0c [2020-12-21T03:09:40.980Z] Removing intermediate container 0407295c9b0c [2020-12-21T03:09:40.980Z] ---> c3a9e1319fb7 [2020-12-21T03:09:40.980Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-21T03:09:40.980Z] ---> Running in d8f950d1449b [2020-12-21T03:09:41.244Z] Removing intermediate container d8f950d1449b [2020-12-21T03:09:41.244Z] ---> efa1666998ca [2020-12-21T03:09:41.244Z] Step 14/24 : WORKDIR / [2020-12-21T03:09:41.244Z] ---> Running in 5936cdeee209 [2020-12-21T03:09:41.506Z] Removing intermediate container 5936cdeee209 [2020-12-21T03:09:41.506Z] ---> 65b9210fc8e3 [2020-12-21T03:09:41.506Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-21T03:09:41.768Z] ---> 93a9d4180cb9 [2020-12-21T03:09:41.768Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-21T03:09:42.033Z] ---> f63e9fdc6422 [2020-12-21T03:09:42.033Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-21T03:09:42.301Z] ---> bf09a376cfe0 [2020-12-21T03:09:42.301Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-21T03:09:42.562Z] ---> edaa31f3fab4 [2020-12-21T03:09:42.562Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-21T03:09:42.824Z] ---> 63a70ae0b1dc [2020-12-21T03:09:42.824Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-21T03:09:42.824Z] ---> Running in ca43e44e2da6 [2020-12-21T03:09:43.086Z] Removing intermediate container ca43e44e2da6 [2020-12-21T03:09:43.086Z] ---> 45e37c9a5607 [2020-12-21T03:09:43.086Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-21T03:09:43.086Z] ---> Running in dc4b3ae07678 [2020-12-21T03:09:43.348Z] Removing intermediate container dc4b3ae07678 [2020-12-21T03:09:43.348Z] ---> 5fab9b69eaec [2020-12-21T03:09:43.348Z] Step 22/24 : LABEL arch=amd64 [2020-12-21T03:09:43.348Z] ---> Running in e869da682b37 [2020-12-21T03:09:43.348Z] Removing intermediate container e869da682b37 [2020-12-21T03:09:43.348Z] ---> 838b3946c6e2 [2020-12-21T03:09:43.348Z] Step 23/24 : LABEL git_sha=0950bb47099977d66490f327b10e1294d49aff53 [2020-12-21T03:09:43.610Z] ---> Running in 4b9d7359308a [2020-12-21T03:09:43.610Z] Removing intermediate container 4b9d7359308a [2020-12-21T03:09:43.610Z] ---> c058a30c90fa [2020-12-21T03:09:43.610Z] Step 24/24 : LABEL version=0.0.0 [2020-12-21T03:09:43.871Z] ---> Running in dbe3322e3550 [2020-12-21T03:09:43.871Z] Removing intermediate container dbe3322e3550 [2020-12-21T03:09:43.871Z] ---> e6f048a311d7 [2020-12-21T03:09:43.871Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-21T03:09:43.871Z] Successfully built e6f048a311d7 [2020-12-21T03:09:43.871Z] 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-21T03:09:59.696Z] gofmt -l . [2020-12-21T03:09:59.696Z] [ "`gofmt -l .`" = "" ] [2020-12-21T03:09:59.696Z] ./bin/test-attribution-txt.sh [2020-12-21T03:09:59.696Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-21T03:09:59.733Z] $ docker stop --time=1 ad8faffa1b056f1101bbbc5bb077ed65720e643e326d2033618cd9dc04e349de [2020-12-21T03:10:01.845Z] $ docker rm -f ad8faffa1b056f1101bbbc5bb077ed65720e643e326d2033618cd9dc04e349de [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T03:10:02.971Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-21T03:10:03.020Z] Warning: overwriting stash ‘coverage-report’ [2020-12-21T03:10:03.865Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T03:10:04.764Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-21T03:10:05.120Z] + ls -al . [2020-12-21T03:10:05.120Z] total 244 [2020-12-21T03:10:05.120Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 21 03:09 . [2020-12-21T03:10:05.120Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 03:06 .. [2020-12-21T03:10:05.120Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 21 03:06 .dockerignore [2020-12-21T03:10:05.120Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 03:06 .git [2020-12-21T03:10:05.120Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 03:06 .github [2020-12-21T03:10:05.120Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 21 03:06 .gitignore [2020-12-21T03:10:05.120Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 21 03:06 Dockerfile.build [2020-12-21T03:10:05.120Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 21 03:06 Jenkinsfile [2020-12-21T03:10:05.120Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 21 03:06 LICENSE [2020-12-21T03:10:05.120Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 21 03:06 Makefile [2020-12-21T03:10:05.120Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 21 03:06 README.md [2020-12-21T03:10:05.120Z] -rw-rw-r-- 1 jenkins jenkins 4291 Dec 21 03:06 RELEASE-NOTES.txt [2020-12-21T03:10:05.120Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 21 03:04 VERSION [2020-12-21T03:10:05.120Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 03:06 bin [2020-12-21T03:10:05.120Z] -rw-r--r-- 1 jenkins jenkins 130526 Dec 21 03:09 coverage.out [2020-12-21T03:10:05.120Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 03:06 example [2020-12-21T03:10:05.120Z] -rw-r--r-- 1 jenkins jenkins 488 Dec 21 03:09 go.mod [2020-12-21T03:10:05.120Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 21 03:09 go.sum [2020-12-21T03:10:05.120Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 21 03:06 internal [2020-12-21T03:10:05.120Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 03:06 openapi [2020-12-21T03:10:05.120Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 21 03:06 pkg [2020-12-21T03:10:05.120Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 03:06 snap [2020-12-21T03:10:05.120Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 21 03:06 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-21T03:10:05.501Z] + 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=0950bb47099977d66490f327b10e1294d49aff53 --label arch=arm64 --label version=0.0.0 . [2020-12-21T03:10:06.104Z] Sending build context to Docker daemon 2.547MB [2020-12-21T03:10:06.104Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-21T03:10:06.104Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-21T03:10:06.104Z] ---> 766bff5a538d [2020-12-21T03:10:06.104Z] Step 3/24 : ARG MAKE='make build' [2020-12-21T03:10:06.376Z] ---> Running in 21b9a1af127b [2020-12-21T03:10:06.648Z] Removing intermediate container 21b9a1af127b [2020-12-21T03:10:06.648Z] ---> 9d40ff6b0229 [2020-12-21T03:10:06.648Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-21T03:10:06.920Z] ---> Running in a3971f0eddfe [2020-12-21T03:10:07.192Z] Removing intermediate container a3971f0eddfe [2020-12-21T03:10:07.192Z] ---> c1babde2ad67 [2020-12-21T03:10:07.192Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T03:10:07.467Z] ---> Running in a75e27cfa3a5 [2020-12-21T03:10:07.738Z] Removing intermediate container a75e27cfa3a5 [2020-12-21T03:10:07.738Z] ---> 1e1c80ea7517 [2020-12-21T03:10:07.738Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T03:10:08.012Z] ---> Running in e3c5263388fc [2020-12-21T03:10:10.008Z] Removing intermediate container e3c5263388fc [2020-12-21T03:10:10.008Z] ---> d4c892dbb1d9 [2020-12-21T03:10:10.008Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-21T03:10:10.008Z] ---> Running in 1765e28e1367 [2020-12-21T03:10:10.989Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-21T03:10:11.965Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-21T03:10:12.564Z] OK: 142 MiB in 39 packages [2020-12-21T03:10:13.545Z] Removing intermediate container 1765e28e1367 [2020-12-21T03:10:13.545Z] ---> b23925854a8f [2020-12-21T03:10:13.545Z] Step 8/24 : COPY . . [2020-12-21T03:10:14.980Z] ---> 1cb091d2099c [2020-12-21T03:10:14.980Z] Step 9/24 : RUN ${MAKE} [2020-12-21T03:10:14.980Z] ---> Running in 1761f64b9b0d [2020-12-21T03:10:15.959Z] 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-21T03:10:42.767Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-21T03:10:42.767Z] Removing intermediate container 1761f64b9b0d [2020-12-21T03:10:42.767Z] ---> 4e62eaa71342 [2020-12-21T03:10:42.767Z] Step 10/24 : FROM scratch [2020-12-21T03:10:42.767Z] ---> [2020-12-21T03:10:42.767Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T03:10:42.767Z] ---> Running in 6508091965d5 [2020-12-21T03:10:43.039Z] Removing intermediate container 6508091965d5 [2020-12-21T03:10:43.040Z] ---> 6e43f29aa005 [2020-12-21T03:10:43.040Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-21T03:10:43.040Z] ---> Running in 767019291cfc [2020-12-21T03:10:43.635Z] Removing intermediate container 767019291cfc [2020-12-21T03:10:43.635Z] ---> 9c3c2a681701 [2020-12-21T03:10:43.635Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-21T03:10:43.635Z] ---> Running in f9a29d54b8dc [2020-12-21T03:10:43.909Z] Removing intermediate container f9a29d54b8dc [2020-12-21T03:10:43.909Z] ---> 729c822c2b81 [2020-12-21T03:10:43.909Z] Step 14/24 : WORKDIR / [2020-12-21T03:10:44.187Z] ---> Running in fa65db65131e [2020-12-21T03:10:44.462Z] Removing intermediate container fa65db65131e [2020-12-21T03:10:44.462Z] ---> 40f3e5149c80 [2020-12-21T03:10:44.462Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-21T03:10:45.892Z] ---> e318be95797e [2020-12-21T03:10:45.892Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-21T03:10:46.486Z] ---> c81b85f475c3 [2020-12-21T03:10:46.486Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-21T03:10:47.079Z] ---> b6eebf5c44bf [2020-12-21T03:10:47.079Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-21T03:10:47.673Z] ---> 26f1786f80d3 [2020-12-21T03:10:47.673Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-21T03:10:48.648Z] ---> 68a3aea2ead8 [2020-12-21T03:10:48.648Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-21T03:10:48.648Z] ---> Running in 0968e588f1cc [2020-12-21T03:10:48.922Z] Removing intermediate container 0968e588f1cc [2020-12-21T03:10:48.922Z] ---> 4bd5e55308ed [2020-12-21T03:10:48.922Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-21T03:10:49.195Z] ---> Running in dc51abc8fa71 [2020-12-21T03:10:49.468Z] Removing intermediate container dc51abc8fa71 [2020-12-21T03:10:49.468Z] ---> 161935e7e4d0 [2020-12-21T03:10:49.468Z] Step 22/24 : LABEL arch=arm64 [2020-12-21T03:10:49.742Z] ---> Running in 42ed7f1effdb [2020-12-21T03:10:50.014Z] Removing intermediate container 42ed7f1effdb [2020-12-21T03:10:50.014Z] ---> 7e8cdfc4d72f [2020-12-21T03:10:50.014Z] Step 23/24 : LABEL git_sha=0950bb47099977d66490f327b10e1294d49aff53 [2020-12-21T03:10:50.288Z] ---> Running in c4b1d549af1c [2020-12-21T03:10:50.889Z] Removing intermediate container c4b1d549af1c [2020-12-21T03:10:50.889Z] ---> 7ec471dbced4 [2020-12-21T03:10:50.889Z] Step 24/24 : LABEL version=0.0.0 [2020-12-21T03:10:50.889Z] ---> Running in d323f0de9edf [2020-12-21T03:10:51.162Z] Removing intermediate container d323f0de9edf [2020-12-21T03:10:51.162Z] ---> 75e1ca9c1da5 [2020-12-21T03:10:51.162Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-21T03:10:51.433Z] Successfully built 75e1ca9c1da5 [2020-12-21T03:10:51.433Z] 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-21T03:10:53.825Z] provisioning config files... [2020-12-21T03:10:53.839Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/config1143094827177968833tmp [Pipeline] { [Pipeline] sh [2020-12-21T03:10:54.280Z] + set +x [2020-12-21T03:10:54.280Z] + curl -s https://codecov.io/bash [2020-12-21T03:10:54.280Z] + bash -s -- [2020-12-21T03:10:54.544Z] [2020-12-21T03:10:54.544Z] _____ _ [2020-12-21T03:10:54.544Z] / ____| | | [2020-12-21T03:10:54.544Z] | | ___ __| | ___ ___ _____ __ [2020-12-21T03:10:54.544Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-21T03:10:54.544Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-21T03:10:54.544Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-21T03:10:54.544Z] Bash-20201217-3d3df35 [2020-12-21T03:10:54.544Z] [2020-12-21T03:10:54.544Z] [2020-12-21T03:10:54.544Z] git version 2.24.3 found [2020-12-21T03:10:54.544Z] 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-21T03:10:54.544Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-21T03:10:54.544Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found [2020-12-21T03:10:54.544Z] ==> Jenkins CI detected. [2020-12-21T03:10:54.544Z] project root: . [2020-12-21T03:10:54.544Z] --> token set from env [2020-12-21T03:10:54.544Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-21T03:10:54.544Z] ==> Running gcov in . (disable via -X gcov) [2020-12-21T03:10:54.544Z] ==> Python coveragepy not found [2020-12-21T03:10:54.544Z] ==> Searching for coverage reports in: [2020-12-21T03:10:54.544Z] + . [2020-12-21T03:10:54.544Z] -> Found 1 reports [2020-12-21T03:10:54.544Z] ==> Detecting git/mercurial file structure [2020-12-21T03:10:54.544Z] ==> Reading reports [2020-12-21T03:10:54.544Z] + ./coverage.out bytes=130526 [2020-12-21T03:10:54.544Z] ==> Appending adjustments [2020-12-21T03:10:54.544Z] https://docs.codecov.io/docs/fixing-reports [2020-12-21T03:10:55.121Z] + Found adjustments [2020-12-21T03:10:55.121Z] ==> Gzipping contents [2020-12-21T03:10:55.121Z] 24K /tmp/codecov.QxWI9I.gz [2020-12-21T03:10:55.121Z] ==> Uploading reports [2020-12-21T03:10:55.121Z] url: https://codecov.io [2020-12-21T03:10:55.121Z] query: branch=PR-702&commit=0950bb47099977d66490f327b10e1294d49aff53&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-702%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=702&job=&cmd_args= [2020-12-21T03:10:55.121Z] -> Pinging Codecov [2020-12-21T03:10:55.121Z] https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-702&commit=0950bb47099977d66490f327b10e1294d49aff53&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-702%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=702&job=&cmd_args= [2020-12-21T03:10:55.382Z] -> Uploading to [2020-12-21T03:10:55.383Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-21/7E55EF52A471D76F132DFD9A03CDDE97/0950bb47099977d66490f327b10e1294d49aff53/a2cb79ce-3f75-4aa6-98a6-27754d255c9a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201221T031055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2bd02dbbf8b45b3fca405a2b1af7bf804119397dff6693c3d7c936803ed4027f [2020-12-21T03:10:55.383Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-21T03:10:55.383Z] Dload Upload Total Spent Left Speed [2020-12-21T03:10:55.959Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21280 0 0 100 21280 0 37151 --:--:-- --:--:-- --:--:-- 37202 [2020-12-21T03:10:55.959Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0950bb47099977d66490f327b10e1294d49aff53 [Pipeline] } [2020-12-21T03:10:55.982Z] 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-21T03:10:59.534Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T03:10:59.877Z] ---> package-listing.sh [2020-12-21T03:10:59.877Z] ++ facter osfamily [2020-12-21T03:10:59.877Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-21T03:10:59.877Z] + OS_FAMILY=redhat [2020-12-21T03:10:59.877Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-702 [2020-12-21T03:10:59.877Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-21T03:10:59.877Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-21T03:10:59.877Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-21T03:10:59.877Z] + PACKAGES=/tmp/packages_start.txt [2020-12-21T03:10:59.877Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-702 ']' [2020-12-21T03:10:59.877Z] + PACKAGES=/tmp/packages_end.txt [2020-12-21T03:10:59.877Z] + case "${OS_FAMILY}" in [2020-12-21T03:10:59.877Z] + rpm -qa [2020-12-21T03:10:59.877Z] + sort [2020-12-21T03:11:05.173Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-21T03:11:05.173Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-21T03:11:05.173Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-21T03:11:05.173Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-702 ']' [2020-12-21T03:11:05.173Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-702/archives/ [2020-12-21T03:11:05.173Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-702/archives/ [Pipeline] echo [2020-12-21T03:11:05.203Z] 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-702/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-21T03:11:05.510Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-21T03:11:05.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T03:11:05.857Z] [2020-12-21T03:11:05.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-21T03:11:06.247Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T03:11:06.247Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-21T03:11:06.247Z] df20fa9351a1: Pulling fs layer [2020-12-21T03:11:06.247Z] 36b3adc4ff6f: Pulling fs layer [2020-12-21T03:11:06.247Z] 8ad3a11d3b57: Pulling fs layer [2020-12-21T03:11:06.247Z] 46f8f816bc3b: Pulling fs layer [2020-12-21T03:11:06.247Z] 93b61091891f: Pulling fs layer [2020-12-21T03:11:06.247Z] 93b9cdb0e59b: Pulling fs layer [2020-12-21T03:11:06.247Z] 5e14af77c1be: Pulling fs layer [2020-12-21T03:11:06.247Z] 01666e4c0597: Pulling fs layer [2020-12-21T03:11:06.247Z] aa168da1d23b: Pulling fs layer [2020-12-21T03:11:06.247Z] 46f8f816bc3b: Waiting [2020-12-21T03:11:06.247Z] 93b61091891f: Waiting [2020-12-21T03:11:06.247Z] 93b9cdb0e59b: Waiting [2020-12-21T03:11:06.247Z] 5e14af77c1be: Waiting [2020-12-21T03:11:06.247Z] aa168da1d23b: Waiting [2020-12-21T03:11:06.247Z] 36b3adc4ff6f: Verifying Checksum [2020-12-21T03:11:06.247Z] 36b3adc4ff6f: Download complete [2020-12-21T03:11:06.247Z] 46f8f816bc3b: Verifying Checksum [2020-12-21T03:11:06.247Z] 46f8f816bc3b: Download complete [2020-12-21T03:11:06.509Z] df20fa9351a1: Download complete [2020-12-21T03:11:06.509Z] 93b61091891f: Verifying Checksum [2020-12-21T03:11:06.509Z] 93b61091891f: Download complete [2020-12-21T03:11:06.509Z] 93b9cdb0e59b: Download complete [2020-12-21T03:11:06.509Z] 5e14af77c1be: Verifying Checksum [2020-12-21T03:11:06.509Z] 5e14af77c1be: Download complete [2020-12-21T03:11:06.509Z] 01666e4c0597: Verifying Checksum [2020-12-21T03:11:06.509Z] 01666e4c0597: Download complete [2020-12-21T03:11:06.509Z] 8ad3a11d3b57: Verifying Checksum [2020-12-21T03:11:06.509Z] 8ad3a11d3b57: Download complete [2020-12-21T03:11:06.772Z] df20fa9351a1: Pull complete [2020-12-21T03:11:07.035Z] 36b3adc4ff6f: Pull complete [2020-12-21T03:11:07.614Z] 8ad3a11d3b57: Pull complete [2020-12-21T03:11:07.877Z] 46f8f816bc3b: Pull complete [2020-12-21T03:11:08.851Z] aa168da1d23b: Verifying Checksum [2020-12-21T03:11:08.851Z] aa168da1d23b: Download complete [2020-12-21T03:11:09.428Z] 93b61091891f: Pull complete [2020-12-21T03:11:09.693Z] 93b9cdb0e59b: Pull complete [2020-12-21T03:11:09.955Z] 5e14af77c1be: Pull complete [2020-12-21T03:11:09.955Z] 01666e4c0597: Pull complete [2020-12-21T03:11:16.569Z] aa168da1d23b: Pull complete [2020-12-21T03:11:16.569Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-21T03:11:16.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T03:11:16.569Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-21T03:11:16.742Z] prd-centos7-docker-4c-2g-16977 does not seem to be running inside a container [2020-12-21T03:11:16.783Z] $ 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-702/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-702 -v /w/workspace/dgexfoundry_device-sdk-go_PR-702:/w/workspace/dgexfoundry_device-sdk-go_PR-702:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-702@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-21T03:11:23.014Z] $ docker top c24befb8665c7d6a93f9f8a3db41d4a6d7aa053e0db74e183941216b47ba09f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T03:11:23.660Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-21T03:11:23.977Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-21T03:11:24.292Z] + ls /var/log/sa-host [2020-12-21T03:11:24.292Z] + sadf -c /var/log/sa-host/sa21 [2020-12-21T03:11:24.292Z] file_magic: OK [2020-12-21T03:11:24.292Z] HZ: Using current value: 100 [2020-12-21T03:11:24.292Z] file_header: OK [2020-12-21T03:11:24.292Z] 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-21T03:11:24.292Z] Statistics: [2020-12-21T03:11:24.292Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-21T03:11:24.292Z] File successfully converted to sysstat format version 12.2.1 [2020-12-21T03:11:24.292Z] + sadf -c /var/log/sa-host/sa23 [2020-12-21T03:11:24.292Z] file_magic: OK [2020-12-21T03:11:24.292Z] HZ: Using current value: 100 [2020-12-21T03:11:24.292Z] file_header: OK [2020-12-21T03:11:24.292Z] 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-21T03:11:24.292Z] Statistics: [2020-12-21T03:11:24.292Z] Hnuu...uuuununununu... [2020-12-21T03:11:24.292Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-21T03:11:24.950Z] provisioning config files... [2020-12-21T03:11:24.965Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/config4090339679800268501tmp [Pipeline] { [Pipeline] echo [2020-12-21T03:11:25.102Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T03:11:25.449Z] ---> create-netrc.sh [Pipeline] } [2020-12-21T03:11:25.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-21T03:11:25.673Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T03:11:26.007Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-21T03:11:26.033Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T03:11:26.368Z] ---> sudo-logs.sh [2020-12-21T03:11:26.368Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-21T03:11:26.415Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T03:11:26.745Z] ---> job-cost.sh [2020-12-21T03:11:26.745Z] lf-activate-venv: SKIPPING [2020-12-21T03:11:26.745Z] INFO: No Stack... [2020-12-21T03:11:27.694Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-21T03:11:28.285Z] INFO: Archiving Costs [Pipeline] echo [2020-12-21T03:11:28.343Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T03:11:28.754Z] ---> logs-deploy.sh [2020-12-21T03:11:28.754Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-702/1 [2020-12-21T03:11:28.754Z] INFO: archiving workspace using pattern(s): [2020-12-21T03:11:30.145Z] Archives upload complete. [2020-12-21T03:11:30.406Z] INFO: archiving logs to Nexus