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