Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e2793ca71f614b597d77c0effe2f7042b599ce3e+7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 (e6b7dfa225df0b22002bb29631fc38cbe8bda8d7) 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-3584 in /w/workspace/dgexfoundry_device-sdk-go_PR-583 [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-583 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/583/head:refs/remotes/origin/PR-583 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit e2793ca71f614b597d77c0effe2f7042b599ce3e Merge succeeded, producing 22a98956687e6b798aeafb6feff9091c4bcc14fe Checking out Revision 22a98956687e6b798aeafb6feff9091c4bcc14fe (PR-583) > git config core.sparsecheckout # timeout=10 > git checkout -f e2793ca71f614b597d77c0effe2f7042b599ce3e # 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 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22a98956687e6b798aeafb6feff9091c4bcc14fe # timeout=10 Commit message: "Merge commit '7376f7b5b06e33bb8acc21cf64a8bee67a63ba67' into HEAD" > git rev-list --no-walk e2793ca71f614b597d77c0effe2f7042b599ce3e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:17 ========================================================= 02:43:17 EdgeX Global Pipelines Version Info 02:43:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:18 ------------------- 02:43:18 stable info: 02:43:18 ------------------- 02:43:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:18 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 02:43:18 Message: update stable to v1.0.131 02:43:19 ------------------- 02:43:19 experimental info: 02:43:19 ------------------- 02:43:19 Commited By: **** collab-it+edgex@linuxfoundation.org 02:43:19 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 02:43:19 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:43:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:43:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:43:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-583 [Pipeline] echo 02:43:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-583 [Pipeline] echo 02:43:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-583 [Pipeline] echo 02:43:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22a98956687e6b798aeafb6feff9091c4bcc14fe [Pipeline] echo 02:43:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22a9895 [Pipeline] echo 02:43:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:23 + git log --format=format:%s -1 22a98956687e6b798aeafb6feff9091c4bcc14fe [Pipeline] echo 02:43:23 GIT_COMMIT: 22a98956687e6b798aeafb6feff9091c4bcc14fe, Commit Message: Merge commit '7376f7b5b06e33bb8acc21cf64a8bee67a63ba67' into HEAD [Pipeline] echo 02:43:23 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:24 02:43:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:24 latest: Pulling from edgex-devops/git-semver 02:43:24 31603596830f: Pulling fs layer 02:43:24 2a8b12db71e7: Pulling fs layer 02:43:24 6ca5941a6612: Pulling fs layer 02:43:24 ecc8261a40a4: Pulling fs layer 02:43:24 ecc8261a40a4: Waiting 02:43:24 2a8b12db71e7: Verifying Checksum 02:43:24 2a8b12db71e7: Download complete 02:43:25 31603596830f: Verifying Checksum 02:43:25 31603596830f: Download complete 02:43:25 ecc8261a40a4: Verifying Checksum 02:43:25 ecc8261a40a4: Download complete 02:43:25 6ca5941a6612: Verifying Checksum 02:43:25 6ca5941a6612: Download complete 02:43:25 31603596830f: Pull complete 02:43:25 2a8b12db71e7: Pull complete 02:43:26 6ca5941a6612: Pull complete 02:43:26 ecc8261a40a4: Pull complete 02:43:26 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:26 prd-centos7-docker-4c-2g-3584 does not seem to be running inside a container 02:43:26 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-583 -v /w/workspace/dgexfoundry_device-sdk-go_PR-583:/w/workspace/dgexfoundry_device-sdk-go_PR-583:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-583@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:43:29 $ docker top 835578bc629edcbfdb641644d1aaa8754b931b8436b5d8e2b040ae2ed2a55bcc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:29 [ssh-agent] Looking for ssh-agent implementation... 02:43:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:29 $ docker exec 835578bc629edcbfdb641644d1aaa8754b931b8436b5d8e2b040ae2ed2a55bcc ssh-agent 02:43:29 SSH_AUTH_SOCK=/tmp/ssh-7F4iVkObdnIs/agent.11 02:43:29 SSH_AGENT_PID=16 02:43:29 Running ssh-add (command line suppressed) 02:43:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_6349690720043439950.key (/w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_6349690720043439950.key) 02:43:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:30 + git describe --exact-match --tags HEAD 02:43:30 fatal: no tag exactly matches '22a98956687e6b798aeafb6feff9091c4bcc14fe' [Pipeline] } 02:43:30 $ docker exec --env ******** --env ******** 835578bc629edcbfdb641644d1aaa8754b931b8436b5d8e2b040ae2ed2a55bcc ssh-agent -k 02:43:30 unset SSH_AUTH_SOCK; 02:43:30 unset SSH_AGENT_PID; 02:43:30 echo Agent pid 16 killed; 02:43:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 02:43:30 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 02:43:30 This usually means this commit has not been tagged. [Pipeline] sshagent 02:43:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:30 [ssh-agent] Looking for ssh-agent implementation... 02:43:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:30 $ docker exec 835578bc629edcbfdb641644d1aaa8754b931b8436b5d8e2b040ae2ed2a55bcc ssh-agent 02:43:31 SSH_AUTH_SOCK=/tmp/ssh-7mRgrgibs7cA/agent.44 02:43:31 SSH_AGENT_PID=50 02:43:31 Running ssh-add (command line suppressed) 02:43:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_5696792483972492617.key (/w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_5696792483972492617.key) 02:43:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:31 + git semver init 02:43:31 # -> Open(): unable to determine branch for HEAD 02:43:31 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-583/.git 02:43:31 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-583 02:43:31 # $SEMVER_REMOTE_NAME = origin 02:43:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:31 # $SEMVER_USER_NAME = edgex-jenkins 02:43:31 # $SEMVER_BRANCH = PR-583 02:43:31 # $SEMVER_TEMP = /tmp/semver-646174779 02:43:31 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:32 # '/tmp/semver-646174779' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-583/.semver' 02:43:32 # -> Force: false 02:43:32 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-583/.semver [Pipeline] } 02:43:32 $ docker exec --env ******** --env ******** 835578bc629edcbfdb641644d1aaa8754b931b8436b5d8e2b040ae2ed2a55bcc ssh-agent -k 02:43:32 unset SSH_AUTH_SOCK; 02:43:32 unset SSH_AGENT_PID; 02:43:32 echo Agent pid 50 killed; 02:43:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:32 + git semver [Pipeline] } 02:43:32 $ docker stop --time=1 835578bc629edcbfdb641644d1aaa8754b931b8436b5d8e2b040ae2ed2a55bcc 02:43:34 $ docker rm -f 835578bc629edcbfdb641644d1aaa8754b931b8436b5d8e2b040ae2ed2a55bcc [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:43:35 Stashed 43 file(s) [Pipeline] echo 02:43:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 02:43:35 Archived original 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:50 Still waiting to schedule task 02:43:50 ‘prd-centos7-docker-4c-2g-3587’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3585’ doesn’t have label ‘centos7-docker-4c-2g’ 02:43:50 Still waiting to schedule task 02:43:50 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3585’ is offline 02:46:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3589 in /w/workspace/dgexfoundry_device-sdk-go_PR-583 [Pipeline] { [Pipeline] ws 02:46:33 Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout 02:46:38 using credential edgex-jenkins-ssh 02:46:38 Cloning the remote Git repository 02:46:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:38 > git init /w/workspace/device-sdk-go/16 # timeout=10 02:46:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:38 > git --version # timeout=10 02:46:38 > git --version # 'git version 2.17.1' 02:46:38 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:40 Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit e2793ca71f614b597d77c0effe2f7042b599ce3e 02:46:40 Merge succeeded, producing 9acdeeabf17f1e2339d2acba2e10d0d108925be8 02:46:40 Checking out Revision 9acdeeabf17f1e2339d2acba2e10d0d108925be8 (PR-583) 02:46:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/583/head:refs/remotes/origin/PR-583 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:40 > git config core.sparsecheckout # timeout=10 02:46:40 > git checkout -f e2793ca71f614b597d77c0effe2f7042b599ce3e # timeout=10 02:46:40 > git remote # timeout=10 02:46:40 > git config --get remote.origin.url # timeout=10 02:46:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:40 > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 02:46:40 > git rev-parse HEAD^{commit} # timeout=10 02:46:40 > git config core.sparsecheckout # timeout=10 02:46:40 > git checkout -f 9acdeeabf17f1e2339d2acba2e10d0d108925be8 # timeout=10 02:46:45 Commit message: "Merge commit '7376f7b5b06e33bb8acc21cf64a8bee67a63ba67' into HEAD" 02:46:45 > git rev-list --no-walk e2793ca71f614b597d77c0effe2f7042b599ce3e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:46:46 ========================================================= 02:46:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:47 + 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:48 Sending build context to Docker daemon 3.502MB 02:46:48 Step 1/8 : ARG BASE=golang:1.15-alpine 02:46:48 Step 2/8 : FROM ${BASE} 02:46:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:49 b538f80385f9: Pulling fs layer 02:46:49 74f711af9a0d: Pulling fs layer 02:46:49 99f96fe45779: Pulling fs layer 02:46:49 8529a6b9a6be: Pulling fs layer 02:46:49 45590311c82a: Pulling fs layer 02:46:49 69ca0ff8b7b3: Pulling fs layer 02:46:49 209524e5b208: Pulling fs layer 02:46:49 8529a6b9a6be: Waiting 02:46:49 45590311c82a: Waiting 02:46:49 69ca0ff8b7b3: Waiting 02:46:49 209524e5b208: Waiting 02:46:49 99f96fe45779: Verifying Checksum 02:46:49 99f96fe45779: Download complete 02:46:49 74f711af9a0d: Download complete 02:46:49 45590311c82a: Verifying Checksum 02:46:49 45590311c82a: Download complete 02:46:49 69ca0ff8b7b3: Verifying Checksum 02:46:49 69ca0ff8b7b3: Download complete 02:46:49 b538f80385f9: Verifying Checksum 02:46:49 b538f80385f9: Download complete 02:46:50 b538f80385f9: Pull complete 02:46:50 74f711af9a0d: Pull complete 02:46:51 99f96fe45779: Pull complete 02:46:51 209524e5b208: Verifying Checksum 02:46:51 209524e5b208: Download complete 02:46:53 8529a6b9a6be: Verifying Checksum 02:46:53 8529a6b9a6be: Download complete 02:47:03 8529a6b9a6be: Pull complete 02:47:03 45590311c82a: Pull complete 02:47:03 69ca0ff8b7b3: Pull complete 02:47:07 209524e5b208: Pull complete 02:47:07 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:47:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:07 ---> 5bddaf1c2fca 02:47:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:07 Running on prd-centos7-docker-4c-2g-3590 in /w/workspace/dgexfoundry_device-sdk-go_PR-583 [Pipeline] { [Pipeline] ws 02:47:07 Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout 02:47:10 ---> Running in 9d4cb08516ac 02:47:10 using credential edgex-jenkins-ssh 02:47:10 Cloning the remote Git repository 02:47:10 Removing intermediate container 9d4cb08516ac 02:47:10 ---> 3cfdaa96b592 02:47:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:10 ---> Running in d6f624ee1edb 02:47:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:10 > git init /w/workspace/device-sdk-go/16 # timeout=10 02:47:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:10 > git --version # timeout=10 02:47:10 > git --version # 'git version 2.16.5' 02:47:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:11 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/583/head:refs/remotes/origin/PR-583 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:47:11 Merging remotes/origin/master commit 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 into PR head commit e2793ca71f614b597d77c0effe2f7042b599ce3e 02:47:12 Merge succeeded, producing 2417c85dce58f24ae442baeb883489104ac259ab 02:47:12 Checking out Revision 2417c85dce58f24ae442baeb883489104ac259ab (PR-583) 02:47:11 > git config core.sparsecheckout # timeout=10 02:47:11 > git checkout -f e2793ca71f614b597d77c0effe2f7042b599ce3e # timeout=10 02:47:12 > git remote # timeout=10 02:47:12 > git config --get remote.origin.url # timeout=10 02:47:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:12 > git merge 7376f7b5b06e33bb8acc21cf64a8bee67a63ba67 # timeout=10 02:47:12 > git rev-parse HEAD^{commit} # timeout=10 02:47:12 > git config core.sparsecheckout # timeout=10 02:47:12 > git checkout -f 2417c85dce58f24ae442baeb883489104ac259ab # timeout=10 02:47:13 Removing intermediate container d6f624ee1edb 02:47:13 ---> 47cc206bb9f5 02:47:13 Step 5/8 : RUN apk add --no-cache make git 02:47:13 ---> Running in b4534475e6c4 02:47:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:15 Commit message: "Merge commit '7376f7b5b06e33bb8acc21cf64a8bee67a63ba67' into HEAD" 02:47:15 > git rev-list --no-walk e2793ca71f614b597d77c0effe2f7042b599ce3e # timeout=10 02:47:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:47:16 ========================================================= 02:47:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:47:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:16 OK: 142 MiB in 39 packages 02:47:17 + 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:47:17 Sending build context to Docker daemon 3.5MB 02:47:17 Step 1/8 : ARG BASE=golang:1.15-alpine 02:47:17 Step 2/8 : FROM ${BASE} 02:47:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:47:17 df20fa9351a1: Pulling fs layer 02:47:17 ed8968b2872e: Pulling fs layer 02:47:17 a92cc7c5fd73: Pulling fs layer 02:47:17 e871e8e8d7a9: Pulling fs layer 02:47:17 e73272ec9a57: Pulling fs layer 02:47:17 1e910a182e73: Pulling fs layer 02:47:17 4e634b169226: Pulling fs layer 02:47:17 e871e8e8d7a9: Waiting 02:47:17 e73272ec9a57: Waiting 02:47:17 1e910a182e73: Waiting 02:47:17 4e634b169226: Waiting 02:47:17 a92cc7c5fd73: Download complete 02:47:17 ed8968b2872e: Verifying Checksum 02:47:17 ed8968b2872e: Download complete 02:47:17 e73272ec9a57: Verifying Checksum 02:47:17 e73272ec9a57: Download complete 02:47:17 1e910a182e73: Verifying Checksum 02:47:17 1e910a182e73: Download complete 02:47:17 df20fa9351a1: Verifying Checksum 02:47:17 df20fa9351a1: Download complete 02:47:17 Removing intermediate container b4534475e6c4 02:47:17 ---> 7b9b88636ccb 02:47:17 Step 6/8 : WORKDIR /device-sdk-go 02:47:17 ---> Running in 3a6d35ff1d30 02:47:17 df20fa9351a1: Pull complete 02:47:18 ed8968b2872e: Pull complete 02:47:18 a92cc7c5fd73: Pull complete 02:47:18 Removing intermediate container 3a6d35ff1d30 02:47:18 ---> fd287ec0534b 02:47:18 Step 7/8 : COPY . . 02:47:19 4e634b169226: Verifying Checksum 02:47:19 4e634b169226: Download complete 02:47:19 ---> a4797740a458 02:47:19 Step 8/8 : RUN go mod download 02:47:20 e871e8e8d7a9: Verifying Checksum 02:47:20 e871e8e8d7a9: Download complete 02:47:20 ---> Running in bd3815b281cc 02:47:24 e871e8e8d7a9: Pull complete 02:47:24 e73272ec9a57: Pull complete 02:47:24 1e910a182e73: Pull complete 02:47:32 4e634b169226: Pull complete 02:47:32 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:47:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:47:33 ---> f7629b54cfaa 02:47:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:33 ---> Running in 30693e8eb88d 02:47:33 Removing intermediate container 30693e8eb88d 02:47:33 ---> 057efe6fdbce 02:47:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:33 ---> Running in ff3bc7904180 02:47:34 Removing intermediate container ff3bc7904180 02:47:34 ---> c8ffb5c43a5c 02:47:34 Step 5/8 : RUN apk add --no-cache make git 02:47:34 ---> Running in 0ef86d230259 02:47:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:36 OK: 166 MiB in 39 packages 02:47:36 Removing intermediate container 0ef86d230259 02:47:36 ---> d0508d1c028e 02:47:36 Step 6/8 : WORKDIR /device-sdk-go 02:47:36 ---> Running in 4738649e178c 02:47:36 Removing intermediate container 4738649e178c 02:47:36 ---> d6a1ffa1cddd 02:47:36 Step 7/8 : COPY . . 02:47:38 ---> 5e6641b0c043 02:47:38 Step 8/8 : RUN go mod download 02:47:38 ---> Running in 495047ffd605 02:47:42 Removing intermediate container bd3815b281cc 02:47:42 ---> 286936442e71 02:47:42 Successfully built 286936442e71 02:47:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:42 + docker inspect -f . ci-base-image-arm64 02:47:42 . [Pipeline] withDockerContainer 02:47:42 prd-ubuntu18.04-docker-arm64-4c-16g-3589 does not seem to be running inside a container 02:47:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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:44 $ docker top e0fcec9b3fd6c22ca86285fe3021f83cfd1de8cb41d4f29725c3cc7d28643aae -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:46 + go version 02:47:46 go version go1.15.2 linux/arm64 [Pipeline] } 02:47:46 $ docker stop --time=1 e0fcec9b3fd6c22ca86285fe3021f83cfd1de8cb41d4f29725c3cc7d28643aae 02:47:48 $ docker rm -f e0fcec9b3fd6c22ca86285fe3021f83cfd1de8cb41d4f29725c3cc7d28643aae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:49 + docker inspect -f . ci-base-image-arm64 02:47:49 . [Pipeline] withDockerContainer 02:47:49 prd-ubuntu18.04-docker-arm64-4c-16g-3589 does not seem to be running inside a container 02:47:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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:51 $ docker top 5cb39dfed49726cdb96b244f2e3eb8a396d6909f554a556aeec2e23da9478a50 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:52 + make test 02:47:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:56 Removing intermediate container 495047ffd605 02:47:56 ---> c642fe9e633e 02:47:56 Successfully built c642fe9e633e 02:47:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:47:57 + docker inspect -f . ci-base-image-x86_64 02:47:57 . [Pipeline] withDockerContainer 02:47:57 prd-centos7-docker-4c-2g-3590 does not seem to be running inside a container 02:47:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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-x86_64 cat 02:47:57 $ docker top 32d6bcdff572966c568dccc74a7e6f6c314f0b29e27fb365cfb57b2d347d374e -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:58 + go version 02:47:58 go version go1.15.2 linux/amd64 [Pipeline] } 02:47:58 $ docker stop --time=1 32d6bcdff572966c568dccc74a7e6f6c314f0b29e27fb365cfb57b2d347d374e 02:47:59 $ docker rm -f 32d6bcdff572966c568dccc74a7e6f6c314f0b29e27fb365cfb57b2d347d374e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:00 + docker inspect -f . ci-base-image-x86_64 02:48:00 . [Pipeline] withDockerContainer 02:48:00 prd-centos7-docker-4c-2g-3590 does not seem to be running inside a container 02:48:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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-x86_64 cat 02:48:01 $ docker top a4289664ff91017014366f060432ac339482f77334f27ce440a78578524ba560 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:02 + make test 02:48:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:10 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:48:15 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:48:22 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:48:22 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:48:22 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:48:22 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.048s coverage: 21.6% of statements 02:48:24 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.430s coverage: 97.1% of statements 02:48:54 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:48:54 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:48:54 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:48:54 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.138s coverage: 21.6% of statements 02:48:56 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.074s coverage: 9.4% of statements 02:48:56 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements 02:48:56 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:56 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.228s coverage: 39.9% of statements 02:48:56 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:56 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.260s coverage: 65.4% of statements 02:48:56 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:56 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:56 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:56 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:48:56 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.062s coverage: 52.6% of statements 02:48:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:48:56 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.551s coverage: 68.9% of statements 02:48:56 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:48:56 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:56 GO111MODULE=on go vet ./... 02:48:58 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.180s coverage: 97.1% of statements 02:49:02 gofmt -l . 02:49:02 [ "`gofmt -l .`" = "" ] 02:49:02 ./bin/test-attribution-txt.sh 02:49:02 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 02:49:02 make: *** [Makefile:36: test] Error 1 [Pipeline] } 02:49:02 $ docker stop --time=1 a4289664ff91017014366f060432ac339482f77334f27ce440a78578524ba560 02:49:04 $ docker rm -f a4289664ff91017014366f060432ac339482f77334f27ce440a78578524ba560 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:49:05 Failed in branch amd64 02:49:30 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.156s coverage: 9.4% of statements 02:49:30 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.118s coverage: 21.9% of statements 02:49:30 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:49:30 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.519s coverage: 39.9% of statements 02:49:30 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:49:30 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.793s coverage: 65.4% of statements 02:49:30 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:49:30 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:49:30 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:49:30 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:49:30 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.184s coverage: 52.6% of statements 02:49:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:49:30 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.683s coverage: 68.9% of statements 02:49:30 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:49:30 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:49:30 GO111MODULE=on go vet ./... 02:49:57 gofmt -l . 02:49:57 [ "`gofmt -l .`" = "" ] 02:49:57 ./bin/test-attribution-txt.sh 02:49:57 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 02:49:57 make: *** [Makefile:36: test] Error 1 [Pipeline] } 02:49:57 $ docker stop --time=1 5cb39dfed49726cdb96b244f2e3eb8a396d6909f554a556aeec2e23da9478a50 02:49:59 $ docker rm -f 5cb39dfed49726cdb96b244f2e3eb8a396d6909f554a556aeec2e23da9478a50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:50:02 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:08 ---> package-listing.sh 02:50:08 ++ facter osfamily 02:50:08 ++ tr '[:upper:]' '[:lower:]' 02:50:08 + OS_FAMILY=redhat 02:50:08 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-583 02:50:08 + START_PACKAGES=/tmp/packages_start.txt 02:50:08 + END_PACKAGES=/tmp/packages_end.txt 02:50:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:08 + PACKAGES=/tmp/packages_start.txt 02:50:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-583 ']' 02:50:08 + PACKAGES=/tmp/packages_end.txt 02:50:08 + case "${OS_FAMILY}" in 02:50:08 + rpm -qa 02:50:08 + sort 02:50:12 + '[' -f /tmp/packages_start.txt ']' 02:50:12 + '[' -f /tmp/packages_end.txt ']' 02:50:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-583 ']' 02:50:12 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-583/archives/ 02:50:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-583/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:12 provisioning config files... 02:50:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/config7332711443714272483tmp [Pipeline] { [Pipeline] echo 02:50:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:13 ---> create-netrc.sh [Pipeline] } 02:50:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:50:13 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:13 ---> python-tools-install.sh 02:50:13 Generating Requirements File 02:51:21 Python 3.6.8 02:51:21 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 02:51:21 appdirs==1.4.3 02:51:21 argcomplete==1.12.1 02:51:21 aspy.yaml==1.3.0 02:51:21 attrs==19.3.0 02:51:21 Babel==2.8.0 02:51:21 beautifulsoup4==4.8.2 02:51:21 boto3==1.11.6 02:51:21 botocore==1.14.6 02:51:21 bs4==0.0.1 02:51:21 cachetools==4.1.1 02:51:21 certifi==2019.11.28 02:51:21 cffi==1.14.3 02:51:21 cfgv==2.0.1 02:51:21 chardet==3.0.4 02:51:21 click==7.1 02:51:21 cliff==3.4.0 02:51:21 cmd2==1.3.11 02:51:21 colorama==0.4.3 02:51:21 cryptography==3.1.1 02:51:21 debtcollector==2.2.0 02:51:21 decorator==4.4.2 02:51:21 defusedxml==0.6.0 02:51:21 Deprecated==1.2.7 02:51:21 distlib==0.3.1 02:51:21 distro==1.2.0 02:51:21 dnspython==1.16.0 02:51:21 docker==4.2.0 02:51:21 docutils==0.15.2 02:51:21 dogpile.cache==1.0.2 02:51:21 email-validator==1.0.5 02:51:21 filelock==3.0.12 02:51:21 future==0.18.2 02:51:21 google-auth==1.22.1 02:51:21 httplib2==0.17.0 02:51:21 identify==1.4.11 02:51:21 idna==2.9 02:51:21 importlib-metadata==1.7.0 02:51:21 importlib-resources==1.5.0 02:51:21 iso8601==0.1.13 02:51:21 Jinja2==2.11.1 02:51:21 jmespath==0.10.0 02:51:21 jsonpatch==1.26 02:51:21 jsonpointer==2.0 02:51:21 jsonschema==3.2.0 02:51:21 keystoneauth1==4.2.1 02:51:21 kubernetes==11.0.0 02:51:21 lftools==0.34.2 02:51:21 lxml==4.5.0 02:51:21 MarkupSafe==0.23 02:51:21 msgpack==1.0.0 02:51:21 multi-key-dict==2.0.3 02:51:21 munch==2.5.0 02:51:21 netaddr==0.8.0 02:51:21 netifaces==0.10.9 02:51:21 niet==1.4.2 02:51:21 nodeenv==1.3.5 02:51:21 oauth2client==4.1.3 02:51:21 oauthlib==3.1.0 02:51:21 openstacksdk==0.50.0 02:51:21 os-client-config==2.1.0 02:51:21 os-service-types==1.7.0 02:51:21 osc-lib==2.2.1 02:51:21 oslo.config==8.3.2 02:51:21 oslo.context==3.1.1 02:51:21 oslo.i18n==5.0.1 02:51:21 oslo.log==4.4.0 02:51:21 oslo.serialization==4.0.1 02:51:21 oslo.utils==4.6.0 02:51:21 packaging==20.4 02:51:21 pbr==5.4.4 02:51:21 pluggy==0.13.1 02:51:21 prettytable==0.7.2 02:51:21 py==1.9.0 02:51:21 pyasn1==0.4.8 02:51:21 pyasn1-modules==0.2.8 02:51:21 pycparser==2.20 02:51:21 pygerrit2==2.0.10 02:51:21 PyGithub==1.46 02:51:21 pyinotify==0.9.6 02:51:21 PyJWT==1.7.1 02:51:21 pyparsing==2.4.7 02:51:21 pyperclip==1.8.0 02:51:21 pyroute2==0.4.13 02:51:21 pyrsistent==0.15.7 02:51:21 PySocks==1.6.8 02:51:21 python-cinderclient==7.2.0 02:51:21 python-dateutil==2.8.1 02:51:21 python-heatclient==2.2.1 02:51:21 python-jenkins==1.7.0 02:51:21 python-keystoneclient==4.1.1 02:51:21 python-magnumclient==3.2.1 02:51:21 python-novaclient==17.2.1 02:51:21 python-openstackclient==5.4.0 02:51:21 python-swiftclient==3.10.1 02:51:21 pytz==2020.1 02:51:21 PyYAML==5.3 02:51:21 requests==2.23.0 02:51:21 requests-oauthlib==1.3.0 02:51:21 requestsexceptions==1.4.0 02:51:21 rfc3986==1.4.0 02:51:21 rpm==4.11.3 02:51:21 rsa==4.0 02:51:21 ruamel.yaml==0.16.10 02:51:21 ruamel.yaml.clib==0.2.0 02:51:21 s3transfer==0.3.3 02:51:21 shade==1.27.2 02:51:21 simplejson==3.17.2 02:51:21 six==1.14.0 02:51:21 soupsieve==2.0 02:51:21 stevedore==3.2.2 02:51:21 tabulate==0.8.6 02:51:21 toml==0.10.0 02:51:21 tox==3.20.0 02:51:21 tqdm==4.43.0 02:51:21 urllib3==1.25.8 02:51:21 virtualenv==20.0.33 02:51:21 wcwidth==0.2.5 02:51:21 websocket-client==0.57.0 02:51:21 wrapt==1.12.1 02:51:21 xdg==3.0.2 02:51:21 xmltodict==0.12.0 02:51:21 yq==2.11.1 02:51:21 zipp==3.3.0 02:51:21 Cache entry deserialization failed, entry ignored 02:51:23 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 02:51:27 Python 2.7.5 02:51:27 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 02:51:27 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 02:51:27 ansible==2.9.7 02:51:27 Babel==0.9.6 02:51:27 backports.ssl-match-hostname==3.5.0.1 02:51:27 beautifulsoup4==4.4.1 02:51:27 bodhi==2.11.0 02:51:27 bodhi-client==2.11.0 02:51:27 CCColUtils==1.4 02:51:27 cffi==1.6.0 02:51:27 chardet==2.2.1 02:51:27 click==6.7 02:51:27 cloud-init==18.5 02:51:27 configobj==4.7.2 02:51:27 cryptography==1.7.2 02:51:27 decorator==3.4.0 02:51:27 distro==1.2.0 02:51:27 enum34==1.0.4 02:51:27 fedpkg==1.38 02:51:27 futures==3.1.1 02:51:27 gitdb==0.6.4 02:51:27 GitPython==1.0.1 02:51:27 html5lib==0.999 02:51:27 httplib2==0.9.2 02:51:27 idna==2.4 02:51:27 iniparse==0.4 02:51:27 ipaddress==1.0.16 02:51:27 IPy==0.75 02:51:27 javapackages==1.0.0 02:51:27 Jinja2==2.7.2 02:51:27 jmespath==0.9.4 02:51:27 jsonpatch==1.2 02:51:27 jsonpointer==1.9 02:51:27 kerberos==1.1 02:51:27 kitchen==1.1.1 02:51:27 langtable==0.0.31 02:51:27 lockfile==0.9.1 02:51:27 lxml==3.2.1 02:51:27 MarkupSafe==0.11 02:51:27 munch==2.0.2 02:51:27 offtrac==0.1.0 02:51:27 openidc-client==0.6.0 02:51:27 packagedb-cli==2.14.1 02:51:27 paramiko==2.1.1 02:51:27 perf==0.1 02:51:27 ply==3.4 02:51:27 policycoreutils-default-encoding==0.1 02:51:27 prettytable==0.7.2 02:51:27 pyasn1==0.1.9 02:51:27 pycparser==2.14 02:51:27 pycurl==7.19.0 02:51:27 pygobject==3.22.0 02:51:27 pygpgme==0.3 02:51:27 pyliblzma==0.5.3 02:51:27 pyOpenSSL==0.13.1 02:51:27 pyparsing==1.5.6 02:51:27 pyserial==2.6 02:51:27 python-augeas==0.5.0 02:51:27 python-bugzilla==2.3.0 02:51:27 python-dateutil==1.5 02:51:27 python-fedora==0.10.0 02:51:27 python-linux-procfs==0.4.9 02:51:27 python-yubico==1.2.3 02:51:27 pyudev==0.15 02:51:27 pyusb==1.0.0b1 02:51:27 pyxattr==0.5.1 02:51:27 PyYAML==3.10 02:51:27 requests==2.6.0 02:51:27 requests-kerberos==0.7.0 02:51:27 rpkg==1.60 02:51:27 schedutils==0.4 02:51:27 seobject==0.1 02:51:27 sepolicy==1.1 02:51:27 six==1.9.0 02:51:27 smmap==0.9.0 02:51:27 urlgrabber==3.10 02:51:27 urllib3==1.10.2 02:51:27 virtualenv==15.1.0 02:51:27 yum-langpacks==0.4.2 02:51:27 yum-metadata-parser==1.1.4 [Pipeline] echo 02:51:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:28 ---> sudo-logs.sh 02:51:28 Archiving 'sudo' log.. [Pipeline] echo 02:51:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:28 ---> job-cost.sh 02:51:28 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Kv5F 02:51:38 Cache entry deserialization failed, entry ignored 02:51:38 Cache entry deserialization failed, entry ignored 02:51:38 Cache entry deserialization failed, entry ignored 02:51:38 Cache entry deserialization failed, entry ignored 02:51:39 Cache entry deserialization failed, entry ignored 02:51:39 Cache entry deserialization failed, entry ignored 02:51:39 Cache entry deserialization failed, entry ignored 02:51:39 Cache entry deserialization failed, entry ignored 02:51:39 Cache entry deserialization failed, entry ignored 02:51:39 Cache entry deserialization failed, entry ignored 02:51:39 Cache entry deserialization failed, entry ignored 02:51:39 Cache entry deserialization failed, entry ignored 02:51:44 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:52:11 lf-activate-venv(): INFO: Adding /tmp/venv-Kv5F/bin to PATH 02:52:11 INFO: No Stack... 02:52:11 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:11 INFO: Archiving Costs [Pipeline] echo 02:52:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:12 ---> logs-deploy.sh 02:52:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-583/16 02:52:12 INFO: archiving workspace using pattern(s): 02:52:14 Archives upload complete. 02:52:14 INFO: archiving logs to Nexus