Pull request #631 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ba4679e64ff6e9b005bedff44595110ae0f653e0+0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 (2f22699aad29917ee68824e0e58c6f02c266d834) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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-631/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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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-631/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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6186 in /w/workspace/dgexfoundry_device-sdk-go_PR-631 [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-631 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/631/head:refs/remotes/origin/PR-631 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 into PR head commit ba4679e64ff6e9b005bedff44595110ae0f653e0 Merge succeeded, producing ba4679e64ff6e9b005bedff44595110ae0f653e0 Checking out Revision ba4679e64ff6e9b005bedff44595110ae0f653e0 (PR-631) > git config core.sparsecheckout # timeout=10 > git checkout -f ba4679e64ff6e9b005bedff44595110ae0f653e0 # 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 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba4679e64ff6e9b005bedff44595110ae0f653e0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-19T06:58:16.015Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-19T06:58:16.353Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-19T06:58:16.593Z] ========================================================= [2020-10-19T06:58:16.593Z] EdgeX Global Pipelines Version Info [2020-10-19T06:58:16.593Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-19T06:58:18.544Z] ------------------- [2020-10-19T06:58:18.544Z] stable info: [2020-10-19T06:58:18.544Z] ------------------- [2020-10-19T06:58:18.544Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T06:58:18.544Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T06:58:18.544Z] Message: update stable to v1.0.144 [2020-10-19T06:58:19.119Z] ------------------- [2020-10-19T06:58:19.119Z] experimental info: [2020-10-19T06:58:19.119Z] ------------------- [2020-10-19T06:58:19.119Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T06:58:19.119Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T06:58:19.119Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-19T06:58:19.736Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-19T06:58:19.862Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-19T06:58:19.984Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-19T06:58:20.137Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-19T06:58:20.320Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-19T06:58:20.445Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-19T06:58:20.565Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-19T06:58:20.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-19T06:58:20.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-19T06:58:21.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-19T06:58:21.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-19T06:58:21.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-19T06:58:21.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-19T06:58:21.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-19T06:58:21.723Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-19T06:58:21.867Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T06:58:22.001Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T06:58:22.126Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T06:58:22.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-19T06:58:22.621Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-19T06:58:22.782Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-19T06:58:22.907Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-19T06:58:23.023Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-19T06:58:23.141Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-19T06:58:23.261Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-19T06:58:23.427Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-631 [Pipeline] echo [2020-10-19T06:58:23.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-631 [Pipeline] echo [2020-10-19T06:58:23.739Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-631 [Pipeline] echo [2020-10-19T06:58:23.951Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba4679e64ff6e9b005bedff44595110ae0f653e0 [Pipeline] echo [2020-10-19T06:58:24.081Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba4679e [Pipeline] echo [2020-10-19T06:58:24.207Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T06:58:25.000Z] + git log --format=format:%s -1 ba4679e64ff6e9b005bedff44595110ae0f653e0 [Pipeline] echo [2020-10-19T06:58:25.098Z] GIT_COMMIT: ba4679e64ff6e9b005bedff44595110ae0f653e0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-10-19T06:58:25.168Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-19T06:58:26.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T06:58:26.803Z] [2020-10-19T06:58:26.803Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T06:58:27.199Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T06:58:27.199Z] latest: Pulling from edgex-devops/git-semver [2020-10-19T06:58:27.199Z] 31603596830f: Pulling fs layer [2020-10-19T06:58:27.199Z] 2a8b12db71e7: Pulling fs layer [2020-10-19T06:58:27.199Z] 6ca5941a6612: Pulling fs layer [2020-10-19T06:58:27.199Z] ecc8261a40a4: Pulling fs layer [2020-10-19T06:58:27.199Z] 2a8b12db71e7: Verifying Checksum [2020-10-19T06:58:27.199Z] 2a8b12db71e7: Download complete [2020-10-19T06:58:27.468Z] 31603596830f: Verifying Checksum [2020-10-19T06:58:27.468Z] 31603596830f: Download complete [2020-10-19T06:58:27.468Z] ecc8261a40a4: Verifying Checksum [2020-10-19T06:58:27.468Z] ecc8261a40a4: Download complete [2020-10-19T06:58:27.468Z] 6ca5941a6612: Verifying Checksum [2020-10-19T06:58:27.468Z] 6ca5941a6612: Download complete [2020-10-19T06:58:27.732Z] 31603596830f: Pull complete [2020-10-19T06:58:27.997Z] 2a8b12db71e7: Pull complete [2020-10-19T06:58:28.961Z] 6ca5941a6612: Pull complete [2020-10-19T06:58:28.961Z] ecc8261a40a4: Pull complete [2020-10-19T06:58:28.961Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-19T06:58:28.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T06:58:28.961Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-19T06:58:29.104Z] prd-centos7-docker-4c-2g-6186 does not seem to be running inside a container [2020-10-19T06:58:29.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-631 -v /w/workspace/dgexfoundry_device-sdk-go_PR-631:/w/workspace/dgexfoundry_device-sdk-go_PR-631:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-631@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-19T06:58:31.188Z] $ docker top 96fb2e17e813ff0a5fc37c034358a755326ca389e74a4f62876864d68184ec20 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-19T06:58:31.579Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T06:58:31.579Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T06:58:31.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T06:58:31.855Z] $ docker exec 96fb2e17e813ff0a5fc37c034358a755326ca389e74a4f62876864d68184ec20 ssh-agent [2020-10-19T06:58:32.071Z] SSH_AUTH_SOCK=/tmp/ssh-cFckXMdVvePk/agent.12 [2020-10-19T06:58:32.071Z] SSH_AGENT_PID=17 [2020-10-19T06:58:32.101Z] Running ssh-add (command line suppressed) [2020-10-19T06:58:32.239Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_7373948169840995690.key (/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_7373948169840995690.key) [2020-10-19T06:58:32.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T06:58:32.690Z] + git tag --points-at HEAD [Pipeline] } [2020-10-19T06:58:32.752Z] $ docker exec --env ******** --env ******** 96fb2e17e813ff0a5fc37c034358a755326ca389e74a4f62876864d68184ec20 ssh-agent -k [2020-10-19T06:58:32.868Z] unset SSH_AUTH_SOCK; [2020-10-19T06:58:32.868Z] unset SSH_AGENT_PID; [2020-10-19T06:58:32.868Z] echo Agent pid 17 killed; [2020-10-19T06:58:32.911Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-19T06:58:33.139Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T06:58:33.139Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T06:58:33.374Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T06:58:33.380Z] $ docker exec 96fb2e17e813ff0a5fc37c034358a755326ca389e74a4f62876864d68184ec20 ssh-agent [2020-10-19T06:58:33.559Z] SSH_AUTH_SOCK=/tmp/ssh-l8mSmGlTVX8J/agent.46 [2020-10-19T06:58:33.559Z] SSH_AGENT_PID=51 [2020-10-19T06:58:33.567Z] Running ssh-add (command line suppressed) [2020-10-19T06:58:33.692Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_3356727890496281585.key (/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_3356727890496281585.key) [2020-10-19T06:58:33.742Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T06:58:34.132Z] + git semver init [2020-10-19T06:58:34.132Z] # -> Open(): unable to determine branch for HEAD [2020-10-19T06:58:34.132Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-631/.git [2020-10-19T06:58:34.132Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-631 [2020-10-19T06:58:34.132Z] # $SEMVER_REMOTE_NAME = origin [2020-10-19T06:58:34.132Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-19T06:58:34.132Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-19T06:58:34.132Z] # $SEMVER_BRANCH = PR-631 [2020-10-19T06:58:34.132Z] # $SEMVER_TEMP = /tmp/semver-051636466 [2020-10-19T06:58:34.132Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-19T06:58:34.706Z] # '/tmp/semver-051636466' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-631/.semver' [2020-10-19T06:58:34.706Z] # -> Force: false [2020-10-19T06:58:34.970Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-631/.semver [Pipeline] } [2020-10-19T06:58:34.997Z] $ docker exec --env ******** --env ******** 96fb2e17e813ff0a5fc37c034358a755326ca389e74a4f62876864d68184ec20 ssh-agent -k [2020-10-19T06:58:35.119Z] unset SSH_AUTH_SOCK; [2020-10-19T06:58:35.119Z] unset SSH_AGENT_PID; [2020-10-19T06:58:35.119Z] echo Agent pid 51 killed; [2020-10-19T06:58:35.167Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-19T06:58:35.717Z] + git semver [Pipeline] } [2020-10-19T06:58:35.751Z] $ docker stop --time=1 96fb2e17e813ff0a5fc37c034358a755326ca389e74a4f62876864d68184ec20 [2020-10-19T06:58:37.194Z] $ docker rm -f 96fb2e17e813ff0a5fc37c034358a755326ca389e74a4f62876864d68184ec20 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-19T06:58:37.714Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-19T06:58:38.175Z] Stashed 1 file(s) [Pipeline] echo [2020-10-19T06:58:38.200Z] [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-10-19T06:58:54.126Z] Still waiting to schedule task [2020-10-19T06:58:54.126Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-19T06:58:54.151Z] Still waiting to schedule task [2020-10-19T06:58:54.151Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-19T07:00:33.616Z] Running on prd-centos7-docker-4c-2g-6189 in /w/workspace/dgexfoundry_device-sdk-go_PR-631 [Pipeline] { [Pipeline] ws [2020-10-19T07:00:33.729Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-19T07:00:36.655Z] using credential edgex-jenkins-ssh [2020-10-19T07:00:36.706Z] Cloning the remote Git repository [2020-10-19T07:00:36.733Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:00:36.798Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-19T07:00:36.857Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:00:36.857Z] > git --version # timeout=10 [2020-10-19T07:00:36.865Z] > git --version # 'git version 2.16.5' [2020-10-19T07:00:36.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:00:36.898Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:00:38.270Z] Merging remotes/origin/master commit 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 into PR head commit ba4679e64ff6e9b005bedff44595110ae0f653e0 [2020-10-19T07:00:38.374Z] Merge succeeded, producing ba4679e64ff6e9b005bedff44595110ae0f653e0 [2020-10-19T07:00:38.375Z] Checking out Revision ba4679e64ff6e9b005bedff44595110ae0f653e0 (PR-631) [2020-10-19T07:00:37.615Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:00:37.622Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:00:37.864Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:00:37.877Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:00:37.877Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:00:37.882Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/631/head:refs/remotes/origin/PR-631 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T07:00:38.279Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:00:38.288Z] > git checkout -f ba4679e64ff6e9b005bedff44595110ae0f653e0 # timeout=10 [2020-10-19T07:00:38.343Z] > git remote # timeout=10 [2020-10-19T07:00:38.348Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:00:38.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:00:38.357Z] > git merge 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 [2020-10-19T07:00:38.367Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:00:38.378Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:00:38.382Z] > git checkout -f ba4679e64ff6e9b005bedff44595110ae0f653e0 # timeout=10 [2020-10-19T07:00:41.977Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-10-19T07:00:42.004Z] > git --version # timeout=10 [2020-10-19T07:00:42.008Z] > git --version # 'git version 2.16.5' [2020-10-19T07:00:42.013Z] fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:00:42.910Z] ========================================================= [2020-10-19T07:00:42.910Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-19T07:00:42.910Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:00:43.672Z] + 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-10-19T07:00:43.946Z] Sending build context to Docker daemon 2.318MB [2020-10-19T07:00:44.211Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:00:44.211Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:00:44.211Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-19T07:00:44.211Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:00:44.211Z] ed8968b2872e: Pulling fs layer [2020-10-19T07:00:44.211Z] a92cc7c5fd73: Pulling fs layer [2020-10-19T07:00:44.211Z] e871e8e8d7a9: Pulling fs layer [2020-10-19T07:00:44.211Z] e73272ec9a57: Pulling fs layer [2020-10-19T07:00:44.211Z] 1e910a182e73: Pulling fs layer [2020-10-19T07:00:44.211Z] 4e634b169226: Pulling fs layer [2020-10-19T07:00:44.211Z] e871e8e8d7a9: Waiting [2020-10-19T07:00:44.211Z] e73272ec9a57: Waiting [2020-10-19T07:00:44.211Z] 4e634b169226: Waiting [2020-10-19T07:00:44.211Z] 1e910a182e73: Waiting [2020-10-19T07:00:44.211Z] a92cc7c5fd73: Verifying Checksum [2020-10-19T07:00:44.211Z] a92cc7c5fd73: Download complete [2020-10-19T07:00:44.211Z] ed8968b2872e: Download complete [2020-10-19T07:00:44.211Z] e73272ec9a57: Download complete [2020-10-19T07:00:44.211Z] 1e910a182e73: Verifying Checksum [2020-10-19T07:00:44.211Z] 1e910a182e73: Download complete [2020-10-19T07:00:44.211Z] df20fa9351a1: Verifying Checksum [2020-10-19T07:00:44.211Z] df20fa9351a1: Download complete [2020-10-19T07:00:44.481Z] df20fa9351a1: Pull complete [2020-10-19T07:00:44.748Z] ed8968b2872e: Pull complete [2020-10-19T07:00:44.748Z] a92cc7c5fd73: Pull complete [2020-10-19T07:00:46.156Z] 4e634b169226: Verifying Checksum [2020-10-19T07:00:46.156Z] 4e634b169226: Download complete [2020-10-19T07:00:46.822Z] e871e8e8d7a9: Verifying Checksum [2020-10-19T07:00:46.822Z] e871e8e8d7a9: Download complete [2020-10-19T07:00:52.651Z] e871e8e8d7a9: Pull complete [2020-10-19T07:00:52.651Z] e73272ec9a57: Pull complete [2020-10-19T07:00:52.651Z] 1e910a182e73: Pull complete [2020-10-19T07:00:56.880Z] 4e634b169226: Pull complete [2020-10-19T07:00:57.143Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-19T07:00:57.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-19T07:00:57.143Z] ---> f7629b54cfaa [2020-10-19T07:00:57.143Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:00:57.412Z] ---> Running in 83cff2b31b4a [2020-10-19T07:00:57.680Z] Removing intermediate container 83cff2b31b4a [2020-10-19T07:00:57.680Z] ---> 1cab09974288 [2020-10-19T07:00:57.680Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:00:57.680Z] ---> Running in fc0ad450f1ee [2020-10-19T07:00:58.637Z] Removing intermediate container fc0ad450f1ee [2020-10-19T07:00:58.637Z] ---> 4261632dfa7e [2020-10-19T07:00:58.637Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:00:58.900Z] ---> Running in 020265926a8f [2020-10-19T07:00:59.482Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:01:00.448Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:01:00.712Z] OK: 166 MiB in 39 packages [2020-10-19T07:01:01.289Z] Removing intermediate container 020265926a8f [2020-10-19T07:01:01.289Z] ---> 6e6c45f734ac [2020-10-19T07:01:01.289Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:01:01.289Z] ---> Running in c4d77ee32403 [2020-10-19T07:01:01.289Z] Removing intermediate container c4d77ee32403 [2020-10-19T07:01:01.289Z] ---> 961057498ae1 [2020-10-19T07:01:01.289Z] Step 7/8 : COPY . . [2020-10-19T07:01:02.698Z] ---> 6ba802fe6862 [2020-10-19T07:01:02.698Z] Step 8/8 : RUN go mod download [2020-10-19T07:01:02.698Z] ---> Running in 760ed6ae2b72 [2020-10-19T07:01:20.911Z] Removing intermediate container 760ed6ae2b72 [2020-10-19T07:01:20.911Z] ---> 9753d72ed323 [2020-10-19T07:01:20.911Z] Successfully built 9753d72ed323 [2020-10-19T07:01:20.911Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:01:21.517Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:01:21.517Z] . [Pipeline] withDockerContainer [2020-10-19T07:01:21.649Z] prd-centos7-docker-4c-2g-6189 does not seem to be running inside a container [2020-10-19T07:01:21.720Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-19T07:01:22.496Z] $ docker top 2b7a7258e83663b0dc910680be44bf874ef8529f28f330e12e9d09a659839cd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:01:23.108Z] + go version [2020-10-19T07:01:23.108Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-19T07:01:23.184Z] $ docker stop --time=1 2b7a7258e83663b0dc910680be44bf874ef8529f28f330e12e9d09a659839cd3 [2020-10-19T07:01:24.523Z] $ docker rm -f 2b7a7258e83663b0dc910680be44bf874ef8529f28f330e12e9d09a659839cd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:01:25.624Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:01:25.624Z] . [Pipeline] withDockerContainer [2020-10-19T07:01:25.750Z] prd-centos7-docker-4c-2g-6189 does not seem to be running inside a container [2020-10-19T07:01:25.813Z] $ 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 ******** ci-base-image-x86_64 cat [2020-10-19T07:01:26.508Z] $ docker top a615b680381e2210d930d403b07684abde0ccfd0f2c507773653fce12e6213ae -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:01:27.145Z] + make test [2020-10-19T07:01:27.145Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T07:01:33.862Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:01:49.010Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:01:49.010Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:01:49.010Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:01:49.010Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.054s coverage: 21.6% of statements [2020-10-19T07:01:49.010Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.462s coverage: 97.1% of statements [2020-10-19T07:02:21.245Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 9.4% of statements [2020-10-19T07:02:21.245Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.062s coverage: 21.9% of statements [2020-10-19T07:02:21.245Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:02:21.245Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.226s coverage: 42.6% of statements [2020-10-19T07:02:21.245Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:02:21.245Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.295s coverage: 68.9% of statements [2020-10-19T07:02:21.245Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:02:21.245Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:02:21.245Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:02:21.245Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:02:21.245Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.074s coverage: 52.6% of statements [2020-10-19T07:02:21.245Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:02:21.245Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:02:21.245Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:02:21.245Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.368s coverage: 68.9% of statements [2020-10-19T07:02:21.245Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:02:21.245Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:02:21.245Z] GO111MODULE=on go vet ./... [2020-10-19T07:02:27.932Z] gofmt -l . [2020-10-19T07:02:27.933Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:02:27.933Z] ./bin/test-attribution-txt.sh [2020-10-19T07:02:28.509Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T07:02:29.133Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:02:29.155Z] $ docker stop --time=1 a615b680381e2210d930d403b07684abde0ccfd0f2c507773653fce12e6213ae [2020-10-19T07:02:31.086Z] $ docker rm -f a615b680381e2210d930d403b07684abde0ccfd0f2c507773653fce12e6213ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-19T07:02:34.610Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:02:34.935Z] + ls -al . [2020-10-19T07:02:34.935Z] total 188 [2020-10-19T07:02:34.935Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 07:02 . [2020-10-19T07:02:34.935Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 19 07:00 .. [2020-10-19T07:02:34.935Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 19 07:00 bin [2020-10-19T07:02:34.935Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 19 07:02 coverage.out [2020-10-19T07:02:34.935Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 19 07:00 Dockerfile.build [2020-10-19T07:02:34.935Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 07:00 .dockerignore [2020-10-19T07:02:34.935Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 19 07:00 example [2020-10-19T07:02:34.935Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 07:00 .git [2020-10-19T07:02:34.935Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 19 07:00 .github [2020-10-19T07:02:34.935Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 19 07:00 .gitignore [2020-10-19T07:02:34.936Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 19 07:02 go.mod [2020-10-19T07:02:34.936Z] -rw-r--r--. 1 jenkins jenkins 13660 Oct 19 07:02 go.sum [2020-10-19T07:02:34.936Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 19 07:00 internal [2020-10-19T07:02:34.936Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 19 07:00 Jenkinsfile [2020-10-19T07:02:34.936Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 07:00 LICENSE [2020-10-19T07:02:34.936Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 19 07:00 Makefile [2020-10-19T07:02:34.936Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 19 07:00 openapi [2020-10-19T07:02:34.936Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 07:00 pkg [2020-10-19T07:02:34.936Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 19 07:00 README.md [2020-10-19T07:02:34.936Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 19 07:00 RELEASE-NOTES.txt [2020-10-19T07:02:34.936Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 07:00 snap [2020-10-19T07:02:34.936Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 06:58 VERSION [2020-10-19T07:02:34.936Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 07:00 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:02:35.280Z] + 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=ba4679e64ff6e9b005bedff44595110ae0f653e0 --label arch=amd64 --label version=0.0.0 . [2020-10-19T07:02:35.546Z] Sending build context to Docker daemon 2.429MB [2020-10-19T07:02:35.546Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:02:35.546Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:02:35.546Z] ---> 9753d72ed323 [2020-10-19T07:02:35.546Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:02:36.120Z] ---> Running in 8ad677f8f3ff [2020-10-19T07:02:36.383Z] Removing intermediate container 8ad677f8f3ff [2020-10-19T07:02:36.383Z] ---> a11a2e1626f2 [2020-10-19T07:02:36.383Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:02:36.383Z] ---> Running in 601cb5c5510d [2020-10-19T07:02:36.383Z] Removing intermediate container 601cb5c5510d [2020-10-19T07:02:36.383Z] ---> 4cda9886e1b1 [2020-10-19T07:02:36.383Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:02:36.647Z] ---> Running in 4b5721a738c5 [2020-10-19T07:02:36.647Z] Removing intermediate container 4b5721a738c5 [2020-10-19T07:02:36.647Z] ---> 8b8d74866dcf [2020-10-19T07:02:36.647Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:02:36.912Z] ---> Running in 9a7e87226b9b [2020-10-19T07:02:37.863Z] Removing intermediate container 9a7e87226b9b [2020-10-19T07:02:37.863Z] ---> 414621198326 [2020-10-19T07:02:37.863Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:02:37.863Z] ---> Running in b58c3c2fd648 [2020-10-19T07:02:38.441Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:02:39.017Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:02:39.593Z] OK: 166 MiB in 39 packages [2020-10-19T07:02:40.170Z] Removing intermediate container b58c3c2fd648 [2020-10-19T07:02:40.170Z] ---> 6192f0c58a78 [2020-10-19T07:02:40.170Z] Step 8/24 : COPY . . [2020-10-19T07:02:41.116Z] ---> 0ef772431575 [2020-10-19T07:02:41.116Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:02:41.116Z] ---> Running in 132cca8573c8 [2020-10-19T07:02:41.697Z] 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-10-19T07:02:49.949Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:02:51.885Z] Removing intermediate container 132cca8573c8 [2020-10-19T07:02:51.885Z] ---> c223756a5b11 [2020-10-19T07:02:51.885Z] Step 10/24 : FROM scratch [2020-10-19T07:02:51.885Z] ---> [2020-10-19T07:02:51.885Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:02:52.149Z] ---> Running in 6f99f1d429bd [2020-10-19T07:02:52.149Z] Removing intermediate container 6f99f1d429bd [2020-10-19T07:02:52.149Z] ---> f2aeb68f6be7 [2020-10-19T07:02:52.149Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:02:52.414Z] ---> Running in ef30d17dec4a [2020-10-19T07:02:52.414Z] Removing intermediate container ef30d17dec4a [2020-10-19T07:02:52.414Z] ---> dc1be669b3ff [2020-10-19T07:02:52.414Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:02:52.414Z] ---> Running in 675c8bd367c6 [2020-10-19T07:02:52.679Z] Removing intermediate container 675c8bd367c6 [2020-10-19T07:02:52.679Z] ---> bfe839182753 [2020-10-19T07:02:52.679Z] Step 14/24 : WORKDIR / [2020-10-19T07:02:52.679Z] ---> Running in 8b8c06d8a729 [2020-10-19T07:02:52.942Z] Removing intermediate container 8b8c06d8a729 [2020-10-19T07:02:52.942Z] ---> 8e05bebafb11 [2020-10-19T07:02:52.942Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:02:53.520Z] ---> 9cb71623f422 [2020-10-19T07:02:53.520Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:02:53.520Z] ---> 68b6c67049bf [2020-10-19T07:02:53.520Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:02:53.573Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6192 in /w/workspace/dgexfoundry_device-sdk-go_PR-631 [Pipeline] { [Pipeline] ws [2020-10-19T07:02:53.665Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-10-19T07:02:53.787Z] ---> 6906c051aea0 [2020-10-19T07:02:53.787Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:02:54.049Z] ---> ffc287330acd [2020-10-19T07:02:54.049Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:02:54.313Z] ---> 9e18a2185c10 [2020-10-19T07:02:54.313Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:02:54.313Z] ---> Running in d28c4eeec5c4 [2020-10-19T07:02:54.576Z] Removing intermediate container d28c4eeec5c4 [2020-10-19T07:02:54.576Z] ---> 769295578922 [2020-10-19T07:02:54.576Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:02:54.577Z] ---> Running in efedc1a6a231 [2020-10-19T07:02:54.839Z] Removing intermediate container efedc1a6a231 [2020-10-19T07:02:54.839Z] ---> 6536c1a7b040 [2020-10-19T07:02:54.839Z] Step 22/24 : LABEL arch=amd64 [2020-10-19T07:02:54.839Z] ---> Running in d10dffb5c487 [2020-10-19T07:02:54.839Z] Removing intermediate container d10dffb5c487 [2020-10-19T07:02:54.839Z] ---> a02e703baa75 [2020-10-19T07:02:54.839Z] Step 23/24 : LABEL git_sha=ba4679e64ff6e9b005bedff44595110ae0f653e0 [2020-10-19T07:02:55.102Z] ---> Running in fe0eb63cea98 [2020-10-19T07:02:55.102Z] Removing intermediate container fe0eb63cea98 [2020-10-19T07:02:55.102Z] ---> 64ed5a5024c5 [2020-10-19T07:02:55.102Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:02:55.369Z] ---> Running in 70295d101314 [2020-10-19T07:02:55.369Z] Removing intermediate container 70295d101314 [2020-10-19T07:02:55.369Z] ---> 8ac70ce08266 [2020-10-19T07:02:55.369Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:02:55.369Z] Successfully built 8ac70ce08266 [2020-10-19T07:02:55.369Z] 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-10-19T07:02:59.100Z] using credential edgex-jenkins-ssh [2020-10-19T07:02:59.196Z] Cloning the remote Git repository [2020-10-19T07:02:59.259Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:02:59.370Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-10-19T07:02:59.450Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:02:59.451Z] > git --version # timeout=10 [2020-10-19T07:02:59.473Z] > git --version # 'git version 2.17.1' [2020-10-19T07:02:59.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:02:59.566Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:03:01.266Z] Merging remotes/origin/master commit 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 into PR head commit ba4679e64ff6e9b005bedff44595110ae0f653e0 [2020-10-19T07:03:00.627Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:03:00.652Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:03:00.678Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:03:00.729Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:03:00.730Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:03:00.742Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/631/head:refs/remotes/origin/PR-631 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T07:03:01.671Z] Merge succeeded, producing ba4679e64ff6e9b005bedff44595110ae0f653e0 [2020-10-19T07:03:01.671Z] Checking out Revision ba4679e64ff6e9b005bedff44595110ae0f653e0 (PR-631) [2020-10-19T07:03:01.291Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:03:01.311Z] > git checkout -f ba4679e64ff6e9b005bedff44595110ae0f653e0 # timeout=10 [2020-10-19T07:03:01.455Z] > git remote # timeout=10 [2020-10-19T07:03:01.529Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:03:01.577Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:03:01.589Z] > git merge 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 [2020-10-19T07:03:01.622Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:03:01.688Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:03:01.718Z] > git checkout -f ba4679e64ff6e9b005bedff44595110ae0f653e0 # timeout=10 [2020-10-19T07:03:06.095Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-10-19T07:03:06.154Z] > git --version # timeout=10 [2020-10-19T07:03:06.163Z] > git --version # 'git version 2.17.1' [2020-10-19T07:03:06.177Z] fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:03:07.306Z] ========================================================= [2020-10-19T07:03:07.306Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-19T07:03:07.306Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:03:08.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-10-19T07:03:09.331Z] Sending build context to Docker daemon 2.317MB [2020-10-19T07:03:09.331Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:03:09.331Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:03:09.604Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-19T07:03:09.604Z] b538f80385f9: Pulling fs layer [2020-10-19T07:03:09.604Z] 74f711af9a0d: Pulling fs layer [2020-10-19T07:03:09.604Z] 99f96fe45779: Pulling fs layer [2020-10-19T07:03:09.604Z] 8529a6b9a6be: Pulling fs layer [2020-10-19T07:03:09.604Z] 45590311c82a: Pulling fs layer [2020-10-19T07:03:09.604Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-19T07:03:09.604Z] 209524e5b208: Pulling fs layer [2020-10-19T07:03:09.604Z] 8529a6b9a6be: Waiting [2020-10-19T07:03:09.604Z] 45590311c82a: Waiting [2020-10-19T07:03:09.604Z] 69ca0ff8b7b3: Waiting [2020-10-19T07:03:09.604Z] 209524e5b208: Waiting [2020-10-19T07:03:09.604Z] 99f96fe45779: Verifying Checksum [2020-10-19T07:03:09.604Z] 99f96fe45779: Download complete [2020-10-19T07:03:09.604Z] 74f711af9a0d: Verifying Checksum [2020-10-19T07:03:09.604Z] 74f711af9a0d: Download complete [2020-10-19T07:03:09.604Z] 45590311c82a: Verifying Checksum [2020-10-19T07:03:09.604Z] 45590311c82a: Download complete [2020-10-19T07:03:10.200Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-19T07:03:10.200Z] 69ca0ff8b7b3: Download complete [2020-10-19T07:03:10.200Z] b538f80385f9: Verifying Checksum [2020-10-19T07:03:10.200Z] b538f80385f9: Download complete [2020-10-19T07:03:11.198Z] b538f80385f9: Pull complete [2020-10-19T07:03:11.480Z] 74f711af9a0d: Pull complete [2020-10-19T07:03:12.093Z] 99f96fe45779: Pull complete [2020-10-19T07:03:13.082Z] 209524e5b208: Verifying Checksum [2020-10-19T07:03:13.082Z] 209524e5b208: Download complete [2020-10-19T07:03:13.687Z] 8529a6b9a6be: Verifying Checksum [2020-10-19T07:03:13.687Z] 8529a6b9a6be: Download complete [2020-10-19T07:03:26.121Z] 8529a6b9a6be: Pull complete [2020-10-19T07:03:26.121Z] 45590311c82a: Pull complete [2020-10-19T07:03:26.121Z] 69ca0ff8b7b3: Pull complete [2020-10-19T07:03:28.754Z] 209524e5b208: Pull complete [2020-10-19T07:03:28.754Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-19T07:03:28.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-19T07:03:28.754Z] ---> 5bddaf1c2fca [2020-10-19T07:03:28.754Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:03:32.183Z] ---> Running in 85657ad043d8 [2020-10-19T07:03:32.183Z] Removing intermediate container 85657ad043d8 [2020-10-19T07:03:32.183Z] ---> a1d690875e56 [2020-10-19T07:03:32.183Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:03:32.183Z] ---> Running in 3587c5c6b7dc [2020-10-19T07:03:34.878Z] Removing intermediate container 3587c5c6b7dc [2020-10-19T07:03:34.878Z] ---> 0ff9ac72b535 [2020-10-19T07:03:34.878Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:03:35.159Z] ---> Running in 78c6ee691533 [2020-10-19T07:03:36.621Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:03:37.217Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:03:38.197Z] OK: 142 MiB in 39 packages [2020-10-19T07:03:39.183Z] Removing intermediate container 78c6ee691533 [2020-10-19T07:03:39.183Z] ---> f69001bf1c46 [2020-10-19T07:03:39.183Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:03:39.459Z] ---> Running in 238de3238543 [2020-10-19T07:03:40.055Z] Removing intermediate container 238de3238543 [2020-10-19T07:03:40.055Z] ---> 08e8f3d925eb [2020-10-19T07:03:40.055Z] Step 7/8 : COPY . . [2020-10-19T07:03:41.492Z] ---> 4523fc489ee0 [2020-10-19T07:03:41.492Z] Step 8/8 : RUN go mod download [2020-10-19T07:03:41.492Z] ---> Running in 1ac171adff40 [2020-10-19T07:04:03.684Z] Removing intermediate container 1ac171adff40 [2020-10-19T07:04:03.684Z] ---> 2ad86beee112 [2020-10-19T07:04:03.684Z] Successfully built 2ad86beee112 [2020-10-19T07:04:03.684Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:04:04.132Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:04:04.132Z] . [Pipeline] withDockerContainer [2020-10-19T07:04:04.432Z] prd-ubuntu18.04-docker-arm64-4c-16g-6192 does not seem to be running inside a container [2020-10-19T07:04:04.523Z] $ 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 ******** ci-base-image-arm64 cat [2020-10-19T07:04:06.520Z] $ docker top 2625362995c01dd227499655207698f0b6ba4261b84c8cf7e217aa127e1fc6fd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:04:08.097Z] + go version [2020-10-19T07:04:08.097Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-19T07:04:08.138Z] $ docker stop --time=1 2625362995c01dd227499655207698f0b6ba4261b84c8cf7e217aa127e1fc6fd [2020-10-19T07:04:10.095Z] $ docker rm -f 2625362995c01dd227499655207698f0b6ba4261b84c8cf7e217aa127e1fc6fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:04:11.510Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:04:11.510Z] . [Pipeline] withDockerContainer [2020-10-19T07:04:11.822Z] prd-ubuntu18.04-docker-arm64-4c-16g-6192 does not seem to be running inside a container [2020-10-19T07:04:11.916Z] $ 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 ******** ci-base-image-arm64 cat [2020-10-19T07:04:13.893Z] $ docker top 87674616ec4aad05887239832107d803311176d02f019f91d190c9f2a5428c1d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:04:15.380Z] + make test [2020-10-19T07:04:15.381Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T07:04:37.643Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:05:16.689Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:05:16.689Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:05:16.689Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:05:18.138Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.124s coverage: 21.6% of statements [2020-10-19T07:05:20.790Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.349s coverage: 97.1% of statements [2020-10-19T07:05:53.147Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.150s coverage: 9.4% of statements [2020-10-19T07:05:53.147Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.142s coverage: 21.9% of statements [2020-10-19T07:05:53.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:05:53.147Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.603s coverage: 42.6% of statements [2020-10-19T07:05:53.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:05:53.147Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.816s coverage: 68.9% of statements [2020-10-19T07:05:53.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:05:53.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:05:53.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:05:53.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:05:53.147Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.177s coverage: 52.6% of statements [2020-10-19T07:05:53.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:05:53.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:05:53.147Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:05:53.147Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.659s coverage: 68.9% of statements [2020-10-19T07:05:53.147Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:05:53.147Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:05:53.147Z] GO111MODULE=on go vet ./... [2020-10-19T07:06:25.564Z] gofmt -l . [2020-10-19T07:06:25.564Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:06:25.564Z] ./bin/test-attribution-txt.sh [2020-10-19T07:06:25.564Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T07:06:25.605Z] Warning: overwriting stash ‘coverage-report’ [2020-10-19T07:06:26.594Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:06:26.623Z] $ docker stop --time=1 87674616ec4aad05887239832107d803311176d02f019f91d190c9f2a5428c1d [2020-10-19T07:06:28.887Z] $ docker rm -f 87674616ec4aad05887239832107d803311176d02f019f91d190c9f2a5428c1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:06:30.689Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:06:31.077Z] + ls -al . [2020-10-19T07:06:31.077Z] total 224 [2020-10-19T07:06:31.077Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 07:06 . [2020-10-19T07:06:31.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:02 .. [2020-10-19T07:06:31.077Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 07:03 .dockerignore [2020-10-19T07:06:31.077Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 07:03 .git [2020-10-19T07:06:31.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:03 .github [2020-10-19T07:06:31.077Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 19 07:03 .gitignore [2020-10-19T07:06:31.077Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 19 07:03 Dockerfile.build [2020-10-19T07:06:31.077Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 19 07:03 Jenkinsfile [2020-10-19T07:06:31.077Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 07:03 LICENSE [2020-10-19T07:06:31.077Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 19 07:03 Makefile [2020-10-19T07:06:31.077Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 19 07:03 README.md [2020-10-19T07:06:31.077Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 19 07:03 RELEASE-NOTES.txt [2020-10-19T07:06:31.077Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 06:58 VERSION [2020-10-19T07:06:31.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:03 bin [2020-10-19T07:06:31.077Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 19 07:05 coverage.out [2020-10-19T07:06:31.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:03 example [2020-10-19T07:06:31.077Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 19 07:06 go.mod [2020-10-19T07:06:31.077Z] -rw-r--r-- 1 jenkins jenkins 13660 Oct 19 07:06 go.sum [2020-10-19T07:06:31.077Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 07:03 internal [2020-10-19T07:06:31.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:03 openapi [2020-10-19T07:06:31.077Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 07:03 pkg [2020-10-19T07:06:31.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:03 snap [2020-10-19T07:06:31.077Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 07:03 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:06:31.487Z] + 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=ba4679e64ff6e9b005bedff44595110ae0f653e0 --label arch=arm64 --label version=0.0.0 . [2020-10-19T07:06:31.764Z] Sending build context to Docker daemon 2.428MB [2020-10-19T07:06:32.043Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:06:32.043Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:06:32.043Z] ---> 2ad86beee112 [2020-10-19T07:06:32.043Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:06:32.318Z] ---> Running in 4b70acea0a7c [2020-10-19T07:06:32.590Z] Removing intermediate container 4b70acea0a7c [2020-10-19T07:06:32.590Z] ---> 30a413228060 [2020-10-19T07:06:32.590Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:06:32.590Z] ---> Running in a5d6ce23748a [2020-10-19T07:06:33.194Z] Removing intermediate container a5d6ce23748a [2020-10-19T07:06:33.194Z] ---> 5faa30ee3a3e [2020-10-19T07:06:33.194Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:06:33.194Z] ---> Running in 5b50e7c130f4 [2020-10-19T07:06:33.790Z] Removing intermediate container 5b50e7c130f4 [2020-10-19T07:06:33.790Z] ---> 284cdef116fa [2020-10-19T07:06:33.790Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:06:33.790Z] ---> Running in 1e9660d6699c [2020-10-19T07:06:36.442Z] Removing intermediate container 1e9660d6699c [2020-10-19T07:06:36.442Z] ---> 5629de07c6e2 [2020-10-19T07:06:36.442Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:06:36.442Z] ---> Running in 35727ef411e5 [2020-10-19T07:06:37.880Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:06:38.478Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:06:39.461Z] OK: 142 MiB in 39 packages [2020-10-19T07:06:40.443Z] Removing intermediate container 35727ef411e5 [2020-10-19T07:06:40.443Z] ---> b1a76fe3fa1b [2020-10-19T07:06:40.443Z] Step 8/24 : COPY . . [2020-10-19T07:06:41.890Z] ---> f33a80cd429c [2020-10-19T07:06:41.890Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:06:41.890Z] ---> Running in f18f10baa438 [2020-10-19T07:06:43.326Z] 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-10-19T07:07:10.168Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:07:11.154Z] Removing intermediate container f18f10baa438 [2020-10-19T07:07:11.154Z] ---> 2956b062a414 [2020-10-19T07:07:11.154Z] Step 10/24 : FROM scratch [2020-10-19T07:07:11.154Z] ---> [2020-10-19T07:07:11.154Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:07:11.432Z] ---> Running in da56ac157a75 [2020-10-19T07:07:11.706Z] Removing intermediate container da56ac157a75 [2020-10-19T07:07:11.706Z] ---> bdb6fbe24d1e [2020-10-19T07:07:11.706Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:07:11.979Z] ---> Running in a2a4328b6cbd [2020-10-19T07:07:12.254Z] Removing intermediate container a2a4328b6cbd [2020-10-19T07:07:12.254Z] ---> 2cc288a6ca74 [2020-10-19T07:07:12.254Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:07:12.531Z] ---> Running in dd30be6fab8a [2020-10-19T07:07:12.808Z] Removing intermediate container dd30be6fab8a [2020-10-19T07:07:12.808Z] ---> 43410b94a4d2 [2020-10-19T07:07:12.808Z] Step 14/24 : WORKDIR / [2020-10-19T07:07:12.808Z] ---> Running in 2c47c71d92f5 [2020-10-19T07:07:13.403Z] Removing intermediate container 2c47c71d92f5 [2020-10-19T07:07:13.403Z] ---> 5b25d276a906 [2020-10-19T07:07:13.403Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:07:14.876Z] ---> fc1cbcfeb5f4 [2020-10-19T07:07:14.876Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:07:15.154Z] ---> cff83222a74c [2020-10-19T07:07:15.154Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:07:16.135Z] ---> 4d5da506adc6 [2020-10-19T07:07:16.135Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:07:16.736Z] ---> 6045674b985a [2020-10-19T07:07:16.736Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:07:17.720Z] ---> cc1f158eb8c1 [2020-10-19T07:07:17.720Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:07:17.720Z] ---> Running in f041ef9b3bd5 [2020-10-19T07:07:18.000Z] Removing intermediate container f041ef9b3bd5 [2020-10-19T07:07:18.000Z] ---> 6b9b29a5289b [2020-10-19T07:07:18.000Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:07:18.273Z] ---> Running in 2470dd82614a [2020-10-19T07:07:18.870Z] Removing intermediate container 2470dd82614a [2020-10-19T07:07:18.870Z] ---> a392817070b4 [2020-10-19T07:07:18.870Z] Step 22/24 : LABEL arch=arm64 [2020-10-19T07:07:18.870Z] ---> Running in 22714c17f69f [2020-10-19T07:07:19.466Z] Removing intermediate container 22714c17f69f [2020-10-19T07:07:19.466Z] ---> edfb526942ca [2020-10-19T07:07:19.466Z] Step 23/24 : LABEL git_sha=ba4679e64ff6e9b005bedff44595110ae0f653e0 [2020-10-19T07:07:19.466Z] ---> Running in 5d20851f7789 [2020-10-19T07:07:19.745Z] Removing intermediate container 5d20851f7789 [2020-10-19T07:07:19.745Z] ---> e58e6ddbe1cf [2020-10-19T07:07:19.745Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:07:20.019Z] ---> Running in 9a94b81d405f [2020-10-19T07:07:20.618Z] Removing intermediate container 9a94b81d405f [2020-10-19T07:07:20.619Z] ---> 89d451f1a3ab [2020-10-19T07:07:20.619Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:07:20.619Z] Successfully built 89d451f1a3ab [2020-10-19T07:07:20.619Z] 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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-19T07:07:23.335Z] provisioning config files... [2020-10-19T07:07:23.349Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/config7155357104843109134tmp [Pipeline] { [Pipeline] sh [2020-10-19T07:07:23.794Z] + set +x [2020-10-19T07:07:23.794Z] + curl -s https://codecov.io/bash [2020-10-19T07:07:23.794Z] + bash -s -- [2020-10-19T07:07:24.058Z] [2020-10-19T07:07:24.058Z] _____ _ [2020-10-19T07:07:24.058Z] / ____| | | [2020-10-19T07:07:24.058Z] | | ___ __| | ___ ___ _____ __ [2020-10-19T07:07:24.058Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-19T07:07:24.058Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-19T07:07:24.058Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-19T07:07:24.058Z] Bash-20201009-048fee3 [2020-10-19T07:07:24.058Z] [2020-10-19T07:07:24.058Z] [2020-10-19T07:07:24.058Z] ==> Jenkins CI detected. [2020-10-19T07:07:24.058Z] project root: . [2020-10-19T07:07:24.058Z] --> token set from env [2020-10-19T07:07:24.058Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-19T07:07:24.058Z] ==> Running gcov in . (disable via -X gcov) [2020-10-19T07:07:24.058Z] ==> Python coveragepy not found [2020-10-19T07:07:24.058Z] ==> Searching for coverage reports in: [2020-10-19T07:07:24.058Z] + . [2020-10-19T07:07:24.058Z] -> Found 1 reports [2020-10-19T07:07:24.058Z] ==> Detecting git/mercurial file structure [2020-10-19T07:07:24.058Z] ==> Reading reports [2020-10-19T07:07:24.058Z] + ./coverage.out bytes=110398 [2020-10-19T07:07:24.058Z] ==> Appending adjustments [2020-10-19T07:07:24.058Z] https://docs.codecov.io/docs/fixing-reports [2020-10-19T07:07:24.635Z] + Found adjustments [2020-10-19T07:07:24.635Z] ==> Gzipping contents [2020-10-19T07:07:24.635Z] ==> Uploading reports [2020-10-19T07:07:24.635Z] url: https://codecov.io [2020-10-19T07:07:24.635Z] query: branch=PR-631&commit=ba4679e64ff6e9b005bedff44595110ae0f653e0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-631%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=631&job=&cmd_args= [2020-10-19T07:07:24.635Z] -> Pinging Codecov [2020-10-19T07:07:24.635Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-631&commit=ba4679e64ff6e9b005bedff44595110ae0f653e0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-631%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=631&job=&cmd_args= [2020-10-19T07:07:24.902Z] -> Uploading to [2020-10-19T07:07:24.902Z] [2020-10-19T07:07:24.902Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:07:24.902Z] Dload Upload Total Spent Left Speed [2020-10-19T07:07:24.902Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-19T07:07:24.902Z] X> Failed to upload [2020-10-19T07:07:24.902Z] ==> Uploading to Codecov [2020-10-19T07:07:24.902Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:07:24.902Z] Dload Upload Total Spent Left Speed [2020-10-19T07:07:25.479Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19158 100 110 100 19048 228 39645 --:--:-- --:--:-- --:--:-- 39683 [2020-10-19T07:07:25.479Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ba4679e64ff6e9b005bedff44595110ae0f653e0 [Pipeline] } [2020-10-19T07:07:25.511Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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-10-19T07:07:29.949Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:07:30.603Z] ---> package-listing.sh [2020-10-19T07:07:30.603Z] ++ facter osfamily [2020-10-19T07:07:30.603Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-19T07:07:30.603Z] + OS_FAMILY=redhat [2020-10-19T07:07:30.603Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-631 [2020-10-19T07:07:30.603Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-19T07:07:30.603Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-19T07:07:30.603Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-19T07:07:30.603Z] + PACKAGES=/tmp/packages_start.txt [2020-10-19T07:07:30.603Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-631 ']' [2020-10-19T07:07:30.603Z] + PACKAGES=/tmp/packages_end.txt [2020-10-19T07:07:30.603Z] + case "${OS_FAMILY}" in [2020-10-19T07:07:30.603Z] + rpm -qa [2020-10-19T07:07:30.603Z] + sort [2020-10-19T07:07:34.926Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-19T07:07:34.926Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-19T07:07:34.926Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-19T07:07:34.926Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-631 ']' [2020-10-19T07:07:34.926Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-631/archives/ [2020-10-19T07:07:34.926Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-631/archives/ [Pipeline] echo [2020-10-19T07:07:34.979Z] 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-631/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-19T07:07:35.331Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:07:35.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:07:35.780Z] [2020-10-19T07:07:35.780Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:07:36.215Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:07:36.215Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-19T07:07:36.215Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:07:36.215Z] 36b3adc4ff6f: Pulling fs layer [2020-10-19T07:07:36.215Z] 8ad3a11d3b57: Pulling fs layer [2020-10-19T07:07:36.215Z] 46f8f816bc3b: Pulling fs layer [2020-10-19T07:07:36.215Z] 93b61091891f: Pulling fs layer [2020-10-19T07:07:36.215Z] 93b9cdb0e59b: Pulling fs layer [2020-10-19T07:07:36.215Z] 5e14af77c1be: Pulling fs layer [2020-10-19T07:07:36.215Z] 01666e4c0597: Pulling fs layer [2020-10-19T07:07:36.215Z] aa168da1d23b: Pulling fs layer [2020-10-19T07:07:36.215Z] 46f8f816bc3b: Waiting [2020-10-19T07:07:36.215Z] 93b61091891f: Waiting [2020-10-19T07:07:36.215Z] 93b9cdb0e59b: Waiting [2020-10-19T07:07:36.215Z] aa168da1d23b: Waiting [2020-10-19T07:07:36.215Z] 01666e4c0597: Waiting [2020-10-19T07:07:36.215Z] 36b3adc4ff6f: Verifying Checksum [2020-10-19T07:07:36.215Z] 36b3adc4ff6f: Download complete [2020-10-19T07:07:36.215Z] 46f8f816bc3b: Download complete [2020-10-19T07:07:36.215Z] df20fa9351a1: Verifying Checksum [2020-10-19T07:07:36.215Z] df20fa9351a1: Download complete [2020-10-19T07:07:36.215Z] 93b9cdb0e59b: Verifying Checksum [2020-10-19T07:07:36.215Z] 93b9cdb0e59b: Download complete [2020-10-19T07:07:36.492Z] 5e14af77c1be: Verifying Checksum [2020-10-19T07:07:36.492Z] 5e14af77c1be: Download complete [2020-10-19T07:07:36.492Z] 01666e4c0597: Verifying Checksum [2020-10-19T07:07:36.492Z] 01666e4c0597: Download complete [2020-10-19T07:07:36.492Z] 93b61091891f: Verifying Checksum [2020-10-19T07:07:36.492Z] 93b61091891f: Download complete [2020-10-19T07:07:36.757Z] df20fa9351a1: Pull complete [2020-10-19T07:07:36.757Z] 8ad3a11d3b57: Verifying Checksum [2020-10-19T07:07:36.757Z] 8ad3a11d3b57: Download complete [2020-10-19T07:07:37.033Z] 36b3adc4ff6f: Pull complete [2020-10-19T07:07:37.620Z] 8ad3a11d3b57: Pull complete [2020-10-19T07:07:37.888Z] 46f8f816bc3b: Pull complete [2020-10-19T07:07:38.476Z] 93b61091891f: Pull complete [2020-10-19T07:07:38.476Z] 93b9cdb0e59b: Pull complete [2020-10-19T07:07:38.741Z] 5e14af77c1be: Pull complete [2020-10-19T07:07:38.741Z] aa168da1d23b: Download complete [2020-10-19T07:07:38.741Z] 01666e4c0597: Pull complete [2020-10-19T07:07:47.189Z] aa168da1d23b: Pull complete [2020-10-19T07:07:47.189Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-19T07:07:47.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:07:47.189Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-19T07:07:47.452Z] prd-centos7-docker-4c-2g-6186 does not seem to be running inside a container [2020-10-19T07:07:47.509Z] $ 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-631/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-631 -v /w/workspace/dgexfoundry_device-sdk-go_PR-631:/w/workspace/dgexfoundry_device-sdk-go_PR-631:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-631@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-19T07:07:51.267Z] $ docker top 758398b815cb3334279f60dc07cfa27fdcf2312b7cb0913e4aebfb0ae4e61cab -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:07:51.811Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-19T07:07:52.207Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-19T07:07:52.534Z] + ls /var/log/sa-host [2020-10-19T07:07:52.534Z] + sadf -c /var/log/sa-host/sa05 [2020-10-19T07:07:52.534Z] file_magic: OK [2020-10-19T07:07:52.534Z] HZ: Using current value: 100 [2020-10-19T07:07:52.534Z] file_header: OK [2020-10-19T07:07:52.534Z] 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-10-19T07:07:52.534Z] Statistics: [2020-10-19T07:07:52.534Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:07:52.534Z] File successfully converted to sysstat format version 12.2.1 [2020-10-19T07:07:52.534Z] + sadf -c /var/log/sa-host/sa19 [2020-10-19T07:07:52.534Z] file_magic: OK [2020-10-19T07:07:52.534Z] HZ: Using current value: 100 [2020-10-19T07:07:52.534Z] file_header: OK [2020-10-19T07:07:52.534Z] 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-10-19T07:07:52.534Z] Statistics: [2020-10-19T07:07:52.534Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:07:52.534Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-19T07:07:52.821Z] provisioning config files... [2020-10-19T07:07:52.840Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/config4217869952998312227tmp [Pipeline] { [Pipeline] echo [2020-10-19T07:07:52.974Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:07:53.324Z] ---> create-netrc.sh [Pipeline] } [2020-10-19T07:07:53.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-19T07:07:53.532Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:07:53.878Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-19T07:07:53.913Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:07:54.268Z] ---> sudo-logs.sh [2020-10-19T07:07:54.268Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-19T07:07:54.305Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:07:54.649Z] ---> job-cost.sh [2020-10-19T07:07:54.649Z] lf-activate-venv: SKIPPING [2020-10-19T07:07:54.649Z] INFO: No Stack... [2020-10-19T07:07:56.041Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-19T07:07:56.304Z] INFO: Archiving Costs [Pipeline] echo [2020-10-19T07:07:56.354Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:07:56.692Z] ---> logs-deploy.sh [2020-10-19T07:07:56.692Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-631/1 [2020-10-19T07:07:56.692Z] INFO: archiving workspace using pattern(s): [2020-10-19T07:07:58.622Z] Archives upload complete. [2020-10-19T07:07:58.622Z] INFO: archiving logs to Nexus