Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8370c62670d3246cfb24ab8aeb8164a6ea08503a+9f44a914c3163ba6aceeb076ef4043962d95dc92 (9fb3f1c44c736dcb95c0b5a78fb580edddb96c7b) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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. [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-422 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 with configured refspecs honoured and without tags 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 --no-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 Fetching without tags Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 8370c62670d3246cfb24ab8aeb8164a6ea08503a Merge succeeded, producing 9817c4555c82ed413d8be7b9b3a7354209bd390e Checking out Revision 9817c4555c82ed413d8be7b9b3a7354209bd390e (PR-583) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/583/head:refs/remotes/origin/PR-583 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-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 8370c62670d3246cfb24ab8aeb8164a6ea08503a # 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 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9817c4555c82ed413d8be7b9b3a7354209bd390e # timeout=10 Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 03ddc36d8c920aec756699918699d54362694a0d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:54 ========================================================= 18:42:54 EdgeX Global Pipelines Version Info 18:42:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:55 ------------------- 18:42:55 stable info: 18:42:55 ------------------- 18:42:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:42:55 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 18:42:55 Message: update stable to v1.0.122 18:42:56 ------------------- 18:42:56 experimental info: 18:42:56 ------------------- 18:42:56 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:56 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 18:42:56 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:42:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:42:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:42:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:42:57 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:42:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:42:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:42:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:42:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-583 [Pipeline] echo 18:42:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-583 [Pipeline] echo 18:42:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-583 [Pipeline] echo 18:42:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9817c4555c82ed413d8be7b9b3a7354209bd390e [Pipeline] echo 18:42:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9817c45 [Pipeline] echo 18:42:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:00 + git log --format=format:%s -1 9817c4555c82ed413d8be7b9b3a7354209bd390e [Pipeline] echo 18:43:00 GIT_COMMIT: 9817c4555c82ed413d8be7b9b3a7354209bd390e, Commit Message: Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD [Pipeline] echo 18:43:00 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:43:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:43:01 18:43:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:43:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:43:01 latest: Pulling from edgex-devops/git-semver 18:43:01 31603596830f: Pulling fs layer 18:43:01 2a8b12db71e7: Pulling fs layer 18:43:01 6ca5941a6612: Pulling fs layer 18:43:01 ecc8261a40a4: Pulling fs layer 18:43:01 ecc8261a40a4: Waiting 18:43:01 2a8b12db71e7: Verifying Checksum 18:43:01 2a8b12db71e7: Download complete 18:43:01 31603596830f: Verifying Checksum 18:43:01 31603596830f: Download complete 18:43:01 6ca5941a6612: Verifying Checksum 18:43:01 6ca5941a6612: Download complete 18:43:01 ecc8261a40a4: Verifying Checksum 18:43:01 ecc8261a40a4: Download complete 18:43:01 31603596830f: Pull complete 18:43:02 2a8b12db71e7: Pull complete 18:43:03 6ca5941a6612: Pull complete 18:43:03 ecc8261a40a4: Pull complete 18:43:03 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:43:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:43:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:43:03 prd-centos7-docker-4c-2g-422 does not seem to be running inside a container 18:43:03 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:43:05 $ docker top 86c99f8c263bce9dc88515b48d78b11440bb6a27b4d3b231e6dd6c8c45fad863 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:43:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:05 [ssh-agent] Looking for ssh-agent implementation... 18:43:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:05 $ docker exec 86c99f8c263bce9dc88515b48d78b11440bb6a27b4d3b231e6dd6c8c45fad863 ssh-agent 18:43:06 SSH_AUTH_SOCK=/tmp/ssh-iMlnhlHmTcFh/agent.12 18:43:06 SSH_AGENT_PID=17 18:43:06 Running ssh-add (command line suppressed) 18:43:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_6662468270765766156.key (/w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_6662468270765766156.key) 18:43:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:43:06 + git describe --exact-match --tags HEAD 18:43:06 fatal: No names found, cannot describe anything. [Pipeline] } 18:43:06 $ docker exec --env ******** --env ******** 86c99f8c263bce9dc88515b48d78b11440bb6a27b4d3b231e6dd6c8c45fad863 ssh-agent -k 18:43:06 unset SSH_AUTH_SOCK; 18:43:06 unset SSH_AGENT_PID; 18:43:06 echo Agent pid 17 killed; 18:43:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:43:06 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:43:06 This usually means this commit has not been tagged. [Pipeline] sshagent 18:43:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:07 [ssh-agent] Looking for ssh-agent implementation... 18:43:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:07 $ docker exec 86c99f8c263bce9dc88515b48d78b11440bb6a27b4d3b231e6dd6c8c45fad863 ssh-agent 18:43:07 SSH_AUTH_SOCK=/tmp/ssh-L2YhbqHRyjD2/agent.45 18:43:07 SSH_AGENT_PID=51 18:43:07 Running ssh-add (command line suppressed) 18:43:07 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_1760239698024042867.key (/w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/private_key_1760239698024042867.key) 18:43:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:43:07 + git semver init 18:43:07 # -> Open(): unable to determine branch for HEAD 18:43:07 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-583/.git 18:43:07 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-583 18:43:07 # $SEMVER_REMOTE_NAME = origin 18:43:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:43:07 # $SEMVER_USER_NAME = edgex-jenkins 18:43:07 # $SEMVER_BRANCH = PR-583 18:43:07 # $SEMVER_TEMP = /tmp/semver-845319280 18:43:07 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:43:08 # '/tmp/semver-845319280' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-583/.semver' 18:43:08 # -> Force: false 18:43:08 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-583/.semver [Pipeline] } 18:43:08 $ docker exec --env ******** --env ******** 86c99f8c263bce9dc88515b48d78b11440bb6a27b4d3b231e6dd6c8c45fad863 ssh-agent -k 18:43:08 unset SSH_AUTH_SOCK; 18:43:08 unset SSH_AGENT_PID; 18:43:08 echo Agent pid 51 killed; 18:43:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:43:09 + git semver [Pipeline] } 18:43:09 $ docker stop --time=1 86c99f8c263bce9dc88515b48d78b11440bb6a27b4d3b231e6dd6c8c45fad863 18:43:10 $ docker rm -f 86c99f8c263bce9dc88515b48d78b11440bb6a27b4d3b231e6dd6c8c45fad863 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:43:11 Stashed 37 file(s) [Pipeline] echo 18:43:11 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:43:11 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 18:43:27 Still waiting to schedule task 18:43:27 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:43:27 Still waiting to schedule task 18:43:27 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:44:54 Running on prd-centos7-docker-4c-2g-429 in /w/workspace/dgexfoundry_device-sdk-go_PR-583 [Pipeline] { [Pipeline] ws 18:44:54 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 18:45:00 using credential edgex-jenkins-ssh 18:45:00 Cloning the remote Git repository 18:45:00 Cloning with configured refspecs honoured and without tags 18:45:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:45:00 > git init /w/workspace/device-sdk-go/7 # timeout=10 18:45:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:45:00 > git --version # timeout=10 18:45:00 > git --version # 'git version 2.16.5' 18:45:00 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:00 > git fetch --no-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 18:45:02 Fetching without tags 18:45:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:45:02 > git config --add remote.origin.fetch +refs/pull/583/head:refs/remotes/origin/PR-583 # timeout=10 18:45:02 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:45:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:45:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:45:02 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:02 > git fetch --no-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 18:45:03 Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 8370c62670d3246cfb24ab8aeb8164a6ea08503a 18:45:03 Merge succeeded, producing f84e6c9c6ef95a9a1bc82f3e2c61182cf913fe87 18:45:03 Checking out Revision f84e6c9c6ef95a9a1bc82f3e2c61182cf913fe87 (PR-583) 18:45:03 > git config core.sparsecheckout # timeout=10 18:45:03 > git checkout -f 8370c62670d3246cfb24ab8aeb8164a6ea08503a # timeout=10 18:45:03 > git remote # timeout=10 18:45:03 > git config --get remote.origin.url # timeout=10 18:45:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:03 > git merge 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 18:45:03 > git rev-parse HEAD^{commit} # timeout=10 18:45:03 > git config core.sparsecheckout # timeout=10 18:45:03 > git checkout -f f84e6c9c6ef95a9a1bc82f3e2c61182cf913fe87 # timeout=10 18:45:08 Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" 18:45:08 First time build. Skipping changelog. 18:45:08 > git rev-list --no-walk 03ddc36d8c920aec756699918699d54362694a0d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:45:09 ========================================================= 18:45:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:45:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:45:11 + 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 . 18:45:12 Sending build context to Docker daemon 3.164MB 18:45:12 Step 1/8 : ARG BASE=golang:1.15-alpine 18:45:12 Step 2/8 : FROM ${BASE} 18:45:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:45:12 df20fa9351a1: Pulling fs layer 18:45:12 ed8968b2872e: Pulling fs layer 18:45:12 a92cc7c5fd73: Pulling fs layer 18:45:12 e871e8e8d7a9: Pulling fs layer 18:45:12 e73272ec9a57: Pulling fs layer 18:45:12 1e910a182e73: Pulling fs layer 18:45:12 4e634b169226: Pulling fs layer 18:45:12 e73272ec9a57: Waiting 18:45:12 1e910a182e73: Waiting 18:45:12 4e634b169226: Waiting 18:45:12 e871e8e8d7a9: Waiting 18:45:12 a92cc7c5fd73: Verifying Checksum 18:45:12 a92cc7c5fd73: Download complete 18:45:12 ed8968b2872e: Verifying Checksum 18:45:12 ed8968b2872e: Download complete 18:45:12 e73272ec9a57: Download complete 18:45:12 1e910a182e73: Download complete 18:45:12 df20fa9351a1: Verifying Checksum 18:45:12 df20fa9351a1: Download complete 18:45:13 df20fa9351a1: Pull complete 18:45:13 ed8968b2872e: Pull complete 18:45:13 a92cc7c5fd73: Pull complete 18:45:22 4e634b169226: Verifying Checksum 18:45:22 4e634b169226: Download complete 18:45:24 e871e8e8d7a9: Verifying Checksum 18:45:24 e871e8e8d7a9: Download complete 18:45:32 e871e8e8d7a9: Pull complete 18:45:32 e73272ec9a57: Pull complete 18:45:32 1e910a182e73: Pull complete 18:45:37 4e634b169226: Pull complete 18:45:37 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:45:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:45:37 ---> f7629b54cfaa 18:45:37 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:45:38 ---> Running in bb5728ccd6bd 18:45:38 Removing intermediate container bb5728ccd6bd 18:45:38 ---> ec2279817fe7 18:45:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:45:38 ---> Running in cc825f34c627 18:45:39 Removing intermediate container cc825f34c627 18:45:39 ---> de28792df91a 18:45:39 Step 5/8 : RUN apk add --no-cache make git 18:45:39 ---> Running in 75527603fe28 18:45:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:45:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:45:43 OK: 166 MiB in 39 packages 18:45:44 Removing intermediate container 75527603fe28 18:45:44 ---> 69e5f7851432 18:45:44 Step 6/8 : WORKDIR /device-sdk-go 18:45:44 ---> Running in 8caa6da8e47c 18:45:44 Removing intermediate container 8caa6da8e47c 18:45:44 ---> c21ff9cd4c33 18:45:44 Step 7/8 : COPY . . 18:45:45 ---> 43b81f224c44 18:45:45 Step 8/8 : RUN go mod download 18:45:45 ---> Running in 6b4fa13752aa 18:46:01 Removing intermediate container 6b4fa13752aa 18:46:01 ---> bacc38d0f470 18:46:01 Successfully built bacc38d0f470 18:46:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:46:02 + docker inspect -f . ci-base-image-x86_64 18:46:02 . [Pipeline] withDockerContainer 18:46:02 prd-centos7-docker-4c-2g-429 does not seem to be running inside a container 18:46:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-x86_64 cat 18:46:04 $ docker top 9434ad104fd57debe277508f596ceb80288386feff9ec97de7780ad63bfb1698 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:05 + go version 18:46:05 go version go1.15.2 linux/amd64 [Pipeline] } 18:46:05 $ docker stop --time=1 9434ad104fd57debe277508f596ceb80288386feff9ec97de7780ad63bfb1698 18:46:06 $ docker rm -f 9434ad104fd57debe277508f596ceb80288386feff9ec97de7780ad63bfb1698 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:46:07 + docker inspect -f . ci-base-image-x86_64 18:46:07 . [Pipeline] withDockerContainer 18:46:08 prd-centos7-docker-4c-2g-429 does not seem to be running inside a container 18:46:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-x86_64 cat 18:46:09 $ docker top e822b997ef7a9927ffb02148e3d479a356cf41011031803ddb736c6cefa31d8f -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:09 + make test 18:46:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:46:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-433 in /w/workspace/dgexfoundry_device-sdk-go_PR-583 [Pipeline] { [Pipeline] ws 18:46:20 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 18:46:25 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:46:26 using credential edgex-jenkins-ssh 18:46:26 Cloning the remote Git repository 18:46:26 Cloning with configured refspecs honoured and without tags 18:46:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:46:26 > git init /w/workspace/device-sdk-go/7 # timeout=10 18:46:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:46:26 > git --version # timeout=10 18:46:26 > git --version # 'git version 2.17.1' 18:46:26 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:26 > git fetch --no-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 18:46:27 Fetching without tags 18:46:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:46:27 > git config --add remote.origin.fetch +refs/pull/583/head:refs/remotes/origin/PR-583 # timeout=10 18:46:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:46:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:46:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:46:27 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:27 > git fetch --no-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 18:46:28 Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 8370c62670d3246cfb24ab8aeb8164a6ea08503a 18:46:28 Merge succeeded, producing 13a539a38211fa56d84ed084b6ecd08368037b88 18:46:28 Checking out Revision 13a539a38211fa56d84ed084b6ecd08368037b88 (PR-583) 18:46:28 > git config core.sparsecheckout # timeout=10 18:46:28 > git checkout -f 8370c62670d3246cfb24ab8aeb8164a6ea08503a # timeout=10 18:46:28 > git remote # timeout=10 18:46:28 > git config --get remote.origin.url # timeout=10 18:46:28 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:28 > git merge 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 18:46:28 > git rev-parse HEAD^{commit} # timeout=10 18:46:28 > git config core.sparsecheckout # timeout=10 18:46:28 > git checkout -f 13a539a38211fa56d84ed084b6ecd08368037b88 # timeout=10 18:46:33 Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" 18:46:33 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 18:46:33 > git rev-list --no-walk 03ddc36d8c920aec756699918699d54362694a0d # timeout=10 [Pipeline] echo 18:46:34 ========================================================= 18:46:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:46:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:46:35 + 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 . 18:46:36 Sending build context to Docker daemon 3.163MB 18:46:36 Step 1/8 : ARG BASE=golang:1.15-alpine 18:46:36 Step 2/8 : FROM ${BASE} 18:46:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:46:37 b538f80385f9: Pulling fs layer 18:46:37 74f711af9a0d: Pulling fs layer 18:46:37 99f96fe45779: Pulling fs layer 18:46:37 8529a6b9a6be: Pulling fs layer 18:46:37 45590311c82a: Pulling fs layer 18:46:37 69ca0ff8b7b3: Pulling fs layer 18:46:37 209524e5b208: Pulling fs layer 18:46:37 8529a6b9a6be: Waiting 18:46:37 45590311c82a: Waiting 18:46:37 209524e5b208: Waiting 18:46:37 69ca0ff8b7b3: Waiting 18:46:37 99f96fe45779: Verifying Checksum 18:46:37 99f96fe45779: Download complete 18:46:37 74f711af9a0d: Verifying Checksum 18:46:37 74f711af9a0d: Download complete 18:46:37 45590311c82a: Download complete 18:46:37 69ca0ff8b7b3: Verifying Checksum 18:46:37 69ca0ff8b7b3: Download complete 18:46:37 b538f80385f9: Download complete 18:46:38 b538f80385f9: Pull complete 18:46:39 74f711af9a0d: Pull complete 18:46:39 99f96fe45779: Pull complete 18:46:39 209524e5b208: Verifying Checksum 18:46:39 209524e5b208: Download complete 18:46:41 8529a6b9a6be: Verifying Checksum 18:46:41 8529a6b9a6be: Download complete 18:46:48 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:46:48 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:46:48 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:46:48 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.055s coverage: 21.0% of statements 18:46:51 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.669s coverage: 95.7% of statements 18:46:54 8529a6b9a6be: Pull complete 18:46:54 45590311c82a: Pull complete 18:46:54 69ca0ff8b7b3: Pull complete 18:46:56 209524e5b208: Pull complete 18:46:56 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:46:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:46:56 ---> 5bddaf1c2fca 18:46:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:46:59 ---> Running in ae74967a56e7 18:46:59 Removing intermediate container ae74967a56e7 18:46:59 ---> 98aaba80faea 18:46:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:46:59 ---> Running in 61fc39062cce 18:47:02 Removing intermediate container 61fc39062cce 18:47:02 ---> 4a62e58cec6a 18:47:02 Step 5/8 : RUN apk add --no-cache make git 18:47:02 ---> Running in 4abd4f5c5c84 18:47:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:47:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:47:06 OK: 142 MiB in 39 packages 18:47:07 Removing intermediate container 4abd4f5c5c84 18:47:07 ---> df091a462f8b 18:47:07 Step 6/8 : WORKDIR /device-sdk-go 18:47:07 ---> Running in 16668b79b577 18:47:08 Removing intermediate container 16668b79b577 18:47:08 ---> c0d926c43c09 18:47:08 Step 7/8 : COPY . . 18:47:09 ---> d2f2683adf08 18:47:09 Step 8/8 : RUN go mod download 18:47:09 ---> Running in cc81dbf5a765 18:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.034s coverage: 8.6% of statements 18:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.058s coverage: 21.7% of statements 18:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.258s coverage: 37.0% of statements 18:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.389s coverage: 65.4% of statements 18:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:47:18 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:47:18 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.101s coverage: 52.6% of statements 18:47:18 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.162s coverage: 68.9% of statements 18:47:18 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:47:18 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:47:18 GO111MODULE=on go vet ./... 18:47:25 Removing intermediate container cc81dbf5a765 18:47:25 ---> 19147f7ee412 18:47:25 Successfully built 19147f7ee412 18:47:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:47:25 + docker inspect -f . ci-base-image-arm64 18:47:25 . [Pipeline] withDockerContainer 18:47:25 prd-ubuntu18.04-docker-arm64-4c-16g-433 does not seem to be running inside a container 18:47:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-arm64 cat 18:47:27 $ docker top 7089bd6803174daa8a554f0bec2e53b21181b665e5aaf318d014837fc9206a65 -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:29 + go version 18:47:29 go version go1.15.2 linux/arm64 [Pipeline] } 18:47:29 $ docker stop --time=1 7089bd6803174daa8a554f0bec2e53b21181b665e5aaf318d014837fc9206a65 18:47:31 $ docker rm -f 7089bd6803174daa8a554f0bec2e53b21181b665e5aaf318d014837fc9206a65 18:47:31 gofmt -l . 18:47:31 [ "`gofmt -l .`" = "" ] 18:47:31 ./bin/test-attribution-txt.sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 18:47:31 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 18:47:31 make: *** [Makefile:36: test] Error 1 [Pipeline] } 18:47:31 $ docker stop --time=1 e822b997ef7a9927ffb02148e3d479a356cf41011031803ddb736c6cefa31d8f 18:47:34 $ docker rm -f e822b997ef7a9927ffb02148e3d479a356cf41011031803ddb736c6cefa31d8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] sh [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] } 18:47:35 + docker inspect -f . ci-base-image-arm64 18:47:35 . [Pipeline] // stage [Pipeline] withDockerContainer 18:47:35 prd-ubuntu18.04-docker-arm64-4c-16g-433 does not seem to be running inside a container 18:47:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-arm64 cat 18:47:37 $ docker top 12bcf4bc02a755cf0510c765c0b4a425933ec4753db62917f022b7718e28fc43 -eo pid,comm [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] sh 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] } 18:47:38 Failed in branch amd64 18:47:38 + make test 18:47:38 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:48:01 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:48:48 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:48:48 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:48:48 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:48:48 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.055s coverage: 21.0% of statements 18:48:48 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.328s coverage: 95.7% of statements 18:49:14 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.073s coverage: 8.6% of statements 18:49:14 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.7% of statements 18:49:14 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:49:14 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.514s coverage: 37.0% of statements 18:49:14 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:49:14 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.828s coverage: 65.4% of statements 18:49:14 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:49:14 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:49:14 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:49:14 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.249s coverage: 52.6% of statements 18:49:14 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.948s coverage: 68.9% of statements 18:49:14 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:49:14 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:49:14 GO111MODULE=on go vet ./... 18:49:47 gofmt -l . 18:49:47 [ "`gofmt -l .`" = "" ] 18:49:47 ./bin/test-attribution-txt.sh 18:49:47 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 18:49:47 make: *** [Makefile:36: test] Error 1 [Pipeline] } 18:49:47 $ docker stop --time=1 12bcf4bc02a755cf0510c765c0b4a425933ec4753db62917f022b7718e28fc43 18:49:49 $ docker rm -f 12bcf4bc02a755cf0510c765c0b4a425933ec4753db62917f022b7718e28fc43 [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] } 18:49:51 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] { (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 18:49:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:49:55 ---> package-listing.sh 18:49:55 ++ facter osfamily 18:49:55 ++ tr '[:upper:]' '[:lower:]' 18:49:55 + OS_FAMILY=redhat 18:49:55 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-583 18:49:55 + START_PACKAGES=/tmp/packages_start.txt 18:49:55 + END_PACKAGES=/tmp/packages_end.txt 18:49:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:49:55 + PACKAGES=/tmp/packages_start.txt 18:49:55 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-583 ']' 18:49:55 + PACKAGES=/tmp/packages_end.txt 18:49:55 + case "${OS_FAMILY}" in 18:49:55 + rpm -qa 18:49:55 + sort 18:49:58 + '[' -f /tmp/packages_start.txt ']' 18:49:58 + '[' -f /tmp/packages_end.txt ']' 18:49:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:49:58 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-583 ']' 18:49:58 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-583/archives/ 18:49:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-583/archives/ [Pipeline] isUnix [Pipeline] sh 18:49:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:49:58 18:49:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:49:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:49:59 alpine: Pulling from edgex-lftools-log-publisher 18:49:59 df20fa9351a1: Pulling fs layer 18:49:59 36b3adc4ff6f: Pulling fs layer 18:49:59 8ad3a11d3b57: Pulling fs layer 18:49:59 46f8f816bc3b: Pulling fs layer 18:49:59 0dadc02b9964: Pulling fs layer 18:49:59 ce6a7cf60c04: Pulling fs layer 18:49:59 7a184a31f384: Pulling fs layer 18:49:59 0879bd2ef858: Pulling fs layer 18:49:59 ce6a7cf60c04: Waiting 18:49:59 46f8f816bc3b: Waiting 18:49:59 0dadc02b9964: Waiting 18:49:59 7a184a31f384: Waiting 18:49:59 0879bd2ef858: Waiting 18:49:59 36b3adc4ff6f: Verifying Checksum 18:49:59 36b3adc4ff6f: Download complete 18:49:59 46f8f816bc3b: Download complete 18:49:59 df20fa9351a1: Verifying Checksum 18:49:59 df20fa9351a1: Download complete 18:49:59 ce6a7cf60c04: Verifying Checksum 18:49:59 ce6a7cf60c04: Download complete 18:49:59 7a184a31f384: Verifying Checksum 18:49:59 7a184a31f384: Download complete 18:49:59 0dadc02b9964: Verifying Checksum 18:49:59 0dadc02b9964: Download complete 18:49:59 df20fa9351a1: Pull complete 18:49:59 8ad3a11d3b57: Verifying Checksum 18:49:59 8ad3a11d3b57: Download complete 18:49:59 36b3adc4ff6f: Pull complete 18:49:59 0879bd2ef858: Verifying Checksum 18:49:59 0879bd2ef858: Download complete 18:50:00 8ad3a11d3b57: Pull complete 18:50:00 46f8f816bc3b: Pull complete 18:50:00 0dadc02b9964: Pull complete 18:50:00 ce6a7cf60c04: Pull complete 18:50:01 7a184a31f384: Pull complete 18:50:03 0879bd2ef858: Pull complete 18:50:03 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 18:50:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:50:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:50:03 prd-centos7-docker-4c-2g-422 does not seem to be running inside a container 18:50:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:50:08 $ docker top 6c042fba3fe24336c3b08703253c339000fd1c09905cf8370e9c3bb00874be5f -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:08 + mkdir -p /var/log/sa [Pipeline] sh 18:50:08 + ls /var/log/sa-host 18:50:08 + sadf -c /var/log/sa-host/sa05 18:50:08 file_magic: OK 18:50:08 HZ: Using current value: 100 18:50:08 file_header: OK 18:50:08 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 18:50:08 Statistics: 18:50:08 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:50:08 File successfully converted to sysstat format version 12.2.1 18:50:08 + sadf -c /var/log/sa-host/sa18 18:50:08 file_magic: OK 18:50:08 HZ: Using current value: 100 18:50:08 file_header: OK 18:50:08 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 18:50:08 Statistics: 18:50:08 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:50:08 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:50:09 provisioning config files... 18:50:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-583@tmp/config6362948806442407521tmp [Pipeline] { [Pipeline] echo 18:50:09 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:50:09 ---> create-netrc.sh [Pipeline] echo 18:50:09 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:50:09 ---> logs-deploy.sh 18:50:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-583/7 18:50:09 INFO: archiving workspace using pattern(s): 18:50:11 Archives upload complete. 18:50:11 INFO: archiving logs to Nexus