Pull request #814 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 59765dfb351417203de2b445b53a8781dec95572+3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 (0d7ef6607235596386686887ca6d6f7e235d1b8a) Running in Durability level: MAX_SURVIVABILITY 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-814/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-814/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29594’ Running on prd-centos7-docker-4c-2g-29596 in /w/workspace/dgexfoundry_device-sdk-go_PR-814 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-814 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/814/head:refs/remotes/origin/PR-814 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 59765dfb351417203de2b445b53a8781dec95572 Merge succeeded, producing 59765dfb351417203de2b445b53a8781dec95572 Checking out Revision 59765dfb351417203de2b445b53a8781dec95572 (PR-814) > git config core.sparsecheckout # timeout=10 > git checkout -f 59765dfb351417203de2b445b53a8781dec95572 # 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 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 59765dfb351417203de2b445b53a8781dec95572 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:47:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:47:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:47:05 ========================================================= 05:47:05 EdgeX Global Pipelines Version Info 05:47:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:47:07 ------------------- 05:47:07 stable info: 05:47:07 ------------------- 05:47:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:47:07 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 05:47:07 Message: update stable to v1.0.184 05:47:08 ------------------- 05:47:08 experimental info: 05:47:08 ------------------- 05:47:08 Commited By: **** collab-it+edgex@linuxfoundation.org 05:47:08 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 05:47:08 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:47:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:47:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:47:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:47:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:47:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:47:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:47:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:47:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:47:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:47:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:47:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:47:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:47:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:47:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:47:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-814 [Pipeline] echo 05:47:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-814 [Pipeline] echo 05:47:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-814 [Pipeline] echo 05:47:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 59765dfb351417203de2b445b53a8781dec95572 [Pipeline] echo 05:47:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 59765df [Pipeline] echo 05:47:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:47:13 provisioning config files... 05:47:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-814@tmp/config5121283399049777894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:47:13 ---> docker-login.sh 05:47:13 nexus3.edgexfoundry.org:10001 05:47:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:14 Configure a credential helper to remove this warning. See 05:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:14 05:47:14 Login Succeeded 05:47:14 nexus3.edgexfoundry.org:10002 05:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:14 Configure a credential helper to remove this warning. See 05:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:14 05:47:14 Login Succeeded 05:47:14 nexus3.edgexfoundry.org:10003 05:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:14 Configure a credential helper to remove this warning. See 05:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:14 05:47:14 Login Succeeded 05:47:14 nexus3.edgexfoundry.org:10004 05:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:14 Configure a credential helper to remove this warning. See 05:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:14 05:47:14 Login Succeeded 05:47:14 docker.io 05:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:47:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:47:15 Configure a credential helper to remove this warning. See 05:47:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:47:15 05:47:15 Login Succeeded 05:47:15 ---> docker-login.sh ends [Pipeline] } 05:47:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:47:16 + git log --format=format:%s -1 59765dfb351417203de2b445b53a8781dec95572 [Pipeline] echo 05:47:16 GIT_COMMIT: 59765dfb351417203de2b445b53a8781dec95572, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:47:16 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:47:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:47:17 05:47:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:47:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:47:17 latest: Pulling from edgex-devops/git-semver 05:47:17 31603596830f: Pulling fs layer 05:47:17 2a8b12db71e7: Pulling fs layer 05:47:17 6ca5941a6612: Pulling fs layer 05:47:17 ecc8261a40a4: Pulling fs layer 05:47:17 ecc8261a40a4: Waiting 05:47:17 2a8b12db71e7: Verifying Checksum 05:47:17 2a8b12db71e7: Download complete 05:47:17 31603596830f: Download complete 05:47:18 ecc8261a40a4: Verifying Checksum 05:47:18 ecc8261a40a4: Download complete 05:47:18 6ca5941a6612: Verifying Checksum 05:47:18 6ca5941a6612: Download complete 05:47:18 31603596830f: Pull complete 05:47:18 2a8b12db71e7: Pull complete 05:47:19 6ca5941a6612: Pull complete 05:47:19 ecc8261a40a4: Pull complete 05:47:19 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:47:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:47:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:47:20 prd-centos7-docker-4c-2g-29596 does not seem to be running inside a container 05:47:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-814 -v /w/workspace/dgexfoundry_device-sdk-go_PR-814:/w/workspace/dgexfoundry_device-sdk-go_PR-814:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-814@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-814@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:47:21 $ docker top eb5211fc420896effbc6f379d47f822e799532787d7f6f939973cd0a92163207 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:47:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:47:22 [ssh-agent] Looking for ssh-agent implementation... 05:47:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:47:22 $ docker exec eb5211fc420896effbc6f379d47f822e799532787d7f6f939973cd0a92163207 ssh-agent 05:47:22 SSH_AUTH_SOCK=/tmp/ssh-ZYi8CGerqPPV/agent.11 05:47:22 SSH_AGENT_PID=16 05:47:22 Running ssh-add (command line suppressed) 05:47:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-814@tmp/private_key_3171707568607402904.key (/w/workspace/dgexfoundry_device-sdk-go_PR-814@tmp/private_key_3171707568607402904.key) 05:47:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:47:23 + git tag --points-at HEAD [Pipeline] } 05:47:23 $ docker exec --env ******** --env ******** eb5211fc420896effbc6f379d47f822e799532787d7f6f939973cd0a92163207 ssh-agent -k 05:47:23 unset SSH_AUTH_SOCK; 05:47:23 unset SSH_AGENT_PID; 05:47:23 echo Agent pid 16 killed; 05:47:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:47:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:47:23 [ssh-agent] Looking for ssh-agent implementation... 05:47:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:47:23 $ docker exec eb5211fc420896effbc6f379d47f822e799532787d7f6f939973cd0a92163207 ssh-agent 05:47:23 SSH_AUTH_SOCK=/tmp/ssh-bDjC3aic4vVf/agent.46 05:47:23 SSH_AGENT_PID=51 05:47:23 Running ssh-add (command line suppressed) 05:47:23 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-814@tmp/private_key_8386082408300200002.key (/w/workspace/dgexfoundry_device-sdk-go_PR-814@tmp/private_key_8386082408300200002.key) 05:47:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:47:24 + git semver init 05:47:24 # -> Open(): unable to determine branch for HEAD 05:47:24 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-814/.git 05:47:24 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-814 05:47:24 # $SEMVER_REMOTE_NAME = origin 05:47:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:47:24 # $SEMVER_USER_NAME = edgex-jenkins 05:47:24 # $SEMVER_BRANCH = PR-814 05:47:24 # $SEMVER_TEMP = /tmp/semver-906337568 05:47:24 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:47:24 # '/tmp/semver-906337568' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-814/.semver' 05:47:24 # -> Force: false 05:47:24 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-814/.semver [Pipeline] } 05:47:24 $ docker exec --env ******** --env ******** eb5211fc420896effbc6f379d47f822e799532787d7f6f939973cd0a92163207 ssh-agent -k 05:47:25 unset SSH_AUTH_SOCK; 05:47:25 unset SSH_AGENT_PID; 05:47:25 echo Agent pid 51 killed; 05:47:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:47:25 + git semver [Pipeline] } 05:47:25 $ docker stop --time=1 eb5211fc420896effbc6f379d47f822e799532787d7f6f939973cd0a92163207 05:47:27 $ docker rm -f eb5211fc420896effbc6f379d47f822e799532787d7f6f939973cd0a92163207 [Pipeline] // withDockerContainer [Pipeline] sh 05:47:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:47:28 Stashed 1 file(s) [Pipeline] echo 05:47:28 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:47:44 Still waiting to schedule task 05:47:44 ‘prd-centos7-docker-4c-2g-29598’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-29597’ doesn’t have label ‘centos7-docker-4c-2g’ 05:47:44 Still waiting to schedule task 05:47:44 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:50:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29599 in /w/workspace/dgexfoundry_device-sdk-go_PR-814 [Pipeline] { [Pipeline] ws 05:50:26 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:50:31 using credential edgex-jenkins-ssh 05:50:32 Cloning the remote Git repository 05:50:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:50:32 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:50:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:50:32 > git --version # timeout=10 05:50:32 > git --version # 'git version 2.17.1' 05:50:32 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:50:34 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 59765dfb351417203de2b445b53a8781dec95572 05:50:34 Merge succeeded, producing 59765dfb351417203de2b445b53a8781dec95572 05:50:34 Checking out Revision 59765dfb351417203de2b445b53a8781dec95572 (PR-814) 05:50:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:50:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:50:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:50:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:50:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/814/head:refs/remotes/origin/PR-814 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:50:34 > git config core.sparsecheckout # timeout=10 05:50:34 > git checkout -f 59765dfb351417203de2b445b53a8781dec95572 # timeout=10 05:50:34 > git remote # timeout=10 05:50:34 > git config --get remote.origin.url # timeout=10 05:50:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:50:34 > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 05:50:34 > git rev-parse HEAD^{commit} # timeout=10 05:50:34 > git config core.sparsecheckout # timeout=10 05:50:34 > git checkout -f 59765dfb351417203de2b445b53a8781dec95572 # timeout=10 05:50:38 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:50:38 > git --version # timeout=10 05:50:38 > git --version # 'git version 2.17.1' 05:50:38 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:50:40 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:50:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:50:41 + true 05:50:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:50:44 provisioning config files... 05:50:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3161804848873596926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:44 ---> docker-login.sh 05:50:44 nexus3.edgexfoundry.org:10001 05:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:46 Configure a credential helper to remove this warning. See 05:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:46 05:50:46 Login Succeeded 05:50:46 nexus3.edgexfoundry.org:10002 05:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:46 Configure a credential helper to remove this warning. See 05:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:46 05:50:46 Login Succeeded 05:50:46 nexus3.edgexfoundry.org:10003 05:50:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:47 Configure a credential helper to remove this warning. See 05:50:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:47 05:50:47 Login Succeeded 05:50:47 nexus3.edgexfoundry.org:10004 05:50:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:47 Configure a credential helper to remove this warning. See 05:50:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:47 05:50:47 Login Succeeded 05:50:47 docker.io 05:50:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:48 Configure a credential helper to remove this warning. See 05:50:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:48 05:50:48 Login Succeeded 05:50:48 ---> docker-login.sh ends [Pipeline] } 05:50:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:50:49 ========================================================= 05:50:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:50:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:50:49 + 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 . 05:50:50 Sending build context to Docker daemon 2.264MB 05:50:50 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:50:50 Step 2/8 : FROM ${BASE} 05:50:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:50:50 5f621e34cdf4: Pulling fs layer 05:50:50 a4357932f1b6: Pulling fs layer 05:50:50 18c013af1878: Pulling fs layer 05:50:50 00ac8860ef70: Pulling fs layer 05:50:50 63d7cb157983: Pulling fs layer 05:50:50 b116817d02f9: Pulling fs layer 05:50:50 745a02a5169b: Pulling fs layer 05:50:50 63d7cb157983: Waiting 05:50:50 b116817d02f9: Waiting 05:50:50 745a02a5169b: Waiting 05:50:50 00ac8860ef70: Waiting 05:50:50 18c013af1878: Download complete 05:50:50 a4357932f1b6: Verifying Checksum 05:50:50 a4357932f1b6: Download complete 05:50:50 63d7cb157983: Verifying Checksum 05:50:50 63d7cb157983: Download complete 05:50:50 b116817d02f9: Verifying Checksum 05:50:50 b116817d02f9: Download complete 05:50:50 5f621e34cdf4: Download complete 05:50:51 5f621e34cdf4: Pull complete 05:50:52 a4357932f1b6: Pull complete 05:50:52 18c013af1878: Pull complete 05:50:53 745a02a5169b: Verifying Checksum 05:50:53 745a02a5169b: Download complete 05:50:54 00ac8860ef70: Verifying Checksum 05:50:54 00ac8860ef70: Download complete 05:51:04 00ac8860ef70: Pull complete 05:51:05 63d7cb157983: Pull complete 05:51:05 b116817d02f9: Pull complete 05:51:09 745a02a5169b: Pull complete 05:51:09 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:51:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:51:09 ---> b7e6874047d6 05:51:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:12 ---> Running in 75aa6949dca7 05:51:12 Removing intermediate container 75aa6949dca7 05:51:12 ---> 5f345b1dc456 05:51:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:12 ---> Running in 84fa2d0ea83a 05:51:15 Removing intermediate container 84fa2d0ea83a 05:51:15 ---> 392bc8e79247 05:51:15 Step 5/8 : RUN apk add --update --no-cache make git 05:51:15 ---> Running in 1369d449c812 05:51:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:51:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:51:17 OK: 142 MiB in 39 packages 05:51:18 Removing intermediate container 1369d449c812 05:51:18 ---> be2754748811 05:51:18 Step 6/8 : WORKDIR /device-sdk-go 05:51:19 ---> Running in 736bde9debbc 05:51:19 Removing intermediate container 736bde9debbc 05:51:19 ---> c5f75acaa44e 05:51:19 Step 7/8 : COPY . . 05:51:20 ---> a14d05a4d6e2 05:51:20 Step 8/8 : RUN go mod download 05:51:21 ---> Running in 50dd3950d77b 05:51:47 Removing intermediate container 50dd3950d77b 05:51:47 ---> b83765ebb01e 05:51:47 Successfully built b83765ebb01e 05:51:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:51:48 + docker inspect -f . ci-base-image-arm64 05:51:48 . [Pipeline] withDockerContainer 05:51:48 prd-ubuntu18.04-docker-arm64-4c-16g-29599 does not seem to be running inside a container 05:51:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:51:50 $ docker top 61b6b3086388c384288bed0decdf6ad29d65135a4e464a616d640d94b734ed0a -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:51 + go version 05:51:51 go version go1.15.5 linux/arm64 [Pipeline] } 05:51:51 $ docker stop --time=1 61b6b3086388c384288bed0decdf6ad29d65135a4e464a616d640d94b734ed0a 05:51:53 $ docker rm -f 61b6b3086388c384288bed0decdf6ad29d65135a4e464a616d640d94b734ed0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:51:54 + docker inspect -f . ci-base-image-arm64 05:51:54 . [Pipeline] withDockerContainer 05:51:55 prd-ubuntu18.04-docker-arm64-4c-16g-29599 does not seem to be running inside a container 05:51:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:51:56 $ docker top bcd71a7423bad3bed287488be86fb32b3bc8c20652a97b93b4984d54a1329d24 -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:57 + make test 05:51:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:52:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:52:52 # github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 05:52:52 internal/v2/cache/profiles.go:41:49: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Command 05:52:52 internal/v2/cache/profiles.go:51:39: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Command 05:52:52 internal/v2/cache/profiles.go:56:41: dp.CoreCommands undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceProfile has no field or method CoreCommands) 05:52:52 internal/v2/cache/profiles.go:112:57: profile.CoreCommands undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceProfile has no field or method CoreCommands) 05:52:52 internal/v2/cache/profiles.go:129:23: deviceCommand.Get undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceCommand has no field or method Get) 05:52:52 internal/v2/cache/profiles.go:130:49: deviceCommand.Get undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceCommand has no field or method Get) 05:52:52 internal/v2/cache/profiles.go:132:23: deviceCommand.Set undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceCommand has no field or method Set) 05:52:52 internal/v2/cache/profiles.go:133:49: deviceCommand.Set undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceCommand has no field or method Set) 05:52:52 internal/v2/cache/profiles.go:140:35: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Command 05:52:52 internal/v2/cache/profiles.go:141:28: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Command 05:52:52 internal/v2/cache/profiles.go:141:28: too many errors 05:53:00 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] 05:53:00 # github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache.test] 05:53:00 internal/v2/cache/profiles.go:41: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Command 05:53:00 internal/v2/cache/profiles.go:51: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Command 05:53:00 internal/v2/cache/profiles.go:56: dp.CoreCommands undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceProfile has no field or method CoreCommands) 05:53:00 internal/v2/cache/profiles.go:112: profile.CoreCommands undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceProfile has no field or method CoreCommands) 05:53:00 internal/v2/cache/profiles.go:129: deviceCommand.Get undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceCommand has no field or method Get) 05:53:00 internal/v2/cache/profiles.go:140: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Command 05:53:00 internal/v2/cache/profiles_test.go:23:4: unknown field 'Get' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceCommand 05:53:00 internal/v2/cache/profiles_test.go:28:2: unknown field 'CoreCommands' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceProfile 05:53:00 internal/v2/cache/profiles_test.go:39:4: unknown field 'Get' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceCommand 05:53:00 internal/v2/cache/profiles_test.go:44:2: unknown field 'CoreCommands' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceProfile 05:53:00 internal/v2/cache/profiles.go:129: too many errors 05:53:12 Running on prd-centos7-docker-4c-2g-29600 in /w/workspace/dgexfoundry_device-sdk-go_PR-814 [Pipeline] { [Pipeline] ws 05:53:12 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:53:24 using credential edgex-jenkins-ssh 05:53:25 Cloning the remote Git repository 05:53:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:53:25 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:53:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:25 > git --version # timeout=10 05:53:25 > git --version # 'git version 2.24.3' 05:53:25 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:28 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit 59765dfb351417203de2b445b53a8781dec95572 05:53:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/814/head:refs/remotes/origin/PR-814 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:53:28 > git config core.sparsecheckout # timeout=10 05:53:28 > git checkout -f 59765dfb351417203de2b445b53a8781dec95572 # timeout=10 05:53:29 > git remote # timeout=10 05:53:29 > git config --get remote.origin.url # timeout=10 05:53:29 Merge succeeded, producing 59765dfb351417203de2b445b53a8781dec95572 05:53:29 Checking out Revision 59765dfb351417203de2b445b53a8781dec95572 (PR-814) 05:53:29 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:29 > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 05:53:29 > git rev-parse HEAD^{commit} # timeout=10 05:53:29 > git config core.sparsecheckout # timeout=10 05:53:29 > git checkout -f 59765dfb351417203de2b445b53a8781dec95572 # timeout=10 05:53:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.124s coverage: 10.5% of statements 05:53:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.143s coverage: 12.5% of statements 05:53:33 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller [build failed] 05:53:33 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] 05:53:33 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [build failed] 05:53:33 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http [build failed] 05:53:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.782s coverage: 6.4% of statements 05:53:33 FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] 05:53:33 make: *** [Makefile:32: test] Error 2 [Pipeline] } 05:53:33 $ docker stop --time=1 bcd71a7423bad3bed287488be86fb32b3bc8c20652a97b93b4984d54a1329d24 05:53:34 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:53:34 > git --version # timeout=10 05:53:34 > git --version # 'git version 2.24.3' 05:53:34 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 05:53:35 $ docker rm -f bcd71a7423bad3bed287488be86fb32b3bc8c20652a97b93b4984d54a1329d24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] withEnv [Pipeline] { Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:37 ---> job-cost.sh 05:53:37 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-s5Lk 05:53:38 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:53:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:53:38 + sudo service docker restart 05:53:38 + true 05:53:38 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:53:41 provisioning config files... 05:53:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5170161274995898640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:42 ---> docker-login.sh 05:53:42 nexus3.edgexfoundry.org:10001 05:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:43 Configure a credential helper to remove this warning. See 05:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:43 05:53:43 Login Succeeded 05:53:43 nexus3.edgexfoundry.org:10002 05:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:44 Configure a credential helper to remove this warning. See 05:53:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:44 05:53:44 Login Succeeded 05:53:44 nexus3.edgexfoundry.org:10003 05:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:45 Configure a credential helper to remove this warning. See 05:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:45 05:53:45 Login Succeeded 05:53:45 nexus3.edgexfoundry.org:10004 05:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:46 Configure a credential helper to remove this warning. See 05:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:46 05:53:46 Login Succeeded 05:53:46 docker.io 05:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:47 Configure a credential helper to remove this warning. See 05:53:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:47 05:53:47 Login Succeeded 05:53:47 ---> docker-login.sh ends [Pipeline] } 05:53:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:53:47 ========================================================= 05:53:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:53:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:53:48 + 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 . 05:53:48 Sending build context to Docker daemon 2.257MB 05:53:48 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:53:48 Step 2/8 : FROM ${BASE} 05:53:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:53:48 188c0c94c7c5: Pulling fs layer 05:53:48 0ef7d3d256c8: Pulling fs layer 05:53:48 de9db76c5a1d: Pulling fs layer 05:53:48 bca2f99d35d6: Pulling fs layer 05:53:48 93359f2a8cfa: Pulling fs layer 05:53:48 7c6f9722023f: Pulling fs layer 05:53:48 a35cf1a2eb13: Pulling fs layer 05:53:48 bca2f99d35d6: Waiting 05:53:48 93359f2a8cfa: Waiting 05:53:48 7c6f9722023f: Waiting 05:53:48 a35cf1a2eb13: Waiting 05:53:48 de9db76c5a1d: Verifying Checksum 05:53:48 de9db76c5a1d: Download complete 05:53:48 0ef7d3d256c8: Verifying Checksum 05:53:48 0ef7d3d256c8: Download complete 05:53:48 93359f2a8cfa: Verifying Checksum 05:53:48 93359f2a8cfa: Download complete 05:53:48 7c6f9722023f: Verifying Checksum 05:53:48 7c6f9722023f: Download complete 05:53:48 188c0c94c7c5: Verifying Checksum 05:53:48 188c0c94c7c5: Download complete 05:53:49 188c0c94c7c5: Pull complete 05:53:50 0ef7d3d256c8: Pull complete 05:53:50 de9db76c5a1d: Pull complete 05:53:52 a35cf1a2eb13: Verifying Checksum 05:53:52 a35cf1a2eb13: Download complete 05:53:54 bca2f99d35d6: Verifying Checksum 05:53:54 bca2f99d35d6: Download complete 05:54:16 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:54:17 bca2f99d35d6: Pull complete 05:54:17 93359f2a8cfa: Pull complete 05:54:17 7c6f9722023f: Pull complete 05:54:26 a35cf1a2eb13: Pull complete 05:54:26 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:54:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:54:26 ---> a62c8e92a672 05:54:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:54:26 ---> Running in 6a58fac9863f 05:54:26 Removing intermediate container 6a58fac9863f 05:54:26 ---> 5d386a66abe6 05:54:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:54:26 ---> Running in b3827941114a 05:54:29 Removing intermediate container b3827941114a 05:54:29 ---> b26319c66673 05:54:29 Step 5/8 : RUN apk add --update --no-cache make git 05:54:29 ---> Running in 31f7a5a3474c 05:54:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:54:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:54:31 OK: 166 MiB in 39 packages 05:54:32 Removing intermediate container 31f7a5a3474c 05:54:32 ---> 536c8246907d 05:54:32 Step 6/8 : WORKDIR /device-sdk-go 05:54:33 ---> Running in e575ff616d16 05:54:33 Removing intermediate container e575ff616d16 05:54:33 ---> c5cfe0a33ec4 05:54:33 Step 7/8 : COPY . . 05:54:36 ---> ddd830b8b936 05:54:36 Step 8/8 : RUN go mod download 05:54:36 ---> Running in 1ca00c4099cf 05:55:16 Removing intermediate container 1ca00c4099cf 05:55:16 ---> 7171ee6140b0 05:55:16 Successfully built 7171ee6140b0 05:55:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:55:17 + docker inspect -f . ci-base-image-x86_64 05:55:17 . [Pipeline] withDockerContainer 05:55:18 prd-centos7-docker-4c-2g-29600 does not seem to be running inside a container 05:55:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:55:20 $ docker top 555b317c3fa71dc7801cf12c3d5201cab9cd147449ca0f5ad12522d116ede69e -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:21 + go version 05:55:21 go version go1.15.5 linux/amd64 [Pipeline] } 05:55:21 $ docker stop --time=1 555b317c3fa71dc7801cf12c3d5201cab9cd147449ca0f5ad12522d116ede69e 05:55:23 $ docker rm -f 555b317c3fa71dc7801cf12c3d5201cab9cd147449ca0f5ad12522d116ede69e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:55:24 + docker inspect -f . ci-base-image-x86_64 05:55:24 . [Pipeline] withDockerContainer 05:55:25 prd-centos7-docker-4c-2g-29600 does not seem to be running inside a container 05:55:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:55:27 $ docker top c61ed85c1dcdd190cfb22b36ad2f549abb3bf8890337fde382be498c2abdb35c -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:27 + make test 05:55:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:55:53 lf-activate-venv(): INFO: Adding /tmp/venv-s5Lk/bin to PATH 05:55:53 INFO: No Stack... 05:55:53 INFO: Retrieving Pricing Info for: lf-standard-4 05:55:53 INFO: Archiving Costs [Pipeline] sh 05:55:53 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:55:53 + cut -d, -f6 [Pipeline] lock 05:55:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-814-1-stack-cost] 05:55:53 Resource [jenkins-edgexfoundry-device-sdk-go-PR-814-1-stack-cost] did not exist. Created. 05:55:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-814-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:55:54 + echo total: 0.20999999344348907 [Pipeline] stash 05:55:55 Stashed 1 file(s) [Pipeline] } 05:55:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-814-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:55:56 Failed in branch arm64 05:55:59 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:56:27 # github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 05:56:27 internal/v2/cache/profiles.go:41:49: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Command 05:56:27 internal/v2/cache/profiles.go:51:39: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Command 05:56:27 internal/v2/cache/profiles.go:56:41: dp.CoreCommands undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceProfile has no field or method CoreCommands) 05:56:27 internal/v2/cache/profiles.go:112:57: profile.CoreCommands undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceProfile has no field or method CoreCommands) 05:56:27 internal/v2/cache/profiles.go:129:23: deviceCommand.Get undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceCommand has no field or method Get) 05:56:27 internal/v2/cache/profiles.go:130:49: deviceCommand.Get undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceCommand has no field or method Get) 05:56:27 internal/v2/cache/profiles.go:132:23: deviceCommand.Set undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceCommand has no field or method Set) 05:56:27 internal/v2/cache/profiles.go:133:49: deviceCommand.Set undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceCommand has no field or method Set) 05:56:27 internal/v2/cache/profiles.go:140:35: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Command 05:56:27 internal/v2/cache/profiles.go:141:28: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Command 05:56:27 internal/v2/cache/profiles.go:141:28: too many errors 05:56:36 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] 05:56:37 # github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache.test] 05:56:37 internal/v2/cache/profiles.go:41: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Command 05:56:37 internal/v2/cache/profiles.go:51: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Command 05:56:37 internal/v2/cache/profiles.go:56: dp.CoreCommands undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceProfile has no field or method CoreCommands) 05:56:37 internal/v2/cache/profiles.go:112: profile.CoreCommands undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceProfile has no field or method CoreCommands) 05:56:37 internal/v2/cache/profiles.go:129: deviceCommand.Get undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceCommand has no field or method Get) 05:56:37 internal/v2/cache/profiles.go:140: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".Command 05:56:37 internal/v2/cache/profiles_test.go:23:4: unknown field 'Get' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceCommand 05:56:37 internal/v2/cache/profiles_test.go:28:2: unknown field 'CoreCommands' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceProfile 05:56:37 internal/v2/cache/profiles_test.go:39:4: unknown field 'Get' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceCommand 05:56:37 internal/v2/cache/profiles_test.go:44:2: unknown field 'CoreCommands' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".DeviceProfile 05:56:37 internal/v2/cache/profiles.go:129: too many errors 05:57:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.104s coverage: 10.5% of statements 05:57:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.071s coverage: 12.5% of statements 05:57:09 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller [build failed] 05:57:09 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] 05:57:09 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [build failed] 05:57:09 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http [build failed] 05:57:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.698s coverage: 6.4% of statements 05:57:09 FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] 05:57:09 make: *** [Makefile:32: test] Error 2 [Pipeline] } 05:57:09 $ docker stop --time=1 c61ed85c1dcdd190cfb22b36ad2f549abb3bf8890337fde382be498c2abdb35c 05:57:12 $ docker rm -f c61ed85c1dcdd190cfb22b36ad2f549abb3bf8890337fde382be498c2abdb35c [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 Post stage [Pipeline] libraryResource [Pipeline] sh 05:57:14 ---> job-cost.sh 05:57:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QEFG 05:57:47 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:58:35 lf-activate-venv(): INFO: Adding /tmp/venv-QEFG/bin to PATH 05:58:35 INFO: No Stack... 05:58:35 INFO: Retrieving Pricing Info for: v1-standard-2 05:58:35 INFO: Archiving Costs [Pipeline] sh 05:58:36 + cut -d, -f6 05:58:36 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 05:58:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-814-1-stack-cost] 05:58:36 Resource [jenkins-edgexfoundry-device-sdk-go-PR-814-1-stack-cost] did not exist. Created. 05:58:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-814-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:58:37 /w/workspace/device-sdk-go/1@tmp/durable-467ae4bf/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 05:58:37 + echo total: 0.029999999329447746 [Pipeline] stash 05:58:37 Warning: overwriting stash ‘stack-cost’ 05:58:38 Stashed 1 file(s) [Pipeline] } 05:58:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-814-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:58:40 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 05:58:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:58:44 ---> package-listing.sh 05:58:44 ++ facter osfamily 05:58:44 ++ tr '[:upper:]' '[:lower:]' 05:58:44 + OS_FAMILY=redhat 05:58:44 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-814 05:58:44 + START_PACKAGES=/tmp/packages_start.txt 05:58:44 + END_PACKAGES=/tmp/packages_end.txt 05:58:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:58:44 + PACKAGES=/tmp/packages_start.txt 05:58:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-814 ']' 05:58:44 + PACKAGES=/tmp/packages_end.txt 05:58:44 + case "${OS_FAMILY}" in 05:58:44 + rpm -qa 05:58:44 + sort 05:58:50 + '[' -f /tmp/packages_start.txt ']' 05:58:50 + '[' -f /tmp/packages_end.txt ']' 05:58:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:58:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-814 ']' 05:58:50 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-814/archives/ 05:58:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-814/archives/ [Pipeline] echo 05:58:50 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-814/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:58:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:58:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:58:50 05:58:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:58:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:58:51 alpine: Pulling from edgex-lftools-log-publisher 05:58:51 df20fa9351a1: Pulling fs layer 05:58:51 36b3adc4ff6f: Pulling fs layer 05:58:51 8ad3a11d3b57: Pulling fs layer 05:58:51 46f8f816bc3b: Pulling fs layer 05:58:51 93b61091891f: Pulling fs layer 05:58:51 93b9cdb0e59b: Pulling fs layer 05:58:51 5e14af77c1be: Pulling fs layer 05:58:51 01666e4c0597: Pulling fs layer 05:58:51 aa168da1d23b: Pulling fs layer 05:58:51 93b9cdb0e59b: Waiting 05:58:51 5e14af77c1be: Waiting 05:58:51 01666e4c0597: Waiting 05:58:51 aa168da1d23b: Waiting 05:58:51 46f8f816bc3b: Waiting 05:58:51 93b61091891f: Waiting 05:58:51 36b3adc4ff6f: Verifying Checksum 05:58:51 36b3adc4ff6f: Download complete 05:58:51 46f8f816bc3b: Verifying Checksum 05:58:51 46f8f816bc3b: Download complete 05:58:51 df20fa9351a1: Verifying Checksum 05:58:51 df20fa9351a1: Download complete 05:58:51 93b61091891f: Download complete 05:58:51 93b9cdb0e59b: Verifying Checksum 05:58:51 93b9cdb0e59b: Download complete 05:58:51 5e14af77c1be: Verifying Checksum 05:58:51 5e14af77c1be: Download complete 05:58:51 01666e4c0597: Verifying Checksum 05:58:51 01666e4c0597: Download complete 05:58:51 8ad3a11d3b57: Verifying Checksum 05:58:51 8ad3a11d3b57: Download complete 05:58:51 df20fa9351a1: Pull complete 05:58:52 36b3adc4ff6f: Pull complete 05:58:52 8ad3a11d3b57: Pull complete 05:58:52 46f8f816bc3b: Pull complete 05:58:53 93b61091891f: Pull complete 05:58:53 93b9cdb0e59b: Pull complete 05:58:53 5e14af77c1be: Pull complete 05:58:53 01666e4c0597: Pull complete 05:58:55 aa168da1d23b: Verifying Checksum 05:58:55 aa168da1d23b: Download complete 05:59:00 aa168da1d23b: Pull complete 05:59:00 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:59:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:59:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:59:01 prd-centos7-docker-4c-2g-29596 does not seem to be running inside a container 05:59:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-814/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-814 -v /w/workspace/dgexfoundry_device-sdk-go_PR-814:/w/workspace/dgexfoundry_device-sdk-go_PR-814:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-814@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-814@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:59:05 $ docker top 185d5f57c1654c59b986a9d9da2cb36097c2753bd417d142083e3d5f4cdb4706 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:05 + touch /tmp/pre-build-complete [Pipeline] sh 05:59:06 + mkdir -p /var/log/sa [Pipeline] sh 05:59:06 + ls /var/log/sa-host 05:59:06 + sadf -c /var/log/sa-host/sa12 05:59:06 file_magic: OK 05:59:06 HZ: Using current value: 100 05:59:06 file_header: OK 05:59:06 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 05:59:06 Statistics: 05:59:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:59:06 File successfully converted to sysstat format version 12.2.1 05:59:06 + sadf -c /var/log/sa-host/sa23 05:59:06 file_magic: OK 05:59:06 HZ: Using current value: 100 05:59:06 file_header: OK 05:59:06 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 05:59:06 Statistics: 05:59:06 Hnuu...uuuununununu... 05:59:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:07 provisioning config files... 05:59:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-814@tmp/config4800955152987254184tmp [Pipeline] { [Pipeline] echo 05:59:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:59:07 ---> create-netrc.sh [Pipeline] } 05:59:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:59:07 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:59:08 ---> python-tools-install.sh [Pipeline] echo 05:59:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:59:08 ---> sudo-logs.sh 05:59:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:59:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:59:09 ---> job-cost.sh 05:59:09 lf-activate-venv: SKIPPING 05:59:09 DEBUG: total: 0.029999999329447746 05:59:09 INFO: Retrieving Stack Cost... 05:59:09 INFO: Retrieving Pricing Info for: v1-standard-2 05:59:10 INFO: Archiving Costs [Pipeline] echo 05:59:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:59:10 ---> logs-deploy.sh 05:59:10 lf-activate-venv: SKIPPING 05:59:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-814/1 05:59:10 INFO: archiving workspace using pattern(s): 05:59:12 Archives upload complete. 05:59:12 INFO: archiving logs to Nexus