Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 20a52fbacaac4ced11138b26b759052057872cf8+70dff52b8df9807f5114cad14836e8310fd11d9c (6ee8cdd5d651fb214cc5e9f57ea0d5d590eca152) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 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.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: 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 ‘prd-centos7-docker-4c-2g-3338’ is offline Running on prd-centos7-docker-4c-2g-3340 in /w/workspace/dgexfoundry_device-sdk-go_PR-906 [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-906 # 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/906/head:refs/remotes/origin/PR-906 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 20a52fbacaac4ced11138b26b759052057872cf8 Merge succeeded, producing 93a89503f9f5babbc00087449042227e3b47a737 Checking out Revision 93a89503f9f5babbc00087449042227e3b47a737 (PR-906) > git config core.sparsecheckout # timeout=10 > git checkout -f 20a52fbacaac4ced11138b26b759052057872cf8 # 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 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93a89503f9f5babbc00087449042227e3b47a737 # timeout=10 Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" > git rev-list --no-walk 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:42:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:42:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:42:20 ========================================================= 22:42:20 EdgeX Global Pipelines Version Info 22:42:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:42:23 ------------------- 22:42:23 stable info: 22:42:23 ------------------- 22:42:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:42:23 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 22:42:23 Message: update stable to v1.0.191 22:42:24 ------------------- 22:42:24 experimental info: 22:42:24 ------------------- 22:42:24 Commited By: **** collab-it+edgex@linuxfoundation.org 22:42:24 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 22:42:24 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:42:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-906 [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-906 [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-906 [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93a89503f9f5babbc00087449042227e3b47a737 [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93a8950 [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:42:25 provisioning config files... 22:42:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/config6741120757908029817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:25 ---> docker-login.sh 22:42:25 nexus3.edgexfoundry.org:10001 22:42:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:26 Configure a credential helper to remove this warning. See 22:42:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:26 22:42:26 Login Succeeded 22:42:26 nexus3.edgexfoundry.org:10002 22:42:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:26 Configure a credential helper to remove this warning. See 22:42:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:26 22:42:26 Login Succeeded 22:42:26 nexus3.edgexfoundry.org:10003 22:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:27 Configure a credential helper to remove this warning. See 22:42:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:27 22:42:27 Login Succeeded 22:42:27 nexus3.edgexfoundry.org:10004 22:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:27 Configure a credential helper to remove this warning. See 22:42:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:27 22:42:27 Login Succeeded 22:42:27 docker.io 22:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:28 Configure a credential helper to remove this warning. See 22:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:28 22:42:28 Login Succeeded 22:42:28 ---> docker-login.sh ends [Pipeline] } 22:42:28 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 22:42:29 + git log --format=format:%s -1 93a89503f9f5babbc00087449042227e3b47a737 [Pipeline] echo 22:42:29 GIT_COMMIT: 93a89503f9f5babbc00087449042227e3b47a737, Commit Message: Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD [Pipeline] echo 22:42:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:42:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:30 22:42:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:42:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:30 latest: Pulling from edgex-devops/git-semver 22:42:30 31603596830f: Pulling fs layer 22:42:30 54011a49482f: Pulling fs layer 22:42:30 a6820b24f6d8: Pulling fs layer 22:42:30 f581987b2513: Pulling fs layer 22:42:30 54011a49482f: Verifying Checksum 22:42:30 54011a49482f: Download complete 22:42:31 31603596830f: Download complete 22:42:31 f581987b2513: Verifying Checksum 22:42:31 f581987b2513: Download complete 22:42:31 a6820b24f6d8: Verifying Checksum 22:42:31 a6820b24f6d8: Download complete 22:42:31 31603596830f: Pull complete 22:42:32 54011a49482f: Pull complete 22:42:34 a6820b24f6d8: Pull complete 22:42:34 f581987b2513: Pull complete 22:42:34 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 22:42:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:42:34 prd-centos7-docker-4c-2g-3340 does not seem to be running inside a container 22:42:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-906 -v /w/workspace/dgexfoundry_device-sdk-go_PR-906:/w/workspace/dgexfoundry_device-sdk-go_PR-906:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-906@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:42:37 $ docker top 6e96308eab1db072c0a0ce8886d6998a0ad78f3ce15bfd4502ecbf50e725bf29 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:42:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:37 [ssh-agent] Looking for ssh-agent implementation... 22:42:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:38 $ docker exec 6e96308eab1db072c0a0ce8886d6998a0ad78f3ce15bfd4502ecbf50e725bf29 ssh-agent 22:42:38 SSH_AUTH_SOCK=/tmp/ssh-o8DgJXzzEL4E/agent.11 22:42:38 SSH_AGENT_PID=16 22:42:39 Running ssh-add (command line suppressed) 22:42:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/private_key_1830730962227948451.key (/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/private_key_1830730962227948451.key) 22:42:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:39 + git tag --points-at HEAD [Pipeline] } 22:42:40 $ docker exec --env ******** --env ******** 6e96308eab1db072c0a0ce8886d6998a0ad78f3ce15bfd4502ecbf50e725bf29 ssh-agent -k 22:42:40 unset SSH_AUTH_SOCK; 22:42:40 unset SSH_AGENT_PID; 22:42:40 echo Agent pid 16 killed; 22:42:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:42:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:40 [ssh-agent] Looking for ssh-agent implementation... 22:42:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:41 $ docker exec 6e96308eab1db072c0a0ce8886d6998a0ad78f3ce15bfd4502ecbf50e725bf29 ssh-agent 22:42:41 SSH_AUTH_SOCK=/tmp/ssh-5RTt5mafeS63/agent.44 22:42:41 SSH_AGENT_PID=50 22:42:41 Running ssh-add (command line suppressed) 22:42:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/private_key_8041732407909814007.key (/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/private_key_8041732407909814007.key) 22:42:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:42 + git semver init 22:42:42 # -> Open(): unable to determine branch for HEAD 22:42:42 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-906/.git 22:42:42 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-906 22:42:42 # $SEMVER_REMOTE_NAME = origin 22:42:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:42:42 # $SEMVER_USER_NAME = edgex-jenkins 22:42:42 # $SEMVER_BRANCH = PR-906 22:42:42 # $SEMVER_TEMP = /tmp/semver-440910462 22:42:42 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:42:43 # '/tmp/semver-440910462' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-906/.semver' 22:42:43 # -> Force: false 22:42:43 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-906/.semver [Pipeline] } 22:42:43 $ docker exec --env ******** --env ******** 6e96308eab1db072c0a0ce8886d6998a0ad78f3ce15bfd4502ecbf50e725bf29 ssh-agent -k 22:42:44 unset SSH_AUTH_SOCK; 22:42:44 unset SSH_AGENT_PID; 22:42:44 echo Agent pid 50 killed; 22:42:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:42:44 + git semver [Pipeline] } 22:42:44 $ docker stop --time=1 6e96308eab1db072c0a0ce8886d6998a0ad78f3ce15bfd4502ecbf50e725bf29 22:42:46 $ docker rm -f 6e96308eab1db072c0a0ce8886d6998a0ad78f3ce15bfd4502ecbf50e725bf29 [Pipeline] // withDockerContainer [Pipeline] sh 22:42:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:42:47 Stashed 1 file(s) [Pipeline] echo 22:42:47 [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 22:43:03 Still waiting to schedule task 22:43:03 ‘prd-centos7-docker-4c-2g-3338’ is offline; ‘prd-centos7-docker-4c-2g-3344’ is offline 22:43:03 Still waiting to schedule task 22:43:03 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:44:16 Running on prd-centos7-docker-4c-2g-3347 in /w/workspace/dgexfoundry_device-sdk-go_PR-906 [Pipeline] { [Pipeline] ws 22:44:16 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 22:44:23 using credential edgex-jenkins-ssh 22:44:23 Cloning the remote Git repository 22:44:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:44:23 > git init /w/workspace/device-sdk-go/2 # timeout=10 22:44:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:23 > git --version # timeout=10 22:44:23 > git --version # 'git version 2.24.3' 22:44:23 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:25 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 20a52fbacaac4ced11138b26b759052057872cf8 22:44:25 Merge succeeded, producing db57cc00f4410da04bb0121c748ed27b0b9fdc25 22:44:25 Checking out Revision db57cc00f4410da04bb0121c748ed27b0b9fdc25 (PR-906) 22:44:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:44:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:44:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:44:24 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/906/head:refs/remotes/origin/PR-906 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:44:25 > git config core.sparsecheckout # timeout=10 22:44:25 > git checkout -f 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 22:44:25 > git remote # timeout=10 22:44:25 > git config --get remote.origin.url # timeout=10 22:44:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:44:25 > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 22:44:25 > git rev-parse HEAD^{commit} # timeout=10 22:44:25 > git config core.sparsecheckout # timeout=10 22:44:25 > git checkout -f db57cc00f4410da04bb0121c748ed27b0b9fdc25 # timeout=10 22:44:29 Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" 22:44:29 > git rev-list --no-walk 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:31 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:44:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:44:31 + sudo service docker restart 22:44:31 + true 22:44:31 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:44:33 provisioning config files... 22:44:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1911842953684948849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:33 ---> docker-login.sh 22:44:33 nexus3.edgexfoundry.org:10001 22:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:34 Configure a credential helper to remove this warning. See 22:44:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:34 22:44:34 Login Succeeded 22:44:34 nexus3.edgexfoundry.org:10002 22:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:34 Configure a credential helper to remove this warning. See 22:44:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:34 22:44:34 Login Succeeded 22:44:34 nexus3.edgexfoundry.org:10003 22:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:34 Configure a credential helper to remove this warning. See 22:44:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:34 22:44:34 Login Succeeded 22:44:34 nexus3.edgexfoundry.org:10004 22:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:35 Configure a credential helper to remove this warning. See 22:44:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:35 22:44:35 Login Succeeded 22:44:35 docker.io 22:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:35 Configure a credential helper to remove this warning. See 22:44:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:35 22:44:35 Login Succeeded 22:44:35 ---> docker-login.sh ends [Pipeline] } 22:44:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:35 ========================================================= 22:44:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:44:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:44:36 + 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 . 22:44:36 Sending build context to Docker daemon 2.482MB 22:44:36 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:44:36 Step 2/8 : FROM ${BASE} 22:44:36 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:44:36 540db60ca938: Pulling fs layer 22:44:36 adcc1eea9eea: Pulling fs layer 22:44:36 4c4ab2625f07: Pulling fs layer 22:44:36 0510c868ecb4: Pulling fs layer 22:44:36 afea3b2eda06: Pulling fs layer 22:44:36 7809a108b3ef: Pulling fs layer 22:44:36 f706445af74f: Pulling fs layer 22:44:36 0510c868ecb4: Waiting 22:44:36 afea3b2eda06: Waiting 22:44:36 7809a108b3ef: Waiting 22:44:36 f706445af74f: Waiting 22:44:36 4c4ab2625f07: Verifying Checksum 22:44:36 4c4ab2625f07: Download complete 22:44:36 adcc1eea9eea: Verifying Checksum 22:44:36 adcc1eea9eea: Download complete 22:44:36 afea3b2eda06: Verifying Checksum 22:44:36 afea3b2eda06: Download complete 22:44:36 540db60ca938: Verifying Checksum 22:44:36 540db60ca938: Download complete 22:44:36 7809a108b3ef: Verifying Checksum 22:44:36 7809a108b3ef: Download complete 22:44:37 540db60ca938: Pull complete 22:44:37 adcc1eea9eea: Pull complete 22:44:37 4c4ab2625f07: Pull complete 22:44:38 f706445af74f: Verifying Checksum 22:44:38 f706445af74f: Download complete 22:44:39 0510c868ecb4: Verifying Checksum 22:44:39 0510c868ecb4: Download complete 22:44:47 0510c868ecb4: Pull complete 22:44:47 afea3b2eda06: Pull complete 22:44:47 7809a108b3ef: Pull complete 22:44:52 f706445af74f: Pull complete 22:44:52 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 22:44:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:44:52 ---> b068be0155e3 22:44:52 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:44:52 ---> Running in a2d0c7cdbb52 22:44:52 Removing intermediate container a2d0c7cdbb52 22:44:52 ---> 743598f556ad 22:44:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:52 ---> Running in 7be1712f3aae 22:44:54 Removing intermediate container 7be1712f3aae 22:44:54 ---> df813f78a6dd 22:44:54 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:44:54 ---> Running in e4db81fd3fab 22:44:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:44:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:44:55 (1/6) Installing libc-dev (0.7.2-r3) 22:44:56 (2/6) Installing libsodium (1.0.18-r0) 22:44:56 (3/6) Installing pkgconf (1.7.3-r0) 22:44:56 (4/6) Installing libsodium-dev (1.0.18-r0) 22:44:56 (5/6) Installing libzmq (4.3.3-r1) 22:44:56 (6/6) Installing zeromq-dev (4.3.3-r1) 22:44:56 Executing busybox-1.32.1-r6.trigger 22:44:56 OK: 150 MiB in 46 packages 22:44:57 Removing intermediate container e4db81fd3fab 22:44:57 ---> 0a72391f361a 22:44:57 Step 6/8 : WORKDIR /device-sdk-go 22:44:57 ---> Running in 216d08110eb0 22:44:57 Removing intermediate container 216d08110eb0 22:44:57 ---> a09a43fc0e80 22:44:57 Step 7/8 : COPY . . 22:44:59 ---> 3b02b9f7d226 22:44:59 Step 8/8 : RUN go mod download 22:44:59 ---> Running in 90f534bb3fe1 22:45:25 Removing intermediate container 90f534bb3fe1 22:45:25 ---> 4ec4863f1e9d 22:45:25 Successfully built 4ec4863f1e9d 22:45:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:45:26 + docker inspect -f . ci-base-image-x86_64 22:45:26 . [Pipeline] withDockerContainer 22:45:26 prd-centos7-docker-4c-2g-3347 does not seem to be running inside a container 22:45:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:45:27 $ docker top df9cb19e1997c90f992de5bfa3ef49d61a443880494d6338e0cfab42bc771eda -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:27 + go version 22:45:27 go version go1.16.3 linux/amd64 [Pipeline] } 22:45:27 $ docker stop --time=1 df9cb19e1997c90f992de5bfa3ef49d61a443880494d6338e0cfab42bc771eda 22:45:29 $ docker rm -f df9cb19e1997c90f992de5bfa3ef49d61a443880494d6338e0cfab42bc771eda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:45:29 + docker inspect -f . ci-base-image-x86_64 22:45:29 . [Pipeline] withDockerContainer 22:45:29 prd-centos7-docker-4c-2g-3347 does not seem to be running inside a container 22:45:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:45:30 $ docker top ee86b8c118903c3824e01c70a11ea0117258ea81c9c73e413753e4e84fd4de36 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:31 + go mod tidy [Pipeline] sh 22:45:32 + make test 22:45:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:45:42 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:45:49 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3350 in /w/workspace/dgexfoundry_device-sdk-go_PR-906 [Pipeline] { [Pipeline] ws 22:45:49 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 22:45:54 using credential edgex-jenkins-ssh 22:45:54 Cloning the remote Git repository 22:45:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:45:55 > git init /w/workspace/device-sdk-go/2 # timeout=10 22:45:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:55 > git --version # timeout=10 22:45:55 > git --version # 'git version 2.17.1' 22:45:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:56 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/906/head:refs/remotes/origin/PR-906 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:45:57 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 20a52fbacaac4ced11138b26b759052057872cf8 22:45:57 Merge succeeded, producing e2aa0f23c98fdb1602f6d3b49d7c1d83d5602df5 22:45:57 Checking out Revision e2aa0f23c98fdb1602f6d3b49d7c1d83d5602df5 (PR-906) 22:45:57 > git config core.sparsecheckout # timeout=10 22:45:57 > git checkout -f 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 22:45:57 > git remote # timeout=10 22:45:57 > git config --get remote.origin.url # timeout=10 22:45:57 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:57 > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 22:45:57 > git rev-parse HEAD^{commit} # timeout=10 22:45:57 > git config core.sparsecheckout # timeout=10 22:45:57 > git checkout -f e2aa0f23c98fdb1602f6d3b49d7c1d83d5602df5 # timeout=10 22:46:01 Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" 22:46:02 > git rev-list --no-walk 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:46:03 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:46:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:46:04 + + true 22:46:04 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:46:07 provisioning config files... 22:46:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config368505415699588473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:07 ---> docker-login.sh 22:46:07 nexus3.edgexfoundry.org:10001 22:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:08 Configure a credential helper to remove this warning. See 22:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:08 22:46:08 Login Succeeded 22:46:08 nexus3.edgexfoundry.org:10002 22:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:08 Configure a credential helper to remove this warning. See 22:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:08 22:46:08 Login Succeeded 22:46:08 nexus3.edgexfoundry.org:10003 22:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:09 Configure a credential helper to remove this warning. See 22:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:09 22:46:09 Login Succeeded 22:46:09 nexus3.edgexfoundry.org:10004 22:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:10 Configure a credential helper to remove this warning. See 22:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:10 22:46:10 Login Succeeded 22:46:10 docker.io 22:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:10 Configure a credential helper to remove this warning. See 22:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:10 22:46:10 Login Succeeded 22:46:10 ---> docker-login.sh ends [Pipeline] } 22:46:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:46:10 ========================================================= 22:46:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:46:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:46:11 + 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 . 22:46:11 Sending build context to Docker daemon 2.47MB 22:46:11 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:46:11 Step 2/8 : FROM ${BASE} 22:46:11 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:46:11 595b0fe564bb: Pulling fs layer 22:46:11 7186ed65a4f7: Pulling fs layer 22:46:11 316046926c0a: Pulling fs layer 22:46:11 4ebd0625c992: Pulling fs layer 22:46:11 207e8628e3a3: Pulling fs layer 22:46:11 c791037a9be2: Pulling fs layer 22:46:11 ffd874e62e21: Pulling fs layer 22:46:11 207e8628e3a3: Waiting 22:46:11 c791037a9be2: Waiting 22:46:11 ffd874e62e21: Waiting 22:46:11 4ebd0625c992: Waiting 22:46:11 316046926c0a: Verifying Checksum 22:46:11 316046926c0a: Download complete 22:46:11 7186ed65a4f7: Verifying Checksum 22:46:11 7186ed65a4f7: Download complete 22:46:11 207e8628e3a3: Download complete 22:46:11 c791037a9be2: Verifying Checksum 22:46:11 c791037a9be2: Download complete 22:46:11 595b0fe564bb: Verifying Checksum 22:46:11 595b0fe564bb: Download complete 22:46:12 595b0fe564bb: Pull complete 22:46:13 7186ed65a4f7: Pull complete 22:46:13 316046926c0a: Pull complete 22:46:13 ffd874e62e21: Download complete 22:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:46:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.130s coverage: 28.1% of statements 22:46:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.158s coverage: 78.9% of statements 22:46:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.072s coverage: 7.8% of statements 22:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:46:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.122s coverage: 30.2% of statements 22:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:46:15 4ebd0625c992: Verifying Checksum 22:46:15 4ebd0625c992: Download complete 22:46:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.168s coverage: 57.2% of statements 22:46:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.356s coverage: 6.6% of statements 22:46:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.063s coverage: 5.0% of statements 22:46:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:46:17 GO111MODULE=on go vet ./... 22:46:26 4ebd0625c992: Pull complete 22:46:26 207e8628e3a3: Pull complete 22:46:26 c791037a9be2: Pull complete 22:46:29 ffd874e62e21: Pull complete 22:46:29 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 22:46:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:46:29 ---> cfc18b08335c 22:46:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:46:32 ---> Running in b0ca0beb773f 22:46:32 Removing intermediate container b0ca0beb773f 22:46:32 ---> 7d470b0a6673 22:46:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:33 ---> Running in c6a4730c72d3 22:46:35 Removing intermediate container c6a4730c72d3 22:46:35 ---> 5c1b3af4aaad 22:46:35 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:46:35 ---> Running in d63fa79851cd 22:46:36 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:46:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:46:38 (1/6) Installing libc-dev (0.7.2-r3) 22:46:39 (2/6) Installing libsodium (1.0.18-r0) 22:46:39 (3/6) Installing pkgconf (1.7.3-r0) 22:46:39 (4/6) Installing libsodium-dev (1.0.18-r0) 22:46:39 (5/6) Installing libzmq (4.3.3-r1) 22:46:39 (6/6) Installing zeromq-dev (4.3.3-r1) 22:46:39 Executing busybox-1.32.1-r6.trigger 22:46:39 OK: 139 MiB in 46 packages 22:46:40 gofmt -l . 22:46:40 [ "`gofmt -l .`" = "" ] 22:46:40 ./bin/test-attribution-txt.sh 22:46:41 Removing intermediate container d63fa79851cd 22:46:41 ---> 44284d512fe7 22:46:41 Step 6/8 : WORKDIR /device-sdk-go 22:46:41 ---> Running in 7eb12ad4f664 22:46:41 ./bin/test-go-mod-tidy.sh 22:46:41 Removing intermediate container 7eb12ad4f664 22:46:41 ---> 5980972b2fba 22:46:41 Step 7/8 : COPY . . [Pipeline] } 22:46:42 $ docker stop --time=1 ee86b8c118903c3824e01c70a11ea0117258ea81c9c73e413753e4e84fd4de36 22:46:43 ---> 791bf48b450e 22:46:43 Step 8/8 : RUN go mod download 22:46:43 ---> Running in 45867e705f2b 22:46:43 $ docker rm -f ee86b8c118903c3824e01c70a11ea0117258ea81c9c73e413753e4e84fd4de36 [Pipeline] // withDockerContainer [Pipeline] sh 22:46:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:46:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:46:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:46:46 + ls -al . 22:46:46 total 188 22:46:46 drwxrwxr-x. 10 jenkins jenkins 4096 May 6 22:46 . 22:46:46 drwxrwxr-x. 4 jenkins jenkins 28 May 6 22:44 .. 22:46:46 drwxrwxr-x. 2 jenkins jenkins 64 May 6 22:44 bin 22:46:46 -rw-r--r--. 1 jenkins jenkins 100320 May 6 22:46 coverage.out 22:46:46 -rw-rw-r--. 1 jenkins jenkins 987 May 6 22:44 Dockerfile.build 22:46:46 -rw-rw-r--. 1 jenkins jenkins 140 May 6 22:44 .dockerignore 22:46:46 drwxrwxr-x. 5 jenkins jenkins 62 May 6 22:44 example 22:46:46 drwxrwxr-x. 8 jenkins jenkins 179 May 6 22:44 .git 22:46:46 drwxrwxr-x. 2 jenkins jenkins 103 May 6 22:44 .github 22:46:46 -rw-rw-r--. 1 jenkins jenkins 138 May 6 22:44 .gitignore 22:46:46 -rw-r--r--. 1 jenkins jenkins 575 May 6 22:46 go.mod 22:46:46 -rw-r--r--. 1 jenkins jenkins 20675 May 6 22:45 go.sum 22:46:46 drwxrwxr-x. 14 jenkins jenkins 207 May 6 22:44 internal 22:46:46 -rw-rw-r--. 1 jenkins jenkins 901 May 6 22:44 Jenkinsfile 22:46:46 -rw-rw-r--. 1 jenkins jenkins 11341 May 6 22:44 LICENSE 22:46:46 -rw-rw-r--. 1 jenkins jenkins 1022 May 6 22:44 Makefile 22:46:46 drwxrwxr-x. 4 jenkins jenkins 26 May 6 22:44 openapi 22:46:46 drwxrwxr-x. 5 jenkins jenkins 50 May 6 22:44 pkg 22:46:46 -rw-rw-r--. 1 jenkins jenkins 7652 May 6 22:44 README.md 22:46:46 -rw-rw-r--. 1 jenkins jenkins 6616 May 6 22:44 RELEASE-NOTES.txt 22:46:46 drwxrwxr-x. 4 jenkins jenkins 54 May 6 22:44 snap 22:46:46 -rw-rw-r--. 1 jenkins jenkins 5 May 6 22:42 VERSION 22:46:46 -rw-rw-r--. 1 jenkins jenkins 222 May 6 22:44 version.go [Pipeline] isUnix [Pipeline] sh 22:46:46 + docker build -t docker-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=93a89503f9f5babbc00087449042227e3b47a737 --label arch=amd64 --label version=0.0.0 . 22:46:46 Sending build context to Docker daemon 2.583MB 22:46:46 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:46:46 Step 2/23 : FROM ${BASE} AS builder 22:46:46 ---> 4ec4863f1e9d 22:46:46 Step 3/23 : WORKDIR /device-sdk-go 22:46:47 ---> Running in 5e88075dee46 22:46:47 Removing intermediate container 5e88075dee46 22:46:47 ---> ebe2df2296a9 22:46:47 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:46:47 ---> Running in 0aa1a08584c2 22:46:47 Removing intermediate container 0aa1a08584c2 22:46:47 ---> 558257b4cd5f 22:46:47 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:47 ---> Running in 1c8af53c288c 22:46:48 Removing intermediate container 1c8af53c288c 22:46:48 ---> e80102432b3e 22:46:48 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:46:48 ---> Running in a53bd30661f9 22:46:49 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:46:50 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:46:51 OK: 150 MiB in 46 packages 22:46:52 Removing intermediate container a53bd30661f9 22:46:52 ---> 4959937a5629 22:46:52 Step 7/23 : COPY . . 22:46:53 ---> 7f9f9ab2ce51 22:46:53 Step 8/23 : RUN go mod download 22:46:53 ---> Running in 7eb79e464c6c 22:46:54 Removing intermediate container 7eb79e464c6c 22:46:54 ---> ac39410c6a65 22:46:54 Step 9/23 : RUN make build 22:46:54 ---> Running in 9ac3ac49e407 22:46:54 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 22:47:10 Removing intermediate container 45867e705f2b 22:47:10 ---> 0e482914f44e 22:47:10 Successfully built 0e482914f44e 22:47:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:47:10 + docker inspect -f . ci-base-image-arm64 22:47:10 . [Pipeline] withDockerContainer 22:47:10 prd-ubuntu18.04-docker-arm64-4c-16g-3350 does not seem to be running inside a container 22:47:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:47:12 $ docker top 1a0672fdd44237458f5494b12c624e5b67539c5713ff4d2d4c395a24787f8e36 -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:13 + go version 22:47:13 go version go1.16.3 linux/arm64 [Pipeline] } 22:47:13 $ docker stop --time=1 1a0672fdd44237458f5494b12c624e5b67539c5713ff4d2d4c395a24787f8e36 22:47:13 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:47:13 Removing intermediate container 9ac3ac49e407 22:47:13 ---> 74ae54622fc3 22:47:13 Step 10/23 : FROM alpine:3.12 22:47:14 3.12: Pulling from library/alpine 22:47:14 339de151aab4: Pulling fs layer 22:47:14 339de151aab4: Verifying Checksum 22:47:14 339de151aab4: Download complete 22:47:14 339de151aab4: Pull complete 22:47:14 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:47:14 Status: Downloaded newer image for alpine:3.12 22:47:14 ---> 13621d1b12d4 22:47:14 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:15 ---> Running in f5fab85e6299 22:47:15 $ docker rm -f 1a0672fdd44237458f5494b12c624e5b67539c5713ff4d2d4c395a24787f8e36 22:47:15 Removing intermediate container f5fab85e6299 22:47:15 ---> 0c53bfbb5549 22:47:15 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:15 ---> Running in e48327f05b55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:47:16 + docker inspect -f . ci-base-image-arm64 22:47:16 . [Pipeline] withDockerContainer 22:47:16 prd-ubuntu18.04-docker-arm64-4c-16g-3350 does not seem to be running inside a container 22:47:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:47:17 Removing intermediate container e48327f05b55 22:47:17 ---> a41c69a8c4be 22:47:17 Step 13/23 : RUN apk add --update --no-cache zeromq 22:47:17 ---> Running in 5c4b40cf4f0e 22:47:17 $ docker top ba9abeb083937079ded42970fbb2e14d6a29f40f00563b6ede4c76619acfe91c -eo pid,comm 22:47:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh 22:47:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:47:18 + go mod tidy 22:47:19 (1/5) Installing libgcc (9.3.0-r2) 22:47:19 (2/5) Installing libsodium (1.0.18-r0) [Pipeline] sh 22:47:19 (3/5) Installing libstdc++ (9.3.0-r2) 22:47:19 (4/5) Installing libzmq (4.3.3-r0) 22:47:19 (5/5) Installing zeromq (4.3.3-r0) 22:47:19 Executing busybox-1.31.1-r20.trigger 22:47:19 OK: 8 MiB in 19 packages 22:47:20 + make test 22:47:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:47:20 Removing intermediate container 5c4b40cf4f0e 22:47:20 ---> ae182c782b33 22:47:20 Step 14/23 : WORKDIR / 22:47:20 ---> Running in 35f67a38ea91 22:47:20 Removing intermediate container 35f67a38ea91 22:47:20 ---> d842fb5c2755 22:47:20 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:47:20 ---> c6e1da9cf639 22:47:20 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:47:22 ---> 5df7c83f5945 22:47:22 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:47:22 ---> 049e161f8bf1 22:47:22 Step 18/23 : EXPOSE 49990 22:47:22 ---> Running in c857c8292645 22:47:22 Removing intermediate container c857c8292645 22:47:22 ---> 3166b2c0680a 22:47:22 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:47:22 ---> Running in cf8308f0c5e5 22:47:23 Removing intermediate container cf8308f0c5e5 22:47:23 ---> 0f5eba881bb6 22:47:23 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:47:23 ---> Running in c751e769dc6b 22:47:23 Removing intermediate container c751e769dc6b 22:47:23 ---> 4be605c970bc 22:47:23 Step 21/23 : LABEL arch=amd64 22:47:23 ---> Running in 5f4709912834 22:47:23 Removing intermediate container 5f4709912834 22:47:23 ---> 5eb7c72172bd 22:47:23 Step 22/23 : LABEL git_sha=93a89503f9f5babbc00087449042227e3b47a737 22:47:23 ---> Running in 2b77004c5791 22:47:23 Removing intermediate container 2b77004c5791 22:47:23 ---> 657f5419a972 22:47:23 Step 23/23 : LABEL version=0.0.0 22:47:23 ---> Running in f4d88edaba09 22:47:23 Removing intermediate container f4d88edaba09 22:47:23 ---> 709845f52b3d 22:47:23 [Warning] One or more build-args [ARCH MAKE] were not consumed 22:47:23 Successfully built 709845f52b3d 22:47:23 Successfully tagged docker-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] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 22:47:24 ---> job-cost.sh 22:47:24 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6SJI 22:47:42 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:47:42 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:48:21 lf-activate-venv(): INFO: Adding /tmp/venv-6SJI/bin to PATH 22:48:21 INFO: No Stack... 22:48:21 INFO: Retrieving Pricing Info for: v1-standard-2 22:48:21 INFO: Archiving Costs [Pipeline] sh 22:48:22 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 22:48:22 + cut -d, -f6 [Pipeline] lock 22:48:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-906-2-stack-cost] 22:48:22 Resource [jenkins-edgexfoundry-device-sdk-go-PR-906-2-stack-cost] did not exist. Created. 22:48:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-906-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:48:22 + echo total: 0.029999999329447746 [Pipeline] stash 22:48:22 Stashed 1 file(s) [Pipeline] } 22:48:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-906-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:48:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:48:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:48:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:48:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:48:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:48:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.140s coverage: 28.1% of statements 22:48:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.195s coverage: 78.9% of statements 22:48:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.184s coverage: 7.8% of statements 22:48:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:48:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:48:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:48:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.222s coverage: 30.2% of statements 22:48:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:48:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:48:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:48:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.313s coverage: 57.2% of statements 22:48:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.183s coverage: 6.6% of statements 22:48:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.161s coverage: 5.0% of statements 22:48:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:49:00 GO111MODULE=on go vet ./... 22:49:57 gofmt -l . 22:49:57 [ "`gofmt -l .`" = "" ] 22:49:57 ./bin/test-attribution-txt.sh 22:49:57 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:49:57 $ docker stop --time=1 ba9abeb083937079ded42970fbb2e14d6a29f40f00563b6ede4c76619acfe91c 22:49:59 $ docker rm -f ba9abeb083937079ded42970fbb2e14d6a29f40f00563b6ede4c76619acfe91c [Pipeline] // withDockerContainer [Pipeline] sh 22:50:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:50:00 Warning: overwriting stash ‘coverage-report’ 22:50:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:50:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:50:02 + ls -al . 22:50:02 total 224 22:50:02 drwxrwxr-x 10 jenkins jenkins 4096 May 6 22:49 . 22:50:02 drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:45 .. 22:50:02 -rw-rw-r-- 1 jenkins jenkins 140 May 6 22:45 .dockerignore 22:50:02 drwxrwxr-x 8 jenkins jenkins 4096 May 6 22:46 .git 22:50:02 drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:45 .github 22:50:02 -rw-rw-r-- 1 jenkins jenkins 138 May 6 22:45 .gitignore 22:50:02 -rw-rw-r-- 1 jenkins jenkins 987 May 6 22:45 Dockerfile.build 22:50:02 -rw-rw-r-- 1 jenkins jenkins 901 May 6 22:45 Jenkinsfile 22:50:02 -rw-rw-r-- 1 jenkins jenkins 11341 May 6 22:45 LICENSE 22:50:02 -rw-rw-r-- 1 jenkins jenkins 1022 May 6 22:45 Makefile 22:50:02 -rw-rw-r-- 1 jenkins jenkins 7652 May 6 22:45 README.md 22:50:02 -rw-rw-r-- 1 jenkins jenkins 6616 May 6 22:45 RELEASE-NOTES.txt 22:50:02 -rw-rw-r-- 1 jenkins jenkins 5 May 6 22:42 VERSION 22:50:02 drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:45 bin 22:50:02 -rw-r--r-- 1 jenkins jenkins 100320 May 6 22:48 coverage.out 22:50:02 drwxrwxr-x 5 jenkins jenkins 4096 May 6 22:45 example 22:50:02 -rw-r--r-- 1 jenkins jenkins 575 May 6 22:49 go.mod 22:50:02 -rw-r--r-- 1 jenkins jenkins 20675 May 6 22:47 go.sum 22:50:02 drwxrwxr-x 14 jenkins jenkins 4096 May 6 22:45 internal 22:50:02 drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:45 openapi 22:50:02 drwxrwxr-x 5 jenkins jenkins 4096 May 6 22:45 pkg 22:50:02 drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:45 snap 22:50:02 -rw-rw-r-- 1 jenkins jenkins 222 May 6 22:45 version.go [Pipeline] isUnix [Pipeline] sh 22:50:02 + docker build -t docker-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=93a89503f9f5babbc00087449042227e3b47a737 --label arch=arm64 --label version=0.0.0 . 22:50:03 Sending build context to Docker daemon 2.571MB 22:50:03 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:50:03 Step 2/23 : FROM ${BASE} AS builder 22:50:03 ---> 0e482914f44e 22:50:03 Step 3/23 : WORKDIR /device-sdk-go 22:50:03 ---> Running in 0c94652e22f0 22:50:04 Removing intermediate container 0c94652e22f0 22:50:04 ---> f8edb2034a2a 22:50:04 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:50:04 ---> Running in d8e1fead3562 22:50:04 Removing intermediate container d8e1fead3562 22:50:04 ---> 821fe6d9622d 22:50:04 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:04 ---> Running in 7625b1122910 22:50:07 Removing intermediate container 7625b1122910 22:50:07 ---> 13ab1fa18039 22:50:07 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:50:07 ---> Running in 985095ad8492 22:50:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:50:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:50:10 OK: 139 MiB in 46 packages 22:50:11 Removing intermediate container 985095ad8492 22:50:11 ---> 8429d666c615 22:50:11 Step 7/23 : COPY . . 22:50:13 ---> 4869dfb5a395 22:50:13 Step 8/23 : RUN go mod download 22:50:13 ---> Running in d7326ff4dc1d 22:50:14 Removing intermediate container d7326ff4dc1d 22:50:14 ---> 128eec4b14c2 22:50:14 Step 9/23 : RUN make build 22:50:14 ---> Running in fd4dff84bc27 22:50:16 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 22:50:49 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:50:51 Removing intermediate container fd4dff84bc27 22:50:51 ---> 2c285ffd2793 22:50:51 Step 10/23 : FROM alpine:3.12 22:50:51 3.12: Pulling from library/alpine 22:50:51 d2f70382dc9a: Pulling fs layer 22:50:52 d2f70382dc9a: Verifying Checksum 22:50:52 d2f70382dc9a: Download complete 22:50:52 d2f70382dc9a: Pull complete 22:50:52 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:50:52 Status: Downloaded newer image for alpine:3.12 22:50:52 ---> 9852663dfa18 22:50:52 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:50:52 ---> Running in 687e46baf2fe 22:50:53 Removing intermediate container 687e46baf2fe 22:50:53 ---> 34929631cfea 22:50:53 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:53 ---> Running in f2268f8b7da5 22:50:55 Removing intermediate container f2268f8b7da5 22:50:55 ---> 974aa6b8d17d 22:50:55 Step 13/23 : RUN apk add --update --no-cache zeromq 22:50:55 ---> Running in 0842531a1a41 22:50:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:50:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:50:58 (1/5) Installing libgcc (9.3.0-r2) 22:50:58 (2/5) Installing libsodium (1.0.18-r0) 22:50:58 (3/5) Installing libstdc++ (9.3.0-r2) 22:50:58 (4/5) Installing libzmq (4.3.3-r0) 22:50:58 (5/5) Installing zeromq (4.3.3-r0) 22:50:58 Executing busybox-1.31.1-r20.trigger 22:50:58 OK: 8 MiB in 19 packages 22:51:00 Removing intermediate container 0842531a1a41 22:51:00 ---> 057f3155fd98 22:51:00 Step 14/23 : WORKDIR / 22:51:00 ---> Running in ed9fced95a0f 22:51:00 Removing intermediate container ed9fced95a0f 22:51:00 ---> 9d702a29abfe 22:51:00 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:51:01 ---> b78203c2185a 22:51:01 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:51:02 ---> 0966e58da147 22:51:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:51:03 ---> 1954dc3440b1 22:51:03 Step 18/23 : EXPOSE 49990 22:51:03 ---> Running in c56a178b8316 22:51:04 Removing intermediate container c56a178b8316 22:51:04 ---> 3835c28b1f35 22:51:04 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:51:04 ---> Running in adb36aa31b22 22:51:04 Removing intermediate container adb36aa31b22 22:51:04 ---> d5652d45051c 22:51:04 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:51:04 ---> Running in 85497e0299dd 22:51:05 Removing intermediate container 85497e0299dd 22:51:05 ---> 8c6d3176e9a9 22:51:05 Step 21/23 : LABEL arch=arm64 22:51:05 ---> Running in 79ea5c4b38f3 22:51:05 Removing intermediate container 79ea5c4b38f3 22:51:05 ---> ffef1a6b104b 22:51:05 Step 22/23 : LABEL git_sha=93a89503f9f5babbc00087449042227e3b47a737 22:51:05 ---> Running in 87c154fd696f 22:51:06 Removing intermediate container 87c154fd696f 22:51:06 ---> 8f51d2861d57 22:51:06 Step 23/23 : LABEL version=0.0.0 22:51:06 ---> Running in a59c62314241 22:51:07 Removing intermediate container a59c62314241 22:51:07 ---> ac255b7abb06 22:51:07 [Warning] One or more build-args [ARCH MAKE] were not consumed 22:51:07 Successfully built ac255b7abb06 22:51:07 Successfully tagged docker-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 22:51:07 ---> job-cost.sh 22:51:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3pjj 22:51:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:53:08 lf-activate-venv(): INFO: Adding /tmp/venv-3pjj/bin to PATH 22:53:08 INFO: No Stack... 22:53:08 INFO: Retrieving Pricing Info for: lf-standard-4 22:53:08 INFO: Archiving Costs [Pipeline] sh 22:53:08 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 22:53:08 + cut -d, -f6 [Pipeline] lock 22:53:08 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-906-2-stack-cost] 22:53:08 Resource [jenkins-edgexfoundry-device-sdk-go-PR-906-2-stack-cost] did not exist. Created. 22:53:08 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-906-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:53:09 /w/workspace/device-sdk-go/2@tmp/durable-85129820/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-85129820/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:53:09 + echo total: 0.20999999344348907 [Pipeline] stash 22:53:09 Warning: overwriting stash ‘stack-cost’ 22:53:09 Stashed 1 file(s) [Pipeline] } 22:53:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-906-2-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] wrap 22:53:10 provisioning config files... 22:53:10 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/config5035298564884126474tmp [Pipeline] { [Pipeline] sh 22:53:10 + set +x 22:53:10 + bash -s -- 22:53:10 + curl -s https://codecov.io/bash 22:53:11 22:53:11 _____ _ 22:53:11 / ____| | | 22:53:11 | | ___ __| | ___ ___ _____ __ 22:53:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:53:11 | |___| (_) | (_| | __/ (_| (_) \ V / 22:53:11 \_____\___/ \__,_|\___|\___\___/ \_/ 22:53:11 Bash-1.0.2 22:53:11 22:53:11 22:53:11 ==> git version 2.24.3 found 22:53:11 ==> 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 22:53:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:53:11 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:53:11 ==> Jenkins CI detected. 22:53:11 project root: . 22:53:11 --> token set from env 22:53:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:53:11 ==> Running gcov in . (disable via -X gcov) 22:53:11 ==> Python coveragepy not found 22:53:11 ==> Searching for coverage reports in: 22:53:11 + . 22:53:11 -> Found 1 reports 22:53:11 ==> Detecting git/mercurial file structure 22:53:11 ==> Reading reports 22:53:11 + ./coverage.out bytes=100320 22:53:11 ==> Appending adjustments 22:53:11 https://docs.codecov.io/docs/fixing-reports 22:53:12 + Found adjustments 22:53:12 ==> Gzipping contents 22:53:12 16K /tmp/codecov.iOWBrK.gz 22:53:12 ==> Uploading reports 22:53:12 url: https://codecov.io 22:53:12 query: branch=PR-906&commit=93a89503f9f5babbc00087449042227e3b47a737&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-906%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=906&job=&cmd_args= 22:53:12 -> Pinging Codecov 22:53:12 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-906&commit=93a89503f9f5babbc00087449042227e3b47a737&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-906%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=906&job=&cmd_args= 22:53:13 -> Uploading to 22:53:13 https://storage.googleapis.com/codecov/v4/raw/2021-05-06/7E55EF52A471D76F132DFD9A03CDDE97/93a89503f9f5babbc00087449042227e3b47a737/9767961a-8b31-4721-a388-8530cb63e367.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T225312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e188985468ab7238ae242732de480cf1e7d02f6262b50b58d2ec7796c190840 22:53:13 % Total % Received % Xferd Average Speed Time Time Time Current 22:53:13 Dload Upload Total Spent Left Speed 22:53:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13524 0 0 100 13524 0 25880 --:--:-- --:--:-- --:--:-- 25908 22:53:13 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/93a89503f9f5babbc00087449042227e3b47a737 [Pipeline] } 22:53:13 Deleting 1 temporary files [Pipeline] // wrap [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 22:53:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:53:15 ---> package-listing.sh 22:53:15 ++ facter osfamily 22:53:15 ++ tr '[:upper:]' '[:lower:]' 22:53:15 + OS_FAMILY=redhat 22:53:15 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-906 22:53:15 + START_PACKAGES=/tmp/packages_start.txt 22:53:15 + END_PACKAGES=/tmp/packages_end.txt 22:53:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:53:15 + PACKAGES=/tmp/packages_start.txt 22:53:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-906 ']' 22:53:15 + PACKAGES=/tmp/packages_end.txt 22:53:15 + case "${OS_FAMILY}" in 22:53:15 + sort 22:53:15 + rpm -qa 22:53:22 + '[' -f /tmp/packages_start.txt ']' 22:53:22 + '[' -f /tmp/packages_end.txt ']' 22:53:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:53:22 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-906 ']' 22:53:22 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-906/archives/ 22:53:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-906/archives/ [Pipeline] echo 22:53:22 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-906/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:53:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:53:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:53:23 22:53:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:53:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:53:23 alpine: Pulling from edgex-lftools-log-publisher 22:53:23 df20fa9351a1: Pulling fs layer 22:53:23 36b3adc4ff6f: Pulling fs layer 22:53:23 8ad3a11d3b57: Pulling fs layer 22:53:23 46f8f816bc3b: Pulling fs layer 22:53:23 93b61091891f: Pulling fs layer 22:53:23 93b9cdb0e59b: Pulling fs layer 22:53:23 5e14af77c1be: Pulling fs layer 22:53:23 01666e4c0597: Pulling fs layer 22:53:23 aa168da1d23b: Pulling fs layer 22:53:23 5e14af77c1be: Waiting 22:53:23 01666e4c0597: Waiting 22:53:23 93b9cdb0e59b: Waiting 22:53:23 93b61091891f: Waiting 22:53:23 46f8f816bc3b: Waiting 22:53:24 36b3adc4ff6f: Verifying Checksum 22:53:24 36b3adc4ff6f: Download complete 22:53:24 46f8f816bc3b: Download complete 22:53:24 df20fa9351a1: Download complete 22:53:24 93b9cdb0e59b: Verifying Checksum 22:53:24 93b9cdb0e59b: Download complete 22:53:24 5e14af77c1be: Verifying Checksum 22:53:24 5e14af77c1be: Download complete 22:53:24 01666e4c0597: Verifying Checksum 22:53:24 01666e4c0597: Download complete 22:53:24 93b61091891f: Verifying Checksum 22:53:24 93b61091891f: Download complete 22:53:25 df20fa9351a1: Pull complete 22:53:26 36b3adc4ff6f: Pull complete 22:53:26 8ad3a11d3b57: Verifying Checksum 22:53:26 8ad3a11d3b57: Download complete 22:53:28 8ad3a11d3b57: Pull complete 22:53:29 46f8f816bc3b: Pull complete 22:53:30 93b61091891f: Pull complete 22:53:30 93b9cdb0e59b: Pull complete 22:53:31 5e14af77c1be: Pull complete 22:53:31 01666e4c0597: Pull complete 22:53:32 aa168da1d23b: Verifying Checksum 22:53:32 aa168da1d23b: Download complete 22:53:51 aa168da1d23b: Pull complete 22:53:51 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:53:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:53:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:53:52 prd-centos7-docker-4c-2g-3340 does not seem to be running inside a container 22:53:52 $ 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-906/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-906 -v /w/workspace/dgexfoundry_device-sdk-go_PR-906:/w/workspace/dgexfoundry_device-sdk-go_PR-906:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-906@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:53:55 $ docker top cc8b0a050c5150ce1baf61c9caa6470dfab03f5203031bd65d660179f456641f -eo pid,comm [Pipeline] { [Pipeline] sh 22:53:56 + touch /tmp/pre-build-complete [Pipeline] sh 22:53:56 + mkdir -p /var/log/sa [Pipeline] sh 22:53:57 + ls /var/log/sa-host 22:53:57 + sadf -c /var/log/sa-host/sa06 22:53:57 file_magic: OK 22:53:57 HZ: Using current value: 100 22:53:57 file_header: OK 22:53:57 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:53:57 Statistics: 22:53:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:53:57 File successfully converted to sysstat format version 12.2.1 22:53:57 + sadf -c /var/log/sa-host/sa23 22:53:57 file_magic: OK 22:53:57 HZ: Using current value: 100 22:53:57 file_header: OK 22:53:57 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:53:57 Statistics: 22:53:57 Hnuu...uuuununununu... 22:53:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:53:57 provisioning config files... 22:53:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/config6152808221826892141tmp [Pipeline] { [Pipeline] echo 22:53:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:53:58 ---> create-netrc.sh [Pipeline] } 22:53:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:53:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:53:59 ---> python-tools-install.sh [Pipeline] echo 22:53:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:53:59 ---> sudo-logs.sh 22:53:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:53:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:54:00 ---> job-cost.sh 22:54:00 lf-activate-venv: SKIPPING 22:54:00 DEBUG: total: 0.20999999344348907 22:54:00 INFO: Retrieving Stack Cost... 22:54:01 INFO: Retrieving Pricing Info for: v1-standard-2 22:54:02 INFO: Archiving Costs [Pipeline] echo 22:54:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:54:03 ---> logs-deploy.sh 22:54:03 lf-activate-venv: SKIPPING 22:54:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-906/2 22:54:03 INFO: archiving workspace using pattern(s): 22:54:06 Archives upload complete. 22:54:06 INFO: archiving logs to Nexus