Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5c193f582c261f6dda3e0a4faf843856b5ce4cf5+8b39936bc192f82b46677f7f05650a94960ef7f6 (ae692402d39edccfbac4e7c5c9efbbe9710a7761) Running in Durability level: PERFORMANCE_OPTIMIZED 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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-8354 in /w/workspace/dgexfoundry_device-sdk-go_PR-639 [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-639 # 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 Merging remotes/origin/master commit 8b39936bc192f82b46677f7f05650a94960ef7f6 into PR head commit 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 Merge succeeded, producing 2b64c87a378923a343546f60b4d65a3a76084f7c Checking out Revision 2b64c87a378923a343546f60b4d65a3a76084f7c (PR-639) > 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/639/head:refs/remotes/origin/PR-639 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # 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 8b39936bc192f82b46677f7f05650a94960ef7f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b64c87a378923a343546f60b4d65a3a76084f7c # timeout=10 Commit message: "Merge commit '8b39936bc192f82b46677f7f05650a94960ef7f6' into HEAD" > git rev-list --no-walk 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-23T02:42:35.871Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-23T02:42:36.134Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-23T02:42:36.240Z] ========================================================= [2020-10-23T02:42:36.240Z] EdgeX Global Pipelines Version Info [2020-10-23T02:42:36.240Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:42:37.773Z] ------------------- [2020-10-23T02:42:37.773Z] stable info: [2020-10-23T02:42:37.773Z] ------------------- [2020-10-23T02:42:37.773Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-23T02:42:37.773Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-23T02:42:37.773Z] Message: update stable to v1.0.148 [2020-10-23T02:42:38.745Z] ------------------- [2020-10-23T02:42:38.745Z] experimental info: [2020-10-23T02:42:38.745Z] ------------------- [2020-10-23T02:42:38.745Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-23T02:42:38.745Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-23T02:42:38.745Z] Message: update experimental to v1.0.148 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-23T02:42:39.137Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-23T02:42:39.241Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-23T02:42:39.340Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-23T02:42:39.444Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-23T02:42:39.554Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-23T02:42:39.665Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-23T02:42:39.773Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-23T02:42:39.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-23T02:42:39.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-23T02:42:40.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-23T02:42:40.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-23T02:42:40.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-23T02:42:40.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-23T02:42:40.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-23T02:42:40.654Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-23T02:42:40.776Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-23T02:42:40.892Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-23T02:42:40.985Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-23T02:42:41.084Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-23T02:42:41.206Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-23T02:42:41.315Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-23T02:42:41.410Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-23T02:42:41.506Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-23T02:42:41.632Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-23T02:42:41.743Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-23T02:42:41.830Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-639 [Pipeline] echo [2020-10-23T02:42:41.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-639 [Pipeline] echo [2020-10-23T02:42:42.049Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-639 [Pipeline] echo [2020-10-23T02:42:42.152Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b64c87a378923a343546f60b4d65a3a76084f7c [Pipeline] echo [2020-10-23T02:42:42.258Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b64c87 [Pipeline] echo [2020-10-23T02:42:42.352Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-23T02:42:42.967Z] + git log --format=format:%s -1 2b64c87a378923a343546f60b4d65a3a76084f7c [Pipeline] echo [2020-10-23T02:42:43.049Z] GIT_COMMIT: 2b64c87a378923a343546f60b4d65a3a76084f7c, Commit Message: Merge commit '8b39936bc192f82b46677f7f05650a94960ef7f6' into HEAD [Pipeline] echo [2020-10-23T02:42:43.113Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:42:43.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-23T02:42:44.058Z] [2020-10-23T02:42:44.058Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:42:44.451Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-23T02:42:44.451Z] latest: Pulling from edgex-devops/git-semver [2020-10-23T02:42:44.451Z] 31603596830f: Pulling fs layer [2020-10-23T02:42:44.451Z] 2a8b12db71e7: Pulling fs layer [2020-10-23T02:42:44.451Z] 6ca5941a6612: Pulling fs layer [2020-10-23T02:42:44.451Z] ecc8261a40a4: Pulling fs layer [2020-10-23T02:42:44.451Z] ecc8261a40a4: Waiting [2020-10-23T02:42:44.451Z] 2a8b12db71e7: Verifying Checksum [2020-10-23T02:42:44.451Z] 2a8b12db71e7: Download complete [2020-10-23T02:42:44.722Z] 31603596830f: Download complete [2020-10-23T02:42:44.722Z] 6ca5941a6612: Verifying Checksum [2020-10-23T02:42:44.722Z] 6ca5941a6612: Download complete [2020-10-23T02:42:44.996Z] ecc8261a40a4: Verifying Checksum [2020-10-23T02:42:44.996Z] ecc8261a40a4: Download complete [2020-10-23T02:42:45.259Z] 31603596830f: Pull complete [2020-10-23T02:42:45.259Z] 2a8b12db71e7: Pull complete [2020-10-23T02:42:46.235Z] 6ca5941a6612: Pull complete [2020-10-23T02:42:46.501Z] ecc8261a40a4: Pull complete [2020-10-23T02:42:46.501Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-23T02:42:46.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-23T02:42:46.501Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-23T02:42:46.630Z] prd-centos7-docker-4c-2g-8354 does not seem to be running inside a container [2020-10-23T02:42:46.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-639 -v /w/workspace/dgexfoundry_device-sdk-go_PR-639:/w/workspace/dgexfoundry_device-sdk-go_PR-639:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-639@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-23T02:42:49.025Z] $ docker top e569f91c9b34dbc33dc5b8d8cb8f2e41967ba278a7e0f500f30e8ff47d42b46b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-23T02:42:49.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-23T02:42:49.384Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-23T02:42:49.633Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-23T02:42:49.640Z] $ docker exec e569f91c9b34dbc33dc5b8d8cb8f2e41967ba278a7e0f500f30e8ff47d42b46b ssh-agent [2020-10-23T02:42:49.810Z] SSH_AUTH_SOCK=/tmp/ssh-B2cWFgKLVQ0W/agent.12 [2020-10-23T02:42:49.810Z] SSH_AGENT_PID=17 [2020-10-23T02:42:49.823Z] Running ssh-add (command line suppressed) [2020-10-23T02:42:49.978Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_3224150681812479003.key (/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_3224150681812479003.key) [2020-10-23T02:42:50.031Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-23T02:42:50.386Z] + git tag --points-at HEAD [Pipeline] } [2020-10-23T02:42:50.411Z] $ docker exec --env ******** --env ******** e569f91c9b34dbc33dc5b8d8cb8f2e41967ba278a7e0f500f30e8ff47d42b46b ssh-agent -k [2020-10-23T02:42:50.543Z] unset SSH_AUTH_SOCK; [2020-10-23T02:42:50.543Z] unset SSH_AGENT_PID; [2020-10-23T02:42:50.543Z] echo Agent pid 17 killed; [2020-10-23T02:42:50.591Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-23T02:42:50.742Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-23T02:42:50.742Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-23T02:42:50.945Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-23T02:42:50.952Z] $ docker exec e569f91c9b34dbc33dc5b8d8cb8f2e41967ba278a7e0f500f30e8ff47d42b46b ssh-agent [2020-10-23T02:42:51.138Z] SSH_AUTH_SOCK=/tmp/ssh-t5kOBA9PC8iy/agent.47 [2020-10-23T02:42:51.138Z] SSH_AGENT_PID=52 [2020-10-23T02:42:51.146Z] Running ssh-add (command line suppressed) [2020-10-23T02:42:51.324Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_8294579011788189276.key (/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_8294579011788189276.key) [2020-10-23T02:42:51.395Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-23T02:42:51.735Z] + git semver init [2020-10-23T02:42:51.735Z] # -> Open(): unable to determine branch for HEAD [2020-10-23T02:42:51.735Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-639/.git [2020-10-23T02:42:51.735Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-639 [2020-10-23T02:42:51.735Z] # $SEMVER_REMOTE_NAME = origin [2020-10-23T02:42:51.735Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-23T02:42:51.736Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-23T02:42:51.736Z] # $SEMVER_BRANCH = PR-639 [2020-10-23T02:42:51.736Z] # $SEMVER_TEMP = /tmp/semver-330796647 [2020-10-23T02:42:51.736Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-23T02:42:52.719Z] # '/tmp/semver-330796647' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-639/.semver' [2020-10-23T02:42:52.719Z] # -> Force: false [2020-10-23T02:42:52.719Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-639/.semver [Pipeline] } [2020-10-23T02:42:52.742Z] $ docker exec --env ******** --env ******** e569f91c9b34dbc33dc5b8d8cb8f2e41967ba278a7e0f500f30e8ff47d42b46b ssh-agent -k [2020-10-23T02:42:52.871Z] unset SSH_AUTH_SOCK; [2020-10-23T02:42:52.872Z] unset SSH_AGENT_PID; [2020-10-23T02:42:52.872Z] echo Agent pid 52 killed; [2020-10-23T02:42:52.922Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-23T02:42:53.402Z] + git semver [Pipeline] } [2020-10-23T02:42:53.429Z] $ docker stop --time=1 e569f91c9b34dbc33dc5b8d8cb8f2e41967ba278a7e0f500f30e8ff47d42b46b [2020-10-23T02:42:54.789Z] $ docker rm -f e569f91c9b34dbc33dc5b8d8cb8f2e41967ba278a7e0f500f30e8ff47d42b46b [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-23T02:42:55.294Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-23T02:42:56.017Z] Stashed 1 file(s) [Pipeline] echo [2020-10-23T02:42:56.020Z] [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-23T02:43:11.679Z] Still waiting to schedule task [2020-10-23T02:43:11.680Z] Still waiting to schedule task [2020-10-23T02:43:11.680Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-8357’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-23T02:43:11.680Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-23T02:44:00.349Z] Running on prd-centos7-docker-4c-2g-8358 in /w/workspace/dgexfoundry_device-sdk-go_PR-639 [Pipeline] { [Pipeline] ws [2020-10-23T02:44:00.408Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-23T02:44:07.904Z] using credential edgex-jenkins-ssh [2020-10-23T02:44:08.029Z] Cloning the remote Git repository [2020-10-23T02:44:08.124Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:44:08.246Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-23T02:44:08.787Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:44:08.788Z] > git --version # timeout=10 [2020-10-23T02:44:08.797Z] > git --version # 'git version 2.16.5' [2020-10-23T02:44:08.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:44:09.078Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-23T02:44:10.518Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-23T02:44:10.527Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-23T02:44:10.553Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-23T02:44:10.575Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:44:10.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:44:10.581Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/639/head:refs/remotes/origin/PR-639 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-23T02:44:10.997Z] Merging remotes/origin/master commit 8b39936bc192f82b46677f7f05650a94960ef7f6 into PR head commit 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [2020-10-23T02:44:11.163Z] Merge succeeded, producing bdf3f38f440249caf46bce863d9cd5e79b65750b [2020-10-23T02:44:11.163Z] Checking out Revision bdf3f38f440249caf46bce863d9cd5e79b65750b (PR-639) [2020-10-23T02:44:11.010Z] > git config core.sparsecheckout # timeout=10 [2020-10-23T02:44:11.022Z] > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 [2020-10-23T02:44:11.090Z] > git remote # timeout=10 [2020-10-23T02:44:11.097Z] > git config --get remote.origin.url # timeout=10 [2020-10-23T02:44:11.109Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:44:11.114Z] > git merge 8b39936bc192f82b46677f7f05650a94960ef7f6 # timeout=10 [2020-10-23T02:44:11.153Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-23T02:44:11.172Z] > git config core.sparsecheckout # timeout=10 [2020-10-23T02:44:11.180Z] > git checkout -f bdf3f38f440249caf46bce863d9cd5e79b65750b # timeout=10 [2020-10-23T02:44:15.242Z] Commit message: "Merge commit '8b39936bc192f82b46677f7f05650a94960ef7f6' into HEAD" [2020-10-23T02:44:15.256Z] > git rev-list --no-walk 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-23T02:44:16.142Z] ========================================================= [2020-10-23T02:44:16.142Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-23T02:44:16.142Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:44:17.092Z] + 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-23T02:44:18.122Z] Sending build context to Docker daemon 2.34MB [2020-10-23T02:44:18.122Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-23T02:44:18.122Z] Step 2/8 : FROM ${BASE} [2020-10-23T02:44:18.122Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-23T02:44:18.122Z] df20fa9351a1: Pulling fs layer [2020-10-23T02:44:18.122Z] ed8968b2872e: Pulling fs layer [2020-10-23T02:44:18.122Z] a92cc7c5fd73: Pulling fs layer [2020-10-23T02:44:18.122Z] e871e8e8d7a9: Pulling fs layer [2020-10-23T02:44:18.122Z] e73272ec9a57: Pulling fs layer [2020-10-23T02:44:18.122Z] 1e910a182e73: Pulling fs layer [2020-10-23T02:44:18.122Z] 4e634b169226: Pulling fs layer [2020-10-23T02:44:18.122Z] e73272ec9a57: Waiting [2020-10-23T02:44:18.122Z] 1e910a182e73: Waiting [2020-10-23T02:44:18.122Z] 4e634b169226: Waiting [2020-10-23T02:44:18.122Z] e871e8e8d7a9: Waiting [2020-10-23T02:44:18.122Z] a92cc7c5fd73: Download complete [2020-10-23T02:44:18.122Z] ed8968b2872e: Verifying Checksum [2020-10-23T02:44:18.122Z] ed8968b2872e: Download complete [2020-10-23T02:44:18.403Z] e73272ec9a57: Verifying Checksum [2020-10-23T02:44:18.403Z] e73272ec9a57: Download complete [2020-10-23T02:44:19.004Z] 1e910a182e73: Verifying Checksum [2020-10-23T02:44:19.004Z] 1e910a182e73: Download complete [2020-10-23T02:44:19.004Z] df20fa9351a1: Verifying Checksum [2020-10-23T02:44:19.004Z] df20fa9351a1: Download complete [2020-10-23T02:44:19.642Z] df20fa9351a1: Pull complete [2020-10-23T02:44:19.947Z] ed8968b2872e: Pull complete [2020-10-23T02:44:20.284Z] a92cc7c5fd73: Pull complete [2020-10-23T02:44:23.995Z] 4e634b169226: Verifying Checksum [2020-10-23T02:44:23.995Z] 4e634b169226: Download complete [2020-10-23T02:44:24.269Z] e871e8e8d7a9: Download complete [2020-10-23T02:44:32.681Z] e871e8e8d7a9: Pull complete [2020-10-23T02:44:32.681Z] e73272ec9a57: Pull complete [2020-10-23T02:44:32.681Z] 1e910a182e73: Pull complete [2020-10-23T02:44:41.095Z] 4e634b169226: Pull complete [2020-10-23T02:44:41.095Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-23T02:44:41.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-23T02:44:41.095Z] ---> f7629b54cfaa [2020-10-23T02:44:41.095Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:44:41.095Z] ---> Running in 389e26fdb0d4 [2020-10-23T02:44:41.095Z] Removing intermediate container 389e26fdb0d4 [2020-10-23T02:44:41.095Z] ---> ba12cd0f994d [2020-10-23T02:44:41.095Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-23T02:44:41.095Z] ---> Running in 0777f4757965 [2020-10-23T02:44:42.061Z] Removing intermediate container 0777f4757965 [2020-10-23T02:44:42.061Z] ---> e00397fac843 [2020-10-23T02:44:42.061Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-23T02:44:42.061Z] ---> Running in a66d891dfb0d [2020-10-23T02:44:43.128Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-23T02:44:43.742Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-23T02:44:44.725Z] OK: 166 MiB in 39 packages [2020-10-23T02:44:45.312Z] Removing intermediate container a66d891dfb0d [2020-10-23T02:44:45.312Z] ---> 5288ffca689b [2020-10-23T02:44:45.312Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-23T02:44:45.312Z] ---> Running in 5b73816ed275 [2020-10-23T02:44:45.627Z] Removing intermediate container 5b73816ed275 [2020-10-23T02:44:45.627Z] ---> 6c2acac934a7 [2020-10-23T02:44:45.627Z] Step 7/8 : COPY . . [2020-10-23T02:44:47.064Z] ---> 9066d934ea3d [2020-10-23T02:44:47.064Z] Step 8/8 : RUN go mod download [2020-10-23T02:44:47.064Z] ---> Running in 0bbbaa772c4e [2020-10-23T02:45:09.290Z] Removing intermediate container 0bbbaa772c4e [2020-10-23T02:45:09.290Z] ---> f90e42f16cd1 [2020-10-23T02:45:09.290Z] Successfully built f90e42f16cd1 [2020-10-23T02:45:09.290Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:45:09.735Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-23T02:45:10.006Z] . [Pipeline] withDockerContainer [2020-10-23T02:45:10.226Z] prd-centos7-docker-4c-2g-8358 does not seem to be running inside a container [2020-10-23T02:45:10.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat [2020-10-23T02:45:11.537Z] $ docker top 8c583c7605a047d41bcefc5900a99a01b974dec1539f988a3a49d08abe007c40 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:45:12.244Z] + go version [2020-10-23T02:45:12.244Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-23T02:45:12.269Z] $ docker stop --time=1 8c583c7605a047d41bcefc5900a99a01b974dec1539f988a3a49d08abe007c40 [2020-10-23T02:45:13.864Z] $ docker rm -f 8c583c7605a047d41bcefc5900a99a01b974dec1539f988a3a49d08abe007c40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:45:14.800Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-23T02:45:14.800Z] . [Pipeline] withDockerContainer [2020-10-23T02:45:15.088Z] prd-centos7-docker-4c-2g-8358 does not seem to be running inside a container [2020-10-23T02:45:16.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat [2020-10-23T02:45:17.060Z] $ docker top e5b4bcca42b6905f9d3127c30f60fbaf42cd16d26717fb3742df06dc89e8979f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:45:17.829Z] + make test [2020-10-23T02:45:17.829Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-23T02:45:31.318Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-23T02:45:50.960Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8362 in /w/workspace/dgexfoundry_device-sdk-go_PR-639 [Pipeline] { [Pipeline] ws [2020-10-23T02:45:51.017Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-23T02:45:56.768Z] using credential edgex-jenkins-ssh [2020-10-23T02:45:56.827Z] Cloning the remote Git repository [2020-10-23T02:45:56.914Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:45:57.047Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-23T02:45:57.155Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:45:57.156Z] > git --version # timeout=10 [2020-10-23T02:45:57.180Z] > git --version # 'git version 2.17.1' [2020-10-23T02:45:57.182Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:45:57.271Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-23T02:45:58.551Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-23T02:45:58.551Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-23T02:45:58.551Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-23T02:45:58.551Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.107s coverage: 21.4% of statements [2020-10-23T02:45:58.551Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.763s coverage: 97.1% of statements [2020-10-23T02:45:58.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-23T02:45:58.508Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-23T02:45:58.546Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-23T02:45:58.589Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:45:58.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:45:58.604Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/639/head:refs/remotes/origin/PR-639 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-23T02:45:59.199Z] Merging remotes/origin/master commit 8b39936bc192f82b46677f7f05650a94960ef7f6 into PR head commit 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [2020-10-23T02:45:59.638Z] Merge succeeded, producing 2909be01873da393532e364e65dab9ab3948965a [2020-10-23T02:45:59.638Z] Checking out Revision 2909be01873da393532e364e65dab9ab3948965a (PR-639) [2020-10-23T02:45:59.231Z] > git config core.sparsecheckout # timeout=10 [2020-10-23T02:45:59.255Z] > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 [2020-10-23T02:45:59.405Z] > git remote # timeout=10 [2020-10-23T02:45:59.432Z] > git config --get remote.origin.url # timeout=10 [2020-10-23T02:45:59.457Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:45:59.470Z] > git merge 8b39936bc192f82b46677f7f05650a94960ef7f6 # timeout=10 [2020-10-23T02:45:59.577Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-23T02:45:59.655Z] > git config core.sparsecheckout # timeout=10 [2020-10-23T02:45:59.682Z] > git checkout -f 2909be01873da393532e364e65dab9ab3948965a # timeout=10 [2020-10-23T02:46:04.332Z] Commit message: "Merge commit '8b39936bc192f82b46677f7f05650a94960ef7f6' into HEAD" [2020-10-23T02:46:04.348Z] > git rev-list --no-walk 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-23T02:46:05.350Z] ========================================================= [2020-10-23T02:46:05.351Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-23T02:46:05.351Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:46:06.429Z] + 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-23T02:46:07.419Z] Sending build context to Docker daemon 2.34MB [2020-10-23T02:46:07.419Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-23T02:46:07.419Z] Step 2/8 : FROM ${BASE} [2020-10-23T02:46:08.033Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-23T02:46:08.033Z] b538f80385f9: Pulling fs layer [2020-10-23T02:46:08.033Z] 74f711af9a0d: Pulling fs layer [2020-10-23T02:46:08.033Z] 99f96fe45779: Pulling fs layer [2020-10-23T02:46:08.033Z] 8529a6b9a6be: Pulling fs layer [2020-10-23T02:46:08.033Z] 45590311c82a: Pulling fs layer [2020-10-23T02:46:08.033Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-23T02:46:08.033Z] 209524e5b208: Pulling fs layer [2020-10-23T02:46:08.033Z] 8529a6b9a6be: Waiting [2020-10-23T02:46:08.033Z] 45590311c82a: Waiting [2020-10-23T02:46:08.033Z] 209524e5b208: Waiting [2020-10-23T02:46:08.033Z] 69ca0ff8b7b3: Waiting [2020-10-23T02:46:08.033Z] 99f96fe45779: Verifying Checksum [2020-10-23T02:46:08.033Z] 99f96fe45779: Download complete [2020-10-23T02:46:08.033Z] 74f711af9a0d: Download complete [2020-10-23T02:46:08.033Z] 45590311c82a: Verifying Checksum [2020-10-23T02:46:08.033Z] 45590311c82a: Download complete [2020-10-23T02:46:08.033Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-23T02:46:08.033Z] 69ca0ff8b7b3: Download complete [2020-10-23T02:46:08.033Z] b538f80385f9: Verifying Checksum [2020-10-23T02:46:08.033Z] b538f80385f9: Download complete [2020-10-23T02:46:08.639Z] b538f80385f9: Pull complete [2020-10-23T02:46:09.244Z] 74f711af9a0d: Pull complete [2020-10-23T02:46:09.849Z] 99f96fe45779: Pull complete [2020-10-23T02:46:10.472Z] 209524e5b208: Verifying Checksum [2020-10-23T02:46:10.472Z] 209524e5b208: Download complete [2020-10-23T02:46:11.924Z] 8529a6b9a6be: Verifying Checksum [2020-10-23T02:46:11.924Z] 8529a6b9a6be: Download complete [2020-10-23T02:46:22.161Z] 8529a6b9a6be: Pull complete [2020-10-23T02:46:22.161Z] 45590311c82a: Pull complete [2020-10-23T02:46:22.760Z] 69ca0ff8b7b3: Pull complete [2020-10-23T02:46:25.648Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.082s coverage: 9.4% of statements [2020-10-23T02:46:25.648Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.103s coverage: 21.9% of statements [2020-10-23T02:46:25.648Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-23T02:46:25.648Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.617s coverage: 42.6% of statements [2020-10-23T02:46:25.648Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-23T02:46:25.648Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.453s coverage: 68.9% of statements [2020-10-23T02:46:25.648Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-23T02:46:25.648Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-23T02:46:25.648Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-23T02:46:25.648Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-23T02:46:25.648Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.131s coverage: 52.6% of statements [2020-10-23T02:46:25.648Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-23T02:46:25.648Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-23T02:46:25.648Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-23T02:46:25.648Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.337s coverage: 68.9% of statements [2020-10-23T02:46:25.648Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-23T02:46:25.648Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-23T02:46:25.940Z] GO111MODULE=on go vet ./... [2020-10-23T02:46:26.171Z] 209524e5b208: Pull complete [2020-10-23T02:46:26.171Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-23T02:46:26.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-23T02:46:26.171Z] ---> 5bddaf1c2fca [2020-10-23T02:46:26.171Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:46:29.603Z] ---> Running in 1e2bd7164c73 [2020-10-23T02:46:29.877Z] Removing intermediate container 1e2bd7164c73 [2020-10-23T02:46:29.877Z] ---> 8b6e47102050 [2020-10-23T02:46:29.877Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-23T02:46:29.877Z] ---> Running in 2f7bebcddc89 [2020-10-23T02:46:32.533Z] Removing intermediate container 2f7bebcddc89 [2020-10-23T02:46:32.533Z] ---> 32dd8215b1c2 [2020-10-23T02:46:32.533Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-23T02:46:32.817Z] ---> Running in 5692bc0c27cd [2020-10-23T02:46:34.253Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-23T02:46:35.690Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-23T02:46:37.666Z] OK: 142 MiB in 39 packages [2020-10-23T02:46:38.264Z] Removing intermediate container 5692bc0c27cd [2020-10-23T02:46:38.264Z] ---> 6db22586db3b [2020-10-23T02:46:38.264Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-23T02:46:38.536Z] ---> Running in 83a1b9e9afed [2020-10-23T02:46:39.135Z] Removing intermediate container 83a1b9e9afed [2020-10-23T02:46:39.135Z] ---> 5943a72d7ce8 [2020-10-23T02:46:39.135Z] Step 7/8 : COPY . . [2020-10-23T02:46:40.581Z] ---> 7e6711a8b627 [2020-10-23T02:46:40.581Z] Step 8/8 : RUN go mod download [2020-10-23T02:46:40.581Z] ---> Running in 18b49f2f7346 [2020-10-23T02:46:44.407Z] gofmt -l . [2020-10-23T02:46:44.407Z] [ "`gofmt -l .`" = "" ] [2020-10-23T02:46:44.407Z] ./bin/test-attribution-txt.sh [2020-10-23T02:46:44.407Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-23T02:46:45.093Z] Stashed 1 file(s) [Pipeline] } [2020-10-23T02:46:45.103Z] $ docker stop --time=1 e5b4bcca42b6905f9d3127c30f60fbaf42cd16d26717fb3742df06dc89e8979f [2020-10-23T02:46:47.285Z] $ docker rm -f e5b4bcca42b6905f9d3127c30f60fbaf42cd16d26717fb3742df06dc89e8979f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-23T02:46:49.064Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-23T02:46:49.419Z] + ls -al . [2020-10-23T02:46:49.419Z] total 188 [2020-10-23T02:46:49.419Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 23 02:46 . [2020-10-23T02:46:49.419Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 23 02:44 .. [2020-10-23T02:46:49.419Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 23 02:44 bin [2020-10-23T02:46:49.419Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 23 02:46 coverage.out [2020-10-23T02:46:49.419Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 23 02:44 Dockerfile.build [2020-10-23T02:46:49.419Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 23 02:44 .dockerignore [2020-10-23T02:46:49.419Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 23 02:44 example [2020-10-23T02:46:49.419Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 23 02:44 .git [2020-10-23T02:46:49.419Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 23 02:44 .github [2020-10-23T02:46:49.419Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 23 02:44 .gitignore [2020-10-23T02:46:49.419Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 23 02:46 go.mod [2020-10-23T02:46:49.419Z] -rw-r--r--. 1 jenkins jenkins 13739 Oct 23 02:46 go.sum [2020-10-23T02:46:49.419Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 23 02:44 internal [2020-10-23T02:46:49.419Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 23 02:44 Jenkinsfile [2020-10-23T02:46:49.419Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 23 02:44 LICENSE [2020-10-23T02:46:49.419Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 23 02:44 Makefile [2020-10-23T02:46:49.419Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 23 02:44 openapi [2020-10-23T02:46:49.419Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 23 02:44 pkg [2020-10-23T02:46:49.419Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 23 02:44 README.md [2020-10-23T02:46:49.419Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 23 02:44 RELEASE-NOTES.txt [2020-10-23T02:46:49.419Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 23 02:44 snap [2020-10-23T02:46:49.419Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 23 02:42 VERSION [2020-10-23T02:46:49.419Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 23 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:46:49.794Z] + 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=2b64c87a378923a343546f60b4d65a3a76084f7c --label arch=amd64 --label version=0.0.0 . [2020-10-23T02:46:50.379Z] Sending build context to Docker daemon 2.451MB [2020-10-23T02:46:50.379Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-23T02:46:50.379Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-23T02:46:50.379Z] ---> f90e42f16cd1 [2020-10-23T02:46:50.379Z] Step 3/24 : ARG MAKE='make build' [2020-10-23T02:46:50.657Z] ---> Running in c00d9867b935 [2020-10-23T02:46:50.934Z] Removing intermediate container c00d9867b935 [2020-10-23T02:46:50.934Z] ---> aa53ab8bfae1 [2020-10-23T02:46:50.934Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-23T02:46:50.934Z] ---> Running in b0677deb939c [2020-10-23T02:46:51.233Z] Removing intermediate container b0677deb939c [2020-10-23T02:46:51.233Z] ---> 30a4f68f9a66 [2020-10-23T02:46:51.233Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:46:51.233Z] ---> Running in c3b645575696 [2020-10-23T02:46:51.549Z] Removing intermediate container c3b645575696 [2020-10-23T02:46:51.549Z] ---> 10978e3df532 [2020-10-23T02:46:51.549Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-23T02:46:51.549Z] ---> Running in a0d9805b9261 [2020-10-23T02:46:52.980Z] Removing intermediate container a0d9805b9261 [2020-10-23T02:46:52.980Z] ---> 8af3f3110a7d [2020-10-23T02:46:52.980Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-23T02:46:53.252Z] ---> Running in 753b098f48ec [2020-10-23T02:46:54.274Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-23T02:46:55.699Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-23T02:46:57.733Z] OK: 166 MiB in 39 packages [2020-10-23T02:46:58.488Z] Removing intermediate container 753b098f48ec [2020-10-23T02:46:58.488Z] ---> f569bfb644d9 [2020-10-23T02:46:58.488Z] Step 8/24 : COPY . . [2020-10-23T02:47:00.061Z] ---> 9efd8731863c [2020-10-23T02:47:00.061Z] Step 9/24 : RUN ${MAKE} [2020-10-23T02:47:00.061Z] ---> Running in 0b4339fb0722 [2020-10-23T02:47:01.237Z] 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-23T02:47:02.816Z] Removing intermediate container 18b49f2f7346 [2020-10-23T02:47:02.816Z] ---> 64c849c0b93b [2020-10-23T02:47:02.816Z] Successfully built 64c849c0b93b [2020-10-23T02:47:02.816Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:47:03.223Z] + docker inspect -f . ci-base-image-arm64 [2020-10-23T02:47:03.223Z] . [Pipeline] withDockerContainer [2020-10-23T02:47:03.477Z] prd-ubuntu18.04-docker-arm64-4c-16g-8362 does not seem to be running inside a container [2020-10-23T02:47:03.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2020-10-23T02:47:05.423Z] $ docker top b7bb3c065ac806ea6cb3fbe2526307bacfa348fa7f362d00aebc52599e70fccc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:47:06.911Z] + go version [2020-10-23T02:47:06.912Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-23T02:47:06.942Z] $ docker stop --time=1 b7bb3c065ac806ea6cb3fbe2526307bacfa348fa7f362d00aebc52599e70fccc [2020-10-23T02:47:08.871Z] $ docker rm -f b7bb3c065ac806ea6cb3fbe2526307bacfa348fa7f362d00aebc52599e70fccc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:47:11.653Z] + docker inspect -f . ci-base-image-arm64 [2020-10-23T02:47:11.653Z] . [Pipeline] withDockerContainer [2020-10-23T02:47:11.951Z] prd-ubuntu18.04-docker-arm64-4c-16g-8362 does not seem to be running inside a container [2020-10-23T02:47:12.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2020-10-23T02:47:14.243Z] $ docker top c0ec558d5394870673cd29a491bc25fd9b354853614f77b5b4cd23af9326da25 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:47:15.684Z] + make test [2020-10-23T02:47:15.684Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-23T02:47:20.969Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-23T02:47:20.969Z] Removing intermediate container 0b4339fb0722 [2020-10-23T02:47:20.969Z] ---> 1fab380f23cc [2020-10-23T02:47:20.969Z] Step 10/24 : FROM scratch [2020-10-23T02:47:20.969Z] ---> [2020-10-23T02:47:20.969Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:47:20.969Z] ---> Running in e0d5648d1c62 [2020-10-23T02:47:20.969Z] Removing intermediate container e0d5648d1c62 [2020-10-23T02:47:20.969Z] ---> 857040ea8c83 [2020-10-23T02:47:20.969Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-23T02:47:20.969Z] ---> Running in 42d201765d3e [2020-10-23T02:47:21.306Z] Removing intermediate container 42d201765d3e [2020-10-23T02:47:21.306Z] ---> 39b93e0192c6 [2020-10-23T02:47:21.306Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-23T02:47:21.306Z] ---> Running in f7c00d52924b [2020-10-23T02:47:21.581Z] Removing intermediate container f7c00d52924b [2020-10-23T02:47:21.581Z] ---> ba1337065023 [2020-10-23T02:47:21.581Z] Step 14/24 : WORKDIR / [2020-10-23T02:47:21.582Z] ---> Running in b5b092e9a2f6 [2020-10-23T02:47:21.582Z] Removing intermediate container b5b092e9a2f6 [2020-10-23T02:47:21.582Z] ---> fce0f3ad9436 [2020-10-23T02:47:21.582Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-23T02:47:22.173Z] ---> 7dd8c9dc8e5a [2020-10-23T02:47:22.173Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-23T02:47:22.440Z] ---> f123b51dc0c0 [2020-10-23T02:47:22.440Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-23T02:47:23.018Z] ---> da2aafa10b4d [2020-10-23T02:47:23.018Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-23T02:47:23.284Z] ---> d3d11afecd23 [2020-10-23T02:47:23.284Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-23T02:47:23.549Z] ---> a6321ebf9995 [2020-10-23T02:47:23.549Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-23T02:47:23.549Z] ---> Running in cb28fa6c5e72 [2020-10-23T02:47:23.814Z] Removing intermediate container cb28fa6c5e72 [2020-10-23T02:47:23.814Z] ---> 22815dc9b6e6 [2020-10-23T02:47:23.814Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-23T02:47:23.814Z] ---> Running in 2e7ba59ad671 [2020-10-23T02:47:24.079Z] Removing intermediate container 2e7ba59ad671 [2020-10-23T02:47:24.079Z] ---> 14dcb5f9e3aa [2020-10-23T02:47:24.079Z] Step 22/24 : LABEL arch=amd64 [2020-10-23T02:47:24.079Z] ---> Running in e1de96c3868e [2020-10-23T02:47:24.344Z] Removing intermediate container e1de96c3868e [2020-10-23T02:47:24.344Z] ---> a4b6285d622d [2020-10-23T02:47:24.344Z] Step 23/24 : LABEL git_sha=2b64c87a378923a343546f60b4d65a3a76084f7c [2020-10-23T02:47:24.344Z] ---> Running in 08d3a53e2d31 [2020-10-23T02:47:24.606Z] Removing intermediate container 08d3a53e2d31 [2020-10-23T02:47:24.606Z] ---> 9514bc49cd28 [2020-10-23T02:47:24.606Z] Step 24/24 : LABEL version=0.0.0 [2020-10-23T02:47:24.606Z] ---> Running in 6f03650f4bf6 [2020-10-23T02:47:24.871Z] Removing intermediate container 6f03650f4bf6 [2020-10-23T02:47:24.871Z] ---> cc212f0e4126 [2020-10-23T02:47:24.871Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-23T02:47:24.871Z] Successfully built cc212f0e4126 [2020-10-23T02:47:24.871Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-23T02:47:37.862Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-23T02:48:24.946Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-23T02:48:24.946Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-23T02:48:24.946Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-23T02:48:24.946Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.132s coverage: 21.4% of statements [2020-10-23T02:48:25.940Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.274s coverage: 97.1% of statements [2020-10-23T02:48:52.746Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.122s coverage: 9.4% of statements [2020-10-23T02:48:52.746Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.131s coverage: 21.9% of statements [2020-10-23T02:48:52.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-23T02:48:52.746Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.630s coverage: 42.6% of statements [2020-10-23T02:48:52.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-23T02:48:52.746Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.853s coverage: 68.9% of statements [2020-10-23T02:48:52.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-23T02:48:52.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-23T02:48:52.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-23T02:48:52.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-23T02:48:52.746Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.168s coverage: 52.6% of statements [2020-10-23T02:48:52.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-23T02:48:52.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-23T02:48:52.746Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-23T02:48:52.746Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.849s coverage: 68.9% of statements [2020-10-23T02:48:52.746Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-23T02:48:52.746Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-23T02:48:53.018Z] GO111MODULE=on go vet ./... [2020-10-23T02:49:25.388Z] gofmt -l . [2020-10-23T02:49:25.388Z] [ "`gofmt -l .`" = "" ] [2020-10-23T02:49:25.388Z] ./bin/test-attribution-txt.sh [2020-10-23T02:49:25.388Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-23T02:49:26.005Z] Warning: overwriting stash ‘coverage-report’ [2020-10-23T02:49:27.011Z] Stashed 1 file(s) [Pipeline] } [2020-10-23T02:49:27.026Z] $ docker stop --time=1 c0ec558d5394870673cd29a491bc25fd9b354853614f77b5b4cd23af9326da25 [2020-10-23T02:49:29.299Z] $ docker rm -f c0ec558d5394870673cd29a491bc25fd9b354853614f77b5b4cd23af9326da25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-23T02:49:30.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-23T02:49:31.356Z] + ls -al . [2020-10-23T02:49:31.356Z] total 224 [2020-10-23T02:49:31.356Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 23 02:49 . [2020-10-23T02:49:31.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 02:45 .. [2020-10-23T02:49:31.356Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 23 02:45 .dockerignore [2020-10-23T02:49:31.356Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 02:46 .git [2020-10-23T02:49:31.356Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 02:45 .github [2020-10-23T02:49:31.356Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 23 02:45 .gitignore [2020-10-23T02:49:31.356Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 23 02:45 Dockerfile.build [2020-10-23T02:49:31.356Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 23 02:45 Jenkinsfile [2020-10-23T02:49:31.356Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 23 02:45 LICENSE [2020-10-23T02:49:31.356Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 23 02:45 Makefile [2020-10-23T02:49:31.356Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 23 02:45 README.md [2020-10-23T02:49:31.356Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 23 02:45 RELEASE-NOTES.txt [2020-10-23T02:49:31.356Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 02:42 VERSION [2020-10-23T02:49:31.356Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 02:45 bin [2020-10-23T02:49:31.356Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 23 02:48 coverage.out [2020-10-23T02:49:31.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 02:45 example [2020-10-23T02:49:31.356Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 23 02:49 go.mod [2020-10-23T02:49:31.356Z] -rw-r--r-- 1 jenkins jenkins 13739 Oct 23 02:49 go.sum [2020-10-23T02:49:31.356Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 23 02:45 internal [2020-10-23T02:49:31.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 02:45 openapi [2020-10-23T02:49:31.356Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 23 02:45 pkg [2020-10-23T02:49:31.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 02:45 snap [2020-10-23T02:49:31.356Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 23 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:49:31.715Z] + 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=2b64c87a378923a343546f60b4d65a3a76084f7c --label arch=arm64 --label version=0.0.0 . [2020-10-23T02:49:32.004Z] Sending build context to Docker daemon 2.451MB [2020-10-23T02:49:32.276Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-23T02:49:32.276Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-23T02:49:32.276Z] ---> 64c849c0b93b [2020-10-23T02:49:32.276Z] Step 3/24 : ARG MAKE='make build' [2020-10-23T02:49:32.550Z] ---> Running in b91bfa5a6a15 [2020-10-23T02:49:33.149Z] Removing intermediate container b91bfa5a6a15 [2020-10-23T02:49:33.149Z] ---> dbe67d399c7c [2020-10-23T02:49:33.149Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-23T02:49:33.149Z] ---> Running in b138f6dec4f5 [2020-10-23T02:49:33.742Z] Removing intermediate container b138f6dec4f5 [2020-10-23T02:49:33.742Z] ---> 08caefcf5a27 [2020-10-23T02:49:33.742Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:49:33.742Z] ---> Running in 4898c5f5bc30 [2020-10-23T02:49:34.336Z] Removing intermediate container 4898c5f5bc30 [2020-10-23T02:49:34.336Z] ---> 8dce0df8e195 [2020-10-23T02:49:34.336Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-23T02:49:34.336Z] ---> Running in 2c8929c592bd [2020-10-23T02:49:36.976Z] Removing intermediate container 2c8929c592bd [2020-10-23T02:49:36.976Z] ---> c4748a24841c [2020-10-23T02:49:36.976Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-23T02:49:36.976Z] ---> Running in 4aed5864d056 [2020-10-23T02:49:38.954Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-23T02:49:39.227Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-23T02:49:40.203Z] OK: 142 MiB in 39 packages [2020-10-23T02:49:41.186Z] Removing intermediate container 4aed5864d056 [2020-10-23T02:49:41.186Z] ---> 85db443a8b38 [2020-10-23T02:49:41.186Z] Step 8/24 : COPY . . [2020-10-23T02:49:42.619Z] ---> b6f3e9759b89 [2020-10-23T02:49:42.619Z] Step 9/24 : RUN ${MAKE} [2020-10-23T02:49:42.893Z] ---> Running in ceedd6bcd05d [2020-10-23T02:49:44.331Z] 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-23T02:50:16.738Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-23T02:50:16.738Z] Removing intermediate container ceedd6bcd05d [2020-10-23T02:50:16.738Z] ---> 63a547ccac1a [2020-10-23T02:50:16.738Z] Step 10/24 : FROM scratch [2020-10-23T02:50:16.738Z] ---> [2020-10-23T02:50:16.738Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:50:16.738Z] ---> Running in 098650e057f5 [2020-10-23T02:50:16.738Z] Removing intermediate container 098650e057f5 [2020-10-23T02:50:16.738Z] ---> 38245657a443 [2020-10-23T02:50:16.738Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-23T02:50:16.738Z] ---> Running in bc19a665f3d3 [2020-10-23T02:50:16.738Z] Removing intermediate container bc19a665f3d3 [2020-10-23T02:50:16.738Z] ---> 04162f3ce47b [2020-10-23T02:50:16.738Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-23T02:50:17.012Z] ---> Running in 165b0fa80aed [2020-10-23T02:50:17.283Z] Removing intermediate container 165b0fa80aed [2020-10-23T02:50:17.283Z] ---> a25d572d6040 [2020-10-23T02:50:17.283Z] Step 14/24 : WORKDIR / [2020-10-23T02:50:17.555Z] ---> Running in deca64a5fd20 [2020-10-23T02:50:17.827Z] Removing intermediate container deca64a5fd20 [2020-10-23T02:50:17.827Z] ---> aac3568a4a5c [2020-10-23T02:50:17.827Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-23T02:50:19.260Z] ---> 3b55ed63db0e [2020-10-23T02:50:19.260Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-23T02:50:20.236Z] ---> 8e970216efd4 [2020-10-23T02:50:20.236Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-23T02:50:20.831Z] ---> 25c431d73398 [2020-10-23T02:50:20.831Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-23T02:50:21.810Z] ---> 7945fff3f40f [2020-10-23T02:50:21.810Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-23T02:50:22.406Z] ---> ff1c3390590e [2020-10-23T02:50:22.406Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-23T02:50:22.406Z] ---> Running in c9cc3ab2d616 [2020-10-23T02:50:23.003Z] Removing intermediate container c9cc3ab2d616 [2020-10-23T02:50:23.003Z] ---> 10c5b2785a0b [2020-10-23T02:50:23.003Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-23T02:50:23.274Z] ---> Running in 95c12cd5361f [2020-10-23T02:50:23.550Z] Removing intermediate container 95c12cd5361f [2020-10-23T02:50:23.550Z] ---> 68ea887ab9da [2020-10-23T02:50:23.550Z] Step 22/24 : LABEL arch=arm64 [2020-10-23T02:50:23.822Z] ---> Running in c8fb34795d35 [2020-10-23T02:50:24.420Z] Removing intermediate container c8fb34795d35 [2020-10-23T02:50:24.420Z] ---> c2da5737aa09 [2020-10-23T02:50:24.420Z] Step 23/24 : LABEL git_sha=2b64c87a378923a343546f60b4d65a3a76084f7c [2020-10-23T02:50:24.420Z] ---> Running in 07066c7e5c15 [2020-10-23T02:50:25.015Z] Removing intermediate container 07066c7e5c15 [2020-10-23T02:50:25.015Z] ---> 1492fd61ec02 [2020-10-23T02:50:25.015Z] Step 24/24 : LABEL version=0.0.0 [2020-10-23T02:50:25.015Z] ---> Running in 8e2e03512819 [2020-10-23T02:50:25.612Z] Removing intermediate container 8e2e03512819 [2020-10-23T02:50:25.612Z] ---> 0acb251ad8a2 [2020-10-23T02:50:25.612Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-23T02:50:25.612Z] Successfully built 0acb251ad8a2 [2020-10-23T02:50:25.612Z] 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-23T02:50:27.378Z] provisioning config files... [2020-10-23T02:50:27.392Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/config3091044535292688287tmp [Pipeline] { [Pipeline] sh [2020-10-23T02:50:27.777Z] + set +x [2020-10-23T02:50:27.777Z] + curl -s https://codecov.io/bash [2020-10-23T02:50:27.777Z] + bash -s -- [2020-10-23T02:50:28.039Z] [2020-10-23T02:50:28.039Z] _____ _ [2020-10-23T02:50:28.039Z] / ____| | | [2020-10-23T02:50:28.039Z] | | ___ __| | ___ ___ _____ __ [2020-10-23T02:50:28.039Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-23T02:50:28.039Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-23T02:50:28.039Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-23T02:50:28.039Z] Bash-20201009-048fee3 [2020-10-23T02:50:28.039Z] [2020-10-23T02:50:28.039Z] [2020-10-23T02:50:28.039Z] ==> Jenkins CI detected. [2020-10-23T02:50:28.039Z] project root: . [2020-10-23T02:50:28.039Z] Fixing merge commit SHA [2020-10-23T02:50:28.039Z] --> token set from env [2020-10-23T02:50:28.039Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-23T02:50:28.039Z] ==> Running gcov in . (disable via -X gcov) [2020-10-23T02:50:28.039Z] ==> Python coveragepy not found [2020-10-23T02:50:28.039Z] ==> Searching for coverage reports in: [2020-10-23T02:50:28.039Z] + . [2020-10-23T02:50:28.039Z] -> Found 1 reports [2020-10-23T02:50:28.039Z] ==> Detecting git/mercurial file structure [2020-10-23T02:50:28.039Z] ==> Reading reports [2020-10-23T02:50:28.039Z] + ./coverage.out bytes=110398 [2020-10-23T02:50:28.039Z] ==> Appending adjustments [2020-10-23T02:50:28.039Z] https://docs.codecov.io/docs/fixing-reports [2020-10-23T02:50:28.613Z] + Found adjustments [2020-10-23T02:50:28.613Z] ==> Gzipping contents [2020-10-23T02:50:28.613Z] ==> Uploading reports [2020-10-23T02:50:28.613Z] url: https://codecov.io [2020-10-23T02:50:28.613Z] query: branch=PR-639&commit=8b39936bc192f82b46677f7f05650a94960ef7f6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-639%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=639&job=&cmd_args= [2020-10-23T02:50:28.613Z] -> Pinging Codecov [2020-10-23T02:50:28.614Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-639&commit=8b39936bc192f82b46677f7f05650a94960ef7f6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-639%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=639&job=&cmd_args= [2020-10-23T02:50:28.877Z] -> Uploading to [2020-10-23T02:50:28.877Z] [2020-10-23T02:50:28.877Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-23T02:50:28.877Z] Dload Upload Total Spent Left Speed [2020-10-23T02:50:28.877Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-23T02:50:28.877Z] X> Failed to upload [2020-10-23T02:50:28.877Z] ==> Uploading to Codecov [2020-10-23T02:50:28.877Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-23T02:50:28.877Z] Dload Upload Total Spent Left Speed [2020-10-23T02:50:29.825Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19146 0 0 100 19036 0 19718 --:--:-- --:--:-- --:--:-- 19706 100 19146 100 110 100 19036 113 19712 --:--:-- --:--:-- --:--:-- 19706 [2020-10-23T02:50:29.825Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8b39936bc192f82b46677f7f05650a94960ef7f6 [Pipeline] } [2020-10-23T02:50:29.835Z] 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-23T02:50:33.299Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:50:33.877Z] ---> package-listing.sh [2020-10-23T02:50:33.877Z] ++ facter osfamily [2020-10-23T02:50:33.877Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-23T02:50:33.877Z] + OS_FAMILY=redhat [2020-10-23T02:50:33.877Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-639 [2020-10-23T02:50:33.877Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-23T02:50:33.877Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-23T02:50:33.877Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-23T02:50:33.877Z] + PACKAGES=/tmp/packages_start.txt [2020-10-23T02:50:33.877Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-639 ']' [2020-10-23T02:50:33.877Z] + PACKAGES=/tmp/packages_end.txt [2020-10-23T02:50:33.877Z] + case "${OS_FAMILY}" in [2020-10-23T02:50:33.877Z] + rpm -qa [2020-10-23T02:50:33.877Z] + sort [2020-10-23T02:50:38.101Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-23T02:50:38.101Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-23T02:50:38.101Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-23T02:50:38.101Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-639 ']' [2020-10-23T02:50:38.101Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-639/archives/ [2020-10-23T02:50:38.101Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-639/archives/ [Pipeline] echo [2020-10-23T02:50:38.116Z] 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-639/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-23T02:50:38.408Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:50:38.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-23T02:50:38.720Z] [2020-10-23T02:50:38.720Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:50:39.079Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-23T02:50:39.080Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-23T02:50:39.080Z] df20fa9351a1: Pulling fs layer [2020-10-23T02:50:39.080Z] 36b3adc4ff6f: Pulling fs layer [2020-10-23T02:50:39.080Z] 8ad3a11d3b57: Pulling fs layer [2020-10-23T02:50:39.080Z] 46f8f816bc3b: Pulling fs layer [2020-10-23T02:50:39.080Z] 93b61091891f: Pulling fs layer [2020-10-23T02:50:39.080Z] 93b9cdb0e59b: Pulling fs layer [2020-10-23T02:50:39.080Z] 5e14af77c1be: Pulling fs layer [2020-10-23T02:50:39.080Z] 01666e4c0597: Pulling fs layer [2020-10-23T02:50:39.080Z] aa168da1d23b: Pulling fs layer [2020-10-23T02:50:39.080Z] 46f8f816bc3b: Waiting [2020-10-23T02:50:39.080Z] 93b61091891f: Waiting [2020-10-23T02:50:39.080Z] 93b9cdb0e59b: Waiting [2020-10-23T02:50:39.080Z] 5e14af77c1be: Waiting [2020-10-23T02:50:39.080Z] 01666e4c0597: Waiting [2020-10-23T02:50:39.080Z] aa168da1d23b: Waiting [2020-10-23T02:50:39.080Z] 36b3adc4ff6f: Verifying Checksum [2020-10-23T02:50:39.080Z] 36b3adc4ff6f: Download complete [2020-10-23T02:50:39.080Z] 46f8f816bc3b: Verifying Checksum [2020-10-23T02:50:39.080Z] 46f8f816bc3b: Download complete [2020-10-23T02:50:39.080Z] df20fa9351a1: Verifying Checksum [2020-10-23T02:50:39.080Z] df20fa9351a1: Download complete [2020-10-23T02:50:39.348Z] 93b9cdb0e59b: Verifying Checksum [2020-10-23T02:50:39.348Z] 93b9cdb0e59b: Download complete [2020-10-23T02:50:39.348Z] 5e14af77c1be: Verifying Checksum [2020-10-23T02:50:39.348Z] 5e14af77c1be: Download complete [2020-10-23T02:50:39.348Z] 01666e4c0597: Verifying Checksum [2020-10-23T02:50:39.348Z] 01666e4c0597: Download complete [2020-10-23T02:50:39.348Z] 93b61091891f: Download complete [2020-10-23T02:50:39.614Z] df20fa9351a1: Pull complete [2020-10-23T02:50:39.880Z] 36b3adc4ff6f: Pull complete [2020-10-23T02:50:39.881Z] 8ad3a11d3b57: Verifying Checksum [2020-10-23T02:50:39.881Z] 8ad3a11d3b57: Download complete [2020-10-23T02:50:40.475Z] 8ad3a11d3b57: Pull complete [2020-10-23T02:50:40.748Z] 46f8f816bc3b: Pull complete [2020-10-23T02:50:41.384Z] 93b61091891f: Pull complete [2020-10-23T02:50:41.384Z] 93b9cdb0e59b: Pull complete [2020-10-23T02:50:41.651Z] 5e14af77c1be: Pull complete [2020-10-23T02:50:41.651Z] aa168da1d23b: Verifying Checksum [2020-10-23T02:50:41.651Z] aa168da1d23b: Download complete [2020-10-23T02:50:41.651Z] 01666e4c0597: Pull complete [2020-10-23T02:50:49.839Z] aa168da1d23b: Pull complete [2020-10-23T02:50:49.839Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-23T02:50:49.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-23T02:50:49.839Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-23T02:50:50.074Z] prd-centos7-docker-4c-2g-8354 does not seem to be running inside a container [2020-10-23T02:50:50.128Z] $ 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-639/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-639 -v /w/workspace/dgexfoundry_device-sdk-go_PR-639:/w/workspace/dgexfoundry_device-sdk-go_PR-639:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-639@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:10003/edgex-lftools-log-publisher:alpine cat [2020-10-23T02:50:54.217Z] $ docker top 020b2dd185c5def72764734825679d5dd53b0e15dcc9caed80afa61c0b56eb83 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:50:54.710Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-23T02:50:55.010Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-23T02:50:55.311Z] + ls /var/log/sa-host [2020-10-23T02:50:55.312Z] + sadf -c /var/log/sa-host/sa05 [2020-10-23T02:50:55.312Z] file_magic: OK [2020-10-23T02:50:55.312Z] HZ: Using current value: 100 [2020-10-23T02:50:55.312Z] file_header: OK [2020-10-23T02:50:55.312Z] 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-23T02:50:55.312Z] Statistics: [2020-10-23T02:50:55.312Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-23T02:50:55.312Z] File successfully converted to sysstat format version 12.2.1 [2020-10-23T02:50:55.312Z] + sadf -c /var/log/sa-host/sa23 [2020-10-23T02:50:55.312Z] file_magic: OK [2020-10-23T02:50:55.312Z] HZ: Using current value: 100 [2020-10-23T02:50:55.312Z] file_header: OK [2020-10-23T02:50:55.312Z] 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-23T02:50:55.312Z] Statistics: [2020-10-23T02:50:55.312Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-23T02:50:55.312Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-23T02:50:55.514Z] provisioning config files... [2020-10-23T02:50:55.536Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/config7019873105612804297tmp [Pipeline] { [Pipeline] echo [2020-10-23T02:50:55.611Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:50:55.920Z] ---> create-netrc.sh [Pipeline] } [2020-10-23T02:50:55.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-23T02:50:56.025Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:50:56.325Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-23T02:50:56.336Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:50:56.633Z] ---> sudo-logs.sh [2020-10-23T02:50:56.633Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-23T02:50:56.645Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:50:56.945Z] ---> job-cost.sh [2020-10-23T02:50:56.945Z] lf-activate-venv: SKIPPING [2020-10-23T02:50:56.945Z] INFO: No Stack... [2020-10-23T02:50:58.344Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-23T02:50:58.918Z] INFO: Archiving Costs [Pipeline] echo [2020-10-23T02:50:58.932Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:50:59.229Z] ---> logs-deploy.sh [2020-10-23T02:50:59.229Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-639/2 [2020-10-23T02:50:59.229Z] INFO: archiving workspace using pattern(s): [2020-10-23T02:51:01.154Z] Archives upload complete. [2020-10-23T02:51:01.154Z] INFO: archiving logs to Nexus