Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6d170b70e1a04a00d380c7c5d579fc072917eff5+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (bfb06eba424a2455815db6b07c708e8602126783) 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-5504 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [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-614 # 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 6d170b70e1a04a00d380c7c5d579fc072917eff5 Merge succeeded, producing 6f3196637d115c6207a57b03bd438428c049358e Checking out Revision 6f3196637d115c6207a57b03bd438428c049358e (PR-614) > 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/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # 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 6f3196637d115c6207a57b03bd438428c049358e # timeout=10 Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk b048396f8062a42b81cbd110a936457a9c173640 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:58 ========================================================= 02:42:58 EdgeX Global Pipelines Version Info 02:42:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:00 ------------------- 02:43:00 stable info: 02:43:00 ------------------- 02:43:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:00 Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 02:43:00 Message: update stable to v1.0.142 02:43:01 ------------------- 02:43:01 experimental info: 02:43:01 ------------------- 02:43:01 Commited By: **** collab-it+edgex@linuxfoundation.org 02:43:01 Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 02:43:01 Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:43:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f3196637d115c6207a57b03bd438428c049358e [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f31966 [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:05 + git log --format=format:%s -1 6f3196637d115c6207a57b03bd438428c049358e [Pipeline] echo 02:43:05 GIT_COMMIT: 6f3196637d115c6207a57b03bd438428c049358e, Commit Message: Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD [Pipeline] echo 02:43:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:06 02:43:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:06 latest: Pulling from edgex-devops/git-semver 02:43:06 31603596830f: Pulling fs layer 02:43:06 2a8b12db71e7: Pulling fs layer 02:43:06 6ca5941a6612: Pulling fs layer 02:43:06 ecc8261a40a4: Pulling fs layer 02:43:06 ecc8261a40a4: Waiting 02:43:06 2a8b12db71e7: Verifying Checksum 02:43:06 2a8b12db71e7: Download complete 02:43:06 31603596830f: Verifying Checksum 02:43:06 31603596830f: Download complete 02:43:06 ecc8261a40a4: Verifying Checksum 02:43:06 ecc8261a40a4: Download complete 02:43:06 6ca5941a6612: Verifying Checksum 02:43:06 6ca5941a6612: Download complete 02:43:07 31603596830f: Pull complete 02:43:07 2a8b12db71e7: Pull complete 02:43:08 6ca5941a6612: Pull complete 02:43:08 ecc8261a40a4: Pull complete 02:43:08 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:08 prd-centos7-docker-4c-2g-5504 does not seem to be running inside a container 02:43:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:10 $ docker top d92cf16e3805feffe780b40667302070a989c5287698c08d2c3adf344b99793e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:11 [ssh-agent] Looking for ssh-agent implementation... 02:43:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:11 $ docker exec d92cf16e3805feffe780b40667302070a989c5287698c08d2c3adf344b99793e ssh-agent 02:43:11 SSH_AUTH_SOCK=/tmp/ssh-NvUUdADQYUYS/agent.12 02:43:11 SSH_AGENT_PID=18 02:43:11 Running ssh-add (command line suppressed) 02:43:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_2229897151336980156.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_2229897151336980156.key) 02:43:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:12 + git tag --points-at HEAD [Pipeline] } 02:43:12 $ docker exec --env ******** --env ******** d92cf16e3805feffe780b40667302070a989c5287698c08d2c3adf344b99793e ssh-agent -k 02:43:12 unset SSH_AUTH_SOCK; 02:43:12 unset SSH_AGENT_PID; 02:43:12 echo Agent pid 18 killed; 02:43:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:12 [ssh-agent] Looking for ssh-agent implementation... 02:43:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:12 $ docker exec d92cf16e3805feffe780b40667302070a989c5287698c08d2c3adf344b99793e ssh-agent 02:43:12 SSH_AUTH_SOCK=/tmp/ssh-z1ppvi8qqrWp/agent.49 02:43:12 SSH_AGENT_PID=54 02:43:13 Running ssh-add (command line suppressed) 02:43:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_183677857046899410.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_183677857046899410.key) 02:43:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:13 + git semver init 02:43:13 # -> Open(): unable to determine branch for HEAD 02:43:13 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git 02:43:13 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 02:43:13 # $SEMVER_REMOTE_NAME = origin 02:43:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:13 # $SEMVER_USER_NAME = edgex-jenkins 02:43:13 # $SEMVER_BRANCH = PR-614 02:43:13 # $SEMVER_TEMP = /tmp/semver-162210398 02:43:13 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:14 # '/tmp/semver-162210398' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' 02:43:14 # -> Force: false 02:43:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } 02:43:14 $ docker exec --env ******** --env ******** d92cf16e3805feffe780b40667302070a989c5287698c08d2c3adf344b99793e ssh-agent -k 02:43:14 unset SSH_AUTH_SOCK; 02:43:14 unset SSH_AGENT_PID; 02:43:14 echo Agent pid 54 killed; 02:43:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:15 + git semver [Pipeline] } 02:43:15 $ docker stop --time=1 d92cf16e3805feffe780b40667302070a989c5287698c08d2c3adf344b99793e 02:43:16 $ docker rm -f d92cf16e3805feffe780b40667302070a989c5287698c08d2c3adf344b99793e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:43:17 Stashed 1 file(s) [Pipeline] echo 02:43:17 [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 02:43:32 Still waiting to schedule task 02:43:32 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5508’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ 02:43:32 Still waiting to schedule task 02:43:32 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 02:44:28 Running on prd-centos7-docker-4c-2g-5510 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 02:44:28 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 02:44:31 using credential edgex-jenkins-ssh 02:44:31 Cloning the remote Git repository 02:44:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:31 > git init /w/workspace/device-sdk-go/5 # timeout=10 02:44:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:31 > git --version # timeout=10 02:44:31 > git --version # 'git version 2.16.5' 02:44:31 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:33 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 02:44:33 Merge succeeded, producing 14de7d7e0dac3233b2d6d4190c9da16387847b95 02:44:33 Checking out Revision 14de7d7e0dac3233b2d6d4190c9da16387847b95 (PR-614) 02:44:33 > git config core.sparsecheckout # timeout=10 02:44:33 > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 02:44:33 > git remote # timeout=10 02:44:33 > git config --get remote.origin.url # timeout=10 02:44:33 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:33 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 02:44:33 > git rev-parse HEAD^{commit} # timeout=10 02:44:33 > git config core.sparsecheckout # timeout=10 02:44:33 > git checkout -f 14de7d7e0dac3233b2d6d4190c9da16387847b95 # timeout=10 02:44:37 Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" 02:44:37 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:44:37 ========================================================= 02:44:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:37 > git rev-list --no-walk b048396f8062a42b81cbd110a936457a9c173640 # timeout=10 02:44:38 + 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 . 02:44:39 Sending build context to Docker daemon 2.251MB 02:44:39 Step 1/8 : ARG BASE=golang:1.15-alpine 02:44:39 Step 2/8 : FROM ${BASE} 02:44:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:39 df20fa9351a1: Pulling fs layer 02:44:39 ed8968b2872e: Pulling fs layer 02:44:39 a92cc7c5fd73: Pulling fs layer 02:44:39 e871e8e8d7a9: Pulling fs layer 02:44:39 e73272ec9a57: Pulling fs layer 02:44:39 1e910a182e73: Pulling fs layer 02:44:39 4e634b169226: Pulling fs layer 02:44:39 e73272ec9a57: Waiting 02:44:39 e871e8e8d7a9: Waiting 02:44:39 1e910a182e73: Waiting 02:44:39 4e634b169226: Waiting 02:44:39 a92cc7c5fd73: Download complete 02:44:39 ed8968b2872e: Download complete 02:44:39 e73272ec9a57: Verifying Checksum 02:44:39 e73272ec9a57: Download complete 02:44:39 1e910a182e73: Verifying Checksum 02:44:39 1e910a182e73: Download complete 02:44:39 df20fa9351a1: Verifying Checksum 02:44:39 df20fa9351a1: Download complete 02:44:39 df20fa9351a1: Pull complete 02:44:39 ed8968b2872e: Pull complete 02:44:39 a92cc7c5fd73: Pull complete 02:44:42 4e634b169226: Verifying Checksum 02:44:42 4e634b169226: Download complete 02:44:43 e871e8e8d7a9: Verifying Checksum 02:44:43 e871e8e8d7a9: Download complete 02:44:48 e871e8e8d7a9: Pull complete 02:44:48 e73272ec9a57: Pull complete 02:44:48 1e910a182e73: Pull complete 02:44:52 4e634b169226: Pull complete 02:44:52 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:44:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:52 ---> f7629b54cfaa 02:44:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:52 ---> Running in 4daaa72b81b2 02:44:52 Removing intermediate container 4daaa72b81b2 02:44:52 ---> 7800c9c70e35 02:44:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:52 ---> Running in f0a25e5b824c 02:44:54 Removing intermediate container f0a25e5b824c 02:44:54 ---> 3ff55938641b 02:44:54 Step 5/8 : RUN apk add --no-cache make git 02:44:54 ---> Running in fe73131e0b5f 02:44:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:56 OK: 166 MiB in 39 packages 02:44:57 Removing intermediate container fe73131e0b5f 02:44:57 ---> bd23e596f593 02:44:57 Step 6/8 : WORKDIR /device-sdk-go 02:44:57 ---> Running in f63e89fea934 02:44:57 Removing intermediate container f63e89fea934 02:44:57 ---> 974c625ddb23 02:44:57 Step 7/8 : COPY . . 02:44:58 ---> 9002aa97984f 02:44:58 Step 8/8 : RUN go mod download 02:44:58 ---> Running in f3e5c24b6a1a 02:45:20 Removing intermediate container f3e5c24b6a1a 02:45:20 ---> dfe2a9e84c0d 02:45:20 Successfully built dfe2a9e84c0d 02:45:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:21 + docker inspect -f . ci-base-image-x86_64 02:45:21 . [Pipeline] withDockerContainer 02:45:21 prd-centos7-docker-4c-2g-5510 does not seem to be running inside a container 02:45:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:22 $ docker top aa7909bd607b9186f09bed2f0868ecd55247544de2405ab3caca5943bf1c558a -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:22 + go version 02:45:22 go version go1.15.2 linux/amd64 [Pipeline] } 02:45:22 $ docker stop --time=1 aa7909bd607b9186f09bed2f0868ecd55247544de2405ab3caca5943bf1c558a 02:45:24 $ docker rm -f aa7909bd607b9186f09bed2f0868ecd55247544de2405ab3caca5943bf1c558a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:24 + docker inspect -f . ci-base-image-x86_64 02:45:24 . [Pipeline] withDockerContainer 02:45:24 prd-centos7-docker-4c-2g-5510 does not seem to be running inside a container 02:45:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:25 $ docker top b3a1ac0f3323952380306fda7bf8bd9f9ffa2d2e3e40c89986dd460943cbcb76 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:26 + make test 02:45:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:32 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:45:47 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:45:47 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:45:47 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:45:47 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.046s coverage: 21.6% of statements 02:45:48 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.430s coverage: 97.1% of statements 02:45:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5513 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws 02:45:56 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 02:46:01 using credential edgex-jenkins-ssh 02:46:02 Cloning the remote Git repository 02:46:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:02 > git init /w/workspace/device-sdk-go/5 # timeout=10 02:46:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:02 > git --version # timeout=10 02:46:02 > git --version # 'git version 2.17.1' 02:46:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:04 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 02:46:04 Merge succeeded, producing d4a698a6beefd9975c0443a6b792da6696619841 02:46:04 Checking out Revision d4a698a6beefd9975c0443a6b792da6696619841 (PR-614) 02:46:04 > git config core.sparsecheckout # timeout=10 02:46:04 > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 02:46:04 > git remote # timeout=10 02:46:04 > git config --get remote.origin.url # timeout=10 02:46:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:04 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 02:46:04 > git rev-parse HEAD^{commit} # timeout=10 02:46:04 > git config core.sparsecheckout # timeout=10 02:46:04 > git checkout -f d4a698a6beefd9975c0443a6b792da6696619841 # timeout=10 02:46:09 Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" 02:46:09 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 02:46:09 > git rev-list --no-walk b048396f8062a42b81cbd110a936457a9c173640 # timeout=10 [Pipeline] unstash [Pipeline] echo 02:46:10 ========================================================= 02:46:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:11 + 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 . 02:46:12 Sending build context to Docker daemon 2.252MB 02:46:12 Step 1/8 : ARG BASE=golang:1.15-alpine 02:46:12 Step 2/8 : FROM ${BASE} 02:46:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:12 b538f80385f9: Pulling fs layer 02:46:12 74f711af9a0d: Pulling fs layer 02:46:12 99f96fe45779: Pulling fs layer 02:46:12 8529a6b9a6be: Pulling fs layer 02:46:12 45590311c82a: Pulling fs layer 02:46:12 69ca0ff8b7b3: Pulling fs layer 02:46:12 209524e5b208: Pulling fs layer 02:46:12 8529a6b9a6be: Waiting 02:46:12 45590311c82a: Waiting 02:46:12 69ca0ff8b7b3: Waiting 02:46:12 209524e5b208: Waiting 02:46:12 99f96fe45779: Verifying Checksum 02:46:12 99f96fe45779: Download complete 02:46:12 74f711af9a0d: Verifying Checksum 02:46:12 74f711af9a0d: Download complete 02:46:12 45590311c82a: Verifying Checksum 02:46:12 45590311c82a: Download complete 02:46:13 69ca0ff8b7b3: Verifying Checksum 02:46:13 69ca0ff8b7b3: Download complete 02:46:13 b538f80385f9: Verifying Checksum 02:46:13 b538f80385f9: Download complete 02:46:13 b538f80385f9: Pull complete 02:46:14 74f711af9a0d: Pull complete 02:46:14 99f96fe45779: Pull complete 02:46:15 209524e5b208: Verifying Checksum 02:46:15 209524e5b208: Download complete 02:46:17 8529a6b9a6be: Verifying Checksum 02:46:17 8529a6b9a6be: Download complete 02:46:20 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements 02:46:20 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements 02:46:20 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:46:20 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.219s coverage: 40.0% of statements 02:46:20 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:46:20 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.285s coverage: 68.9% of statements 02:46:20 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:46:20 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:46:20 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:46:20 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:46:20 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements 02:46:20 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:46:20 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:46:20 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.369s coverage: 68.9% of statements 02:46:20 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:46:20 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:46:20 GO111MODULE=on go vet ./... 02:46:25 gofmt -l . 02:46:26 [ "`gofmt -l .`" = "" ] 02:46:26 ./bin/test-attribution-txt.sh 02:46:26 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:46:27 Stashed 1 file(s) [Pipeline] } 02:46:27 $ docker stop --time=1 b3a1ac0f3323952380306fda7bf8bd9f9ffa2d2e3e40c89986dd460943cbcb76 02:46:27 8529a6b9a6be: Pull complete 02:46:27 45590311c82a: Pull complete 02:46:28 69ca0ff8b7b3: Pull complete 02:46:29 $ docker rm -f b3a1ac0f3323952380306fda7bf8bd9f9ffa2d2e3e40c89986dd460943cbcb76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:31 + ls -al . 02:46:31 total 188 02:46:31 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 15 02:46 . 02:46:31 drwxrwxr-x. 4 jenkins jenkins 28 Oct 15 02:44 .. 02:46:31 drwxrwxr-x. 2 jenkins jenkins 64 Oct 15 02:44 bin 02:46:31 -rw-r--r--. 1 jenkins jenkins 110392 Oct 15 02:46 coverage.out 02:46:31 -rw-rw-r--. 1 jenkins jenkins 936 Oct 15 02:44 Dockerfile.build 02:46:31 -rw-rw-r--. 1 jenkins jenkins 140 Oct 15 02:44 .dockerignore 02:46:31 drwxrwxr-x. 4 jenkins jenkins 48 Oct 15 02:44 example 02:46:31 drwxrwxr-x. 8 jenkins jenkins 179 Oct 15 02:44 .git 02:46:31 drwxrwxr-x. 2 jenkins jenkins 60 Oct 15 02:44 .github 02:46:31 -rw-rw-r--. 1 jenkins jenkins 138 Oct 15 02:44 .gitignore 02:46:31 -rw-r--r--. 1 jenkins jenkins 517 Oct 15 02:46 go.mod 02:46:31 -rw-r--r--. 1 jenkins jenkins 13736 Oct 15 02:46 go.sum 02:46:31 drwxrwxr-x. 15 jenkins jenkins 211 Oct 15 02:44 internal 02:46:31 -rw-rw-r--. 1 jenkins jenkins 901 Oct 15 02:44 Jenkinsfile 02:46:31 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 15 02:44 LICENSE 02:46:31 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 15 02:44 Makefile 02:46:31 drwxrwxr-x. 4 jenkins jenkins 26 Oct 15 02:44 openapi 02:46:31 drwxrwxr-x. 5 jenkins jenkins 50 Oct 15 02:44 pkg 02:46:31 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 15 02:44 README.md 02:46:31 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 15 02:44 RELEASE-NOTES.txt 02:46:31 drwxrwxr-x. 4 jenkins jenkins 54 Oct 15 02:44 snap 02:46:31 -rw-rw-r--. 1 jenkins jenkins 5 Oct 15 02:43 VERSION 02:46:31 -rw-rw-r--. 1 jenkins jenkins 222 Oct 15 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:31 + 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=6f3196637d115c6207a57b03bd438428c049358e --label arch=amd64 --label version=0.0.0 . 02:46:32 Sending build context to Docker daemon 2.362MB 02:46:32 Step 1/24 : ARG BASE=golang:1.15-alpine 02:46:32 Step 2/24 : FROM ${BASE} AS builder 02:46:32 ---> dfe2a9e84c0d 02:46:32 Step 3/24 : ARG MAKE='make build' 02:46:32 ---> Running in 0443b524a214 02:46:32 209524e5b208: Pull complete 02:46:32 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:46:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:32 ---> 5bddaf1c2fca 02:46:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:32 Removing intermediate container 0443b524a214 02:46:32 ---> c11eaa46fe69 02:46:32 Step 4/24 : WORKDIR /device-sdk-go 02:46:32 ---> Running in 8380c48cd68c 02:46:33 Removing intermediate container 8380c48cd68c 02:46:33 ---> 4fd159764ee3 02:46:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:33 ---> Running in 52187aa29e02 02:46:33 Removing intermediate container 52187aa29e02 02:46:33 ---> 0400e9e9d189 02:46:33 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:33 ---> Running in 178dbfeb74ce 02:46:34 Removing intermediate container 178dbfeb74ce 02:46:34 ---> e8b0444ab0ea 02:46:34 Step 7/24 : RUN apk add --update --no-cache make git 02:46:34 ---> Running in 42aad11a3d99 02:46:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:35 ---> Running in d3c0455a4bad 02:46:35 Removing intermediate container d3c0455a4bad 02:46:35 ---> 232369fa2bdb 02:46:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:35 ---> Running in 60b87bd45076 02:46:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:37 OK: 166 MiB in 39 packages 02:46:37 Removing intermediate container 42aad11a3d99 02:46:37 ---> c8ba398a9947 02:46:37 Step 8/24 : COPY . . 02:46:38 Removing intermediate container 60b87bd45076 02:46:38 ---> 0594757ce3ad 02:46:38 Step 5/8 : RUN apk add --no-cache make git 02:46:38 ---> Running in 695555899c19 02:46:38 ---> 6bb8aebac100 02:46:38 Step 9/24 : RUN ${MAKE} 02:46:38 ---> Running in 15a303c2aa57 02:46:39 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 02:46:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:43 OK: 142 MiB in 39 packages 02:46:44 Removing intermediate container 695555899c19 02:46:44 ---> 88c579944446 02:46:44 Step 6/8 : WORKDIR /device-sdk-go 02:46:44 ---> Running in 45dbb4cbd6c1 02:46:44 Removing intermediate container 45dbb4cbd6c1 02:46:44 ---> 9b33a1ed9274 02:46:44 Step 7/8 : COPY . . 02:46:46 ---> 091b3186d871 02:46:46 Step 8/8 : RUN go mod download 02:46:46 ---> Running in f5ed79ba2149 02:46:47 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:48 Removing intermediate container 15a303c2aa57 02:46:48 ---> 87b57dc9894c 02:46:48 Step 10/24 : FROM scratch 02:46:48 ---> 02:46:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:48 ---> Running in 7bc59caf7683 02:46:48 Removing intermediate container 7bc59caf7683 02:46:48 ---> 4314ab401222 02:46:48 Step 12/24 : ENV APP_PORT=49990 02:46:48 ---> Running in b7e66f99ac94 02:46:48 Removing intermediate container b7e66f99ac94 02:46:48 ---> b898d93b7e12 02:46:48 Step 13/24 : EXPOSE $APP_PORT 02:46:48 ---> Running in 2f31420445ec 02:46:49 Removing intermediate container 2f31420445ec 02:46:49 ---> ce8b71558983 02:46:49 Step 14/24 : WORKDIR / 02:46:49 ---> Running in 6fbff930aa7d 02:46:49 Removing intermediate container 6fbff930aa7d 02:46:49 ---> 095e665a6f85 02:46:49 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:50 ---> b9c4f9082fde 02:46:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:50 ---> 0579d76037e9 02:46:50 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:51 ---> 0e8ca8d497e3 02:46:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:51 ---> 1f1533722969 02:46:51 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:51 ---> ac817cf7d4ed 02:46:51 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:51 ---> Running in 80fffa2a23e2 02:46:51 Removing intermediate container 80fffa2a23e2 02:46:51 ---> 1edc04e4c366 02:46:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:51 ---> Running in af8c3fec2ddf 02:46:51 Removing intermediate container af8c3fec2ddf 02:46:51 ---> af712f6d62d7 02:46:51 Step 22/24 : LABEL arch=amd64 02:46:51 ---> Running in 818135f70952 02:46:52 Removing intermediate container 818135f70952 02:46:52 ---> ea1224a8d83a 02:46:52 Step 23/24 : LABEL git_sha=6f3196637d115c6207a57b03bd438428c049358e 02:46:52 ---> Running in 283b8320244d 02:46:52 Removing intermediate container 283b8320244d 02:46:52 ---> 7e5d28a6082d 02:46:52 Step 24/24 : LABEL version=0.0.0 02:46:52 ---> Running in 3c8bada36c65 02:46:52 Removing intermediate container 3c8bada36c65 02:46:52 ---> ce9ae558ce58 02:46:52 [Warning] One or more build-args [ARCH] were not consumed 02:46:52 Successfully built ce9ae558ce58 02:46:52 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] } 02:47:13 Removing intermediate container f5ed79ba2149 02:47:13 ---> 73bb58a2f891 02:47:13 Successfully built 73bb58a2f891 02:47:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:13 + docker inspect -f . ci-base-image-arm64 02:47:13 . [Pipeline] withDockerContainer 02:47:13 prd-ubuntu18.04-docker-arm64-4c-16g-5513 does not seem to be running inside a container 02:47:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:15 $ docker top 31f34227cbe0a9837afd5005505e393dfa0bc049411237a3c9b1daeb7b07fe7f -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:17 + go version 02:47:17 go version go1.15.2 linux/arm64 [Pipeline] } 02:47:17 $ docker stop --time=1 31f34227cbe0a9837afd5005505e393dfa0bc049411237a3c9b1daeb7b07fe7f 02:47:19 $ docker rm -f 31f34227cbe0a9837afd5005505e393dfa0bc049411237a3c9b1daeb7b07fe7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:20 + docker inspect -f . ci-base-image-arm64 02:47:20 . [Pipeline] withDockerContainer 02:47:20 prd-ubuntu18.04-docker-arm64-4c-16g-5513 does not seem to be running inside a container 02:47:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:22 $ docker top 8c6fab8270e53dfe92f297acea37398d823e67709b3ca43acd40cc9e00c9a7db -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:23 + make test 02:47:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:50 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:48:29 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:48:29 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:48:29 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:48:31 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.135s coverage: 21.6% of statements 02:48:37 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.204s coverage: 97.1% of statements 02:49:04 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.206s coverage: 9.4% of statements 02:49:04 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.127s coverage: 21.9% of statements 02:49:04 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:49:04 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.552s coverage: 40.0% of statements 02:49:04 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:49:04 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.878s coverage: 68.9% of statements 02:49:04 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:49:04 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:49:04 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:49:04 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:49:04 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.198s coverage: 52.6% of statements 02:49:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:49:04 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:49:04 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.981s coverage: 68.9% of statements 02:49:04 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:49:04 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:49:04 GO111MODULE=on go vet ./... 02:49:36 gofmt -l . 02:49:36 [ "`gofmt -l .`" = "" ] 02:49:36 ./bin/test-attribution-txt.sh 02:49:36 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:49:37 Warning: overwriting stash ‘coverage-report’ 02:49:38 Stashed 1 file(s) [Pipeline] } 02:49:38 $ docker stop --time=1 8c6fab8270e53dfe92f297acea37398d823e67709b3ca43acd40cc9e00c9a7db 02:49:40 $ docker rm -f 8c6fab8270e53dfe92f297acea37398d823e67709b3ca43acd40cc9e00c9a7db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:42 + ls -al . 02:49:42 total 224 02:49:42 drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 02:49 . 02:49:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:46 .. 02:49:42 -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 02:46 .dockerignore 02:49:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 02:46 .git 02:49:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 02:46 .github 02:49:42 -rw-rw-r-- 1 jenkins jenkins 138 Oct 15 02:46 .gitignore 02:49:42 -rw-rw-r-- 1 jenkins jenkins 936 Oct 15 02:46 Dockerfile.build 02:49:42 -rw-rw-r-- 1 jenkins jenkins 901 Oct 15 02:46 Jenkinsfile 02:49:42 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 15 02:46 LICENSE 02:49:42 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 15 02:46 Makefile 02:49:42 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 15 02:46 README.md 02:49:42 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 15 02:46 RELEASE-NOTES.txt 02:49:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 02:43 VERSION 02:49:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 02:46 bin 02:49:42 -rw-r--r-- 1 jenkins jenkins 110392 Oct 15 02:49 coverage.out 02:49:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:46 example 02:49:42 -rw-r--r-- 1 jenkins jenkins 517 Oct 15 02:49 go.mod 02:49:42 -rw-r--r-- 1 jenkins jenkins 13736 Oct 15 02:49 go.sum 02:49:42 drwxrwxr-x 15 jenkins jenkins 4096 Oct 15 02:46 internal 02:49:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:46 openapi 02:49:42 drwxrwxr-x 5 jenkins jenkins 4096 Oct 15 02:46 pkg 02:49:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:46 snap 02:49:42 -rw-rw-r-- 1 jenkins jenkins 222 Oct 15 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:49:42 + 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=6f3196637d115c6207a57b03bd438428c049358e --label arch=arm64 --label version=0.0.0 . 02:49:43 Sending build context to Docker daemon 2.363MB 02:49:43 Step 1/24 : ARG BASE=golang:1.15-alpine 02:49:43 Step 2/24 : FROM ${BASE} AS builder 02:49:43 ---> 73bb58a2f891 02:49:43 Step 3/24 : ARG MAKE='make build' 02:49:43 ---> Running in 3170076ac741 02:49:43 Removing intermediate container 3170076ac741 02:49:43 ---> f5cf8810a5af 02:49:43 Step 4/24 : WORKDIR /device-sdk-go 02:49:44 ---> Running in 28de7e9e359e 02:49:44 Removing intermediate container 28de7e9e359e 02:49:44 ---> 9ab7cf66ec52 02:49:44 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:44 ---> Running in c2acc294c7e8 02:49:45 Removing intermediate container c2acc294c7e8 02:49:45 ---> 86772c23c21b 02:49:45 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:45 ---> Running in dd2165ab0e9c 02:49:48 Removing intermediate container dd2165ab0e9c 02:49:48 ---> 55fee875ca91 02:49:48 Step 7/24 : RUN apk add --update --no-cache make git 02:49:48 ---> Running in 9b8a47722782 02:49:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:51 OK: 142 MiB in 39 packages 02:49:53 Removing intermediate container 9b8a47722782 02:49:53 ---> 65fe8412b16b 02:49:53 Step 8/24 : COPY . . 02:49:54 ---> e12abf0c9225 02:49:54 Step 9/24 : RUN ${MAKE} 02:49:54 ---> Running in 17d278783761 02:49:56 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 02:50:23 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:24 Removing intermediate container 17d278783761 02:50:24 ---> 594ad7c7654c 02:50:24 Step 10/24 : FROM scratch 02:50:24 ---> 02:50:24 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:24 ---> Running in 0b9882b2636b 02:50:25 Removing intermediate container 0b9882b2636b 02:50:25 ---> c1b2efb2f566 02:50:25 Step 12/24 : ENV APP_PORT=49990 02:50:25 ---> Running in 36f38dab676c 02:50:25 Removing intermediate container 36f38dab676c 02:50:25 ---> 5965524c8bd2 02:50:25 Step 13/24 : EXPOSE $APP_PORT 02:50:25 ---> Running in ed169f8a7872 02:50:25 Removing intermediate container ed169f8a7872 02:50:25 ---> 0ae02526ef57 02:50:25 Step 14/24 : WORKDIR / 02:50:26 ---> Running in 97cb26755c9a 02:50:26 Removing intermediate container 97cb26755c9a 02:50:26 ---> d89432c52045 02:50:26 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:27 ---> 81c9a1c2e393 02:50:27 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:28 ---> d5a599eae1f0 02:50:28 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:29 ---> 65fc4243e181 02:50:29 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:29 ---> fbfc5b363a37 02:50:29 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:30 ---> d81445e256c2 02:50:30 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:30 ---> Running in 4637e6f75cb6 02:50:30 Removing intermediate container 4637e6f75cb6 02:50:30 ---> b396be76c18c 02:50:30 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:31 ---> Running in a6d80a5f3d63 02:50:31 Removing intermediate container a6d80a5f3d63 02:50:31 ---> b4fba1a162de 02:50:31 Step 22/24 : LABEL arch=arm64 02:50:31 ---> Running in 90801db57d67 02:50:31 Removing intermediate container 90801db57d67 02:50:31 ---> 0363ce927d1f 02:50:31 Step 23/24 : LABEL git_sha=6f3196637d115c6207a57b03bd438428c049358e 02:50:32 ---> Running in b389ee7d95cf 02:50:32 Removing intermediate container b389ee7d95cf 02:50:32 ---> 0d5de5fd9d72 02:50:32 Step 24/24 : LABEL version=0.0.0 02:50:32 ---> Running in 75c2a8a464ca 02:50:33 Removing intermediate container 75c2a8a464ca 02:50:33 ---> f9441bd53f2c 02:50:33 [Warning] One or more build-args [ARCH] were not consumed 02:50:33 Successfully built f9441bd53f2c 02:50:33 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 02:50:35 provisioning config files... 02:50:35 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config2767585111183199221tmp [Pipeline] { [Pipeline] sh 02:50:35 + set +x 02:50:35 + curl -s https://codecov.io/bash 02:50:35 + bash -s -- 02:50:35 02:50:35 _____ _ 02:50:35 / ____| | | 02:50:35 | | ___ __| | ___ ___ _____ __ 02:50:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:35 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:35 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:35 Bash-20201009-048fee3 02:50:35 02:50:35 02:50:35 ==> Jenkins CI detected. 02:50:35 project root: . 02:50:35 Fixing merge commit SHA 02:50:35 --> token set from env 02:50:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:35 ==> Running gcov in . (disable via -X gcov) 02:50:35 find: ‘./.semver’: Permission denied 02:50:35 ==> Python coveragepy not found 02:50:35 ==> Searching for coverage reports in: 02:50:35 + . 02:50:35 -> Found 1 reports 02:50:35 ==> Detecting git/mercurial file structure 02:50:35 ==> Reading reports 02:50:35 + ./coverage.out bytes=110392 02:50:35 ==> Appending adjustments 02:50:35 https://docs.codecov.io/docs/fixing-reports 02:50:36 find: ‘./.semver’: Permission denied 02:50:36 find: ‘./.semver’: Permission denied 02:50:36 find: ‘./.semver’: Permission denied 02:50:36 02:50:36 + Found adjustments 02:50:36 ==> Gzipping contents 02:50:36 ==> Uploading reports 02:50:36 url: https://codecov.io 02:50:36 query: branch=PR-614&commit=9121cb4fd2f17f024cc2e84f36967dd0fb0597df&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 02:50:36 -> Pinging Codecov 02:50:36 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-614&commit=9121cb4fd2f17f024cc2e84f36967dd0fb0597df&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= 02:50:36 -> Uploading to 02:50:36 02:50:36 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:36 Dload Upload Total Spent Left Speed 02:50:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 02:50:36 X> Failed to upload 02:50:36 ==> Uploading to Codecov 02:50:36 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:36 Dload Upload Total Spent Left Speed 02:50:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 18645 0 0 100 18535 0 33020 --:--:-- --:--:-- --:--:-- 32980 100 18645 100 110 100 18535 195 33007 --:--:-- --:--:-- --:--:-- 32980 02:50:36 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9121cb4fd2f17f024cc2e84f36967dd0fb0597df [Pipeline] } 02:50:36 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 02:50:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:40 ---> package-listing.sh 02:50:40 ++ facter osfamily 02:50:40 ++ tr '[:upper:]' '[:lower:]' 02:50:40 + OS_FAMILY=redhat 02:50:40 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 02:50:40 + START_PACKAGES=/tmp/packages_start.txt 02:50:40 + END_PACKAGES=/tmp/packages_end.txt 02:50:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:40 + PACKAGES=/tmp/packages_start.txt 02:50:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 02:50:40 + PACKAGES=/tmp/packages_end.txt 02:50:40 + case "${OS_FAMILY}" in 02:50:40 + rpm -qa 02:50:40 + sort 02:50:44 + '[' -f /tmp/packages_start.txt ']' 02:50:44 + '[' -f /tmp/packages_end.txt ']' 02:50:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' 02:50:44 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ 02:50:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] echo 02:50:44 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-614/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:45 02:50:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:45 alpine: Pulling from edgex-lftools-log-publisher 02:50:45 df20fa9351a1: Pulling fs layer 02:50:45 36b3adc4ff6f: Pulling fs layer 02:50:45 8ad3a11d3b57: Pulling fs layer 02:50:45 46f8f816bc3b: Pulling fs layer 02:50:45 93b61091891f: Pulling fs layer 02:50:45 93b9cdb0e59b: Pulling fs layer 02:50:45 5e14af77c1be: Pulling fs layer 02:50:45 01666e4c0597: Pulling fs layer 02:50:45 aa168da1d23b: Pulling fs layer 02:50:45 46f8f816bc3b: Waiting 02:50:45 93b61091891f: Waiting 02:50:45 93b9cdb0e59b: Waiting 02:50:45 5e14af77c1be: Waiting 02:50:45 01666e4c0597: Waiting 02:50:45 aa168da1d23b: Waiting 02:50:45 36b3adc4ff6f: Download complete 02:50:45 46f8f816bc3b: Verifying Checksum 02:50:45 46f8f816bc3b: Download complete 02:50:45 df20fa9351a1: Verifying Checksum 02:50:45 df20fa9351a1: Download complete 02:50:45 93b9cdb0e59b: Verifying Checksum 02:50:45 93b9cdb0e59b: Download complete 02:50:45 5e14af77c1be: Verifying Checksum 02:50:45 5e14af77c1be: Download complete 02:50:45 93b61091891f: Verifying Checksum 02:50:45 93b61091891f: Download complete 02:50:45 01666e4c0597: Verifying Checksum 02:50:45 01666e4c0597: Download complete 02:50:45 df20fa9351a1: Pull complete 02:50:45 8ad3a11d3b57: Verifying Checksum 02:50:45 8ad3a11d3b57: Download complete 02:50:46 36b3adc4ff6f: Pull complete 02:50:46 8ad3a11d3b57: Pull complete 02:50:47 46f8f816bc3b: Pull complete 02:50:47 93b61091891f: Pull complete 02:50:47 93b9cdb0e59b: Pull complete 02:50:47 5e14af77c1be: Pull complete 02:50:47 01666e4c0597: Pull complete 02:50:48 aa168da1d23b: Verifying Checksum 02:50:48 aa168da1d23b: Download complete 02:50:56 aa168da1d23b: Pull complete 02:50:56 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:50:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:50:56 prd-centos7-docker-4c-2g-5504 does not seem to be running inside a container 02:50:56 $ 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-614/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-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:51:00 $ docker top 69238c8fd318f429332e5cdfaed57b6fca04e4ee06c8fc8a61470715284d87b0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:01 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:01 + mkdir -p /var/log/sa [Pipeline] sh 02:51:01 + ls /var/log/sa-host 02:51:01 + sadf -c /var/log/sa-host/sa05 02:51:01 file_magic: OK 02:51:01 HZ: Using current value: 100 02:51:01 file_header: OK 02:51:01 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 02:51:01 Statistics: 02:51:01 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:01 File successfully converted to sysstat format version 12.2.1 02:51:01 + sadf -c /var/log/sa-host/sa15 02:51:01 file_magic: OK 02:51:01 HZ: Using current value: 100 02:51:01 file_header: OK 02:51:01 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 02:51:01 Statistics: 02:51:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:01 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:01 provisioning config files... 02:51:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config3039103947361637645tmp [Pipeline] { [Pipeline] echo 02:51:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:02 ---> create-netrc.sh [Pipeline] } 02:51:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:02 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:02 ---> python-tools-install.sh [Pipeline] echo 02:51:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:03 ---> sudo-logs.sh 02:51:03 Archiving 'sudo' log.. [Pipeline] echo 02:51:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:03 ---> job-cost.sh 02:51:03 lf-activate-venv: SKIPPING 02:51:03 INFO: No Stack... 02:51:04 INFO: Retrieving Pricing Info for: v1-standard-2 02:51:05 INFO: Archiving Costs [Pipeline] echo 02:51:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:05 ---> logs-deploy.sh 02:51:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/5 02:51:05 INFO: archiving workspace using pattern(s): 02:51:07 Archives upload complete. 02:51:07 INFO: archiving logs to Nexus