Pull request #619 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 13ca2fb0660aa3c318eae46599c01cc40f806a6b+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (e0374b335ac1876f4dbb1dba37b49635a5ef380a) 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f fc09f7fe5f69055b0e322e50b0bb9debbc716db4 # timeout=10 Commit message: "Merge pull request #271 from ernestojeda/documentation-changes" > 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 ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-5566 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [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-619 # 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 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 13ca2fb0660aa3c318eae46599c01cc40f806a6b Merge succeeded, producing 13ca2fb0660aa3c318eae46599c01cc40f806a6b Checking out Revision 13ca2fb0660aa3c318eae46599c01cc40f806a6b (PR-619) > 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/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 13ca2fb0660aa3c318eae46599c01cc40f806a6b # 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 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 13ca2fb0660aa3c318eae46599c01cc40f806a6b # timeout=10 Commit message: "Merge branch 'master' into issue-529-command" First time build. Skipping changelog. > git rev-list --no-walk 1cc11288101477415ee70f3e5ce99757a3087f0d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:30:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:30:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:30:59 ========================================================= 07:30:59 EdgeX Global Pipelines Version Info 07:30:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:31:00 ------------------- 07:31:00 stable info: 07:31:00 ------------------- 07:31:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:31:00 Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 07:31:00 Message: update stable to v1.0.142 07:31:01 ------------------- 07:31:01 experimental info: 07:31:01 ------------------- 07:31:01 Commited By: **** collab-it+edgex@linuxfoundation.org 07:31:01 Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 07:31:01 Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:31:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:31:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:31:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:31:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:31:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:31:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:31:03 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:31:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:31:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:31:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:31:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:31:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:31:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:31:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:31:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:31:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:31:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:31:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:31:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:31:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-619 [Pipeline] echo 07:31:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-619 [Pipeline] echo 07:31:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-619 [Pipeline] echo 07:31:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 13ca2fb0660aa3c318eae46599c01cc40f806a6b [Pipeline] echo 07:31:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 13ca2fb [Pipeline] echo 07:31:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:31:06 + git log --format=format:%s -1 13ca2fb0660aa3c318eae46599c01cc40f806a6b [Pipeline] echo 07:31:06 GIT_COMMIT: 13ca2fb0660aa3c318eae46599c01cc40f806a6b, Commit Message: Merge branch 'master' into issue-529-command [Pipeline] echo 07:31:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:31:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:31:07 07:31:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:31:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:31:08 latest: Pulling from edgex-devops/git-semver 07:31:08 31603596830f: Pulling fs layer 07:31:08 2a8b12db71e7: Pulling fs layer 07:31:08 6ca5941a6612: Pulling fs layer 07:31:08 ecc8261a40a4: Pulling fs layer 07:31:08 ecc8261a40a4: Waiting 07:31:08 2a8b12db71e7: Verifying Checksum 07:31:08 2a8b12db71e7: Download complete 07:31:08 31603596830f: Verifying Checksum 07:31:08 31603596830f: Download complete 07:31:08 ecc8261a40a4: Verifying Checksum 07:31:08 ecc8261a40a4: Download complete 07:31:08 6ca5941a6612: Verifying Checksum 07:31:08 6ca5941a6612: Download complete 07:31:08 31603596830f: Pull complete 07:31:08 2a8b12db71e7: Pull complete 07:31:09 6ca5941a6612: Pull complete 07:31:09 ecc8261a40a4: Pull complete 07:31:09 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:31:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:31:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:31:09 prd-centos7-docker-4c-2g-5566 does not seem to be running inside a container 07:31:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-619 -v /w/workspace/dgexfoundry_device-sdk-go_PR-619:/w/workspace/dgexfoundry_device-sdk-go_PR-619:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-619@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 07:31:12 $ docker top a43336fe8d872db64732e7e1ee365a24d06b647fc6d6e70f553db99c1235ab76 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:31:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:31:12 [ssh-agent] Looking for ssh-agent implementation... 07:31:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:31:12 $ docker exec a43336fe8d872db64732e7e1ee365a24d06b647fc6d6e70f553db99c1235ab76 ssh-agent 07:31:13 SSH_AUTH_SOCK=/tmp/ssh-ahULhucYdgCo/agent.12 07:31:13 SSH_AGENT_PID=18 07:31:13 Running ssh-add (command line suppressed) 07:31:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_5101658662995353900.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_5101658662995353900.key) 07:31:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:31:13 + git tag --points-at HEAD [Pipeline] } 07:31:13 $ docker exec --env ******** --env ******** a43336fe8d872db64732e7e1ee365a24d06b647fc6d6e70f553db99c1235ab76 ssh-agent -k 07:31:13 unset SSH_AUTH_SOCK; 07:31:13 unset SSH_AGENT_PID; 07:31:13 echo Agent pid 18 killed; 07:31:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:31:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:31:13 [ssh-agent] Looking for ssh-agent implementation... 07:31:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:31:14 $ docker exec a43336fe8d872db64732e7e1ee365a24d06b647fc6d6e70f553db99c1235ab76 ssh-agent 07:31:14 SSH_AUTH_SOCK=/tmp/ssh-LI6NgF68OdxG/agent.46 07:31:14 SSH_AGENT_PID=52 07:31:14 Running ssh-add (command line suppressed) 07:31:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_3766112048600339185.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_3766112048600339185.key) 07:31:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:31:14 + git semver init 07:31:14 # -> Open(): unable to determine branch for HEAD 07:31:14 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.git 07:31:14 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-619 07:31:14 # $SEMVER_REMOTE_NAME = origin 07:31:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:31:14 # $SEMVER_USER_NAME = edgex-jenkins 07:31:14 # $SEMVER_BRANCH = PR-619 07:31:14 # $SEMVER_TEMP = /tmp/semver-223825399 07:31:14 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:31:15 # '/tmp/semver-223825399' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver' 07:31:15 # -> Force: false 07:31:15 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver [Pipeline] } 07:31:15 $ docker exec --env ******** --env ******** a43336fe8d872db64732e7e1ee365a24d06b647fc6d6e70f553db99c1235ab76 ssh-agent -k 07:31:15 unset SSH_AUTH_SOCK; 07:31:15 unset SSH_AGENT_PID; 07:31:15 echo Agent pid 52 killed; 07:31:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:31:16 + git semver [Pipeline] } 07:31:16 $ docker stop --time=1 a43336fe8d872db64732e7e1ee365a24d06b647fc6d6e70f553db99c1235ab76 07:31:17 $ docker rm -f a43336fe8d872db64732e7e1ee365a24d06b647fc6d6e70f553db99c1235ab76 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 07:31:18 Stashed 1 file(s) [Pipeline] echo 07:31:18 [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 07:31:33 Still waiting to schedule task 07:31:33 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:31:33 Still waiting to schedule task 07:31:33 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 07:33:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5567 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws 07:33:29 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 07:33:34 using credential edgex-jenkins-ssh 07:33:34 Cloning the remote Git repository 07:33:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:33:34 > git init /w/workspace/device-sdk-go/11 # timeout=10 07:33:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:33:34 > git --version # timeout=10 07:33:35 > git --version # 'git version 2.17.1' 07:33:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:33:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:33:36 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 13ca2fb0660aa3c318eae46599c01cc40f806a6b 07:33:37 Merge succeeded, producing 13ca2fb0660aa3c318eae46599c01cc40f806a6b 07:33:37 Checking out Revision 13ca2fb0660aa3c318eae46599c01cc40f806a6b (PR-619) 07:33:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:33:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:33:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:33:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:33:36 using GIT_SSH to set credentials SSH Credentials for GitHub 07:33:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:33:36 > git config core.sparsecheckout # timeout=10 07:33:36 > git checkout -f 13ca2fb0660aa3c318eae46599c01cc40f806a6b # timeout=10 07:33:36 > git remote # timeout=10 07:33:36 > git config --get remote.origin.url # timeout=10 07:33:37 using GIT_SSH to set credentials SSH Credentials for GitHub 07:33:37 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 07:33:37 > git rev-parse HEAD^{commit} # timeout=10 07:33:37 > git config core.sparsecheckout # timeout=10 07:33:37 > git checkout -f 13ca2fb0660aa3c318eae46599c01cc40f806a6b # timeout=10 07:33:41 Commit message: "Merge branch 'master' into issue-529-command" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:33:42 ========================================================= 07:33:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:33:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:33:43 + 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 . 07:33:44 Sending build context to Docker daemon 2.428MB 07:33:44 Step 1/8 : ARG BASE=golang:1.15-alpine 07:33:44 Step 2/8 : FROM ${BASE} 07:33:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:33:44 b538f80385f9: Pulling fs layer 07:33:44 74f711af9a0d: Pulling fs layer 07:33:44 99f96fe45779: Pulling fs layer 07:33:44 8529a6b9a6be: Pulling fs layer 07:33:44 45590311c82a: Pulling fs layer 07:33:44 69ca0ff8b7b3: Pulling fs layer 07:33:44 209524e5b208: Pulling fs layer 07:33:44 8529a6b9a6be: Waiting 07:33:44 45590311c82a: Waiting 07:33:44 69ca0ff8b7b3: Waiting 07:33:44 209524e5b208: Waiting 07:33:44 99f96fe45779: Verifying Checksum 07:33:44 99f96fe45779: Download complete 07:33:44 74f711af9a0d: Download complete 07:33:44 45590311c82a: Verifying Checksum 07:33:44 45590311c82a: Download complete 07:33:44 69ca0ff8b7b3: Download complete 07:33:44 b538f80385f9: Verifying Checksum 07:33:44 b538f80385f9: Download complete 07:33:45 b538f80385f9: Pull complete 07:33:46 74f711af9a0d: Pull complete 07:33:46 99f96fe45779: Pull complete 07:33:47 209524e5b208: Verifying Checksum 07:33:47 209524e5b208: Download complete 07:33:49 8529a6b9a6be: Verifying Checksum 07:33:49 8529a6b9a6be: Download complete 07:33:59 8529a6b9a6be: Pull complete 07:33:59 45590311c82a: Pull complete 07:33:59 69ca0ff8b7b3: Pull complete 07:34:03 209524e5b208: Pull complete 07:34:03 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 07:34:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:34:03 ---> 5bddaf1c2fca 07:34:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:34:06 ---> Running in 97e8caaf7d22 07:34:06 Removing intermediate container 97e8caaf7d22 07:34:06 ---> 5d700131a509 07:34:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:34:06 ---> Running in 592671d3da86 07:34:09 Removing intermediate container 592671d3da86 07:34:09 ---> 8b74c9b72a1e 07:34:09 Step 5/8 : RUN apk add --no-cache make git 07:34:09 ---> Running in a8102a2e842d 07:34:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:34:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:34:12 OK: 142 MiB in 39 packages 07:34:13 Removing intermediate container a8102a2e842d 07:34:13 ---> 55dd92789c63 07:34:13 Step 6/8 : WORKDIR /device-sdk-go 07:34:13 ---> Running in 70072f8db389 07:34:14 Removing intermediate container 70072f8db389 07:34:14 ---> f1fd2f7e36e5 07:34:14 Step 7/8 : COPY . . 07:34:15 ---> 1d8bf619ad8f 07:34:15 Step 8/8 : RUN go mod download 07:34:15 ---> Running in b9528daabdbf 07:34:31 Running on prd-centos7-docker-4c-2g-5568 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws 07:34:31 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 07:34:37 Removing intermediate container b9528daabdbf 07:34:37 ---> 9b0c4b8c5b87 07:34:37 Successfully built 9b0c4b8c5b87 07:34:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:34:38 + docker inspect -f . ci-base-image-arm64 07:34:38 . [Pipeline] withDockerContainer 07:34:38 prd-ubuntu18.04-docker-arm64-4c-16g-5567 does not seem to be running inside a container 07:34:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-arm64 cat 07:34:39 using credential edgex-jenkins-ssh 07:34:39 Cloning the remote Git repository 07:34:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:34:39 > git init /w/workspace/device-sdk-go/11 # timeout=10 07:34:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:34:39 > git --version # timeout=10 07:34:39 > git --version # 'git version 2.16.5' 07:34:39 using GIT_SSH to set credentials SSH Credentials for GitHub 07:34:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:34:40 $ docker top 35dc92190573f797fe1afc99bf5b6ae5a1ed7a83e34d732df5ff23408a43fbcb -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:34:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:34:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:34:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:34:41 using GIT_SSH to set credentials SSH Credentials for GitHub 07:34:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:34:41 + go version 07:34:41 go version go1.15.2 linux/arm64 [Pipeline] } 07:34:41 $ docker stop --time=1 35dc92190573f797fe1afc99bf5b6ae5a1ed7a83e34d732df5ff23408a43fbcb 07:34:41 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 13ca2fb0660aa3c318eae46599c01cc40f806a6b 07:34:42 Merge succeeded, producing 13ca2fb0660aa3c318eae46599c01cc40f806a6b 07:34:42 Checking out Revision 13ca2fb0660aa3c318eae46599c01cc40f806a6b (PR-619) 07:34:41 > git config core.sparsecheckout # timeout=10 07:34:41 > git checkout -f 13ca2fb0660aa3c318eae46599c01cc40f806a6b # timeout=10 07:34:42 > git remote # timeout=10 07:34:42 > git config --get remote.origin.url # timeout=10 07:34:42 using GIT_SSH to set credentials SSH Credentials for GitHub 07:34:42 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 07:34:42 > git rev-parse HEAD^{commit} # timeout=10 07:34:42 > git config core.sparsecheckout # timeout=10 07:34:42 > git checkout -f 13ca2fb0660aa3c318eae46599c01cc40f806a6b # timeout=10 07:34:43 $ docker rm -f 35dc92190573f797fe1afc99bf5b6ae5a1ed7a83e34d732df5ff23408a43fbcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:34:44 + docker inspect -f . ci-base-image-arm64 07:34:44 . [Pipeline] withDockerContainer 07:34:45 prd-ubuntu18.04-docker-arm64-4c-16g-5567 does not seem to be running inside a container 07:34:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-arm64 cat 07:34:46 Commit message: "Merge branch 'master' into issue-529-command" 07:34:46 $ docker top 18e88ce9feed59657f0eefd6b8a8c55a6898db06fb83913d80e73b00f8760489 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:34:47 ========================================================= 07:34:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:34:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:34:48 + make test 07:34:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:34:49 + 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 . 07:34:50 Sending build context to Docker daemon 2.428MB 07:34:50 Step 1/8 : ARG BASE=golang:1.15-alpine 07:34:50 Step 2/8 : FROM ${BASE} 07:34:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:34:50 df20fa9351a1: Pulling fs layer 07:34:50 ed8968b2872e: Pulling fs layer 07:34:50 a92cc7c5fd73: Pulling fs layer 07:34:50 e871e8e8d7a9: Pulling fs layer 07:34:50 e73272ec9a57: Pulling fs layer 07:34:50 1e910a182e73: Pulling fs layer 07:34:50 4e634b169226: Pulling fs layer 07:34:50 e871e8e8d7a9: Waiting 07:34:50 e73272ec9a57: Waiting 07:34:50 1e910a182e73: Waiting 07:34:50 4e634b169226: Waiting 07:34:50 a92cc7c5fd73: Verifying Checksum 07:34:50 a92cc7c5fd73: Download complete 07:34:50 ed8968b2872e: Verifying Checksum 07:34:50 ed8968b2872e: Download complete 07:34:50 e73272ec9a57: Verifying Checksum 07:34:50 e73272ec9a57: Download complete 07:34:50 1e910a182e73: Verifying Checksum 07:34:50 1e910a182e73: Download complete 07:34:50 df20fa9351a1: Verifying Checksum 07:34:50 df20fa9351a1: Download complete 07:34:51 df20fa9351a1: Pull complete 07:34:51 ed8968b2872e: Pull complete 07:34:52 a92cc7c5fd73: Pull complete 07:34:56 4e634b169226: Verifying Checksum 07:34:56 4e634b169226: Download complete 07:34:56 e871e8e8d7a9: Download complete 07:35:07 e871e8e8d7a9: Pull complete 07:35:07 e73272ec9a57: Pull complete 07:35:07 1e910a182e73: Pull complete 07:35:10 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:35:12 4e634b169226: Pull complete 07:35:12 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 07:35:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:35:12 ---> f7629b54cfaa 07:35:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:35:12 ---> Running in 988290fe8c2b 07:35:12 Removing intermediate container 988290fe8c2b 07:35:12 ---> 3f8310454758 07:35:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:35:12 ---> Running in 2e518e0470cb 07:35:14 Removing intermediate container 2e518e0470cb 07:35:14 ---> 49154bb79da3 07:35:14 Step 5/8 : RUN apk add --no-cache make git 07:35:14 ---> Running in bedd41004872 07:35:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:35:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:35:16 OK: 166 MiB in 39 packages 07:35:17 Removing intermediate container bedd41004872 07:35:17 ---> 37d0666f9cc5 07:35:17 Step 6/8 : WORKDIR /device-sdk-go 07:35:17 ---> Running in 69ed37f030c4 07:35:17 Removing intermediate container 69ed37f030c4 07:35:17 ---> 2200dbb53516 07:35:17 Step 7/8 : COPY . . 07:35:19 ---> 03d388b535b6 07:35:19 Step 8/8 : RUN go mod download 07:35:19 ---> Running in ca950687f7ef 07:35:41 Removing intermediate container ca950687f7ef 07:35:41 ---> f23ac00e1a50 07:35:41 Successfully built f23ac00e1a50 07:35:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:35:42 + docker inspect -f . ci-base-image-x86_64 07:35:42 . [Pipeline] withDockerContainer 07:35:42 prd-centos7-docker-4c-2g-5568 does not seem to be running inside a container 07:35:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 07:35:44 $ docker top 5267efdf0f2c3409f3a6f469c678ddb109e28aa3882641343254a1296c3423f6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:35:44 + go version 07:35:44 go version go1.15.2 linux/amd64 [Pipeline] } 07:35:44 $ docker stop --time=1 5267efdf0f2c3409f3a6f469c678ddb109e28aa3882641343254a1296c3423f6 07:35:46 $ docker rm -f 5267efdf0f2c3409f3a6f469c678ddb109e28aa3882641343254a1296c3423f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:35:48 + docker inspect -f . ci-base-image-x86_64 07:35:48 . [Pipeline] withDockerContainer 07:35:48 prd-centos7-docker-4c-2g-5568 does not seem to be running inside a container 07:35:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 07:35:49 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:35:49 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:35:49 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:35:49 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.123s coverage: 21.6% of statements 07:35:49 $ docker top c77f87d62588e2fd5ea01add0b4ebf5ddc07f270c373edfffd4265b3cebe3191 -eo pid,comm [Pipeline] { [Pipeline] sh 07:35:50 + make test 07:35:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:35:53 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.182s coverage: 97.1% of statements 07:36:03 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:36:20 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.134s coverage: 9.4% of statements 07:36:20 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.118s coverage: 21.9% of statements 07:36:20 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:36:20 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.601s coverage: 40.8% of statements 07:36:20 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:36:20 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.779s coverage: 68.9% of statements 07:36:20 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:36:20 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:36:20 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:36:20 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:36:20 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.191s coverage: 52.6% of statements 07:36:20 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:36:20 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:36:20 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:36:20 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.840s coverage: 68.9% of statements 07:36:20 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:36:20 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:36:21 GO111MODULE=on go vet ./... 07:36:31 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:36:31 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:36:31 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:36:31 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.134s coverage: 21.6% of statements 07:36:31 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.529s coverage: 97.1% of statements 07:36:53 gofmt -l . 07:36:53 [ "`gofmt -l .`" = "" ] 07:36:53 ./bin/test-attribution-txt.sh 07:36:53 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:36:54 Stashed 1 file(s) [Pipeline] } 07:36:54 $ docker stop --time=1 18e88ce9feed59657f0eefd6b8a8c55a6898db06fb83913d80e73b00f8760489 07:36:56 $ docker rm -f 18e88ce9feed59657f0eefd6b8a8c55a6898db06fb83913d80e73b00f8760489 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:37:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:37:00 + ls -al . 07:37:00 total 224 07:37:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 07:36 . 07:37:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 07:33 .. 07:37:00 -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 07:33 .dockerignore 07:37:00 drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 07:33 .git 07:37:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 07:33 .github 07:37:00 -rw-rw-r-- 1 jenkins jenkins 138 Oct 15 07:33 .gitignore 07:37:00 -rw-rw-r-- 1 jenkins jenkins 936 Oct 15 07:33 Dockerfile.build 07:37:00 -rw-rw-r-- 1 jenkins jenkins 901 Oct 15 07:33 Jenkinsfile 07:37:00 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 15 07:33 LICENSE 07:37:00 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 15 07:33 Makefile 07:37:00 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 15 07:33 README.md 07:37:00 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 15 07:33 RELEASE-NOTES.txt 07:37:00 -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 07:31 VERSION 07:37:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 07:33 bin 07:37:00 -rw-r--r-- 1 jenkins jenkins 110396 Oct 15 07:36 coverage.out 07:37:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 07:33 example 07:37:00 -rw-r--r-- 1 jenkins jenkins 517 Oct 15 07:36 go.mod 07:37:00 -rw-r--r-- 1 jenkins jenkins 13652 Oct 15 07:36 go.sum 07:37:00 drwxrwxr-x 15 jenkins jenkins 4096 Oct 15 07:33 internal 07:37:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 07:33 openapi 07:37:00 drwxrwxr-x 5 jenkins jenkins 4096 Oct 15 07:33 pkg 07:37:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 07:33 snap 07:37:00 -rw-rw-r-- 1 jenkins jenkins 222 Oct 15 07:33 version.go [Pipeline] isUnix [Pipeline] sh 07:37:00 + 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=13ca2fb0660aa3c318eae46599c01cc40f806a6b --label arch=arm64 --label version=0.0.0 . 07:37:01 Sending build context to Docker daemon 2.54MB 07:37:01 Step 1/24 : ARG BASE=golang:1.15-alpine 07:37:01 Step 2/24 : FROM ${BASE} AS builder 07:37:01 ---> 9b0c4b8c5b87 07:37:01 Step 3/24 : ARG MAKE='make build' 07:37:01 ---> Running in 6974b7af0b49 07:37:02 Removing intermediate container 6974b7af0b49 07:37:02 ---> 73d9e222f566 07:37:02 Step 4/24 : WORKDIR /device-sdk-go 07:37:02 ---> Running in fb619342541f 07:37:02 Removing intermediate container fb619342541f 07:37:02 ---> 9e019088cd5b 07:37:02 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:37:02 ---> Running in 1958365def70 07:37:03 Removing intermediate container 1958365def70 07:37:03 ---> df1e542e58e3 07:37:03 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:37:03 ---> Running in ea563c3e7b6f 07:37:04 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.075s coverage: 9.4% of statements 07:37:04 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.095s coverage: 21.9% of statements 07:37:04 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:37:04 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.298s coverage: 40.8% of statements 07:37:04 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:37:04 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.325s coverage: 68.9% of statements 07:37:04 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:37:04 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:37:04 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:37:04 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:37:04 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.237s coverage: 52.6% of statements 07:37:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:37:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:37:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:37:04 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.355s coverage: 68.9% of statements 07:37:04 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:37:04 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:37:04 GO111MODULE=on go vet ./... 07:37:06 Removing intermediate container ea563c3e7b6f 07:37:06 ---> 75394b8e7aaf 07:37:06 Step 7/24 : RUN apk add --update --no-cache make git 07:37:06 ---> Running in 650ea3e14a57 07:37:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:37:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:37:09 OK: 142 MiB in 39 packages 07:37:10 Removing intermediate container 650ea3e14a57 07:37:10 ---> bf891ea49295 07:37:10 Step 8/24 : COPY . . 07:37:11 ---> aaff09ed956e 07:37:11 Step 9/24 : RUN ${MAKE} 07:37:11 ---> Running in 5791438634df 07:37:13 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 07:37:20 gofmt -l . 07:37:20 [ "`gofmt -l .`" = "" ] 07:37:20 ./bin/test-attribution-txt.sh 07:37:20 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:37:20 Warning: overwriting stash ‘coverage-report’ 07:37:20 Stashed 1 file(s) [Pipeline] } 07:37:20 $ docker stop --time=1 c77f87d62588e2fd5ea01add0b4ebf5ddc07f270c373edfffd4265b3cebe3191 07:37:23 $ docker rm -f c77f87d62588e2fd5ea01add0b4ebf5ddc07f270c373edfffd4265b3cebe3191 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:37:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:37:24 + ls -al . 07:37:24 total 188 07:37:24 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 15 07:37 . 07:37:24 drwxrwxr-x. 4 jenkins jenkins 30 Oct 15 07:34 .. 07:37:24 drwxrwxr-x. 2 jenkins jenkins 64 Oct 15 07:34 bin 07:37:24 -rw-r--r--. 1 jenkins jenkins 110396 Oct 15 07:36 coverage.out 07:37:24 -rw-rw-r--. 1 jenkins jenkins 936 Oct 15 07:34 Dockerfile.build 07:37:24 -rw-rw-r--. 1 jenkins jenkins 140 Oct 15 07:34 .dockerignore 07:37:24 drwxrwxr-x. 4 jenkins jenkins 48 Oct 15 07:34 example 07:37:24 drwxrwxr-x. 8 jenkins jenkins 179 Oct 15 07:34 .git 07:37:24 drwxrwxr-x. 2 jenkins jenkins 60 Oct 15 07:34 .github 07:37:24 -rw-rw-r--. 1 jenkins jenkins 138 Oct 15 07:34 .gitignore 07:37:24 -rw-r--r--. 1 jenkins jenkins 517 Oct 15 07:37 go.mod 07:37:24 -rw-r--r--. 1 jenkins jenkins 13652 Oct 15 07:37 go.sum 07:37:24 drwxrwxr-x. 15 jenkins jenkins 211 Oct 15 07:34 internal 07:37:24 -rw-rw-r--. 1 jenkins jenkins 901 Oct 15 07:34 Jenkinsfile 07:37:24 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 15 07:34 LICENSE 07:37:24 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 15 07:34 Makefile 07:37:24 drwxrwxr-x. 4 jenkins jenkins 26 Oct 15 07:34 openapi 07:37:24 drwxrwxr-x. 5 jenkins jenkins 50 Oct 15 07:34 pkg 07:37:24 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 15 07:34 README.md 07:37:24 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 15 07:34 RELEASE-NOTES.txt 07:37:24 drwxrwxr-x. 4 jenkins jenkins 54 Oct 15 07:34 snap 07:37:24 -rw-rw-r--. 1 jenkins jenkins 5 Oct 15 07:31 VERSION 07:37:24 -rw-rw-r--. 1 jenkins jenkins 222 Oct 15 07:34 version.go [Pipeline] isUnix [Pipeline] sh 07:37:24 + 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=13ca2fb0660aa3c318eae46599c01cc40f806a6b --label arch=amd64 --label version=0.0.0 . 07:37:25 Sending build context to Docker daemon 2.54MB 07:37:25 Step 1/24 : ARG BASE=golang:1.15-alpine 07:37:25 Step 2/24 : FROM ${BASE} AS builder 07:37:25 ---> f23ac00e1a50 07:37:25 Step 3/24 : ARG MAKE='make build' 07:37:25 ---> Running in a78d9892bda0 07:37:25 Removing intermediate container a78d9892bda0 07:37:25 ---> 4feb880fe773 07:37:25 Step 4/24 : WORKDIR /device-sdk-go 07:37:26 ---> Running in 6d3e79c2b0f0 07:37:26 Removing intermediate container 6d3e79c2b0f0 07:37:26 ---> 0ac0ac426dd2 07:37:26 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:37:26 ---> Running in 6fd03cc43526 07:37:26 Removing intermediate container 6fd03cc43526 07:37:26 ---> c015b7670892 07:37:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:37:26 ---> Running in b7aa2fb6c4b2 07:37:29 Removing intermediate container b7aa2fb6c4b2 07:37:29 ---> 0a9a13c5b48d 07:37:29 Step 7/24 : RUN apk add --update --no-cache make git 07:37:29 ---> Running in 5a3514861d8c 07:37:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:37:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:37:30 OK: 166 MiB in 39 packages 07:37:31 Removing intermediate container 5a3514861d8c 07:37:31 ---> 2eb360af4f69 07:37:31 Step 8/24 : COPY . . 07:37:32 ---> 6f505db24e72 07:37:32 Step 9/24 : RUN ${MAKE} 07:37:32 ---> Running in dd637f1b0e09 07:37:34 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 07:37:40 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:37:40 Removing intermediate container 5791438634df 07:37:40 ---> 7dbe4000575e 07:37:40 Step 10/24 : FROM scratch 07:37:40 ---> 07:37:40 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:37:40 ---> Running in bb177b110b3d 07:37:40 Removing intermediate container bb177b110b3d 07:37:40 ---> ab88988af92c 07:37:40 Step 12/24 : ENV APP_PORT=49990 07:37:40 ---> Running in 2711bee91be7 07:37:40 Removing intermediate container 2711bee91be7 07:37:40 ---> da482fbd4ee3 07:37:40 Step 13/24 : EXPOSE $APP_PORT 07:37:40 ---> Running in d125baf194e0 07:37:41 Removing intermediate container d125baf194e0 07:37:41 ---> 638356d3b861 07:37:41 Step 14/24 : WORKDIR / 07:37:41 ---> Running in 694b585dd9e1 07:37:41 Removing intermediate container 694b585dd9e1 07:37:41 ---> fb9eb5809051 07:37:41 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:37:42 ---> 409a5de66cfb 07:37:42 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:37:43 ---> d8bcb715ed94 07:37:43 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:37:43 ---> 5aeb46de10e7 07:37:43 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:37:44 ---> 166f3d9740e5 07:37:44 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:37:45 ---> d60ec992a0cc 07:37:45 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:37:45 ---> Running in 6515d5018959 07:37:45 Removing intermediate container 6515d5018959 07:37:45 ---> a036700449ae 07:37:45 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:37:46 ---> Running in ed28151af2e4 07:37:46 Removing intermediate container ed28151af2e4 07:37:46 ---> 86af12bdc594 07:37:46 Step 22/24 : LABEL arch=arm64 07:37:46 ---> Running in 66db754bce43 07:37:46 Removing intermediate container 66db754bce43 07:37:46 ---> 46444f339ae0 07:37:46 Step 23/24 : LABEL git_sha=13ca2fb0660aa3c318eae46599c01cc40f806a6b 07:37:47 ---> Running in e805046a63e0 07:37:47 Removing intermediate container e805046a63e0 07:37:47 ---> 10a9bcd003be 07:37:47 Step 24/24 : LABEL version=0.0.0 07:37:47 ---> Running in 22780cf6ddeb 07:37:48 Removing intermediate container 22780cf6ddeb 07:37:48 ---> d2d0bb8f5092 07:37:48 [Warning] One or more build-args [ARCH] were not consumed 07:37:48 Successfully built d2d0bb8f5092 07:37:48 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] } 07:37:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:37:53 Removing intermediate container dd637f1b0e09 07:37:53 ---> fab27ffc8572 07:37:53 Step 10/24 : FROM scratch 07:37:53 ---> 07:37:53 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:37:53 ---> Running in 6c6a807c0c97 07:37:53 Removing intermediate container 6c6a807c0c97 07:37:53 ---> 716c5026262d 07:37:53 Step 12/24 : ENV APP_PORT=49990 07:37:53 ---> Running in c4256f7420ea 07:37:54 Removing intermediate container c4256f7420ea 07:37:54 ---> 586e6190c5fa 07:37:54 Step 13/24 : EXPOSE $APP_PORT 07:37:54 ---> Running in 39721fe5d91a 07:37:54 Removing intermediate container 39721fe5d91a 07:37:54 ---> a640b24638b9 07:37:54 Step 14/24 : WORKDIR / 07:37:54 ---> Running in 55120b07b2d8 07:37:54 Removing intermediate container 55120b07b2d8 07:37:54 ---> e286473ba4b4 07:37:54 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:37:55 ---> 695b02e5bf76 07:37:55 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:37:55 ---> 7dbacdee3b85 07:37:55 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:37:55 ---> 65e8fb2900fe 07:37:55 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:37:56 ---> b0fd34602993 07:37:56 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:37:56 ---> 9a799a6528d6 07:37:56 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:37:56 ---> Running in 7dd8e8dc9c76 07:37:56 Removing intermediate container 7dd8e8dc9c76 07:37:56 ---> 99a6edc416ac 07:37:56 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:37:56 ---> Running in ef68d5124a5f 07:37:57 Removing intermediate container ef68d5124a5f 07:37:57 ---> 55189726df8b 07:37:57 Step 22/24 : LABEL arch=amd64 07:37:57 ---> Running in 2fe2cc15af9d 07:37:57 Removing intermediate container 2fe2cc15af9d 07:37:57 ---> d0a0ce5b7e5c 07:37:57 Step 23/24 : LABEL git_sha=13ca2fb0660aa3c318eae46599c01cc40f806a6b 07:37:57 ---> Running in fa3642abf96d 07:37:57 Removing intermediate container fa3642abf96d 07:37:57 ---> 8548490668ed 07:37:57 Step 24/24 : LABEL version=0.0.0 07:37:57 ---> Running in 3f750bab3503 07:37:57 Removing intermediate container 3f750bab3503 07:37:57 ---> 28505f0c9b79 07:37:57 [Warning] One or more build-args [ARCH] were not consumed 07:37:57 Successfully built 28505f0c9b79 07:37:57 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 07:38:02 provisioning config files... 07:38:02 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config9170521634506331167tmp [Pipeline] { [Pipeline] sh 07:38:03 + set +x 07:38:03 + curl -s https://codecov.io/bash 07:38:03 + bash -s -- 07:38:03 07:38:03 _____ _ 07:38:03 / ____| | | 07:38:03 | | ___ __| | ___ ___ _____ __ 07:38:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:38:03 | |___| (_) | (_| | __/ (_| (_) \ V / 07:38:03 \_____\___/ \__,_|\___|\___\___/ \_/ 07:38:03 Bash-20201009-048fee3 07:38:03 07:38:03 07:38:03 ==> Jenkins CI detected. 07:38:03 project root: . 07:38:03 Fixing merge commit SHA 07:38:03 --> token set from env 07:38:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:38:03 ==> Running gcov in . (disable via -X gcov) 07:38:03 find: ‘./.semver’: Permission denied 07:38:03 ==> Python coveragepy not found 07:38:03 ==> Searching for coverage reports in: 07:38:03 + . 07:38:03 -> Found 1 reports 07:38:03 ==> Detecting git/mercurial file structure 07:38:03 ==> Reading reports 07:38:03 + ./coverage.out bytes=110396 07:38:03 ==> Appending adjustments 07:38:03 https://docs.codecov.io/docs/fixing-reports 07:38:03 find: ‘./.semver’: Permission denied 07:38:03 find: ‘./.semver’: Permission denied 07:38:03 find: ‘./.semver’: Permission denied 07:38:03 07:38:03 + Found adjustments 07:38:03 ==> Gzipping contents 07:38:03 ==> Uploading reports 07:38:03 url: https://codecov.io 07:38:03 query: branch=PR-619&commit=9121cb4fd2f17f024cc2e84f36967dd0fb0597df&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= 07:38:03 -> Pinging Codecov 07:38:03 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-619&commit=9121cb4fd2f17f024cc2e84f36967dd0fb0597df&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= 07:38:03 -> Uploading to 07:38:03 07:38:04 % Total % Received % Xferd Average Speed Time Time Time Current 07:38:04 Dload Upload Total Spent Left Speed 07:38:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 07:38:04 X> Failed to upload 07:38:04 ==> Uploading to Codecov 07:38:04 % Total % Received % Xferd Average Speed Time Time Time Current 07:38:04 Dload Upload Total Spent Left Speed 07:38:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18975 100 110 100 18865 213 36687 --:--:-- --:--:-- --:--:-- 36702 07:38:04 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9121cb4fd2f17f024cc2e84f36967dd0fb0597df [Pipeline] } 07:38:04 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 07:38:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:38:08 ---> package-listing.sh 07:38:08 ++ facter osfamily 07:38:08 ++ tr '[:upper:]' '[:lower:]' 07:38:08 + OS_FAMILY=redhat 07:38:08 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-619 07:38:08 + START_PACKAGES=/tmp/packages_start.txt 07:38:08 + END_PACKAGES=/tmp/packages_end.txt 07:38:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:38:08 + PACKAGES=/tmp/packages_start.txt 07:38:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' 07:38:08 + PACKAGES=/tmp/packages_end.txt 07:38:08 + case "${OS_FAMILY}" in 07:38:08 + rpm -qa 07:38:08 + sort 07:38:12 + '[' -f /tmp/packages_start.txt ']' 07:38:12 + '[' -f /tmp/packages_end.txt ']' 07:38:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:38:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' 07:38:12 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ 07:38:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [Pipeline] echo 07:38:12 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-619/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:38:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:38:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:38:12 07:38:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:38:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:38:13 alpine: Pulling from edgex-lftools-log-publisher 07:38:13 df20fa9351a1: Pulling fs layer 07:38:13 36b3adc4ff6f: Pulling fs layer 07:38:13 8ad3a11d3b57: Pulling fs layer 07:38:13 46f8f816bc3b: Pulling fs layer 07:38:13 93b61091891f: Pulling fs layer 07:38:13 93b9cdb0e59b: Pulling fs layer 07:38:13 5e14af77c1be: Pulling fs layer 07:38:13 01666e4c0597: Pulling fs layer 07:38:13 aa168da1d23b: Pulling fs layer 07:38:13 93b61091891f: Waiting 07:38:13 93b9cdb0e59b: Waiting 07:38:13 5e14af77c1be: Waiting 07:38:13 01666e4c0597: Waiting 07:38:13 aa168da1d23b: Waiting 07:38:13 46f8f816bc3b: Waiting 07:38:13 36b3adc4ff6f: Download complete 07:38:13 46f8f816bc3b: Verifying Checksum 07:38:13 46f8f816bc3b: Download complete 07:38:13 df20fa9351a1: Verifying Checksum 07:38:13 df20fa9351a1: Download complete 07:38:13 93b9cdb0e59b: Download complete 07:38:13 93b61091891f: Verifying Checksum 07:38:13 93b61091891f: Download complete 07:38:13 5e14af77c1be: Download complete 07:38:13 01666e4c0597: Verifying Checksum 07:38:13 01666e4c0597: Download complete 07:38:13 8ad3a11d3b57: Verifying Checksum 07:38:13 8ad3a11d3b57: Download complete 07:38:13 df20fa9351a1: Pull complete 07:38:14 36b3adc4ff6f: Pull complete 07:38:14 8ad3a11d3b57: Pull complete 07:38:14 46f8f816bc3b: Pull complete 07:38:15 93b61091891f: Pull complete 07:38:15 93b9cdb0e59b: Pull complete 07:38:15 5e14af77c1be: Pull complete 07:38:15 01666e4c0597: Pull complete 07:38:15 aa168da1d23b: Verifying Checksum 07:38:15 aa168da1d23b: Download complete 07:38:22 aa168da1d23b: Pull complete 07:38:22 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:38:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:38:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:38:22 prd-centos7-docker-4c-2g-5566 does not seem to be running inside a container 07:38:22 $ 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-619/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-619 -v /w/workspace/dgexfoundry_device-sdk-go_PR-619:/w/workspace/dgexfoundry_device-sdk-go_PR-619:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-619@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 07:38:29 $ docker top 67bddf15d820fbecb37542c4aaed9e8f2d2dcdb7f4be0beaf2164ebad223e769 -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:29 + touch /tmp/pre-build-complete [Pipeline] sh 07:38:29 + mkdir -p /var/log/sa [Pipeline] sh 07:38:30 + ls /var/log/sa-host 07:38:30 + sadf -c /var/log/sa-host/sa05 07:38:30 file_magic: OK 07:38:30 HZ: Using current value: 100 07:38:30 file_header: OK 07:38:30 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 07:38:30 Statistics: 07:38:30 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:38:30 File successfully converted to sysstat format version 12.2.1 07:38:30 + sadf -c /var/log/sa-host/sa15 07:38:30 file_magic: OK 07:38:30 HZ: Using current value: 100 07:38:30 file_header: OK 07:38:30 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 07:38:30 Statistics: 07:38:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:38:30 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:38:30 provisioning config files... 07:38:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config2856631965404737492tmp [Pipeline] { [Pipeline] echo 07:38:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:38:31 ---> create-netrc.sh [Pipeline] } 07:38:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:38:31 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:38:31 ---> python-tools-install.sh [Pipeline] echo 07:38:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:38:32 ---> sudo-logs.sh 07:38:32 Archiving 'sudo' log.. [Pipeline] echo 07:38:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:38:32 ---> job-cost.sh 07:38:32 lf-activate-venv: SKIPPING 07:38:32 INFO: No Stack... 07:38:34 INFO: Retrieving Pricing Info for: v1-standard-2 07:38:34 INFO: Archiving Costs [Pipeline] echo 07:38:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:38:35 ---> logs-deploy.sh 07:38:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-619/11 07:38:35 INFO: archiving workspace using pattern(s): 07:38:37 Archives upload complete. 07:38:37 INFO: archiving logs to Nexus