Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e+0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 (ee489de4cba9839d007ed87839f27ab45bd7957a) 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-5852 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 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 into PR head commit 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e Merge succeeded, producing 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e Checking out Revision 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e (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 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e # 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] } > git rev-list --no-walk acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-16T09:29:53.642Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-16T09:29:53.893Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-16T09:29:54.006Z] ========================================================= [2020-10-16T09:29:54.006Z] EdgeX Global Pipelines Version Info [2020-10-16T09:29:54.006Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:29:55.484Z] ------------------- [2020-10-16T09:29:55.484Z] stable info: [2020-10-16T09:29:55.484Z] ------------------- [2020-10-16T09:29:55.484Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T09:29:55.484Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T09:29:55.484Z] Message: update stable to v1.0.144 [2020-10-16T09:29:56.437Z] ------------------- [2020-10-16T09:29:56.437Z] experimental info: [2020-10-16T09:29:56.437Z] ------------------- [2020-10-16T09:29:56.437Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T09:29:56.437Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T09:29:56.437Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-16T09:29:56.850Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-16T09:29:56.937Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-16T09:29:57.036Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-16T09:29:57.128Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-16T09:29:57.214Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-16T09:29:57.311Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-16T09:29:57.411Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-16T09:29:57.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-16T09:29:57.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-16T09:29:57.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-16T09:29:57.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-16T09:29:57.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-16T09:29:58.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-16T09:29:58.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-16T09:29:58.230Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-16T09:29:58.319Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T09:29:58.442Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T09:29:58.537Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T09:29:58.625Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-16T09:29:58.714Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-16T09:29:58.804Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-16T09:29:58.895Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-16T09:29:58.990Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-16T09:29:59.078Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-16T09:29:59.168Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-16T09:29:59.278Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2020-10-16T09:29:59.408Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2020-10-16T09:29:59.568Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2020-10-16T09:29:59.652Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e [Pipeline] echo [2020-10-16T09:29:59.735Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0ffda3b [Pipeline] echo [2020-10-16T09:29:59.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T09:30:00.486Z] + git log --format=format:%s -1 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e [Pipeline] echo [2020-10-16T09:30:00.547Z] GIT_COMMIT: 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 [Pipeline] echo [2020-10-16T09:30:00.593Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:30:01.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T09:30:01.463Z] [2020-10-16T09:30:01.463Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:30:01.832Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T09:30:01.832Z] latest: Pulling from edgex-devops/git-semver [2020-10-16T09:30:01.832Z] 31603596830f: Pulling fs layer [2020-10-16T09:30:01.832Z] 2a8b12db71e7: Pulling fs layer [2020-10-16T09:30:01.832Z] 6ca5941a6612: Pulling fs layer [2020-10-16T09:30:01.832Z] ecc8261a40a4: Pulling fs layer [2020-10-16T09:30:01.832Z] ecc8261a40a4: Waiting [2020-10-16T09:30:01.832Z] 2a8b12db71e7: Verifying Checksum [2020-10-16T09:30:01.832Z] 2a8b12db71e7: Download complete [2020-10-16T09:30:02.144Z] 31603596830f: Verifying Checksum [2020-10-16T09:30:02.144Z] 31603596830f: Download complete [2020-10-16T09:30:02.144Z] ecc8261a40a4: Verifying Checksum [2020-10-16T09:30:02.144Z] ecc8261a40a4: Download complete [2020-10-16T09:30:02.432Z] 31603596830f: Pull complete [2020-10-16T09:30:02.432Z] 6ca5941a6612: Verifying Checksum [2020-10-16T09:30:02.432Z] 6ca5941a6612: Download complete [2020-10-16T09:30:02.432Z] 2a8b12db71e7: Pull complete [2020-10-16T09:30:03.408Z] 6ca5941a6612: Pull complete [2020-10-16T09:30:03.408Z] ecc8261a40a4: Pull complete [2020-10-16T09:30:03.408Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-16T09:30:03.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T09:30:03.408Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-16T09:30:03.614Z] prd-centos7-docker-4c-2g-5852 does not seem to be running inside a container [2020-10-16T09:30:03.750Z] $ 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-16T09:30:06.365Z] $ docker top 46c9b5ea973432a99d38e7c7cbca58d8f6269b2cbe230d294d1eb930376af560 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-16T09:30:06.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T09:30:06.714Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T09:30:06.934Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T09:30:06.941Z] $ docker exec 46c9b5ea973432a99d38e7c7cbca58d8f6269b2cbe230d294d1eb930376af560 ssh-agent [2020-10-16T09:30:07.107Z] SSH_AUTH_SOCK=/tmp/ssh-SpRA8ADpr5tJ/agent.12 [2020-10-16T09:30:07.107Z] SSH_AGENT_PID=18 [2020-10-16T09:30:07.121Z] Running ssh-add (command line suppressed) [2020-10-16T09:30:07.238Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_915106872017847199.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_915106872017847199.key) [2020-10-16T09:30:07.296Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T09:30:07.675Z] + git tag --points-at HEAD [Pipeline] } [2020-10-16T09:30:07.700Z] $ docker exec --env ******** --env ******** 46c9b5ea973432a99d38e7c7cbca58d8f6269b2cbe230d294d1eb930376af560 ssh-agent -k [2020-10-16T09:30:07.811Z] unset SSH_AUTH_SOCK; [2020-10-16T09:30:07.811Z] unset SSH_AGENT_PID; [2020-10-16T09:30:07.811Z] echo Agent pid 18 killed; [2020-10-16T09:30:07.855Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-16T09:30:08.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T09:30:08.018Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T09:30:08.183Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T09:30:08.190Z] $ docker exec 46c9b5ea973432a99d38e7c7cbca58d8f6269b2cbe230d294d1eb930376af560 ssh-agent [2020-10-16T09:30:08.343Z] SSH_AUTH_SOCK=/tmp/ssh-FcotFCWCt0sN/agent.47 [2020-10-16T09:30:08.343Z] SSH_AGENT_PID=53 [2020-10-16T09:30:08.353Z] Running ssh-add (command line suppressed) [2020-10-16T09:30:08.479Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_72821145869350044.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_72821145869350044.key) [2020-10-16T09:30:08.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T09:30:08.887Z] + git semver init [2020-10-16T09:30:08.888Z] # -> Open(): unable to determine branch for HEAD [2020-10-16T09:30:08.888Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git [2020-10-16T09:30:08.888Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-16T09:30:08.888Z] # $SEMVER_REMOTE_NAME = origin [2020-10-16T09:30:08.888Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-16T09:30:08.888Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-16T09:30:08.888Z] # $SEMVER_BRANCH = PR-582 [2020-10-16T09:30:08.888Z] # $SEMVER_TEMP = /tmp/semver-057383364 [2020-10-16T09:30:08.888Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-16T09:30:09.843Z] # '/tmp/semver-057383364' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' [2020-10-16T09:30:09.843Z] # -> Force: false [2020-10-16T09:30:09.843Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } [2020-10-16T09:30:09.862Z] $ docker exec --env ******** --env ******** 46c9b5ea973432a99d38e7c7cbca58d8f6269b2cbe230d294d1eb930376af560 ssh-agent -k [2020-10-16T09:30:09.973Z] unset SSH_AUTH_SOCK; [2020-10-16T09:30:09.974Z] unset SSH_AGENT_PID; [2020-10-16T09:30:09.974Z] echo Agent pid 53 killed; [2020-10-16T09:30:10.016Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-16T09:30:10.623Z] + git semver [Pipeline] } [2020-10-16T09:30:10.644Z] $ docker stop --time=1 46c9b5ea973432a99d38e7c7cbca58d8f6269b2cbe230d294d1eb930376af560 [2020-10-16T09:30:12.143Z] $ docker rm -f 46c9b5ea973432a99d38e7c7cbca58d8f6269b2cbe230d294d1eb930376af560 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-16T09:30:12.664Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-16T09:30:13.253Z] Stashed 1 file(s) [Pipeline] echo [2020-10-16T09:30:13.257Z] [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-16T09:30:28.819Z] Still waiting to schedule task [2020-10-16T09:30:28.819Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5838’ is offline; ‘prd-centos7-docker-4c-2g-5841’ is offline; ‘prd-centos7-docker-4c-2g-5845’ is offline; ‘prd-centos7-docker-4c-2g-5846’ is offline; ‘prd-centos7-docker-4c-2g-5847’ is offline; ‘prd-centos7-docker-4c-2g-5853’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-16T09:30:28.823Z] Still waiting to schedule task [2020-10-16T09:30:28.823Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-16T09:31:54.148Z] Running on prd-centos7-docker-4c-2g-5857 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-16T09:31:54.197Z] Running in /w/workspace/device-sdk-go/25 [Pipeline] { [Pipeline] checkout [2020-10-16T09:31:56.784Z] using credential edgex-jenkins-ssh [2020-10-16T09:31:56.832Z] Cloning the remote Git repository [2020-10-16T09:31:56.855Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:31:56.913Z] > git init /w/workspace/device-sdk-go/25 # timeout=10 [2020-10-16T09:31:56.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:31:56.958Z] > git --version # timeout=10 [2020-10-16T09:31:56.963Z] > git --version # 'git version 2.16.5' [2020-10-16T09:31:56.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:31:56.985Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:31:57.659Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T09:31:57.664Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:31:57.674Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T09:31:57.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:31:57.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:31:57.690Z] > 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-16T09:31:58.085Z] Merging remotes/origin/master commit 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 into PR head commit 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e [2020-10-16T09:31:58.171Z] Merge succeeded, producing 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e [2020-10-16T09:31:58.171Z] Checking out Revision 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e (PR-582) [2020-10-16T09:31:58.096Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:31:58.102Z] > git checkout -f 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e # timeout=10 [2020-10-16T09:31:58.144Z] > git remote # timeout=10 [2020-10-16T09:31:58.150Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T09:31:58.155Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:31:58.158Z] > git merge 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 [2020-10-16T09:31:58.167Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T09:31:58.176Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:31:58.178Z] > git checkout -f 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e # timeout=10 [2020-10-16T09:32:01.879Z] 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-16T09:32:02.627Z] ========================================================= [2020-10-16T09:32:02.627Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-16T09:32:02.627Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:32:03.327Z] + 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-16T09:32:03.589Z] Sending build context to Docker daemon 2.316MB [2020-10-16T09:32:03.589Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T09:32:03.589Z] Step 2/8 : FROM ${BASE} [2020-10-16T09:32:03.589Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-16T09:32:03.589Z] df20fa9351a1: Pulling fs layer [2020-10-16T09:32:03.589Z] ed8968b2872e: Pulling fs layer [2020-10-16T09:32:03.589Z] a92cc7c5fd73: Pulling fs layer [2020-10-16T09:32:03.589Z] e871e8e8d7a9: Pulling fs layer [2020-10-16T09:32:03.589Z] e73272ec9a57: Pulling fs layer [2020-10-16T09:32:03.589Z] 1e910a182e73: Pulling fs layer [2020-10-16T09:32:03.589Z] 4e634b169226: Pulling fs layer [2020-10-16T09:32:03.590Z] e871e8e8d7a9: Waiting [2020-10-16T09:32:03.590Z] e73272ec9a57: Waiting [2020-10-16T09:32:03.590Z] 1e910a182e73: Waiting [2020-10-16T09:32:03.590Z] 4e634b169226: Waiting [2020-10-16T09:32:03.590Z] a92cc7c5fd73: Download complete [2020-10-16T09:32:03.590Z] ed8968b2872e: Download complete [2020-10-16T09:32:03.590Z] e73272ec9a57: Verifying Checksum [2020-10-16T09:32:03.590Z] e73272ec9a57: Download complete [2020-10-16T09:32:03.590Z] 1e910a182e73: Verifying Checksum [2020-10-16T09:32:03.590Z] 1e910a182e73: Download complete [2020-10-16T09:32:04.176Z] df20fa9351a1: Verifying Checksum [2020-10-16T09:32:04.176Z] df20fa9351a1: Download complete [2020-10-16T09:32:04.441Z] df20fa9351a1: Pull complete [2020-10-16T09:32:04.441Z] ed8968b2872e: Pull complete [2020-10-16T09:32:04.703Z] a92cc7c5fd73: Pull complete [2020-10-16T09:32:06.096Z] 4e634b169226: Verifying Checksum [2020-10-16T09:32:06.096Z] 4e634b169226: Download complete [2020-10-16T09:32:07.482Z] e871e8e8d7a9: Verifying Checksum [2020-10-16T09:32:07.482Z] e871e8e8d7a9: Download complete [2020-10-16T09:32:11.743Z] e871e8e8d7a9: Pull complete [2020-10-16T09:32:11.743Z] e73272ec9a57: Pull complete [2020-10-16T09:32:12.006Z] 1e910a182e73: Pull complete [2020-10-16T09:32:20.205Z] 4e634b169226: Pull complete [2020-10-16T09:32:20.205Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-16T09:32:20.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-16T09:32:20.205Z] ---> f7629b54cfaa [2020-10-16T09:32:20.205Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:32:20.205Z] ---> Running in 4200747f83a5 [2020-10-16T09:32:20.205Z] Removing intermediate container 4200747f83a5 [2020-10-16T09:32:20.205Z] ---> 3acbd39bcdc0 [2020-10-16T09:32:20.205Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:32:20.205Z] ---> Running in a30dc1dd8628 [2020-10-16T09:32:21.620Z] Removing intermediate container a30dc1dd8628 [2020-10-16T09:32:21.620Z] ---> 6f83ee745d63 [2020-10-16T09:32:21.620Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T09:32:21.620Z] ---> Running in 66811b64a337 [2020-10-16T09:32:22.193Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T09:32:22.767Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T09:32:23.710Z] OK: 166 MiB in 39 packages [2020-10-16T09:32:23.972Z] Removing intermediate container 66811b64a337 [2020-10-16T09:32:23.972Z] ---> 18361ae3ed0b [2020-10-16T09:32:23.972Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T09:32:24.232Z] ---> Running in 12cbea7413a8 [2020-10-16T09:32:24.232Z] Removing intermediate container 12cbea7413a8 [2020-10-16T09:32:24.232Z] ---> 8b3ac33b8a0e [2020-10-16T09:32:24.232Z] Step 7/8 : COPY . . [2020-10-16T09:32:25.620Z] ---> 025857dc7ca2 [2020-10-16T09:32:25.620Z] Step 8/8 : RUN go mod download [2020-10-16T09:32:25.620Z] ---> Running in 2955534ab4ba [2020-10-16T09:32:43.780Z] Removing intermediate container 2955534ab4ba [2020-10-16T09:32:43.780Z] ---> bd9375ea7895 [2020-10-16T09:32:43.780Z] Successfully built bd9375ea7895 [2020-10-16T09:32:43.780Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:32:44.124Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T09:32:44.124Z] . [Pipeline] withDockerContainer [2020-10-16T09:32:44.224Z] prd-centos7-docker-4c-2g-5857 does not seem to be running inside a container [2020-10-16T09:32:44.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@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-16T09:32:44.851Z] $ docker top 761a33e7172ee09a48582e3ef4ecaa74e6015770eea95921dd220296aeb06d2a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:32:45.337Z] + go version [2020-10-16T09:32:45.337Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-16T09:32:45.353Z] $ docker stop --time=1 761a33e7172ee09a48582e3ef4ecaa74e6015770eea95921dd220296aeb06d2a [2020-10-16T09:32:46.923Z] $ docker rm -f 761a33e7172ee09a48582e3ef4ecaa74e6015770eea95921dd220296aeb06d2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:32:47.962Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T09:32:47.962Z] . [Pipeline] withDockerContainer [2020-10-16T09:32:48.080Z] prd-centos7-docker-4c-2g-5857 does not seem to be running inside a container [2020-10-16T09:32:48.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@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-16T09:32:48.656Z] $ docker top e4dcd50cbc3c64ae0b34bab2ed359140614291b6c683c60975d451603319dcf3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:32:49.119Z] + make test [2020-10-16T09:32:49.120Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T09:32:55.763Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T09:33:08.115Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T09:33:08.115Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T09:33:08.115Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T09:33:08.115Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.053s coverage: 21.6% of statements [2020-10-16T09:33:10.080Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.441s coverage: 97.1% of statements [2020-10-16T09:33:17.372Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5859 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-16T09:33:17.442Z] Running in /w/workspace/device-sdk-go/25 [Pipeline] { [Pipeline] checkout [2020-10-16T09:33:22.742Z] using credential edgex-jenkins-ssh [2020-10-16T09:33:22.815Z] Cloning the remote Git repository [2020-10-16T09:33:22.881Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:33:23.002Z] > git init /w/workspace/device-sdk-go/25 # timeout=10 [2020-10-16T09:33:23.110Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:33:23.111Z] > git --version # timeout=10 [2020-10-16T09:33:23.127Z] > git --version # 'git version 2.17.1' [2020-10-16T09:33:23.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:33:23.208Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:33:24.845Z] Merging remotes/origin/master commit 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 into PR head commit 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e [2020-10-16T09:33:24.252Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T09:33:24.267Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T09:33:24.296Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T09:33:24.327Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T09:33:24.327Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:33:24.340Z] > 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-16T09:33:24.869Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:33:24.938Z] > git checkout -f 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e # timeout=10 [2020-10-16T09:33:25.075Z] > git remote # timeout=10 [2020-10-16T09:33:25.104Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T09:33:25.124Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T09:33:25.180Z] Merge succeeded, producing 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e [2020-10-16T09:33:25.180Z] Checking out Revision 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e (PR-582) [2020-10-16T09:33:25.140Z] > git merge 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 [2020-10-16T09:33:25.171Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T09:33:25.189Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T09:33:25.199Z] > git checkout -f 0ffda3b35df6f7860b0048cd9b6041cb7d0d375e # timeout=10 [2020-10-16T09:33:29.519Z] 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-16T09:33:30.456Z] ========================================================= [2020-10-16T09:33:30.457Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-16T09:33:30.457Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:33:31.448Z] + 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-16T09:33:32.442Z] Sending build context to Docker daemon 2.316MB [2020-10-16T09:33:32.442Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T09:33:32.442Z] Step 2/8 : FROM ${BASE} [2020-10-16T09:33:32.718Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-16T09:33:32.718Z] b538f80385f9: Pulling fs layer [2020-10-16T09:33:32.718Z] 74f711af9a0d: Pulling fs layer [2020-10-16T09:33:32.718Z] 99f96fe45779: Pulling fs layer [2020-10-16T09:33:32.718Z] 8529a6b9a6be: Pulling fs layer [2020-10-16T09:33:32.718Z] 45590311c82a: Pulling fs layer [2020-10-16T09:33:32.718Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-16T09:33:32.718Z] 209524e5b208: Pulling fs layer [2020-10-16T09:33:32.718Z] 8529a6b9a6be: Waiting [2020-10-16T09:33:32.718Z] 45590311c82a: Waiting [2020-10-16T09:33:32.718Z] 69ca0ff8b7b3: Waiting [2020-10-16T09:33:32.718Z] 209524e5b208: Waiting [2020-10-16T09:33:32.718Z] 99f96fe45779: Verifying Checksum [2020-10-16T09:33:32.718Z] 99f96fe45779: Download complete [2020-10-16T09:33:32.718Z] 74f711af9a0d: Verifying Checksum [2020-10-16T09:33:32.718Z] 74f711af9a0d: Download complete [2020-10-16T09:33:32.998Z] 45590311c82a: Verifying Checksum [2020-10-16T09:33:32.998Z] 45590311c82a: Download complete [2020-10-16T09:33:32.998Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-16T09:33:32.998Z] 69ca0ff8b7b3: Download complete [2020-10-16T09:33:32.998Z] b538f80385f9: Verifying Checksum [2020-10-16T09:33:32.998Z] b538f80385f9: Download complete [2020-10-16T09:33:34.001Z] b538f80385f9: Pull complete [2020-10-16T09:33:34.607Z] 74f711af9a0d: Pull complete [2020-10-16T09:33:34.883Z] 99f96fe45779: Pull complete [2020-10-16T09:33:35.487Z] 209524e5b208: Verifying Checksum [2020-10-16T09:33:35.487Z] 209524e5b208: Download complete [2020-10-16T09:33:36.476Z] 8529a6b9a6be: Verifying Checksum [2020-10-16T09:33:36.476Z] 8529a6b9a6be: Download complete [2020-10-16T09:33:42.268Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 9.4% of statements [2020-10-16T09:33:42.268Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.065s coverage: 21.9% of statements [2020-10-16T09:33:42.268Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T09:33:42.268Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.214s coverage: 42.6% of statements [2020-10-16T09:33:42.268Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T09:33:42.268Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.263s coverage: 68.9% of statements [2020-10-16T09:33:42.268Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T09:33:42.268Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T09:33:42.268Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T09:33:42.268Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T09:33:42.268Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements [2020-10-16T09:33:42.268Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T09:33:42.268Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T09:33:42.268Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T09:33:42.268Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.695s coverage: 68.9% of statements [2020-10-16T09:33:42.268Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T09:33:42.268Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T09:33:42.268Z] GO111MODULE=on go vet ./... [2020-10-16T09:33:46.660Z] 8529a6b9a6be: Pull complete [2020-10-16T09:33:46.660Z] 45590311c82a: Pull complete [2020-10-16T09:33:46.660Z] 69ca0ff8b7b3: Pull complete [2020-10-16T09:33:48.957Z] gofmt -l . [2020-10-16T09:33:48.957Z] [ "`gofmt -l .`" = "" ] [2020-10-16T09:33:48.957Z] ./bin/test-attribution-txt.sh [2020-10-16T09:33:48.957Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T09:33:49.298Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T09:33:49.306Z] $ docker stop --time=1 e4dcd50cbc3c64ae0b34bab2ed359140614291b6c683c60975d451603319dcf3 [2020-10-16T09:33:50.080Z] 209524e5b208: Pull complete [2020-10-16T09:33:50.080Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-16T09:33:50.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-16T09:33:50.080Z] ---> 5bddaf1c2fca [2020-10-16T09:33:50.080Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:33:50.995Z] $ docker rm -f e4dcd50cbc3c64ae0b34bab2ed359140614291b6c683c60975d451603319dcf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-16T09:33:52.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T09:33:52.705Z] + ls -al . [2020-10-16T09:33:52.705Z] total 188 [2020-10-16T09:33:52.705Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 09:33 . [2020-10-16T09:33:52.705Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 09:31 .. [2020-10-16T09:33:52.705Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 09:31 bin [2020-10-16T09:33:52.705Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 16 09:33 coverage.out [2020-10-16T09:33:52.705Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 09:31 Dockerfile.build [2020-10-16T09:33:52.705Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 09:31 .dockerignore [2020-10-16T09:33:52.705Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 09:31 example [2020-10-16T09:33:52.705Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 09:32 .git [2020-10-16T09:33:52.705Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 09:31 .github [2020-10-16T09:33:52.705Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 09:31 .gitignore [2020-10-16T09:33:52.705Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 16 09:33 go.mod [2020-10-16T09:33:52.705Z] -rw-r--r--. 1 jenkins jenkins 13737 Oct 16 09:33 go.sum [2020-10-16T09:33:52.705Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 09:31 internal [2020-10-16T09:33:52.705Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 09:31 Jenkinsfile [2020-10-16T09:33:52.705Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 09:31 LICENSE [2020-10-16T09:33:52.705Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 09:31 Makefile [2020-10-16T09:33:52.705Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 09:31 openapi [2020-10-16T09:33:52.705Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 09:31 pkg [2020-10-16T09:33:52.705Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 09:31 README.md [2020-10-16T09:33:52.705Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 09:31 RELEASE-NOTES.txt [2020-10-16T09:33:52.705Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 09:31 snap [2020-10-16T09:33:52.705Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 09:30 VERSION [2020-10-16T09:33:52.705Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 09:31 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:33:53.016Z] + 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=0ffda3b35df6f7860b0048cd9b6041cb7d0d375e --label arch=amd64 --label version=0.0.0 . [2020-10-16T09:33:53.016Z] Sending build context to Docker daemon 2.427MB [2020-10-16T09:33:53.016Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T09:33:53.016Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T09:33:53.016Z] ---> bd9375ea7895 [2020-10-16T09:33:53.016Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T09:33:53.503Z] ---> Running in 625cdb7bd98f [2020-10-16T09:33:53.503Z] Removing intermediate container 625cdb7bd98f [2020-10-16T09:33:53.503Z] ---> 841ea368364c [2020-10-16T09:33:53.503Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:33:53.586Z] ---> Running in 47aaea4aa680 [2020-10-16T09:33:53.776Z] ---> Running in 7f7f39bac03a [2020-10-16T09:33:53.845Z] Removing intermediate container 47aaea4aa680 [2020-10-16T09:33:53.845Z] ---> 2a7ab2450213 [2020-10-16T09:33:53.845Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T09:33:53.845Z] ---> Running in ca2e0c5a240c [2020-10-16T09:33:54.110Z] Removing intermediate container ca2e0c5a240c [2020-10-16T09:33:54.111Z] ---> c248e7020679 [2020-10-16T09:33:54.111Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:33:54.111Z] ---> Running in 3362d491d951 [2020-10-16T09:33:54.111Z] Removing intermediate container 3362d491d951 [2020-10-16T09:33:54.111Z] ---> f7641fb4caa0 [2020-10-16T09:33:54.111Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:33:54.371Z] ---> Running in 66ee4be1f5be [2020-10-16T09:33:54.942Z] Removing intermediate container 66ee4be1f5be [2020-10-16T09:33:54.942Z] ---> fcb8b579fb1d [2020-10-16T09:33:54.942Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T09:33:55.203Z] ---> Running in 47d850665245 [2020-10-16T09:33:55.465Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T09:33:56.034Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T09:33:56.425Z] Removing intermediate container 7f7f39bac03a [2020-10-16T09:33:56.425Z] ---> 5aada0365658 [2020-10-16T09:33:56.425Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T09:33:56.703Z] ---> Running in 90850692f7b2 [2020-10-16T09:33:56.974Z] OK: 166 MiB in 39 packages [2020-10-16T09:33:57.234Z] Removing intermediate container 47d850665245 [2020-10-16T09:33:57.234Z] ---> 9deec5892cb0 [2020-10-16T09:33:57.234Z] Step 8/24 : COPY . . [2020-10-16T09:33:58.151Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T09:33:58.175Z] ---> a994c80252b4 [2020-10-16T09:33:58.175Z] Step 9/24 : RUN ${MAKE} [2020-10-16T09:33:58.175Z] ---> Running in 82e662e65042 [2020-10-16T09:33:58.438Z] 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-16T09:33:59.136Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T09:34:00.123Z] OK: 142 MiB in 39 packages [2020-10-16T09:34:01.106Z] Removing intermediate container 90850692f7b2 [2020-10-16T09:34:01.106Z] ---> 83f236b0c562 [2020-10-16T09:34:01.106Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T09:34:01.384Z] ---> Running in 4dbb6e0df265 [2020-10-16T09:34:01.984Z] Removing intermediate container 4dbb6e0df265 [2020-10-16T09:34:01.984Z] ---> d72d2b11b32e [2020-10-16T09:34:01.984Z] Step 7/8 : COPY . . [2020-10-16T09:34:03.461Z] ---> d81492ba3ed8 [2020-10-16T09:34:03.461Z] Step 8/8 : RUN go mod download [2020-10-16T09:34:03.461Z] ---> Running in 10452d4179f3 [2020-10-16T09:34:05.146Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T09:34:07.697Z] Removing intermediate container 82e662e65042 [2020-10-16T09:34:07.697Z] ---> 1c2d54a9d3a7 [2020-10-16T09:34:07.697Z] Step 10/24 : FROM scratch [2020-10-16T09:34:07.697Z] ---> [2020-10-16T09:34:07.697Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:34:07.697Z] ---> Running in a90de2701d4f [2020-10-16T09:34:07.697Z] Removing intermediate container a90de2701d4f [2020-10-16T09:34:07.697Z] ---> 6880c6985315 [2020-10-16T09:34:07.697Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T09:34:07.697Z] ---> Running in 6728c63e4686 [2020-10-16T09:34:07.697Z] Removing intermediate container 6728c63e4686 [2020-10-16T09:34:07.697Z] ---> 643bf5ffab3c [2020-10-16T09:34:07.697Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T09:34:07.697Z] ---> Running in 730979243b19 [2020-10-16T09:34:07.958Z] Removing intermediate container 730979243b19 [2020-10-16T09:34:07.958Z] ---> 82aef0c1848e [2020-10-16T09:34:07.958Z] Step 14/24 : WORKDIR / [2020-10-16T09:34:07.958Z] ---> Running in 159ce4507133 [2020-10-16T09:34:08.219Z] Removing intermediate container 159ce4507133 [2020-10-16T09:34:08.219Z] ---> dbb248249cb5 [2020-10-16T09:34:08.219Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T09:34:08.483Z] ---> c2c77f965827 [2020-10-16T09:34:08.483Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T09:34:08.743Z] ---> 4ee73ced8ccf [2020-10-16T09:34:08.743Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T09:34:09.004Z] ---> 246ca1ce9219 [2020-10-16T09:34:09.004Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T09:34:09.264Z] ---> 3ef34b293b0a [2020-10-16T09:34:09.264Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T09:34:09.525Z] ---> 95f856384e86 [2020-10-16T09:34:09.525Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T09:34:09.525Z] ---> Running in 1ec5a4fe7e04 [2020-10-16T09:34:09.525Z] Removing intermediate container 1ec5a4fe7e04 [2020-10-16T09:34:09.525Z] ---> e62281f71f0e [2020-10-16T09:34:09.525Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T09:34:09.786Z] ---> Running in 6757c2626f2f [2020-10-16T09:34:09.786Z] Removing intermediate container 6757c2626f2f [2020-10-16T09:34:09.786Z] ---> e0b9a00b8551 [2020-10-16T09:34:09.786Z] Step 22/24 : LABEL arch=amd64 [2020-10-16T09:34:10.048Z] ---> Running in f482b75e70dd [2020-10-16T09:34:10.048Z] Removing intermediate container f482b75e70dd [2020-10-16T09:34:10.048Z] ---> a1f7e8a9f3ff [2020-10-16T09:34:10.048Z] Step 23/24 : LABEL git_sha=0ffda3b35df6f7860b0048cd9b6041cb7d0d375e [2020-10-16T09:34:10.048Z] ---> Running in 073dd065444c [2020-10-16T09:34:10.309Z] Removing intermediate container 073dd065444c [2020-10-16T09:34:10.309Z] ---> 598883529058 [2020-10-16T09:34:10.309Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T09:34:10.570Z] ---> Running in b9e2fa810754 [2020-10-16T09:34:10.830Z] Removing intermediate container b9e2fa810754 [2020-10-16T09:34:10.830Z] ---> 54f0b15cb22e [2020-10-16T09:34:10.830Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T09:34:10.830Z] Successfully built 54f0b15cb22e [2020-10-16T09:34:10.830Z] 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-16T09:34:25.672Z] Removing intermediate container 10452d4179f3 [2020-10-16T09:34:25.672Z] ---> 30244d16f812 [2020-10-16T09:34:25.672Z] Successfully built 30244d16f812 [2020-10-16T09:34:25.944Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:34:26.370Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T09:34:26.370Z] . [Pipeline] withDockerContainer [2020-10-16T09:34:26.664Z] prd-ubuntu18.04-docker-arm64-4c-16g-5859 does not seem to be running inside a container [2020-10-16T09:34:26.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@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-16T09:34:28.774Z] $ docker top 693af25ec15dcb3ef111004600fbd61444ce5cd20f6c7e434865be6795979e5d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:34:30.264Z] + go version [2020-10-16T09:34:30.264Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-16T09:34:30.306Z] $ docker stop --time=1 693af25ec15dcb3ef111004600fbd61444ce5cd20f6c7e434865be6795979e5d [2020-10-16T09:34:32.464Z] $ docker rm -f 693af25ec15dcb3ef111004600fbd61444ce5cd20f6c7e434865be6795979e5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:34:33.553Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T09:34:33.553Z] . [Pipeline] withDockerContainer [2020-10-16T09:34:33.846Z] prd-ubuntu18.04-docker-arm64-4c-16g-5859 does not seem to be running inside a container [2020-10-16T09:34:33.939Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@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-16T09:34:35.788Z] $ docker top 7b53855cb88a8a8337b14301742acec2ee0f1f1535ce717d6dcd1139b5729547 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:34:37.155Z] + make test [2020-10-16T09:34:37.155Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T09:34:59.344Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T09:35:38.453Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T09:35:38.453Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T09:35:38.453Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T09:35:40.460Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.152s coverage: 21.6% of statements [2020-10-16T09:35:45.891Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.279s coverage: 97.1% of statements [2020-10-16T09:36:12.701Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.125s coverage: 9.4% of statements [2020-10-16T09:36:12.701Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.110s coverage: 21.9% of statements [2020-10-16T09:36:12.701Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T09:36:12.701Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.598s coverage: 42.6% of statements [2020-10-16T09:36:12.701Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T09:36:12.701Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.853s coverage: 68.9% of statements [2020-10-16T09:36:12.701Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T09:36:12.701Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T09:36:12.701Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T09:36:12.701Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T09:36:12.701Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.184s coverage: 52.6% of statements [2020-10-16T09:36:12.701Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T09:36:12.701Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T09:36:12.701Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T09:36:12.701Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.867s coverage: 68.9% of statements [2020-10-16T09:36:12.701Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T09:36:12.701Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T09:36:12.701Z] GO111MODULE=on go vet ./... [2020-10-16T09:36:45.087Z] gofmt -l . [2020-10-16T09:36:45.087Z] [ "`gofmt -l .`" = "" ] [2020-10-16T09:36:45.087Z] ./bin/test-attribution-txt.sh [2020-10-16T09:36:45.087Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T09:36:45.165Z] Warning: overwriting stash ‘coverage-report’ [2020-10-16T09:36:45.991Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T09:36:46.012Z] $ docker stop --time=1 7b53855cb88a8a8337b14301742acec2ee0f1f1535ce717d6dcd1139b5729547 [2020-10-16T09:36:48.259Z] $ docker rm -f 7b53855cb88a8a8337b14301742acec2ee0f1f1535ce717d6dcd1139b5729547 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T09:36:49.823Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T09:36:50.182Z] + ls -al . [2020-10-16T09:36:50.182Z] total 224 [2020-10-16T09:36:50.182Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 09:36 . [2020-10-16T09:36:50.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:33 .. [2020-10-16T09:36:50.182Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 09:33 .dockerignore [2020-10-16T09:36:50.182Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 09:33 .git [2020-10-16T09:36:50.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:33 .github [2020-10-16T09:36:50.182Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 09:33 .gitignore [2020-10-16T09:36:50.182Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 09:33 Dockerfile.build [2020-10-16T09:36:50.182Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 09:33 Jenkinsfile [2020-10-16T09:36:50.182Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 09:33 LICENSE [2020-10-16T09:36:50.182Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 09:33 Makefile [2020-10-16T09:36:50.182Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 09:33 README.md [2020-10-16T09:36:50.182Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 09:33 RELEASE-NOTES.txt [2020-10-16T09:36:50.182Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 09:30 VERSION [2020-10-16T09:36:50.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:33 bin [2020-10-16T09:36:50.182Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 16 09:36 coverage.out [2020-10-16T09:36:50.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:33 example [2020-10-16T09:36:50.182Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 16 09:36 go.mod [2020-10-16T09:36:50.182Z] -rw-r--r-- 1 jenkins jenkins 13737 Oct 16 09:36 go.sum [2020-10-16T09:36:50.182Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 09:33 internal [2020-10-16T09:36:50.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:33 openapi [2020-10-16T09:36:50.182Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 09:33 pkg [2020-10-16T09:36:50.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:33 snap [2020-10-16T09:36:50.182Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 09:33 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:36:50.591Z] + 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=0ffda3b35df6f7860b0048cd9b6041cb7d0d375e --label arch=arm64 --label version=0.0.0 . [2020-10-16T09:36:50.871Z] Sending build context to Docker daemon 2.427MB [2020-10-16T09:36:51.142Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T09:36:51.142Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T09:36:51.142Z] ---> 30244d16f812 [2020-10-16T09:36:51.142Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T09:36:51.421Z] ---> Running in e46d68cc0a80 [2020-10-16T09:36:52.017Z] Removing intermediate container e46d68cc0a80 [2020-10-16T09:36:52.017Z] ---> c765a5ca1683 [2020-10-16T09:36:52.017Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T09:36:52.017Z] ---> Running in b800f232521a [2020-10-16T09:36:52.616Z] Removing intermediate container b800f232521a [2020-10-16T09:36:52.616Z] ---> 8ff5895dece7 [2020-10-16T09:36:52.616Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:36:52.616Z] ---> Running in 385735483cd6 [2020-10-16T09:36:53.210Z] Removing intermediate container 385735483cd6 [2020-10-16T09:36:53.210Z] ---> 3ae953d27398 [2020-10-16T09:36:53.210Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T09:36:53.210Z] ---> Running in 00412ca52ea3 [2020-10-16T09:36:55.844Z] Removing intermediate container 00412ca52ea3 [2020-10-16T09:36:55.844Z] ---> 9f3f03f2f2ec [2020-10-16T09:36:55.844Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T09:36:55.844Z] ---> Running in 0e563b9c3779 [2020-10-16T09:36:57.301Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T09:36:57.901Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T09:36:58.880Z] OK: 142 MiB in 39 packages [2020-10-16T09:37:00.336Z] Removing intermediate container 0e563b9c3779 [2020-10-16T09:37:00.336Z] ---> b3ab0805720f [2020-10-16T09:37:00.336Z] Step 8/24 : COPY . . [2020-10-16T09:37:01.789Z] ---> c52649a9ab92 [2020-10-16T09:37:01.789Z] Step 9/24 : RUN ${MAKE} [2020-10-16T09:37:01.789Z] ---> Running in 99f6ed00c56b [2020-10-16T09:37:03.243Z] 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-16T09:37:35.698Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T09:37:35.698Z] Removing intermediate container 99f6ed00c56b [2020-10-16T09:37:35.698Z] ---> c419ab2b2494 [2020-10-16T09:37:35.698Z] Step 10/24 : FROM scratch [2020-10-16T09:37:35.698Z] ---> [2020-10-16T09:37:35.698Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T09:37:35.698Z] ---> Running in 178ddc6ebdac [2020-10-16T09:37:36.297Z] Removing intermediate container 178ddc6ebdac [2020-10-16T09:37:36.297Z] ---> b582341e5ebf [2020-10-16T09:37:36.297Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T09:37:36.297Z] ---> Running in 4927f39f1ad6 [2020-10-16T09:37:36.894Z] Removing intermediate container 4927f39f1ad6 [2020-10-16T09:37:36.894Z] ---> e20966627cca [2020-10-16T09:37:36.894Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T09:37:36.894Z] ---> Running in 828487627c8f [2020-10-16T09:37:37.491Z] Removing intermediate container 828487627c8f [2020-10-16T09:37:37.491Z] ---> 85e3e3f3e40b [2020-10-16T09:37:37.491Z] Step 14/24 : WORKDIR / [2020-10-16T09:37:37.491Z] ---> Running in 54ba47561c46 [2020-10-16T09:37:38.089Z] Removing intermediate container 54ba47561c46 [2020-10-16T09:37:38.089Z] ---> 0fd0a0e756f0 [2020-10-16T09:37:38.089Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T09:37:39.532Z] ---> bec74c3da0c6 [2020-10-16T09:37:39.532Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T09:37:40.130Z] ---> b4595a6ebc18 [2020-10-16T09:37:40.130Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T09:37:40.734Z] ---> 2dc620103a93 [2020-10-16T09:37:40.734Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T09:37:41.712Z] ---> 6faf656eed85 [2020-10-16T09:37:41.712Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T09:37:42.695Z] ---> 5c053f9d84f2 [2020-10-16T09:37:42.695Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T09:37:42.695Z] ---> Running in 3c3ce6144a9c [2020-10-16T09:37:42.968Z] Removing intermediate container 3c3ce6144a9c [2020-10-16T09:37:42.968Z] ---> 6a738c114070 [2020-10-16T09:37:42.968Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T09:37:43.242Z] ---> Running in 8a03ecc53645 [2020-10-16T09:37:43.516Z] Removing intermediate container 8a03ecc53645 [2020-10-16T09:37:43.516Z] ---> c4848d5148f9 [2020-10-16T09:37:43.516Z] Step 22/24 : LABEL arch=arm64 [2020-10-16T09:37:43.791Z] ---> Running in 560ea0983a36 [2020-10-16T09:37:44.387Z] Removing intermediate container 560ea0983a36 [2020-10-16T09:37:44.387Z] ---> b3ef5f4266b3 [2020-10-16T09:37:44.387Z] Step 23/24 : LABEL git_sha=0ffda3b35df6f7860b0048cd9b6041cb7d0d375e [2020-10-16T09:37:44.387Z] ---> Running in 490b2dc2c89e [2020-10-16T09:37:44.984Z] Removing intermediate container 490b2dc2c89e [2020-10-16T09:37:44.984Z] ---> 200de57ec1f5 [2020-10-16T09:37:44.984Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T09:37:44.984Z] ---> Running in cec959ab7f90 [2020-10-16T09:37:45.582Z] Removing intermediate container cec959ab7f90 [2020-10-16T09:37:45.582Z] ---> d41b6116f895 [2020-10-16T09:37:45.582Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T09:37:45.582Z] Successfully built d41b6116f895 [2020-10-16T09:37:45.582Z] 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-16T09:37:47.344Z] provisioning config files... [2020-10-16T09:37:47.355Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config3612124460535896021tmp [Pipeline] { [Pipeline] sh [2020-10-16T09:37:47.731Z] + set +x [2020-10-16T09:37:47.732Z] + curl -s https://codecov.io/bash [2020-10-16T09:37:47.732Z] + bash -s -- [2020-10-16T09:37:47.996Z] [2020-10-16T09:37:47.996Z] _____ _ [2020-10-16T09:37:47.996Z] / ____| | | [2020-10-16T09:37:47.996Z] | | ___ __| | ___ ___ _____ __ [2020-10-16T09:37:47.996Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-16T09:37:47.996Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-16T09:37:47.996Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-16T09:37:47.996Z] Bash-20201009-048fee3 [2020-10-16T09:37:47.996Z] [2020-10-16T09:37:47.996Z] [2020-10-16T09:37:47.996Z] ==> Jenkins CI detected. [2020-10-16T09:37:47.996Z] project root: . [2020-10-16T09:37:47.996Z] --> token set from env [2020-10-16T09:37:47.996Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-16T09:37:47.996Z] ==> Running gcov in . (disable via -X gcov) [2020-10-16T09:37:47.996Z] ==> Python coveragepy not found [2020-10-16T09:37:47.996Z] ==> Searching for coverage reports in: [2020-10-16T09:37:47.996Z] + . [2020-10-16T09:37:47.996Z] -> Found 1 reports [2020-10-16T09:37:47.996Z] ==> Detecting git/mercurial file structure [2020-10-16T09:37:47.996Z] ==> Reading reports [2020-10-16T09:37:47.996Z] + ./coverage.out bytes=110398 [2020-10-16T09:37:47.996Z] ==> Appending adjustments [2020-10-16T09:37:47.996Z] https://docs.codecov.io/docs/fixing-reports [2020-10-16T09:37:48.571Z] + Found adjustments [2020-10-16T09:37:48.571Z] ==> Gzipping contents [2020-10-16T09:37:48.571Z] ==> Uploading reports [2020-10-16T09:37:48.571Z] url: https://codecov.io [2020-10-16T09:37:48.571Z] query: branch=PR-582&commit=0ffda3b35df6f7860b0048cd9b6041cb7d0d375e&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-16T09:37:48.571Z] -> Pinging Codecov [2020-10-16T09:37:48.571Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-582&commit=0ffda3b35df6f7860b0048cd9b6041cb7d0d375e&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-16T09:37:48.571Z] -> Uploading to [2020-10-16T09:37:48.571Z] [2020-10-16T09:37:48.571Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T09:37:48.571Z] Dload Upload Total Spent Left Speed [2020-10-16T09:37:48.571Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-16T09:37:48.571Z] X> Failed to upload [2020-10-16T09:37:48.571Z] ==> Uploading to Codecov [2020-10-16T09:37:48.571Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T09:37:48.571Z] Dload Upload Total Spent Left Speed [2020-10-16T09:37:49.520Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19147 0 0 100 19037 0 25706 --:--:-- --:--:-- --:--:-- 25690 100 19147 100 110 100 19037 148 25698 --:--:-- --:--:-- --:--:-- 25690 [2020-10-16T09:37:49.520Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0ffda3b35df6f7860b0048cd9b6041cb7d0d375e [Pipeline] } [2020-10-16T09:37:49.531Z] 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-16T09:37:52.290Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:37:52.875Z] ---> package-listing.sh [2020-10-16T09:37:52.875Z] ++ facter osfamily [2020-10-16T09:37:52.875Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-16T09:37:52.875Z] + OS_FAMILY=redhat [2020-10-16T09:37:52.875Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-16T09:37:52.875Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-16T09:37:52.875Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-16T09:37:52.875Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-16T09:37:52.875Z] + PACKAGES=/tmp/packages_start.txt [2020-10-16T09:37:52.875Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-16T09:37:52.875Z] + PACKAGES=/tmp/packages_end.txt [2020-10-16T09:37:52.875Z] + case "${OS_FAMILY}" in [2020-10-16T09:37:52.875Z] + rpm -qa [2020-10-16T09:37:52.875Z] + sort [2020-10-16T09:37:57.098Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-16T09:37:57.098Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-16T09:37:57.098Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-16T09:37:57.098Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-16T09:37:57.098Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [2020-10-16T09:37:57.098Z] + 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-16T09:37:57.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-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-16T09:37:57.416Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:37:57.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T09:37:57.727Z] [2020-10-16T09:37:57.727Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-16T09:37:58.090Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T09:37:58.090Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-16T09:37:58.090Z] df20fa9351a1: Pulling fs layer [2020-10-16T09:37:58.090Z] 36b3adc4ff6f: Pulling fs layer [2020-10-16T09:37:58.090Z] 8ad3a11d3b57: Pulling fs layer [2020-10-16T09:37:58.090Z] 46f8f816bc3b: Pulling fs layer [2020-10-16T09:37:58.090Z] 93b61091891f: Pulling fs layer [2020-10-16T09:37:58.090Z] 93b9cdb0e59b: Pulling fs layer [2020-10-16T09:37:58.090Z] 5e14af77c1be: Pulling fs layer [2020-10-16T09:37:58.090Z] 01666e4c0597: Pulling fs layer [2020-10-16T09:37:58.090Z] aa168da1d23b: Pulling fs layer [2020-10-16T09:37:58.090Z] 5e14af77c1be: Waiting [2020-10-16T09:37:58.090Z] 46f8f816bc3b: Waiting [2020-10-16T09:37:58.090Z] 93b61091891f: Waiting [2020-10-16T09:37:58.090Z] 01666e4c0597: Waiting [2020-10-16T09:37:58.090Z] aa168da1d23b: Waiting [2020-10-16T09:37:58.090Z] 93b9cdb0e59b: Waiting [2020-10-16T09:37:58.090Z] 36b3adc4ff6f: Verifying Checksum [2020-10-16T09:37:58.090Z] 36b3adc4ff6f: Download complete [2020-10-16T09:37:58.090Z] 46f8f816bc3b: Download complete [2020-10-16T09:37:58.354Z] df20fa9351a1: Download complete [2020-10-16T09:37:58.354Z] 93b61091891f: Verifying Checksum [2020-10-16T09:37:58.354Z] 93b61091891f: Download complete [2020-10-16T09:37:58.354Z] 93b9cdb0e59b: Verifying Checksum [2020-10-16T09:37:58.354Z] 93b9cdb0e59b: Download complete [2020-10-16T09:37:58.354Z] 5e14af77c1be: Download complete [2020-10-16T09:37:58.354Z] 01666e4c0597: Verifying Checksum [2020-10-16T09:37:58.354Z] 01666e4c0597: Download complete [2020-10-16T09:37:58.624Z] df20fa9351a1: Pull complete [2020-10-16T09:37:58.892Z] 36b3adc4ff6f: Pull complete [2020-10-16T09:37:58.892Z] 8ad3a11d3b57: Verifying Checksum [2020-10-16T09:37:58.892Z] 8ad3a11d3b57: Download complete [2020-10-16T09:37:59.470Z] 8ad3a11d3b57: Pull complete [2020-10-16T09:37:59.736Z] 46f8f816bc3b: Pull complete [2020-10-16T09:38:00.685Z] 93b61091891f: Pull complete [2020-10-16T09:38:00.685Z] aa168da1d23b: Verifying Checksum [2020-10-16T09:38:00.685Z] aa168da1d23b: Download complete [2020-10-16T09:38:00.685Z] 93b9cdb0e59b: Pull complete [2020-10-16T09:38:00.948Z] 5e14af77c1be: Pull complete [2020-10-16T09:38:00.948Z] 01666e4c0597: Pull complete [2020-10-16T09:38:07.581Z] aa168da1d23b: Pull complete [2020-10-16T09:38:07.581Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-16T09:38:07.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T09:38:07.581Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-16T09:38:07.789Z] prd-centos7-docker-4c-2g-5852 does not seem to be running inside a container [2020-10-16T09:38:07.845Z] $ 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-16T09:38:11.183Z] $ docker top 94255f9e3e9226bac6bf5ead6f5047be3dd669d4c3fe11569b6bd88c79499f58 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T09:38:11.650Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-16T09:38:11.953Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-16T09:38:12.256Z] + ls /var/log/sa-host [2020-10-16T09:38:12.256Z] + sadf -c /var/log/sa-host/sa05 [2020-10-16T09:38:12.256Z] file_magic: OK [2020-10-16T09:38:12.256Z] HZ: Using current value: 100 [2020-10-16T09:38:12.256Z] file_header: OK [2020-10-16T09:38:12.256Z] 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-16T09:38:12.256Z] Statistics: [2020-10-16T09:38:12.256Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T09:38:12.256Z] File successfully converted to sysstat format version 12.2.1 [2020-10-16T09:38:12.256Z] + sadf -c /var/log/sa-host/sa16 [2020-10-16T09:38:12.256Z] file_magic: OK [2020-10-16T09:38:12.256Z] HZ: Using current value: 100 [2020-10-16T09:38:12.256Z] file_header: OK [2020-10-16T09:38:12.256Z] 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-16T09:38:12.256Z] Statistics: [2020-10-16T09:38:12.256Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T09:38:12.256Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-16T09:38:12.504Z] provisioning config files... [2020-10-16T09:38:12.520Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config6882366441225031447tmp [Pipeline] { [Pipeline] echo [2020-10-16T09:38:12.595Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:38:12.900Z] ---> create-netrc.sh [Pipeline] } [2020-10-16T09:38:12.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-16T09:38:13.000Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:38:13.298Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-16T09:38:13.309Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:38:13.608Z] ---> sudo-logs.sh [2020-10-16T09:38:13.609Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-16T09:38:13.620Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:38:13.917Z] ---> job-cost.sh [2020-10-16T09:38:13.918Z] lf-activate-venv: SKIPPING [2020-10-16T09:38:13.918Z] INFO: No Stack... [2020-10-16T09:38:15.871Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-16T09:38:16.147Z] INFO: Archiving Costs [Pipeline] echo [2020-10-16T09:38:16.165Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T09:38:16.506Z] ---> logs-deploy.sh [2020-10-16T09:38:16.506Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/25 [2020-10-16T09:38:16.506Z] INFO: archiving workspace using pattern(s): [2020-10-16T09:38:17.967Z] Archives upload complete. [2020-10-16T09:38:18.251Z] INFO: archiving logs to Nexus