Pull request #960 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a244db068d9d338f92108e2449d6abf774265388+f91460baaab7f197ca117fe0ead63848762b28df (510e71318bc2949c51cd06e1945b174704403905) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7224730056181302524.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4262733339361888162.key > 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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-960/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-960/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6466247154966604679.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7120646262564346891.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-960/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-960/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4907177549051180015.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName: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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: 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 ‘prd-centos7-docker-4c-2g-32’ is offline ‘prd-centos7-docker-4c-2g-35’ is offline ‘prd-centos7-docker-4c-2g-43’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-34’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-38’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-46 in /w/workspace/dgexfoundry_device-sdk-go_PR-960 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-960 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/jenkins-gitclient-ssh3841368203965714066.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit a244db068d9d338f92108e2449d6abf774265388 Merge succeeded, producing a244db068d9d338f92108e2449d6abf774265388 Checking out Revision a244db068d9d338f92108e2449d6abf774265388 (PR-960) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/jenkins-gitclient-ssh8087312225120449740.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/960/head:refs/remotes/origin/PR-960 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/jenkins-gitclient-ssh4010985025908737952.key > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:18:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:18:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:18:10 ========================================================= 13:18:10 EdgeX Global Pipelines Version Info 13:18:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 79864a9efc35071c9b1c277b8e1661acaff94390 # timeout=10 13:18:12 ------------------- 13:18:12 stable info: 13:18:12 ------------------- 13:18:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:18:12 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 13:18:12 Message: update stable to v1.0.194 13:18:12 ------------------- 13:18:12 experimental info: 13:18:12 ------------------- 13:18:12 Commited By: **** collab-it+edgex@linuxfoundation.org 13:18:12 Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b 13:18:12 Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:18:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 13:18:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 13:18:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:18:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:18:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:18:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 13:18:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 13:18:12 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 13:18:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-960 [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-960 [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-960 [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a244db068d9d338f92108e2449d6abf774265388 [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a244db0 [Pipeline] echo 13:18:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:18:13 provisioning config files... 13:18:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/config5557861050663807608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:18:14 ---> docker-login.sh 13:18:14 nexus3.edgexfoundry.org:10001 13:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:18:14 Configure a credential helper to remove this warning. See 13:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:18:14 13:18:14 Login Succeeded 13:18:14 nexus3.edgexfoundry.org:10002 13:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:18:14 Configure a credential helper to remove this warning. See 13:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:18:14 13:18:14 Login Succeeded 13:18:14 nexus3.edgexfoundry.org:10003 13:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:18:14 Configure a credential helper to remove this warning. See 13:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:18:14 13:18:14 Login Succeeded 13:18:14 nexus3.edgexfoundry.org:10004 13:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:18:14 Configure a credential helper to remove this warning. See 13:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:18:14 13:18:14 Login Succeeded 13:18:14 docker.io 13:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:18:15 Configure a credential helper to remove this warning. See 13:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:18:15 13:18:15 Login Succeeded 13:18:15 ---> docker-login.sh ends [Pipeline] } 13:18:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:18:15 + git log --format=format:%s -1 a244db068d9d338f92108e2449d6abf774265388 [Pipeline] echo 13:18:15 GIT_COMMIT: a244db068d9d338f92108e2449d6abf774265388, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 13:18:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 13:18:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:18:16 13:18:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:18:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:18:16 latest: Pulling from edgex-devops/git-semver 13:18:16 31603596830f: Pulling fs layer 13:18:16 54011a49482f: Pulling fs layer 13:18:16 a6820b24f6d8: Pulling fs layer 13:18:16 f581987b2513: Pulling fs layer 13:18:16 f581987b2513: Waiting 13:18:16 54011a49482f: Verifying Checksum 13:18:16 54011a49482f: Download complete 13:18:16 31603596830f: Verifying Checksum 13:18:16 31603596830f: Download complete 13:18:16 a6820b24f6d8: Verifying Checksum 13:18:16 a6820b24f6d8: Download complete 13:18:16 f581987b2513: Verifying Checksum 13:18:16 f581987b2513: Download complete 13:18:16 31603596830f: Pull complete 13:18:17 54011a49482f: Pull complete 13:18:17 a6820b24f6d8: Pull complete 13:18:18 f581987b2513: Pull complete 13:18:18 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 13:18:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:18:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:18:18 prd-centos7-docker-4c-2g-46 does not seem to be running inside a container 13:18:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-960 -v /w/workspace/dgexfoundry_device-sdk-go_PR-960:/w/workspace/dgexfoundry_device-sdk-go_PR-960:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-960@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:18:19 $ docker top 90e29609252f864f550ea82a9682ad91bafb614dd46bf5aae21f313b85b55426 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:18:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:18:19 [ssh-agent] Looking for ssh-agent implementation... 13:18:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:18:19 $ docker exec 90e29609252f864f550ea82a9682ad91bafb614dd46bf5aae21f313b85b55426 ssh-agent 13:18:19 SSH_AUTH_SOCK=/tmp/ssh-ox434YqcMeLI/agent.14 13:18:19 SSH_AGENT_PID=20 13:18:19 Running ssh-add (command line suppressed) 13:18:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_6037870424050463324.key (/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_6037870424050463324.key) 13:18:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:18:20 + git tag --points-at HEAD [Pipeline] } 13:18:20 $ docker exec --env ******** --env ******** 90e29609252f864f550ea82a9682ad91bafb614dd46bf5aae21f313b85b55426 ssh-agent -k 13:18:20 unset SSH_AUTH_SOCK; 13:18:20 unset SSH_AGENT_PID; 13:18:20 echo Agent pid 20 killed; 13:18:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:18:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:18:20 [ssh-agent] Looking for ssh-agent implementation... 13:18:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:18:20 $ docker exec 90e29609252f864f550ea82a9682ad91bafb614dd46bf5aae21f313b85b55426 ssh-agent 13:18:20 SSH_AUTH_SOCK=/tmp/ssh-L2PE6zYlSt6j/agent.55 13:18:20 SSH_AGENT_PID=61 13:18:20 Running ssh-add (command line suppressed) 13:18:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_9014065507991224559.key (/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_9014065507991224559.key) 13:18:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:18:20 + git semver init 13:18:20 # -> Open(): unable to determine branch for HEAD 13:18:20 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-960/.git 13:18:20 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-960 13:18:20 # $SEMVER_REMOTE_NAME = origin 13:18:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:18:20 # $SEMVER_USER_NAME = edgex-jenkins 13:18:20 # $SEMVER_BRANCH = PR-960 13:18:20 # $SEMVER_TEMP = /tmp/semver-187528164 13:18:20 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 13:18:21 # '/tmp/semver-187528164' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-960/.semver' 13:18:21 # -> Force: false 13:18:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-960/.semver [Pipeline] } 13:18:21 $ docker exec --env ******** --env ******** 90e29609252f864f550ea82a9682ad91bafb614dd46bf5aae21f313b85b55426 ssh-agent -k 13:18:21 unset SSH_AUTH_SOCK; 13:18:21 unset SSH_AGENT_PID; 13:18:21 echo Agent pid 61 killed; 13:18:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:18:21 + git semver [Pipeline] } 13:18:21 $ docker stop --time=1 90e29609252f864f550ea82a9682ad91bafb614dd46bf5aae21f313b85b55426 13:18:23 $ docker rm -f 90e29609252f864f550ea82a9682ad91bafb614dd46bf5aae21f313b85b55426 [Pipeline] // withDockerContainer [Pipeline] sh 13:18:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:18:23 Stashed 1 file(s) [Pipeline] echo 13:18:23 [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 13:18:39 Still waiting to schedule task 13:18:39 ‘prd-centos7-docker-4c-2g-44’ is offline 13:18:39 ‘prd-centos7-docker-4c-2g-45’ is offline 13:18:39 ‘prd-centos7-docker-4c-2g-47’ is offline 13:18:39 ‘prd-centos7-docker-4c-2g-48’ is offline 13:18:39 ‘prd-centos7-docker-4c-2g-49’ is offline 13:18:39 Still waiting to schedule task 13:18:39 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-41’ 13:19:04 Running on prd-centos7-docker-4c-2g-47 in /w/workspace/dgexfoundry_device-sdk-go_PR-960 [Pipeline] { [Pipeline] ws 13:19:04 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 13:19:04 Selected Git installation does not exist. Using Default 13:19:04 The recommended git tool is: NONE 13:19:07 using credential edgex-jenkins-ssh 13:19:07 Cloning the remote Git repository 13:19:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:19:07 > git init /w/workspace/device-sdk-go/4 # timeout=10 13:19:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:19:07 > git --version # timeout=10 13:19:07 > git --version # 'git version 2.24.4' 13:19:07 using GIT_SSH to set credentials SSH Credentials for GitHub 13:19:07 [INFO] Currently running in a labeled security context 13:19:07 [INFO] Currently SELinux is 'enforcing' on the host 13:19:07 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh9122282577986598324.key 13:19:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:19:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:19:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:19:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:19:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:19:08 using GIT_SSH to set credentials SSH Credentials for GitHub 13:19:08 [INFO] Currently running in a labeled security context 13:19:08 [INFO] Currently SELinux is 'enforcing' on the host 13:19:08 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh8849044876091528214.key 13:19:08 Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit a244db068d9d338f92108e2449d6abf774265388 13:19:08 Merge succeeded, producing a244db068d9d338f92108e2449d6abf774265388 13:19:08 Checking out Revision a244db068d9d338f92108e2449d6abf774265388 (PR-960) 13:19:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/960/head:refs/remotes/origin/PR-960 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:19:08 > git config core.sparsecheckout # timeout=10 13:19:08 > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # timeout=10 13:19:08 > git remote # timeout=10 13:19:08 > git config --get remote.origin.url # timeout=10 13:19:08 using GIT_SSH to set credentials SSH Credentials for GitHub 13:19:08 [INFO] Currently running in a labeled security context 13:19:08 [INFO] Currently SELinux is 'enforcing' on the host 13:19:08 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh1725894938138799801.key 13:19:08 > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 13:19:08 > git rev-parse HEAD^{commit} # timeout=10 13:19:08 > git config core.sparsecheckout # timeout=10 13:19:08 > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # timeout=10 13:19:12 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:19:13 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 13:19:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:19:14 + sudo service docker restart 13:19:14 + true 13:19:14 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:19:32 provisioning config files... 13:19:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config2969248361353368557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:19:32 ---> docker-login.sh 13:19:32 nexus3.edgexfoundry.org:10001 13:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:32 Configure a credential helper to remove this warning. See 13:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:32 13:19:32 Login Succeeded 13:19:32 nexus3.edgexfoundry.org:10002 13:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:32 Configure a credential helper to remove this warning. See 13:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:32 13:19:32 Login Succeeded 13:19:32 nexus3.edgexfoundry.org:10003 13:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:33 Configure a credential helper to remove this warning. See 13:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:33 13:19:33 Login Succeeded 13:19:33 nexus3.edgexfoundry.org:10004 13:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:33 Configure a credential helper to remove this warning. See 13:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:33 13:19:33 Login Succeeded 13:19:33 docker.io 13:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:33 Configure a credential helper to remove this warning. See 13:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:33 13:19:33 Login Succeeded 13:19:33 ---> docker-login.sh ends [Pipeline] } 13:19:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:19:33 ========================================================= 13:19:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 13:19:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:19:34 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 13:19:34 Sending build context to Docker daemon 2.649MB 13:19:34 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 13:19:34 Step 2/8 : FROM ${BASE} 13:19:34 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 13:19:34 540db60ca938: Pulling fs layer 13:19:34 adcc1eea9eea: Pulling fs layer 13:19:34 4c4ab2625f07: Pulling fs layer 13:19:34 0510c868ecb4: Pulling fs layer 13:19:34 afea3b2eda06: Pulling fs layer 13:19:34 7809a108b3ef: Pulling fs layer 13:19:34 f706445af74f: Pulling fs layer 13:19:34 0510c868ecb4: Waiting 13:19:34 afea3b2eda06: Waiting 13:19:34 7809a108b3ef: Waiting 13:19:34 4c4ab2625f07: Verifying Checksum 13:19:34 4c4ab2625f07: Download complete 13:19:34 adcc1eea9eea: Verifying Checksum 13:19:34 adcc1eea9eea: Download complete 13:19:34 afea3b2eda06: Verifying Checksum 13:19:34 afea3b2eda06: Download complete 13:19:34 7809a108b3ef: Verifying Checksum 13:19:34 7809a108b3ef: Download complete 13:19:34 540db60ca938: Verifying Checksum 13:19:34 540db60ca938: Download complete 13:19:35 540db60ca938: Pull complete 13:19:35 adcc1eea9eea: Pull complete 13:19:35 4c4ab2625f07: Pull complete 13:19:38 f706445af74f: Verifying Checksum 13:19:38 f706445af74f: Download complete 13:19:39 0510c868ecb4: Verifying Checksum 13:19:39 0510c868ecb4: Download complete 13:19:42 0510c868ecb4: Pull complete 13:19:42 afea3b2eda06: Pull complete 13:19:42 7809a108b3ef: Pull complete 13:19:44 f706445af74f: Pull complete 13:19:44 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 13:19:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 13:19:44 ---> b068be0155e3 13:19:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:19:56 ---> Running in 4a55b4b0d3e8 13:19:56 Removing intermediate container 4a55b4b0d3e8 13:19:56 ---> d3d5a3c9457a 13:19:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:19:56 ---> Running in a94e81e67f20 13:19:56 Removing intermediate container a94e81e67f20 13:19:56 ---> 9bd41aeca3f3 13:19:56 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 13:19:56 ---> Running in 36c808a917d9 13:19:57 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 13:19:58 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 13:19:58 (1/6) Installing libc-dev (0.7.2-r3) 13:19:58 (2/6) Installing libsodium (1.0.18-r0) 13:19:58 (3/6) Installing pkgconf (1.7.3-r0) 13:19:58 (4/6) Installing libsodium-dev (1.0.18-r0) 13:19:58 (5/6) Installing libzmq (4.3.3-r1) 13:19:58 (6/6) Installing zeromq-dev (4.3.3-r1) 13:19:58 Executing busybox-1.32.1-r6.trigger 13:19:58 OK: 150 MiB in 46 packages 13:19:59 Removing intermediate container 36c808a917d9 13:19:59 ---> eb0a8eb40935 13:19:59 Step 6/8 : WORKDIR /device-sdk-go 13:19:59 ---> Running in 4fb41eeef333 13:19:59 Removing intermediate container 4fb41eeef333 13:19:59 ---> c47fa88ae234 13:19:59 Step 7/8 : COPY . . 13:20:00 ---> e50c4c098666 13:20:00 Step 8/8 : RUN go mod download 13:20:00 ---> Running in af1bd614af12 13:20:18 Removing intermediate container af1bd614af12 13:20:18 ---> 055e5bfd5a5b 13:20:18 Successfully built 055e5bfd5a5b 13:20:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:20:18 + docker inspect -f . ci-base-image-x86_64 13:20:18 . [Pipeline] withDockerContainer 13:20:18 prd-centos7-docker-4c-2g-47 does not seem to be running inside a container 13:20:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:20:19 $ docker top 04cb76e105cc9c17cdd9c9f83d7663e757737a5ec9c04bdb26101f1c6c62d436 -eo pid,comm [Pipeline] { [Pipeline] sh 13:20:19 + go version 13:20:19 go version go1.16.3 linux/amd64 [Pipeline] } 13:20:19 $ docker stop --time=1 04cb76e105cc9c17cdd9c9f83d7663e757737a5ec9c04bdb26101f1c6c62d436 13:20:20 $ docker rm -f 04cb76e105cc9c17cdd9c9f83d7663e757737a5ec9c04bdb26101f1c6c62d436 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:20:21 + docker inspect -f . ci-base-image-x86_64 13:20:21 . [Pipeline] withDockerContainer 13:20:21 prd-centos7-docker-4c-2g-47 does not seem to be running inside a container 13:20:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:20:22 $ docker top 8bb987b620456c70122f4f01bdf19d8985a9d32ae00a7da08ec8cd84baee3549 -eo pid,comm [Pipeline] { [Pipeline] sh 13:20:22 + go mod tidy [Pipeline] sh 13:20:22 + make test 13:20:22 go mod tidy 13:20:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 13:20:28 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 13:20:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 13:20:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 13:20:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 13:20:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.070s coverage: 25.4% of statements 13:20:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 13:20:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 28.1% of statements 13:20:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements 13:20:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 9.0% of statements 13:20:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 13:20:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 13:20:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 13:20:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.060s coverage: 29.2% of statements 13:20:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 13:20:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.060s coverage: 83.3% of statements 13:20:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 13:20:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 13:20:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.086s coverage: 58.0% of statements 13:20:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.852s coverage: 89.2% of statements 13:20:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 13:20:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 5.0% of statements 13:20:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 13:20:57 GO111MODULE=on go vet ./... 13:21:15 gofmt -l . 13:21:15 [ "`gofmt -l .`" = "" ] 13:21:15 ./bin/test-attribution-txt.sh 13:21:15 ./bin/test-go-mod-tidy.sh [Pipeline] } 13:21:15 $ docker stop --time=1 8bb987b620456c70122f4f01bdf19d8985a9d32ae00a7da08ec8cd84baee3549 13:21:17 $ docker rm -f 8bb987b620456c70122f4f01bdf19d8985a9d32ae00a7da08ec8cd84baee3549 [Pipeline] // withDockerContainer [Pipeline] sh 13:21:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:21:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:21:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:21:22 + ls -al . 13:21:22 total 212 13:21:22 drwxrwxr-x. 10 jenkins jenkins 4096 Jun 9 13:21 . 13:21:22 drwxrwxr-x. 4 jenkins jenkins 28 Jun 9 13:19 .. 13:21:22 drwxrwxr-x. 2 jenkins jenkins 64 Jun 9 13:19 bin 13:21:22 -rw-r--r--. 1 jenkins jenkins 126072 Jun 9 13:20 coverage.out 13:21:22 -rw-rw-r--. 1 jenkins jenkins 987 Jun 9 13:19 Dockerfile.build 13:21:22 -rw-rw-r--. 1 jenkins jenkins 140 Jun 9 13:19 .dockerignore 13:21:22 drwxrwxr-x. 5 jenkins jenkins 62 Jun 9 13:19 example 13:21:22 drwxrwxr-x. 8 jenkins jenkins 179 Jun 9 13:19 .git 13:21:22 drwxrwxr-x. 2 jenkins jenkins 103 Jun 9 13:19 .github 13:21:22 -rw-rw-r--. 1 jenkins jenkins 138 Jun 9 13:19 .gitignore 13:21:22 -rw-r--r--. 1 jenkins jenkins 575 Jun 9 13:21 go.mod 13:21:22 -rw-r--r--. 1 jenkins jenkins 20590 Jun 9 13:20 go.sum 13:21:22 drwxrwxr-x. 15 jenkins jenkins 224 Jun 9 13:19 internal 13:21:22 -rw-rw-r--. 1 jenkins jenkins 894 Jun 9 13:19 Jenkinsfile 13:21:22 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 9 13:19 LICENSE 13:21:22 -rw-rw-r--. 1 jenkins jenkins 1026 Jun 9 13:19 Makefile 13:21:22 drwxrwxr-x. 4 jenkins jenkins 26 Jun 9 13:19 openapi 13:21:22 drwxrwxr-x. 5 jenkins jenkins 50 Jun 9 13:19 pkg 13:21:22 -rw-rw-r--. 1 jenkins jenkins 7652 Jun 9 13:19 README.md 13:21:22 -rw-rw-r--. 1 jenkins jenkins 6616 Jun 9 13:19 RELEASE-NOTES.txt 13:21:22 drwxrwxr-x. 4 jenkins jenkins 54 Jun 9 13:19 snap 13:21:22 -rw-rw-r--. 1 jenkins jenkins 5 Jun 9 13:18 VERSION 13:21:22 -rw-rw-r--. 1 jenkins jenkins 222 Jun 9 13:19 version.go [Pipeline] isUnix [Pipeline] sh 13:21:22 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a244db068d9d338f92108e2449d6abf774265388 --label arch=amd64 --label version=0.0.0 . 13:21:22 Sending build context to Docker daemon 2.776MB 13:21:22 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 13:21:22 Step 2/23 : FROM ${BASE} AS builder 13:21:22 ---> 055e5bfd5a5b 13:21:22 Step 3/23 : WORKDIR /device-sdk-go 13:21:22 ---> Running in 0e717283af9e 13:21:23 Removing intermediate container 0e717283af9e 13:21:23 ---> d2e8bd4df360 13:21:23 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:21:23 ---> Running in f5abbf80f3f9 13:21:23 Removing intermediate container f5abbf80f3f9 13:21:23 ---> 49aca8a9fe8e 13:21:23 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:21:23 ---> Running in dad363672bba 13:21:24 Removing intermediate container dad363672bba 13:21:24 ---> 1d332296d413 13:21:24 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 13:21:24 ---> Running in eedfa9c8199a 13:21:24 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 13:21:25 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 13:21:25 OK: 150 MiB in 46 packages 13:21:25 Removing intermediate container eedfa9c8199a 13:21:25 ---> 9f78b5ad4af2 13:21:25 Step 7/23 : COPY . . 13:21:25 ---> 13279096fd45 13:21:25 Step 8/23 : RUN go mod download 13:21:26 ---> Running in b4ce300dbde9 13:21:26 Removing intermediate container b4ce300dbde9 13:21:26 ---> 398db9107dc4 13:21:26 Step 9/23 : RUN make build 13:21:26 ---> Running in 8a4659808330 13:21:27 go mod tidy 13:21:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 13:21:37 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 13:21:38 Removing intermediate container 8a4659808330 13:21:38 ---> 911cc10f4d35 13:21:38 Step 10/23 : FROM alpine:3.12 13:21:39 3.12: Pulling from library/alpine 13:21:39 339de151aab4: Pulling fs layer 13:21:39 339de151aab4: Verifying Checksum 13:21:39 339de151aab4: Download complete 13:21:39 339de151aab4: Pull complete 13:21:39 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 13:21:39 Status: Downloaded newer image for alpine:3.12 13:21:39 ---> 13621d1b12d4 13:21:39 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:21:39 ---> Running in fe78c1c791b2 13:21:39 Removing intermediate container fe78c1c791b2 13:21:39 ---> 73f694229dbc 13:21:39 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:21:39 ---> Running in 20c8cc39e804 13:21:40 Removing intermediate container 20c8cc39e804 13:21:40 ---> c69ba2561a81 13:21:40 Step 13/23 : RUN apk add --update --no-cache zeromq 13:21:40 ---> Running in 480959e018c8 13:21:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-51 in /w/workspace/dgexfoundry_device-sdk-go_PR-960 [Pipeline] { [Pipeline] ws 13:21:40 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 13:21:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:21:40 Selected Git installation does not exist. Using Default 13:21:40 The recommended git tool is: NONE 13:21:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:21:41 (1/5) Installing libgcc (9.3.0-r2) 13:21:41 (2/5) Installing libsodium (1.0.18-r0) 13:21:42 (3/5) Installing libstdc++ (9.3.0-r2) 13:21:43 (4/5) Installing libzmq (4.3.3-r0) 13:21:43 (5/5) Installing zeromq (4.3.3-r0) 13:21:43 Executing busybox-1.31.1-r20.trigger 13:21:43 OK: 8 MiB in 19 packages 13:21:43 Removing intermediate container 480959e018c8 13:21:43 ---> 5aec39520ff4 13:21:43 Step 14/23 : WORKDIR / 13:21:43 ---> Running in 4b26b44ade5f 13:21:43 Removing intermediate container 4b26b44ade5f 13:21:43 ---> e1ab256d700a 13:21:43 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 13:21:43 ---> b77ad745e1da 13:21:43 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 13:21:44 ---> 5f2d3c0392fb 13:21:44 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 13:21:44 ---> 1ed0b8eb40a2 13:21:44 Step 18/23 : EXPOSE 59999 13:21:44 ---> Running in 32341e1c398f 13:21:44 Removing intermediate container 32341e1c398f 13:21:44 ---> 7aa51affe79d 13:21:44 Step 19/23 : ENTRYPOINT ["/device-simple"] 13:21:44 ---> Running in 70b51c9128bc 13:21:44 Removing intermediate container 70b51c9128bc 13:21:44 ---> aec0f7f323a0 13:21:44 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:21:44 ---> Running in 3713ee04add9 13:21:45 Removing intermediate container 3713ee04add9 13:21:45 ---> c6e9a271e56a 13:21:45 Step 21/23 : LABEL arch=amd64 13:21:45 ---> Running in f59812b9a5fe 13:21:45 Removing intermediate container f59812b9a5fe 13:21:45 ---> b1ad336982f7 13:21:45 Step 22/23 : LABEL git_sha=a244db068d9d338f92108e2449d6abf774265388 13:21:45 ---> Running in f193ab69bc66 13:21:45 Removing intermediate container f193ab69bc66 13:21:45 ---> 20c7b6a4e690 13:21:45 Step 23/23 : LABEL version=0.0.0 13:21:45 ---> Running in 08bfb1897fcc 13:21:45 Removing intermediate container 08bfb1897fcc 13:21:45 ---> d222edebba63 13:21:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:21:45 Successfully built d222edebba63 13:21:45 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 13:21:45 using credential edgex-jenkins-ssh 13:21:45 Cloning the remote Git repository [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 13:21:46 ---> job-cost.sh 13:21:46 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-a5JW 13:21:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:21:46 > git init /w/workspace/device-sdk-go/4 # timeout=10 13:21:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:21:46 > git --version # timeout=10 13:21:46 > git --version # 'git version 2.17.1' 13:21:46 using GIT_SSH to set credentials SSH Credentials for GitHub 13:21:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:21:48 Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit a244db068d9d338f92108e2449d6abf774265388 13:21:48 Merge succeeded, producing a244db068d9d338f92108e2449d6abf774265388 13:21:48 Checking out Revision a244db068d9d338f92108e2449d6abf774265388 (PR-960) 13:21:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:21:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:21:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:21:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:21:47 using GIT_SSH to set credentials SSH Credentials for GitHub 13:21:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/960/head:refs/remotes/origin/PR-960 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:21:48 > git config core.sparsecheckout # timeout=10 13:21:48 > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # timeout=10 13:21:48 > git remote # timeout=10 13:21:48 > git config --get remote.origin.url # timeout=10 13:21:48 using GIT_SSH to set credentials SSH Credentials for GitHub 13:21:48 > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 13:21:48 > git rev-parse HEAD^{commit} # timeout=10 13:21:48 > git config core.sparsecheckout # timeout=10 13:21:48 > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # timeout=10 13:21:52 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 13:21:52 13:21:52 GitHub has been notified of this commit’s build result 13:21:52 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:21:53 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 13:21:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:21:54 + sudo service docker restart 13:21:54 + true 13:21:56 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 13:22:11 lf-activate-venv(): INFO: Adding /tmp/venv-a5JW/bin to PATH 13:22:11 INFO: No Stack... 13:22:11 INFO: Retrieving Pricing Info for: v3-standard-2 13:22:11 INFO: Archiving Costs [Pipeline] sh 13:22:12 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 13:22:12 + cut -d, -f6 [Pipeline] lock 13:22:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] 13:22:12 Resource [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] did not exist. Created. 13:22:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:22:12 + echo total: 0.05999999865889549 [Pipeline] stash 13:22:12 Stashed 1 file(s) [Pipeline] } 13:22:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:22:13 provisioning config files... 13:22:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config4132726717548013549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:22:13 ---> docker-login.sh 13:22:13 nexus3.edgexfoundry.org:10001 13:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:14 Configure a credential helper to remove this warning. See 13:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:14 13:22:14 Login Succeeded 13:22:14 nexus3.edgexfoundry.org:10002 13:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:15 Configure a credential helper to remove this warning. See 13:22:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:15 13:22:15 Login Succeeded 13:22:15 nexus3.edgexfoundry.org:10003 13:22:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:15 Configure a credential helper to remove this warning. See 13:22:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:15 13:22:15 Login Succeeded 13:22:15 nexus3.edgexfoundry.org:10004 13:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:16 Configure a credential helper to remove this warning. See 13:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:16 13:22:16 Login Succeeded 13:22:16 docker.io 13:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:16 Configure a credential helper to remove this warning. See 13:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:16 13:22:16 Login Succeeded 13:22:16 ---> docker-login.sh ends [Pipeline] } 13:22:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:22:17 ========================================================= 13:22:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 13:22:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:22:17 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 13:22:17 Sending build context to Docker daemon 2.647MB 13:22:18 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 13:22:18 Step 2/8 : FROM ${BASE} 13:22:18 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:22:18 595b0fe564bb: Pulling fs layer 13:22:18 7186ed65a4f7: Pulling fs layer 13:22:18 316046926c0a: Pulling fs layer 13:22:18 4ebd0625c992: Pulling fs layer 13:22:18 207e8628e3a3: Pulling fs layer 13:22:18 c791037a9be2: Pulling fs layer 13:22:18 ffd874e62e21: Pulling fs layer 13:22:18 207e8628e3a3: Waiting 13:22:18 4ebd0625c992: Waiting 13:22:18 ffd874e62e21: Waiting 13:22:18 316046926c0a: Verifying Checksum 13:22:18 316046926c0a: Download complete 13:22:18 7186ed65a4f7: Verifying Checksum 13:22:18 7186ed65a4f7: Download complete 13:22:18 207e8628e3a3: Verifying Checksum 13:22:18 207e8628e3a3: Download complete 13:22:18 c791037a9be2: Download complete 13:22:18 595b0fe564bb: Verifying Checksum 13:22:18 595b0fe564bb: Download complete 13:22:19 595b0fe564bb: Pull complete 13:22:19 7186ed65a4f7: Pull complete 13:22:19 316046926c0a: Pull complete 13:22:20 ffd874e62e21: Download complete 13:22:22 4ebd0625c992: Verifying Checksum 13:22:22 4ebd0625c992: Download complete 13:22:32 4ebd0625c992: Pull complete 13:22:32 207e8628e3a3: Pull complete 13:22:32 c791037a9be2: Pull complete 13:22:35 ffd874e62e21: Pull complete 13:22:35 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 13:22:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 13:22:35 ---> cfc18b08335c 13:22:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:22:38 ---> Running in 0e2d88990fd0 13:22:38 Removing intermediate container 0e2d88990fd0 13:22:38 ---> 1e9fc1c2e685 13:22:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:22:38 ---> Running in 32431848024e 13:22:41 Removing intermediate container 32431848024e 13:22:41 ---> 524330e4c62d 13:22:41 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 13:22:41 ---> Running in f252d780b71a 13:22:42 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 13:22:43 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 13:22:44 (1/6) Installing libc-dev (0.7.2-r3) 13:22:44 (2/6) Installing libsodium (1.0.18-r0) 13:22:44 (3/6) Installing pkgconf (1.7.3-r0) 13:22:44 (4/6) Installing libsodium-dev (1.0.18-r0) 13:22:44 (5/6) Installing libzmq (4.3.3-r1) 13:22:44 (6/6) Installing zeromq-dev (4.3.3-r1) 13:22:44 Executing busybox-1.32.1-r6.trigger 13:22:44 OK: 139 MiB in 46 packages 13:22:46 Removing intermediate container f252d780b71a 13:22:46 ---> 4b89904c3dcb 13:22:46 Step 6/8 : WORKDIR /device-sdk-go 13:22:46 ---> Running in 33cbbf9abac3 13:22:46 Removing intermediate container 33cbbf9abac3 13:22:46 ---> 7b4c8d860aba 13:22:46 Step 7/8 : COPY . . 13:22:47 ---> b991b2b30dd1 13:22:47 Step 8/8 : RUN go mod download 13:22:47 ---> Running in 989f90011658 13:23:14 Removing intermediate container 989f90011658 13:23:14 ---> 50cccaf3b713 13:23:14 Successfully built 50cccaf3b713 13:23:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:23:15 + docker inspect -f . ci-base-image-arm64 13:23:15 . [Pipeline] withDockerContainer 13:23:15 prd-ubuntu18.04-docker-arm64-4c-16g-51 does not seem to be running inside a container 13:23:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:23:16 $ docker top 8508c88e8db099d46b53654740d5e76656f3c1ecadaf4c18e5b3c4ae29ceb333 -eo pid,comm [Pipeline] { [Pipeline] sh 13:23:17 + go version 13:23:17 go version go1.16.3 linux/arm64 [Pipeline] } 13:23:17 $ docker stop --time=1 8508c88e8db099d46b53654740d5e76656f3c1ecadaf4c18e5b3c4ae29ceb333 13:23:19 $ docker rm -f 8508c88e8db099d46b53654740d5e76656f3c1ecadaf4c18e5b3c4ae29ceb333 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:23:20 + docker inspect -f . ci-base-image-arm64 13:23:20 . [Pipeline] withDockerContainer 13:23:20 prd-ubuntu18.04-docker-arm64-4c-16g-51 does not seem to be running inside a container 13:23:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:23:22 $ docker top 18b698e1f9c812e3aaff45616e6284053fdeb092e7e2c268332c9a024d8c93a4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:23:23 + go mod tidy [Pipeline] sh 13:23:24 + make test 13:23:24 go mod tidy 13:23:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 13:23:47 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 13:24:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 13:24:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 13:24:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 13:25:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.280s coverage: 25.4% of statements 13:25:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 13:25:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.278s coverage: 28.1% of statements 13:25:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.230s coverage: 78.9% of statements 13:25:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.259s coverage: 9.0% of statements 13:25:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 13:25:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 13:25:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 13:25:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.367s coverage: 29.2% of statements 13:25:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 13:25:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.240s coverage: 83.3% of statements 13:25:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 13:25:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 13:25:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.360s coverage: 58.0% of statements 13:25:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.036s coverage: 89.2% of statements 13:25:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 13:25:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 5.0% of statements 13:25:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 13:25:10 GO111MODULE=on go vet ./... 13:26:06 gofmt -l . 13:26:06 [ "`gofmt -l .`" = "" ] 13:26:06 ./bin/test-attribution-txt.sh 13:26:06 ./bin/test-go-mod-tidy.sh [Pipeline] } 13:26:07 $ docker stop --time=1 18b698e1f9c812e3aaff45616e6284053fdeb092e7e2c268332c9a024d8c93a4 13:26:09 $ docker rm -f 18b698e1f9c812e3aaff45616e6284053fdeb092e7e2c268332c9a024d8c93a4 [Pipeline] // withDockerContainer [Pipeline] sh 13:26:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:26:10 Warning: overwriting stash ‘coverage-report’ 13:26:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:26:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:26:12 + ls -al . 13:26:12 total 248 13:26:12 drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 13:26 . 13:26:12 drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 13:21 .. 13:26:12 -rw-rw-r-- 1 jenkins jenkins 140 Jun 9 13:21 .dockerignore 13:26:12 drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 13:21 .git 13:26:12 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 13:21 .github 13:26:12 -rw-rw-r-- 1 jenkins jenkins 138 Jun 9 13:21 .gitignore 13:26:12 -rw-rw-r-- 1 jenkins jenkins 987 Jun 9 13:21 Dockerfile.build 13:26:12 -rw-rw-r-- 1 jenkins jenkins 894 Jun 9 13:21 Jenkinsfile 13:26:12 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 9 13:21 LICENSE 13:26:12 -rw-rw-r-- 1 jenkins jenkins 1026 Jun 9 13:21 Makefile 13:26:12 -rw-rw-r-- 1 jenkins jenkins 7652 Jun 9 13:21 README.md 13:26:12 -rw-rw-r-- 1 jenkins jenkins 6616 Jun 9 13:21 RELEASE-NOTES.txt 13:26:12 -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 13:18 VERSION 13:26:12 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 13:21 bin 13:26:12 -rw-r--r-- 1 jenkins jenkins 126071 Jun 9 13:25 coverage.out 13:26:12 drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 13:21 example 13:26:12 -rw-r--r-- 1 jenkins jenkins 575 Jun 9 13:26 go.mod 13:26:12 -rw-r--r-- 1 jenkins jenkins 20590 Jun 9 13:23 go.sum 13:26:12 drwxrwxr-x 15 jenkins jenkins 4096 Jun 9 13:21 internal 13:26:12 drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 13:21 openapi 13:26:12 drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 13:21 pkg 13:26:12 drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 13:21 snap 13:26:12 -rw-rw-r-- 1 jenkins jenkins 222 Jun 9 13:21 version.go [Pipeline] isUnix [Pipeline] sh 13:26:12 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a244db068d9d338f92108e2449d6abf774265388 --label arch=arm64 --label version=0.0.0 . 13:26:13 Sending build context to Docker daemon 2.774MB 13:26:13 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 13:26:13 Step 2/23 : FROM ${BASE} AS builder 13:26:13 ---> 50cccaf3b713 13:26:13 Step 3/23 : WORKDIR /device-sdk-go 13:26:13 ---> Running in ae1d85358ac3 13:26:14 Removing intermediate container ae1d85358ac3 13:26:14 ---> f890dddf5972 13:26:14 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:26:14 ---> Running in 4d81fb82d901 13:26:14 Removing intermediate container 4d81fb82d901 13:26:14 ---> c78ae9804450 13:26:14 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:26:14 ---> Running in 1cc07198a559 13:26:16 Removing intermediate container 1cc07198a559 13:26:16 ---> adc0f28bc312 13:26:16 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 13:26:17 ---> Running in fca1d2bd9185 13:26:18 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 13:26:19 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 13:26:20 OK: 139 MiB in 46 packages 13:26:21 Removing intermediate container fca1d2bd9185 13:26:21 ---> 5d7efc25a3b6 13:26:21 Step 7/23 : COPY . . 13:26:22 ---> 4d2c10753e29 13:26:22 Step 8/23 : RUN go mod download 13:26:23 ---> Running in 3051e55ede4d 13:26:25 Removing intermediate container 3051e55ede4d 13:26:25 ---> 5872699616c0 13:26:25 Step 9/23 : RUN make build 13:26:25 ---> Running in cd61cca2eddd 13:26:26 go mod tidy 13:26:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 13:26:59 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 13:27:02 Removing intermediate container cd61cca2eddd 13:27:02 ---> e0e61d902699 13:27:02 Step 10/23 : FROM alpine:3.12 13:27:02 3.12: Pulling from library/alpine 13:27:02 d2f70382dc9a: Pulling fs layer 13:27:03 d2f70382dc9a: Verifying Checksum 13:27:03 d2f70382dc9a: Download complete 13:27:03 d2f70382dc9a: Pull complete 13:27:03 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 13:27:03 Status: Downloaded newer image for alpine:3.12 13:27:03 ---> 9852663dfa18 13:27:03 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:27:04 ---> Running in ba3c679f7a09 13:27:04 Removing intermediate container ba3c679f7a09 13:27:04 ---> 0a5ff353a80e 13:27:04 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:27:04 ---> Running in f18e9e44c844 13:27:06 Removing intermediate container f18e9e44c844 13:27:06 ---> 56ce89f6292d 13:27:06 Step 13/23 : RUN apk add --update --no-cache zeromq 13:27:06 ---> Running in dc268b92de88 13:27:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:27:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:27:09 (1/5) Installing libgcc (9.3.0-r2) 13:27:09 (2/5) Installing libsodium (1.0.18-r0) 13:27:09 (3/5) Installing libstdc++ (9.3.0-r2) 13:27:09 (4/5) Installing libzmq (4.3.3-r0) 13:27:09 (5/5) Installing zeromq (4.3.3-r0) 13:27:10 Executing busybox-1.31.1-r20.trigger 13:27:10 OK: 8 MiB in 19 packages 13:27:11 Removing intermediate container dc268b92de88 13:27:11 ---> 687f63c4a146 13:27:11 Step 14/23 : WORKDIR / 13:27:11 ---> Running in 63e664f38428 13:27:12 Removing intermediate container 63e664f38428 13:27:12 ---> 39573d8f5457 13:27:12 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 13:27:12 ---> eddc9d66ab62 13:27:12 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 13:27:13 ---> c26b8ac04f76 13:27:13 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 13:27:14 ---> e20757db8443 13:27:14 Step 18/23 : EXPOSE 59999 13:27:14 ---> Running in fffef45f67c7 13:27:15 Removing intermediate container fffef45f67c7 13:27:15 ---> aa45a81fd1c6 13:27:15 Step 19/23 : ENTRYPOINT ["/device-simple"] 13:27:15 ---> Running in edb5f1c8e31e 13:27:15 Removing intermediate container edb5f1c8e31e 13:27:15 ---> 4d9fcf1aabeb 13:27:15 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:27:15 ---> Running in cdb8deeab7d2 13:27:16 Removing intermediate container cdb8deeab7d2 13:27:16 ---> d6b73c4a228e 13:27:16 Step 21/23 : LABEL arch=arm64 13:27:16 ---> Running in 742502cc015f 13:27:17 Removing intermediate container 742502cc015f 13:27:17 ---> 70ef4e47dc5d 13:27:17 Step 22/23 : LABEL git_sha=a244db068d9d338f92108e2449d6abf774265388 13:27:17 ---> Running in 11727574f3e4 13:27:17 Removing intermediate container 11727574f3e4 13:27:17 ---> e5f00ad422f2 13:27:17 Step 23/23 : LABEL version=0.0.0 13:27:18 ---> Running in e8d368d410a7 13:27:18 Removing intermediate container e8d368d410a7 13:27:18 ---> ea8404de1649 13:27:18 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:27:18 Successfully built ea8404de1649 13:27:18 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 13:27:19 ---> job-cost.sh 13:27:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eiz1 13:27:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 13:29:20 lf-activate-venv(): INFO: Adding /tmp/venv-eiz1/bin to PATH 13:29:20 INFO: No Stack... 13:29:20 INFO: Retrieving Pricing Info for: v2-standard-4 13:29:20 INFO: Archiving Costs [Pipeline] sh 13:29:20 + cat+ /w/workspace/device-sdk-go/4/archives/cost.csv 13:29:20 cut -d, -f6 [Pipeline] lock 13:29:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] 13:29:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] did not exist. Created. 13:29:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:29:21 /w/workspace/device-sdk-go/4@tmp/durable-61142bc6/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-61142bc6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 13:29:21 + echo total: 0.18000000715255737 [Pipeline] stash 13:29:21 Warning: overwriting stash ‘stack-cost’ 13:29:21 Stashed 1 file(s) [Pipeline] } 13:29:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-960-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:29:22 provisioning config files... 13:29:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/config1104996324371447790tmp [Pipeline] { [Pipeline] sh 13:29:22 + set +x 13:29:22 + curl -s https://codecov.io/bash 13:29:22 + bash -s -- 13:29:22 13:29:22 _____ _ 13:29:22 / ____| | | 13:29:22 | | ___ __| | ___ ___ _____ __ 13:29:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:29:22 | |___| (_) | (_| | __/ (_| (_) \ V / 13:29:22 \_____\___/ \__,_|\___|\___\___/ \_/ 13:29:22 Bash-1.0.3 13:29:22 13:29:22 13:29:22 ==> git version 2.24.4 found 13:29:22 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 13:29:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 13:29:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 13:29:22 ==> Jenkins CI detected. 13:29:22 project root: . 13:29:22 --> token set from env 13:29:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:29:22 ==> Running gcov in . (disable via -X gcov) 13:29:22 ==> Python coveragepy not found 13:29:22 ==> Searching for coverage reports in: 13:29:22 + . 13:29:22 -> Found 1 reports 13:29:22 ==> Detecting git/mercurial file structure 13:29:22 ==> Reading reports 13:29:22 + ./coverage.out bytes=126071 13:29:22 ==> Appending adjustments 13:29:22 https://docs.codecov.io/docs/fixing-reports 13:29:23 + Found adjustments 13:29:23 ==> Gzipping contents 13:29:23 20K /tmp/codecov.7LPulu.gz 13:29:23 ==> Uploading reports 13:29:23 url: https://codecov.io 13:29:23 query: branch=PR-960&commit=a244db068d9d338f92108e2449d6abf774265388&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-960%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=960&job=&cmd_args= 13:29:23 -> Pinging Codecov 13:29:23 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-960&commit=a244db068d9d338f92108e2449d6abf774265388&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-960%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=960&job=&cmd_args= 13:29:23 -> Uploading to 13:29:23 https://storage.googleapis.com/codecov/v4/raw/2021-06-09/7E55EF52A471D76F132DFD9A03CDDE97/a244db068d9d338f92108e2449d6abf774265388/ae4936bc-322b-43ed-9c65-7a3c81c60f5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210609T132923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=410573595c1e7c1908aa1b2691daff4781b2003bacac06b582dca5e0bd706882 13:29:23 % Total % Received % Xferd Average Speed Time Time Time Current 13:29:23 Dload Upload Total Spent Left Speed 13:29:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16443 0 0 100 16443 0 40642 --:--:-- --:--:-- --:--:-- 40700 13:29:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a244db068d9d338f92108e2449d6abf774265388 [Pipeline] } 13:29:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 13:29:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:29:26 ---> package-listing.sh 13:29:26 ++ tr '[:upper:]' '[:lower:]' 13:29:26 ++ facter osfamily 13:29:26 + OS_FAMILY=redhat 13:29:26 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-960 13:29:26 + START_PACKAGES=/tmp/packages_start.txt 13:29:26 + END_PACKAGES=/tmp/packages_end.txt 13:29:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:29:26 + PACKAGES=/tmp/packages_start.txt 13:29:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-960 ']' 13:29:26 + PACKAGES=/tmp/packages_end.txt 13:29:26 + case "${OS_FAMILY}" in 13:29:26 + rpm -qa 13:29:26 + sort 13:29:27 + '[' -f /tmp/packages_start.txt ']' 13:29:27 + '[' -f /tmp/packages_end.txt ']' 13:29:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:29:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-960 ']' 13:29:27 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-960/archives/ 13:29:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-960/archives/ [Pipeline] echo 13:29:27 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-960/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:29:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:29:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:29:28 13:29:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:29:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:29:28 alpine: Pulling from edgex-lftools-log-publisher 13:29:28 df20fa9351a1: Pulling fs layer 13:29:28 36b3adc4ff6f: Pulling fs layer 13:29:28 8ad3a11d3b57: Pulling fs layer 13:29:28 46f8f816bc3b: Pulling fs layer 13:29:28 93b61091891f: Pulling fs layer 13:29:28 93b9cdb0e59b: Pulling fs layer 13:29:28 5e14af77c1be: Pulling fs layer 13:29:28 01666e4c0597: Pulling fs layer 13:29:28 aa168da1d23b: Pulling fs layer 13:29:28 46f8f816bc3b: Waiting 13:29:28 93b61091891f: Waiting 13:29:28 93b9cdb0e59b: Waiting 13:29:28 5e14af77c1be: Waiting 13:29:28 01666e4c0597: Waiting 13:29:28 aa168da1d23b: Waiting 13:29:28 36b3adc4ff6f: Verifying Checksum 13:29:28 36b3adc4ff6f: Download complete 13:29:28 46f8f816bc3b: Verifying Checksum 13:29:28 46f8f816bc3b: Download complete 13:29:28 df20fa9351a1: Verifying Checksum 13:29:28 df20fa9351a1: Download complete 13:29:28 93b9cdb0e59b: Verifying Checksum 13:29:28 93b9cdb0e59b: Download complete 13:29:28 5e14af77c1be: Verifying Checksum 13:29:28 5e14af77c1be: Download complete 13:29:28 01666e4c0597: Verifying Checksum 13:29:28 01666e4c0597: Download complete 13:29:28 93b61091891f: Verifying Checksum 13:29:28 93b61091891f: Download complete 13:29:29 8ad3a11d3b57: Verifying Checksum 13:29:29 8ad3a11d3b57: Download complete 13:29:29 df20fa9351a1: Pull complete 13:29:29 36b3adc4ff6f: Pull complete 13:29:29 8ad3a11d3b57: Pull complete 13:29:29 46f8f816bc3b: Pull complete 13:29:30 93b61091891f: Pull complete 13:29:30 93b9cdb0e59b: Pull complete 13:29:30 5e14af77c1be: Pull complete 13:29:30 01666e4c0597: Pull complete 13:29:31 aa168da1d23b: Verifying Checksum 13:29:31 aa168da1d23b: Download complete 13:29:35 aa168da1d23b: Pull complete 13:29:35 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 13:29:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:29:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:29:35 prd-centos7-docker-4c-2g-46 does not seem to be running inside a container 13:29:35 $ 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-960/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-960 -v /w/workspace/dgexfoundry_device-sdk-go_PR-960:/w/workspace/dgexfoundry_device-sdk-go_PR-960:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-960@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 13:29:37 $ docker top 7f20763e204c2b7cf1d11c732be50fcf56269b6351d84d4786177b972de97cdc -eo pid,comm [Pipeline] { [Pipeline] sh 13:29:37 + touch /tmp/pre-build-complete [Pipeline] sh 13:29:37 + mkdir -p /var/log/sa [Pipeline] sh 13:29:38 + ls /var/log/sa-host 13:29:38 + sadf -c /var/log/sa-host/sa05 13:29:38 file_magic: OK 13:29:38 HZ: Using current value: 100 13:29:38 file_header: OK 13:29:38 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 13:29:38 Statistics: 13:29:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 13:29:38 File successfully converted to sysstat format version 12.2.1 13:29:38 + sadf -c /var/log/sa-host/sa09 13:29:38 file_magic: OK 13:29:38 HZ: Using current value: 100 13:29:38 file_header: OK 13:29:38 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 13:29:38 Statistics: 13:29:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:29:38 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:29:38 provisioning config files... 13:29:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/config5116758814014621177tmp [Pipeline] { [Pipeline] echo 13:29:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:29:39 ---> create-netrc.sh [Pipeline] } 13:29:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:29:39 ---> python-tools-install.sh [Pipeline] echo 13:29:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:29:39 ---> sudo-logs.sh 13:29:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:29:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:29:40 ---> job-cost.sh 13:29:40 lf-activate-venv: SKIPPING 13:29:40 DEBUG: total: 0.18000000715255737 13:29:40 INFO: Retrieving Stack Cost... 13:29:40 INFO: Retrieving Pricing Info for: v3-standard-2 13:29:41 INFO: Archiving Costs [Pipeline] echo 13:29:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:29:41 ---> logs-deploy.sh 13:29:41 lf-activate-venv: SKIPPING 13:29:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-960/4 13:29:41 INFO: archiving workspace using pattern(s): 13:29:42 Archives upload complete. 13:29:42 INFO: archiving logs to Nexus