Pull request #907 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 692b28680fefed51e933ff85e2bc551ffbcd2762+70dff52b8df9807f5114cad14836e8310fd11d9c (6a1b3f45d54033c6976c375525d82e01e2c871ee) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3657 in /w/workspace/dgexfoundry_device-sdk-go_PR-907 [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-907 # 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 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 692b28680fefed51e933ff85e2bc551ffbcd2762 Merge succeeded, producing 692b28680fefed51e933ff85e2bc551ffbcd2762 Checking out Revision 692b28680fefed51e933ff85e2bc551ffbcd2762 (PR-907) > 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/907/head:refs/remotes/origin/PR-907 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 692b28680fefed51e933ff85e2bc551ffbcd2762 # 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 692b28680fefed51e933ff85e2bc551ffbcd2762 # timeout=10 Commit message: "fix: Addressed PR feedback" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:35:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:35:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:35:26 ========================================================= 20:35:26 EdgeX Global Pipelines Version Info 20:35:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 11d87cd80a1885e9eab7a16acd349efd5263f67d # timeout=10 20:35:29 ------------------- 20:35:29 stable info: 20:35:29 ------------------- 20:35:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:35:29 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 20:35:29 Message: update stable to v1.0.191 20:35:30 ------------------- 20:35:30 experimental info: 20:35:30 ------------------- 20:35:30 Commited By: **** collab-it+edgex@linuxfoundation.org 20:35:30 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 20:35:30 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-907 [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-907 [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-907 [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 692b28680fefed51e933ff85e2bc551ffbcd2762 [Pipeline] echo 20:35:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 692b286 [Pipeline] echo 20:35:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:35:32 provisioning config files... 20:35:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/config2021937510876588451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:32 ---> docker-login.sh 20:35:32 nexus3.edgexfoundry.org:10001 20:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:33 Configure a credential helper to remove this warning. See 20:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:33 20:35:33 Login Succeeded 20:35:33 nexus3.edgexfoundry.org:10002 20:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:34 Configure a credential helper to remove this warning. See 20:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:34 20:35:34 Login Succeeded 20:35:34 nexus3.edgexfoundry.org:10003 20:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:34 Configure a credential helper to remove this warning. See 20:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:34 20:35:34 Login Succeeded 20:35:34 nexus3.edgexfoundry.org:10004 20:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:35 Configure a credential helper to remove this warning. See 20:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:35 20:35:35 Login Succeeded 20:35:35 docker.io 20:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:35:36 Configure a credential helper to remove this warning. See 20:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:35:36 20:35:36 Login Succeeded 20:35:36 ---> docker-login.sh ends [Pipeline] } 20:35:36 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 20:35:36 + git log --format=format:%s -1 692b28680fefed51e933ff85e2bc551ffbcd2762 [Pipeline] echo 20:35:36 GIT_COMMIT: 692b28680fefed51e933ff85e2bc551ffbcd2762, Commit Message: fix: Addressed PR feedback [Pipeline] echo 20:35:36 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:35:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:35:38 20:35:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:35:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:35:38 latest: Pulling from edgex-devops/git-semver 20:35:38 31603596830f: Pulling fs layer 20:35:38 54011a49482f: Pulling fs layer 20:35:38 a6820b24f6d8: Pulling fs layer 20:35:38 f581987b2513: Pulling fs layer 20:35:38 f581987b2513: Waiting 20:35:39 54011a49482f: Verifying Checksum 20:35:39 54011a49482f: Download complete 20:35:39 31603596830f: Verifying Checksum 20:35:39 31603596830f: Download complete 20:35:39 f581987b2513: Verifying Checksum 20:35:39 f581987b2513: Download complete 20:35:39 a6820b24f6d8: Verifying Checksum 20:35:39 a6820b24f6d8: Download complete 20:35:40 31603596830f: Pull complete 20:35:40 54011a49482f: Pull complete 20:35:42 a6820b24f6d8: Pull complete 20:35:43 f581987b2513: Pull complete 20:35:43 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:35:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:35:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:35:43 prd-centos7-docker-4c-2g-3657 does not seem to be running inside a container 20:35:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-907 -v /w/workspace/dgexfoundry_device-sdk-go_PR-907:/w/workspace/dgexfoundry_device-sdk-go_PR-907:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-907@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:10004/edgex-devops/git-semver:latest cat 20:35:46 $ docker top d46d828ad97f98323701d612c04350eb0e6688892d28d992455c776b3e9fc49b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:35:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:35:46 [ssh-agent] Looking for ssh-agent implementation... 20:35:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:35:47 $ docker exec d46d828ad97f98323701d612c04350eb0e6688892d28d992455c776b3e9fc49b ssh-agent 20:35:47 SSH_AUTH_SOCK=/tmp/ssh-xmoPfnJJ7wzf/agent.12 20:35:47 SSH_AGENT_PID=17 20:35:47 Running ssh-add (command line suppressed) 20:35:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_754029393335475322.key (/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_754029393335475322.key) 20:35:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:35:48 + git tag --points-at HEAD [Pipeline] } 20:35:48 $ docker exec --env ******** --env ******** d46d828ad97f98323701d612c04350eb0e6688892d28d992455c776b3e9fc49b ssh-agent -k 20:35:48 unset SSH_AUTH_SOCK; 20:35:48 unset SSH_AGENT_PID; 20:35:48 echo Agent pid 17 killed; 20:35:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:35:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:35:49 [ssh-agent] Looking for ssh-agent implementation... 20:35:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:35:49 $ docker exec d46d828ad97f98323701d612c04350eb0e6688892d28d992455c776b3e9fc49b ssh-agent 20:35:50 SSH_AUTH_SOCK=/tmp/ssh-l7EK3vB8ttir/agent.47 20:35:50 SSH_AGENT_PID=52 20:35:50 Running ssh-add (command line suppressed) 20:35:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_2984095190303080860.key (/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/private_key_2984095190303080860.key) 20:35:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:35:51 + git semver init 20:35:51 # -> Open(): unable to determine branch for HEAD 20:35:51 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-907/.git 20:35:51 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-907 20:35:51 # $SEMVER_REMOTE_NAME = origin 20:35:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:35:51 # $SEMVER_USER_NAME = edgex-jenkins 20:35:51 # $SEMVER_BRANCH = PR-907 20:35:51 # $SEMVER_TEMP = /tmp/semver-185307990 20:35:51 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 20:35:53 # '/tmp/semver-185307990' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-907/.semver' 20:35:53 # -> Force: false 20:35:53 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-907/.semver [Pipeline] } 20:35:53 $ docker exec --env ******** --env ******** d46d828ad97f98323701d612c04350eb0e6688892d28d992455c776b3e9fc49b ssh-agent -k 20:35:53 unset SSH_AUTH_SOCK; 20:35:53 unset SSH_AGENT_PID; 20:35:53 echo Agent pid 52 killed; 20:35:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:35:54 + git semver [Pipeline] } 20:35:54 $ docker stop --time=1 d46d828ad97f98323701d612c04350eb0e6688892d28d992455c776b3e9fc49b 20:35:56 $ docker rm -f d46d828ad97f98323701d612c04350eb0e6688892d28d992455c776b3e9fc49b [Pipeline] // withDockerContainer [Pipeline] sh 20:35:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:35:57 Stashed 1 file(s) [Pipeline] echo 20:35:57 [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 20:36:12 Still waiting to schedule task 20:36:12 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:36:12 Still waiting to schedule task 20:36:12 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:37:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3658 in /w/workspace/dgexfoundry_device-sdk-go_PR-907 [Pipeline] { [Pipeline] ws 20:37:58 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 20:38:03 using credential edgex-jenkins-ssh 20:38:03 Cloning the remote Git repository 20:38:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:38:04 > git init /w/workspace/device-sdk-go/6 # timeout=10 20:38:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:38:04 > git --version # timeout=10 20:38:04 > git --version # 'git version 2.17.1' 20:38:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:38:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:38:06 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 692b28680fefed51e933ff85e2bc551ffbcd2762 20:38:07 Merge succeeded, producing 692b28680fefed51e933ff85e2bc551ffbcd2762 20:38:07 Checking out Revision 692b28680fefed51e933ff85e2bc551ffbcd2762 (PR-907) 20:38:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:38:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:38:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:38:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:38:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:38:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/907/head:refs/remotes/origin/PR-907 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:38:06 > git config core.sparsecheckout # timeout=10 20:38:06 > git checkout -f 692b28680fefed51e933ff85e2bc551ffbcd2762 # timeout=10 20:38:06 > git remote # timeout=10 20:38:07 > git config --get remote.origin.url # timeout=10 20:38:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:38:07 > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 20:38:07 > git rev-parse HEAD^{commit} # timeout=10 20:38:07 > git config core.sparsecheckout # timeout=10 20:38:07 > git checkout -f 692b28680fefed51e933ff85e2bc551ffbcd2762 # timeout=10 20:38:11 Commit message: "fix: Addressed PR feedback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:38:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:38:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:38:13 + sudo service docker restart 20:38:13 + true 20:38:16 Running on prd-centos7-docker-4c-2g-3659 in /w/workspace/dgexfoundry_device-sdk-go_PR-907 [Pipeline] { [Pipeline] ws 20:38:16 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:38:16 provisioning config files... 20:38:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config8365620879686808946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:38:16 ---> docker-login.sh 20:38:16 nexus3.edgexfoundry.org:10001 20:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:18 Configure a credential helper to remove this warning. See 20:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:18 20:38:18 Login Succeeded 20:38:18 nexus3.edgexfoundry.org:10002 20:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:18 Configure a credential helper to remove this warning. See 20:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:18 20:38:18 Login Succeeded 20:38:18 nexus3.edgexfoundry.org:10003 20:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:18 using credential edgex-jenkins-ssh 20:38:18 Cloning the remote Git repository 20:38:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:19 Configure a credential helper to remove this warning. See 20:38:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:19 20:38:19 Login Succeeded 20:38:19 nexus3.edgexfoundry.org:10004 20:38:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:19 Configure a credential helper to remove this warning. See 20:38:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:19 20:38:19 Login Succeeded 20:38:19 docker.io 20:38:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:38:19 > git init /w/workspace/device-sdk-go/6 # timeout=10 20:38:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:38:19 > git --version # timeout=10 20:38:19 > git --version # 'git version 2.24.3' 20:38:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:38:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:38:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:20 Configure a credential helper to remove this warning. See 20:38:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:20 20:38:20 Login Succeeded 20:38:20 ---> docker-login.sh ends [Pipeline] } 20:38:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:38:20 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 692b28680fefed51e933ff85e2bc551ffbcd2762 [Pipeline] echo 20:38:20 ========================================================= 20:38:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:38:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:38:20 Merge succeeded, producing 692b28680fefed51e933ff85e2bc551ffbcd2762 20:38:20 Checking out Revision 692b28680fefed51e933ff85e2bc551ffbcd2762 (PR-907) 20:38:20 + 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 . 20:38:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:38:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:38:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:38:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:38:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:38:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/907/head:refs/remotes/origin/PR-907 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:38:20 > git config core.sparsecheckout # timeout=10 20:38:20 > git checkout -f 692b28680fefed51e933ff85e2bc551ffbcd2762 # timeout=10 20:38:20 > git remote # timeout=10 20:38:20 > git config --get remote.origin.url # timeout=10 20:38:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:38:20 > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 20:38:20 > git rev-parse HEAD^{commit} # timeout=10 20:38:20 > git config core.sparsecheckout # timeout=10 20:38:20 > git checkout -f 692b28680fefed51e933ff85e2bc551ffbcd2762 # timeout=10 20:38:21 Sending build context to Docker daemon 2.555MB 20:38:21 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:38:21 Step 2/8 : FROM ${BASE} 20:38:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:38:21 595b0fe564bb: Pulling fs layer 20:38:21 7186ed65a4f7: Pulling fs layer 20:38:21 316046926c0a: Pulling fs layer 20:38:21 4ebd0625c992: Pulling fs layer 20:38:21 207e8628e3a3: Pulling fs layer 20:38:21 c791037a9be2: Pulling fs layer 20:38:21 ffd874e62e21: Pulling fs layer 20:38:21 4ebd0625c992: Waiting 20:38:21 207e8628e3a3: Waiting 20:38:21 c791037a9be2: Waiting 20:38:21 ffd874e62e21: Waiting 20:38:21 316046926c0a: Download complete 20:38:21 7186ed65a4f7: Verifying Checksum 20:38:21 7186ed65a4f7: Download complete 20:38:21 207e8628e3a3: Verifying Checksum 20:38:21 207e8628e3a3: Download complete 20:38:21 595b0fe564bb: Verifying Checksum 20:38:21 595b0fe564bb: Download complete 20:38:21 c791037a9be2: Verifying Checksum 20:38:21 c791037a9be2: Download complete 20:38:22 595b0fe564bb: Pull complete 20:38:23 7186ed65a4f7: Pull complete 20:38:23 316046926c0a: Pull complete 20:38:23 ffd874e62e21: Verifying Checksum 20:38:23 ffd874e62e21: Download complete 20:38:24 Commit message: "fix: Addressed PR feedback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:38:25 4ebd0625c992: Verifying Checksum 20:38:25 4ebd0625c992: Download complete 20:38:25 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:38:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:38:26 + sudo service docker restart 20:38:26 + true 20:38:26 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:38:27 provisioning config files... 20:38:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config4514558190602392882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:38:27 ---> docker-login.sh 20:38:27 nexus3.edgexfoundry.org:10001 20:38:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:28 Configure a credential helper to remove this warning. See 20:38:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:28 20:38:28 Login Succeeded 20:38:28 nexus3.edgexfoundry.org:10002 20:38:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:28 Configure a credential helper to remove this warning. See 20:38:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:28 20:38:28 Login Succeeded 20:38:28 nexus3.edgexfoundry.org:10003 20:38:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:28 Configure a credential helper to remove this warning. See 20:38:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:28 20:38:28 Login Succeeded 20:38:28 nexus3.edgexfoundry.org:10004 20:38:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:28 Configure a credential helper to remove this warning. See 20:38:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:28 20:38:28 Login Succeeded 20:38:28 docker.io 20:38:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:29 Configure a credential helper to remove this warning. See 20:38:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:29 20:38:29 Login Succeeded 20:38:29 ---> docker-login.sh ends [Pipeline] } 20:38:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:38:29 ========================================================= 20:38:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:38:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:38:29 + 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 . 20:38:29 Sending build context to Docker daemon 2.556MB 20:38:29 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:38:29 Step 2/8 : FROM ${BASE} 20:38:29 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:38:29 540db60ca938: Pulling fs layer 20:38:29 adcc1eea9eea: Pulling fs layer 20:38:29 4c4ab2625f07: Pulling fs layer 20:38:29 0510c868ecb4: Pulling fs layer 20:38:29 afea3b2eda06: Pulling fs layer 20:38:29 7809a108b3ef: Pulling fs layer 20:38:29 f706445af74f: Pulling fs layer 20:38:29 0510c868ecb4: Waiting 20:38:29 afea3b2eda06: Waiting 20:38:29 7809a108b3ef: Waiting 20:38:29 f706445af74f: Waiting 20:38:29 4c4ab2625f07: Download complete 20:38:29 adcc1eea9eea: Download complete 20:38:29 afea3b2eda06: Verifying Checksum 20:38:29 afea3b2eda06: Download complete 20:38:29 7809a108b3ef: Verifying Checksum 20:38:29 7809a108b3ef: Download complete 20:38:29 540db60ca938: Verifying Checksum 20:38:29 540db60ca938: Download complete 20:38:30 540db60ca938: Pull complete 20:38:30 adcc1eea9eea: Pull complete 20:38:30 4c4ab2625f07: Pull complete 20:38:31 f706445af74f: Verifying Checksum 20:38:31 f706445af74f: Download complete 20:38:32 0510c868ecb4: Verifying Checksum 20:38:32 0510c868ecb4: Download complete 20:38:35 4ebd0625c992: Pull complete 20:38:35 207e8628e3a3: Pull complete 20:38:36 c791037a9be2: Pull complete 20:38:37 0510c868ecb4: Pull complete 20:38:37 afea3b2eda06: Pull complete 20:38:37 7809a108b3ef: Pull complete 20:38:40 ffd874e62e21: Pull complete 20:38:40 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 20:38:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:38:40 ---> cfc18b08335c 20:38:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:38:43 ---> Running in 2207970a03d8 20:38:43 Removing intermediate container 2207970a03d8 20:38:43 ---> 65d467ec545d 20:38:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:38:43 ---> Running in f2dfe17d7efc 20:38:46 f706445af74f: Pull complete 20:38:46 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:38:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:38:46 ---> b068be0155e3 20:38:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:38:46 ---> Running in 1dd6ce4cfee6 20:38:46 Removing intermediate container f2dfe17d7efc 20:38:46 ---> df7a09d48bed 20:38:46 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 20:38:46 Removing intermediate container 1dd6ce4cfee6 20:38:46 ---> 60cd189d6a58 20:38:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:38:46 ---> Running in 4e739eee95bc 20:38:47 ---> Running in 9d905a9364a5 20:38:47 Removing intermediate container 4e739eee95bc 20:38:47 ---> cc97da0c7848 20:38:47 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 20:38:47 ---> Running in 29187f0447a7 20:38:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:38:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:38:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:38:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:38:49 (1/6) Installing libc-dev (0.7.2-r3) 20:38:49 (2/6) Installing libsodium (1.0.18-r0) 20:38:49 (3/6) Installing pkgconf (1.7.3-r0) 20:38:50 (1/6) Installing libc-dev (0.7.2-r3) 20:38:50 (2/6) Installing libsodium (1.0.18-r0) 20:38:50 (3/6) Installing pkgconf (1.7.3-r0) 20:38:50 (4/6) Installing libsodium-dev (1.0.18-r0) 20:38:50 (5/6) Installing libzmq (4.3.3-r1) 20:38:50 (4/6) Installing libsodium-dev (1.0.18-r0) 20:38:50 (5/6) Installing libzmq (4.3.3-r1) 20:38:50 (6/6) Installing zeromq-dev (4.3.3-r1) 20:38:50 Executing busybox-1.32.1-r6.trigger 20:38:50 OK: 150 MiB in 46 packages 20:38:50 (6/6) Installing zeromq-dev (4.3.3-r1) 20:38:50 Executing busybox-1.32.1-r6.trigger 20:38:50 OK: 139 MiB in 46 packages 20:38:51 Removing intermediate container 29187f0447a7 20:38:51 ---> 761f38668efa 20:38:51 Step 6/8 : WORKDIR /device-sdk-go 20:38:51 ---> Running in 11ea1eb985c6 20:38:51 Removing intermediate container 11ea1eb985c6 20:38:51 ---> 9e5952b92d44 20:38:51 Step 7/8 : COPY . . 20:38:52 Removing intermediate container 9d905a9364a5 20:38:52 ---> 07b9c25d3be5 20:38:52 Step 6/8 : WORKDIR /device-sdk-go 20:38:52 ---> Running in 6ccbea74cf8b 20:38:52 ---> f9c7d7b748d4 20:38:52 Step 8/8 : RUN go mod download 20:38:52 ---> Running in 63a48e2aeaee 20:38:53 Removing intermediate container 6ccbea74cf8b 20:38:53 ---> db21d565b624 20:38:53 Step 7/8 : COPY . . 20:38:54 ---> 72daee7a05af 20:38:54 Step 8/8 : RUN go mod download 20:38:55 ---> Running in ebe524914f91 20:39:19 Removing intermediate container 63a48e2aeaee 20:39:19 ---> 04710ff4aa24 20:39:19 Successfully built 04710ff4aa24 20:39:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:39:19 + docker inspect -f . ci-base-image-x86_64 20:39:19 . [Pipeline] withDockerContainer 20:39:19 prd-centos7-docker-4c-2g-3659 does not seem to be running inside a container 20:39:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** ci-base-image-x86_64 cat 20:39:20 $ docker top 35926db14ca14d0bf061000111d9a83761a90d6d9cd263e9fbbeb07dc0bc1c9b -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:21 + go version 20:39:21 go version go1.16.3 linux/amd64 [Pipeline] } 20:39:21 $ docker stop --time=1 35926db14ca14d0bf061000111d9a83761a90d6d9cd263e9fbbeb07dc0bc1c9b 20:39:22 $ docker rm -f 35926db14ca14d0bf061000111d9a83761a90d6d9cd263e9fbbeb07dc0bc1c9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:39:23 + docker inspect -f . ci-base-image-x86_64 20:39:23 . [Pipeline] withDockerContainer 20:39:23 prd-centos7-docker-4c-2g-3659 does not seem to be running inside a container 20:39:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** ci-base-image-x86_64 cat 20:39:23 $ docker top f4a09b6f73de1bab775c3176d854ad77fe4f639401281892b77ea79a685d873f -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:24 + go mod tidy [Pipeline] sh 20:39:25 + make test 20:39:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:39:27 Removing intermediate container ebe524914f91 20:39:27 ---> ce1769df98d0 20:39:27 Successfully built ce1769df98d0 20:39:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:39:27 + docker inspect -f . ci-base-image-arm64 20:39:27 . [Pipeline] withDockerContainer 20:39:28 prd-ubuntu18.04-docker-arm64-4c-16g-3658 does not seem to be running inside a container 20:39:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** ci-base-image-arm64 cat 20:39:30 $ docker top 9862c6ca6517f93d861aaf1f79c415b13e0c4c45488e49fcd4c094d4c36055fc -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:31 + go version 20:39:31 go version go1.16.3 linux/arm64 [Pipeline] } 20:39:31 $ docker stop --time=1 9862c6ca6517f93d861aaf1f79c415b13e0c4c45488e49fcd4c094d4c36055fc 20:39:33 $ docker rm -f 9862c6ca6517f93d861aaf1f79c415b13e0c4c45488e49fcd4c094d4c36055fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 20:39:33 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:39:33 + docker inspect -f . ci-base-image-arm64 20:39:33 . [Pipeline] withDockerContainer 20:39:34 prd-ubuntu18.04-docker-arm64-4c-16g-3658 does not seem to be running inside a container 20:39:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** ci-base-image-arm64 cat 20:39:35 $ docker top 79368ac0e1b3d8e0b0be1f56ee5fcd6987684f9cca2d81a42d997504b2de37a3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:36 + go mod tidy [Pipeline] sh 20:39:37 + make test 20:39:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:39:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:39:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:39:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:39:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 20:39:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:39:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.092s coverage: 28.1% of statements 20:39:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements 20:39:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.082s coverage: 10.7% of statements 20:39:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 20:39:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:39:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:39:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 30.2% of statements 20:39:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:39:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] 20:39:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:39:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:39:59 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:40:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 57.2% of statements 20:40:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.302s coverage: 6.6% of statements 20:40:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 20:40:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:40:02 GO111MODULE=on go vet ./... 20:40:20 gofmt -l . 20:40:20 [ "`gofmt -l .`" = "" ] 20:40:20 ./bin/test-attribution-txt.sh 20:40:21 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:40:21 $ docker stop --time=1 f4a09b6f73de1bab775c3176d854ad77fe4f639401281892b77ea79a685d873f 20:40:23 $ docker rm -f f4a09b6f73de1bab775c3176d854ad77fe4f639401281892b77ea79a685d873f [Pipeline] // withDockerContainer [Pipeline] sh 20:40:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:40:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:40:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:40:27 + ls -al . 20:40:27 total 188 20:40:27 drwxrwxr-x. 10 jenkins jenkins 4096 May 7 20:40 . 20:40:27 drwxrwxr-x. 4 jenkins jenkins 28 May 7 20:38 .. 20:40:27 drwxrwxr-x. 2 jenkins jenkins 64 May 7 20:38 bin 20:40:27 -rw-r--r--. 1 jenkins jenkins 98899 May 7 20:40 coverage.out 20:40:27 -rw-rw-r--. 1 jenkins jenkins 987 May 7 20:38 Dockerfile.build 20:40:27 -rw-rw-r--. 1 jenkins jenkins 140 May 7 20:38 .dockerignore 20:40:27 drwxrwxr-x. 5 jenkins jenkins 62 May 7 20:38 example 20:40:27 drwxrwxr-x. 8 jenkins jenkins 179 May 7 20:38 .git 20:40:27 drwxrwxr-x. 2 jenkins jenkins 103 May 7 20:38 .github 20:40:27 -rw-rw-r--. 1 jenkins jenkins 138 May 7 20:38 .gitignore 20:40:27 -rw-r--r--. 1 jenkins jenkins 575 May 7 20:40 go.mod 20:40:27 -rw-r--r--. 1 jenkins jenkins 20904 May 7 20:39 go.sum 20:40:27 drwxrwxr-x. 15 jenkins jenkins 222 May 7 20:38 internal 20:40:27 -rw-rw-r--. 1 jenkins jenkins 901 May 7 20:38 Jenkinsfile 20:40:27 -rw-rw-r--. 1 jenkins jenkins 11341 May 7 20:38 LICENSE 20:40:27 -rw-rw-r--. 1 jenkins jenkins 1022 May 7 20:38 Makefile 20:40:27 drwxrwxr-x. 4 jenkins jenkins 26 May 7 20:38 openapi 20:40:27 drwxrwxr-x. 5 jenkins jenkins 50 May 7 20:38 pkg 20:40:27 -rw-rw-r--. 1 jenkins jenkins 7652 May 7 20:38 README.md 20:40:27 -rw-rw-r--. 1 jenkins jenkins 6616 May 7 20:38 RELEASE-NOTES.txt 20:40:27 drwxrwxr-x. 4 jenkins jenkins 54 May 7 20:38 snap 20:40:27 -rw-rw-r--. 1 jenkins jenkins 5 May 7 20:35 VERSION 20:40:27 -rw-rw-r--. 1 jenkins jenkins 222 May 7 20:38 version.go [Pipeline] isUnix [Pipeline] sh 20:40:27 + 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=692b28680fefed51e933ff85e2bc551ffbcd2762 --label arch=amd64 --label version=0.0.0 . 20:40:27 Sending build context to Docker daemon 2.656MB 20:40:27 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 20:40:27 Step 2/23 : FROM ${BASE} AS builder 20:40:27 ---> 04710ff4aa24 20:40:27 Step 3/23 : WORKDIR /device-sdk-go 20:40:28 ---> Running in 56f44bbf2c52 20:40:28 Removing intermediate container 56f44bbf2c52 20:40:28 ---> ac3f38948e28 20:40:28 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:40:28 ---> Running in c2e01753eb83 20:40:28 Removing intermediate container c2e01753eb83 20:40:28 ---> d59c75e35979 20:40:28 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:40:28 ---> Running in fd824f407aa2 20:40:30 Removing intermediate container fd824f407aa2 20:40:30 ---> 1b09fc99100a 20:40:30 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:40:30 ---> Running in 7de3f2268f6b 20:40:30 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:40:31 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:40:31 OK: 150 MiB in 46 packages 20:40:32 Removing intermediate container 7de3f2268f6b 20:40:32 ---> ba80723c2b04 20:40:32 Step 7/23 : COPY . . 20:40:33 ---> 48adefc0948c 20:40:33 Step 8/23 : RUN go mod download 20:40:33 ---> Running in 82ad51f50dae 20:40:34 Removing intermediate container 82ad51f50dae 20:40:34 ---> 128775d391e0 20:40:34 Step 9/23 : RUN make build 20:40:34 ---> Running in b19e79cfab55 20:40:35 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 20:40:47 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 20:40:49 Removing intermediate container b19e79cfab55 20:40:49 ---> 444d317905c3 20:40:49 Step 10/23 : FROM alpine:3.12 20:40:49 3.12: Pulling from library/alpine 20:40:49 339de151aab4: Pulling fs layer 20:40:49 339de151aab4: Download complete 20:40:49 339de151aab4: Pull complete 20:40:49 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 20:40:49 Status: Downloaded newer image for alpine:3.12 20:40:49 ---> 13621d1b12d4 20:40:49 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:40:49 ---> Running in e0603e569ef8 20:40:50 Removing intermediate container e0603e569ef8 20:40:50 ---> 26471f3e672b 20:40:50 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:40:50 ---> Running in c1da5e9a71ce 20:40:51 Removing intermediate container c1da5e9a71ce 20:40:51 ---> fe92fd7a9736 20:40:51 Step 13/23 : RUN apk add --update --no-cache zeromq 20:40:51 ---> Running in ce175d7a2431 20:40:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:40:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:40:53 (1/5) Installing libgcc (9.3.0-r2) 20:40:53 (2/5) Installing libsodium (1.0.18-r0) 20:40:53 (3/5) Installing libstdc++ (9.3.0-r2) 20:40:54 (4/5) Installing libzmq (4.3.3-r0) 20:40:54 (5/5) Installing zeromq (4.3.3-r0) 20:40:54 Executing busybox-1.31.1-r20.trigger 20:40:54 OK: 8 MiB in 19 packages 20:40:55 Removing intermediate container ce175d7a2431 20:40:55 ---> 4f4b4a87e810 20:40:55 Step 14/23 : WORKDIR / 20:40:55 ---> Running in 3ae836425c3f 20:40:55 Removing intermediate container 3ae836425c3f 20:40:55 ---> c80d6112a3e9 20:40:55 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:40:55 ---> 98b53c11e8d7 20:40:55 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:40:56 ---> 9a5d8f47e082 20:40:56 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:40:56 ---> eb03ee64af83 20:40:56 Step 18/23 : EXPOSE 49990 20:40:56 ---> Running in cfd421ce3545 20:40:56 Removing intermediate container cfd421ce3545 20:40:56 ---> 1478e980be71 20:40:56 Step 19/23 : ENTRYPOINT ["/device-simple"] 20:40:56 ---> Running in ba499752fe38 20:40:56 Removing intermediate container ba499752fe38 20:40:56 ---> a63f3a97eb67 20:40:56 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:40:56 ---> Running in 09f34d1f1047 20:40:57 Removing intermediate container 09f34d1f1047 20:40:57 ---> 5e8da95b60f0 20:40:57 Step 21/23 : LABEL arch=amd64 20:40:57 ---> Running in 03aff8cab9bf 20:40:57 Removing intermediate container 03aff8cab9bf 20:40:57 ---> aa4b1ac47587 20:40:57 Step 22/23 : LABEL git_sha=692b28680fefed51e933ff85e2bc551ffbcd2762 20:40:57 ---> Running in a62ae9b9e702 20:40:57 Removing intermediate container a62ae9b9e702 20:40:57 ---> bc029b2af77d 20:40:57 Step 23/23 : LABEL version=0.0.0 20:40:57 ---> Running in 7eff759368f1 20:40:58 Removing intermediate container 7eff759368f1 20:40:58 ---> 4bbefdb15bfe 20:40:58 [Warning] One or more build-args [ARCH MAKE] were not consumed 20:40:58 Successfully built 4bbefdb15bfe 20:40:58 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 20:40:58 ---> job-cost.sh 20:40:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-niQc 20:41:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:41:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:41:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:41:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 20:41:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:41:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.143s coverage: 28.1% of statements 20:41:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.195s coverage: 78.9% of statements 20:41:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.193s coverage: 10.7% of statements 20:41:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 20:41:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:41:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:41:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.238s coverage: 30.2% of statements 20:41:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:41:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] 20:41:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:41:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:41:13 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:41:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.304s coverage: 57.2% of statements 20:41:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.287s coverage: 6.6% of statements 20:41:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.0% of statements 20:41:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:41:16 GO111MODULE=on go vet ./... 20:41:40 lf-activate-venv(): INFO: Adding /tmp/venv-niQc/bin to PATH 20:41:40 INFO: No Stack... 20:41:40 INFO: Retrieving Pricing Info for: v1-standard-2 20:41:41 INFO: Archiving Costs [Pipeline] sh 20:41:41 + cat /w/workspace/device-sdk-go/6/archives/cost.csv 20:41:41 + cut -d, -f6 [Pipeline] lock 20:41:41 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-907-6-stack-cost] 20:41:41 Resource [jenkins-edgexfoundry-device-sdk-go-PR-907-6-stack-cost] did not exist. Created. 20:41:41 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-907-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:41:42 + echo total: 0.029999999329447746 [Pipeline] stash 20:41:42 Stashed 1 file(s) [Pipeline] } 20:41:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-907-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:42:12 gofmt -l . 20:42:12 [ "`gofmt -l .`" = "" ] 20:42:12 ./bin/test-attribution-txt.sh 20:42:12 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:42:12 $ docker stop --time=1 79368ac0e1b3d8e0b0be1f56ee5fcd6987684f9cca2d81a42d997504b2de37a3 20:42:15 $ docker rm -f 79368ac0e1b3d8e0b0be1f56ee5fcd6987684f9cca2d81a42d997504b2de37a3 [Pipeline] // withDockerContainer [Pipeline] sh 20:42:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:42:16 Warning: overwriting stash ‘coverage-report’ 20:42:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:42:18 + ls -al . 20:42:18 total 224 20:42:18 drwxrwxr-x 10 jenkins jenkins 4096 May 7 20:42 . 20:42:18 drwxrwxr-x 4 jenkins jenkins 4096 May 7 20:38 .. 20:42:18 -rw-rw-r-- 1 jenkins jenkins 140 May 7 20:38 .dockerignore 20:42:18 drwxrwxr-x 8 jenkins jenkins 4096 May 7 20:38 .git 20:42:18 drwxrwxr-x 2 jenkins jenkins 4096 May 7 20:38 .github 20:42:18 -rw-rw-r-- 1 jenkins jenkins 138 May 7 20:38 .gitignore 20:42:18 -rw-rw-r-- 1 jenkins jenkins 987 May 7 20:38 Dockerfile.build 20:42:18 -rw-rw-r-- 1 jenkins jenkins 901 May 7 20:38 Jenkinsfile 20:42:18 -rw-rw-r-- 1 jenkins jenkins 11341 May 7 20:38 LICENSE 20:42:18 -rw-rw-r-- 1 jenkins jenkins 1022 May 7 20:38 Makefile 20:42:18 -rw-rw-r-- 1 jenkins jenkins 7652 May 7 20:38 README.md 20:42:18 -rw-rw-r-- 1 jenkins jenkins 6616 May 7 20:38 RELEASE-NOTES.txt 20:42:18 -rw-rw-r-- 1 jenkins jenkins 5 May 7 20:35 VERSION 20:42:18 drwxrwxr-x 2 jenkins jenkins 4096 May 7 20:38 bin 20:42:18 -rw-r--r-- 1 jenkins jenkins 98899 May 7 20:41 coverage.out 20:42:18 drwxrwxr-x 5 jenkins jenkins 4096 May 7 20:38 example 20:42:18 -rw-r--r-- 1 jenkins jenkins 575 May 7 20:42 go.mod 20:42:18 -rw-r--r-- 1 jenkins jenkins 20904 May 7 20:39 go.sum 20:42:18 drwxrwxr-x 15 jenkins jenkins 4096 May 7 20:38 internal 20:42:18 drwxrwxr-x 4 jenkins jenkins 4096 May 7 20:38 openapi 20:42:18 drwxrwxr-x 5 jenkins jenkins 4096 May 7 20:38 pkg 20:42:18 drwxrwxr-x 4 jenkins jenkins 4096 May 7 20:38 snap 20:42:18 -rw-rw-r-- 1 jenkins jenkins 222 May 7 20:38 version.go [Pipeline] isUnix [Pipeline] sh 20:42:18 + 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=692b28680fefed51e933ff85e2bc551ffbcd2762 --label arch=arm64 --label version=0.0.0 . 20:42:19 Sending build context to Docker daemon 2.655MB 20:42:19 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 20:42:19 Step 2/23 : FROM ${BASE} AS builder 20:42:19 ---> ce1769df98d0 20:42:19 Step 3/23 : WORKDIR /device-sdk-go 20:42:19 ---> Running in e36f41088ecd 20:42:20 Removing intermediate container e36f41088ecd 20:42:20 ---> ec7504979b0a 20:42:20 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:42:20 ---> Running in da0bfb4158fb 20:42:21 Removing intermediate container da0bfb4158fb 20:42:21 ---> 5e20c9e70a09 20:42:21 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:42:21 ---> Running in 652bd71d5e99 20:42:23 Removing intermediate container 652bd71d5e99 20:42:23 ---> 12f002e3f150 20:42:23 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:42:23 ---> Running in 710bc1ee7f36 20:42:24 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:42:25 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:42:26 OK: 139 MiB in 46 packages 20:42:28 Removing intermediate container 710bc1ee7f36 20:42:28 ---> ebcb9824c577 20:42:28 Step 7/23 : COPY . . 20:42:29 ---> 5cdf7681907d 20:42:29 Step 8/23 : RUN go mod download 20:42:29 ---> Running in a2f9822f1275 20:42:31 Removing intermediate container a2f9822f1275 20:42:31 ---> da76299bf248 20:42:31 Step 9/23 : RUN make build 20:42:31 ---> Running in 3928b835b80b 20:42:32 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 20:43:05 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 20:43:07 Removing intermediate container 3928b835b80b 20:43:07 ---> c4b39b067b92 20:43:07 Step 10/23 : FROM alpine:3.12 20:43:07 3.12: Pulling from library/alpine 20:43:07 d2f70382dc9a: Pulling fs layer 20:43:08 d2f70382dc9a: Verifying Checksum 20:43:08 d2f70382dc9a: Download complete 20:43:08 d2f70382dc9a: Pull complete 20:43:08 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 20:43:08 Status: Downloaded newer image for alpine:3.12 20:43:08 ---> 9852663dfa18 20:43:08 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:43:08 ---> Running in 8ae886aa8a26 20:43:09 Removing intermediate container 8ae886aa8a26 20:43:09 ---> 0e4e91eed3cd 20:43:09 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:43:09 ---> Running in b6f6b130bb50 20:43:11 Removing intermediate container b6f6b130bb50 20:43:11 ---> fdc6ccdfac68 20:43:11 Step 13/23 : RUN apk add --update --no-cache zeromq 20:43:11 ---> Running in fb861a119246 20:43:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:43:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:43:14 (1/5) Installing libgcc (9.3.0-r2) 20:43:14 (2/5) Installing libsodium (1.0.18-r0) 20:43:14 (3/5) Installing libstdc++ (9.3.0-r2) 20:43:15 (4/5) Installing libzmq (4.3.3-r0) 20:43:15 (5/5) Installing zeromq (4.3.3-r0) 20:43:15 Executing busybox-1.31.1-r20.trigger 20:43:15 OK: 8 MiB in 19 packages 20:43:16 Removing intermediate container fb861a119246 20:43:16 ---> 46fbc40c1166 20:43:16 Step 14/23 : WORKDIR / 20:43:16 ---> Running in 336478f7d238 20:43:17 Removing intermediate container 336478f7d238 20:43:17 ---> 5d346f44fc40 20:43:17 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:43:18 ---> 6e47320bed3a 20:43:18 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:43:19 ---> 90bc09f4cdc3 20:43:19 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:43:20 ---> 27313f973a0e 20:43:20 Step 18/23 : EXPOSE 49990 20:43:20 ---> Running in a3e348256dfc 20:43:20 Removing intermediate container a3e348256dfc 20:43:20 ---> 9f4509c895cf 20:43:20 Step 19/23 : ENTRYPOINT ["/device-simple"] 20:43:20 ---> Running in d2dc22fe4691 20:43:21 Removing intermediate container d2dc22fe4691 20:43:21 ---> 34af00917194 20:43:21 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:43:21 ---> Running in cc065fc8ce6b 20:43:21 Removing intermediate container cc065fc8ce6b 20:43:21 ---> a0bb9438237d 20:43:21 Step 21/23 : LABEL arch=arm64 20:43:21 ---> Running in c081139a0484 20:43:22 Removing intermediate container c081139a0484 20:43:22 ---> 79bec4ed0beb 20:43:22 Step 22/23 : LABEL git_sha=692b28680fefed51e933ff85e2bc551ffbcd2762 20:43:22 ---> Running in decad49d88e3 20:43:23 Removing intermediate container decad49d88e3 20:43:23 ---> 7c51caa612b1 20:43:23 Step 23/23 : LABEL version=0.0.0 20:43:23 ---> Running in e85ce7d81860 20:43:23 Removing intermediate container e85ce7d81860 20:43:23 ---> 37306542d891 20:43:23 [Warning] One or more build-args [MAKE ARCH] were not consumed 20:43:23 Successfully built 37306542d891 20:43:23 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 20:43:24 ---> job-cost.sh 20:43:24 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AS69 20:44:03 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:45:24 lf-activate-venv(): INFO: Adding /tmp/venv-AS69/bin to PATH 20:45:24 INFO: No Stack... 20:45:24 INFO: Retrieving Pricing Info for: lf-standard-4 20:45:24 INFO: Archiving Costs [Pipeline] sh 20:45:25 + + cat /w/workspace/device-sdk-go/6/archives/cost.csv 20:45:25 cut -d, -f6 [Pipeline] lock 20:45:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-907-6-stack-cost] 20:45:25 Resource [jenkins-edgexfoundry-device-sdk-go-PR-907-6-stack-cost] did not exist. Created. 20:45:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-907-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:45:25 /w/workspace/device-sdk-go/6@tmp/durable-39e849eb/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-39e849eb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:45:25 + echo total: 0.20999999344348907 [Pipeline] stash 20:45:26 Warning: overwriting stash ‘stack-cost’ 20:45:26 Stashed 1 file(s) [Pipeline] } 20:45:26 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-907-6-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 20:45:26 provisioning config files... 20:45:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/config2574691065463275429tmp [Pipeline] { [Pipeline] sh 20:45:27 + set +x 20:45:27 + curl -s https://codecov.io/bash 20:45:27 + bash -s -- 20:45:27 20:45:27 _____ _ 20:45:27 / ____| | | 20:45:27 | | ___ __| | ___ ___ _____ __ 20:45:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:45:27 | |___| (_) | (_| | __/ (_| (_) \ V / 20:45:27 \_____\___/ \__,_|\___|\___\___/ \_/ 20:45:27 Bash-1.0.2 20:45:27 20:45:27 20:45:27 ==> git version 2.24.3 found 20:45:27 ==> 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 20:45:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:45:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:45:27 ==> Jenkins CI detected. 20:45:27 project root: . 20:45:27 --> token set from env 20:45:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:45:27 ==> Running gcov in . (disable via -X gcov) 20:45:27 ==> Python coveragepy not found 20:45:27 ==> Searching for coverage reports in: 20:45:27 + . 20:45:27 -> Found 1 reports 20:45:27 ==> Detecting git/mercurial file structure 20:45:27 ==> Reading reports 20:45:27 + ./coverage.out bytes=98899 20:45:27 ==> Appending adjustments 20:45:27 https://docs.codecov.io/docs/fixing-reports 20:45:28 + Found adjustments 20:45:28 ==> Gzipping contents 20:45:28 16K /tmp/codecov.MGCvmf.gz 20:45:28 ==> Uploading reports 20:45:28 url: https://codecov.io 20:45:28 query: branch=PR-907&commit=692b28680fefed51e933ff85e2bc551ffbcd2762&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-907%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=907&job=&cmd_args= 20:45:28 -> Pinging Codecov 20:45:28 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-907&commit=692b28680fefed51e933ff85e2bc551ffbcd2762&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-907%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=907&job=&cmd_args= 20:45:29 -> Uploading to 20:45:29 https://storage.googleapis.com/codecov/v4/raw/2021-05-07/7E55EF52A471D76F132DFD9A03CDDE97/692b28680fefed51e933ff85e2bc551ffbcd2762/4c7b2c57-744d-4115-bdb7-218d51cbc00a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T204528Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=17452c6eb386de1ad880d5ff9b4af5fefd4b823f39c316ab1525bc848f916ed5 20:45:29 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:29 Dload Upload Total Spent Left Speed 20:45:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13430 0 0 100 13430 0 30357 --:--:-- --:--:-- --:--:-- 30316 20:45:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/692b28680fefed51e933ff85e2bc551ffbcd2762 [Pipeline] } 20:45:29 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 20:45:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:45:31 ---> package-listing.sh 20:45:31 ++ facter osfamily 20:45:31 ++ tr '[:upper:]' '[:lower:]' 20:45:32 + OS_FAMILY=redhat 20:45:32 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-907 20:45:32 + START_PACKAGES=/tmp/packages_start.txt 20:45:32 + END_PACKAGES=/tmp/packages_end.txt 20:45:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:45:32 + PACKAGES=/tmp/packages_start.txt 20:45:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-907 ']' 20:45:32 + PACKAGES=/tmp/packages_end.txt 20:45:32 + case "${OS_FAMILY}" in 20:45:32 + sort 20:45:32 + rpm -qa 20:45:39 + '[' -f /tmp/packages_start.txt ']' 20:45:39 + '[' -f /tmp/packages_end.txt ']' 20:45:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:45:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-907 ']' 20:45:39 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-907/archives/ 20:45:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-907/archives/ [Pipeline] echo 20:45:39 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-907/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:45:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:45:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:45:40 20:45:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:45:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:45:40 alpine: Pulling from edgex-lftools-log-publisher 20:45:41 df20fa9351a1: Pulling fs layer 20:45:41 36b3adc4ff6f: Pulling fs layer 20:45:41 8ad3a11d3b57: Pulling fs layer 20:45:41 46f8f816bc3b: Pulling fs layer 20:45:41 93b61091891f: Pulling fs layer 20:45:41 93b9cdb0e59b: Pulling fs layer 20:45:41 5e14af77c1be: Pulling fs layer 20:45:41 01666e4c0597: Pulling fs layer 20:45:41 aa168da1d23b: Pulling fs layer 20:45:41 93b9cdb0e59b: Waiting 20:45:41 5e14af77c1be: Waiting 20:45:41 01666e4c0597: Waiting 20:45:41 aa168da1d23b: Waiting 20:45:41 93b61091891f: Waiting 20:45:41 46f8f816bc3b: Waiting 20:45:41 36b3adc4ff6f: Verifying Checksum 20:45:41 36b3adc4ff6f: Download complete 20:45:41 46f8f816bc3b: Verifying Checksum 20:45:41 46f8f816bc3b: Download complete 20:45:41 df20fa9351a1: Verifying Checksum 20:45:41 df20fa9351a1: Download complete 20:45:41 93b9cdb0e59b: Verifying Checksum 20:45:41 93b9cdb0e59b: Download complete 20:45:41 5e14af77c1be: Verifying Checksum 20:45:41 5e14af77c1be: Download complete 20:45:41 93b61091891f: Download complete 20:45:41 01666e4c0597: Verifying Checksum 20:45:41 01666e4c0597: Download complete 20:45:42 8ad3a11d3b57: Verifying Checksum 20:45:42 8ad3a11d3b57: Download complete 20:45:42 df20fa9351a1: Pull complete 20:45:43 36b3adc4ff6f: Pull complete 20:45:44 8ad3a11d3b57: Pull complete 20:45:44 46f8f816bc3b: Pull complete 20:45:45 93b61091891f: Pull complete 20:45:46 93b9cdb0e59b: Pull complete 20:45:46 5e14af77c1be: Pull complete 20:45:47 01666e4c0597: Pull complete 20:45:48 aa168da1d23b: Verifying Checksum 20:45:48 aa168da1d23b: Download complete 20:46:04 aa168da1d23b: Pull complete 20:46:04 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:46:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:46:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:46:04 prd-centos7-docker-4c-2g-3657 does not seem to be running inside a container 20:46:04 $ 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-907/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-907 -v /w/workspace/dgexfoundry_device-sdk-go_PR-907:/w/workspace/dgexfoundry_device-sdk-go_PR-907:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-907@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:46:09 $ docker top b4104f725571b4ba46fa6fda2b7e8a8c8530f4231fadf4e3941de0ab176c7507 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:10 + touch /tmp/pre-build-complete [Pipeline] sh 20:46:10 + mkdir -p /var/log/sa [Pipeline] sh 20:46:11 + ls /var/log/sa-host 20:46:11 + sadf -c /var/log/sa-host/sa07 20:46:11 file_magic: OK 20:46:11 HZ: Using current value: 100 20:46:11 file_header: OK 20:46:11 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 20:46:11 Statistics: 20:46:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:46:11 File successfully converted to sysstat format version 12.2.1 20:46:11 + sadf -c /var/log/sa-host/sa23 20:46:11 file_magic: OK 20:46:11 HZ: Using current value: 100 20:46:11 file_header: OK 20:46:11 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 20:46:11 Statistics: 20:46:11 Hnuu...uuuununununu... 20:46:11 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:46:11 provisioning config files... 20:46:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp/config222085932143782482tmp [Pipeline] { [Pipeline] echo 20:46:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:46:12 ---> create-netrc.sh [Pipeline] } 20:46:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:46:12 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:46:13 ---> python-tools-install.sh [Pipeline] echo 20:46:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:46:13 ---> sudo-logs.sh 20:46:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:46:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:46:14 ---> job-cost.sh 20:46:14 lf-activate-venv: SKIPPING 20:46:14 DEBUG: total: 0.20999999344348907 20:46:14 INFO: Retrieving Stack Cost... 20:46:15 INFO: Retrieving Pricing Info for: v1-standard-2 20:46:16 INFO: Archiving Costs [Pipeline] echo 20:46:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:46:17 ---> logs-deploy.sh 20:46:17 lf-activate-venv: SKIPPING 20:46:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-907/6 20:46:17 INFO: archiving workspace using pattern(s): 20:46:20 Archives upload complete. 20:46:20 INFO: archiving logs to Nexus 20:46:22 ---> uname -a: 20:46:22 Linux prd-centos7-docker-4c-2g-3657.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 20:46:22 20:46:22 20:46:22 ---> lscpu: 20:46:22 Architecture: x86_64 20:46:22 CPU op-mode(s): 32-bit, 64-bit 20:46:22 Byte Order: Little Endian 20:46:22 Address sizes: 40 bits physical, 48 bits virtual 20:46:22 CPU(s): 4 20:46:22 On-line CPU(s) list: 0-3 20:46:22 Thread(s) per core: 1 20:46:22 Core(s) per socket: 1 20:46:22 Socket(s): 4 20:46:22 NUMA node(s): 1 20:46:22 Vendor ID: GenuineIntel 20:46:22 CPU family: 6 20:46:22 Model: 44 20:46:22 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 20:46:22 Stepping: 1 20:46:22 CPU MHz: 2933.438 20:46:22 BogoMIPS: 5866.87 20:46:22 Virtualization: VT-x 20:46:22 Hypervisor vendor: KVM 20:46:22 Virtualization type: full 20:46:22 L1d cache: 128 KiB 20:46:22 L1i cache: 128 KiB 20:46:22 L2 cache: 16 MiB 20:46:22 L3 cache: 64 MiB 20:46:22 NUMA node0 CPU(s): 0-3 20:46:22 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 20:46:22 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 20:46:22 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 20:46:22 Vulnerability Meltdown: Mitigation; PTI 20:46:22 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:46:22 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 20:46:22 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 20:46:22 Vulnerability Srbds: Not affected 20:46:22 Vulnerability Tsx async abort: Not affected 20:46:22 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 20:46:22 20:46:22 20:46:22 ---> nproc: 20:46:22 4 20:46:22 20:46:22 20:46:22 ---> df -h: 20:46:22 Filesystem Size Used Available Use% Mounted on 20:46:22 overlay 50.0G 7.3G 42.7G 15% / 20:46:22 tmpfs 64.0M 0 64.0M 0% /dev 20:46:22 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 20:46:22 shm 64.0M 0 64.0M 0% /dev/shm 20:46:22 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 20:46:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 20:46:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 20:46:22 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 20:46:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 20:46:22 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 20:46:22 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-907 20:46:22 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-907@tmp 20:46:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 20:46:22 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 20:46:22 20:46:22 20:46:22 ---> free -m: 20:46:22 total used free shared buff/cache available 20:46:22 Mem: 1837 742 99 0 995 989 20:46:22 Swap: 1023 1 1022 20:46:22 20:46:22