Pull request #628 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 9693139b7a47364e29f2a77c5e9650aa8beb0762+10f5d80329275e8e77aa5b449b49b1589ab3bade (a447ca2f2006b60190085d5232fc20537ee1d0e6) 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-5786 in /w/workspace/dgexfoundry_device-sdk-go_PR-628 [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-628 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/628/head:refs/remotes/origin/PR-628 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit 9693139b7a47364e29f2a77c5e9650aa8beb0762 Merge succeeded, producing 9693139b7a47364e29f2a77c5e9650aa8beb0762 Checking out Revision 9693139b7a47364e29f2a77c5e9650aa8beb0762 (PR-628) > git config core.sparsecheckout # timeout=10 > git checkout -f 9693139b7a47364e29f2a77c5e9650aa8beb0762 # 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 9693139b7a47364e29f2a77c5e9650aa8beb0762 # timeout=10 Commit message: "feat(sdk): start auto-discovery upon service startup" First time build. Skipping changelog. > git rev-list --no-walk 2af4a04b4090d051d9ed256987a2fd6586d5f1ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:45:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:45:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:45:58 ========================================================= 06:45:58 EdgeX Global Pipelines Version Info 06:45:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:46:00 ------------------- 06:46:00 stable info: 06:46:00 ------------------- 06:46:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:46:00 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:46:00 Message: update stable to v1.0.144 06:46:01 ------------------- 06:46:01 experimental info: 06:46:01 ------------------- 06:46:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:46:01 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:46:01 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:46:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:46:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:46:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:46:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:46:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:46:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:46:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:46:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:46:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:46:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:46:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:46:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:46:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:46:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:46:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:46:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:46:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:46:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:46:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:46:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-628 [Pipeline] echo 06:46:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-628 [Pipeline] echo 06:46:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-628 [Pipeline] echo 06:46:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9693139b7a47364e29f2a77c5e9650aa8beb0762 [Pipeline] echo 06:46:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9693139 [Pipeline] echo 06:46:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:46:05 + git log --format=format:%s -1 9693139b7a47364e29f2a77c5e9650aa8beb0762 [Pipeline] echo 06:46:05 GIT_COMMIT: 9693139b7a47364e29f2a77c5e9650aa8beb0762, Commit Message: feat(sdk): start auto-discovery upon service startup [Pipeline] echo 06:46:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:46:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:46:06 06:46:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:46:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:46:07 latest: Pulling from edgex-devops/git-semver 06:46:07 31603596830f: Pulling fs layer 06:46:07 2a8b12db71e7: Pulling fs layer 06:46:07 6ca5941a6612: Pulling fs layer 06:46:07 ecc8261a40a4: Pulling fs layer 06:46:07 ecc8261a40a4: Waiting 06:46:07 2a8b12db71e7: Download complete 06:46:07 31603596830f: Verifying Checksum 06:46:07 31603596830f: Download complete 06:46:07 ecc8261a40a4: Verifying Checksum 06:46:07 ecc8261a40a4: Download complete 06:46:07 6ca5941a6612: Verifying Checksum 06:46:07 6ca5941a6612: Download complete 06:46:07 31603596830f: Pull complete 06:46:07 2a8b12db71e7: Pull complete 06:46:08 6ca5941a6612: Pull complete 06:46:08 ecc8261a40a4: Pull complete 06:46:08 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:46:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:46:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:46:08 prd-centos7-docker-4c-2g-5786 does not seem to be running inside a container 06:46:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-628 -v /w/workspace/dgexfoundry_device-sdk-go_PR-628:/w/workspace/dgexfoundry_device-sdk-go_PR-628:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-628@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:46:10 $ docker top b82b9a8ecd2c2e9c9f69975a0779a5dd174f40801a7d65761b6f9f69ed99d9e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:46:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:46:10 [ssh-agent] Looking for ssh-agent implementation... 06:46:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:46:11 $ docker exec b82b9a8ecd2c2e9c9f69975a0779a5dd174f40801a7d65761b6f9f69ed99d9e1 ssh-agent 06:46:11 SSH_AUTH_SOCK=/tmp/ssh-Z6v1Tn5fEpwn/agent.11 06:46:11 SSH_AGENT_PID=16 06:46:11 Running ssh-add (command line suppressed) 06:46:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_1393763650669834371.key (/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_1393763650669834371.key) 06:46:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:46:11 + git tag --points-at HEAD [Pipeline] } 06:46:11 $ docker exec --env ******** --env ******** b82b9a8ecd2c2e9c9f69975a0779a5dd174f40801a7d65761b6f9f69ed99d9e1 ssh-agent -k 06:46:11 unset SSH_AUTH_SOCK; 06:46:11 unset SSH_AGENT_PID; 06:46:11 echo Agent pid 16 killed; 06:46:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:46:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:46:12 [ssh-agent] Looking for ssh-agent implementation... 06:46:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:46:12 $ docker exec b82b9a8ecd2c2e9c9f69975a0779a5dd174f40801a7d65761b6f9f69ed99d9e1 ssh-agent 06:46:12 SSH_AUTH_SOCK=/tmp/ssh-MEj6BYhPnN97/agent.45 06:46:12 SSH_AGENT_PID=50 06:46:12 Running ssh-add (command line suppressed) 06:46:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_324994676344618526.key (/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/private_key_324994676344618526.key) 06:46:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:46:13 + git semver init 06:46:13 # -> Open(): unable to determine branch for HEAD 06:46:13 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-628/.git 06:46:13 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-628 06:46:13 # $SEMVER_REMOTE_NAME = origin 06:46:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:46:13 # $SEMVER_USER_NAME = edgex-jenkins 06:46:13 # $SEMVER_BRANCH = PR-628 06:46:13 # $SEMVER_TEMP = /tmp/semver-012731613 06:46:13 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:46:13 # '/tmp/semver-012731613' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-628/.semver' 06:46:13 # -> Force: false 06:46:13 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-628/.semver [Pipeline] } 06:46:13 $ docker exec --env ******** --env ******** b82b9a8ecd2c2e9c9f69975a0779a5dd174f40801a7d65761b6f9f69ed99d9e1 ssh-agent -k 06:46:13 unset SSH_AUTH_SOCK; 06:46:13 unset SSH_AGENT_PID; 06:46:13 echo Agent pid 50 killed; 06:46:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:46:14 + git semver [Pipeline] } 06:46:14 $ docker stop --time=1 b82b9a8ecd2c2e9c9f69975a0779a5dd174f40801a7d65761b6f9f69ed99d9e1 06:46:15 $ docker rm -f b82b9a8ecd2c2e9c9f69975a0779a5dd174f40801a7d65761b6f9f69ed99d9e1 [Pipeline] // withDockerContainer [Pipeline] sh 06:46:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:46:16 Stashed 1 file(s) [Pipeline] echo 06:46:16 [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 06:46:32 Still waiting to schedule task 06:46:32 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:46:32 Still waiting to schedule task 06:46:32 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 06:48:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5787 in /w/workspace/dgexfoundry_device-sdk-go_PR-628 [Pipeline] { [Pipeline] ws 06:48:21 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 06:48:26 using credential edgex-jenkins-ssh 06:48:27 Cloning the remote Git repository 06:48:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:48:27 > git init /w/workspace/device-sdk-go/3 # timeout=10 06:48:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:48:27 > git --version # timeout=10 06:48:27 > git --version # 'git version 2.17.1' 06:48:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:48:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:48:29 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit 9693139b7a47364e29f2a77c5e9650aa8beb0762 06:48:29 Merge succeeded, producing 9693139b7a47364e29f2a77c5e9650aa8beb0762 06:48:29 Checking out Revision 9693139b7a47364e29f2a77c5e9650aa8beb0762 (PR-628) 06:48:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:48:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:48:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:48:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:48:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:48:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/628/head:refs/remotes/origin/PR-628 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:48:29 > git config core.sparsecheckout # timeout=10 06:48:29 > git checkout -f 9693139b7a47364e29f2a77c5e9650aa8beb0762 # timeout=10 06:48:29 > git remote # timeout=10 06:48:29 > git config --get remote.origin.url # timeout=10 06:48:29 using GIT_SSH to set credentials SSH Credentials for GitHub 06:48:29 > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 06:48:29 > git rev-parse HEAD^{commit} # timeout=10 06:48:29 > git config core.sparsecheckout # timeout=10 06:48:29 > git checkout -f 9693139b7a47364e29f2a77c5e9650aa8beb0762 # timeout=10 06:48:33 Commit message: "feat(sdk): start auto-discovery upon service startup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:48:34 ========================================================= 06:48:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:48:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:48:35 + 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 . 06:48:36 Sending build context to Docker daemon 2.335MB 06:48:36 Step 1/8 : ARG BASE=golang:1.15-alpine 06:48:36 Step 2/8 : FROM ${BASE} 06:48:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:48:36 b538f80385f9: Pulling fs layer 06:48:36 74f711af9a0d: Pulling fs layer 06:48:36 99f96fe45779: Pulling fs layer 06:48:36 8529a6b9a6be: Pulling fs layer 06:48:36 45590311c82a: Pulling fs layer 06:48:36 69ca0ff8b7b3: Pulling fs layer 06:48:36 209524e5b208: Pulling fs layer 06:48:36 45590311c82a: Waiting 06:48:36 69ca0ff8b7b3: Waiting 06:48:36 209524e5b208: Waiting 06:48:36 8529a6b9a6be: Waiting 06:48:36 99f96fe45779: Download complete 06:48:36 74f711af9a0d: Verifying Checksum 06:48:36 74f711af9a0d: Download complete 06:48:36 45590311c82a: Verifying Checksum 06:48:36 45590311c82a: Download complete 06:48:36 69ca0ff8b7b3: Verifying Checksum 06:48:36 69ca0ff8b7b3: Download complete 06:48:37 b538f80385f9: Verifying Checksum 06:48:37 b538f80385f9: Download complete 06:48:38 b538f80385f9: Pull complete 06:48:38 74f711af9a0d: Pull complete 06:48:38 99f96fe45779: Pull complete 06:48:39 209524e5b208: Verifying Checksum 06:48:39 209524e5b208: Download complete 06:48:40 8529a6b9a6be: Download complete 06:48:51 8529a6b9a6be: Pull complete 06:48:51 45590311c82a: Pull complete 06:48:51 69ca0ff8b7b3: Pull complete 06:48:53 Running on prd-centos7-docker-4c-2g-5788 in /w/workspace/dgexfoundry_device-sdk-go_PR-628 [Pipeline] { [Pipeline] ws 06:48:54 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 06:48:57 209524e5b208: Pull complete 06:48:57 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:48:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:48:57 ---> 5bddaf1c2fca 06:48:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:48:58 ---> Running in 49ee8a35e2d1 06:48:58 Removing intermediate container 49ee8a35e2d1 06:48:58 ---> ec0f43057ad0 06:48:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:48:58 ---> Running in da1c817678d6 06:48:58 using credential edgex-jenkins-ssh 06:48:58 Cloning the remote Git repository 06:48:58 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:48:58 > git init /w/workspace/device-sdk-go/3 # timeout=10 06:48:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:48:59 > git --version # timeout=10 06:48:59 > git --version # 'git version 2.16.5' 06:48:59 using GIT_SSH to set credentials SSH Credentials for GitHub 06:48:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:48:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:48:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:48:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:48:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:48:59 using GIT_SSH to set credentials SSH Credentials for GitHub 06:48:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/628/head:refs/remotes/origin/PR-628 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:49:00 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit 9693139b7a47364e29f2a77c5e9650aa8beb0762 06:49:00 Merge succeeded, producing 9693139b7a47364e29f2a77c5e9650aa8beb0762 06:49:00 Checking out Revision 9693139b7a47364e29f2a77c5e9650aa8beb0762 (PR-628) 06:49:01 Removing intermediate container da1c817678d6 06:49:01 ---> a66073ccd30c 06:49:01 Step 5/8 : RUN apk add --no-cache make git 06:49:01 ---> Running in bb125241effe 06:49:00 > git config core.sparsecheckout # timeout=10 06:49:00 > git checkout -f 9693139b7a47364e29f2a77c5e9650aa8beb0762 # timeout=10 06:49:00 > git remote # timeout=10 06:49:00 > git config --get remote.origin.url # timeout=10 06:49:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:49:00 > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 06:49:00 > git rev-parse HEAD^{commit} # timeout=10 06:49:00 > git config core.sparsecheckout # timeout=10 06:49:00 > git checkout -f 9693139b7a47364e29f2a77c5e9650aa8beb0762 # timeout=10 06:49:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:49:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:49:04 Commit message: "feat(sdk): start auto-discovery upon service startup" 06:49:04 OK: 142 MiB in 39 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:49:04 ========================================================= 06:49:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:49:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:49:05 Removing intermediate container bb125241effe 06:49:05 ---> 1ce8647101af 06:49:05 Step 6/8 : WORKDIR /device-sdk-go 06:49:05 ---> Running in a9114dd32876 06:49:05 + 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 . 06:49:05 Sending build context to Docker daemon 2.335MB 06:49:05 Step 1/8 : ARG BASE=golang:1.15-alpine 06:49:05 Step 2/8 : FROM ${BASE} 06:49:06 Removing intermediate container a9114dd32876 06:49:06 ---> fde46fa5a963 06:49:06 Step 7/8 : COPY . . 06:49:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:49:06 df20fa9351a1: Pulling fs layer 06:49:06 ed8968b2872e: Pulling fs layer 06:49:06 a92cc7c5fd73: Pulling fs layer 06:49:06 e871e8e8d7a9: Pulling fs layer 06:49:06 e73272ec9a57: Pulling fs layer 06:49:06 1e910a182e73: Pulling fs layer 06:49:06 4e634b169226: Pulling fs layer 06:49:06 e73272ec9a57: Waiting 06:49:06 1e910a182e73: Waiting 06:49:06 e871e8e8d7a9: Waiting 06:49:06 4e634b169226: Waiting 06:49:06 a92cc7c5fd73: Verifying Checksum 06:49:06 a92cc7c5fd73: Download complete 06:49:06 ed8968b2872e: Download complete 06:49:06 e73272ec9a57: Verifying Checksum 06:49:06 e73272ec9a57: Download complete 06:49:06 1e910a182e73: Download complete 06:49:06 df20fa9351a1: Verifying Checksum 06:49:06 df20fa9351a1: Download complete 06:49:06 df20fa9351a1: Pull complete 06:49:06 ed8968b2872e: Pull complete 06:49:06 a92cc7c5fd73: Pull complete 06:49:07 ---> 8d2254ba20ca 06:49:07 Step 8/8 : RUN go mod download 06:49:07 ---> Running in 765102dc6eb6 06:49:08 4e634b169226: Verifying Checksum 06:49:08 4e634b169226: Download complete 06:49:08 e871e8e8d7a9: Verifying Checksum 06:49:08 e871e8e8d7a9: Download complete 06:49:15 e871e8e8d7a9: Pull complete 06:49:15 e73272ec9a57: Pull complete 06:49:15 1e910a182e73: Pull complete 06:49:19 4e634b169226: Pull complete 06:49:19 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:49:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:49:19 ---> f7629b54cfaa 06:49:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:49:19 ---> Running in a6c5f2d78e38 06:49:20 Removing intermediate container a6c5f2d78e38 06:49:20 ---> 23dcdceca78d 06:49:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:49:20 ---> Running in c5ade4d34a09 06:49:21 Removing intermediate container c5ade4d34a09 06:49:21 ---> 2ce112480966 06:49:21 Step 5/8 : RUN apk add --no-cache make git 06:49:21 ---> Running in 1da73e3b9146 06:49:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:49:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:49:23 OK: 166 MiB in 39 packages 06:49:23 Removing intermediate container 1da73e3b9146 06:49:23 ---> debed72c81d8 06:49:23 Step 6/8 : WORKDIR /device-sdk-go 06:49:23 ---> Running in b26692b1b95d 06:49:24 Removing intermediate container b26692b1b95d 06:49:24 ---> ead1a79b11f2 06:49:24 Step 7/8 : COPY . . 06:49:25 ---> 745e54471c75 06:49:25 Step 8/8 : RUN go mod download 06:49:25 ---> Running in fac4f5df2700 06:49:29 Removing intermediate container 765102dc6eb6 06:49:29 ---> 573d069eceda 06:49:29 Successfully built 573d069eceda 06:49:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:49:30 + docker inspect -f . ci-base-image-arm64 06:49:30 . [Pipeline] withDockerContainer 06:49:30 prd-ubuntu18.04-docker-arm64-4c-16g-5787 does not seem to be running inside a container 06:49:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:49:32 $ docker top e905c7cdb31b3cb4870f7aa9f185a06d9c9d2497958e1b9bbee9e0075e7fb4b4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:33 + go version 06:49:33 go version go1.15.2 linux/arm64 [Pipeline] } 06:49:33 $ docker stop --time=1 e905c7cdb31b3cb4870f7aa9f185a06d9c9d2497958e1b9bbee9e0075e7fb4b4 06:49:35 $ docker rm -f e905c7cdb31b3cb4870f7aa9f185a06d9c9d2497958e1b9bbee9e0075e7fb4b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:49:36 + docker inspect -f . ci-base-image-arm64 06:49:36 . [Pipeline] withDockerContainer 06:49:37 prd-ubuntu18.04-docker-arm64-4c-16g-5787 does not seem to be running inside a container 06:49:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:49:39 $ docker top f093bec6f08f8f7c9264bf3ffa722de1a2365ccba75008cb54acb0533d93fbe9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:40 + make test 06:49:40 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:49:43 Removing intermediate container fac4f5df2700 06:49:43 ---> ae20d2d49674 06:49:43 Successfully built ae20d2d49674 06:49:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:49:43 + docker inspect -f . ci-base-image-x86_64 06:49:43 . [Pipeline] withDockerContainer 06:49:43 prd-centos7-docker-4c-2g-5788 does not seem to be running inside a container 06:49:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:49:45 $ docker top a0e1353750ff1a2a23f39e3a52ce6f5e5d3a9ba5e2af928102f81f5838b36a73 -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:45 + go version 06:49:45 go version go1.15.2 linux/amd64 [Pipeline] } 06:49:45 $ docker stop --time=1 a0e1353750ff1a2a23f39e3a52ce6f5e5d3a9ba5e2af928102f81f5838b36a73 06:49:47 $ docker rm -f a0e1353750ff1a2a23f39e3a52ce6f5e5d3a9ba5e2af928102f81f5838b36a73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:49:48 + docker inspect -f . ci-base-image-x86_64 06:49:48 . [Pipeline] withDockerContainer 06:49:48 prd-centos7-docker-4c-2g-5788 does not seem to be running inside a container 06:49:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:49:49 $ docker top df962c2303a77ed8896c8a51d7ddb8c38e40d5ce502765c668a70d7595dfa484 -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:49 + make test 06:49:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:49:58 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:50:02 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:50:13 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:50:13 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:50:13 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:50:13 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.051s coverage: 21.6% of statements 06:50:13 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.497s coverage: 97.1% of statements 06:50:41 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:50:41 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:50:41 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:50:41 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.127s coverage: 21.6% of statements 06:50:43 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.193s coverage: 97.1% of statements 06:50:45 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.085s coverage: 9.4% of statements 06:50:45 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements 06:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:50:45 ok github.com/edgexfoundry/device-sdk-go/internal/controller 1.039s coverage: 42.6% of statements 06:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:50:45 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.309s coverage: 68.9% of statements 06:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:50:45 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 52.6% of statements 06:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:50:45 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:50:45 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.420s coverage: 68.9% of statements 06:50:45 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:50:45 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:50:45 GO111MODULE=on go vet ./... 06:50:52 gofmt -l . 06:50:52 [ "`gofmt -l .`" = "" ] 06:50:52 ./bin/test-attribution-txt.sh 06:50:53 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:50:53 Stashed 1 file(s) [Pipeline] } 06:50:53 $ docker stop --time=1 df962c2303a77ed8896c8a51d7ddb8c38e40d5ce502765c668a70d7595dfa484 06:50:55 $ docker rm -f df962c2303a77ed8896c8a51d7ddb8c38e40d5ce502765c668a70d7595dfa484 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:50:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:50:59 + ls -al . 06:50:59 total 188 06:50:59 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 06:50 . 06:50:59 drwxrwxr-x. 4 jenkins jenkins 28 Oct 16 06:48 .. 06:50:59 drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 06:49 bin 06:50:59 -rw-r--r--. 1 jenkins jenkins 110398 Oct 16 06:50 coverage.out 06:50:59 -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 06:49 Dockerfile.build 06:50:59 -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 06:49 .dockerignore 06:50:59 drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 06:49 example 06:50:59 drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 06:49 .git 06:50:59 drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 06:49 .github 06:50:59 -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 06:49 .gitignore 06:50:59 -rw-r--r--. 1 jenkins jenkins 517 Oct 16 06:50 go.mod 06:50:59 -rw-r--r--. 1 jenkins jenkins 13652 Oct 16 06:50 go.sum 06:50:59 drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 06:49 internal 06:50:59 -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 06:49 Jenkinsfile 06:50:59 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 06:49 LICENSE 06:50:59 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 06:49 Makefile 06:50:59 drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 06:49 openapi 06:50:59 drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 06:49 pkg 06:50:59 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 06:49 README.md 06:50:59 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 06:49 RELEASE-NOTES.txt 06:50:59 drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 06:49 snap 06:50:59 -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 06:46 VERSION 06:50:59 -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 06:49 version.go [Pipeline] isUnix [Pipeline] sh 06:50:59 + 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=9693139b7a47364e29f2a77c5e9650aa8beb0762 --label arch=amd64 --label version=0.0.0 . 06:51:00 Sending build context to Docker daemon 2.446MB 06:51:00 Step 1/24 : ARG BASE=golang:1.15-alpine 06:51:00 Step 2/24 : FROM ${BASE} AS builder 06:51:00 ---> ae20d2d49674 06:51:00 Step 3/24 : ARG MAKE='make build' 06:51:00 ---> Running in 003f319613e7 06:51:00 Removing intermediate container 003f319613e7 06:51:00 ---> 534af6c63c0a 06:51:00 Step 4/24 : WORKDIR /device-sdk-go 06:51:00 ---> Running in 3c9ce93761ec 06:51:00 Removing intermediate container 3c9ce93761ec 06:51:00 ---> aa2f4bee2724 06:51:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:51:01 ---> Running in f69ea57fa820 06:51:01 Removing intermediate container f69ea57fa820 06:51:01 ---> 231d442568ab 06:51:01 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:51:01 ---> Running in 4c9b59920d8a 06:51:02 Removing intermediate container 4c9b59920d8a 06:51:02 ---> e8318e172ddc 06:51:02 Step 7/24 : RUN apk add --update --no-cache make git 06:51:02 ---> Running in 741fdf6c753a 06:51:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:51:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:51:03 OK: 166 MiB in 39 packages 06:51:04 Removing intermediate container 741fdf6c753a 06:51:04 ---> c15140d743f2 06:51:04 Step 8/24 : COPY . . 06:51:05 ---> f590ab6db56c 06:51:05 Step 9/24 : RUN ${MAKE} 06:51:05 ---> Running in 1b8a4a8ad35a 06:51:05 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 06:51:13 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:51:16 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.116s coverage: 9.4% of statements 06:51:16 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.133s coverage: 21.9% of statements 06:51:16 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:51:16 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.583s coverage: 42.6% of statements 06:51:16 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:51:16 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.764s coverage: 68.9% of statements 06:51:16 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:51:16 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:51:16 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:51:16 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:51:16 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.184s coverage: 52.6% of statements 06:51:16 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:51:16 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:51:16 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:51:16 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.650s coverage: 68.9% of statements 06:51:16 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:51:16 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:51:16 GO111MODULE=on go vet ./... 06:51:16 Removing intermediate container 1b8a4a8ad35a 06:51:16 ---> ed03523d38e5 06:51:16 Step 10/24 : FROM scratch 06:51:16 ---> 06:51:16 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:51:16 ---> Running in d4d407c7c2e2 06:51:16 Removing intermediate container d4d407c7c2e2 06:51:16 ---> 55a7aaba4cb1 06:51:16 Step 12/24 : ENV APP_PORT=49990 06:51:16 ---> Running in 4cc2520e399b 06:51:17 Removing intermediate container 4cc2520e399b 06:51:17 ---> ab56256159ba 06:51:17 Step 13/24 : EXPOSE $APP_PORT 06:51:17 ---> Running in 1c2fa45ad32f 06:51:17 Removing intermediate container 1c2fa45ad32f 06:51:17 ---> 2fc93a83de17 06:51:17 Step 14/24 : WORKDIR / 06:51:17 ---> Running in 71442f6985ed 06:51:17 Removing intermediate container 71442f6985ed 06:51:17 ---> 9ec9390cebf4 06:51:17 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:51:17 ---> 6d3a20816a1c 06:51:17 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:51:18 ---> f045bd6163ab 06:51:18 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:51:18 ---> dca7df7ac6c9 06:51:18 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:51:18 ---> 3f8840e33889 06:51:18 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:51:18 ---> d1b74ffa950d 06:51:18 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:51:18 ---> Running in 3c081a1abfdb 06:51:18 Removing intermediate container 3c081a1abfdb 06:51:18 ---> 498e54beac5a 06:51:18 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:51:18 ---> Running in e5c726025e23 06:51:19 Removing intermediate container e5c726025e23 06:51:19 ---> cd424978a095 06:51:19 Step 22/24 : LABEL arch=amd64 06:51:19 ---> Running in ab623dd3d04d 06:51:19 Removing intermediate container ab623dd3d04d 06:51:19 ---> 928234033204 06:51:19 Step 23/24 : LABEL git_sha=9693139b7a47364e29f2a77c5e9650aa8beb0762 06:51:19 ---> Running in f7352d56eebe 06:51:19 Removing intermediate container f7352d56eebe 06:51:19 ---> 4cc902cd33a3 06:51:19 Step 24/24 : LABEL version=0.0.0 06:51:19 ---> Running in 7ced159fe7b3 06:51:19 Removing intermediate container 7ced159fe7b3 06:51:19 ---> 5436c3bdde34 06:51:19 [Warning] One or more build-args [ARCH] were not consumed 06:51:19 Successfully built 5436c3bdde34 06:51:19 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] } 06:51:43 gofmt -l . 06:51:43 [ "`gofmt -l .`" = "" ] 06:51:43 ./bin/test-attribution-txt.sh 06:51:43 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:51:43 Warning: overwriting stash ‘coverage-report’ 06:51:44 Stashed 1 file(s) [Pipeline] } 06:51:44 $ docker stop --time=1 f093bec6f08f8f7c9264bf3ffa722de1a2365ccba75008cb54acb0533d93fbe9 06:51:46 $ docker rm -f f093bec6f08f8f7c9264bf3ffa722de1a2365ccba75008cb54acb0533d93fbe9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:51:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:51:48 + ls -al . 06:51:48 total 224 06:51:48 drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 06:51 . 06:51:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:48 .. 06:51:48 -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 06:48 .dockerignore 06:51:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 06:48 .git 06:51:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:48 .github 06:51:48 -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 06:48 .gitignore 06:51:48 -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 06:48 Dockerfile.build 06:51:48 -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 06:48 Jenkinsfile 06:51:48 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 06:48 LICENSE 06:51:48 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 06:48 Makefile 06:51:48 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 06:48 README.md 06:51:48 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 06:48 RELEASE-NOTES.txt 06:51:48 -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 06:46 VERSION 06:51:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:48 bin 06:51:48 -rw-r--r-- 1 jenkins jenkins 110398 Oct 16 06:51 coverage.out 06:51:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:48 example 06:51:48 -rw-r--r-- 1 jenkins jenkins 517 Oct 16 06:51 go.mod 06:51:48 -rw-r--r-- 1 jenkins jenkins 13652 Oct 16 06:51 go.sum 06:51:48 drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 06:48 internal 06:51:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:48 openapi 06:51:48 drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 06:48 pkg 06:51:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:48 snap 06:51:48 -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 06:48 version.go [Pipeline] isUnix [Pipeline] sh 06:51:49 + 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=9693139b7a47364e29f2a77c5e9650aa8beb0762 --label arch=arm64 --label version=0.0.0 . 06:51:49 Sending build context to Docker daemon 2.446MB 06:51:49 Step 1/24 : ARG BASE=golang:1.15-alpine 06:51:49 Step 2/24 : FROM ${BASE} AS builder 06:51:49 ---> 573d069eceda 06:51:49 Step 3/24 : ARG MAKE='make build' 06:51:49 ---> Running in 4e420af9168b 06:51:50 Removing intermediate container 4e420af9168b 06:51:50 ---> e33939350c05 06:51:50 Step 4/24 : WORKDIR /device-sdk-go 06:51:50 ---> Running in 01bebc53b6c3 06:51:51 Removing intermediate container 01bebc53b6c3 06:51:51 ---> d354f9cc5a1c 06:51:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:51:51 ---> Running in fac037857e39 06:51:51 Removing intermediate container fac037857e39 06:51:51 ---> d1d5866936c0 06:51:51 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:51:51 ---> Running in 06fa9765def8 06:51:54 Removing intermediate container 06fa9765def8 06:51:54 ---> 64ae2eb71e34 06:51:54 Step 7/24 : RUN apk add --update --no-cache make git 06:51:54 ---> Running in a10cde7ee8da 06:51:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:51:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:51:57 OK: 142 MiB in 39 packages 06:51:58 Removing intermediate container a10cde7ee8da 06:51:58 ---> 73bc47d920b3 06:51:58 Step 8/24 : COPY . . 06:51:59 ---> 9d1e0196b029 06:51:59 Step 9/24 : RUN ${MAKE} 06:51:59 ---> Running in 82bc1d6e694a 06:52:01 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 06:52:28 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:52:28 Removing intermediate container 82bc1d6e694a 06:52:28 ---> c2af6b5fbe65 06:52:28 Step 10/24 : FROM scratch 06:52:28 ---> 06:52:28 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:52:28 ---> Running in b5b73f33a387 06:52:28 Removing intermediate container b5b73f33a387 06:52:28 ---> a37fbe6e7a97 06:52:28 Step 12/24 : ENV APP_PORT=49990 06:52:28 ---> Running in ef18ee3dcd1a 06:52:28 Removing intermediate container ef18ee3dcd1a 06:52:28 ---> 38e56e16e984 06:52:28 Step 13/24 : EXPOSE $APP_PORT 06:52:28 ---> Running in 681eb79fc0f4 06:52:28 Removing intermediate container 681eb79fc0f4 06:52:28 ---> 7581027311f2 06:52:28 Step 14/24 : WORKDIR / 06:52:29 ---> Running in 7123cd49351a 06:52:29 Removing intermediate container 7123cd49351a 06:52:29 ---> a7b8f2bb09fe 06:52:29 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:52:31 ---> c4dbac1215f1 06:52:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:52:31 ---> bdd3f9eb84f8 06:52:31 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:52:32 ---> 359f1e493b18 06:52:32 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:52:33 ---> a791872ebac4 06:52:33 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:52:33 ---> 9528b68b53b9 06:52:33 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:52:33 ---> Running in f5866df62343 06:52:34 Removing intermediate container f5866df62343 06:52:34 ---> 66f37dc47584 06:52:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:52:34 ---> Running in 6be077fac76b 06:52:34 Removing intermediate container 6be077fac76b 06:52:34 ---> 938732433bd2 06:52:34 Step 22/24 : LABEL arch=arm64 06:52:34 ---> Running in ebe047425aef 06:52:35 Removing intermediate container ebe047425aef 06:52:35 ---> 91691f87eeb5 06:52:35 Step 23/24 : LABEL git_sha=9693139b7a47364e29f2a77c5e9650aa8beb0762 06:52:35 ---> Running in d702fa217e1d 06:52:35 Removing intermediate container d702fa217e1d 06:52:35 ---> cd22a86bed5b 06:52:35 Step 24/24 : LABEL version=0.0.0 06:52:36 ---> Running in 9f84e29a3eee 06:52:36 Removing intermediate container 9f84e29a3eee 06:52:36 ---> 48d992718f56 06:52:36 [Warning] One or more build-args [ARCH] were not consumed 06:52:36 Successfully built 48d992718f56 06:52:36 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 06:52:38 provisioning config files... 06:52:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/config5405292847918576607tmp [Pipeline] { [Pipeline] sh 06:52:38 + set +x 06:52:38 + curl -s https://codecov.io/bash 06:52:38 + bash -s -- 06:52:39 06:52:39 _____ _ 06:52:39 / ____| | | 06:52:39 | | ___ __| | ___ ___ _____ __ 06:52:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:52:39 | |___| (_) | (_| | __/ (_| (_) \ V / 06:52:39 \_____\___/ \__,_|\___|\___\___/ \_/ 06:52:39 Bash-20201009-048fee3 06:52:39 06:52:39 06:52:39 ==> Jenkins CI detected. 06:52:39 project root: . 06:52:39 --> token set from env 06:52:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:52:39 ==> Running gcov in . (disable via -X gcov) 06:52:39 ==> Python coveragepy not found 06:52:39 ==> Searching for coverage reports in: 06:52:39 + . 06:52:39 -> Found 1 reports 06:52:39 ==> Detecting git/mercurial file structure 06:52:39 ==> Reading reports 06:52:39 + ./coverage.out bytes=110398 06:52:39 ==> Appending adjustments 06:52:39 https://docs.codecov.io/docs/fixing-reports 06:52:39 + Found adjustments 06:52:39 ==> Gzipping contents 06:52:39 ==> Uploading reports 06:52:39 url: https://codecov.io 06:52:39 query: branch=PR-628&commit=9693139b7a47364e29f2a77c5e9650aa8beb0762&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-628%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=628&job=&cmd_args= 06:52:39 -> Pinging Codecov 06:52:39 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-628&commit=9693139b7a47364e29f2a77c5e9650aa8beb0762&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-628%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=628&job=&cmd_args= 06:52:39 -> Uploading to 06:52:39 06:52:39 % Total % Received % Xferd Average Speed Time Time Time Current 06:52:39 Dload Upload Total Spent Left Speed 06:52:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 06:52:40 X> Failed to upload 06:52:40 ==> Uploading to Codecov 06:52:40 % Total % Received % Xferd Average Speed Time Time Time Current 06:52:40 Dload Upload Total Spent Left Speed 06:52:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19137 100 110 100 19027 223 38662 --:--:-- --:--:-- --:--:-- 38751 06:52:40 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9693139b7a47364e29f2a77c5e9650aa8beb0762 [Pipeline] } 06:52:40 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 06:52:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:52:44 ---> package-listing.sh 06:52:44 ++ facter osfamily 06:52:44 ++ tr '[:upper:]' '[:lower:]' 06:52:44 + OS_FAMILY=redhat 06:52:44 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-628 06:52:44 + START_PACKAGES=/tmp/packages_start.txt 06:52:44 + END_PACKAGES=/tmp/packages_end.txt 06:52:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:52:44 + PACKAGES=/tmp/packages_start.txt 06:52:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-628 ']' 06:52:44 + PACKAGES=/tmp/packages_end.txt 06:52:44 + case "${OS_FAMILY}" in 06:52:44 + rpm -qa 06:52:44 + sort 06:52:48 + '[' -f /tmp/packages_start.txt ']' 06:52:48 + '[' -f /tmp/packages_end.txt ']' 06:52:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:52:48 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-628 ']' 06:52:48 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-628/archives/ 06:52:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-628/archives/ [Pipeline] echo 06:52:48 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-628/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:52:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:52:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:52:49 06:52:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:52:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:52:49 alpine: Pulling from edgex-lftools-log-publisher 06:52:49 df20fa9351a1: Pulling fs layer 06:52:49 36b3adc4ff6f: Pulling fs layer 06:52:49 8ad3a11d3b57: Pulling fs layer 06:52:49 46f8f816bc3b: Pulling fs layer 06:52:49 93b61091891f: Pulling fs layer 06:52:49 93b9cdb0e59b: Pulling fs layer 06:52:49 5e14af77c1be: Pulling fs layer 06:52:49 01666e4c0597: Pulling fs layer 06:52:49 aa168da1d23b: Pulling fs layer 06:52:49 93b9cdb0e59b: Waiting 06:52:49 5e14af77c1be: Waiting 06:52:49 46f8f816bc3b: Waiting 06:52:49 93b61091891f: Waiting 06:52:49 01666e4c0597: Waiting 06:52:49 aa168da1d23b: Waiting 06:52:49 36b3adc4ff6f: Verifying Checksum 06:52:49 36b3adc4ff6f: Download complete 06:52:49 46f8f816bc3b: Verifying Checksum 06:52:49 46f8f816bc3b: Download complete 06:52:49 df20fa9351a1: Download complete 06:52:49 93b9cdb0e59b: Verifying Checksum 06:52:49 93b9cdb0e59b: Download complete 06:52:49 5e14af77c1be: Verifying Checksum 06:52:49 5e14af77c1be: Download complete 06:52:49 93b61091891f: Verifying Checksum 06:52:49 93b61091891f: Download complete 06:52:49 01666e4c0597: Verifying Checksum 06:52:49 01666e4c0597: Download complete 06:52:50 df20fa9351a1: Pull complete 06:52:50 36b3adc4ff6f: Pull complete 06:52:50 8ad3a11d3b57: Download complete 06:52:50 8ad3a11d3b57: Pull complete 06:52:51 46f8f816bc3b: Pull complete 06:52:51 93b61091891f: Pull complete 06:52:52 93b9cdb0e59b: Pull complete 06:52:52 5e14af77c1be: Pull complete 06:52:52 01666e4c0597: Pull complete 06:52:52 aa168da1d23b: Verifying Checksum 06:52:52 aa168da1d23b: Download complete 06:52:59 aa168da1d23b: Pull complete 06:52:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:52:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:52:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:52:59 prd-centos7-docker-4c-2g-5786 does not seem to be running inside a container 06:52:59 $ 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-628/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-628 -v /w/workspace/dgexfoundry_device-sdk-go_PR-628:/w/workspace/dgexfoundry_device-sdk-go_PR-628:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:53:06 $ docker top feaf4a4f301c5a0c1ddd1a09766a58ce6704c464dd70c859d6a7c850ca7978e0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:53:06 + touch /tmp/pre-build-complete [Pipeline] sh 06:53:07 + mkdir -p /var/log/sa [Pipeline] sh 06:53:07 + ls /var/log/sa-host 06:53:07 + sadf -c /var/log/sa-host/sa05 06:53:07 file_magic: OK 06:53:07 HZ: Using current value: 100 06:53:07 file_header: OK 06:53:07 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 06:53:07 Statistics: 06:53:07 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:53:07 File successfully converted to sysstat format version 12.2.1 06:53:07 + sadf -c /var/log/sa-host/sa16 06:53:07 file_magic: OK 06:53:07 HZ: Using current value: 100 06:53:07 file_header: OK 06:53:07 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 06:53:07 Statistics: 06:53:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:53:07 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:53:08 provisioning config files... 06:53:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp/config6809645527409547204tmp [Pipeline] { [Pipeline] echo 06:53:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:53:08 ---> create-netrc.sh [Pipeline] } 06:53:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:53:08 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:53:08 ---> python-tools-install.sh [Pipeline] echo 06:53:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:53:09 ---> sudo-logs.sh 06:53:09 Archiving 'sudo' log.. [Pipeline] echo 06:53:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:53:09 ---> job-cost.sh 06:53:09 lf-activate-venv: SKIPPING 06:53:09 INFO: No Stack... 06:53:10 INFO: Retrieving Pricing Info for: v1-standard-2 06:53:11 INFO: Archiving Costs [Pipeline] echo 06:53:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:53:11 ---> logs-deploy.sh 06:53:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-628/3 06:53:11 INFO: archiving workspace using pattern(s): 06:53:13 Archives upload complete. 06:53:13 INFO: archiving logs to Nexus 06:53:14 ---> uname -a: 06:53:14 Linux prd-centos7-docker-4c-2g-5786.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 06:53:14 06:53:14 06:53:14 ---> lscpu: 06:53:14 Architecture: x86_64 06:53:14 CPU op-mode(s): 32-bit, 64-bit 06:53:14 Byte Order: Little Endian 06:53:14 Address sizes: 40 bits physical, 48 bits virtual 06:53:14 CPU(s): 4 06:53:14 On-line CPU(s) list: 0-3 06:53:14 Thread(s) per core: 1 06:53:14 Core(s) per socket: 1 06:53:14 Socket(s): 4 06:53:14 NUMA node(s): 1 06:53:14 Vendor ID: GenuineIntel 06:53:14 CPU family: 6 06:53:14 Model: 44 06:53:14 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:53:14 Stepping: 1 06:53:14 CPU MHz: 2933.438 06:53:14 BogoMIPS: 5866.87 06:53:14 Virtualization: VT-x 06:53:14 Hypervisor vendor: KVM 06:53:14 Virtualization type: full 06:53:14 L1d cache: 128 KiB 06:53:14 L1i cache: 128 KiB 06:53:14 L2 cache: 16 MiB 06:53:14 L3 cache: 64 MiB 06:53:14 NUMA node0 CPU(s): 0-3 06:53:14 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:53:14 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:53:14 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:53:14 Vulnerability Meltdown: Mitigation; PTI 06:53:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:53:14 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:53:14 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:53:14 Vulnerability Tsx async abort: Not affected 06:53:14 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 06:53:14 06:53:14 06:53:14 ---> nproc: 06:53:14 4 06:53:14 06:53:14 06:53:14 ---> df -h: 06:53:14 Filesystem Size Used Available Use% Mounted on 06:53:14 overlay 50.0G 7.2G 42.8G 14% / 06:53:14 tmpfs 64.0M 0 64.0M 0% /dev 06:53:14 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:53:14 shm 64.0M 0 64.0M 0% /dev/shm 06:53:14 /dev/vda1 50.0G 7.2G 42.8G 14% /facter-os 06:53:14 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/resolv.conf 06:53:14 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hostname 06:53:14 /dev/vda1 50.0G 7.2G 42.8G 14% /etc/hosts 06:53:14 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/auth.log 06:53:14 /dev/vda1 50.0G 7.2G 42.8G 14% /run/cloud-init/result.json 06:53:14 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-628 06:53:14 /dev/vda1 50.0G 7.2G 42.8G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-628@tmp 06:53:14 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/sa-host 06:53:14 /dev/vda1 50.0G 7.2G 42.8G 14% /var/log/secure 06:53:14 06:53:14 06:53:14 ---> free -m: 06:53:14 total used free shared buff/cache available 06:53:14 Mem: 1837 691 108 0 1038 1044 06:53:14 Swap: 1023 1 1022 06:53:14 06:53:14 06:53:14 ---> ip addr: 06:53:14 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:53:14 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:53:14 inet 127.0.0.1/8 scope host lo 06:53:14 valid_lft forever preferred_lft forever 06:53:14 inet6 ::1/128 scope host 06:53:14 valid_lft forever preferred_lft forever 06:53:14 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:53:14 link/ether fa:16:3e:0a:d7:0b brd ff:ff:ff:ff:ff:ff 06:53:14 inet 10.30.122.47/23 brd 10.30.123.255 scope global dynamic eth0 06:53:14 valid_lft 85931sec preferred_lft 85931sec 06:53:14 inet6 fe80::f816:3eff:fe0a:d70b/64 scope link 06:53:14 valid_lft forever preferred_lft forever 06:53:14 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:53:14 link/ether 02:42:ac:6a:af:6f brd ff:ff:ff:ff:ff:ff 06:53:14 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:53:14 valid_lft forever preferred_lft forever 06:53:14 inet6 fe80::42:acff:fe6a:af6f/64 scope link 06:53:14 valid_lft forever preferred_lft forever 06:53:14 06:53:14