Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b39299a55ada1edb4dcbaecb5f4d8ef99f15ca70+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (2201d2cf2385f7f813c9ebecbbff5f46ba9cdfb3) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision fc09f7fe5f69055b0e322e50b0bb9debbc716db4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision fc09f7fe5f69055b0e322e50b0bb9debbc716db4 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision fc09f7fe5f69055b0e322e50b0bb9debbc716db4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f fc09f7fe5f69055b0e322e50b0bb9debbc716db4 # timeout=10 Commit message: "Merge pull request #271 from ernestojeda/documentation-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-5505 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 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit b39299a55ada1edb4dcbaecb5f4d8ef99f15ca70 Merge succeeded, producing 1aff3e2fcff21c22064b0d07c954499554571865 Checking out Revision 1aff3e2fcff21c22064b0d07c954499554571865 (PR-583) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f b39299a55ada1edb4dcbaecb5f4d8ef99f15ca70 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1aff3e2fcff21c22064b0d07c954499554571865 # timeout=10 Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk b96813b0c91c86b547423b0406c3f486ecdbb512 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:03 ========================================================= 02:43:03 EdgeX Global Pipelines Version Info 02:43:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:04 ------------------- 02:43:04 stable info: 02:43:04 ------------------- 02:43:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:04 Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 02:43:04 Message: update stable to v1.0.142 02:43:05 ------------------- 02:43:05 experimental info: 02:43:05 ------------------- 02:43:05 Commited By: **** collab-it+edgex@linuxfoundation.org 02:43:05 Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 02:43:05 Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-583 [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-583 [Pipeline] echo 02:43:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-583 [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1aff3e2fcff21c22064b0d07c954499554571865 [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1aff3e2 [Pipeline] echo 02:43:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:09 + git log --format=format:%s -1 1aff3e2fcff21c22064b0d07c954499554571865 [Pipeline] echo 02:43:09 GIT_COMMIT: 1aff3e2fcff21c22064b0d07c954499554571865, Commit Message: Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD [Pipeline] echo 02:43:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:10 02:43:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:11 latest: Pulling from edgex-devops/git-semver 02:43:11 31603596830f: Pulling fs layer 02:43:11 2a8b12db71e7: Pulling fs layer 02:43:11 6ca5941a6612: Pulling fs layer 02:43:11 ecc8261a40a4: Pulling fs layer 02:43:11 ecc8261a40a4: Waiting 02:43:11 2a8b12db71e7: Verifying Checksum 02:43:11 2a8b12db71e7: Download complete 02:43:11 31603596830f: Verifying Checksum 02:43:11 31603596830f: Download complete 02:43:11 ecc8261a40a4: Verifying Checksum 02:43:11 ecc8261a40a4: Download complete 02:43:11 6ca5941a6612: Verifying Checksum 02:43:11 6ca5941a6612: Download complete 02:43:11 31603596830f: Pull complete 02:43:11 2a8b12db71e7: Pull complete 02:43:12 6ca5941a6612: Pull complete 02:43:13 ecc8261a40a4: Pull complete 02:43:13 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:13 prd-centos7-docker-4c-2g-5505 does not seem to be running inside a container 02:43:13 $ docker run -t -d -u 1001:1001 -u 0:0 -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:15 $ docker top f1a2dffd5ca30e0b59e60a8f6785bea6a306302252a71b9ff1f0a0b859324e29 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:16 [ssh-agent] Looking for ssh-agent implementation... 02:43:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:16 $ docker exec f1a2dffd5ca30e0b59e60a8f6785bea6a306302252a71b9ff1f0a0b859324e29 ssh-agent 02:43:16 SSH_AUTH_SOCK=/tmp/ssh-W4dr6SQCoFqQ/agent.12 02:43:16 SSH_AGENT_PID=17 02:43:16 Running ssh-add (command line suppressed) 02:43:16 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_296214198226828277.key (/w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_296214198226828277.key) 02:43:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:17 + git tag --points-at HEAD [Pipeline] } 02:43:17 $ docker exec --env ******** --env ******** f1a2dffd5ca30e0b59e60a8f6785bea6a306302252a71b9ff1f0a0b859324e29 ssh-agent -k 02:43:17 unset SSH_AUTH_SOCK; 02:43:17 unset SSH_AGENT_PID; 02:43:17 echo Agent pid 17 killed; 02:43:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:17 [ssh-agent] Looking for ssh-agent implementation... 02:43:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:17 $ docker exec f1a2dffd5ca30e0b59e60a8f6785bea6a306302252a71b9ff1f0a0b859324e29 ssh-agent 02:43:17 SSH_AUTH_SOCK=/tmp/ssh-tog0SNLJii8g/agent.47 02:43:17 SSH_AGENT_PID=53 02:43:17 Running ssh-add (command line suppressed) 02:43:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_8226660580957004876.key (/w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_8226660580957004876.key) 02:43:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:18 + git semver init 02:43:18 # -> Open(): unable to determine branch for HEAD 02:43:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-583/.git 02:43:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-583 02:43:18 # $SEMVER_REMOTE_NAME = origin 02:43:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:18 # $SEMVER_USER_NAME = edgex-jenkins 02:43:18 # $SEMVER_BRANCH = PR-583 02:43:18 # $SEMVER_TEMP = /tmp/semver-629603293 02:43:18 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:19 # '/tmp/semver-629603293' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-583/.semver' 02:43:19 # -> Force: false 02:43:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-583/.semver [Pipeline] } 02:43:19 $ docker exec --env ******** --env ******** f1a2dffd5ca30e0b59e60a8f6785bea6a306302252a71b9ff1f0a0b859324e29 ssh-agent -k 02:43:19 unset SSH_AUTH_SOCK; 02:43:19 unset SSH_AGENT_PID; 02:43:19 echo Agent pid 53 killed; 02:43:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:20 + git semver [Pipeline] } 02:43:20 $ docker stop --time=1 f1a2dffd5ca30e0b59e60a8f6785bea6a306302252a71b9ff1f0a0b859324e29 02:43:21 $ docker rm -f f1a2dffd5ca30e0b59e60a8f6785bea6a306302252a71b9ff1f0a0b859324e29 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 02:43:22 Stashed 1 file(s) [Pipeline] echo 02:43:22 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 02:43:37 Still waiting to schedule task 02:43:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:43:37 Still waiting to schedule task 02:43:37 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 02:44:50 Running on prd-centos7-docker-4c-2g-5511 in /w/workspace/dgexfoundry_device-sdk-go_PR-583 [Pipeline] { [Pipeline] ws 02:44:50 Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout 02:44:53 using credential edgex-jenkins-ssh 02:44:53 Cloning the remote Git repository 02:44:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:53 > git init /w/workspace/device-sdk-go/20 # timeout=10 02:44:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:53 > git --version # timeout=10 02:44:53 > git --version # 'git version 2.16.5' 02:44:53 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:55 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:55 > 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:44:55 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit b39299a55ada1edb4dcbaecb5f4d8ef99f15ca70 02:44:55 Merge succeeded, producing 8535d0a2ae6813dbe3a81ce7ea921fbb16e7ff48 02:44:55 Checking out Revision 8535d0a2ae6813dbe3a81ce7ea921fbb16e7ff48 (PR-583) 02:44:55 > git config core.sparsecheckout # timeout=10 02:44:55 > git checkout -f b39299a55ada1edb4dcbaecb5f4d8ef99f15ca70 # timeout=10 02:44:55 > git remote # timeout=10 02:44:55 > git config --get remote.origin.url # timeout=10 02:44:55 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:55 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 02:44:55 > git rev-parse HEAD^{commit} # timeout=10 02:44:55 > git config core.sparsecheckout # timeout=10 02:44:55 > git checkout -f 8535d0a2ae6813dbe3a81ce7ea921fbb16e7ff48 # timeout=10 02:44:59 Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" 02:44:59 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:45:00 ========================================================= 02:45:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:59 > git rev-list --no-walk b96813b0c91c86b547423b0406c3f486ecdbb512 # timeout=10 02:45:00 + 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:45:01 Sending build context to Docker daemon 2.252MB 02:45:01 Step 1/8 : ARG BASE=golang:1.15-alpine 02:45:01 Step 2/8 : FROM ${BASE} 02:45:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:01 df20fa9351a1: Pulling fs layer 02:45:01 ed8968b2872e: Pulling fs layer 02:45:01 a92cc7c5fd73: Pulling fs layer 02:45:01 e871e8e8d7a9: Pulling fs layer 02:45:01 e73272ec9a57: Pulling fs layer 02:45:01 1e910a182e73: Pulling fs layer 02:45:01 4e634b169226: Pulling fs layer 02:45:01 e73272ec9a57: Waiting 02:45:01 1e910a182e73: Waiting 02:45:01 4e634b169226: Waiting 02:45:01 e871e8e8d7a9: Waiting 02:45:01 a92cc7c5fd73: Download complete 02:45:01 ed8968b2872e: Verifying Checksum 02:45:01 ed8968b2872e: Download complete 02:45:01 e73272ec9a57: Verifying Checksum 02:45:01 e73272ec9a57: Download complete 02:45:01 1e910a182e73: Verifying Checksum 02:45:01 1e910a182e73: Download complete 02:45:01 df20fa9351a1: Verifying Checksum 02:45:01 df20fa9351a1: Download complete 02:45:01 df20fa9351a1: Pull complete 02:45:02 ed8968b2872e: Pull complete 02:45:02 a92cc7c5fd73: Pull complete 02:45:04 4e634b169226: Verifying Checksum 02:45:04 4e634b169226: Download complete 02:45:04 e871e8e8d7a9: Verifying Checksum 02:45:04 e871e8e8d7a9: Download complete 02:45:10 e871e8e8d7a9: Pull complete 02:45:10 e73272ec9a57: Pull complete 02:45:10 1e910a182e73: Pull complete 02:45:15 4e634b169226: Pull complete 02:45:15 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:45:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:15 ---> f7629b54cfaa 02:45:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:15 ---> Running in 322ab18b3f75 02:45:15 Removing intermediate container 322ab18b3f75 02:45:15 ---> 14da3ceae1de 02:45:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:15 ---> Running in 128211b9ea08 02:45:16 Removing intermediate container 128211b9ea08 02:45:16 ---> 98709567b32b 02:45:16 Step 5/8 : RUN apk add --no-cache make git 02:45:16 ---> Running in a96acabd8064 02:45:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:19 OK: 166 MiB in 39 packages 02:45:19 Removing intermediate container a96acabd8064 02:45:19 ---> 56e9011dcab4 02:45:19 Step 6/8 : WORKDIR /device-sdk-go 02:45:19 ---> Running in c20b11d64f22 02:45:19 Removing intermediate container c20b11d64f22 02:45:19 ---> 8cfe2236c82f 02:45:19 Step 7/8 : COPY . . 02:45:21 ---> dde3d7cb1b4b 02:45:21 Step 8/8 : RUN go mod download 02:45:21 ---> Running in 52a7b3360b54 02:45:39 Removing intermediate container 52a7b3360b54 02:45:39 ---> f5dc617b26a4 02:45:39 Successfully built f5dc617b26a4 02:45:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:39 + docker inspect -f . ci-base-image-x86_64 02:45:40 . [Pipeline] withDockerContainer 02:45:40 prd-centos7-docker-4c-2g-5511 does not seem to be running inside a container 02:45:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:41 $ docker top b4ab1038e5f7a851856894583d40d9d1ae2cbdb7f3b8f03998df6a176e970053 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:41 + go version 02:45:41 go version go1.15.2 linux/amd64 [Pipeline] } 02:45:41 $ docker stop --time=1 b4ab1038e5f7a851856894583d40d9d1ae2cbdb7f3b8f03998df6a176e970053 02:45:42 $ docker rm -f b4ab1038e5f7a851856894583d40d9d1ae2cbdb7f3b8f03998df6a176e970053 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:43 + docker inspect -f . ci-base-image-x86_64 02:45:43 . [Pipeline] withDockerContainer 02:45:43 prd-centos7-docker-4c-2g-5511 does not seem to be running inside a container 02:45:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:44 $ docker top e44ab20e8c9a1cfa2621498ee31355e3c09b8c40b8cf16f1a12ead3d966f0eb4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:45 + make test 02:45:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:52 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:46:07 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:07 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:07 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:07 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.066s coverage: 21.6% of statements 02:46:08 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.459s coverage: 97.1% of statements 02:46:40 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 9.4% of statements 02:46:40 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 21.9% of statements 02:46:40 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:46:40 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.310s coverage: 40.0% of statements 02:46:40 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:46:40 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.282s coverage: 68.9% of statements 02:46:40 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:46:40 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:46:40 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:46:40 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:46:40 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements 02:46:40 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:46:40 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:46:40 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.322s coverage: 68.9% of statements 02:46:40 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:46:40 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:46:40 GO111MODULE=on go vet ./... 02:46:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5515 in /w/workspace/dgexfoundry_device-sdk-go_PR-583 [Pipeline] { [Pipeline] ws 02:46:42 Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout 02:46:47 gofmt -l . 02:46:47 [ "`gofmt -l .`" = "" ] 02:46:47 ./bin/test-attribution-txt.sh 02:46:47 using credential edgex-jenkins-ssh 02:46:47 Cloning the remote Git repository 02:46:47 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 02:46:47 make: *** [Makefile:36: test] Error 1 [Pipeline] } 02:46:47 $ docker stop --time=1 e44ab20e8c9a1cfa2621498ee31355e3c09b8c40b8cf16f1a12ead3d966f0eb4 02:46:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:47 > git init /w/workspace/device-sdk-go/20 # timeout=10 02:46:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:47 > git --version # timeout=10 02:46:47 > git --version # 'git version 2.17.1' 02:46:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:49 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit b39299a55ada1edb4dcbaecb5f4d8ef99f15ca70 02:46:49 $ docker rm -f e44ab20e8c9a1cfa2621498ee31355e3c09b8c40b8cf16f1a12ead3d966f0eb4 02:46:49 Merge succeeded, producing 9af7f26b96eeadc4dddaabdd331e2db199b61d71 02:46:49 Checking out Revision 9af7f26b96eeadc4dddaabdd331e2db199b61d71 (PR-583) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 02:46:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:48 > 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:49 > git config core.sparsecheckout # timeout=10 02:46:49 > git checkout -f b39299a55ada1edb4dcbaecb5f4d8ef99f15ca70 # timeout=10 02:46:49 > git remote # timeout=10 02:46:49 > git config --get remote.origin.url # timeout=10 02:46:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:49 > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 02:46:49 > git rev-parse HEAD^{commit} # timeout=10 02:46:49 > git config core.sparsecheckout # timeout=10 02:46:49 > git checkout -f 9af7f26b96eeadc4dddaabdd331e2db199b61d71 # timeout=10 [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:46:51 Failed in branch amd64 02:46:54 Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" 02:46:54 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:46:54 ========================================================= 02:46:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:54 > git rev-list --no-walk b96813b0c91c86b547423b0406c3f486ecdbb512 # timeout=10 02:46:56 + 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:57 Sending build context to Docker daemon 2.25MB 02:46:57 Step 1/8 : ARG BASE=golang:1.15-alpine 02:46:57 Step 2/8 : FROM ${BASE} 02:46:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:57 b538f80385f9: Pulling fs layer 02:46:57 74f711af9a0d: Pulling fs layer 02:46:57 99f96fe45779: Pulling fs layer 02:46:57 8529a6b9a6be: Pulling fs layer 02:46:57 45590311c82a: Pulling fs layer 02:46:57 69ca0ff8b7b3: Pulling fs layer 02:46:57 209524e5b208: Pulling fs layer 02:46:57 45590311c82a: Waiting 02:46:57 69ca0ff8b7b3: Waiting 02:46:57 209524e5b208: Waiting 02:46:57 8529a6b9a6be: Waiting 02:46:57 99f96fe45779: Verifying Checksum 02:46:57 99f96fe45779: Download complete 02:46:57 74f711af9a0d: Download complete 02:46:57 45590311c82a: Verifying Checksum 02:46:57 45590311c82a: Download complete 02:46:57 69ca0ff8b7b3: Download complete 02:46:57 b538f80385f9: Verifying Checksum 02:46:57 b538f80385f9: Download complete 02:46:58 b538f80385f9: Pull complete 02:46:59 74f711af9a0d: Pull complete 02:47:00 99f96fe45779: Pull complete 02:47:01 209524e5b208: Verifying Checksum 02:47:01 209524e5b208: Download complete 02:47:01 8529a6b9a6be: Download complete 02:47:11 8529a6b9a6be: Pull complete 02:47:11 45590311c82a: Pull complete 02:47:12 69ca0ff8b7b3: Pull complete 02:47:15 209524e5b208: Pull complete 02:47:15 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:47:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:15 ---> 5bddaf1c2fca 02:47:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:19 ---> Running in f45afa848cae 02:47:19 Removing intermediate container f45afa848cae 02:47:19 ---> 948730fbec01 02:47:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:19 ---> Running in 3b43cd51056e 02:47:21 Removing intermediate container 3b43cd51056e 02:47:21 ---> 85f1e19bc6d4 02:47:21 Step 5/8 : RUN apk add --no-cache make git 02:47:21 ---> Running in e5e316d95376 02:47:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:25 OK: 142 MiB in 39 packages 02:47:26 Removing intermediate container e5e316d95376 02:47:26 ---> b4236c2a6726 02:47:26 Step 6/8 : WORKDIR /device-sdk-go 02:47:26 ---> Running in ce286777e735 02:47:27 Removing intermediate container ce286777e735 02:47:27 ---> 2bcc55445bc4 02:47:27 Step 7/8 : COPY . . 02:47:28 ---> 91ecb2cba669 02:47:28 Step 8/8 : RUN go mod download 02:47:28 ---> Running in 6adda5d25dd8 02:47:50 Removing intermediate container 6adda5d25dd8 02:47:50 ---> 32d548f79736 02:47:50 Successfully built 32d548f79736 02:47:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:51 + docker inspect -f . ci-base-image-arm64 02:47:51 . [Pipeline] withDockerContainer 02:47:51 prd-ubuntu18.04-docker-arm64-4c-16g-5515 does not seem to be running inside a container 02:47:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:53 $ docker top 0444adff9523291733f2b9392f0e36e9bd016c83f3477c1b8a3f0b39ea7839b3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:54 + go version 02:47:54 go version go1.15.2 linux/arm64 [Pipeline] } 02:47:54 $ docker stop --time=1 0444adff9523291733f2b9392f0e36e9bd016c83f3477c1b8a3f0b39ea7839b3 02:47:56 $ docker rm -f 0444adff9523291733f2b9392f0e36e9bd016c83f3477c1b8a3f0b39ea7839b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:57 + docker inspect -f . ci-base-image-arm64 02:47:57 . [Pipeline] withDockerContainer 02:47:58 prd-ubuntu18.04-docker-arm64-4c-16g-5515 does not seem to be running inside a container 02:47:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:48:00 $ docker top a44d90588c0b3af7c561780bf44533117d811e24aa4c5154398058c07c508512 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:01 + make test 02:48:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:23 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:49:02 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:49:02 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:49:02 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:49:03 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.141s coverage: 21.6% of statements 02:49:08 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.191s coverage: 97.1% of statements 02:49:35 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.153s coverage: 9.4% of statements 02:49:35 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.121s coverage: 21.9% of statements 02:49:35 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:49:35 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.540s coverage: 40.0% of statements 02:49:35 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:49:35 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.739s coverage: 68.9% of statements 02:49:35 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:49:35 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:49:35 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:49:35 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:49:35 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.175s coverage: 52.6% of statements 02:49:35 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:49:35 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:49:35 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.643s coverage: 68.9% of statements 02:49:35 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:49:35 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:49:35 GO111MODULE=on go vet ./... 02:50:08 gofmt -l . 02:50:08 [ "`gofmt -l .`" = "" ] 02:50:08 ./bin/test-attribution-txt.sh 02:50:08 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 02:50:08 make: *** [Makefile:36: test] Error 1 [Pipeline] } 02:50:08 $ docker stop --time=1 a44d90588c0b3af7c561780bf44533117d811e24aa4c5154398058c07c508512 02:50:10 $ docker rm -f a44d90588c0b3af7c561780bf44533117d811e24aa4c5154398058c07c508512 [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:12 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:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:16 ---> package-listing.sh 02:50:16 ++ facter osfamily 02:50:16 ++ tr '[:upper:]' '[:lower:]' 02:50:16 + OS_FAMILY=redhat 02:50:16 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-583 02:50:16 + START_PACKAGES=/tmp/packages_start.txt 02:50:16 + END_PACKAGES=/tmp/packages_end.txt 02:50:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:16 + PACKAGES=/tmp/packages_start.txt 02:50:16 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-583 ']' 02:50:16 + PACKAGES=/tmp/packages_end.txt 02:50:16 + case "${OS_FAMILY}" in 02:50:16 + rpm -qa 02:50:16 + sort 02:50:20 + '[' -f /tmp/packages_start.txt ']' 02:50:20 + '[' -f /tmp/packages_end.txt ']' 02:50:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:20 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-583 ']' 02:50:20 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-583/archives/ 02:50:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-583/archives/ [Pipeline] echo 02:50:20 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-583/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:21 02:50:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:21 alpine: Pulling from edgex-lftools-log-publisher 02:50:21 df20fa9351a1: Pulling fs layer 02:50:21 36b3adc4ff6f: Pulling fs layer 02:50:21 8ad3a11d3b57: Pulling fs layer 02:50:21 46f8f816bc3b: Pulling fs layer 02:50:21 93b61091891f: Pulling fs layer 02:50:21 93b9cdb0e59b: Pulling fs layer 02:50:21 5e14af77c1be: Pulling fs layer 02:50:21 01666e4c0597: Pulling fs layer 02:50:21 aa168da1d23b: Pulling fs layer 02:50:21 93b9cdb0e59b: Waiting 02:50:21 5e14af77c1be: Waiting 02:50:21 46f8f816bc3b: Waiting 02:50:21 01666e4c0597: Waiting 02:50:21 aa168da1d23b: Waiting 02:50:21 93b61091891f: Waiting 02:50:21 36b3adc4ff6f: Verifying Checksum 02:50:21 36b3adc4ff6f: Download complete 02:50:21 46f8f816bc3b: Download complete 02:50:21 df20fa9351a1: Verifying Checksum 02:50:21 df20fa9351a1: Download complete 02:50:21 93b9cdb0e59b: Verifying Checksum 02:50:21 93b9cdb0e59b: Download complete 02:50:22 5e14af77c1be: Verifying Checksum 02:50:22 5e14af77c1be: Download complete 02:50:22 93b61091891f: Download complete 02:50:22 01666e4c0597: Verifying Checksum 02:50:22 01666e4c0597: Download complete 02:50:22 df20fa9351a1: Pull complete 02:50:22 8ad3a11d3b57: Verifying Checksum 02:50:22 8ad3a11d3b57: Download complete 02:50:22 36b3adc4ff6f: Pull complete 02:50:23 8ad3a11d3b57: Pull complete 02:50:23 46f8f816bc3b: Pull complete 02:50:23 93b61091891f: Pull complete 02:50:24 93b9cdb0e59b: Pull complete 02:50:24 5e14af77c1be: Pull complete 02:50:24 01666e4c0597: Pull complete 02:50:24 aa168da1d23b: Verifying Checksum 02:50:24 aa168da1d23b: Download complete 02:50:31 aa168da1d23b: Pull complete 02:50:31 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:50:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:50:31 prd-centos7-docker-4c-2g-5505 does not seem to be running inside a container 02:50:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-583/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:50:36 $ docker top b61162abd9e06e894cf9bb188c98cf0c99e6f72bc4c4230454bbbebe0594dc9e -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:37 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:37 + mkdir -p /var/log/sa [Pipeline] sh 02:50:37 + ls /var/log/sa-host 02:50:37 + sadf -c /var/log/sa-host/sa05 02:50:37 file_magic: OK 02:50:37 HZ: Using current value: 100 02:50:37 file_header: OK 02:50:37 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:50:37 Statistics: 02:50:37 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:37 File successfully converted to sysstat format version 12.2.1 02:50:37 + sadf -c /var/log/sa-host/sa15 02:50:37 file_magic: OK 02:50:37 HZ: Using current value: 100 02:50:37 file_header: OK 02:50:37 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:50:37 Statistics: 02:50:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:38 provisioning config files... 02:50:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/config4949219223047277564tmp [Pipeline] { [Pipeline] echo 02:50:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:38 ---> create-netrc.sh [Pipeline] } 02:50:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:50:38 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:38 ---> python-tools-install.sh [Pipeline] echo 02:50:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:39 ---> sudo-logs.sh 02:50:39 Archiving 'sudo' log.. [Pipeline] echo 02:50:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:39 ---> job-cost.sh 02:50:39 lf-activate-venv: SKIPPING 02:50:39 INFO: No Stack... 02:50:40 INFO: Retrieving Pricing Info for: v1-standard-2 02:50:41 INFO: Archiving Costs [Pipeline] echo 02:50:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:41 ---> logs-deploy.sh 02:50:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-583/20 02:50:41 INFO: archiving workspace using pattern(s): 02:50:43 Archives upload complete. 02:50:43 INFO: archiving logs to Nexus