Pull request #661 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at cbcd560d226450c2fc49532ec953a0990705dfef rather than c3824a12f3cc5d1966e4db57f289fddfad20a307 Obtained Jenkinsfile from cbcd560d226450c2fc49532ec953a0990705dfef 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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-661/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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-661/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-13816 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [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-661 # 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/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit c3824a12f3cc5d1966e4db57f289fddfad20a307 Merge succeeded, producing 21a5e02e5573075b8a0f1e54bd48fbb3635a306b Checking out Revision 21a5e02e5573075b8a0f1e54bd48fbb3635a306b (PR-661) > git config core.sparsecheckout # timeout=10 > git checkout -f c3824a12f3cc5d1966e4db57f289fddfad20a307 # 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 cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21a5e02e5573075b8a0f1e54bd48fbb3635a306b # timeout=10 Commit message: "Merge commit 'cbcd560d226450c2fc49532ec953a0990705dfef' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-30T06:46:19.150Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-30T06:46:19.559Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-30T06:46:19.802Z] ========================================================= [2020-11-30T06:46:19.802Z] EdgeX Global Pipelines Version Info [2020-11-30T06:46:19.802Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-30T06:46:21.951Z] ------------------- [2020-11-30T06:46:21.951Z] stable info: [2020-11-30T06:46:21.951Z] ------------------- [2020-11-30T06:46:21.951Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-30T06:46:21.951Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-30T06:46:21.951Z] Message: update stable to v1.0.167 [2020-11-30T06:46:22.954Z] ------------------- [2020-11-30T06:46:22.954Z] experimental info: [2020-11-30T06:46:22.954Z] ------------------- [2020-11-30T06:46:22.954Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-30T06:46:22.954Z] Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a [2020-11-30T06:46:22.954Z] Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-30T06:46:23.582Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-11-30T06:46:23.737Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-11-30T06:46:23.886Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-30T06:46:24.033Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-30T06:46:24.174Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-30T06:46:24.312Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-30T06:46:24.483Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-30T06:46:24.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-30T06:46:24.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-11-30T06:46:24.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-30T06:46:25.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-30T06:46:25.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-11-30T06:46:25.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-30T06:46:25.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-30T06:46:25.693Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-30T06:46:25.848Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-11-30T06:46:26.003Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-30T06:46:26.144Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-30T06:46:26.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-30T06:46:26.407Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-30T06:46:26.535Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-11-30T06:46:26.672Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-11-30T06:46:26.810Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-30T06:46:26.941Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-30T06:46:27.075Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-30T06:46:27.217Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-30T06:46:27.347Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-661 [Pipeline] echo [2020-11-30T06:46:27.476Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-661 [Pipeline] echo [2020-11-30T06:46:27.603Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-661 [Pipeline] echo [2020-11-30T06:46:27.729Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21a5e02e5573075b8a0f1e54bd48fbb3635a306b [Pipeline] echo [2020-11-30T06:46:27.945Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21a5e02 [Pipeline] echo [2020-11-30T06:46:28.076Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-30T06:46:28.360Z] provisioning config files... [2020-11-30T06:46:28.398Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config6673209340957936180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-30T06:46:28.873Z] ---> docker-login.sh [2020-11-30T06:46:28.873Z] nexus3.edgexfoundry.org:10001 [2020-11-30T06:46:29.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:46:29.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:46:29.419Z] Configure a credential helper to remove this warning. See [2020-11-30T06:46:29.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:46:29.419Z] [2020-11-30T06:46:29.419Z] Login Succeeded [2020-11-30T06:46:29.419Z] nexus3.edgexfoundry.org:10002 [2020-11-30T06:46:29.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:46:29.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:46:29.703Z] Configure a credential helper to remove this warning. See [2020-11-30T06:46:29.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:46:29.703Z] [2020-11-30T06:46:29.703Z] Login Succeeded [2020-11-30T06:46:29.703Z] nexus3.edgexfoundry.org:10003 [2020-11-30T06:46:29.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:46:29.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:46:29.974Z] Configure a credential helper to remove this warning. See [2020-11-30T06:46:29.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:46:29.974Z] [2020-11-30T06:46:29.974Z] Login Succeeded [2020-11-30T06:46:29.974Z] nexus3.edgexfoundry.org:10004 [2020-11-30T06:46:30.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:46:30.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:46:30.242Z] Configure a credential helper to remove this warning. See [2020-11-30T06:46:30.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:46:30.242Z] [2020-11-30T06:46:30.242Z] Login Succeeded [2020-11-30T06:46:30.242Z] docker.io [2020-11-30T06:46:30.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:46:30.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:46:30.778Z] Configure a credential helper to remove this warning. See [2020-11-30T06:46:30.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:46:30.778Z] [2020-11-30T06:46:30.778Z] Login Succeeded [2020-11-30T06:46:30.778Z] ---> docker-login.sh ends [Pipeline] } [2020-11-30T06:46:30.806Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-30T06:46:32.099Z] + git log --format=format:%s -1 21a5e02e5573075b8a0f1e54bd48fbb3635a306b [Pipeline] echo [2020-11-30T06:46:32.205Z] GIT_COMMIT: 21a5e02e5573075b8a0f1e54bd48fbb3635a306b, Commit Message: Merge commit 'cbcd560d226450c2fc49532ec953a0990705dfef' into HEAD [Pipeline] echo [2020-11-30T06:46:32.286Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-30T06:46:33.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-30T06:46:33.598Z] [2020-11-30T06:46:33.598Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-30T06:46:34.012Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-30T06:46:34.012Z] latest: Pulling from edgex-devops/git-semver [2020-11-30T06:46:34.012Z] 31603596830f: Pulling fs layer [2020-11-30T06:46:34.012Z] 2a8b12db71e7: Pulling fs layer [2020-11-30T06:46:34.012Z] 6ca5941a6612: Pulling fs layer [2020-11-30T06:46:34.012Z] ecc8261a40a4: Pulling fs layer [2020-11-30T06:46:34.012Z] ecc8261a40a4: Waiting [2020-11-30T06:46:34.012Z] 2a8b12db71e7: Verifying Checksum [2020-11-30T06:46:34.012Z] 2a8b12db71e7: Download complete [2020-11-30T06:46:34.282Z] 31603596830f: Verifying Checksum [2020-11-30T06:46:34.282Z] 31603596830f: Download complete [2020-11-30T06:46:34.563Z] ecc8261a40a4: Verifying Checksum [2020-11-30T06:46:34.563Z] ecc8261a40a4: Download complete [2020-11-30T06:46:34.563Z] 6ca5941a6612: Verifying Checksum [2020-11-30T06:46:34.563Z] 6ca5941a6612: Download complete [2020-11-30T06:46:34.844Z] 31603596830f: Pull complete [2020-11-30T06:46:35.111Z] 2a8b12db71e7: Pull complete [2020-11-30T06:46:36.101Z] 6ca5941a6612: Pull complete [2020-11-30T06:46:36.756Z] ecc8261a40a4: Pull complete [2020-11-30T06:46:36.756Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-30T06:46:36.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-30T06:46:36.756Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-30T06:46:36.948Z] prd-centos7-docker-4c-2g-13816 does not seem to be running inside a container [2020-11-30T06:46:37.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-30T06:46:39.241Z] $ docker top 98b02a4d50eec0f1db3ecf1e833cd532abb01fdd69eb9ad13165a9bfb8aa57d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-30T06:46:39.789Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-30T06:46:39.789Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-30T06:46:40.089Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-30T06:46:40.098Z] $ docker exec 98b02a4d50eec0f1db3ecf1e833cd532abb01fdd69eb9ad13165a9bfb8aa57d7 ssh-agent [2020-11-30T06:46:40.380Z] SSH_AUTH_SOCK=/tmp/ssh-blwYBoYG6zhN/agent.12 [2020-11-30T06:46:40.380Z] SSH_AGENT_PID=18 [2020-11-30T06:46:40.399Z] Running ssh-add (command line suppressed) [2020-11-30T06:46:40.572Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_1075172326175369885.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_1075172326175369885.key) [2020-11-30T06:46:40.634Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-30T06:46:41.074Z] + git tag --points-at HEAD [Pipeline] } [2020-11-30T06:46:41.112Z] $ docker exec --env ******** --env ******** 98b02a4d50eec0f1db3ecf1e833cd532abb01fdd69eb9ad13165a9bfb8aa57d7 ssh-agent -k [2020-11-30T06:46:41.254Z] unset SSH_AUTH_SOCK; [2020-11-30T06:46:41.255Z] unset SSH_AGENT_PID; [2020-11-30T06:46:41.255Z] echo Agent pid 18 killed; [2020-11-30T06:46:41.312Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-30T06:46:41.551Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-30T06:46:41.551Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-30T06:46:41.757Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-30T06:46:41.764Z] $ docker exec 98b02a4d50eec0f1db3ecf1e833cd532abb01fdd69eb9ad13165a9bfb8aa57d7 ssh-agent [2020-11-30T06:46:41.954Z] SSH_AUTH_SOCK=/tmp/ssh-u4OW9bHXaXcl/agent.49 [2020-11-30T06:46:41.954Z] SSH_AGENT_PID=55 [2020-11-30T06:46:41.962Z] Running ssh-add (command line suppressed) [2020-11-30T06:46:42.105Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_1515422292627462774.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_1515422292627462774.key) [2020-11-30T06:46:42.172Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-30T06:46:42.571Z] + git semver init [2020-11-30T06:46:42.571Z] # -> Open(): unable to determine branch for HEAD [2020-11-30T06:46:42.571Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.git [2020-11-30T06:46:42.571Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-661 [2020-11-30T06:46:42.571Z] # $SEMVER_REMOTE_NAME = origin [2020-11-30T06:46:42.571Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-30T06:46:42.571Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-30T06:46:42.571Z] # $SEMVER_BRANCH = PR-661 [2020-11-30T06:46:42.571Z] # $SEMVER_TEMP = /tmp/semver-835319716 [2020-11-30T06:46:42.571Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-11-30T06:46:44.508Z] # '/tmp/semver-835319716' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver' [2020-11-30T06:46:44.508Z] # -> Force: false [2020-11-30T06:46:44.508Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver [Pipeline] } [2020-11-30T06:46:44.535Z] $ docker exec --env ******** --env ******** 98b02a4d50eec0f1db3ecf1e833cd532abb01fdd69eb9ad13165a9bfb8aa57d7 ssh-agent -k [2020-11-30T06:46:44.868Z] unset SSH_AUTH_SOCK; [2020-11-30T06:46:44.868Z] unset SSH_AGENT_PID; [2020-11-30T06:46:44.868Z] echo Agent pid 55 killed; [2020-11-30T06:46:44.969Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-30T06:46:45.660Z] + git semver [Pipeline] } [2020-11-30T06:46:45.697Z] $ docker stop --time=1 98b02a4d50eec0f1db3ecf1e833cd532abb01fdd69eb9ad13165a9bfb8aa57d7 [2020-11-30T06:46:47.197Z] $ docker rm -f 98b02a4d50eec0f1db3ecf1e833cd532abb01fdd69eb9ad13165a9bfb8aa57d7 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-30T06:46:47.807Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-30T06:46:48.318Z] Stashed 1 file(s) [Pipeline] echo [2020-11-30T06:46:48.339Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-11-30T06:47:04.413Z] Still waiting to schedule task [2020-11-30T06:47:04.413Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13816’ [2020-11-30T06:47:04.450Z] Still waiting to schedule task [2020-11-30T06:47:04.450Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline [2020-11-30T06:49:22.561Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13817 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws [2020-11-30T06:49:22.665Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-11-30T06:49:27.613Z] using credential edgex-jenkins-ssh [2020-11-30T06:49:27.718Z] Cloning the remote Git repository [2020-11-30T06:49:27.781Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-11-30T06:49:27.888Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-11-30T06:49:27.959Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-30T06:49:27.960Z] > git --version # timeout=10 [2020-11-30T06:49:27.976Z] > git --version # 'git version 2.17.1' [2020-11-30T06:49:27.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-30T06:49:28.040Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-30T06:49:29.144Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-30T06:49:29.166Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-30T06:49:29.849Z] Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit c3824a12f3cc5d1966e4db57f289fddfad20a307 [2020-11-30T06:49:30.191Z] Merge succeeded, producing e3604121932ae06c19ff3cc85391805df84b7470 [2020-11-30T06:49:30.191Z] Checking out Revision e3604121932ae06c19ff3cc85391805df84b7470 (PR-661) [2020-11-30T06:49:29.194Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-30T06:49:29.225Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-30T06:49:29.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-30T06:49:29.237Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-30T06:49:29.868Z] > git config core.sparsecheckout # timeout=10 [2020-11-30T06:49:29.879Z] > git checkout -f c3824a12f3cc5d1966e4db57f289fddfad20a307 # timeout=10 [2020-11-30T06:49:29.985Z] > git remote # timeout=10 [2020-11-30T06:49:30.000Z] > git config --get remote.origin.url # timeout=10 [2020-11-30T06:49:30.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-30T06:49:30.061Z] > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 [2020-11-30T06:49:30.155Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-30T06:49:30.200Z] > git config core.sparsecheckout # timeout=10 [2020-11-30T06:49:30.232Z] > git checkout -f e3604121932ae06c19ff3cc85391805df84b7470 # timeout=10 [2020-11-30T06:49:34.416Z] Commit message: "Merge commit 'cbcd560d226450c2fc49532ec953a0990705dfef' into HEAD" [2020-11-30T06:49:34.416Z] First time build. Skipping changelog. [2020-11-30T06:49:34.468Z] > git --version # timeout=10 [2020-11-30T06:49:34.481Z] > git --version # 'git version 2.17.1' [2020-11-30T06:49:34.491Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-30T06:49:36.446Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-11-30T06:49:36.924Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-30T06:49:37.279Z] + sudo service docker restart [2020-11-30T06:49:37.279Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-30T06:49:40.056Z] provisioning config files... [2020-11-30T06:49:40.093Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4941320426224474597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-30T06:49:40.657Z] ---> docker-login.sh [2020-11-30T06:49:40.658Z] nexus3.edgexfoundry.org:10001 [2020-11-30T06:49:41.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:49:41.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:49:41.852Z] Configure a credential helper to remove this warning. See [2020-11-30T06:49:41.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:49:41.852Z] [2020-11-30T06:49:41.852Z] Login Succeeded [2020-11-30T06:49:41.852Z] nexus3.edgexfoundry.org:10002 [2020-11-30T06:49:42.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:49:42.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:49:42.124Z] Configure a credential helper to remove this warning. See [2020-11-30T06:49:42.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:49:42.124Z] [2020-11-30T06:49:42.124Z] Login Succeeded [2020-11-30T06:49:42.124Z] nexus3.edgexfoundry.org:10003 [2020-11-30T06:49:42.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:49:42.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:49:42.722Z] Configure a credential helper to remove this warning. See [2020-11-30T06:49:42.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:49:42.722Z] [2020-11-30T06:49:42.722Z] Login Succeeded [2020-11-30T06:49:42.722Z] nexus3.edgexfoundry.org:10004 [2020-11-30T06:49:43.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:49:43.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:49:43.327Z] Configure a credential helper to remove this warning. See [2020-11-30T06:49:43.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:49:43.327Z] [2020-11-30T06:49:43.327Z] Login Succeeded [2020-11-30T06:49:43.327Z] docker.io [2020-11-30T06:49:43.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:49:44.025Z] Running on prd-centos7-docker-4c-2g-13818 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws [2020-11-30T06:49:44.127Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [2020-11-30T06:49:44.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:49:44.204Z] Configure a credential helper to remove this warning. See [2020-11-30T06:49:44.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:49:44.204Z] [2020-11-30T06:49:44.204Z] Login Succeeded [2020-11-30T06:49:44.204Z] ---> docker-login.sh ends [Pipeline] checkout [Pipeline] } [2020-11-30T06:49:44.336Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-30T06:49:44.907Z] ========================================================= [2020-11-30T06:49:44.907Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-30T06:49:44.907Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-30T06:49:45.331Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-11-30T06:49:45.605Z] Sending build context to Docker daemon 2.374MB [2020-11-30T06:49:45.605Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-30T06:49:45.605Z] Step 2/8 : FROM ${BASE} [2020-11-30T06:49:45.880Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-30T06:49:45.880Z] b538f80385f9: Pulling fs layer [2020-11-30T06:49:45.880Z] 74f711af9a0d: Pulling fs layer [2020-11-30T06:49:45.880Z] 99f96fe45779: Pulling fs layer [2020-11-30T06:49:45.880Z] 8529a6b9a6be: Pulling fs layer [2020-11-30T06:49:45.880Z] 45590311c82a: Pulling fs layer [2020-11-30T06:49:45.880Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-30T06:49:45.880Z] 209524e5b208: Pulling fs layer [2020-11-30T06:49:45.880Z] 8529a6b9a6be: Waiting [2020-11-30T06:49:45.880Z] 45590311c82a: Waiting [2020-11-30T06:49:45.880Z] 209524e5b208: Waiting [2020-11-30T06:49:45.880Z] 69ca0ff8b7b3: Waiting [2020-11-30T06:49:45.880Z] 99f96fe45779: Verifying Checksum [2020-11-30T06:49:45.880Z] 99f96fe45779: Download complete [2020-11-30T06:49:45.880Z] 74f711af9a0d: Download complete [2020-11-30T06:49:45.880Z] 45590311c82a: Verifying Checksum [2020-11-30T06:49:45.880Z] 45590311c82a: Download complete [2020-11-30T06:49:46.486Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-30T06:49:46.486Z] 69ca0ff8b7b3: Download complete [2020-11-30T06:49:46.486Z] b538f80385f9: Download complete [2020-11-30T06:49:47.095Z] b538f80385f9: Pull complete [2020-11-30T06:49:47.700Z] 74f711af9a0d: Pull complete [2020-11-30T06:49:47.976Z] 99f96fe45779: Pull complete [2020-11-30T06:49:47.994Z] using credential edgex-jenkins-ssh [2020-11-30T06:49:48.082Z] Cloning the remote Git repository [2020-11-30T06:49:48.572Z] 209524e5b208: Verifying Checksum [2020-11-30T06:49:48.573Z] 209524e5b208: Download complete [2020-11-30T06:49:47.965Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-11-30T06:49:48.057Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-11-30T06:49:48.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-30T06:49:48.145Z] > git --version # timeout=10 [2020-11-30T06:49:48.160Z] > git --version # 'git version 2.24.3' [2020-11-30T06:49:48.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-30T06:49:48.227Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-30T06:49:49.758Z] Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit c3824a12f3cc5d1966e4db57f289fddfad20a307 [2020-11-30T06:49:49.144Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-30T06:49:49.159Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-30T06:49:49.174Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-30T06:49:49.193Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-30T06:49:49.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-30T06:49:49.199Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-30T06:49:49.742Z] > git config core.sparsecheckout # timeout=10 [2020-11-30T06:49:49.750Z] > git checkout -f c3824a12f3cc5d1966e4db57f289fddfad20a307 # timeout=10 [2020-11-30T06:49:49.831Z] > git remote # timeout=10 [2020-11-30T06:49:49.839Z] > git config --get remote.origin.url # timeout=10 [2020-11-30T06:49:49.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-30T06:49:49.855Z] > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 [2020-11-30T06:49:49.934Z] Merge succeeded, producing 3c750e0f9f6b4e9fa892109da590dbc57e12cf24 [2020-11-30T06:49:49.934Z] Checking out Revision 3c750e0f9f6b4e9fa892109da590dbc57e12cf24 (PR-661) [2020-11-30T06:49:50.566Z] 8529a6b9a6be: Verifying Checksum [2020-11-30T06:49:50.566Z] 8529a6b9a6be: Download complete [2020-11-30T06:49:49.910Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-30T06:49:49.922Z] > git config core.sparsecheckout # timeout=10 [2020-11-30T06:49:49.929Z] > git checkout -f 3c750e0f9f6b4e9fa892109da590dbc57e12cf24 # timeout=10 [2020-11-30T06:49:53.778Z] Commit message: "Merge commit 'cbcd560d226450c2fc49532ec953a0990705dfef' into HEAD" [2020-11-30T06:49:53.778Z] First time build. Skipping changelog. [2020-11-30T06:49:53.813Z] > git --version # timeout=10 [2020-11-30T06:49:53.817Z] > git --version # 'git version 2.24.3' [2020-11-30T06:49:53.846Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-30T06:49:55.343Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-11-30T06:49:55.824Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-30T06:49:56.239Z] + true [2020-11-30T06:49:56.239Z] + sudo service docker restart [2020-11-30T06:49:56.239Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-30T06:49:57.852Z] provisioning config files... [2020-11-30T06:49:57.882Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2088906916358444218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-30T06:49:58.376Z] ---> docker-login.sh [2020-11-30T06:49:58.376Z] nexus3.edgexfoundry.org:10001 [2020-11-30T06:49:58.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:49:58.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:49:58.935Z] Configure a credential helper to remove this warning. See [2020-11-30T06:49:58.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:49:58.935Z] [2020-11-30T06:49:58.935Z] Login Succeeded [2020-11-30T06:49:58.935Z] nexus3.edgexfoundry.org:10002 [2020-11-30T06:49:58.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:49:59.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:49:59.208Z] Configure a credential helper to remove this warning. See [2020-11-30T06:49:59.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:49:59.208Z] [2020-11-30T06:49:59.208Z] Login Succeeded [2020-11-30T06:49:59.208Z] nexus3.edgexfoundry.org:10003 [2020-11-30T06:49:59.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:49:59.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:49:59.477Z] Configure a credential helper to remove this warning. See [2020-11-30T06:49:59.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:49:59.477Z] [2020-11-30T06:49:59.477Z] Login Succeeded [2020-11-30T06:49:59.477Z] nexus3.edgexfoundry.org:10004 [2020-11-30T06:49:59.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:49:59.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:49:59.744Z] Configure a credential helper to remove this warning. See [2020-11-30T06:49:59.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:49:59.744Z] [2020-11-30T06:49:59.744Z] Login Succeeded [2020-11-30T06:49:59.745Z] docker.io [2020-11-30T06:49:59.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-30T06:50:00.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-30T06:50:00.336Z] Configure a credential helper to remove this warning. See [2020-11-30T06:50:00.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-30T06:50:00.336Z] [2020-11-30T06:50:00.336Z] Login Succeeded [2020-11-30T06:50:00.336Z] ---> docker-login.sh ends [Pipeline] } [2020-11-30T06:50:00.365Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2020-11-30T06:50:00.788Z] 8529a6b9a6be: Pull complete [2020-11-30T06:50:00.788Z] 45590311c82a: Pull complete [Pipeline] echo [2020-11-30T06:50:01.094Z] ========================================================= [2020-11-30T06:50:01.094Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-30T06:50:01.094Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-30T06:50:01.392Z] 69ca0ff8b7b3: Pull complete [2020-11-30T06:50:01.504Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-11-30T06:50:01.779Z] Sending build context to Docker daemon 2.375MB [2020-11-30T06:50:01.779Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-30T06:50:01.779Z] Step 2/8 : FROM ${BASE} [2020-11-30T06:50:02.049Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-30T06:50:02.049Z] df20fa9351a1: Pulling fs layer [2020-11-30T06:50:02.049Z] ed8968b2872e: Pulling fs layer [2020-11-30T06:50:02.049Z] a92cc7c5fd73: Pulling fs layer [2020-11-30T06:50:02.049Z] e871e8e8d7a9: Pulling fs layer [2020-11-30T06:50:02.049Z] e73272ec9a57: Pulling fs layer [2020-11-30T06:50:02.049Z] 1e910a182e73: Pulling fs layer [2020-11-30T06:50:02.049Z] 4e634b169226: Pulling fs layer [2020-11-30T06:50:02.049Z] e871e8e8d7a9: Waiting [2020-11-30T06:50:02.049Z] e73272ec9a57: Waiting [2020-11-30T06:50:02.049Z] 1e910a182e73: Waiting [2020-11-30T06:50:02.049Z] 4e634b169226: Waiting [2020-11-30T06:50:02.049Z] a92cc7c5fd73: Download complete [2020-11-30T06:50:02.049Z] ed8968b2872e: Verifying Checksum [2020-11-30T06:50:02.049Z] ed8968b2872e: Download complete [2020-11-30T06:50:02.049Z] e73272ec9a57: Verifying Checksum [2020-11-30T06:50:02.049Z] e73272ec9a57: Download complete [2020-11-30T06:50:02.049Z] df20fa9351a1: Verifying Checksum [2020-11-30T06:50:02.049Z] df20fa9351a1: Download complete [2020-11-30T06:50:02.328Z] 1e910a182e73: Verifying Checksum [2020-11-30T06:50:02.328Z] 1e910a182e73: Download complete [2020-11-30T06:50:02.612Z] df20fa9351a1: Pull complete [2020-11-30T06:50:02.898Z] ed8968b2872e: Pull complete [2020-11-30T06:50:03.166Z] a92cc7c5fd73: Pull complete [2020-11-30T06:50:05.104Z] 4e634b169226: Verifying Checksum [2020-11-30T06:50:05.104Z] 4e634b169226: Download complete [2020-11-30T06:50:05.715Z] 209524e5b208: Pull complete [2020-11-30T06:50:05.715Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-30T06:50:05.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-30T06:50:05.715Z] ---> 5bddaf1c2fca [2020-11-30T06:50:05.715Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-30T06:50:07.714Z] ---> Running in fe913d48b40a [2020-11-30T06:50:07.735Z] e871e8e8d7a9: Verifying Checksum [2020-11-30T06:50:07.735Z] e871e8e8d7a9: Download complete [2020-11-30T06:50:08.320Z] Removing intermediate container fe913d48b40a [2020-11-30T06:50:08.320Z] ---> 11c0394c44d1 [2020-11-30T06:50:08.320Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-30T06:50:08.320Z] ---> Running in b6adb70273f4 [2020-11-30T06:50:10.944Z] Removing intermediate container b6adb70273f4 [2020-11-30T06:50:10.944Z] ---> e4d202ccc827 [2020-11-30T06:50:10.944Z] Step 5/8 : RUN apk add --no-cache make git [2020-11-30T06:50:10.944Z] ---> Running in 90ad89bdc93b [2020-11-30T06:50:11.541Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-30T06:50:12.521Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-30T06:50:13.515Z] OK: 142 MiB in 39 packages [2020-11-30T06:50:14.480Z] e871e8e8d7a9: Pull complete [2020-11-30T06:50:14.480Z] e73272ec9a57: Pull complete [2020-11-30T06:50:14.480Z] 1e910a182e73: Pull complete [2020-11-30T06:50:14.508Z] Removing intermediate container 90ad89bdc93b [2020-11-30T06:50:14.508Z] ---> 84aa7d032961 [2020-11-30T06:50:14.508Z] Step 6/8 : WORKDIR /device-sdk-go [2020-11-30T06:50:14.508Z] ---> Running in ed0ec82153af [2020-11-30T06:50:15.104Z] Removing intermediate container ed0ec82153af [2020-11-30T06:50:15.104Z] ---> 8bb38d3449e2 [2020-11-30T06:50:15.104Z] Step 7/8 : COPY . . [2020-11-30T06:50:16.551Z] ---> 6bf57cb68987 [2020-11-30T06:50:16.551Z] Step 8/8 : RUN go mod download [2020-11-30T06:50:16.551Z] ---> Running in e5276528a519 [2020-11-30T06:50:21.145Z] 4e634b169226: Pull complete [2020-11-30T06:50:21.145Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-30T06:50:21.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-30T06:50:21.145Z] ---> f7629b54cfaa [2020-11-30T06:50:21.145Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-30T06:50:21.145Z] ---> Running in f20c77226004 [2020-11-30T06:50:21.416Z] Removing intermediate container f20c77226004 [2020-11-30T06:50:21.416Z] ---> 9d9c68c35b29 [2020-11-30T06:50:21.416Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-30T06:50:21.416Z] ---> Running in 0ff21d5bbaec [2020-11-30T06:50:22.868Z] Removing intermediate container 0ff21d5bbaec [2020-11-30T06:50:22.868Z] ---> 56a50d4c6e1c [2020-11-30T06:50:22.868Z] Step 5/8 : RUN apk add --no-cache make git [2020-11-30T06:50:22.868Z] ---> Running in f513aa940564 [2020-11-30T06:50:23.849Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-30T06:50:24.429Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-30T06:50:25.013Z] OK: 166 MiB in 39 packages [2020-11-30T06:50:25.286Z] Removing intermediate container f513aa940564 [2020-11-30T06:50:25.286Z] ---> 8acec1750fbf [2020-11-30T06:50:25.286Z] Step 6/8 : WORKDIR /device-sdk-go [2020-11-30T06:50:25.551Z] ---> Running in 3a13858383b1 [2020-11-30T06:50:25.551Z] Removing intermediate container 3a13858383b1 [2020-11-30T06:50:25.551Z] ---> 17949308501b [2020-11-30T06:50:25.551Z] Step 7/8 : COPY . . [2020-11-30T06:50:26.959Z] ---> bb430ffca13a [2020-11-30T06:50:26.959Z] Step 8/8 : RUN go mod download [2020-11-30T06:50:26.959Z] ---> Running in 071242ee109e [2020-11-30T06:50:38.720Z] Removing intermediate container e5276528a519 [2020-11-30T06:50:38.720Z] ---> 04b6927ff2c8 [2020-11-30T06:50:38.720Z] Successfully built 04b6927ff2c8 [2020-11-30T06:50:38.720Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-30T06:50:39.111Z] + docker inspect -f . ci-base-image-arm64 [2020-11-30T06:50:39.111Z] . [Pipeline] withDockerContainer [2020-11-30T06:50:39.399Z] prd-ubuntu18.04-docker-arm64-4c-16g-13817 does not seem to be running inside a container [2020-11-30T06:50:39.495Z] $ 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 ******** ci-base-image-arm64 cat [2020-11-30T06:50:41.020Z] $ docker top 6047f03c31fdcfacb62521a78de4800a52775a346c92d291490b610ce2b02305 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-30T06:50:42.113Z] + go version [2020-11-30T06:50:42.113Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-30T06:50:42.157Z] $ docker stop --time=1 6047f03c31fdcfacb62521a78de4800a52775a346c92d291490b610ce2b02305 [2020-11-30T06:50:44.095Z] $ docker rm -f 6047f03c31fdcfacb62521a78de4800a52775a346c92d291490b610ce2b02305 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-30T06:50:45.450Z] + docker inspect -f . ci-base-image-arm64 [2020-11-30T06:50:45.450Z] . [Pipeline] withDockerContainer [2020-11-30T06:50:45.735Z] prd-ubuntu18.04-docker-arm64-4c-16g-13817 does not seem to be running inside a container [2020-11-30T06:50:45.823Z] $ 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 ******** ci-base-image-arm64 cat [2020-11-30T06:50:47.367Z] $ docker top ebe8fc6059a49bd28833609466d5378fac3a3489b08ee1b04fd8f50ff24c556a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-30T06:50:48.437Z] + make test [2020-11-30T06:50:48.437Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-11-30T06:50:49.116Z] Removing intermediate container 071242ee109e [2020-11-30T06:50:49.116Z] ---> ab815484ea9b [2020-11-30T06:50:49.116Z] Successfully built ab815484ea9b [2020-11-30T06:50:49.116Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-30T06:50:49.480Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-30T06:50:49.480Z] . [Pipeline] withDockerContainer [2020-11-30T06:50:49.745Z] prd-centos7-docker-4c-2g-13818 does not seem to be running inside a container [2020-11-30T06:50:49.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-30T06:50:50.922Z] $ docker top 52157e9d1f3b5a3fb0ee2c86864c6343e14ed0bdfe29b0ab2eb4eb64884ad633 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-30T06:50:51.636Z] + go version [2020-11-30T06:50:51.636Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-30T06:50:51.674Z] $ docker stop --time=1 52157e9d1f3b5a3fb0ee2c86864c6343e14ed0bdfe29b0ab2eb4eb64884ad633 [2020-11-30T06:50:53.313Z] $ docker rm -f 52157e9d1f3b5a3fb0ee2c86864c6343e14ed0bdfe29b0ab2eb4eb64884ad633 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-30T06:50:54.564Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-30T06:50:54.564Z] . [Pipeline] withDockerContainer [2020-11-30T06:50:54.779Z] prd-centos7-docker-4c-2g-13818 does not seem to be running inside a container [2020-11-30T06:50:54.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-30T06:50:55.880Z] $ docker top f4e0c8470085776e9f5bcff4172321031906fb7de999519f74ba803e54ac73bf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-30T06:50:56.501Z] + make test [2020-11-30T06:50:56.501Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-11-30T06:51:06.694Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-11-30T06:51:10.622Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-11-30T06:51:25.167Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-11-30T06:51:25.167Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-11-30T06:51:25.167Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-11-30T06:51:25.783Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.066s coverage: 20.0% of statements [2020-11-30T06:51:28.434Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.617s coverage: 97.1% of statements [2020-11-30T06:51:49.658Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-11-30T06:51:49.658Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-11-30T06:51:49.658Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-11-30T06:51:49.658Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.108s coverage: 20.0% of statements [2020-11-30T06:51:52.306Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.262s coverage: 97.1% of statements [2020-11-30T06:52:00.768Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.074s coverage: 9.4% of statements [2020-11-30T06:52:00.768Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.097s coverage: 21.9% of statements [2020-11-30T06:52:00.768Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-11-30T06:52:00.768Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.235s coverage: 42.5% of statements [2020-11-30T06:52:00.768Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-11-30T06:52:00.768Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.305s coverage: 68.9% of statements [2020-11-30T06:52:00.768Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-11-30T06:52:00.768Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-11-30T06:52:00.768Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-11-30T06:52:00.768Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-11-30T06:52:00.768Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.077s coverage: 52.6% of statements [2020-11-30T06:52:00.768Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-11-30T06:52:00.768Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-11-30T06:52:00.768Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-11-30T06:52:00.768Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.996s coverage: 68.9% of statements [2020-11-30T06:52:00.768Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.064s coverage: 4.7% of statements [2020-11-30T06:52:00.768Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-11-30T06:52:00.768Z] GO111MODULE=on go vet ./... [2020-11-30T06:52:10.975Z] gofmt -l . [2020-11-30T06:52:10.975Z] [ "`gofmt -l .`" = "" ] [2020-11-30T06:52:10.975Z] ./bin/test-attribution-txt.sh [2020-11-30T06:52:11.253Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-30T06:52:11.562Z] $ docker stop --time=1 f4e0c8470085776e9f5bcff4172321031906fb7de999519f74ba803e54ac73bf [2020-11-30T06:52:13.657Z] $ docker rm -f f4e0c8470085776e9f5bcff4172321031906fb7de999519f74ba803e54ac73bf [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-30T06:52:14.481Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-30T06:52:15.069Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-30T06:52:18.138Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-30T06:52:18.494Z] + ls -al . [2020-11-30T06:52:18.494Z] total 208 [2020-11-30T06:52:18.494Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 30 06:52 . [2020-11-30T06:52:18.494Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 30 06:49 .. [2020-11-30T06:52:18.494Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 30 06:49 bin [2020-11-30T06:52:18.494Z] -rw-r--r--. 1 jenkins jenkins 127698 Nov 30 06:51 coverage.out [2020-11-30T06:52:18.494Z] -rw-rw-r--. 1 jenkins jenkins 936 Nov 30 06:49 Dockerfile.build [2020-11-30T06:52:18.494Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 30 06:49 .dockerignore [2020-11-30T06:52:18.494Z] drwxrwxr-x. 4 jenkins jenkins 48 Nov 30 06:49 example [2020-11-30T06:52:18.494Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 30 06:49 .git [2020-11-30T06:52:18.494Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 30 06:49 .github [2020-11-30T06:52:18.494Z] -rw-rw-r--. 1 jenkins jenkins 138 Nov 30 06:49 .gitignore [2020-11-30T06:52:18.494Z] -rw-r--r--. 1 jenkins jenkins 518 Nov 30 06:52 go.mod [2020-11-30T06:52:18.494Z] -rw-r--r--. 1 jenkins jenkins 13631 Nov 30 06:52 go.sum [2020-11-30T06:52:18.494Z] drwxrwxr-x. 15 jenkins jenkins 211 Nov 30 06:49 internal [2020-11-30T06:52:18.494Z] -rw-rw-r--. 1 jenkins jenkins 901 Nov 30 06:49 Jenkinsfile [2020-11-30T06:52:18.494Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 30 06:49 LICENSE [2020-11-30T06:52:18.494Z] -rw-rw-r--. 1 jenkins jenkins 1013 Nov 30 06:49 Makefile [2020-11-30T06:52:18.494Z] drwxrwxr-x. 4 jenkins jenkins 26 Nov 30 06:49 openapi [2020-11-30T06:52:18.494Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 30 06:49 pkg [2020-11-30T06:52:18.494Z] -rw-rw-r--. 1 jenkins jenkins 5897 Nov 30 06:49 README.md [2020-11-30T06:52:18.494Z] -rw-rw-r--. 1 jenkins jenkins 4291 Nov 30 06:49 RELEASE-NOTES.txt [2020-11-30T06:52:18.494Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 30 06:49 snap [2020-11-30T06:52:18.494Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 30 06:46 VERSION [2020-11-30T06:52:18.494Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 30 06:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-30T06:52:18.858Z] + 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=21a5e02e5573075b8a0f1e54bd48fbb3635a306b --label arch=amd64 --label version=0.0.0 . [2020-11-30T06:52:19.126Z] Sending build context to Docker daemon 2.503MB [2020-11-30T06:52:19.126Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-11-30T06:52:19.126Z] Step 2/24 : FROM ${BASE} AS builder [2020-11-30T06:52:19.126Z] ---> ab815484ea9b [2020-11-30T06:52:19.126Z] Step 3/24 : ARG MAKE='make build' [2020-11-30T06:52:19.703Z] ---> Running in 94c773fd94a1 [2020-11-30T06:52:19.967Z] Removing intermediate container 94c773fd94a1 [2020-11-30T06:52:19.967Z] ---> 897503adebd6 [2020-11-30T06:52:19.967Z] Step 4/24 : WORKDIR /device-sdk-go [2020-11-30T06:52:19.967Z] ---> Running in 6dedbf36c040 [2020-11-30T06:52:20.238Z] Removing intermediate container 6dedbf36c040 [2020-11-30T06:52:20.238Z] ---> d51ec84b2525 [2020-11-30T06:52:20.238Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-30T06:52:20.238Z] ---> Running in d4f66c48f6d0 [2020-11-30T06:52:20.508Z] Removing intermediate container d4f66c48f6d0 [2020-11-30T06:52:20.508Z] ---> 1163c0349626 [2020-11-30T06:52:20.508Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-30T06:52:20.508Z] ---> Running in 745037bf16a8 [2020-11-30T06:52:21.961Z] Removing intermediate container 745037bf16a8 [2020-11-30T06:52:21.961Z] ---> 2524e66e633c [2020-11-30T06:52:21.961Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-11-30T06:52:21.961Z] ---> Running in e356f32d6f6d [2020-11-30T06:52:22.575Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-30T06:52:23.156Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-30T06:52:23.750Z] OK: 166 MiB in 39 packages [2020-11-30T06:52:24.352Z] Removing intermediate container e356f32d6f6d [2020-11-30T06:52:24.352Z] ---> b753f7d614e6 [2020-11-30T06:52:24.352Z] Step 8/24 : COPY . . [2020-11-30T06:52:24.699Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.153s coverage: 9.4% of statements [2020-11-30T06:52:24.699Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.115s coverage: 21.9% of statements [2020-11-30T06:52:24.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-11-30T06:52:24.699Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.607s coverage: 42.5% of statements [2020-11-30T06:52:24.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-11-30T06:52:24.699Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.808s coverage: 68.9% of statements [2020-11-30T06:52:24.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-11-30T06:52:24.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-11-30T06:52:24.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-11-30T06:52:24.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-11-30T06:52:24.699Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.171s coverage: 52.6% of statements [2020-11-30T06:52:24.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-11-30T06:52:24.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-11-30T06:52:24.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-11-30T06:52:24.699Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.912s coverage: 68.9% of statements [2020-11-30T06:52:24.699Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.131s coverage: 4.7% of statements [2020-11-30T06:52:24.699Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-11-30T06:52:24.699Z] GO111MODULE=on go vet ./... [2020-11-30T06:52:25.340Z] ---> 9f3fa6d73729 [2020-11-30T06:52:25.340Z] Step 9/24 : RUN ${MAKE} [2020-11-30T06:52:25.340Z] ---> Running in b93d960aa6fc [2020-11-30T06:52:26.327Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-11-30T06:52:38.882Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-11-30T06:52:39.460Z] Removing intermediate container b93d960aa6fc [2020-11-30T06:52:39.460Z] ---> 8e177b107f43 [2020-11-30T06:52:39.460Z] Step 10/24 : FROM scratch [2020-11-30T06:52:39.460Z] ---> [2020-11-30T06:52:39.460Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-30T06:52:39.730Z] ---> Running in fb1fa71f3b1c [2020-11-30T06:52:39.730Z] Removing intermediate container fb1fa71f3b1c [2020-11-30T06:52:39.730Z] ---> f6a37149b94c [2020-11-30T06:52:39.730Z] Step 12/24 : ENV APP_PORT=49990 [2020-11-30T06:52:39.730Z] ---> Running in 8a95c28634ff [2020-11-30T06:52:39.995Z] Removing intermediate container 8a95c28634ff [2020-11-30T06:52:39.995Z] ---> 3e9db5a75c4e [2020-11-30T06:52:39.995Z] Step 13/24 : EXPOSE $APP_PORT [2020-11-30T06:52:39.995Z] ---> Running in c946276852a3 [2020-11-30T06:52:40.262Z] Removing intermediate container c946276852a3 [2020-11-30T06:52:40.262Z] ---> 33925ad0c20b [2020-11-30T06:52:40.262Z] Step 14/24 : WORKDIR / [2020-11-30T06:52:40.262Z] ---> Running in 51c7d33cc3e2 [2020-11-30T06:52:40.544Z] Removing intermediate container 51c7d33cc3e2 [2020-11-30T06:52:40.544Z] ---> d2c3e7c33643 [2020-11-30T06:52:40.544Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-11-30T06:52:41.143Z] ---> f81b80325729 [2020-11-30T06:52:41.143Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-11-30T06:52:41.415Z] ---> 8a76610f892f [2020-11-30T06:52:41.415Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-11-30T06:52:41.690Z] ---> 77dae42cc6c4 [2020-11-30T06:52:41.690Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-11-30T06:52:42.270Z] ---> 4536b71bcf80 [2020-11-30T06:52:42.270Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-11-30T06:52:42.534Z] ---> 5c09c99197d3 [2020-11-30T06:52:42.534Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-11-30T06:52:42.534Z] ---> Running in c7b96ec11170 [2020-11-30T06:52:42.821Z] Removing intermediate container c7b96ec11170 [2020-11-30T06:52:42.821Z] ---> 746406186bf0 [2020-11-30T06:52:42.821Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-30T06:52:42.821Z] ---> Running in 0946c1b7454a [2020-11-30T06:52:43.105Z] Removing intermediate container 0946c1b7454a [2020-11-30T06:52:43.105Z] ---> 6f08a5a0269c [2020-11-30T06:52:43.105Z] Step 22/24 : LABEL arch=amd64 [2020-11-30T06:52:43.105Z] ---> Running in f4e9e5ff187e [2020-11-30T06:52:43.381Z] Removing intermediate container f4e9e5ff187e [2020-11-30T06:52:43.381Z] ---> 421193515166 [2020-11-30T06:52:43.381Z] Step 23/24 : LABEL git_sha=21a5e02e5573075b8a0f1e54bd48fbb3635a306b [2020-11-30T06:52:43.381Z] ---> Running in 61c4a06b379e [2020-11-30T06:52:43.644Z] Removing intermediate container 61c4a06b379e [2020-11-30T06:52:43.644Z] ---> 7071b4c65565 [2020-11-30T06:52:43.644Z] Step 24/24 : LABEL version=0.0.0 [2020-11-30T06:52:43.644Z] ---> Running in bb78e2460d84 [2020-11-30T06:52:43.908Z] Removing intermediate container bb78e2460d84 [2020-11-30T06:52:43.908Z] ---> e1ca012f432b [2020-11-30T06:52:43.908Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-30T06:52:43.908Z] Successfully built e1ca012f432b [2020-11-30T06:52:43.908Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-30T06:52:57.475Z] gofmt -l . [2020-11-30T06:52:57.475Z] [ "`gofmt -l .`" = "" ] [2020-11-30T06:52:57.475Z] ./bin/test-attribution-txt.sh [2020-11-30T06:52:57.475Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-30T06:52:57.528Z] $ docker stop --time=1 ebe8fc6059a49bd28833609466d5378fac3a3489b08ee1b04fd8f50ff24c556a [2020-11-30T06:52:59.752Z] $ docker rm -f ebe8fc6059a49bd28833609466d5378fac3a3489b08ee1b04fd8f50ff24c556a [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-30T06:53:00.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-30T06:53:00.986Z] Warning: overwriting stash ‘coverage-report’ [2020-11-30T06:53:01.854Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-30T06:53:02.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-30T06:53:03.064Z] + ls -al . [2020-11-30T06:53:03.064Z] total 244 [2020-11-30T06:53:03.064Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 30 06:52 . [2020-11-30T06:53:03.064Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 06:49 .. [2020-11-30T06:53:03.064Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 30 06:49 .dockerignore [2020-11-30T06:53:03.064Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 30 06:49 .git [2020-11-30T06:53:03.064Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 06:49 .github [2020-11-30T06:53:03.064Z] -rw-rw-r-- 1 jenkins jenkins 138 Nov 30 06:49 .gitignore [2020-11-30T06:53:03.064Z] -rw-rw-r-- 1 jenkins jenkins 936 Nov 30 06:49 Dockerfile.build [2020-11-30T06:53:03.064Z] -rw-rw-r-- 1 jenkins jenkins 901 Nov 30 06:49 Jenkinsfile [2020-11-30T06:53:03.064Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 30 06:49 LICENSE [2020-11-30T06:53:03.064Z] -rw-rw-r-- 1 jenkins jenkins 1013 Nov 30 06:49 Makefile [2020-11-30T06:53:03.064Z] -rw-rw-r-- 1 jenkins jenkins 5897 Nov 30 06:49 README.md [2020-11-30T06:53:03.064Z] -rw-rw-r-- 1 jenkins jenkins 4291 Nov 30 06:49 RELEASE-NOTES.txt [2020-11-30T06:53:03.064Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 30 06:46 VERSION [2020-11-30T06:53:03.064Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 06:49 bin [2020-11-30T06:53:03.064Z] -rw-r--r-- 1 jenkins jenkins 127698 Nov 30 06:52 coverage.out [2020-11-30T06:53:03.064Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 06:49 example [2020-11-30T06:53:03.064Z] -rw-r--r-- 1 jenkins jenkins 518 Nov 30 06:52 go.mod [2020-11-30T06:53:03.064Z] -rw-r--r-- 1 jenkins jenkins 13631 Nov 30 06:52 go.sum [2020-11-30T06:53:03.064Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 30 06:49 internal [2020-11-30T06:53:03.064Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 06:49 openapi [2020-11-30T06:53:03.064Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 30 06:49 pkg [2020-11-30T06:53:03.064Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 06:49 snap [2020-11-30T06:53:03.064Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 30 06:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-30T06:53:03.436Z] + 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=21a5e02e5573075b8a0f1e54bd48fbb3635a306b --label arch=arm64 --label version=0.0.0 . [2020-11-30T06:53:04.048Z] Sending build context to Docker daemon 2.502MB [2020-11-30T06:53:04.048Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-11-30T06:53:04.048Z] Step 2/24 : FROM ${BASE} AS builder [2020-11-30T06:53:04.048Z] ---> 04b6927ff2c8 [2020-11-30T06:53:04.048Z] Step 3/24 : ARG MAKE='make build' [2020-11-30T06:53:04.321Z] ---> Running in 9d6483b9431e [2020-11-30T06:53:04.598Z] Removing intermediate container 9d6483b9431e [2020-11-30T06:53:04.598Z] ---> 245b8769df22 [2020-11-30T06:53:04.598Z] Step 4/24 : WORKDIR /device-sdk-go [2020-11-30T06:53:04.873Z] ---> Running in 8297905d0f86 [2020-11-30T06:53:05.154Z] Removing intermediate container 8297905d0f86 [2020-11-30T06:53:05.154Z] ---> fe25ed6d52a7 [2020-11-30T06:53:05.154Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-30T06:53:05.435Z] ---> Running in 1b6e2d88a7b6 [2020-11-30T06:53:06.031Z] Removing intermediate container 1b6e2d88a7b6 [2020-11-30T06:53:06.031Z] ---> c3c96e913a4d [2020-11-30T06:53:06.031Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-30T06:53:06.031Z] ---> Running in ae59a94ae5c0 [2020-11-30T06:53:08.018Z] Removing intermediate container ae59a94ae5c0 [2020-11-30T06:53:08.018Z] ---> af20100995ae [2020-11-30T06:53:08.018Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-11-30T06:53:08.295Z] ---> Running in 8b2918c1ee29 [2020-11-30T06:53:09.269Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-30T06:53:10.700Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-30T06:53:15.021Z] OK: 142 MiB in 39 packages [2020-11-30T06:53:15.997Z] Removing intermediate container 8b2918c1ee29 [2020-11-30T06:53:15.997Z] ---> 7debf6da0a0e [2020-11-30T06:53:15.997Z] Step 8/24 : COPY . . [2020-11-30T06:53:17.425Z] ---> 8af1d38c3fbd [2020-11-30T06:53:17.425Z] Step 9/24 : RUN ${MAKE} [2020-11-30T06:53:17.425Z] ---> Running in f5849557ca04 [2020-11-30T06:53:18.406Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-11-30T06:53:45.227Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-11-30T06:53:45.227Z] Removing intermediate container f5849557ca04 [2020-11-30T06:53:45.227Z] ---> 681f182a3d10 [2020-11-30T06:53:45.227Z] Step 10/24 : FROM scratch [2020-11-30T06:53:45.227Z] ---> [2020-11-30T06:53:45.227Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-30T06:53:45.497Z] ---> Running in 180c2fa0c411 [2020-11-30T06:53:45.771Z] Removing intermediate container 180c2fa0c411 [2020-11-30T06:53:45.772Z] ---> be8bf37c0005 [2020-11-30T06:53:45.772Z] Step 12/24 : ENV APP_PORT=49990 [2020-11-30T06:53:45.772Z] ---> Running in da646e85844c [2020-11-30T06:53:46.366Z] Removing intermediate container da646e85844c [2020-11-30T06:53:46.366Z] ---> 99cecaf139fd [2020-11-30T06:53:46.366Z] Step 13/24 : EXPOSE $APP_PORT [2020-11-30T06:53:46.366Z] ---> Running in 63e525681107 [2020-11-30T06:53:46.968Z] Removing intermediate container 63e525681107 [2020-11-30T06:53:46.968Z] ---> 43c36beaf50d [2020-11-30T06:53:46.968Z] Step 14/24 : WORKDIR / [2020-11-30T06:53:46.968Z] ---> Running in b1384c60435d [2020-11-30T06:53:47.562Z] Removing intermediate container b1384c60435d [2020-11-30T06:53:47.562Z] ---> 92f96318ced4 [2020-11-30T06:53:47.562Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-11-30T06:53:48.541Z] ---> 1308318ed951 [2020-11-30T06:53:48.541Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-11-30T06:53:49.520Z] ---> 2fbdb10d646d [2020-11-30T06:53:49.520Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-11-30T06:53:50.114Z] ---> 31ec24b3b040 [2020-11-30T06:53:50.114Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-11-30T06:53:50.709Z] ---> 97066f82feb4 [2020-11-30T06:53:50.709Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-11-30T06:53:51.684Z] ---> 3df47aef0bc0 [2020-11-30T06:53:51.684Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-11-30T06:53:51.684Z] ---> Running in 4b1d3fb9ae6a [2020-11-30T06:53:51.954Z] Removing intermediate container 4b1d3fb9ae6a [2020-11-30T06:53:51.954Z] ---> 63db5f35870f [2020-11-30T06:53:51.954Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-30T06:53:52.225Z] ---> Running in 8f801129169c [2020-11-30T06:53:52.818Z] Removing intermediate container 8f801129169c [2020-11-30T06:53:52.818Z] ---> ecb6ba862a28 [2020-11-30T06:53:52.818Z] Step 22/24 : LABEL arch=arm64 [2020-11-30T06:53:52.818Z] ---> Running in 0e8fd425d7b9 [2020-11-30T06:53:53.411Z] Removing intermediate container 0e8fd425d7b9 [2020-11-30T06:53:53.411Z] ---> e6eb1e6e7fb7 [2020-11-30T06:53:53.411Z] Step 23/24 : LABEL git_sha=21a5e02e5573075b8a0f1e54bd48fbb3635a306b [2020-11-30T06:53:53.411Z] ---> Running in 0817b62a69fe [2020-11-30T06:53:54.004Z] Removing intermediate container 0817b62a69fe [2020-11-30T06:53:54.004Z] ---> bff9b4b66c04 [2020-11-30T06:53:54.004Z] Step 24/24 : LABEL version=0.0.0 [2020-11-30T06:53:54.004Z] ---> Running in f3b95c2f9ee7 [2020-11-30T06:53:54.598Z] Removing intermediate container f3b95c2f9ee7 [2020-11-30T06:53:54.598Z] ---> 912049c3c5b4 [2020-11-30T06:53:54.598Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-30T06:53:54.598Z] Successfully built 912049c3c5b4 [2020-11-30T06:53:54.598Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-11-30T06:53:57.133Z] provisioning config files... [2020-11-30T06:53:57.149Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config2046894421123753784tmp [Pipeline] { [Pipeline] sh [2020-11-30T06:53:57.609Z] + set +x [2020-11-30T06:53:57.609Z] + curl -s https://codecov.io/bash [2020-11-30T06:53:57.609Z] + bash -s -- [2020-11-30T06:53:57.875Z] [2020-11-30T06:53:57.875Z] _____ _ [2020-11-30T06:53:57.875Z] / ____| | | [2020-11-30T06:53:57.875Z] | | ___ __| | ___ ___ _____ __ [2020-11-30T06:53:57.875Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-30T06:53:57.875Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-30T06:53:57.875Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-30T06:53:57.875Z] Bash-20201124-79cbc08 [2020-11-30T06:53:57.875Z] [2020-11-30T06:53:57.875Z] [2020-11-30T06:53:57.875Z] ==> Jenkins CI detected. [2020-11-30T06:53:57.875Z] project root: . [2020-11-30T06:53:57.875Z] --> token set from env [2020-11-30T06:53:57.875Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-30T06:53:57.875Z] ==> Running gcov in . (disable via -X gcov) [2020-11-30T06:53:57.875Z] ==> Python coveragepy not found [2020-11-30T06:53:57.875Z] ==> Searching for coverage reports in: [2020-11-30T06:53:57.875Z] + . [2020-11-30T06:53:57.875Z] -> Found 1 reports [2020-11-30T06:53:57.875Z] ==> Detecting git/mercurial file structure [2020-11-30T06:53:57.875Z] ==> Reading reports [2020-11-30T06:53:57.875Z] + ./coverage.out bytes=127698 [2020-11-30T06:53:57.875Z] ==> Appending adjustments [2020-11-30T06:53:57.875Z] https://docs.codecov.io/docs/fixing-reports [2020-11-30T06:53:58.462Z] + Found adjustments [2020-11-30T06:53:58.462Z] ==> Gzipping contents [2020-11-30T06:53:58.462Z] 24K /tmp/codecov.9etnvi.gz [2020-11-30T06:53:58.462Z] ==> Uploading reports [2020-11-30T06:53:58.462Z] url: https://codecov.io [2020-11-30T06:53:58.462Z] query: branch=PR-661&commit=21a5e02e5573075b8a0f1e54bd48fbb3635a306b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= [2020-11-30T06:53:58.462Z] -> Pinging Codecov [2020-11-30T06:53:58.462Z] https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=PR-661&commit=21a5e02e5573075b8a0f1e54bd48fbb3635a306b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= [2020-11-30T06:53:59.041Z] -> Uploading to [2020-11-30T06:53:59.041Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-30/7E55EF52A471D76F132DFD9A03CDDE97/21a5e02e5573075b8a0f1e54bd48fbb3635a306b/81fb6d0b-e6e2-4d79-8e7d-0c0588e3bafe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201130T065358Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c4086f9afae9b07ba7f240eee941a7a70a980fa0091e61ce72035a335d9ceaa9 [2020-11-30T06:53:59.041Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-30T06:53:59.041Z] Dload Upload Total Spent Left Speed [2020-11-30T06:53:59.573Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20882 0 0 100 20882 0 46120 --:--:-- --:--:-- --:--:-- 46097 [2020-11-30T06:53:59.573Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/21a5e02e5573075b8a0f1e54bd48fbb3635a306b [Pipeline] } [2020-11-30T06:53:59.601Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-11-30T06:54:05.224Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-30T06:54:05.858Z] ---> package-listing.sh [2020-11-30T06:54:05.858Z] ++ facter osfamily [2020-11-30T06:54:05.858Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-30T06:54:05.858Z] + OS_FAMILY=redhat [2020-11-30T06:54:05.858Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-661 [2020-11-30T06:54:05.858Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-30T06:54:05.858Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-30T06:54:05.858Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-30T06:54:05.858Z] + PACKAGES=/tmp/packages_start.txt [2020-11-30T06:54:05.858Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' [2020-11-30T06:54:05.858Z] + PACKAGES=/tmp/packages_end.txt [2020-11-30T06:54:05.858Z] + case "${OS_FAMILY}" in [2020-11-30T06:54:05.858Z] + rpm -qa [2020-11-30T06:54:05.858Z] + sort [2020-11-30T06:54:11.212Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-30T06:54:11.212Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-30T06:54:11.212Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-30T06:54:11.212Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' [2020-11-30T06:54:11.212Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ [2020-11-30T06:54:11.212Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ [Pipeline] echo [2020-11-30T06:54:11.250Z] 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-661/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-11-30T06:54:11.577Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-30T06:54:11.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-30T06:54:11.925Z] [2020-11-30T06:54:11.926Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-30T06:54:12.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-30T06:54:12.335Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-30T06:54:12.335Z] df20fa9351a1: Pulling fs layer [2020-11-30T06:54:12.335Z] 36b3adc4ff6f: Pulling fs layer [2020-11-30T06:54:12.335Z] 8ad3a11d3b57: Pulling fs layer [2020-11-30T06:54:12.335Z] 46f8f816bc3b: Pulling fs layer [2020-11-30T06:54:12.335Z] 93b61091891f: Pulling fs layer [2020-11-30T06:54:12.335Z] 93b9cdb0e59b: Pulling fs layer [2020-11-30T06:54:12.335Z] 5e14af77c1be: Pulling fs layer [2020-11-30T06:54:12.335Z] 01666e4c0597: Pulling fs layer [2020-11-30T06:54:12.335Z] aa168da1d23b: Pulling fs layer [2020-11-30T06:54:12.335Z] 93b9cdb0e59b: Waiting [2020-11-30T06:54:12.335Z] 5e14af77c1be: Waiting [2020-11-30T06:54:12.335Z] 01666e4c0597: Waiting [2020-11-30T06:54:12.335Z] aa168da1d23b: Waiting [2020-11-30T06:54:12.335Z] 46f8f816bc3b: Waiting [2020-11-30T06:54:12.335Z] 93b61091891f: Waiting [2020-11-30T06:54:12.335Z] 36b3adc4ff6f: Verifying Checksum [2020-11-30T06:54:12.335Z] 36b3adc4ff6f: Download complete [2020-11-30T06:54:12.613Z] 46f8f816bc3b: Verifying Checksum [2020-11-30T06:54:12.613Z] 46f8f816bc3b: Download complete [2020-11-30T06:54:12.613Z] df20fa9351a1: Verifying Checksum [2020-11-30T06:54:12.613Z] 93b9cdb0e59b: Verifying Checksum [2020-11-30T06:54:12.613Z] 93b9cdb0e59b: Download complete [2020-11-30T06:54:12.613Z] 5e14af77c1be: Download complete [2020-11-30T06:54:12.613Z] 93b61091891f: Verifying Checksum [2020-11-30T06:54:12.613Z] 01666e4c0597: Verifying Checksum [2020-11-30T06:54:12.613Z] 01666e4c0597: Download complete [2020-11-30T06:54:13.205Z] df20fa9351a1: Pull complete [2020-11-30T06:54:13.205Z] 36b3adc4ff6f: Pull complete [2020-11-30T06:54:13.818Z] 8ad3a11d3b57: Verifying Checksum [2020-11-30T06:54:13.818Z] 8ad3a11d3b57: Download complete [2020-11-30T06:54:15.336Z] 8ad3a11d3b57: Pull complete [2020-11-30T06:54:15.336Z] 46f8f816bc3b: Pull complete [2020-11-30T06:54:16.788Z] 93b61091891f: Pull complete [2020-11-30T06:54:16.788Z] 93b9cdb0e59b: Pull complete [2020-11-30T06:54:16.788Z] aa168da1d23b: Verifying Checksum [2020-11-30T06:54:16.788Z] aa168da1d23b: Download complete [2020-11-30T06:54:17.054Z] 5e14af77c1be: Pull complete [2020-11-30T06:54:17.054Z] 01666e4c0597: Pull complete [2020-11-30T06:54:27.185Z] aa168da1d23b: Pull complete [2020-11-30T06:54:27.185Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-30T06:54:27.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-30T06:54:27.185Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-30T06:54:27.458Z] prd-centos7-docker-4c-2g-13816 does not seem to be running inside a container [2020-11-30T06:54:27.540Z] $ 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-661/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-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-30T06:54:30.830Z] $ docker top cd3ad0e465105bb1203ef9272e648e77ff4bd6793c2f0ef6f3ac99d2acad9189 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-30T06:54:31.465Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-30T06:54:31.811Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-30T06:54:32.149Z] + ls /var/log/sa-host [2020-11-30T06:54:32.149Z] + sadf -c /var/log/sa-host/sa23 [2020-11-30T06:54:32.149Z] file_magic: OK [2020-11-30T06:54:32.149Z] HZ: Using current value: 100 [2020-11-30T06:54:32.149Z] file_header: OK [2020-11-30T06:54:32.149Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-30T06:54:32.149Z] Statistics: [2020-11-30T06:54:32.149Z] Hnuu...uuuununununu... [2020-11-30T06:54:32.149Z] File successfully converted to sysstat format version 12.2.1 [2020-11-30T06:54:32.149Z] + sadf -c /var/log/sa-host/sa30 [2020-11-30T06:54:32.149Z] file_magic: OK [2020-11-30T06:54:32.149Z] HZ: Using current value: 100 [2020-11-30T06:54:32.149Z] file_header: OK [2020-11-30T06:54:32.149Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-11-30T06:54:32.149Z] Statistics: [2020-11-30T06:54:32.149Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-30T06:54:32.149Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-30T06:54:32.844Z] provisioning config files... [2020-11-30T06:54:32.860Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config6960853414474453829tmp [Pipeline] { [Pipeline] echo [2020-11-30T06:54:32.989Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-30T06:54:33.327Z] ---> create-netrc.sh [Pipeline] } [2020-11-30T06:54:33.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-30T06:54:33.499Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-30T06:54:33.906Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-30T06:54:33.960Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-30T06:54:34.301Z] ---> sudo-logs.sh [2020-11-30T06:54:34.301Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-30T06:54:34.335Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-30T06:54:34.689Z] ---> job-cost.sh [2020-11-30T06:54:34.689Z] lf-activate-venv: SKIPPING [2020-11-30T06:54:34.689Z] INFO: No Stack... [2020-11-30T06:54:36.091Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-30T06:54:36.358Z] INFO: Archiving Costs [Pipeline] echo [2020-11-30T06:54:36.401Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-30T06:54:36.761Z] ---> logs-deploy.sh [2020-11-30T06:54:36.761Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-661/1 [2020-11-30T06:54:36.761Z] INFO: archiving workspace using pattern(s): [2020-11-30T06:54:38.727Z] Archives upload complete. [2020-11-30T06:54:38.997Z] INFO: archiving logs to Nexus