Pull request #795 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 4822fad6fe40ed14e5632a9345f0fe92edb82595+848c16ec05d796c9e5a16abafab7aa79fc4967e4 (df1c6ef2cad5f2ca714b71668a696864d7505aa0) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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-795/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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-795/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27290 in /w/workspace/dgexfoundry_device-sdk-go_PR-795 [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-795 # 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/795/head:refs/remotes/origin/PR-795 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit 4822fad6fe40ed14e5632a9345f0fe92edb82595 Merge succeeded, producing 4822fad6fe40ed14e5632a9345f0fe92edb82595 Checking out Revision 4822fad6fe40ed14e5632a9345f0fe92edb82595 (PR-795) > git config core.sparsecheckout # timeout=10 > git checkout -f 4822fad6fe40ed14e5632a9345f0fe92edb82595 # 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 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4822fad6fe40ed14e5632a9345f0fe92edb82595 # timeout=10 Commit message: "feat: spawn autoevents for discovered device" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-23T07:58:49.553Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-23T07:58:49.931Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-23T07:58:50.181Z] ========================================================= [2021-02-23T07:58:50.181Z] EdgeX Global Pipelines Version Info [2021-02-23T07:58:50.181Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-23T07:58:51.632Z] ------------------- [2021-02-23T07:58:51.632Z] stable info: [2021-02-23T07:58:51.632Z] ------------------- [2021-02-23T07:58:51.632Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-23T07:58:51.632Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-23T07:58:51.632Z] Message: update stable to v1.0.179 [2021-02-23T07:58:52.578Z] ------------------- [2021-02-23T07:58:52.578Z] experimental info: [2021-02-23T07:58:52.578Z] ------------------- [2021-02-23T07:58:52.578Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-23T07:58:52.578Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-23T07:58:52.578Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-23T07:58:52.937Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-23T07:58:53.059Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-23T07:58:53.180Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-23T07:58:53.346Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-23T07:58:53.542Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-23T07:58:53.674Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-23T07:58:53.799Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-23T07:58:53.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-23T07:58:54.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-23T07:58:54.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-23T07:58:54.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-23T07:58:54.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-23T07:58:54.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-23T07:58:54.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-23T07:58:54.812Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-23T07:58:54.950Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T07:58:55.071Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T07:58:55.193Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T07:58:55.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-23T07:58:55.444Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-23T07:58:55.584Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-23T07:58:55.715Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-23T07:58:55.845Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-23T07:58:55.974Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-23T07:58:56.124Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-23T07:58:56.275Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-23T07:58:56.422Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-23T07:58:56.541Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-795 [Pipeline] echo [2021-02-23T07:58:56.684Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-795 [Pipeline] echo [2021-02-23T07:58:56.818Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-795 [Pipeline] echo [2021-02-23T07:58:56.941Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4822fad6fe40ed14e5632a9345f0fe92edb82595 [Pipeline] echo [2021-02-23T07:58:57.063Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4822fad [Pipeline] echo [2021-02-23T07:58:57.192Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T07:58:57.491Z] provisioning config files... [2021-02-23T07:58:57.520Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp/config7536543124362134484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T07:58:57.943Z] ---> docker-login.sh [2021-02-23T07:58:57.943Z] nexus3.edgexfoundry.org:10001 [2021-02-23T07:58:58.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T07:58:58.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T07:58:58.474Z] Configure a credential helper to remove this warning. See [2021-02-23T07:58:58.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T07:58:58.474Z] [2021-02-23T07:58:58.474Z] Login Succeeded [2021-02-23T07:58:58.474Z] nexus3.edgexfoundry.org:10002 [2021-02-23T07:58:58.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T07:58:58.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T07:58:58.737Z] Configure a credential helper to remove this warning. See [2021-02-23T07:58:58.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T07:58:58.737Z] [2021-02-23T07:58:58.737Z] Login Succeeded [2021-02-23T07:58:58.737Z] nexus3.edgexfoundry.org:10003 [2021-02-23T07:58:58.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T07:58:59.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T07:58:59.001Z] Configure a credential helper to remove this warning. See [2021-02-23T07:58:59.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T07:58:59.001Z] [2021-02-23T07:58:59.001Z] Login Succeeded [2021-02-23T07:58:59.001Z] nexus3.edgexfoundry.org:10004 [2021-02-23T07:58:59.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T07:58:59.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T07:58:59.001Z] Configure a credential helper to remove this warning. See [2021-02-23T07:58:59.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T07:58:59.001Z] [2021-02-23T07:58:59.001Z] Login Succeeded [2021-02-23T07:58:59.001Z] docker.io [2021-02-23T07:58:59.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T07:58:59.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T07:58:59.528Z] Configure a credential helper to remove this warning. See [2021-02-23T07:58:59.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T07:58:59.528Z] [2021-02-23T07:58:59.528Z] Login Succeeded [2021-02-23T07:58:59.528Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T07:58:59.552Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T07:59:00.651Z] + git log --format=format:%s -1 4822fad6fe40ed14e5632a9345f0fe92edb82595 [Pipeline] echo [2021-02-23T07:59:00.750Z] GIT_COMMIT: 4822fad6fe40ed14e5632a9345f0fe92edb82595, Commit Message: feat: spawn autoevents for discovered device [Pipeline] echo [2021-02-23T07:59:00.822Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-23T07:59:01.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T07:59:01.910Z] [2021-02-23T07:59:01.910Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T07:59:02.313Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T07:59:02.313Z] latest: Pulling from edgex-devops/git-semver [2021-02-23T07:59:02.313Z] 31603596830f: Pulling fs layer [2021-02-23T07:59:02.313Z] 2a8b12db71e7: Pulling fs layer [2021-02-23T07:59:02.313Z] 6ca5941a6612: Pulling fs layer [2021-02-23T07:59:02.313Z] ecc8261a40a4: Pulling fs layer [2021-02-23T07:59:02.313Z] ecc8261a40a4: Waiting [2021-02-23T07:59:02.313Z] 2a8b12db71e7: Verifying Checksum [2021-02-23T07:59:02.313Z] 2a8b12db71e7: Download complete [2021-02-23T07:59:02.584Z] 31603596830f: Verifying Checksum [2021-02-23T07:59:02.584Z] 31603596830f: Download complete [2021-02-23T07:59:02.584Z] ecc8261a40a4: Verifying Checksum [2021-02-23T07:59:02.584Z] ecc8261a40a4: Download complete [2021-02-23T07:59:02.584Z] 6ca5941a6612: Verifying Checksum [2021-02-23T07:59:02.584Z] 6ca5941a6612: Download complete [2021-02-23T07:59:02.847Z] 31603596830f: Pull complete [2021-02-23T07:59:03.114Z] 2a8b12db71e7: Pull complete [2021-02-23T07:59:03.696Z] 6ca5941a6612: Pull complete [2021-02-23T07:59:03.968Z] ecc8261a40a4: Pull complete [2021-02-23T07:59:03.968Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-23T07:59:03.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T07:59:03.984Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-23T07:59:04.124Z] prd-centos7-docker-4c-2g-27290 does not seem to be running inside a container [2021-02-23T07:59:04.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-795 -v /w/workspace/dgexfoundry_device-sdk-go_PR-795:/w/workspace/dgexfoundry_device-sdk-go_PR-795:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-23T07:59:06.343Z] $ docker top 72fe526e902191e65689d37039f9a05ef841e24a62f05749cd39b4a25e42f73e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-23T07:59:06.757Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T07:59:06.757Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T07:59:06.973Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T07:59:06.977Z] $ docker exec 72fe526e902191e65689d37039f9a05ef841e24a62f05749cd39b4a25e42f73e ssh-agent [2021-02-23T07:59:07.158Z] SSH_AUTH_SOCK=/tmp/ssh-7wZe5KeNGtUe/agent.11 [2021-02-23T07:59:07.158Z] SSH_AGENT_PID=16 [2021-02-23T07:59:07.173Z] Running ssh-add (command line suppressed) [2021-02-23T07:59:07.296Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp/private_key_3448216768218925606.key (/w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp/private_key_3448216768218925606.key) [2021-02-23T07:59:07.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T07:59:07.766Z] + git tag --points-at HEAD [Pipeline] } [2021-02-23T07:59:07.798Z] $ docker exec --env ******** --env ******** 72fe526e902191e65689d37039f9a05ef841e24a62f05749cd39b4a25e42f73e ssh-agent -k [2021-02-23T07:59:07.915Z] unset SSH_AUTH_SOCK; [2021-02-23T07:59:07.916Z] unset SSH_AGENT_PID; [2021-02-23T07:59:07.916Z] echo Agent pid 16 killed; [2021-02-23T07:59:07.966Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-23T07:59:08.149Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T07:59:08.149Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T07:59:08.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T07:59:08.322Z] $ docker exec 72fe526e902191e65689d37039f9a05ef841e24a62f05749cd39b4a25e42f73e ssh-agent [2021-02-23T07:59:08.485Z] SSH_AUTH_SOCK=/tmp/ssh-bWpmbTHPo0a4/agent.44 [2021-02-23T07:59:08.485Z] SSH_AGENT_PID=50 [2021-02-23T07:59:08.493Z] Running ssh-add (command line suppressed) [2021-02-23T07:59:08.617Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp/private_key_3129754671517751694.key (/w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp/private_key_3129754671517751694.key) [2021-02-23T07:59:08.670Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T07:59:09.051Z] + git semver init [2021-02-23T07:59:09.051Z] # -> Open(): unable to determine branch for HEAD [2021-02-23T07:59:09.051Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-795/.git [2021-02-23T07:59:09.051Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-795 [2021-02-23T07:59:09.051Z] # $SEMVER_REMOTE_NAME = origin [2021-02-23T07:59:09.051Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-23T07:59:09.051Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-23T07:59:09.051Z] # $SEMVER_BRANCH = PR-795 [2021-02-23T07:59:09.051Z] # $SEMVER_TEMP = /tmp/semver-121695880 [2021-02-23T07:59:09.051Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-23T07:59:09.630Z] # '/tmp/semver-121695880' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-795/.semver' [2021-02-23T07:59:09.630Z] # -> Force: false [2021-02-23T07:59:09.630Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-795/.semver [Pipeline] } [2021-02-23T07:59:09.650Z] $ docker exec --env ******** --env ******** 72fe526e902191e65689d37039f9a05ef841e24a62f05749cd39b4a25e42f73e ssh-agent -k [2021-02-23T07:59:09.767Z] unset SSH_AUTH_SOCK; [2021-02-23T07:59:09.768Z] unset SSH_AGENT_PID; [2021-02-23T07:59:09.768Z] echo Agent pid 50 killed; [2021-02-23T07:59:09.819Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-23T07:59:10.453Z] + git semver [Pipeline] } [2021-02-23T07:59:10.484Z] $ docker stop --time=1 72fe526e902191e65689d37039f9a05ef841e24a62f05749cd39b4a25e42f73e [2021-02-23T07:59:11.850Z] $ docker rm -f 72fe526e902191e65689d37039f9a05ef841e24a62f05749cd39b4a25e42f73e [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T07:59:12.393Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-23T07:59:12.894Z] Stashed 1 file(s) [Pipeline] echo [2021-02-23T07:59:12.914Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-02-23T07:59:28.699Z] Still waiting to schedule task [2021-02-23T07:59:28.699Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27290’ [2021-02-23T07:59:28.724Z] Still waiting to schedule task [2021-02-23T07:59:28.724Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline [2021-02-23T08:01:21.462Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27291 in /w/workspace/dgexfoundry_device-sdk-go_PR-795 [Pipeline] { [Pipeline] ws [2021-02-23T08:01:21.560Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-23T08:01:26.513Z] using credential edgex-jenkins-ssh [2021-02-23T08:01:26.571Z] Cloning the remote Git repository [2021-02-23T08:01:26.624Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T08:01:26.746Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-23T08:01:26.827Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T08:01:26.827Z] > git --version # timeout=10 [2021-02-23T08:01:26.850Z] > git --version # 'git version 2.17.1' [2021-02-23T08:01:26.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T08:01:26.921Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T08:01:28.697Z] Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit 4822fad6fe40ed14e5632a9345f0fe92edb82595 [2021-02-23T08:01:28.916Z] Merge succeeded, producing 4822fad6fe40ed14e5632a9345f0fe92edb82595 [2021-02-23T08:01:28.917Z] Checking out Revision 4822fad6fe40ed14e5632a9345f0fe92edb82595 (PR-795) [2021-02-23T08:01:28.010Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T08:01:28.028Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T08:01:28.048Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T08:01:28.080Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T08:01:28.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T08:01:28.092Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/795/head:refs/remotes/origin/PR-795 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-23T08:01:28.718Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T08:01:28.730Z] > git checkout -f 4822fad6fe40ed14e5632a9345f0fe92edb82595 # timeout=10 [2021-02-23T08:01:28.836Z] > git remote # timeout=10 [2021-02-23T08:01:28.856Z] > git config --get remote.origin.url # timeout=10 [2021-02-23T08:01:28.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T08:01:28.885Z] > git merge 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 [2021-02-23T08:01:28.906Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-23T08:01:28.926Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T08:01:28.937Z] > git checkout -f 4822fad6fe40ed14e5632a9345f0fe92edb82595 # timeout=10 [2021-02-23T08:01:33.159Z] Commit message: "feat: spawn autoevents for discovered device" [2021-02-23T08:01:33.214Z] > git --version # timeout=10 [2021-02-23T08:01:33.226Z] > git --version # 'git version 2.17.1' [2021-02-23T08:01:33.248Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T08:01:35.174Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-23T08:01:35.590Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-23T08:01:35.950Z] + sudo service docker restart [2021-02-23T08:01:35.951Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T08:01:38.714Z] provisioning config files... [2021-02-23T08:01:38.753Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1503670927807281932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T08:01:39.217Z] ---> docker-login.sh [2021-02-23T08:01:39.217Z] nexus3.edgexfoundry.org:10001 [2021-02-23T08:01:40.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:01:40.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:01:40.800Z] Configure a credential helper to remove this warning. See [2021-02-23T08:01:40.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:01:40.800Z] [2021-02-23T08:01:40.800Z] Login Succeeded [2021-02-23T08:01:40.800Z] nexus3.edgexfoundry.org:10002 [2021-02-23T08:01:41.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:01:41.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:01:41.079Z] Configure a credential helper to remove this warning. See [2021-02-23T08:01:41.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:01:41.079Z] [2021-02-23T08:01:41.079Z] Login Succeeded [2021-02-23T08:01:41.079Z] nexus3.edgexfoundry.org:10003 [2021-02-23T08:01:41.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:01:41.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:01:41.682Z] Configure a credential helper to remove this warning. See [2021-02-23T08:01:41.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:01:41.682Z] [2021-02-23T08:01:41.682Z] Login Succeeded [2021-02-23T08:01:41.682Z] nexus3.edgexfoundry.org:10004 [2021-02-23T08:01:42.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:01:42.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:01:42.288Z] Configure a credential helper to remove this warning. See [2021-02-23T08:01:42.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:01:42.288Z] [2021-02-23T08:01:42.288Z] Login Succeeded [2021-02-23T08:01:42.288Z] docker.io [2021-02-23T08:01:42.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:01:43.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:01:43.157Z] Configure a credential helper to remove this warning. See [2021-02-23T08:01:43.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:01:43.157Z] [2021-02-23T08:01:43.157Z] Login Succeeded [2021-02-23T08:01:43.157Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T08:01:43.196Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-23T08:01:43.721Z] ========================================================= [2021-02-23T08:01:43.721Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-23T08:01:43.721Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:01:44.152Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-23T08:01:44.425Z] Sending build context to Docker daemon 2.409MB [2021-02-23T08:01:44.425Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T08:01:44.425Z] Step 2/8 : FROM ${BASE} [2021-02-23T08:01:44.699Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-23T08:01:44.699Z] 5f621e34cdf4: Pulling fs layer [2021-02-23T08:01:44.699Z] a4357932f1b6: Pulling fs layer [2021-02-23T08:01:44.699Z] 18c013af1878: Pulling fs layer [2021-02-23T08:01:44.699Z] 00ac8860ef70: Pulling fs layer [2021-02-23T08:01:44.699Z] 63d7cb157983: Pulling fs layer [2021-02-23T08:01:44.699Z] b116817d02f9: Pulling fs layer [2021-02-23T08:01:44.699Z] 745a02a5169b: Pulling fs layer [2021-02-23T08:01:44.699Z] 00ac8860ef70: Waiting [2021-02-23T08:01:44.699Z] 63d7cb157983: Waiting [2021-02-23T08:01:44.699Z] b116817d02f9: Waiting [2021-02-23T08:01:44.699Z] 745a02a5169b: Waiting [2021-02-23T08:01:44.699Z] 18c013af1878: Verifying Checksum [2021-02-23T08:01:44.699Z] 18c013af1878: Download complete [2021-02-23T08:01:44.699Z] a4357932f1b6: Download complete [2021-02-23T08:01:44.699Z] 63d7cb157983: Verifying Checksum [2021-02-23T08:01:44.699Z] 63d7cb157983: Download complete [2021-02-23T08:01:44.699Z] b116817d02f9: Download complete [2021-02-23T08:01:44.699Z] 5f621e34cdf4: Verifying Checksum [2021-02-23T08:01:44.699Z] 5f621e34cdf4: Download complete [2021-02-23T08:01:45.298Z] 5f621e34cdf4: Pull complete [2021-02-23T08:01:45.899Z] a4357932f1b6: Pull complete [2021-02-23T08:01:46.176Z] 18c013af1878: Pull complete [2021-02-23T08:01:47.616Z] 745a02a5169b: Verifying Checksum [2021-02-23T08:01:47.616Z] 745a02a5169b: Download complete [2021-02-23T08:01:49.055Z] 00ac8860ef70: Verifying Checksum [2021-02-23T08:01:49.055Z] 00ac8860ef70: Download complete [2021-02-23T08:01:54.444Z] Running on prd-centos7-docker-4c-2g-27292 in /w/workspace/dgexfoundry_device-sdk-go_PR-795 [Pipeline] { [Pipeline] ws [2021-02-23T08:01:54.561Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-23T08:01:57.166Z] using credential edgex-jenkins-ssh [2021-02-23T08:01:57.217Z] Cloning the remote Git repository [2021-02-23T08:01:57.150Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T08:01:57.227Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-23T08:01:57.290Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T08:01:57.290Z] > git --version # timeout=10 [2021-02-23T08:01:57.303Z] > git --version # 'git version 2.24.3' [2021-02-23T08:01:57.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T08:01:57.342Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T08:01:58.579Z] Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit 4822fad6fe40ed14e5632a9345f0fe92edb82595 [2021-02-23T08:01:58.684Z] Merge succeeded, producing 4822fad6fe40ed14e5632a9345f0fe92edb82595 [2021-02-23T08:01:58.684Z] Checking out Revision 4822fad6fe40ed14e5632a9345f0fe92edb82595 (PR-795) [2021-02-23T08:01:58.085Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T08:01:58.093Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T08:01:58.109Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T08:01:58.125Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T08:01:58.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T08:01:58.130Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/795/head:refs/remotes/origin/PR-795 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-23T08:01:58.591Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T08:01:58.600Z] > git checkout -f 4822fad6fe40ed14e5632a9345f0fe92edb82595 # timeout=10 [2021-02-23T08:01:58.655Z] > git remote # timeout=10 [2021-02-23T08:01:58.660Z] > git config --get remote.origin.url # timeout=10 [2021-02-23T08:01:58.667Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T08:01:58.671Z] > git merge 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 [2021-02-23T08:01:58.680Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-23T08:01:58.689Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T08:01:58.694Z] > git checkout -f 4822fad6fe40ed14e5632a9345f0fe92edb82595 # timeout=10 [2021-02-23T08:01:59.241Z] 00ac8860ef70: Pull complete [2021-02-23T08:01:59.241Z] 63d7cb157983: Pull complete [2021-02-23T08:01:59.517Z] b116817d02f9: Pull complete [2021-02-23T08:02:02.327Z] Commit message: "feat: spawn autoevents for discovered device" [2021-02-23T08:02:02.353Z] > git --version # timeout=10 [2021-02-23T08:02:02.359Z] > git --version # 'git version 2.24.3' [2021-02-23T08:02:02.363Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T08:02:03.845Z] 745a02a5169b: Pull complete [2021-02-23T08:02:03.845Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-23T08:02:03.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-23T08:02:03.845Z] ---> b7e6874047d6 [2021-02-23T08:02:03.845Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T08:02:03.963Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-23T08:02:04.313Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-23T08:02:04.646Z] + sudo service docker restart [2021-02-23T08:02:04.646Z] + true [2021-02-23T08:02:04.646Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T08:02:05.741Z] provisioning config files... [2021-02-23T08:02:05.776Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7639482420615711201tmp [Pipeline] { [2021-02-23T08:02:05.833Z] ---> Running in bfe22e95447b [Pipeline] libraryResource [Pipeline] sh [2021-02-23T08:02:06.241Z] ---> docker-login.sh [2021-02-23T08:02:06.241Z] nexus3.edgexfoundry.org:10001 [2021-02-23T08:02:06.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:02:06.430Z] Removing intermediate container bfe22e95447b [2021-02-23T08:02:06.430Z] ---> de20edf4630d [2021-02-23T08:02:06.430Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T08:02:06.430Z] ---> Running in 2203057a841d [2021-02-23T08:02:06.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:02:06.506Z] Configure a credential helper to remove this warning. See [2021-02-23T08:02:06.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:02:06.506Z] [2021-02-23T08:02:06.506Z] Login Succeeded [2021-02-23T08:02:06.506Z] nexus3.edgexfoundry.org:10002 [2021-02-23T08:02:06.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:02:06.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:02:06.768Z] Configure a credential helper to remove this warning. See [2021-02-23T08:02:06.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:02:06.768Z] [2021-02-23T08:02:06.768Z] Login Succeeded [2021-02-23T08:02:06.768Z] nexus3.edgexfoundry.org:10003 [2021-02-23T08:02:06.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:02:07.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:02:07.031Z] Configure a credential helper to remove this warning. See [2021-02-23T08:02:07.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:02:07.031Z] [2021-02-23T08:02:07.031Z] Login Succeeded [2021-02-23T08:02:07.031Z] nexus3.edgexfoundry.org:10004 [2021-02-23T08:02:07.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:02:07.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:02:07.031Z] Configure a credential helper to remove this warning. See [2021-02-23T08:02:07.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:02:07.031Z] [2021-02-23T08:02:07.031Z] Login Succeeded [2021-02-23T08:02:07.031Z] docker.io [2021-02-23T08:02:07.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T08:02:07.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T08:02:07.562Z] Configure a credential helper to remove this warning. See [2021-02-23T08:02:07.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T08:02:07.563Z] [2021-02-23T08:02:07.563Z] Login Succeeded [2021-02-23T08:02:07.563Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T08:02:07.596Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-23T08:02:08.192Z] ========================================================= [2021-02-23T08:02:08.192Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-23T08:02:08.192Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:02:08.631Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-23T08:02:08.631Z] Sending build context to Docker daemon 2.41MB [2021-02-23T08:02:08.631Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T08:02:08.631Z] Step 2/8 : FROM ${BASE} [2021-02-23T08:02:08.899Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-23T08:02:08.899Z] 188c0c94c7c5: Pulling fs layer [2021-02-23T08:02:08.899Z] 0ef7d3d256c8: Pulling fs layer [2021-02-23T08:02:08.899Z] de9db76c5a1d: Pulling fs layer [2021-02-23T08:02:08.899Z] bca2f99d35d6: Pulling fs layer [2021-02-23T08:02:08.899Z] 93359f2a8cfa: Pulling fs layer [2021-02-23T08:02:08.899Z] 7c6f9722023f: Pulling fs layer [2021-02-23T08:02:08.899Z] a35cf1a2eb13: Pulling fs layer [2021-02-23T08:02:08.899Z] bca2f99d35d6: Waiting [2021-02-23T08:02:08.899Z] 93359f2a8cfa: Waiting [2021-02-23T08:02:08.899Z] 7c6f9722023f: Waiting [2021-02-23T08:02:08.899Z] a35cf1a2eb13: Waiting [2021-02-23T08:02:08.899Z] de9db76c5a1d: Verifying Checksum [2021-02-23T08:02:08.899Z] de9db76c5a1d: Download complete [2021-02-23T08:02:08.899Z] 0ef7d3d256c8: Download complete [2021-02-23T08:02:08.899Z] 93359f2a8cfa: Verifying Checksum [2021-02-23T08:02:08.899Z] 93359f2a8cfa: Download complete [2021-02-23T08:02:08.899Z] 7c6f9722023f: Download complete [2021-02-23T08:02:08.899Z] 188c0c94c7c5: Verifying Checksum [2021-02-23T08:02:08.899Z] 188c0c94c7c5: Download complete [2021-02-23T08:02:09.090Z] Removing intermediate container 2203057a841d [2021-02-23T08:02:09.090Z] ---> 8381a4e30c1a [2021-02-23T08:02:09.090Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-23T08:02:09.090Z] ---> Running in 4192df1f648a [2021-02-23T08:02:09.163Z] 188c0c94c7c5: Pull complete [2021-02-23T08:02:09.425Z] 0ef7d3d256c8: Pull complete [2021-02-23T08:02:09.425Z] de9db76c5a1d: Pull complete [2021-02-23T08:02:10.080Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-23T08:02:10.834Z] a35cf1a2eb13: Verifying Checksum [2021-02-23T08:02:10.834Z] a35cf1a2eb13: Download complete [2021-02-23T08:02:11.419Z] bca2f99d35d6: Download complete [2021-02-23T08:02:11.512Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-23T08:02:13.506Z] OK: 142 MiB in 39 packages [2021-02-23T08:02:14.505Z] Removing intermediate container 4192df1f648a [2021-02-23T08:02:14.505Z] ---> 4c5d66c78c9b [2021-02-23T08:02:14.505Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-23T08:02:14.779Z] ---> Running in 581a18a2a930 [2021-02-23T08:02:15.374Z] Removing intermediate container 581a18a2a930 [2021-02-23T08:02:15.374Z] ---> 651c347676ca [2021-02-23T08:02:15.374Z] Step 7/8 : COPY . . [2021-02-23T08:02:16.352Z] ---> fdea3666a45f [2021-02-23T08:02:16.352Z] Step 8/8 : RUN go mod download [2021-02-23T08:02:16.624Z] ---> Running in 87e533429ba5 [2021-02-23T08:02:16.786Z] bca2f99d35d6: Pull complete [2021-02-23T08:02:16.786Z] 93359f2a8cfa: Pull complete [2021-02-23T08:02:16.787Z] 7c6f9722023f: Pull complete [2021-02-23T08:02:22.102Z] a35cf1a2eb13: Pull complete [2021-02-23T08:02:22.102Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-23T08:02:22.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-23T08:02:22.102Z] ---> a62c8e92a672 [2021-02-23T08:02:22.102Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T08:02:22.365Z] ---> Running in e331701a03f2 [2021-02-23T08:02:22.365Z] Removing intermediate container e331701a03f2 [2021-02-23T08:02:22.365Z] ---> 65ebb003bb75 [2021-02-23T08:02:22.365Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T08:02:22.628Z] ---> Running in e2442e38316a [2021-02-23T08:02:23.578Z] Removing intermediate container e2442e38316a [2021-02-23T08:02:23.578Z] ---> 0f575af5e11e [2021-02-23T08:02:23.578Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-23T08:02:23.578Z] ---> Running in 514e8d7d2739 [2021-02-23T08:02:23.840Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-23T08:02:25.227Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-23T08:02:26.619Z] OK: 166 MiB in 39 packages [2021-02-23T08:02:26.883Z] Removing intermediate container 514e8d7d2739 [2021-02-23T08:02:26.883Z] ---> caa73bca1da4 [2021-02-23T08:02:26.883Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-23T08:02:26.883Z] ---> Running in 7de66c22014c [2021-02-23T08:02:27.147Z] Removing intermediate container 7de66c22014c [2021-02-23T08:02:27.147Z] ---> a4775af304d5 [2021-02-23T08:02:27.147Z] Step 7/8 : COPY . . [2021-02-23T08:02:28.101Z] ---> a4c67cbc309b [2021-02-23T08:02:28.101Z] Step 8/8 : RUN go mod download [2021-02-23T08:02:28.101Z] ---> Running in d9a06cc6a775 [2021-02-23T08:02:43.419Z] Removing intermediate container 87e533429ba5 [2021-02-23T08:02:43.419Z] ---> a346cb0e3470 [2021-02-23T08:02:43.419Z] Successfully built a346cb0e3470 [2021-02-23T08:02:43.419Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:02:43.787Z] + docker inspect -f . ci-base-image-arm64 [2021-02-23T08:02:43.787Z] . [Pipeline] withDockerContainer [2021-02-23T08:02:44.076Z] prd-ubuntu18.04-docker-arm64-4c-16g-27291 does not seem to be running inside a container [2021-02-23T08:02:44.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-23T08:02:45.733Z] $ docker top f529574702e911defd4d2a72f19c62a016e38ead20b59d194a07e61268aaab71 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T08:02:46.823Z] + go version [2021-02-23T08:02:46.824Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-23T08:02:46.866Z] $ docker stop --time=1 f529574702e911defd4d2a72f19c62a016e38ead20b59d194a07e61268aaab71 [2021-02-23T08:02:48.789Z] $ docker rm -f f529574702e911defd4d2a72f19c62a016e38ead20b59d194a07e61268aaab71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:02:50.027Z] + docker inspect -f . ci-base-image-arm64 [2021-02-23T08:02:50.027Z] . [Pipeline] withDockerContainer [2021-02-23T08:02:50.155Z] Removing intermediate container d9a06cc6a775 [2021-02-23T08:02:50.155Z] ---> e987671b32c3 [2021-02-23T08:02:50.155Z] Successfully built e987671b32c3 [2021-02-23T08:02:50.155Z] Successfully tagged ci-base-image-x86_64:latest [2021-02-23T08:02:50.304Z] prd-ubuntu18.04-docker-arm64-4c-16g-27291 does not seem to be running inside a container [2021-02-23T08:02:50.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-23T08:02:51.921Z] $ docker top ea48b03b14a63ddc0400fea8ba775e5120fca7c8ec467b8429dfb535b04a1111 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:02:52.792Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-23T08:02:52.792Z] . [Pipeline] withDockerContainer [2021-02-23T08:02:52.921Z] prd-centos7-docker-4c-2g-27292 does not seem to be running inside a container [2021-02-23T08:02:52.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-23T08:02:53.001Z] + make test [2021-02-23T08:02:53.001Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-23T08:02:53.616Z] $ docker top 8643b1f9927b862eaefb5741ad5e07c83d32e9f4a71ac7d47a5b0dc0184e3fee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T08:02:54.167Z] + go version [2021-02-23T08:02:54.168Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-23T08:02:54.201Z] $ docker stop --time=1 8643b1f9927b862eaefb5741ad5e07c83d32e9f4a71ac7d47a5b0dc0184e3fee [2021-02-23T08:02:55.534Z] $ docker rm -f 8643b1f9927b862eaefb5741ad5e07c83d32e9f4a71ac7d47a5b0dc0184e3fee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:02:56.742Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-23T08:02:56.742Z] . [Pipeline] withDockerContainer [2021-02-23T08:02:56.857Z] prd-centos7-docker-4c-2g-27292 does not seem to be running inside a container [2021-02-23T08:02:56.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-23T08:02:57.486Z] $ docker top 0cb2f8cc01578c4c20af5b78c5e0c7a51ad092cd0ef00c0f8b9b74f964409e23 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T08:02:58.013Z] + make test [2021-02-23T08:02:58.013Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-23T08:03:04.687Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-23T08:03:15.175Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-23T08:03:19.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-23T08:03:19.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-23T08:03:19.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-23T08:03:22.297Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.049s coverage: 25.5% of statements [2021-02-23T08:03:54.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-23T08:03:54.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-23T08:03:54.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-23T08:03:54.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.048s coverage: 10.1% of statements [2021-02-23T08:03:54.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.053s coverage: 12.5% of statements [2021-02-23T08:03:54.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-23T08:03:54.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.061s coverage: 84.8% of statements [2021-02-23T08:03:54.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-23T08:03:54.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-23T08:03:54.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-23T08:03:54.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-23T08:03:54.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.067s coverage: 49.2% of statements [2021-02-23T08:03:54.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-23T08:03:54.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.063s coverage: 81.3% of statements [2021-02-23T08:03:54.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.063s coverage: 24.8% of statements [2021-02-23T08:03:54.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.241s coverage: 83.5% of statements [2021-02-23T08:03:54.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.3% of statements [2021-02-23T08:03:54.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-23T08:03:54.454Z] GO111MODULE=on go vet ./... [2021-02-23T08:04:01.122Z] gofmt -l . [2021-02-23T08:04:01.122Z] [ "`gofmt -l .`" = "" ] [2021-02-23T08:04:01.122Z] ./bin/test-attribution-txt.sh [2021-02-23T08:04:01.122Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-23T08:04:01.158Z] $ docker stop --time=1 0cb2f8cc01578c4c20af5b78c5e0c7a51ad092cd0ef00c0f8b9b74f964409e23 [2021-02-23T08:04:01.165Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.120s coverage: 25.5% of statements [2021-02-23T08:04:03.044Z] $ docker rm -f 0cb2f8cc01578c4c20af5b78c5e0c7a51ad092cd0ef00c0f8b9b74f964409e23 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T08:04:03.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-23T08:04:04.134Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-23T08:04:06.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-23T08:04:07.134Z] + ls -al . [2021-02-23T08:04:07.134Z] total 184 [2021-02-23T08:04:07.134Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 23 08:04 . [2021-02-23T08:04:07.134Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 23 08:01 .. [2021-02-23T08:04:07.134Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 23 08:01 bin [2021-02-23T08:04:07.134Z] -rw-r--r--. 1 jenkins jenkins 101757 Feb 23 08:03 coverage.out [2021-02-23T08:04:07.134Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 23 08:01 Dockerfile.build [2021-02-23T08:04:07.134Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 23 08:01 .dockerignore [2021-02-23T08:04:07.134Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 23 08:01 example [2021-02-23T08:04:07.134Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 23 08:02 .git [2021-02-23T08:04:07.134Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 23 08:01 .github [2021-02-23T08:04:07.134Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 23 08:01 .gitignore [2021-02-23T08:04:07.134Z] -rw-r--r--. 1 jenkins jenkins 515 Feb 23 08:04 go.mod [2021-02-23T08:04:07.134Z] -rw-r--r--. 1 jenkins jenkins 19062 Feb 23 08:04 go.sum [2021-02-23T08:04:07.134Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 23 08:01 internal [2021-02-23T08:04:07.135Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 23 08:01 Jenkinsfile [2021-02-23T08:04:07.135Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 23 08:01 LICENSE [2021-02-23T08:04:07.135Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 23 08:01 Makefile [2021-02-23T08:04:07.135Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 23 08:01 openapi [2021-02-23T08:04:07.135Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 23 08:01 pkg [2021-02-23T08:04:07.135Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 23 08:01 README.md [2021-02-23T08:04:07.135Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 23 08:01 RELEASE-NOTES.txt [2021-02-23T08:04:07.135Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 23 08:01 snap [2021-02-23T08:04:07.135Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 23 07:59 VERSION [2021-02-23T08:04:07.135Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 23 08:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:04:07.469Z] + 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=4822fad6fe40ed14e5632a9345f0fe92edb82595 --label arch=amd64 --label version=0.0.0 . [2021-02-23T08:04:07.469Z] Sending build context to Docker daemon 2.512MB [2021-02-23T08:04:07.469Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T08:04:07.469Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-23T08:04:07.469Z] ---> e987671b32c3 [2021-02-23T08:04:07.469Z] Step 3/24 : ARG MAKE='make build' [2021-02-23T08:04:08.045Z] ---> Running in fb87d23f6088 [2021-02-23T08:04:08.045Z] Removing intermediate container fb87d23f6088 [2021-02-23T08:04:08.045Z] ---> 4a48c6e26632 [2021-02-23T08:04:08.045Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-23T08:04:08.045Z] ---> Running in fb27e5dbfa99 [2021-02-23T08:04:08.307Z] Removing intermediate container fb27e5dbfa99 [2021-02-23T08:04:08.307Z] ---> 884146d7484f [2021-02-23T08:04:08.307Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T08:04:08.307Z] ---> Running in aa3d7017ac42 [2021-02-23T08:04:08.569Z] Removing intermediate container aa3d7017ac42 [2021-02-23T08:04:08.569Z] ---> 0dd4b04b9522 [2021-02-23T08:04:08.569Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T08:04:08.569Z] ---> Running in a13d19e90bec [2021-02-23T08:04:09.518Z] Removing intermediate container a13d19e90bec [2021-02-23T08:04:09.518Z] ---> e11982c028d8 [2021-02-23T08:04:09.518Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-23T08:04:09.518Z] ---> Running in dab817d84d85 [2021-02-23T08:04:10.106Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-23T08:04:11.050Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-23T08:04:11.994Z] OK: 166 MiB in 39 packages [2021-02-23T08:04:12.575Z] Removing intermediate container dab817d84d85 [2021-02-23T08:04:12.575Z] ---> 430ed017f95c [2021-02-23T08:04:12.575Z] Step 8/24 : COPY . . [2021-02-23T08:04:13.555Z] ---> a5e99dfcb950 [2021-02-23T08:04:13.555Z] Step 9/24 : RUN ${MAKE} [2021-02-23T08:04:13.555Z] ---> Running in 5a3fe2d6da93 [2021-02-23T08:04:14.147Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-23T08:04:22.442Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-23T08:04:24.362Z] Removing intermediate container 5a3fe2d6da93 [2021-02-23T08:04:24.362Z] ---> db2b91e73d5b [2021-02-23T08:04:24.362Z] Step 10/24 : FROM scratch [2021-02-23T08:04:24.362Z] ---> [2021-02-23T08:04:24.362Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T08:04:24.625Z] ---> Running in ba6c30791ba4 [2021-02-23T08:04:24.625Z] Removing intermediate container ba6c30791ba4 [2021-02-23T08:04:24.625Z] ---> 18a4de0b7713 [2021-02-23T08:04:24.625Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-23T08:04:24.625Z] ---> Running in b23aab77b576 [2021-02-23T08:04:24.889Z] Removing intermediate container b23aab77b576 [2021-02-23T08:04:24.889Z] ---> b9b381a372b7 [2021-02-23T08:04:24.889Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-23T08:04:24.889Z] ---> Running in b636b00d0b12 [2021-02-23T08:04:25.149Z] Removing intermediate container b636b00d0b12 [2021-02-23T08:04:25.149Z] ---> d5dd231a2c37 [2021-02-23T08:04:25.149Z] Step 14/24 : WORKDIR / [2021-02-23T08:04:25.149Z] ---> Running in 7f723a9a7277 [2021-02-23T08:04:25.409Z] Removing intermediate container 7f723a9a7277 [2021-02-23T08:04:25.409Z] ---> 480d35741bd2 [2021-02-23T08:04:25.409Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-23T08:04:25.671Z] ---> d040592a2d67 [2021-02-23T08:04:25.671Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-23T08:04:25.932Z] ---> ed8942e0d665 [2021-02-23T08:04:25.932Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-23T08:04:26.194Z] ---> fac81bde69d8 [2021-02-23T08:04:26.194Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-23T08:04:26.457Z] ---> 02e3fd72aad1 [2021-02-23T08:04:26.457Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-23T08:04:26.718Z] ---> fe372ba99ab2 [2021-02-23T08:04:26.718Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-23T08:04:26.718Z] ---> Running in d379a5118d7f [2021-02-23T08:04:26.979Z] Removing intermediate container d379a5118d7f [2021-02-23T08:04:26.979Z] ---> e998af91dbbe [2021-02-23T08:04:26.979Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-23T08:04:26.979Z] ---> Running in 2c8e12580402 [2021-02-23T08:04:27.244Z] Removing intermediate container 2c8e12580402 [2021-02-23T08:04:27.244Z] ---> f4eb8c38da71 [2021-02-23T08:04:27.244Z] Step 22/24 : LABEL arch=amd64 [2021-02-23T08:04:27.244Z] ---> Running in 2f2896e0e4f7 [2021-02-23T08:04:27.244Z] Removing intermediate container 2f2896e0e4f7 [2021-02-23T08:04:27.244Z] ---> 8beace20c1d9 [2021-02-23T08:04:27.244Z] Step 23/24 : LABEL git_sha=4822fad6fe40ed14e5632a9345f0fe92edb82595 [2021-02-23T08:04:27.516Z] ---> Running in 3fadf4d4b7cc [2021-02-23T08:04:27.516Z] Removing intermediate container 3fadf4d4b7cc [2021-02-23T08:04:27.516Z] ---> c17c82c80d5d [2021-02-23T08:04:27.516Z] Step 24/24 : LABEL version=0.0.0 [2021-02-23T08:04:27.516Z] ---> Running in c1d5384da4ba [2021-02-23T08:04:27.788Z] Removing intermediate container c1d5384da4ba [2021-02-23T08:04:27.788Z] ---> d29e2d4e64f8 [2021-02-23T08:04:27.788Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-23T08:04:27.788Z] Successfully built d29e2d4e64f8 [2021-02-23T08:04:27.788Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [2021-02-23T08:04:27.990Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.144s coverage: 10.1% of statements [2021-02-23T08:04:27.990Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.124s coverage: 12.5% of statements [2021-02-23T08:04:27.990Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-23T08:04:27.990Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.152s coverage: 84.8% of statements [2021-02-23T08:04:27.990Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-23T08:04:27.990Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-23T08:04:27.990Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-23T08:04:27.990Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-23T08:04:27.990Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.190s coverage: 49.2% of statements [2021-02-23T08:04:27.990Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-23T08:04:27.990Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.159s coverage: 81.3% of statements [2021-02-23T08:04:27.990Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.197s coverage: 24.8% of statements [2021-02-23T08:04:27.990Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.806s coverage: 83.5% of statements [2021-02-23T08:04:27.990Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.3% of statements [2021-02-23T08:04:27.990Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-23T08:04:27.990Z] GO111MODULE=on go vet ./... [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] } [2021-02-23T08:05:00.392Z] gofmt -l . [2021-02-23T08:05:00.392Z] [ "`gofmt -l .`" = "" ] [2021-02-23T08:05:00.392Z] ./bin/test-attribution-txt.sh [2021-02-23T08:05:00.392Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-23T08:05:00.433Z] $ docker stop --time=1 ea48b03b14a63ddc0400fea8ba775e5120fca7c8ec467b8429dfb535b04a1111 [2021-02-23T08:05:02.605Z] $ docker rm -f ea48b03b14a63ddc0400fea8ba775e5120fca7c8ec467b8429dfb535b04a1111 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T08:05:03.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-23T08:05:03.816Z] Warning: overwriting stash ‘coverage-report’ [2021-02-23T08:05:04.609Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T08:05:05.519Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-23T08:05:05.879Z] + ls -al . [2021-02-23T08:05:05.879Z] total 220 [2021-02-23T08:05:05.879Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 08:05 . [2021-02-23T08:05:05.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 08:01 .. [2021-02-23T08:05:05.879Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 08:01 .dockerignore [2021-02-23T08:05:05.879Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 08:01 .git [2021-02-23T08:05:05.879Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 08:01 .github [2021-02-23T08:05:05.879Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 23 08:01 .gitignore [2021-02-23T08:05:05.879Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 23 08:01 Dockerfile.build [2021-02-23T08:05:05.879Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 23 08:01 Jenkinsfile [2021-02-23T08:05:05.879Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 08:01 LICENSE [2021-02-23T08:05:05.879Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 23 08:01 Makefile [2021-02-23T08:05:05.879Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 23 08:01 README.md [2021-02-23T08:05:05.879Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 23 08:01 RELEASE-NOTES.txt [2021-02-23T08:05:05.879Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 07:59 VERSION [2021-02-23T08:05:05.879Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 08:01 bin [2021-02-23T08:05:05.879Z] -rw-r--r-- 1 jenkins jenkins 101757 Feb 23 08:04 coverage.out [2021-02-23T08:05:05.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 08:01 example [2021-02-23T08:05:05.879Z] -rw-r--r-- 1 jenkins jenkins 515 Feb 23 08:04 go.mod [2021-02-23T08:05:05.879Z] -rw-r--r-- 1 jenkins jenkins 19062 Feb 23 08:05 go.sum [2021-02-23T08:05:05.879Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 23 08:01 internal [2021-02-23T08:05:05.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 08:01 openapi [2021-02-23T08:05:05.879Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 08:01 pkg [2021-02-23T08:05:05.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 08:01 snap [2021-02-23T08:05:05.879Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 08:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:05:06.254Z] + 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=4822fad6fe40ed14e5632a9345f0fe92edb82595 --label arch=arm64 --label version=0.0.0 . [2021-02-23T08:05:06.527Z] Sending build context to Docker daemon 2.511MB [2021-02-23T08:05:06.798Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T08:05:06.798Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-23T08:05:06.798Z] ---> a346cb0e3470 [2021-02-23T08:05:06.798Z] Step 3/24 : ARG MAKE='make build' [2021-02-23T08:05:07.071Z] ---> Running in 09e3920318ca [2021-02-23T08:05:07.342Z] Removing intermediate container 09e3920318ca [2021-02-23T08:05:07.342Z] ---> 67d5b7cd8391 [2021-02-23T08:05:07.342Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-23T08:05:07.616Z] ---> Running in 585beb32caf6 [2021-02-23T08:05:07.895Z] Removing intermediate container 585beb32caf6 [2021-02-23T08:05:07.895Z] ---> dfc219c082b9 [2021-02-23T08:05:07.895Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T08:05:08.172Z] ---> Running in 39fcb613be07 [2021-02-23T08:05:08.450Z] Removing intermediate container 39fcb613be07 [2021-02-23T08:05:08.450Z] ---> f9e11f8358f7 [2021-02-23T08:05:08.450Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T08:05:08.724Z] ---> Running in 67a4df67cea7 [2021-02-23T08:05:10.705Z] Removing intermediate container 67a4df67cea7 [2021-02-23T08:05:10.705Z] ---> d593a5e73e1b [2021-02-23T08:05:10.705Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-23T08:05:10.983Z] ---> Running in e7015308dfe3 [2021-02-23T08:05:11.958Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-23T08:05:12.927Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-23T08:05:13.901Z] OK: 142 MiB in 39 packages [2021-02-23T08:05:15.337Z] Removing intermediate container e7015308dfe3 [2021-02-23T08:05:15.337Z] ---> 92dd1f67dbad [2021-02-23T08:05:15.337Z] Step 8/24 : COPY . . [2021-02-23T08:05:16.314Z] ---> 390ebf550d62 [2021-02-23T08:05:16.314Z] Step 9/24 : RUN ${MAKE} [2021-02-23T08:05:16.588Z] ---> Running in 25818c41a4a5 [2021-02-23T08:05:17.574Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-23T08:05:44.396Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-23T08:05:45.375Z] Removing intermediate container 25818c41a4a5 [2021-02-23T08:05:45.375Z] ---> 1c79c1e76042 [2021-02-23T08:05:45.375Z] Step 10/24 : FROM scratch [2021-02-23T08:05:45.375Z] ---> [2021-02-23T08:05:45.375Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T08:05:45.646Z] ---> Running in 23d14bfb2e5f [2021-02-23T08:05:45.917Z] Removing intermediate container 23d14bfb2e5f [2021-02-23T08:05:45.918Z] ---> 826271e17694 [2021-02-23T08:05:45.918Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-23T08:05:46.190Z] ---> Running in 2315098f190f [2021-02-23T08:05:46.462Z] Removing intermediate container 2315098f190f [2021-02-23T08:05:46.462Z] ---> aff00274a066 [2021-02-23T08:05:46.462Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-23T08:05:46.732Z] ---> Running in 7bcedaf29c7e [2021-02-23T08:05:47.002Z] Removing intermediate container 7bcedaf29c7e [2021-02-23T08:05:47.002Z] ---> 7e80b768afe1 [2021-02-23T08:05:47.002Z] Step 14/24 : WORKDIR / [2021-02-23T08:05:47.275Z] ---> Running in 789e26cc1d96 [2021-02-23T08:05:47.549Z] Removing intermediate container 789e26cc1d96 [2021-02-23T08:05:47.549Z] ---> 0802fa597cc8 [2021-02-23T08:05:47.549Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-23T08:05:48.988Z] ---> c97954ad8dfc [2021-02-23T08:05:48.988Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-23T08:05:49.578Z] ---> 71e2f6f62563 [2021-02-23T08:05:49.578Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-23T08:05:50.173Z] ---> 7e5ee924e590 [2021-02-23T08:05:50.173Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-23T08:05:50.770Z] ---> 14c1fdf8d6ad [2021-02-23T08:05:50.770Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-23T08:05:51.366Z] ---> e4a971e2b0a2 [2021-02-23T08:05:51.366Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-23T08:05:51.640Z] ---> Running in 3dfbbfa19c7f [2021-02-23T08:05:52.235Z] Removing intermediate container 3dfbbfa19c7f [2021-02-23T08:05:52.235Z] ---> 6db4e9fb0131 [2021-02-23T08:05:52.235Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-23T08:05:52.235Z] ---> Running in e9eed6c628f5 [2021-02-23T08:05:52.508Z] Removing intermediate container e9eed6c628f5 [2021-02-23T08:05:52.508Z] ---> 6baea1a7908b [2021-02-23T08:05:52.508Z] Step 22/24 : LABEL arch=arm64 [2021-02-23T08:05:52.779Z] ---> Running in ddd4ede94c43 [2021-02-23T08:05:53.052Z] Removing intermediate container ddd4ede94c43 [2021-02-23T08:05:53.052Z] ---> 490cce76a2fb [2021-02-23T08:05:53.052Z] Step 23/24 : LABEL git_sha=4822fad6fe40ed14e5632a9345f0fe92edb82595 [2021-02-23T08:05:53.328Z] ---> Running in a0e2028c1e68 [2021-02-23T08:05:53.599Z] Removing intermediate container a0e2028c1e68 [2021-02-23T08:05:53.599Z] ---> b9b389bcb43f [2021-02-23T08:05:53.599Z] Step 24/24 : LABEL version=0.0.0 [2021-02-23T08:05:53.872Z] ---> Running in 038a195a2ad3 [2021-02-23T08:05:54.148Z] Removing intermediate container 038a195a2ad3 [2021-02-23T08:05:54.148Z] ---> 54274eb6efc8 [2021-02-23T08:05:54.148Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-23T08:05:54.421Z] Successfully built 54274eb6efc8 [2021-02-23T08:05:54.421Z] 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 [2021-02-23T08:05:56.954Z] provisioning config files... [2021-02-23T08:05:56.966Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp/config5235191136924476138tmp [Pipeline] { [Pipeline] sh [2021-02-23T08:05:57.442Z] + set +x [2021-02-23T08:05:57.442Z] + curl -s https://codecov.io/bash [2021-02-23T08:05:57.442Z] + bash -s -- [2021-02-23T08:05:57.708Z] [2021-02-23T08:05:57.708Z] _____ _ [2021-02-23T08:05:57.708Z] / ____| | | [2021-02-23T08:05:57.708Z] | | ___ __| | ___ ___ _____ __ [2021-02-23T08:05:57.708Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-23T08:05:57.708Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-23T08:05:57.708Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-23T08:05:57.708Z] Bash-20210129-7c25fce [2021-02-23T08:05:57.708Z] [2021-02-23T08:05:57.708Z] [2021-02-23T08:05:57.708Z] ==> git version 2.24.3 found [2021-02-23T08:05:57.708Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-02-23T08:05:57.708Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-23T08:05:57.708Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-23T08:05:57.708Z] ==> Jenkins CI detected. [2021-02-23T08:05:57.708Z] project root: . [2021-02-23T08:05:57.708Z] --> token set from env [2021-02-23T08:05:57.708Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-23T08:05:57.708Z] ==> Running gcov in . (disable via -X gcov) [2021-02-23T08:05:57.708Z] ==> Python coveragepy not found [2021-02-23T08:05:57.708Z] ==> Searching for coverage reports in: [2021-02-23T08:05:57.708Z] + . [2021-02-23T08:05:57.708Z] -> Found 1 reports [2021-02-23T08:05:57.708Z] ==> Detecting git/mercurial file structure [2021-02-23T08:05:57.708Z] ==> Reading reports [2021-02-23T08:05:57.708Z] + ./coverage.out bytes=101757 [2021-02-23T08:05:57.708Z] ==> Appending adjustments [2021-02-23T08:05:57.708Z] https://docs.codecov.io/docs/fixing-reports [2021-02-23T08:05:58.284Z] + Found adjustments [2021-02-23T08:05:58.284Z] ==> Gzipping contents [2021-02-23T08:05:58.284Z] 20K /tmp/codecov.zih1Gj.gz [2021-02-23T08:05:58.284Z] ==> Uploading reports [2021-02-23T08:05:58.284Z] url: https://codecov.io [2021-02-23T08:05:58.284Z] query: branch=PR-795&commit=4822fad6fe40ed14e5632a9345f0fe92edb82595&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-795%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=795&job=&cmd_args= [2021-02-23T08:05:58.284Z] -> Pinging Codecov [2021-02-23T08:05:58.284Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-795&commit=4822fad6fe40ed14e5632a9345f0fe92edb82595&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-795%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=795&job=&cmd_args= [2021-02-23T08:05:58.860Z] -> Uploading to [2021-02-23T08:05:58.860Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-23/7E55EF52A471D76F132DFD9A03CDDE97/4822fad6fe40ed14e5632a9345f0fe92edb82595/ca91f9aa-8f27-4d79-97c8-3d6ca6bb257d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210223T080558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e1314a75815e4088a1543cb93c2e6fa6e26a2b3e474eb3d3d49a1bf475fd1ab0 [2021-02-23T08:05:58.860Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-23T08:05:58.860Z] Dload Upload Total Spent Left Speed [2021-02-23T08:05:59.447Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16504 0 0 100 16504 0 34316 --:--:-- --:--:-- --:--:-- 34383 [2021-02-23T08:05:59.447Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4822fad6fe40ed14e5632a9345f0fe92edb82595 [Pipeline] } [2021-02-23T08:05:59.497Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-02-23T08:06:04.012Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T08:06:04.633Z] ---> package-listing.sh [2021-02-23T08:06:04.633Z] ++ facter osfamily [2021-02-23T08:06:04.633Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-23T08:06:04.633Z] + OS_FAMILY=redhat [2021-02-23T08:06:04.633Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-795 [2021-02-23T08:06:04.633Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-23T08:06:04.633Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-23T08:06:04.633Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-23T08:06:04.633Z] + PACKAGES=/tmp/packages_start.txt [2021-02-23T08:06:04.633Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-795 ']' [2021-02-23T08:06:04.633Z] + PACKAGES=/tmp/packages_end.txt [2021-02-23T08:06:04.633Z] + case "${OS_FAMILY}" in [2021-02-23T08:06:04.633Z] + rpm -qa [2021-02-23T08:06:04.633Z] + sort [2021-02-23T08:06:09.967Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-23T08:06:09.967Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-23T08:06:09.967Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-23T08:06:09.967Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-795 ']' [2021-02-23T08:06:09.967Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-795/archives/ [2021-02-23T08:06:09.967Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-795/archives/ [Pipeline] echo [2021-02-23T08:06:10.003Z] 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-795/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-23T08:06:10.337Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:06:10.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T08:06:10.679Z] [2021-02-23T08:06:10.679Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-23T08:06:11.131Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T08:06:11.131Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-23T08:06:11.131Z] df20fa9351a1: Pulling fs layer [2021-02-23T08:06:11.131Z] 36b3adc4ff6f: Pulling fs layer [2021-02-23T08:06:11.131Z] 8ad3a11d3b57: Pulling fs layer [2021-02-23T08:06:11.131Z] 46f8f816bc3b: Pulling fs layer [2021-02-23T08:06:11.131Z] 93b61091891f: Pulling fs layer [2021-02-23T08:06:11.131Z] 93b9cdb0e59b: Pulling fs layer [2021-02-23T08:06:11.131Z] 5e14af77c1be: Pulling fs layer [2021-02-23T08:06:11.131Z] 01666e4c0597: Pulling fs layer [2021-02-23T08:06:11.131Z] aa168da1d23b: Pulling fs layer [2021-02-23T08:06:11.131Z] 93b9cdb0e59b: Waiting [2021-02-23T08:06:11.131Z] 5e14af77c1be: Waiting [2021-02-23T08:06:11.131Z] 01666e4c0597: Waiting [2021-02-23T08:06:11.131Z] aa168da1d23b: Waiting [2021-02-23T08:06:11.131Z] 46f8f816bc3b: Waiting [2021-02-23T08:06:11.131Z] 93b61091891f: Waiting [2021-02-23T08:06:11.131Z] 36b3adc4ff6f: Verifying Checksum [2021-02-23T08:06:11.131Z] 36b3adc4ff6f: Download complete [2021-02-23T08:06:11.131Z] 46f8f816bc3b: Verifying Checksum [2021-02-23T08:06:11.131Z] 46f8f816bc3b: Download complete [2021-02-23T08:06:11.401Z] df20fa9351a1: Verifying Checksum [2021-02-23T08:06:11.401Z] df20fa9351a1: Download complete [2021-02-23T08:06:11.401Z] 93b9cdb0e59b: Verifying Checksum [2021-02-23T08:06:11.401Z] 93b9cdb0e59b: Download complete [2021-02-23T08:06:11.401Z] 5e14af77c1be: Download complete [2021-02-23T08:06:11.401Z] 01666e4c0597: Verifying Checksum [2021-02-23T08:06:11.401Z] 01666e4c0597: Download complete [2021-02-23T08:06:11.670Z] 8ad3a11d3b57: Verifying Checksum [2021-02-23T08:06:11.670Z] 8ad3a11d3b57: Download complete [2021-02-23T08:06:11.670Z] 93b61091891f: Verifying Checksum [2021-02-23T08:06:11.670Z] 93b61091891f: Download complete [2021-02-23T08:06:11.670Z] df20fa9351a1: Pull complete [2021-02-23T08:06:11.936Z] 36b3adc4ff6f: Pull complete [2021-02-23T08:06:12.936Z] 8ad3a11d3b57: Pull complete [2021-02-23T08:06:12.936Z] 46f8f816bc3b: Pull complete [2021-02-23T08:06:13.900Z] aa168da1d23b: Verifying Checksum [2021-02-23T08:06:13.900Z] aa168da1d23b: Download complete [2021-02-23T08:06:14.487Z] 93b61091891f: Pull complete [2021-02-23T08:06:15.065Z] 93b9cdb0e59b: Pull complete [2021-02-23T08:06:15.065Z] 5e14af77c1be: Pull complete [2021-02-23T08:06:15.329Z] 01666e4c0597: Pull complete [2021-02-23T08:06:23.569Z] aa168da1d23b: Pull complete [2021-02-23T08:06:23.569Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-23T08:06:23.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T08:06:23.569Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-23T08:06:23.795Z] prd-centos7-docker-4c-2g-27290 does not seem to be running inside a container [2021-02-23T08:06:23.848Z] $ 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-795/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-795 -v /w/workspace/dgexfoundry_device-sdk-go_PR-795:/w/workspace/dgexfoundry_device-sdk-go_PR-795:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-23T08:06:27.899Z] $ docker top 929fef891c63f813f831015e9a975bc24efe2acb60c105230ff9a826cfaccaf0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T08:06:28.515Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-23T08:06:28.844Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-23T08:06:29.170Z] + ls /var/log/sa-host [2021-02-23T08:06:29.170Z] + sadf -c /var/log/sa-host/sa23 [2021-02-23T08:06:29.170Z] file_magic: OK [2021-02-23T08:06:29.170Z] HZ: Using current value: 100 [2021-02-23T08:06:29.170Z] file_header: OK [2021-02-23T08:06:29.170Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-23T08:06:29.170Z] Statistics: [2021-02-23T08:06:29.170Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-23T08:06:29.170Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-23T08:06:29.908Z] provisioning config files... [2021-02-23T08:06:29.933Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp/config155571811187018126tmp [Pipeline] { [Pipeline] echo [2021-02-23T08:06:30.154Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T08:06:30.502Z] ---> create-netrc.sh [Pipeline] } [2021-02-23T08:06:30.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-23T08:06:30.752Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T08:06:31.100Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-23T08:06:31.134Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T08:06:31.477Z] ---> sudo-logs.sh [2021-02-23T08:06:31.477Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-23T08:06:31.594Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T08:06:31.940Z] ---> job-cost.sh [2021-02-23T08:06:31.941Z] lf-activate-venv: SKIPPING [2021-02-23T08:06:31.941Z] INFO: No Stack... [2021-02-23T08:06:32.890Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-23T08:06:33.469Z] INFO: Archiving Costs [Pipeline] echo [2021-02-23T08:06:33.506Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T08:06:33.851Z] ---> logs-deploy.sh [2021-02-23T08:06:33.851Z] lf-activate-venv: SKIPPING [2021-02-23T08:06:33.851Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-795/1 [2021-02-23T08:06:33.851Z] INFO: archiving workspace using pattern(s): [2021-02-23T08:06:35.778Z] Archives upload complete. [2021-02-23T08:06:35.778Z] INFO: archiving logs to Nexus [2021-02-23T08:06:36.728Z] ---> uname -a: [2021-02-23T08:06:36.728Z] Linux prd-centos7-docker-4c-2g-27290.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-02-23T08:06:36.728Z] [2021-02-23T08:06:36.728Z] [2021-02-23T08:06:36.728Z] ---> lscpu: [2021-02-23T08:06:36.728Z] Architecture: x86_64 [2021-02-23T08:06:36.728Z] CPU op-mode(s): 32-bit, 64-bit [2021-02-23T08:06:36.728Z] Byte Order: Little Endian [2021-02-23T08:06:36.728Z] Address sizes: 40 bits physical, 48 bits virtual [2021-02-23T08:06:36.728Z] CPU(s): 4 [2021-02-23T08:06:36.728Z] On-line CPU(s) list: 0-3 [2021-02-23T08:06:36.728Z] Thread(s) per core: 1 [2021-02-23T08:06:36.728Z] Core(s) per socket: 1 [2021-02-23T08:06:36.728Z] Socket(s): 4 [2021-02-23T08:06:36.728Z] NUMA node(s): 1 [2021-02-23T08:06:36.728Z] Vendor ID: GenuineIntel [2021-02-23T08:06:36.728Z] CPU family: 6 [2021-02-23T08:06:36.728Z] Model: 44 [2021-02-23T08:06:36.728Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-02-23T08:06:36.728Z] Stepping: 1 [2021-02-23T08:06:36.728Z] CPU MHz: 2933.442 [2021-02-23T08:06:36.728Z] BogoMIPS: 5866.88 [2021-02-23T08:06:36.728Z] Virtualization: VT-x [2021-02-23T08:06:36.728Z] Hypervisor vendor: KVM [2021-02-23T08:06:36.728Z] Virtualization type: full [2021-02-23T08:06:36.728Z] L1d cache: 128 KiB [2021-02-23T08:06:36.728Z] L1i cache: 128 KiB [2021-02-23T08:06:36.728Z] L2 cache: 16 MiB [2021-02-23T08:06:36.728Z] L3 cache: 64 MiB [2021-02-23T08:06:36.728Z] NUMA node0 CPU(s): 0-3 [2021-02-23T08:06:36.728Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-02-23T08:06:36.728Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-02-23T08:06:36.728Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-02-23T08:06:36.728Z] Vulnerability Meltdown: Mitigation; PTI [2021-02-23T08:06:36.728Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-02-23T08:06:36.728Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-02-23T08:06:36.728Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-02-23T08:06:36.728Z] Vulnerability Srbds: Not affected [2021-02-23T08:06:36.728Z] Vulnerability Tsx async abort: Not affected [2021-02-23T08:06:36.728Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-02-23T08:06:36.728Z] [2021-02-23T08:06:36.728Z] [2021-02-23T08:06:36.728Z] ---> nproc: [2021-02-23T08:06:36.728Z] 4 [2021-02-23T08:06:36.728Z] [2021-02-23T08:06:36.728Z]