Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b+10f5d80329275e8e77aa5b449b49b1589ab3bade (e7e08d8d3a73660f9e78d155fdbeba165813cf94) 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 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 > 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 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 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-5796 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [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-582 # 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 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b Merge succeeded, producing acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b Checking out Revision acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b (PR-582) > 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b # 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 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 031d93faa1cbad6f2448e7e21680733aa0ca7f78 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-16T06:53:03.178Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-16T06:53:03.455Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-16T06:53:03.562Z] ========================================================= [2020-10-16T06:53:03.562Z] EdgeX Global Pipelines Version Info [2020-10-16T06:53:03.562Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:53:05.044Z] ------------------- [2020-10-16T06:53:05.044Z] stable info: [2020-10-16T06:53:05.044Z] ------------------- [2020-10-16T06:53:05.044Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T06:53:05.044Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T06:53:05.044Z] Message: update stable to v1.0.144 [2020-10-16T06:53:05.990Z] ------------------- [2020-10-16T06:53:05.990Z] experimental info: [2020-10-16T06:53:05.990Z] ------------------- [2020-10-16T06:53:05.990Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T06:53:05.990Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T06:53:05.990Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-16T06:53:06.359Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-16T06:53:06.449Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-16T06:53:06.543Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-16T06:53:06.632Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-16T06:53:06.722Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-16T06:53:06.811Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-16T06:53:06.924Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-16T06:53:07.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-16T06:53:07.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-16T06:53:07.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-16T06:53:07.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-16T06:53:07.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-16T06:53:07.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-16T06:53:07.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-16T06:53:07.794Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-16T06:53:07.884Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:53:07.987Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:53:08.073Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:53:08.248Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-16T06:53:08.348Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-16T06:53:08.465Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-16T06:53:08.552Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-16T06:53:08.637Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-16T06:53:08.742Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-16T06:53:08.853Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-16T06:53:08.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2020-10-16T06:53:09.047Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2020-10-16T06:53:09.147Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2020-10-16T06:53:09.238Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b [Pipeline] echo [2020-10-16T06:53:09.350Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = acaf1ce [Pipeline] echo [2020-10-16T06:53:09.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T06:53:10.070Z] + git log --format=format:%s -1 acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b [Pipeline] echo [2020-10-16T06:53:10.149Z] GIT_COMMIT: acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 [Pipeline] echo [2020-10-16T06:53:10.191Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:53:10.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:53:11.426Z] [2020-10-16T06:53:11.426Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:53:11.797Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:53:11.798Z] latest: Pulling from edgex-devops/git-semver [2020-10-16T06:53:11.798Z] 31603596830f: Pulling fs layer [2020-10-16T06:53:11.798Z] 2a8b12db71e7: Pulling fs layer [2020-10-16T06:53:11.798Z] 6ca5941a6612: Pulling fs layer [2020-10-16T06:53:11.798Z] ecc8261a40a4: Pulling fs layer [2020-10-16T06:53:11.798Z] ecc8261a40a4: Waiting [2020-10-16T06:53:11.798Z] 2a8b12db71e7: Download complete [2020-10-16T06:53:12.070Z] 31603596830f: Verifying Checksum [2020-10-16T06:53:12.070Z] 31603596830f: Download complete [2020-10-16T06:53:12.070Z] ecc8261a40a4: Verifying Checksum [2020-10-16T06:53:12.070Z] ecc8261a40a4: Download complete [2020-10-16T06:53:12.070Z] 6ca5941a6612: Verifying Checksum [2020-10-16T06:53:12.070Z] 6ca5941a6612: Download complete [2020-10-16T06:53:12.333Z] 31603596830f: Pull complete [2020-10-16T06:53:12.909Z] 2a8b12db71e7: Pull complete [2020-10-16T06:53:13.497Z] 6ca5941a6612: Pull complete [2020-10-16T06:53:13.761Z] ecc8261a40a4: Pull complete [2020-10-16T06:53:13.761Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-16T06:53:14.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:53:14.024Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-16T06:53:14.180Z] prd-centos7-docker-4c-2g-5796 does not seem to be running inside a container [2020-10-16T06:53:14.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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-16T06:53:16.362Z] $ docker top fff414be6389849537e152ce916ea4ad604e67c39a3f89147bcc78c71146d48f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-16T06:53:16.722Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T06:53:16.722Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T06:53:16.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T06:53:16.974Z] $ docker exec fff414be6389849537e152ce916ea4ad604e67c39a3f89147bcc78c71146d48f ssh-agent [2020-10-16T06:53:17.186Z] SSH_AUTH_SOCK=/tmp/ssh-zEjCQiUnBWfE/agent.11 [2020-10-16T06:53:17.186Z] SSH_AGENT_PID=16 [2020-10-16T06:53:17.208Z] Running ssh-add (command line suppressed) [2020-10-16T06:53:17.338Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3202831073321266569.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3202831073321266569.key) [2020-10-16T06:53:17.416Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T06:53:17.801Z] + git tag --points-at HEAD [Pipeline] } [2020-10-16T06:53:17.842Z] $ docker exec --env ******** --env ******** fff414be6389849537e152ce916ea4ad604e67c39a3f89147bcc78c71146d48f ssh-agent -k [2020-10-16T06:53:17.972Z] unset SSH_AUTH_SOCK; [2020-10-16T06:53:17.973Z] unset SSH_AGENT_PID; [2020-10-16T06:53:17.973Z] echo Agent pid 16 killed; [2020-10-16T06:53:18.027Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-16T06:53:18.210Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T06:53:18.210Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T06:53:18.414Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T06:53:18.421Z] $ docker exec fff414be6389849537e152ce916ea4ad604e67c39a3f89147bcc78c71146d48f ssh-agent [2020-10-16T06:53:18.623Z] SSH_AUTH_SOCK=/tmp/ssh-bntxEhxK3J7Z/agent.44 [2020-10-16T06:53:18.623Z] SSH_AGENT_PID=49 [2020-10-16T06:53:18.637Z] Running ssh-add (command line suppressed) [2020-10-16T06:53:18.771Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_849201760159226682.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_849201760159226682.key) [2020-10-16T06:53:18.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T06:53:19.254Z] + git semver init [2020-10-16T06:53:19.255Z] # -> Open(): unable to determine branch for HEAD [2020-10-16T06:53:19.255Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git [2020-10-16T06:53:19.255Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-16T06:53:19.255Z] # $SEMVER_REMOTE_NAME = origin [2020-10-16T06:53:19.255Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-16T06:53:19.255Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-16T06:53:19.255Z] # $SEMVER_BRANCH = PR-582 [2020-10-16T06:53:19.255Z] # $SEMVER_TEMP = /tmp/semver-513329860 [2020-10-16T06:53:19.255Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-16T06:53:19.876Z] # '/tmp/semver-513329860' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' [2020-10-16T06:53:19.876Z] # -> Force: false [2020-10-16T06:53:19.876Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } [2020-10-16T06:53:19.912Z] $ docker exec --env ******** --env ******** fff414be6389849537e152ce916ea4ad604e67c39a3f89147bcc78c71146d48f ssh-agent -k [2020-10-16T06:53:20.052Z] unset SSH_AUTH_SOCK; [2020-10-16T06:53:20.052Z] unset SSH_AGENT_PID; [2020-10-16T06:53:20.052Z] echo Agent pid 49 killed; [2020-10-16T06:53:20.123Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-16T06:53:20.984Z] + git semver [Pipeline] } [2020-10-16T06:53:21.019Z] $ docker stop --time=1 fff414be6389849537e152ce916ea4ad604e67c39a3f89147bcc78c71146d48f [2020-10-16T06:53:22.399Z] $ docker rm -f fff414be6389849537e152ce916ea4ad604e67c39a3f89147bcc78c71146d48f [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-16T06:53:22.964Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-16T06:53:23.703Z] Stashed 1 file(s) [Pipeline] echo [2020-10-16T06:53:23.706Z] [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-16T06:53:39.382Z] Still waiting to schedule task [2020-10-16T06:53:39.383Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5786’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-16T06:53:39.394Z] Still waiting to schedule task [2020-10-16T06:53:39.394Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-16T06:53:56.868Z] Running on prd-centos7-docker-4c-2g-5801 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-16T06:53:56.947Z] Running in /w/workspace/device-sdk-go/23 [Pipeline] { [Pipeline] checkout [2020-10-16T06:54:00.685Z] using credential edgex-jenkins-ssh [2020-10-16T06:54:00.768Z] Cloning the remote Git repository [2020-10-16T06:54:00.802Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:54:00.902Z] > git init /w/workspace/device-sdk-go/23 # timeout=10 [2020-10-16T06:54:00.967Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:54:00.967Z] > git --version # timeout=10 [2020-10-16T06:54:00.974Z] > git --version # 'git version 2.16.5' [2020-10-16T06:54:00.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:54:01.001Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:54:02.438Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:54:02.447Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:54:02.460Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:54:02.475Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:54:02.475Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:54:02.481Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T06:54:03.327Z] Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b [2020-10-16T06:54:03.451Z] Merge succeeded, producing acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b [2020-10-16T06:54:03.451Z] Checking out Revision acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b (PR-582) [2020-10-16T06:54:03.336Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:54:03.343Z] > git checkout -f acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b # timeout=10 [2020-10-16T06:54:03.406Z] > git remote # timeout=10 [2020-10-16T06:54:03.412Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T06:54:03.423Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:54:03.427Z] > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 [2020-10-16T06:54:03.438Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T06:54:03.453Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:54:03.457Z] > git checkout -f acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b # timeout=10 [2020-10-16T06:54:07.217Z] Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T06:54:08.080Z] ========================================================= [2020-10-16T06:54:08.080Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-16T06:54:08.080Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:54:08.902Z] + 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-16T06:54:09.165Z] Sending build context to Docker daemon 2.315MB [2020-10-16T06:54:09.165Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T06:54:09.165Z] Step 2/8 : FROM ${BASE} [2020-10-16T06:54:09.433Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-16T06:54:09.433Z] df20fa9351a1: Pulling fs layer [2020-10-16T06:54:09.433Z] ed8968b2872e: Pulling fs layer [2020-10-16T06:54:09.433Z] a92cc7c5fd73: Pulling fs layer [2020-10-16T06:54:09.433Z] e871e8e8d7a9: Pulling fs layer [2020-10-16T06:54:09.433Z] e73272ec9a57: Pulling fs layer [2020-10-16T06:54:09.433Z] 1e910a182e73: Pulling fs layer [2020-10-16T06:54:09.433Z] 4e634b169226: Pulling fs layer [2020-10-16T06:54:09.433Z] 1e910a182e73: Waiting [2020-10-16T06:54:09.433Z] e871e8e8d7a9: Waiting [2020-10-16T06:54:09.433Z] 4e634b169226: Waiting [2020-10-16T06:54:09.433Z] e73272ec9a57: Waiting [2020-10-16T06:54:09.433Z] a92cc7c5fd73: Verifying Checksum [2020-10-16T06:54:09.433Z] a92cc7c5fd73: Download complete [2020-10-16T06:54:09.433Z] ed8968b2872e: Verifying Checksum [2020-10-16T06:54:09.433Z] ed8968b2872e: Download complete [2020-10-16T06:54:09.433Z] e73272ec9a57: Verifying Checksum [2020-10-16T06:54:09.433Z] e73272ec9a57: Download complete [2020-10-16T06:54:09.699Z] 1e910a182e73: Verifying Checksum [2020-10-16T06:54:09.699Z] 1e910a182e73: Download complete [2020-10-16T06:54:09.699Z] df20fa9351a1: Download complete [2020-10-16T06:54:09.964Z] df20fa9351a1: Pull complete [2020-10-16T06:54:09.964Z] ed8968b2872e: Pull complete [2020-10-16T06:54:10.228Z] a92cc7c5fd73: Pull complete [2020-10-16T06:54:14.450Z] 4e634b169226: Verifying Checksum [2020-10-16T06:54:14.450Z] 4e634b169226: Download complete [2020-10-16T06:54:15.405Z] e871e8e8d7a9: Verifying Checksum [2020-10-16T06:54:15.405Z] e871e8e8d7a9: Download complete [2020-10-16T06:54:20.757Z] e871e8e8d7a9: Pull complete [2020-10-16T06:54:20.757Z] e73272ec9a57: Pull complete [2020-10-16T06:54:20.757Z] 1e910a182e73: Pull complete [2020-10-16T06:54:25.966Z] 4e634b169226: Pull complete [2020-10-16T06:54:25.966Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-16T06:54:25.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-16T06:54:25.966Z] ---> f7629b54cfaa [2020-10-16T06:54:25.966Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:54:25.966Z] ---> Running in 72fe90f5d0ae [2020-10-16T06:54:26.233Z] Removing intermediate container 72fe90f5d0ae [2020-10-16T06:54:26.233Z] ---> 7076c973a62b [2020-10-16T06:54:26.233Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:54:26.233Z] ---> Running in aae0b0eb490c [2020-10-16T06:54:28.170Z] Removing intermediate container aae0b0eb490c [2020-10-16T06:54:28.171Z] ---> 5cf0099519f5 [2020-10-16T06:54:28.171Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T06:54:28.171Z] ---> Running in 3f87b8567264 [2020-10-16T06:54:28.749Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T06:54:30.143Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T06:54:32.704Z] OK: 166 MiB in 39 packages [2020-10-16T06:54:32.967Z] Removing intermediate container 3f87b8567264 [2020-10-16T06:54:32.967Z] ---> 45154c73d193 [2020-10-16T06:54:32.967Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T06:54:32.967Z] ---> Running in e7500b94ffa4 [2020-10-16T06:54:33.229Z] Removing intermediate container e7500b94ffa4 [2020-10-16T06:54:33.229Z] ---> 83d6290f814c [2020-10-16T06:54:33.229Z] Step 7/8 : COPY . . [2020-10-16T06:54:34.182Z] ---> a0a2c941403c [2020-10-16T06:54:34.182Z] Step 8/8 : RUN go mod download [2020-10-16T06:54:34.444Z] ---> Running in 8a78b0f779ce [2020-10-16T06:54:56.500Z] Removing intermediate container 8a78b0f779ce [2020-10-16T06:54:56.500Z] ---> 7086953ff79b [2020-10-16T06:54:56.500Z] Successfully built 7086953ff79b [2020-10-16T06:54:56.500Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:54:56.875Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T06:54:56.875Z] . [Pipeline] withDockerContainer [2020-10-16T06:54:56.978Z] prd-centos7-docker-4c-2g-5801 does not seem to be running inside a container [2020-10-16T06:54:57.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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-x86_64 cat [2020-10-16T06:54:58.007Z] $ docker top c18e68f068fd6ce0dd69ac2486525df4ec471f29aac79f7977ba089f7c496093 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:54:58.525Z] + go version [2020-10-16T06:54:58.525Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-16T06:54:58.543Z] $ docker stop --time=1 c18e68f068fd6ce0dd69ac2486525df4ec471f29aac79f7977ba089f7c496093 [2020-10-16T06:54:59.902Z] $ docker rm -f c18e68f068fd6ce0dd69ac2486525df4ec471f29aac79f7977ba089f7c496093 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:55:00.962Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T06:55:00.963Z] . [Pipeline] withDockerContainer [2020-10-16T06:55:01.122Z] prd-centos7-docker-4c-2g-5801 does not seem to be running inside a container [2020-10-16T06:55:01.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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-x86_64 cat [2020-10-16T06:55:01.923Z] $ docker top 95dcbfb3d39066cb878c79a356ade179874c2ab41d1b299751b2993e1606dd40 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:55:02.491Z] + make test [2020-10-16T06:55:02.491Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T06:55:10.686Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T06:55:25.753Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T06:55:25.753Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T06:55:25.753Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T06:55:25.753Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 21.6% of statements [2020-10-16T06:55:26.023Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.443s coverage: 97.1% of statements [2020-10-16T06:55:58.187Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.071s coverage: 9.4% of statements [2020-10-16T06:55:58.187Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.048s coverage: 21.9% of statements [2020-10-16T06:55:58.187Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T06:55:58.187Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.220s coverage: 42.6% of statements [2020-10-16T06:55:58.187Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T06:55:58.187Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.273s coverage: 68.9% of statements [2020-10-16T06:55:58.187Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T06:55:58.187Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T06:55:58.187Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T06:55:58.187Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T06:55:58.187Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements [2020-10-16T06:55:58.187Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T06:55:58.187Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T06:55:58.187Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T06:55:58.187Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.420s coverage: 68.9% of statements [2020-10-16T06:55:58.187Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T06:55:58.187Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T06:55:58.187Z] GO111MODULE=on go vet ./... [2020-10-16T06:56:04.886Z] gofmt -l . [2020-10-16T06:56:04.886Z] [ "`gofmt -l .`" = "" ] [2020-10-16T06:56:04.886Z] ./bin/test-attribution-txt.sh [2020-10-16T06:56:04.886Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T06:56:05.506Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T06:56:05.514Z] $ docker stop --time=1 95dcbfb3d39066cb878c79a356ade179874c2ab41d1b299751b2993e1606dd40 [2020-10-16T06:56:07.384Z] $ docker rm -f 95dcbfb3d39066cb878c79a356ade179874c2ab41d1b299751b2993e1606dd40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-16T06:56:08.914Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T06:56:09.227Z] + ls -al . [2020-10-16T06:56:09.227Z] total 188 [2020-10-16T06:56:09.227Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 06:56 . [2020-10-16T06:56:09.227Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 06:54 .. [2020-10-16T06:56:09.227Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 06:54 bin [2020-10-16T06:56:09.227Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 16 06:55 coverage.out [2020-10-16T06:56:09.227Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 06:54 Dockerfile.build [2020-10-16T06:56:09.227Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 06:54 .dockerignore [2020-10-16T06:56:09.227Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 06:54 example [2020-10-16T06:56:09.227Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 06:54 .git [2020-10-16T06:56:09.227Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 06:54 .github [2020-10-16T06:56:09.227Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 06:54 .gitignore [2020-10-16T06:56:09.227Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 16 06:56 go.mod [2020-10-16T06:56:09.227Z] -rw-r--r--. 1 jenkins jenkins 13731 Oct 16 06:56 go.sum [2020-10-16T06:56:09.227Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 06:54 internal [2020-10-16T06:56:09.227Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 06:54 Jenkinsfile [2020-10-16T06:56:09.227Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 06:54 LICENSE [2020-10-16T06:56:09.227Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 06:54 Makefile [2020-10-16T06:56:09.227Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 06:54 openapi [2020-10-16T06:56:09.227Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 06:54 pkg [2020-10-16T06:56:09.227Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 06:54 README.md [2020-10-16T06:56:09.227Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 06:54 RELEASE-NOTES.txt [2020-10-16T06:56:09.227Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 06:54 snap [2020-10-16T06:56:09.227Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 06:53 VERSION [2020-10-16T06:56:09.227Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 06:54 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:56:09.565Z] + 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=acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b --label arch=amd64 --label version=0.0.0 . [2020-10-16T06:56:09.838Z] Sending build context to Docker daemon 2.426MB [2020-10-16T06:56:09.838Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T06:56:09.838Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T06:56:09.838Z] ---> 7086953ff79b [2020-10-16T06:56:09.838Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T06:56:10.418Z] ---> Running in 83c7e9836192 [2020-10-16T06:56:10.418Z] Removing intermediate container 83c7e9836192 [2020-10-16T06:56:10.418Z] ---> 3d3b18de6f3b [2020-10-16T06:56:10.418Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T06:56:10.682Z] ---> Running in 180b80c5624e [2020-10-16T06:56:10.682Z] Removing intermediate container 180b80c5624e [2020-10-16T06:56:10.682Z] ---> ef9b812d3dab [2020-10-16T06:56:10.682Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:56:10.682Z] ---> Running in 811b5791d80b [2020-10-16T06:56:10.946Z] Removing intermediate container 811b5791d80b [2020-10-16T06:56:10.946Z] ---> 10cf28718e38 [2020-10-16T06:56:10.946Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:56:10.946Z] ---> Running in 829c029589ba [2020-10-16T06:56:11.899Z] Removing intermediate container 829c029589ba [2020-10-16T06:56:11.899Z] ---> f519b408c442 [2020-10-16T06:56:11.899Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T06:56:12.163Z] ---> Running in 38c6b1d32725 [2020-10-16T06:56:12.740Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T06:56:13.321Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T06:56:14.274Z] OK: 166 MiB in 39 packages [2020-10-16T06:56:14.536Z] Removing intermediate container 38c6b1d32725 [2020-10-16T06:56:14.536Z] ---> 5c3ed76802b1 [2020-10-16T06:56:14.536Z] Step 8/24 : COPY . . [2020-10-16T06:56:15.492Z] ---> 3228ee071abb [2020-10-16T06:56:15.492Z] Step 9/24 : RUN ${MAKE} [2020-10-16T06:56:15.766Z] ---> Running in 41b8a530a5a8 [2020-10-16T06:56:16.036Z] 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-16T06:56:19.553Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5805 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-16T06:56:19.620Z] Running in /w/workspace/device-sdk-go/23 [Pipeline] { [Pipeline] checkout [2020-10-16T06:56:24.246Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T06:56:25.836Z] using credential edgex-jenkins-ssh [2020-10-16T06:56:25.931Z] Cloning the remote Git repository [2020-10-16T06:56:26.203Z] Removing intermediate container 41b8a530a5a8 [2020-10-16T06:56:26.203Z] ---> 7559d7d80480 [2020-10-16T06:56:26.203Z] Step 10/24 : FROM scratch [2020-10-16T06:56:26.203Z] ---> [2020-10-16T06:56:26.203Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:56:26.203Z] ---> Running in 8635947c7817 [2020-10-16T06:56:26.203Z] Removing intermediate container 8635947c7817 [2020-10-16T06:56:26.203Z] ---> 91df34bfa8b8 [2020-10-16T06:56:26.203Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T06:56:26.203Z] ---> Running in 194d6832a30f [2020-10-16T06:56:26.060Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:56:26.216Z] > git init /w/workspace/device-sdk-go/23 # timeout=10 [2020-10-16T06:56:26.561Z] Removing intermediate container 194d6832a30f [2020-10-16T06:56:26.561Z] ---> fa288b9d10e1 [2020-10-16T06:56:26.561Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T06:56:26.561Z] ---> Running in 8dd29a7f9cd5 [2020-10-16T06:56:26.561Z] Removing intermediate container 8dd29a7f9cd5 [2020-10-16T06:56:26.561Z] ---> 47535fdb8cc0 [2020-10-16T06:56:26.561Z] Step 14/24 : WORKDIR / [2020-10-16T06:56:26.875Z] ---> Running in 1d4acb9010ea [2020-10-16T06:56:26.875Z] Removing intermediate container 1d4acb9010ea [2020-10-16T06:56:26.875Z] ---> b10f8fb1d47e [2020-10-16T06:56:26.875Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T06:56:26.306Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:56:26.307Z] > git --version # timeout=10 [2020-10-16T06:56:26.330Z] > git --version # 'git version 2.17.1' [2020-10-16T06:56:26.332Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:56:26.389Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:56:27.597Z] ---> 602b4a6dbe24 [2020-10-16T06:56:27.597Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T06:56:27.597Z] ---> d9d8d360ae48 [2020-10-16T06:56:27.597Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T06:56:27.909Z] ---> 66ed2b5b89fb [2020-10-16T06:56:27.909Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T06:56:28.179Z] ---> 0eda77773da1 [2020-10-16T06:56:28.179Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T06:56:28.207Z] Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b [2020-10-16T06:56:28.444Z] ---> 54b2ee36c0c0 [2020-10-16T06:56:28.444Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T06:56:28.444Z] ---> Running in 9fdbc6ac169d [2020-10-16T06:56:28.444Z] Removing intermediate container 9fdbc6ac169d [2020-10-16T06:56:28.444Z] ---> bb942817f73b [2020-10-16T06:56:28.444Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T06:56:28.475Z] Merge succeeded, producing acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b [2020-10-16T06:56:28.476Z] Checking out Revision acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b (PR-582) [2020-10-16T06:56:28.707Z] ---> Running in fe2d2ccab30c [2020-10-16T06:56:28.707Z] Removing intermediate container fe2d2ccab30c [2020-10-16T06:56:28.707Z] ---> 8c3b7e8428a5 [2020-10-16T06:56:28.707Z] Step 22/24 : LABEL arch=amd64 [2020-10-16T06:56:28.707Z] ---> Running in 0c61d792ce98 [2020-10-16T06:56:27.586Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:56:27.607Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:56:27.659Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:56:27.697Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:56:27.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:56:27.709Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T06:56:28.234Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:56:28.253Z] > git checkout -f acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b # timeout=10 [2020-10-16T06:56:28.384Z] > git remote # timeout=10 [2020-10-16T06:56:28.405Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T06:56:28.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:56:28.433Z] > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 [2020-10-16T06:56:28.460Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T06:56:28.487Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:56:28.499Z] > git checkout -f acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b # timeout=10 [2020-10-16T06:56:28.971Z] Removing intermediate container 0c61d792ce98 [2020-10-16T06:56:28.971Z] ---> 6233bba8a109 [2020-10-16T06:56:28.971Z] Step 23/24 : LABEL git_sha=acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b [2020-10-16T06:56:28.971Z] ---> Running in 76faa2724393 [2020-10-16T06:56:29.233Z] Removing intermediate container 76faa2724393 [2020-10-16T06:56:29.233Z] ---> 1bdfece1d5f6 [2020-10-16T06:56:29.233Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T06:56:29.233Z] ---> Running in afe4dd74f526 [2020-10-16T06:56:29.500Z] Removing intermediate container afe4dd74f526 [2020-10-16T06:56:29.500Z] ---> 7f4808643f3e [2020-10-16T06:56:29.500Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T06:56:29.500Z] Successfully built 7f4808643f3e [2020-10-16T06:56:29.500Z] 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-16T06:56:33.342Z] Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T06:56:34.256Z] ========================================================= [2020-10-16T06:56:34.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-16T06:56:34.257Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:56:35.385Z] + 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-16T06:56:36.418Z] Sending build context to Docker daemon 2.313MB [2020-10-16T06:56:36.418Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T06:56:36.418Z] Step 2/8 : FROM ${BASE} [2020-10-16T06:56:37.027Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-16T06:56:37.027Z] b538f80385f9: Pulling fs layer [2020-10-16T06:56:37.027Z] 74f711af9a0d: Pulling fs layer [2020-10-16T06:56:37.027Z] 99f96fe45779: Pulling fs layer [2020-10-16T06:56:37.027Z] 8529a6b9a6be: Pulling fs layer [2020-10-16T06:56:37.027Z] 45590311c82a: Pulling fs layer [2020-10-16T06:56:37.027Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-16T06:56:37.027Z] 209524e5b208: Pulling fs layer [2020-10-16T06:56:37.027Z] 8529a6b9a6be: Waiting [2020-10-16T06:56:37.027Z] 45590311c82a: Waiting [2020-10-16T06:56:37.027Z] 69ca0ff8b7b3: Waiting [2020-10-16T06:56:37.027Z] 209524e5b208: Waiting [2020-10-16T06:56:37.027Z] 99f96fe45779: Verifying Checksum [2020-10-16T06:56:37.027Z] 99f96fe45779: Download complete [2020-10-16T06:56:37.027Z] 74f711af9a0d: Download complete [2020-10-16T06:56:37.027Z] 45590311c82a: Verifying Checksum [2020-10-16T06:56:37.027Z] 45590311c82a: Download complete [2020-10-16T06:56:37.027Z] b538f80385f9: Verifying Checksum [2020-10-16T06:56:37.027Z] b538f80385f9: Download complete [2020-10-16T06:56:37.027Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-16T06:56:37.027Z] 69ca0ff8b7b3: Download complete [2020-10-16T06:56:37.693Z] b538f80385f9: Pull complete [2020-10-16T06:56:38.417Z] 74f711af9a0d: Pull complete [2020-10-16T06:56:38.711Z] 99f96fe45779: Pull complete [2020-10-16T06:56:40.745Z] 209524e5b208: Verifying Checksum [2020-10-16T06:56:40.745Z] 209524e5b208: Download complete [2020-10-16T06:56:41.028Z] 8529a6b9a6be: Verifying Checksum [2020-10-16T06:56:41.028Z] 8529a6b9a6be: Download complete [2020-10-16T06:56:51.278Z] 8529a6b9a6be: Pull complete [2020-10-16T06:56:51.553Z] 45590311c82a: Pull complete [2020-10-16T06:56:51.829Z] 69ca0ff8b7b3: Pull complete [2020-10-16T06:56:55.242Z] 209524e5b208: Pull complete [2020-10-16T06:56:55.242Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-16T06:56:55.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-16T06:56:55.242Z] ---> 5bddaf1c2fca [2020-10-16T06:56:55.242Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:56:57.875Z] ---> Running in b43029180835 [2020-10-16T06:56:58.474Z] Removing intermediate container b43029180835 [2020-10-16T06:56:58.474Z] ---> 9c413ef022d6 [2020-10-16T06:56:58.474Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:56:58.474Z] ---> Running in 77e1770e8ef8 [2020-10-16T06:57:01.883Z] Removing intermediate container 77e1770e8ef8 [2020-10-16T06:57:01.883Z] ---> c2241e9a55e4 [2020-10-16T06:57:01.883Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T06:57:01.883Z] ---> Running in 7b9bf8b5d7b9 [2020-10-16T06:57:02.861Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T06:57:03.841Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T06:57:04.818Z] OK: 142 MiB in 39 packages [2020-10-16T06:57:05.806Z] Removing intermediate container 7b9bf8b5d7b9 [2020-10-16T06:57:05.806Z] ---> b39162c8bf35 [2020-10-16T06:57:05.806Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T06:57:06.080Z] ---> Running in a1c4a85ab8ce [2020-10-16T06:57:06.357Z] Removing intermediate container a1c4a85ab8ce [2020-10-16T06:57:06.357Z] ---> 0b7570d33a7e [2020-10-16T06:57:06.357Z] Step 7/8 : COPY . . [2020-10-16T06:57:07.798Z] ---> 370fad7e0b43 [2020-10-16T06:57:07.798Z] Step 8/8 : RUN go mod download [2020-10-16T06:57:07.798Z] ---> Running in e0c7c7e2f3a3 [2020-10-16T06:57:34.643Z] Removing intermediate container e0c7c7e2f3a3 [2020-10-16T06:57:34.643Z] ---> c74215505fcf [2020-10-16T06:57:34.643Z] Successfully built c74215505fcf [2020-10-16T06:57:34.643Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:57:35.126Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T06:57:35.126Z] . [Pipeline] withDockerContainer [2020-10-16T06:57:35.439Z] prd-ubuntu18.04-docker-arm64-4c-16g-5805 does not seem to be running inside a container [2020-10-16T06:57:35.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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-arm64 cat [2020-10-16T06:57:37.636Z] $ docker top 90b0c4340caaeca3fc9ca2d80ce57102c73ba01655c65b2c1b54f27e434b2d81 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:57:39.108Z] + go version [2020-10-16T06:57:39.108Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-16T06:57:39.151Z] $ docker stop --time=1 90b0c4340caaeca3fc9ca2d80ce57102c73ba01655c65b2c1b54f27e434b2d81 [2020-10-16T06:57:41.151Z] $ docker rm -f 90b0c4340caaeca3fc9ca2d80ce57102c73ba01655c65b2c1b54f27e434b2d81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:57:42.302Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T06:57:42.302Z] . [Pipeline] withDockerContainer [2020-10-16T06:57:42.614Z] prd-ubuntu18.04-docker-arm64-4c-16g-5805 does not seem to be running inside a container [2020-10-16T06:57:42.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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-arm64 cat [2020-10-16T06:57:44.814Z] $ docker top 5b42335df9b77b7cc148bc5fb26858c73dd443aadad4e001c22fa76987abc5f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:57:46.355Z] + make test [2020-10-16T06:57:46.356Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T06:58:08.599Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T06:58:55.652Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T06:58:55.652Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T06:58:55.652Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T06:58:55.652Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.116s coverage: 21.6% of statements [2020-10-16T06:58:55.652Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.172s coverage: 97.1% of statements [2020-10-16T06:59:22.469Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.124s coverage: 9.4% of statements [2020-10-16T06:59:22.469Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.115s coverage: 21.9% of statements [2020-10-16T06:59:22.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T06:59:22.469Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.550s coverage: 42.6% of statements [2020-10-16T06:59:22.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T06:59:22.469Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.715s coverage: 68.9% of statements [2020-10-16T06:59:22.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T06:59:22.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T06:59:22.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T06:59:22.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T06:59:22.469Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.179s coverage: 52.6% of statements [2020-10-16T06:59:22.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T06:59:22.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T06:59:22.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T06:59:22.469Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.858s coverage: 68.9% of statements [2020-10-16T06:59:22.469Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T06:59:22.469Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T06:59:23.071Z] GO111MODULE=on go vet ./... [2020-10-16T06:59:56.808Z] gofmt -l . [2020-10-16T06:59:56.808Z] [ "`gofmt -l .`" = "" ] [2020-10-16T06:59:56.808Z] ./bin/test-attribution-txt.sh [2020-10-16T06:59:56.808Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T06:59:56.829Z] Warning: overwriting stash ‘coverage-report’ [2020-10-16T06:59:57.635Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T06:59:57.648Z] $ docker stop --time=1 5b42335df9b77b7cc148bc5fb26858c73dd443aadad4e001c22fa76987abc5f6 [2020-10-16T06:59:59.817Z] $ docker rm -f 5b42335df9b77b7cc148bc5fb26858c73dd443aadad4e001c22fa76987abc5f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T07:00:01.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T07:00:01.696Z] + ls -al . [2020-10-16T07:00:01.696Z] total 224 [2020-10-16T07:00:01.696Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 06:59 . [2020-10-16T07:00:01.696Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 .. [2020-10-16T07:00:01.696Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 06:56 .dockerignore [2020-10-16T07:00:01.696Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 06:56 .git [2020-10-16T07:00:01.696Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:56 .github [2020-10-16T07:00:01.696Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 06:56 .gitignore [2020-10-16T07:00:01.696Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 06:56 Dockerfile.build [2020-10-16T07:00:01.696Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 06:56 Jenkinsfile [2020-10-16T07:00:01.696Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 06:56 LICENSE [2020-10-16T07:00:01.696Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 06:56 Makefile [2020-10-16T07:00:01.696Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 06:56 README.md [2020-10-16T07:00:01.696Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 06:56 RELEASE-NOTES.txt [2020-10-16T07:00:01.696Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 06:53 VERSION [2020-10-16T07:00:01.696Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:56 bin [2020-10-16T07:00:01.696Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 16 06:59 coverage.out [2020-10-16T07:00:01.696Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 example [2020-10-16T07:00:01.696Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 16 06:59 go.mod [2020-10-16T07:00:01.696Z] -rw-r--r-- 1 jenkins jenkins 13731 Oct 16 06:59 go.sum [2020-10-16T07:00:01.696Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 06:56 internal [2020-10-16T07:00:01.696Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 openapi [2020-10-16T07:00:01.696Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 06:56 pkg [2020-10-16T07:00:01.696Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 snap [2020-10-16T07:00:01.696Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 06:56 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T07:00:02.172Z] + 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=acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b --label arch=arm64 --label version=0.0.0 . [2020-10-16T07:00:02.465Z] Sending build context to Docker daemon 2.424MB [2020-10-16T07:00:02.465Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T07:00:02.465Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T07:00:02.465Z] ---> c74215505fcf [2020-10-16T07:00:02.465Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T07:00:02.736Z] ---> Running in 3879c0016a8b [2020-10-16T07:00:03.369Z] Removing intermediate container 3879c0016a8b [2020-10-16T07:00:03.369Z] ---> 68eb2281e02b [2020-10-16T07:00:03.369Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T07:00:03.369Z] ---> Running in 66bc4ea7d839 [2020-10-16T07:00:03.986Z] Removing intermediate container 66bc4ea7d839 [2020-10-16T07:00:03.986Z] ---> c09de06ac2e8 [2020-10-16T07:00:03.986Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T07:00:03.986Z] ---> Running in cd0cb9966f0b [2020-10-16T07:00:04.267Z] Removing intermediate container cd0cb9966f0b [2020-10-16T07:00:04.267Z] ---> dda986b4ff26 [2020-10-16T07:00:04.267Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T07:00:04.555Z] ---> Running in 5a6054967680 [2020-10-16T07:00:07.229Z] Removing intermediate container 5a6054967680 [2020-10-16T07:00:07.229Z] ---> f8ad505be340 [2020-10-16T07:00:07.229Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T07:00:07.229Z] ---> Running in 03b7b3bb5d99 [2020-10-16T07:00:08.665Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T07:00:09.645Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T07:00:10.269Z] OK: 142 MiB in 39 packages [2020-10-16T07:00:11.705Z] Removing intermediate container 03b7b3bb5d99 [2020-10-16T07:00:11.705Z] ---> 767179a9a68e [2020-10-16T07:00:11.705Z] Step 8/24 : COPY . . [2020-10-16T07:00:13.160Z] ---> 37c1e12abcf1 [2020-10-16T07:00:13.160Z] Step 9/24 : RUN ${MAKE} [2020-10-16T07:00:13.160Z] ---> Running in c84dff2eac40 [2020-10-16T07:00:14.609Z] 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-16T07:00:41.428Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T07:00:41.428Z] Removing intermediate container c84dff2eac40 [2020-10-16T07:00:41.428Z] ---> 7d49e4f5978c [2020-10-16T07:00:41.428Z] Step 10/24 : FROM scratch [2020-10-16T07:00:41.428Z] ---> [2020-10-16T07:00:41.428Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T07:00:41.428Z] ---> Running in bba19e7e5fb2 [2020-10-16T07:00:41.428Z] Removing intermediate container bba19e7e5fb2 [2020-10-16T07:00:41.428Z] ---> bdb44ad51be1 [2020-10-16T07:00:41.428Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T07:00:41.428Z] ---> Running in dcf2cb7f505f [2020-10-16T07:00:41.703Z] Removing intermediate container dcf2cb7f505f [2020-10-16T07:00:41.703Z] ---> bb89955cc4a2 [2020-10-16T07:00:41.703Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T07:00:41.703Z] ---> Running in 3acdb0063f34 [2020-10-16T07:00:42.303Z] Removing intermediate container 3acdb0063f34 [2020-10-16T07:00:42.303Z] ---> 51d5e3bcdd94 [2020-10-16T07:00:42.303Z] Step 14/24 : WORKDIR / [2020-10-16T07:00:42.303Z] ---> Running in 58b429f45f85 [2020-10-16T07:00:42.908Z] Removing intermediate container 58b429f45f85 [2020-10-16T07:00:42.908Z] ---> 419767ac8735 [2020-10-16T07:00:42.908Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T07:00:43.897Z] ---> d3ca5855ba46 [2020-10-16T07:00:43.897Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T07:00:44.896Z] ---> 4331146df9a5 [2020-10-16T07:00:44.896Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T07:00:45.492Z] ---> 5a85a8e3f10e [2020-10-16T07:00:45.492Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T07:00:46.092Z] ---> fa22e6192731 [2020-10-16T07:00:46.092Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T07:00:47.071Z] ---> 7619b2d08893 [2020-10-16T07:00:47.071Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T07:00:47.071Z] ---> Running in 8821ffe78e24 [2020-10-16T07:00:47.344Z] Removing intermediate container 8821ffe78e24 [2020-10-16T07:00:47.344Z] ---> fcc4cf389edb [2020-10-16T07:00:47.344Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T07:00:47.616Z] ---> Running in ba67c7b2c3ed [2020-10-16T07:00:47.885Z] Removing intermediate container ba67c7b2c3ed [2020-10-16T07:00:47.885Z] ---> b2afdabeeb58 [2020-10-16T07:00:47.885Z] Step 22/24 : LABEL arch=arm64 [2020-10-16T07:00:48.156Z] ---> Running in c84e19231f61 [2020-10-16T07:00:48.431Z] Removing intermediate container c84e19231f61 [2020-10-16T07:00:48.431Z] ---> de971544e65e [2020-10-16T07:00:48.431Z] Step 23/24 : LABEL git_sha=acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b [2020-10-16T07:00:48.705Z] ---> Running in 67da5fe13ef1 [2020-10-16T07:00:48.978Z] Removing intermediate container 67da5fe13ef1 [2020-10-16T07:00:48.978Z] ---> 8730159f16e7 [2020-10-16T07:00:48.978Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T07:00:49.252Z] ---> Running in 1e45b45b1b18 [2020-10-16T07:00:49.528Z] Removing intermediate container 1e45b45b1b18 [2020-10-16T07:00:49.528Z] ---> 2b3984714b9e [2020-10-16T07:00:49.528Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T07:00:49.803Z] Successfully built 2b3984714b9e [2020-10-16T07:00:49.803Z] 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-16T07:00:51.967Z] provisioning config files... [2020-10-16T07:00:51.982Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config36173917836488324tmp [Pipeline] { [Pipeline] sh [2020-10-16T07:00:52.357Z] + set +x [2020-10-16T07:00:52.357Z] + curl -s https://codecov.io/bash [2020-10-16T07:00:52.357Z] + bash -s -- [2020-10-16T07:00:52.357Z] [2020-10-16T07:00:52.357Z] _____ _ [2020-10-16T07:00:52.357Z] / ____| | | [2020-10-16T07:00:52.357Z] | | ___ __| | ___ ___ _____ __ [2020-10-16T07:00:52.357Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-16T07:00:52.357Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-16T07:00:52.357Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-16T07:00:52.357Z] Bash-20201009-048fee3 [2020-10-16T07:00:52.357Z] [2020-10-16T07:00:52.357Z] [2020-10-16T07:00:52.620Z] ==> Jenkins CI detected. [2020-10-16T07:00:52.620Z] project root: . [2020-10-16T07:00:52.620Z] --> token set from env [2020-10-16T07:00:52.620Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-16T07:00:52.620Z] ==> Running gcov in . (disable via -X gcov) [2020-10-16T07:00:52.620Z] ==> Python coveragepy not found [2020-10-16T07:00:52.620Z] ==> Searching for coverage reports in: [2020-10-16T07:00:52.620Z] + . [2020-10-16T07:00:52.620Z] -> Found 1 reports [2020-10-16T07:00:52.620Z] ==> Detecting git/mercurial file structure [2020-10-16T07:00:52.620Z] ==> Reading reports [2020-10-16T07:00:52.620Z] + ./coverage.out bytes=110398 [2020-10-16T07:00:52.620Z] ==> Appending adjustments [2020-10-16T07:00:52.620Z] https://docs.codecov.io/docs/fixing-reports [2020-10-16T07:00:52.888Z] + Found adjustments [2020-10-16T07:00:52.888Z] ==> Gzipping contents [2020-10-16T07:00:53.149Z] ==> Uploading reports [2020-10-16T07:00:53.149Z] url: https://codecov.io [2020-10-16T07:00:53.149Z] query: branch=PR-582&commit=acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-16T07:00:53.149Z] -> Pinging Codecov [2020-10-16T07:00:53.149Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-582&commit=acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-16T07:00:53.411Z] -> Uploading to [2020-10-16T07:00:53.411Z] [2020-10-16T07:00:53.411Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T07:00:53.411Z] Dload Upload Total Spent Left Speed [2020-10-16T07:00:53.411Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-16T07:00:53.411Z] X> Failed to upload [2020-10-16T07:00:53.411Z] ==> Uploading to Codecov [2020-10-16T07:00:53.411Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T07:00:53.411Z] Dload Upload Total Spent Left Speed [2020-10-16T07:00:53.986Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19149 100 110 100 19039 242 41935 --:--:-- --:--:-- --:--:-- 42028 [2020-10-16T07:00:53.987Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b [Pipeline] } [2020-10-16T07:00:54.001Z] 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-16T07:00:56.865Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T07:00:57.431Z] ---> package-listing.sh [2020-10-16T07:00:57.431Z] ++ facter osfamily [2020-10-16T07:00:57.431Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-16T07:00:57.431Z] + OS_FAMILY=redhat [2020-10-16T07:00:57.431Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-16T07:00:57.431Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-16T07:00:57.431Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-16T07:00:57.431Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-16T07:00:57.431Z] + PACKAGES=/tmp/packages_start.txt [2020-10-16T07:00:57.431Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-16T07:00:57.431Z] + PACKAGES=/tmp/packages_end.txt [2020-10-16T07:00:57.431Z] + case "${OS_FAMILY}" in [2020-10-16T07:00:57.431Z] + rpm -qa [2020-10-16T07:00:57.431Z] + sort [2020-10-16T07:01:02.766Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-16T07:01:02.766Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-16T07:01:02.766Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-16T07:01:02.766Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-16T07:01:02.766Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [2020-10-16T07:01:02.766Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] echo [2020-10-16T07:01:02.791Z] 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-582/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-16T07:01:03.100Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-16T07:01:03.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T07:01:03.421Z] [2020-10-16T07:01:03.421Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-16T07:01:03.795Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T07:01:03.795Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-16T07:01:03.795Z] df20fa9351a1: Pulling fs layer [2020-10-16T07:01:03.795Z] 36b3adc4ff6f: Pulling fs layer [2020-10-16T07:01:03.795Z] 8ad3a11d3b57: Pulling fs layer [2020-10-16T07:01:03.795Z] 46f8f816bc3b: Pulling fs layer [2020-10-16T07:01:03.795Z] 93b61091891f: Pulling fs layer [2020-10-16T07:01:03.795Z] 93b9cdb0e59b: Pulling fs layer [2020-10-16T07:01:03.795Z] 5e14af77c1be: Pulling fs layer [2020-10-16T07:01:03.795Z] 01666e4c0597: Pulling fs layer [2020-10-16T07:01:03.795Z] aa168da1d23b: Pulling fs layer [2020-10-16T07:01:03.795Z] 5e14af77c1be: Waiting [2020-10-16T07:01:03.795Z] 46f8f816bc3b: Waiting [2020-10-16T07:01:03.795Z] 93b9cdb0e59b: Waiting [2020-10-16T07:01:03.795Z] 93b61091891f: Waiting [2020-10-16T07:01:03.795Z] aa168da1d23b: Waiting [2020-10-16T07:01:03.795Z] 36b3adc4ff6f: Verifying Checksum [2020-10-16T07:01:03.795Z] 36b3adc4ff6f: Download complete [2020-10-16T07:01:03.795Z] 46f8f816bc3b: Verifying Checksum [2020-10-16T07:01:03.795Z] 46f8f816bc3b: Download complete [2020-10-16T07:01:04.074Z] 93b61091891f: Download complete [2020-10-16T07:01:04.074Z] 93b9cdb0e59b: Verifying Checksum [2020-10-16T07:01:04.074Z] 93b9cdb0e59b: Download complete [2020-10-16T07:01:04.074Z] 5e14af77c1be: Verifying Checksum [2020-10-16T07:01:04.074Z] 5e14af77c1be: Download complete [2020-10-16T07:01:04.074Z] 01666e4c0597: Verifying Checksum [2020-10-16T07:01:04.074Z] 01666e4c0597: Download complete [2020-10-16T07:01:04.074Z] 8ad3a11d3b57: Verifying Checksum [2020-10-16T07:01:04.074Z] 8ad3a11d3b57: Download complete [2020-10-16T07:01:04.074Z] df20fa9351a1: Verifying Checksum [2020-10-16T07:01:04.074Z] df20fa9351a1: Download complete [2020-10-16T07:01:04.350Z] df20fa9351a1: Pull complete [2020-10-16T07:01:04.624Z] 36b3adc4ff6f: Pull complete [2020-10-16T07:01:05.207Z] 8ad3a11d3b57: Pull complete [2020-10-16T07:01:05.476Z] 46f8f816bc3b: Pull complete [2020-10-16T07:01:05.743Z] 93b61091891f: Pull complete [2020-10-16T07:01:06.009Z] 93b9cdb0e59b: Pull complete [2020-10-16T07:01:06.009Z] 5e14af77c1be: Pull complete [2020-10-16T07:01:06.280Z] 01666e4c0597: Pull complete [2020-10-16T07:01:06.281Z] aa168da1d23b: Verifying Checksum [2020-10-16T07:01:06.281Z] aa168da1d23b: Download complete [2020-10-16T07:01:12.918Z] aa168da1d23b: Pull complete [2020-10-16T07:01:12.918Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-16T07:01:12.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T07:01:12.918Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-16T07:01:13.118Z] prd-centos7-docker-4c-2g-5796 does not seem to be running inside a container [2020-10-16T07:01:13.177Z] $ 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-582/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-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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-16T07:01:17.393Z] $ docker top 98d6aa8927e2140e0f4e27d031e5cd64fcf8382b03612897f918013752f8b5d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T07:01:17.946Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-16T07:01:18.264Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-16T07:01:18.571Z] + ls /var/log/sa-host [2020-10-16T07:01:18.571Z] + sadf -c /var/log/sa-host/sa05 [2020-10-16T07:01:18.571Z] file_magic: OK [2020-10-16T07:01:18.571Z] HZ: Using current value: 100 [2020-10-16T07:01:18.571Z] file_header: OK [2020-10-16T07:01:18.571Z] 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-16T07:01:18.571Z] Statistics: [2020-10-16T07:01:18.571Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T07:01:18.571Z] File successfully converted to sysstat format version 12.2.1 [2020-10-16T07:01:18.571Z] + sadf -c /var/log/sa-host/sa16 [2020-10-16T07:01:18.571Z] file_magic: OK [2020-10-16T07:01:18.571Z] HZ: Using current value: 100 [2020-10-16T07:01:18.571Z] file_header: OK [2020-10-16T07:01:18.571Z] 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-16T07:01:18.571Z] Statistics: [2020-10-16T07:01:18.571Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T07:01:18.571Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-16T07:01:18.821Z] provisioning config files... [2020-10-16T07:01:18.843Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config2612079470192289665tmp [Pipeline] { [Pipeline] echo [2020-10-16T07:01:18.973Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T07:01:19.280Z] ---> create-netrc.sh [Pipeline] } [2020-10-16T07:01:19.292Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-16T07:01:19.394Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T07:01:19.701Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-16T07:01:19.716Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T07:01:20.016Z] ---> sudo-logs.sh [2020-10-16T07:01:20.016Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-16T07:01:20.028Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T07:01:20.331Z] ---> job-cost.sh [2020-10-16T07:01:20.331Z] lf-activate-venv: SKIPPING [2020-10-16T07:01:20.331Z] INFO: No Stack... [2020-10-16T07:01:21.742Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-16T07:01:22.011Z] INFO: Archiving Costs [Pipeline] echo [2020-10-16T07:01:22.031Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T07:01:22.344Z] ---> logs-deploy.sh [2020-10-16T07:01:22.344Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/23 [2020-10-16T07:01:22.344Z] INFO: archiving workspace using pattern(s): [2020-10-16T07:01:24.321Z] Archives upload complete. [2020-10-16T07:01:24.321Z] INFO: archiving logs to Nexus