Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 44723ec98315d466e92c2d735e52b8bc3e222db6+9f44a914c3163ba6aceeb076ef4043962d95dc92 (0b3bad968ae238ddd15329546673fcd4a2033c21) 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-421 in /w/workspace/dgexfoundry_device-sdk-go_PR-591 [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 Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-591 # 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/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/591/head:refs/remotes/origin/PR-591 # 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/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 44723ec98315d466e92c2d735e52b8bc3e222db6 Merge succeeded, producing 12acf057907ca88f0c65778e0d2021bf05d29d25 Checking out Revision 12acf057907ca88f0c65778e0d2021bf05d29d25 (PR-591) > git config core.sparsecheckout # timeout=10 > git checkout -f 44723ec98315d466e92c2d735e52b8bc3e222db6 # 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 12acf057907ca88f0c65778e0d2021bf05d29d25 # timeout=10 Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" > git rev-list --no-walk 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:17 ========================================================= 18:42:17 EdgeX Global Pipelines Version Info 18:42:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:19 ------------------- 18:42:19 stable info: 18:42:19 ------------------- 18:42:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:42:19 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 18:42:19 Message: update stable to v1.0.122 18:42:20 ------------------- 18:42:20 experimental info: 18:42:20 ------------------- 18:42:20 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:20 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 18:42:20 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:42:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:42:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:42:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:42:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:42:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:42:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:42:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-591 [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-591 [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-591 [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12acf057907ca88f0c65778e0d2021bf05d29d25 [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12acf05 [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:24 + git log --format=format:%s -1 12acf057907ca88f0c65778e0d2021bf05d29d25 [Pipeline] echo 18:42:24 GIT_COMMIT: 12acf057907ca88f0c65778e0d2021bf05d29d25, Commit Message: Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD [Pipeline] echo 18:42:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:42:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:25 18:42:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:42:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:25 latest: Pulling from edgex-devops/git-semver 18:42:25 31603596830f: Pulling fs layer 18:42:25 2a8b12db71e7: Pulling fs layer 18:42:25 6ca5941a6612: Pulling fs layer 18:42:25 ecc8261a40a4: Pulling fs layer 18:42:25 ecc8261a40a4: Waiting 18:42:25 2a8b12db71e7: Verifying Checksum 18:42:25 2a8b12db71e7: Download complete 18:42:26 31603596830f: Verifying Checksum 18:42:26 31603596830f: Download complete 18:42:26 ecc8261a40a4: Verifying Checksum 18:42:26 ecc8261a40a4: Download complete 18:42:26 6ca5941a6612: Verifying Checksum 18:42:26 6ca5941a6612: Download complete 18:42:26 31603596830f: Pull complete 18:42:26 2a8b12db71e7: Pull complete 18:42:27 6ca5941a6612: Pull complete 18:42:27 ecc8261a40a4: Pull complete 18:42:27 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:42:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:42:27 prd-centos7-docker-4c-2g-421 does not seem to be running inside a container 18:42:27 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-591 -v /w/workspace/dgexfoundry_device-sdk-go_PR-591:/w/workspace/dgexfoundry_device-sdk-go_PR-591:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-591@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:42:30 $ docker top 0f3553f039d94cdab1b725780c22d3dfcd255b6dcec88ea2e7ac24e7bcd0d00a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:30 [ssh-agent] Looking for ssh-agent implementation... 18:42:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:30 $ docker exec 0f3553f039d94cdab1b725780c22d3dfcd255b6dcec88ea2e7ac24e7bcd0d00a ssh-agent 18:42:31 SSH_AUTH_SOCK=/tmp/ssh-dsBaELDj2yOv/agent.12 18:42:31 SSH_AGENT_PID=17 18:42:31 Running ssh-add (command line suppressed) 18:42:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_2752057695278985436.key (/w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_2752057695278985436.key) 18:42:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:31 + git describe --exact-match --tags HEAD 18:42:31 fatal: No names found, cannot describe anything. [Pipeline] } 18:42:31 $ docker exec --env ******** --env ******** 0f3553f039d94cdab1b725780c22d3dfcd255b6dcec88ea2e7ac24e7bcd0d00a ssh-agent -k 18:42:31 unset SSH_AUTH_SOCK; 18:42:31 unset SSH_AGENT_PID; 18:42:31 echo Agent pid 17 killed; 18:42:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:42:31 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:42:31 This usually means this commit has not been tagged. [Pipeline] sshagent 18:42:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:32 [ssh-agent] Looking for ssh-agent implementation... 18:42:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:32 $ docker exec 0f3553f039d94cdab1b725780c22d3dfcd255b6dcec88ea2e7ac24e7bcd0d00a ssh-agent 18:42:32 SSH_AUTH_SOCK=/tmp/ssh-hmVYnnQ1WmEL/agent.45 18:42:32 SSH_AGENT_PID=50 18:42:32 Running ssh-add (command line suppressed) 18:42:32 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_2076853120810480746.key (/w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/private_key_2076853120810480746.key) 18:42:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:32 + git semver init 18:42:32 # -> Open(): unable to determine branch for HEAD 18:42:32 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-591/.git 18:42:32 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-591 18:42:32 # $SEMVER_REMOTE_NAME = origin 18:42:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:42:32 # $SEMVER_USER_NAME = edgex-jenkins 18:42:32 # $SEMVER_BRANCH = PR-591 18:42:32 # $SEMVER_TEMP = /tmp/semver-255444436 18:42:32 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:42:33 # '/tmp/semver-255444436' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-591/.semver' 18:42:33 # -> Force: false 18:42:33 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-591/.semver [Pipeline] } 18:42:33 $ docker exec --env ******** --env ******** 0f3553f039d94cdab1b725780c22d3dfcd255b6dcec88ea2e7ac24e7bcd0d00a ssh-agent -k 18:42:33 unset SSH_AUTH_SOCK; 18:42:33 unset SSH_AGENT_PID; 18:42:33 echo Agent pid 50 killed; 18:42:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:34 + git semver [Pipeline] } 18:42:34 $ docker stop --time=1 0f3553f039d94cdab1b725780c22d3dfcd255b6dcec88ea2e7ac24e7bcd0d00a 18:42:35 $ docker rm -f 0f3553f039d94cdab1b725780c22d3dfcd255b6dcec88ea2e7ac24e7bcd0d00a [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:42:36 Stashed 37 file(s) [Pipeline] echo 18:42:36 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:42:36 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:42:52 Still waiting to schedule task 18:42:52 ‘prd-centos7-docker-4c-2g-424’ is offline 18:42:52 Still waiting to schedule task 18:42:52 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:44:07 Running on prd-centos7-docker-4c-2g-428 in /w/workspace/dgexfoundry_device-sdk-go_PR-591 [Pipeline] { [Pipeline] ws 18:44:07 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 18:44:10 using credential edgex-jenkins-ssh 18:44:10 Cloning the remote Git repository 18:44:10 Cloning with configured refspecs honoured and without tags 18:44:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:10 > git init /w/workspace/device-sdk-go/2 # timeout=10 18:44:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:10 > git --version # timeout=10 18:44:10 > git --version # 'git version 2.16.5' 18:44:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:10 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:11 Fetching without tags 18:44:11 Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 44723ec98315d466e92c2d735e52b8bc3e222db6 18:44:11 Merge succeeded, producing d22e7ba6d7e9e31d506dae529c0b9ccd71fbc11c 18:44:11 Checking out Revision d22e7ba6d7e9e31d506dae529c0b9ccd71fbc11c (PR-591) 18:44:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:11 > git config --add remote.origin.fetch +refs/pull/591/head:refs/remotes/origin/PR-591 # timeout=10 18:44:11 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:11 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:44:11 > git config core.sparsecheckout # timeout=10 18:44:11 > git checkout -f 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 18:44:11 > git remote # timeout=10 18:44:11 > git config --get remote.origin.url # timeout=10 18:44:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:11 > git merge 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 18:44:11 > git rev-parse HEAD^{commit} # timeout=10 18:44:12 > git config core.sparsecheckout # timeout=10 18:44:12 > git checkout -f d22e7ba6d7e9e31d506dae529c0b9ccd71fbc11c # timeout=10 18:44:15 Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" 18:44:15 > git rev-list --no-walk 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:44:16 ========================================================= 18:44:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:44:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:44:17 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 18:44:18 Sending build context to Docker daemon 3.164MB 18:44:18 Step 1/8 : ARG BASE=golang:1.15-alpine 18:44:18 Step 2/8 : FROM ${BASE} 18:44:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:44:18 df20fa9351a1: Pulling fs layer 18:44:18 ed8968b2872e: Pulling fs layer 18:44:18 a92cc7c5fd73: Pulling fs layer 18:44:18 e871e8e8d7a9: Pulling fs layer 18:44:18 e73272ec9a57: Pulling fs layer 18:44:18 1e910a182e73: Pulling fs layer 18:44:18 4e634b169226: Pulling fs layer 18:44:18 e73272ec9a57: Waiting 18:44:18 1e910a182e73: Waiting 18:44:18 4e634b169226: Waiting 18:44:18 e871e8e8d7a9: Waiting 18:44:18 a92cc7c5fd73: Verifying Checksum 18:44:18 a92cc7c5fd73: Download complete 18:44:18 ed8968b2872e: Download complete 18:44:18 e73272ec9a57: Verifying Checksum 18:44:18 e73272ec9a57: Download complete 18:44:18 1e910a182e73: Verifying Checksum 18:44:18 1e910a182e73: Download complete 18:44:18 df20fa9351a1: Verifying Checksum 18:44:18 df20fa9351a1: Download complete 18:44:18 df20fa9351a1: Pull complete 18:44:18 ed8968b2872e: Pull complete 18:44:18 a92cc7c5fd73: Pull complete 18:44:20 4e634b169226: Verifying Checksum 18:44:20 4e634b169226: Download complete 18:44:21 e871e8e8d7a9: Verifying Checksum 18:44:21 e871e8e8d7a9: Download complete 18:44:26 e871e8e8d7a9: Pull complete 18:44:26 e73272ec9a57: Pull complete 18:44:26 1e910a182e73: Pull complete 18:44:36 4e634b169226: Pull complete 18:44:36 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:44:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:44:36 ---> f7629b54cfaa 18:44:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:44:36 ---> Running in 8ad26de5a8e7 18:44:36 Removing intermediate container 8ad26de5a8e7 18:44:36 ---> 82f40cbb7c57 18:44:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:44:36 ---> Running in 8b53e226dfcc 18:44:37 Removing intermediate container 8b53e226dfcc 18:44:37 ---> d2795818222b 18:44:37 Step 5/8 : RUN apk add --no-cache make git 18:44:37 ---> Running in 210dad9b5e7a 18:44:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:44:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:44:41 OK: 166 MiB in 39 packages 18:44:41 Removing intermediate container 210dad9b5e7a 18:44:41 ---> 2587b57f5129 18:44:41 Step 6/8 : WORKDIR /device-sdk-go 18:44:41 ---> Running in 0a97d197a38f 18:44:41 Removing intermediate container 0a97d197a38f 18:44:41 ---> c3e2413afe82 18:44:41 Step 7/8 : COPY . . 18:44:42 ---> 80b32acabfce 18:44:42 Step 8/8 : RUN go mod download 18:44:42 ---> Running in 34cd81405702 18:45:01 Removing intermediate container 34cd81405702 18:45:01 ---> d356f4b9d42c 18:45:01 Successfully built d356f4b9d42c 18:45:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:45:01 + docker inspect -f . ci-base-image-x86_64 18:45:01 . [Pipeline] withDockerContainer 18:45:01 prd-centos7-docker-4c-2g-428 does not seem to be running inside a container 18:45:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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:45:02 $ docker top 10c4b1d0bb7052f9a826da8412987b69ae6dc148bf05d1c68c8ede8895448367 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:03 + go version 18:45:03 go version go1.15.2 linux/amd64 [Pipeline] } 18:45:03 $ docker stop --time=1 10c4b1d0bb7052f9a826da8412987b69ae6dc148bf05d1c68c8ede8895448367 18:45:04 $ docker rm -f 10c4b1d0bb7052f9a826da8412987b69ae6dc148bf05d1c68c8ede8895448367 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:45:05 + docker inspect -f . ci-base-image-x86_64 18:45:05 . [Pipeline] withDockerContainer 18:45:05 prd-centos7-docker-4c-2g-428 does not seem to be running inside a container 18:45:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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:45:06 $ docker top ab8f1626976ba12ed38ae5eb622b8d487d75fbb482c1aaaa7f5f290a8c57444d -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:06 + make test 18:45:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:45:15 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:45:25 # github.com/edgexfoundry/device-sdk-go/internal/transformer 18:45:25 internal/transformer/transformresult.go:604:57: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName 18:45:26 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 18:45:26 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 18:45:26 internal/transformer/transformresult.go:604: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName 18:45:26 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 18:45:26 internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 18:45:26 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 18:45:26 have UpdateAdminState(context.Context, string, string) error 18:45:26 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 18:45:26 internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 18:45:26 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 18:45:26 have UpdateAdminState(context.Context, string, string) error 18:45:26 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 18:45:26 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 18:45:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-431 in /w/workspace/dgexfoundry_device-sdk-go_PR-591 [Pipeline] { [Pipeline] ws 18:45:39 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 18:45:44 using credential edgex-jenkins-ssh 18:45:44 Cloning the remote Git repository 18:45:44 Cloning with configured refspecs honoured and without tags 18:45:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:45:44 > git init /w/workspace/device-sdk-go/2 # timeout=10 18:45:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:45:44 > git --version # timeout=10 18:45:44 > git --version # 'git version 2.17.1' 18:45:44 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:44 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:45:45 Fetching without tags 18:45:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:45:45 > git config --add remote.origin.fetch +refs/pull/591/head:refs/remotes/origin/PR-591 # timeout=10 18:45:45 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:45:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:45:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:45:45 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:45 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:45:46 Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 44723ec98315d466e92c2d735e52b8bc3e222db6 18:45:46 Merge succeeded, producing 789d599837a42fd74c1fd607c5f35cce5982ab90 18:45:46 Checking out Revision 789d599837a42fd74c1fd607c5f35cce5982ab90 (PR-591) 18:45:46 > git config core.sparsecheckout # timeout=10 18:45:46 > git checkout -f 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 18:45:46 > git remote # timeout=10 18:45:46 > git config --get remote.origin.url # timeout=10 18:45:46 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:46 > git merge 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 18:45:46 > git rev-parse HEAD^{commit} # timeout=10 18:45:46 > git config core.sparsecheckout # timeout=10 18:45:46 > git checkout -f 789d599837a42fd74c1fd607c5f35cce5982ab90 # timeout=10 18:45:50 Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" 18:45:50 > git rev-list --no-walk 44723ec98315d466e92c2d735e52b8bc3e222db6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:45:52 ========================================================= 18:45:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:45:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:45:53 + 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:45:54 Sending build context to Docker daemon 3.164MB 18:45:54 Step 1/8 : ARG BASE=golang:1.15-alpine 18:45:54 Step 2/8 : FROM ${BASE} 18:45:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:45:54 b538f80385f9: Pulling fs layer 18:45:54 74f711af9a0d: Pulling fs layer 18:45:54 99f96fe45779: Pulling fs layer 18:45:54 8529a6b9a6be: Pulling fs layer 18:45:54 45590311c82a: Pulling fs layer 18:45:54 69ca0ff8b7b3: Pulling fs layer 18:45:54 209524e5b208: Pulling fs layer 18:45:54 69ca0ff8b7b3: Waiting 18:45:54 209524e5b208: Waiting 18:45:54 45590311c82a: Waiting 18:45:54 8529a6b9a6be: Waiting 18:45:54 99f96fe45779: Verifying Checksum 18:45:54 99f96fe45779: Download complete 18:45:54 74f711af9a0d: Verifying Checksum 18:45:54 74f711af9a0d: Download complete 18:45:54 45590311c82a: Verifying Checksum 18:45:54 45590311c82a: Download complete 18:45:54 69ca0ff8b7b3: Verifying Checksum 18:45:54 69ca0ff8b7b3: Download complete 18:45:54 b538f80385f9: Verifying Checksum 18:45:54 b538f80385f9: Download complete 18:45:55 b538f80385f9: Pull complete 18:45:55 74f711af9a0d: Pull complete 18:45:56 99f96fe45779: Pull complete 18:45:57 209524e5b208: Verifying Checksum 18:45:57 209524e5b208: Download complete 18:45:58 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.032s coverage: 8.6% of statements 18:45:58 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.043s coverage: 21.7% of statements 18:45:58 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 18:45:58 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 18:45:58 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 18:45:58 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.420s coverage: 68.9% of statements 18:45:58 make: *** [Makefile:32: test] Error 2 [Pipeline] } 18:45:58 $ docker stop --time=1 ab8f1626976ba12ed38ae5eb622b8d487d75fbb482c1aaaa7f5f290a8c57444d 18:45:59 8529a6b9a6be: Verifying Checksum 18:45:59 8529a6b9a6be: Download complete 18:46:00 $ docker rm -f ab8f1626976ba12ed38ae5eb622b8d487d75fbb482c1aaaa7f5f290a8c57444d [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:46:02 Failed in branch amd64 18:46:10 8529a6b9a6be: Pull complete 18:46:10 45590311c82a: Pull complete 18:46:10 69ca0ff8b7b3: Pull complete 18:46:14 209524e5b208: Pull complete 18:46:14 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:46:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:46:14 ---> 5bddaf1c2fca 18:46:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:46:17 ---> Running in 77d40d2d9eb7 18:46:17 Removing intermediate container 77d40d2d9eb7 18:46:17 ---> 7262a3d168fa 18:46:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:46:17 ---> Running in e9f57b8bf7a7 18:46:20 Removing intermediate container e9f57b8bf7a7 18:46:20 ---> ae5703804e51 18:46:20 Step 5/8 : RUN apk add --no-cache make git 18:46:20 ---> Running in d4bb0942909b 18:46:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:46:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:46:24 OK: 142 MiB in 39 packages 18:46:26 Removing intermediate container d4bb0942909b 18:46:26 ---> c028f875aa1c 18:46:26 Step 6/8 : WORKDIR /device-sdk-go 18:46:26 ---> Running in 7987a2ae38a5 18:46:26 Removing intermediate container 7987a2ae38a5 18:46:26 ---> f8e5f3370544 18:46:26 Step 7/8 : COPY . . 18:46:27 ---> 37360bd5ccc2 18:46:27 Step 8/8 : RUN go mod download 18:46:27 ---> Running in e2b304ff2de7 18:46:54 Removing intermediate container e2b304ff2de7 18:46:54 ---> 38d93f22f545 18:46:54 Successfully built 38d93f22f545 18:46:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:46:55 + docker inspect -f . ci-base-image-arm64 18:46:55 . [Pipeline] withDockerContainer 18:46:55 prd-ubuntu18.04-docker-arm64-4c-16g-431 does not seem to be running inside a container 18:46:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat 18:46:57 $ docker top 9ddddb548d4a3623e2039aceb3a50530af0d969eac81d605ae8a7d05cc5370fc -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:59 + go version 18:46:59 go version go1.15.2 linux/arm64 [Pipeline] } 18:46:59 $ docker stop --time=1 9ddddb548d4a3623e2039aceb3a50530af0d969eac81d605ae8a7d05cc5370fc 18:47:01 $ docker rm -f 9ddddb548d4a3623e2039aceb3a50530af0d969eac81d605ae8a7d05cc5370fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:47:02 + docker inspect -f . ci-base-image-arm64 18:47:02 . [Pipeline] withDockerContainer 18:47:02 prd-ubuntu18.04-docker-arm64-4c-16g-431 does not seem to be running inside a container 18:47:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat 18:47:04 $ docker top efafb86e934b0267289967755a7825871ac9dac8b44133ca625210f84cb7c407 -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:05 + make test 18:47:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:47:28 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:48:00 # github.com/edgexfoundry/device-sdk-go/internal/transformer 18:48:00 internal/transformer/transformresult.go:604:57: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName 18:48:01 # github.com/edgexfoundry/device-sdk-go/internal/cache [github.com/edgexfoundry/device-sdk-go/internal/cache.test] 18:48:01 internal/cache/devices_test.go:25:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 18:48:01 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 18:48:01 have UpdateAdminState(context.Context, string, string) error 18:48:01 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 18:48:01 internal/cache/init_test.go:23:22: cannot use &mock.DeviceClientMock literal (type *mock.DeviceClientMock) as type metadata.DeviceClient in assignment: 18:48:01 *mock.DeviceClientMock does not implement metadata.DeviceClient (wrong type for UpdateAdminState method) 18:48:01 have UpdateAdminState(context.Context, string, string) error 18:48:01 want UpdateAdminState(context.Context, string, admin.UpdateRequest) error 18:48:01 FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] 18:48:02 FAIL github.com/edgexfoundry/device-sdk-go/internal/cache [build failed] 18:48:02 # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] 18:48:02 internal/transformer/transformresult.go:604: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName 18:48:34 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.076s coverage: 8.6% of statements 18:48:34 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.7% of statements 18:48:34 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 18:48:34 FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] 18:48:34 FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] 18:48:34 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.631s coverage: 68.9% of statements 18:48:34 make: *** [Makefile:32: test] Error 2 [Pipeline] } 18:48:34 $ docker stop --time=1 efafb86e934b0267289967755a7825871ac9dac8b44133ca625210f84cb7c407 18:48:36 $ docker rm -f efafb86e934b0267289967755a7825871ac9dac8b44133ca625210f84cb7c407 [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:48:38 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:48:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:48:42 ---> package-listing.sh 18:48:42 ++ tr '[:upper:]' '[:lower:]' 18:48:42 ++ facter osfamily 18:48:42 + OS_FAMILY=redhat 18:48:42 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-591 18:48:42 + START_PACKAGES=/tmp/packages_start.txt 18:48:42 + END_PACKAGES=/tmp/packages_end.txt 18:48:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:48:42 + PACKAGES=/tmp/packages_start.txt 18:48:42 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-591 ']' 18:48:42 + PACKAGES=/tmp/packages_end.txt 18:48:42 + case "${OS_FAMILY}" in 18:48:42 + rpm -qa 18:48:42 + sort 18:48:46 + '[' -f /tmp/packages_start.txt ']' 18:48:46 + '[' -f /tmp/packages_end.txt ']' 18:48:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:48:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-591 ']' 18:48:46 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-591/archives/ 18:48:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-591/archives/ [Pipeline] isUnix [Pipeline] sh 18:48:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:48:46 18:48:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:48:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:48:46 alpine: Pulling from edgex-lftools-log-publisher 18:48:46 df20fa9351a1: Pulling fs layer 18:48:46 36b3adc4ff6f: Pulling fs layer 18:48:46 8ad3a11d3b57: Pulling fs layer 18:48:46 46f8f816bc3b: Pulling fs layer 18:48:46 0dadc02b9964: Pulling fs layer 18:48:46 ce6a7cf60c04: Pulling fs layer 18:48:46 7a184a31f384: Pulling fs layer 18:48:46 0879bd2ef858: Pulling fs layer 18:48:46 ce6a7cf60c04: Waiting 18:48:46 7a184a31f384: Waiting 18:48:46 0879bd2ef858: Waiting 18:48:46 36b3adc4ff6f: Download complete 18:48:46 46f8f816bc3b: Download complete 18:48:46 df20fa9351a1: Verifying Checksum 18:48:46 df20fa9351a1: Download complete 18:48:47 ce6a7cf60c04: Verifying Checksum 18:48:47 ce6a7cf60c04: Download complete 18:48:47 0dadc02b9964: Verifying Checksum 18:48:47 0dadc02b9964: Download complete 18:48:47 7a184a31f384: Verifying Checksum 18:48:47 7a184a31f384: Download complete 18:48:47 8ad3a11d3b57: Verifying Checksum 18:48:47 8ad3a11d3b57: Download complete 18:48:47 df20fa9351a1: Pull complete 18:48:47 0879bd2ef858: Verifying Checksum 18:48:47 0879bd2ef858: Download complete 18:48:47 36b3adc4ff6f: Pull complete 18:48:48 8ad3a11d3b57: Pull complete 18:48:48 46f8f816bc3b: Pull complete 18:48:48 0dadc02b9964: Pull complete 18:48:49 ce6a7cf60c04: Pull complete 18:48:49 7a184a31f384: Pull complete 18:48:52 0879bd2ef858: Pull complete 18:48:53 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 18:48:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:48:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:48:53 prd-centos7-docker-4c-2g-421 does not seem to be running inside a container 18:48:53 $ 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-591 -v /w/workspace/dgexfoundry_device-sdk-go_PR-591:/w/workspace/dgexfoundry_device-sdk-go_PR-591:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-591@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:48:56 $ docker top 62e9151de58ce5c6b123540e67f929cdca91b9beb6cebc01186177231cba704a -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:57 + mkdir -p /var/log/sa [Pipeline] sh 18:48:57 + ls /var/log/sa-host 18:48:57 + sadf -c /var/log/sa-host/sa05 18:48:57 file_magic: OK 18:48:57 HZ: Using current value: 100 18:48:57 file_header: OK 18:48:57 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:48:57 Statistics: 18:48:57 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:48:57 File successfully converted to sysstat format version 12.2.1 18:48:57 + sadf -c /var/log/sa-host/sa18 18:48:57 file_magic: OK 18:48:57 HZ: Using current value: 100 18:48:57 file_header: OK 18:48:57 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:48:57 Statistics: 18:48:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:48:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:57 provisioning config files... 18:48:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-591@tmp/config6399295952352344796tmp [Pipeline] { [Pipeline] echo 18:48:57 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:48:57 ---> create-netrc.sh [Pipeline] echo 18:48:57 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:48:58 ---> logs-deploy.sh 18:48:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-591/2 18:48:58 INFO: archiving workspace using pattern(s): 18:48:59 Archives upload complete. 18:48:59 INFO: archiving logs to Nexus