Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a0136f4ab48c04aea383df6fc9b835c730cf6549+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (31229cd1acc46828c8d330e03f7d0c3b6ab9a0cf) 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-5503 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [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-584 # 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 a0136f4ab48c04aea383df6fc9b835c730cf6549 Merge succeeded, producing 45c1db7a078e7895d1937ff01ca68aa047ba2514 Checking out Revision 45c1db7a078e7895d1937ff01ca68aa047ba2514 (PR-584) > 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/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # 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 45c1db7a078e7895d1937ff01ca68aa047ba2514 # timeout=10 Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 66203a5aa5c24f74eace5e0c2828331f913f5a45 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:30 ========================================================= 02:42:30 EdgeX Global Pipelines Version Info 02:42:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:32 ------------------- 02:42:32 stable info: 02:42:32 ------------------- 02:42:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:32 Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 02:42:32 Message: update stable to v1.0.142 02:42:33 ------------------- 02:42:33 experimental info: 02:42:33 ------------------- 02:42:33 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:33 Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 02:42:33 Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:42:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:34 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo 02:42:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo 02:42:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo 02:42:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45c1db7a078e7895d1937ff01ca68aa047ba2514 [Pipeline] echo 02:42:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45c1db7 [Pipeline] echo 02:42:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:37 + git log --format=format:%s -1 45c1db7a078e7895d1937ff01ca68aa047ba2514 [Pipeline] echo 02:42:37 GIT_COMMIT: 45c1db7a078e7895d1937ff01ca68aa047ba2514, Commit Message: Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD [Pipeline] echo 02:42:37 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:38 02:42:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:38 latest: Pulling from edgex-devops/git-semver 02:42:38 31603596830f: Pulling fs layer 02:42:38 2a8b12db71e7: Pulling fs layer 02:42:38 6ca5941a6612: Pulling fs layer 02:42:38 ecc8261a40a4: Pulling fs layer 02:42:38 ecc8261a40a4: Waiting 02:42:38 2a8b12db71e7: Download complete 02:42:38 31603596830f: Download complete 02:42:39 ecc8261a40a4: Verifying Checksum 02:42:39 ecc8261a40a4: Download complete 02:42:39 31603596830f: Pull complete 02:42:39 6ca5941a6612: Verifying Checksum 02:42:39 6ca5941a6612: Download complete 02:42:39 2a8b12db71e7: Pull complete 02:42:40 6ca5941a6612: Pull complete 02:42:40 ecc8261a40a4: Pull complete 02:42:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:40 prd-centos7-docker-4c-2g-5503 does not seem to be running inside a container 02:42:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:42:42 $ docker top 899e9899496e1439e9073e1c2ab82ab1a921856bd554f9cef813e4cd0f779715 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:42 [ssh-agent] Looking for ssh-agent implementation... 02:42:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:42 $ docker exec 899e9899496e1439e9073e1c2ab82ab1a921856bd554f9cef813e4cd0f779715 ssh-agent 02:42:43 SSH_AUTH_SOCK=/tmp/ssh-yto1Lf8dbGk7/agent.11 02:42:43 SSH_AGENT_PID=16 02:42:43 Running ssh-add (command line suppressed) 02:42:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1461711974342261776.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1461711974342261776.key) 02:42:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:43 + git tag --points-at HEAD [Pipeline] } 02:42:43 $ docker exec --env ******** --env ******** 899e9899496e1439e9073e1c2ab82ab1a921856bd554f9cef813e4cd0f779715 ssh-agent -k 02:42:43 unset SSH_AUTH_SOCK; 02:42:43 unset SSH_AGENT_PID; 02:42:43 echo Agent pid 16 killed; 02:42:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:44 [ssh-agent] Looking for ssh-agent implementation... 02:42:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:44 $ docker exec 899e9899496e1439e9073e1c2ab82ab1a921856bd554f9cef813e4cd0f779715 ssh-agent 02:42:44 SSH_AUTH_SOCK=/tmp/ssh-MgtHIbVArYL7/agent.45 02:42:44 SSH_AGENT_PID=50 02:42:44 Running ssh-add (command line suppressed) 02:42:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_7962676801560101484.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_7962676801560101484.key) 02:42:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:45 + git semver init 02:42:45 # -> Open(): unable to determine branch for HEAD 02:42:45 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git 02:42:45 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 02:42:45 # $SEMVER_REMOTE_NAME = origin 02:42:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:45 # $SEMVER_USER_NAME = edgex-jenkins 02:42:45 # $SEMVER_BRANCH = PR-584 02:42:45 # $SEMVER_TEMP = /tmp/semver-766638353 02:42:45 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:45 # '/tmp/semver-766638353' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' 02:42:45 # -> Force: false 02:42:45 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } 02:42:45 $ docker exec --env ******** --env ******** 899e9899496e1439e9073e1c2ab82ab1a921856bd554f9cef813e4cd0f779715 ssh-agent -k 02:42:45 unset SSH_AUTH_SOCK; 02:42:45 unset SSH_AGENT_PID; 02:42:45 echo Agent pid 50 killed; 02:42:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:46 + git semver [Pipeline] } 02:42:46 $ docker stop --time=1 899e9899496e1439e9073e1c2ab82ab1a921856bd554f9cef813e4cd0f779715 02:42:47 $ docker rm -f 899e9899496e1439e9073e1c2ab82ab1a921856bd554f9cef813e4cd0f779715 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:42:48 Stashed 1 file(s) [Pipeline] echo 02:42:48 [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:04 Still waiting to schedule task 02:43:04 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:43:04 Still waiting to schedule task 02:43:04 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 02:44:13 Running on prd-centos7-docker-4c-2g-5509 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 02:44:13 Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout 02:44:22 using credential edgex-jenkins-ssh 02:44:22 Cloning the remote Git repository 02:44:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:22 > git init /w/workspace/device-sdk-go/20 # timeout=10 02:44:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:22 > git --version # timeout=10 02:44:22 > git --version # 'git version 2.16.5' 02:44:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:23 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:23 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 02:44:24 Merge succeeded, producing b2f38a32bb833a11804866504c86e8ffc9321e25 02:44:24 Checking out Revision b2f38a32bb833a11804866504c86e8ffc9321e25 (PR-584) 02:44:23 > git config core.sparsecheckout # timeout=10 02:44:24 > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 02:44:24 > git remote # timeout=10 02:44:24 > git config --get remote.origin.url # timeout=10 02:44:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:24 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 02:44:24 > git rev-parse HEAD^{commit} # timeout=10 02:44:24 > git config core.sparsecheckout # timeout=10 02:44:24 > git checkout -f b2f38a32bb833a11804866504c86e8ffc9321e25 # timeout=10 02:44:28 Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" 02:44:28 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { 02:44:28 > git rev-list --no-walk 66203a5aa5c24f74eace5e0c2828331f913f5a45 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:44:29 ========================================================= 02:44:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:31 + 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:32 Sending build context to Docker daemon 2.251MB 02:44:32 Step 1/8 : ARG BASE=golang:1.15-alpine 02:44:32 Step 2/8 : FROM ${BASE} 02:44:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:32 df20fa9351a1: Pulling fs layer 02:44:32 ed8968b2872e: Pulling fs layer 02:44:32 a92cc7c5fd73: Pulling fs layer 02:44:32 e871e8e8d7a9: Pulling fs layer 02:44:32 e73272ec9a57: Pulling fs layer 02:44:32 1e910a182e73: Pulling fs layer 02:44:32 4e634b169226: Pulling fs layer 02:44:32 e73272ec9a57: Waiting 02:44:32 1e910a182e73: Waiting 02:44:32 4e634b169226: Waiting 02:44:32 e871e8e8d7a9: Waiting 02:44:32 a92cc7c5fd73: Verifying Checksum 02:44:32 a92cc7c5fd73: Download complete 02:44:32 ed8968b2872e: Verifying Checksum 02:44:32 ed8968b2872e: Download complete 02:44:32 e73272ec9a57: Download complete 02:44:32 1e910a182e73: Verifying Checksum 02:44:32 1e910a182e73: Download complete 02:44:33 df20fa9351a1: Verifying Checksum 02:44:33 df20fa9351a1: Download complete 02:44:34 df20fa9351a1: Pull complete 02:44:34 ed8968b2872e: Pull complete 02:44:34 a92cc7c5fd73: Pull complete 02:44:41 4e634b169226: Verifying Checksum 02:44:41 4e634b169226: Download complete 02:44:43 e871e8e8d7a9: Verifying Checksum 02:44:43 e871e8e8d7a9: Download complete 02:44:54 e871e8e8d7a9: Pull complete 02:44:54 e73272ec9a57: Pull complete 02:44:54 1e910a182e73: Pull complete 02:45:00 4e634b169226: Pull complete 02:45:00 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:45:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:00 ---> f7629b54cfaa 02:45:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:00 ---> Running in a6298e2398a6 02:45:00 Removing intermediate container a6298e2398a6 02:45:00 ---> 1ba2e38ac295 02:45:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:00 ---> Running in 45e9fe89423d 02:45:02 Removing intermediate container 45e9fe89423d 02:45:02 ---> 3e350f486e70 02:45:02 Step 5/8 : RUN apk add --no-cache make git 02:45:02 ---> Running in 1a0241c0c3d8 02:45:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:05 OK: 166 MiB in 39 packages 02:45:06 Removing intermediate container 1a0241c0c3d8 02:45:06 ---> 4d6b6a33974b 02:45:06 Step 6/8 : WORKDIR /device-sdk-go 02:45:06 ---> Running in 9469ba7dbe83 02:45:06 Removing intermediate container 9469ba7dbe83 02:45:06 ---> 79c6d01d8e23 02:45:06 Step 7/8 : COPY . . 02:45:08 ---> 51637487c06c 02:45:08 Step 8/8 : RUN go mod download 02:45:08 ---> Running in 39f2d7d0a4c4 02:45:31 Removing intermediate container 39f2d7d0a4c4 02:45:31 ---> bbcaa614cacc 02:45:31 Successfully built bbcaa614cacc 02:45:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:31 + docker inspect -f . ci-base-image-x86_64 02:45:31 . [Pipeline] withDockerContainer 02:45:32 prd-centos7-docker-4c-2g-5509 does not seem to be running inside a container 02:45:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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:34 $ docker top 999f04644f2806ace6b5beb8898e52f8d6282a7f6bc7a81be549697be44cb4b2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:35 + go version 02:45:35 go version go1.15.2 linux/amd64 [Pipeline] } 02:45:35 $ docker stop --time=1 999f04644f2806ace6b5beb8898e52f8d6282a7f6bc7a81be549697be44cb4b2 02:45:37 $ docker rm -f 999f04644f2806ace6b5beb8898e52f8d6282a7f6bc7a81be549697be44cb4b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:38 + docker inspect -f . ci-base-image-x86_64 02:45:39 . [Pipeline] withDockerContainer 02:45:39 prd-centos7-docker-4c-2g-5509 does not seem to be running inside a container 02:45:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5512 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 02:45:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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:42 $ docker top ccaff8673c3227824317f21dcd7c03c030d108cdaa8237c575eb8dc49d1108b7 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 02:45:42 Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout 02:45:43 + make test 02:45:43 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:47 using credential edgex-jenkins-ssh 02:45:47 Cloning the remote Git repository 02:45:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:47 > git init /w/workspace/device-sdk-go/20 # timeout=10 02:45:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:47 > git --version # timeout=10 02:45:47 > git --version # 'git version 2.17.1' 02:45:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:49 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 02:45:49 Merge succeeded, producing 2d8714ac370d001bef618f15bce6cbfd350af9dc 02:45:49 Checking out Revision 2d8714ac370d001bef618f15bce6cbfd350af9dc (PR-584) 02:45:49 > git config core.sparsecheckout # timeout=10 02:45:49 > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 02:45:49 > git remote # timeout=10 02:45:49 > git config --get remote.origin.url # timeout=10 02:45:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:49 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 02:45:49 > git rev-parse HEAD^{commit} # timeout=10 02:45:49 > git config core.sparsecheckout # timeout=10 02:45:49 > git checkout -f 2d8714ac370d001bef618f15bce6cbfd350af9dc # timeout=10 02:45:54 Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" 02:45:54 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 02:45:54 > git rev-list --no-walk 66203a5aa5c24f74eace5e0c2828331f913f5a45 # timeout=10 [Pipeline] echo 02:45:54 ========================================================= 02:45:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:45:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:55 + 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:45:56 Sending build context to Docker daemon 2.252MB 02:45:56 Step 1/8 : ARG BASE=golang:1.15-alpine 02:45:56 Step 2/8 : FROM ${BASE} 02:45:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:45:57 b538f80385f9: Pulling fs layer 02:45:57 74f711af9a0d: Pulling fs layer 02:45:57 99f96fe45779: Pulling fs layer 02:45:57 8529a6b9a6be: Pulling fs layer 02:45:57 45590311c82a: Pulling fs layer 02:45:57 69ca0ff8b7b3: Pulling fs layer 02:45:57 209524e5b208: Pulling fs layer 02:45:57 209524e5b208: Waiting 02:45:57 45590311c82a: Waiting 02:45:57 69ca0ff8b7b3: Waiting 02:45:57 8529a6b9a6be: Waiting 02:45:57 99f96fe45779: Verifying Checksum 02:45:57 99f96fe45779: Download complete 02:45:57 74f711af9a0d: Verifying Checksum 02:45:57 74f711af9a0d: Download complete 02:45:57 45590311c82a: Verifying Checksum 02:45:57 45590311c82a: Download complete 02:45:57 69ca0ff8b7b3: Verifying Checksum 02:45:57 69ca0ff8b7b3: Download complete 02:45:57 b538f80385f9: Download complete 02:45:57 b538f80385f9: Pull complete 02:45:58 74f711af9a0d: Pull complete 02:45:58 99f96fe45779: Pull complete 02:45:59 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:46:00 209524e5b208: Verifying Checksum 02:46:00 209524e5b208: Download complete 02:46:01 8529a6b9a6be: Verifying Checksum 02:46:01 8529a6b9a6be: Download complete 02:46:13 8529a6b9a6be: Pull complete 02:46:13 45590311c82a: Pull complete 02:46:13 69ca0ff8b7b3: Pull complete 02:46:16 209524e5b208: Pull complete 02:46:16 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:46:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:16 ---> 5bddaf1c2fca 02:46:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:20 ---> Running in 7f0b55de4bf0 02:46:20 Removing intermediate container 7f0b55de4bf0 02:46:20 ---> 2ea76776cf5e 02:46:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:20 ---> Running in 0086630bc750 02:46:22 Removing intermediate container 0086630bc750 02:46:22 ---> 7562366edb68 02:46:22 Step 5/8 : RUN apk add --no-cache make git 02:46:22 ---> Running in 1875dca4e9e6 02:46:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:26 OK: 142 MiB in 39 packages 02:46:26 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:26 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:26 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:26 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.075s coverage: 21.6% of statements 02:46:27 Removing intermediate container 1875dca4e9e6 02:46:27 ---> af9b9238a46a 02:46:27 Step 6/8 : WORKDIR /device-sdk-go 02:46:27 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.916s coverage: 97.1% of statements 02:46:27 ---> Running in c40fe8a67440 02:46:28 Removing intermediate container c40fe8a67440 02:46:28 ---> 943ac2b1b1bb 02:46:28 Step 7/8 : COPY . . 02:46:29 ---> bdc2402a5463 02:46:29 Step 8/8 : RUN go mod download 02:46:29 ---> Running in 58cdb2c56666 02:46:52 Removing intermediate container 58cdb2c56666 02:46:52 ---> b78a240ccc2d 02:46:52 Successfully built b78a240ccc2d 02:46:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:46:52 + docker inspect -f . ci-base-image-arm64 02:46:52 . [Pipeline] withDockerContainer 02:46:52 prd-ubuntu18.04-docker-arm64-4c-16g-5512 does not seem to be running inside a container 02:46:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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:46:54 $ docker top 2eb8fd93964239aa614009572ec9cbdfc889b69c5efcd22a7be92ed51e4d1709 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:56 + go version 02:46:56 go version go1.15.2 linux/arm64 [Pipeline] } 02:46:56 $ docker stop --time=1 2eb8fd93964239aa614009572ec9cbdfc889b69c5efcd22a7be92ed51e4d1709 02:46:58 $ docker rm -f 2eb8fd93964239aa614009572ec9cbdfc889b69c5efcd22a7be92ed51e4d1709 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:59 + docker inspect -f . ci-base-image-arm64 02:46:59 . [Pipeline] withDockerContainer 02:46:59 prd-ubuntu18.04-docker-arm64-4c-16g-5512 does not seem to be running inside a container 02:46:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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:00 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.063s coverage: 9.4% of statements 02:47:00 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.127s coverage: 21.9% of statements 02:47:00 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:47:00 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.286s coverage: 40.0% of statements 02:47:00 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:47:00 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.478s coverage: 68.9% of statements 02:47:00 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:47:00 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:47:00 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:47:00 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:47:00 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.132s coverage: 52.6% of statements 02:47:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:47:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:47:00 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.588s coverage: 68.9% of statements 02:47:00 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:47:00 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:47:00 GO111MODULE=on go vet ./... 02:47:01 $ docker top 1f49e0269cd9e1c26fc26e84262b761e9739dd879d195fb582c02889b9638d9a -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:02 + make test 02:47:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:13 gofmt -l . 02:47:13 [ "`gofmt -l .`" = "" ] 02:47:13 ./bin/test-attribution-txt.sh 02:47:15 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:47:16 Stashed 1 file(s) [Pipeline] } 02:47:16 $ docker stop --time=1 ccaff8673c3227824317f21dcd7c03c030d108cdaa8237c575eb8dc49d1108b7 02:47:18 $ docker rm -f ccaff8673c3227824317f21dcd7c03c030d108cdaa8237c575eb8dc49d1108b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:47:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:21 + ls -al . 02:47:21 total 188 02:47:21 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 15 02:47 . 02:47:21 drwxrwxr-x. 4 jenkins jenkins 30 Oct 15 02:44 .. 02:47:21 drwxrwxr-x. 2 jenkins jenkins 64 Oct 15 02:44 bin 02:47:21 -rw-r--r--. 1 jenkins jenkins 110392 Oct 15 02:46 coverage.out 02:47:21 -rw-rw-r--. 1 jenkins jenkins 936 Oct 15 02:44 Dockerfile.build 02:47:21 -rw-rw-r--. 1 jenkins jenkins 140 Oct 15 02:44 .dockerignore 02:47:21 drwxrwxr-x. 4 jenkins jenkins 48 Oct 15 02:44 example 02:47:21 drwxrwxr-x. 8 jenkins jenkins 179 Oct 15 02:44 .git 02:47:21 drwxrwxr-x. 2 jenkins jenkins 60 Oct 15 02:44 .github 02:47:21 -rw-rw-r--. 1 jenkins jenkins 138 Oct 15 02:44 .gitignore 02:47:21 -rw-r--r--. 1 jenkins jenkins 517 Oct 15 02:47 go.mod 02:47:21 -rw-r--r--. 1 jenkins jenkins 13737 Oct 15 02:47 go.sum 02:47:21 drwxrwxr-x. 15 jenkins jenkins 211 Oct 15 02:44 internal 02:47:21 -rw-rw-r--. 1 jenkins jenkins 901 Oct 15 02:44 Jenkinsfile 02:47:21 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 15 02:44 LICENSE 02:47:21 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 15 02:44 Makefile 02:47:21 drwxrwxr-x. 4 jenkins jenkins 26 Oct 15 02:44 openapi 02:47:21 drwxrwxr-x. 5 jenkins jenkins 50 Oct 15 02:44 pkg 02:47:21 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 15 02:44 README.md 02:47:21 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 15 02:44 RELEASE-NOTES.txt 02:47:21 drwxrwxr-x. 4 jenkins jenkins 54 Oct 15 02:44 snap 02:47:21 -rw-rw-r--. 1 jenkins jenkins 5 Oct 15 02:42 VERSION 02:47:21 -rw-rw-r--. 1 jenkins jenkins 222 Oct 15 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:47:21 + 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=45c1db7a078e7895d1937ff01ca68aa047ba2514 --label arch=amd64 --label version=0.0.0 . 02:47:21 Sending build context to Docker daemon 2.362MB 02:47:22 Step 1/24 : ARG BASE=golang:1.15-alpine 02:47:22 Step 2/24 : FROM ${BASE} AS builder 02:47:22 ---> bbcaa614cacc 02:47:22 Step 3/24 : ARG MAKE='make build' 02:47:22 ---> Running in fda80d260e23 02:47:22 Removing intermediate container fda80d260e23 02:47:22 ---> b86eca8ee860 02:47:22 Step 4/24 : WORKDIR /device-sdk-go 02:47:22 ---> Running in d1a7a5aadaf7 02:47:23 Removing intermediate container d1a7a5aadaf7 02:47:23 ---> 112ea0db0d5e 02:47:23 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:23 ---> Running in b4749e0ffdd7 02:47:23 Removing intermediate container b4749e0ffdd7 02:47:23 ---> 671dcc63265d 02:47:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:23 ---> Running in 149a0b22430c 02:47:24 Removing intermediate container 149a0b22430c 02:47:24 ---> 0972fb218eb8 02:47:24 Step 7/24 : RUN apk add --update --no-cache make git 02:47:24 ---> Running in 49608cc6ff3e 02:47:25 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:47:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:27 OK: 166 MiB in 39 packages 02:47:27 Removing intermediate container 49608cc6ff3e 02:47:27 ---> e45a2d2aa75c 02:47:27 Step 8/24 : COPY . . 02:47:28 ---> 4478c360ab2f 02:47:28 Step 9/24 : RUN ${MAKE} 02:47:28 ---> Running in 8af3628ad397 02:47:29 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:47:45 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:46 Removing intermediate container 8af3628ad397 02:47:46 ---> 730d8a5bd785 02:47:46 Step 10/24 : FROM scratch 02:47:46 ---> 02:47:46 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:46 ---> Running in 59723781d00b 02:47:46 Removing intermediate container 59723781d00b 02:47:46 ---> 2cd14b7ab5f0 02:47:46 Step 12/24 : ENV APP_PORT=49990 02:47:46 ---> Running in 606f6fbbfb79 02:47:46 Removing intermediate container 606f6fbbfb79 02:47:46 ---> c3c9b72300a9 02:47:46 Step 13/24 : EXPOSE $APP_PORT 02:47:46 ---> Running in 3474bb241207 02:47:47 Removing intermediate container 3474bb241207 02:47:47 ---> f876b3e42759 02:47:47 Step 14/24 : WORKDIR / 02:47:47 ---> Running in b73063d279f3 02:47:47 Removing intermediate container b73063d279f3 02:47:47 ---> b8fd2e8c3756 02:47:47 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:48 ---> 73d44626569d 02:47:48 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:48 ---> f3d12c95f0dc 02:47:48 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:49 ---> 82d0e3129934 02:47:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:49 ---> da8e17da930f 02:47:49 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:49 ---> 79f3507719fa 02:47:49 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:49 ---> Running in f875c86d7ea9 02:47:49 Removing intermediate container f875c86d7ea9 02:47:49 ---> a268d795fd53 02:47:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:50 ---> Running in 924f020be1fa 02:47:50 Removing intermediate container 924f020be1fa 02:47:50 ---> e604fb4d5571 02:47:50 Step 22/24 : LABEL arch=amd64 02:47:50 ---> Running in 535f1eedf79b 02:47:50 Removing intermediate container 535f1eedf79b 02:47:50 ---> 38270824cb22 02:47:50 Step 23/24 : LABEL git_sha=45c1db7a078e7895d1937ff01ca68aa047ba2514 02:47:50 ---> Running in 8533324c25c1 02:47:50 Removing intermediate container 8533324c25c1 02:47:50 ---> 479410438880 02:47:50 Step 24/24 : LABEL version=0.0.0 02:47:50 ---> Running in cf1bf9ac66d5 02:47:51 Removing intermediate container cf1bf9ac66d5 02:47:51 ---> 67d820f8575a 02:47:51 [Warning] One or more build-args [ARCH] were not consumed 02:47:51 Successfully built 67d820f8575a 02:47:51 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:48:04 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:48:04 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:48:04 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:48:04 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.125s coverage: 21.6% of statements 02:48:07 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.192s coverage: 97.1% of statements 02:48:34 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.126s coverage: 9.4% of statements 02:48:34 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.117s coverage: 21.9% of statements 02:48:34 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:34 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.579s coverage: 40.0% of statements 02:48:34 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:34 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.789s coverage: 68.9% of statements 02:48:34 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:34 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:34 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:34 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:48:34 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.174s coverage: 52.6% of statements 02:48:34 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:48:34 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:48:34 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.885s coverage: 68.9% of statements 02:48:34 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:48:34 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:34 GO111MODULE=on go vet ./... 02:49:06 gofmt -l . 02:49:06 [ "`gofmt -l .`" = "" ] 02:49:06 ./bin/test-attribution-txt.sh 02:49:06 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:49:06 Warning: overwriting stash ‘coverage-report’ 02:49:07 Stashed 1 file(s) [Pipeline] } 02:49:07 $ docker stop --time=1 1f49e0269cd9e1c26fc26e84262b761e9739dd879d195fb582c02889b9638d9a 02:49:10 $ docker rm -f 1f49e0269cd9e1c26fc26e84262b761e9739dd879d195fb582c02889b9638d9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:11 + ls -al . 02:49:11 total 224 02:49:11 drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 02:49 . 02:49:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:45 .. 02:49:11 -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 02:45 .dockerignore 02:49:11 drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 02:45 .git 02:49:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 02:45 .github 02:49:11 -rw-rw-r-- 1 jenkins jenkins 138 Oct 15 02:45 .gitignore 02:49:11 -rw-rw-r-- 1 jenkins jenkins 936 Oct 15 02:45 Dockerfile.build 02:49:11 -rw-rw-r-- 1 jenkins jenkins 901 Oct 15 02:45 Jenkinsfile 02:49:11 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 15 02:45 LICENSE 02:49:11 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 15 02:45 Makefile 02:49:11 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 15 02:45 README.md 02:49:11 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 15 02:45 RELEASE-NOTES.txt 02:49:11 -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 02:42 VERSION 02:49:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 02:45 bin 02:49:11 -rw-r--r-- 1 jenkins jenkins 110392 Oct 15 02:48 coverage.out 02:49:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:45 example 02:49:11 -rw-r--r-- 1 jenkins jenkins 517 Oct 15 02:49 go.mod 02:49:11 -rw-r--r-- 1 jenkins jenkins 13737 Oct 15 02:49 go.sum 02:49:11 drwxrwxr-x 15 jenkins jenkins 4096 Oct 15 02:45 internal 02:49:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:45 openapi 02:49:11 drwxrwxr-x 5 jenkins jenkins 4096 Oct 15 02:45 pkg 02:49:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:45 snap 02:49:11 -rw-rw-r-- 1 jenkins jenkins 222 Oct 15 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:12 + 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=45c1db7a078e7895d1937ff01ca68aa047ba2514 --label arch=arm64 --label version=0.0.0 . 02:49:12 Sending build context to Docker daemon 2.363MB 02:49:12 Step 1/24 : ARG BASE=golang:1.15-alpine 02:49:12 Step 2/24 : FROM ${BASE} AS builder 02:49:12 ---> b78a240ccc2d 02:49:12 Step 3/24 : ARG MAKE='make build' 02:49:13 ---> Running in cf3a6a615331 02:49:13 Removing intermediate container cf3a6a615331 02:49:13 ---> a6f6deef4893 02:49:13 Step 4/24 : WORKDIR /device-sdk-go 02:49:13 ---> Running in 64af4fb61d91 02:49:14 Removing intermediate container 64af4fb61d91 02:49:14 ---> 02b140dbd9a5 02:49:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:14 ---> Running in 110e6d3f35a2 02:49:14 Removing intermediate container 110e6d3f35a2 02:49:14 ---> 67abe9ac3e03 02:49:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:14 ---> Running in 027b4a2cf6ed 02:49:17 Removing intermediate container 027b4a2cf6ed 02:49:17 ---> 6b00d84a877f 02:49:17 Step 7/24 : RUN apk add --update --no-cache make git 02:49:17 ---> Running in e4c8e724c699 02:49:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:20 OK: 142 MiB in 39 packages 02:49:21 Removing intermediate container e4c8e724c699 02:49:21 ---> 89fcedcb3118 02:49:21 Step 8/24 : COPY . . 02:49:22 ---> e044413ad1b8 02:49:22 Step 9/24 : RUN ${MAKE} 02:49:22 ---> Running in f78a2c728cd1 02:49:24 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:49:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:49:51 Removing intermediate container f78a2c728cd1 02:49:51 ---> 67f34c5395e6 02:49:51 Step 10/24 : FROM scratch 02:49:51 ---> 02:49:51 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:51 ---> Running in 9a0bb0de8697 02:49:51 Removing intermediate container 9a0bb0de8697 02:49:51 ---> 20be4c682718 02:49:51 Step 12/24 : ENV APP_PORT=49990 02:49:51 ---> Running in 8369bc09ea5c 02:49:51 Removing intermediate container 8369bc09ea5c 02:49:51 ---> dd9076179ea7 02:49:51 Step 13/24 : EXPOSE $APP_PORT 02:49:51 ---> Running in 206b4b6d4746 02:49:51 Removing intermediate container 206b4b6d4746 02:49:51 ---> 31863e7d9a86 02:49:51 Step 14/24 : WORKDIR / 02:49:51 ---> Running in e2d14c5baa2d 02:49:52 Removing intermediate container e2d14c5baa2d 02:49:52 ---> 993c34efe8e3 02:49:52 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:49:53 ---> f1cd16cd071a 02:49:53 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:49:54 ---> 60b42430d935 02:49:54 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:49:54 ---> c820a1f8f831 02:49:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:49:55 ---> 3986fb70fe72 02:49:55 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:49:56 ---> c3a8298b39ff 02:49:56 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:49:56 ---> Running in e9f9a45dd313 02:49:57 Removing intermediate container e9f9a45dd313 02:49:57 ---> 8735d576e4c2 02:49:57 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:49:57 ---> Running in d5fbbb30624e 02:49:57 Removing intermediate container d5fbbb30624e 02:49:57 ---> 739190741c75 02:49:57 Step 22/24 : LABEL arch=arm64 02:49:57 ---> Running in 998fe4cd49fe 02:49:58 Removing intermediate container 998fe4cd49fe 02:49:58 ---> 8b3bdf4144c7 02:49:58 Step 23/24 : LABEL git_sha=45c1db7a078e7895d1937ff01ca68aa047ba2514 02:49:58 ---> Running in d5f20c183c03 02:49:58 Removing intermediate container d5f20c183c03 02:49:58 ---> 70ad3239baf1 02:49:58 Step 24/24 : LABEL version=0.0.0 02:49:58 ---> Running in 692b45779f6b 02:49:59 Removing intermediate container 692b45779f6b 02:49:59 ---> cad70809c9bf 02:49:59 [Warning] One or more build-args [ARCH] were not consumed 02:49:59 Successfully built cad70809c9bf 02:49:59 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:01 provisioning config files... 02:50:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config5313852880327213095tmp [Pipeline] { [Pipeline] sh 02:50:01 + set +x 02:50:01 + curl -s https://codecov.io/bash 02:50:01 + bash -s -- 02:50:02 02:50:02 _____ _ 02:50:02 / ____| | | 02:50:02 | | ___ __| | ___ ___ _____ __ 02:50:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:02 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:02 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:02 Bash-20201009-048fee3 02:50:02 02:50:02 02:50:02 ==> Jenkins CI detected. 02:50:02 project root: . 02:50:02 Fixing merge commit SHA 02:50:02 --> token set from env 02:50:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:02 ==> Running gcov in . (disable via -X gcov) 02:50:02 find: ‘./.semver’: Permission denied 02:50:02 ==> Python coveragepy not found 02:50:02 ==> Searching for coverage reports in: 02:50:02 + . 02:50:02 -> Found 1 reports 02:50:02 ==> Detecting git/mercurial file structure 02:50:02 ==> Reading reports 02:50:02 + ./coverage.out bytes=110392 02:50:02 ==> Appending adjustments 02:50:02 https://docs.codecov.io/docs/fixing-reports 02:50:02 find: ‘./.semver’: Permission denied 02:50:02 find: ‘./.semver’: Permission denied 02:50:02 find: ‘./.semver’: Permission denied 02:50:02 02:50:02 + Found adjustments 02:50:02 ==> Gzipping contents 02:50:02 ==> Uploading reports 02:50:02 url: https://codecov.io 02:50:02 query: branch=PR-584&commit=9121cb4fd2f17f024cc2e84f36967dd0fb0597df&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= 02:50:02 -> Pinging Codecov 02:50:02 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=9121cb4fd2f17f024cc2e84f36967dd0fb0597df&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= 02:50:02 -> Uploading to 02:50:02 02:50:02 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:02 Dload Upload Total Spent Left Speed 02:50:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 02:50:02 X> Failed to upload 02:50:02 ==> Uploading to Codecov 02:50:02 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:02 Dload Upload Total Spent Left Speed 02:50:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18639 100 110 100 18529 167 28182 --:--:-- --:--:-- --:--:-- 28159 02:50:03 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9121cb4fd2f17f024cc2e84f36967dd0fb0597df [Pipeline] } 02:50:03 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:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:06 ---> package-listing.sh 02:50:06 ++ facter osfamily 02:50:06 ++ tr '[:upper:]' '[:lower:]' 02:50:06 + OS_FAMILY=redhat 02:50:06 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 02:50:06 + START_PACKAGES=/tmp/packages_start.txt 02:50:06 + END_PACKAGES=/tmp/packages_end.txt 02:50:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:06 + PACKAGES=/tmp/packages_start.txt 02:50:06 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 02:50:06 + PACKAGES=/tmp/packages_end.txt 02:50:06 + case "${OS_FAMILY}" in 02:50:06 + rpm -qa 02:50:06 + sort 02:50:11 + '[' -f /tmp/packages_start.txt ']' 02:50:11 + '[' -f /tmp/packages_end.txt ']' 02:50:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 02:50:11 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ 02:50:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] echo 02:50:11 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-584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:11 02:50:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:12 alpine: Pulling from edgex-lftools-log-publisher 02:50:12 df20fa9351a1: Pulling fs layer 02:50:12 36b3adc4ff6f: Pulling fs layer 02:50:12 8ad3a11d3b57: Pulling fs layer 02:50:12 46f8f816bc3b: Pulling fs layer 02:50:12 93b61091891f: Pulling fs layer 02:50:12 93b9cdb0e59b: Pulling fs layer 02:50:12 5e14af77c1be: Pulling fs layer 02:50:12 01666e4c0597: Pulling fs layer 02:50:12 aa168da1d23b: Pulling fs layer 02:50:12 93b9cdb0e59b: Waiting 02:50:12 5e14af77c1be: Waiting 02:50:12 01666e4c0597: Waiting 02:50:12 aa168da1d23b: Waiting 02:50:12 46f8f816bc3b: Waiting 02:50:12 93b61091891f: Waiting 02:50:12 36b3adc4ff6f: Verifying Checksum 02:50:12 36b3adc4ff6f: Download complete 02:50:12 46f8f816bc3b: Verifying Checksum 02:50:12 46f8f816bc3b: Download complete 02:50:12 df20fa9351a1: Verifying Checksum 02:50:12 df20fa9351a1: Download complete 02:50:12 93b9cdb0e59b: Verifying Checksum 02:50:12 93b9cdb0e59b: Download complete 02:50:12 5e14af77c1be: Download complete 02:50:12 93b61091891f: Verifying Checksum 02:50:12 93b61091891f: Download complete 02:50:12 01666e4c0597: Verifying Checksum 02:50:12 01666e4c0597: Download complete 02:50:12 df20fa9351a1: Pull complete 02:50:12 36b3adc4ff6f: Pull complete 02:50:13 8ad3a11d3b57: Verifying Checksum 02:50:13 8ad3a11d3b57: Download complete 02:50:13 8ad3a11d3b57: Pull complete 02:50:13 46f8f816bc3b: Pull complete 02:50:14 93b61091891f: Pull complete 02:50:14 93b9cdb0e59b: Pull complete 02:50:14 aa168da1d23b: Verifying Checksum 02:50:14 aa168da1d23b: Download complete 02:50:14 5e14af77c1be: Pull complete 02:50:14 01666e4c0597: Pull complete 02:50:21 aa168da1d23b: Pull complete 02:50:21 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:50:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:50:21 prd-centos7-docker-4c-2g-5503 does not seem to be running inside a container 02:50:21 $ 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-584/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-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:50:25 $ docker top eb1f6da21f4cb326e7a901be83760f47d3f39942fbc124e8c49e96d154ce55b4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:26 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:26 + mkdir -p /var/log/sa [Pipeline] sh 02:50:26 + ls /var/log/sa-host 02:50:26 + sadf -c /var/log/sa-host/sa05 02:50:26 file_magic: OK 02:50:26 HZ: Using current value: 100 02:50:26 file_header: OK 02:50:26 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:50:26 Statistics: 02:50:26 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:26 File successfully converted to sysstat format version 12.2.1 02:50:26 + sadf -c /var/log/sa-host/sa15 02:50:26 file_magic: OK 02:50:26 HZ: Using current value: 100 02:50:26 file_header: OK 02:50:26 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:50:26 Statistics: 02:50:26 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:26 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:26 provisioning config files... 02:50:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config8297403452240173195tmp [Pipeline] { [Pipeline] echo 02:50:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:27 ---> create-netrc.sh [Pipeline] } 02:50:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:50:27 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:27 ---> python-tools-install.sh [Pipeline] echo 02:50:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:27 ---> sudo-logs.sh 02:50:27 Archiving 'sudo' log.. [Pipeline] echo 02:50:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:28 ---> job-cost.sh 02:50:28 lf-activate-venv: SKIPPING 02:50:28 INFO: No Stack... 02:50:29 INFO: Retrieving Pricing Info for: v1-standard-2 02:50:29 INFO: Archiving Costs [Pipeline] echo 02:50:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:30 ---> logs-deploy.sh 02:50:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/20 02:50:30 INFO: archiving workspace using pattern(s): 02:50:32 Archives upload complete. 02:50:32 INFO: archiving logs to Nexus