Pull request #900 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a6d8b77750f96f2bc258c0f41868b8ebbb4671a3+70dff52b8df9807f5114cad14836e8310fd11d9c (feb3ca1c1852859025b19d7c42288619876e5921) 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-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3820’ is offline; ‘prd-centos7-docker-4c-2g-3822’ is offline; ‘prd-centos7-docker-4c-2g-3823’ is offline; ‘prd-centos7-docker-4c-2g-3824’ is offline; ‘prd-centos7-docker-4c-2g-3830’ is offline; ‘prd-centos7-docker-4c-2g-3832’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-3829’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3817’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3825’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3827’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3828’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3836 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [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-900 # 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 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 Merge succeeded, producing a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 Checking out Revision a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 (PR-900) > 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/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 # 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 a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 # timeout=10 Commit message: "Merge branch 'master' into ut" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 80c53e719aff91ae985600ad7eb1f4c51c8f6884 # timeout=10 [Pipeline] timeout 11:28:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:28:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:28:05 ========================================================= 11:28:05 EdgeX Global Pipelines Version Info 11:28:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:28:07 ------------------- 11:28:07 stable info: 11:28:07 ------------------- 11:28:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:28:07 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 11:28:07 Message: update stable to v1.0.191 11:28:08 ------------------- 11:28:08 experimental info: 11:28:08 ------------------- 11:28:08 Commited By: **** collab-it+edgex@linuxfoundation.org 11:28:08 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 11:28:08 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:28:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:28:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 11:28:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:28:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:28:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:28:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:28:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-900 [Pipeline] echo 11:28:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-900 [Pipeline] echo 11:28:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-900 [Pipeline] echo 11:28:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 [Pipeline] echo 11:28:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6d8b77 [Pipeline] echo 11:28:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:28:09 provisioning config files... 11:28:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config253690615405617227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:28:09 ---> docker-login.sh 11:28:09 nexus3.edgexfoundry.org:10001 11:28:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:28:09 Configure a credential helper to remove this warning. See 11:28:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:28:09 11:28:09 Login Succeeded 11:28:10 nexus3.edgexfoundry.org:10002 11:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:28:10 Configure a credential helper to remove this warning. See 11:28:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:28:10 11:28:10 Login Succeeded 11:28:10 nexus3.edgexfoundry.org:10003 11:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:28:10 Configure a credential helper to remove this warning. See 11:28:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:28:10 11:28:10 Login Succeeded 11:28:10 nexus3.edgexfoundry.org:10004 11:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:28:10 Configure a credential helper to remove this warning. See 11:28:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:28:10 11:28:10 Login Succeeded 11:28:10 docker.io 11:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:28:10 Configure a credential helper to remove this warning. See 11:28:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:28:10 11:28:10 Login Succeeded 11:28:10 ---> docker-login.sh ends [Pipeline] } 11:28:10 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 11:28:11 + git log --format=format:%s -1 a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 [Pipeline] echo 11:28:11 GIT_COMMIT: a6d8b77750f96f2bc258c0f41868b8ebbb4671a3, Commit Message: Merge branch 'master' into ut [Pipeline] echo 11:28:11 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:28:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:28:12 11:28:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:28:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:28:12 latest: Pulling from edgex-devops/git-semver 11:28:12 31603596830f: Pulling fs layer 11:28:12 54011a49482f: Pulling fs layer 11:28:12 a6820b24f6d8: Pulling fs layer 11:28:12 f581987b2513: Pulling fs layer 11:28:12 f581987b2513: Waiting 11:28:12 54011a49482f: Verifying Checksum 11:28:12 54011a49482f: Download complete 11:28:12 31603596830f: Verifying Checksum 11:28:12 31603596830f: Download complete 11:28:12 f581987b2513: Verifying Checksum 11:28:12 f581987b2513: Download complete 11:28:12 a6820b24f6d8: Verifying Checksum 11:28:12 a6820b24f6d8: Download complete 11:28:12 31603596830f: Pull complete 11:28:12 54011a49482f: Pull complete 11:28:13 a6820b24f6d8: Pull complete 11:28:14 f581987b2513: Pull complete 11:28:14 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 11:28:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:28:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:28:14 prd-centos7-docker-4c-2g-3836 does not seem to be running inside a container 11:28:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-900 -v /w/workspace/dgexfoundry_device-sdk-go_PR-900:/w/workspace/dgexfoundry_device-sdk-go_PR-900:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-900@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:10004/edgex-devops/git-semver:latest cat 11:28:16 $ docker top 807b10de43f7ba3ca4a95d0e90bd8aaaa24cb2221065e1e572294b39be03180b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:28:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:28:16 [ssh-agent] Looking for ssh-agent implementation... 11:28:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:28:16 $ docker exec 807b10de43f7ba3ca4a95d0e90bd8aaaa24cb2221065e1e572294b39be03180b ssh-agent 11:28:16 SSH_AUTH_SOCK=/tmp/ssh-VIcbw95dZ3aN/agent.13 11:28:16 SSH_AGENT_PID=19 11:28:16 Running ssh-add (command line suppressed) 11:28:16 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_5718190665608444143.key (/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_5718190665608444143.key) 11:28:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:28:17 + git tag --points-at HEAD [Pipeline] } 11:28:17 $ docker exec --env ******** --env ******** 807b10de43f7ba3ca4a95d0e90bd8aaaa24cb2221065e1e572294b39be03180b ssh-agent -k 11:28:17 unset SSH_AUTH_SOCK; 11:28:17 unset SSH_AGENT_PID; 11:28:17 echo Agent pid 19 killed; 11:28:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:28:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:28:17 [ssh-agent] Looking for ssh-agent implementation... 11:28:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:28:17 $ docker exec 807b10de43f7ba3ca4a95d0e90bd8aaaa24cb2221065e1e572294b39be03180b ssh-agent 11:28:17 SSH_AUTH_SOCK=/tmp/ssh-thbkxxk09svc/agent.50 11:28:17 SSH_AGENT_PID=56 11:28:17 Running ssh-add (command line suppressed) 11:28:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_6392916177797081736.key (/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_6392916177797081736.key) 11:28:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:28:18 + git semver init 11:28:18 # -> Open(): unable to determine branch for HEAD 11:28:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-900/.git 11:28:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-900 11:28:18 # $SEMVER_REMOTE_NAME = origin 11:28:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:28:18 # $SEMVER_USER_NAME = edgex-jenkins 11:28:18 # $SEMVER_BRANCH = PR-900 11:28:18 # $SEMVER_TEMP = /tmp/semver-089422313 11:28:18 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 11:28:19 # '/tmp/semver-089422313' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-900/.semver' 11:28:19 # -> Force: false 11:28:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-900/.semver [Pipeline] } 11:28:19 $ docker exec --env ******** --env ******** 807b10de43f7ba3ca4a95d0e90bd8aaaa24cb2221065e1e572294b39be03180b ssh-agent -k 11:28:19 unset SSH_AUTH_SOCK; 11:28:19 unset SSH_AGENT_PID; 11:28:19 echo Agent pid 56 killed; 11:28:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:28:19 + git semver [Pipeline] } 11:28:19 $ docker stop --time=1 807b10de43f7ba3ca4a95d0e90bd8aaaa24cb2221065e1e572294b39be03180b 11:28:21 $ docker rm -f 807b10de43f7ba3ca4a95d0e90bd8aaaa24cb2221065e1e572294b39be03180b [Pipeline] // withDockerContainer [Pipeline] sh 11:28:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:28:22 Stashed 1 file(s) [Pipeline] echo 11:28:22 [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 11:28:37 Still waiting to schedule task 11:28:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 11:28:37 Still waiting to schedule task 11:28:37 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 11:30:39 Running on prd-centos7-docker-4c-2g-3839 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [Pipeline] { [Pipeline] ws 11:30:39 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 11:30:46 using credential edgex-jenkins-ssh 11:30:46 Cloning the remote Git repository 11:30:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:30:46 > git init /w/workspace/device-sdk-go/4 # timeout=10 11:30:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:30:46 > git --version # timeout=10 11:30:46 > git --version # 'git version 2.24.3' 11:30:46 using GIT_SSH to set credentials SSH Credentials for GitHub 11:30:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:30:48 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 11:30:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:30:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:30:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:30:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:30:48 using GIT_SSH to set credentials SSH Credentials for GitHub 11:30:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:30:48 > git config core.sparsecheckout # timeout=10 11:30:48 > git checkout -f a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 # timeout=10 11:30:49 Merge succeeded, producing a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 11:30:49 Checking out Revision a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 (PR-900) 11:30:48 > git remote # timeout=10 11:30:48 > git config --get remote.origin.url # timeout=10 11:30:48 using GIT_SSH to set credentials SSH Credentials for GitHub 11:30:48 > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 11:30:48 > git rev-parse HEAD^{commit} # timeout=10 11:30:49 > git config core.sparsecheckout # timeout=10 11:30:49 > git checkout -f a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 # timeout=10 11:30:53 Commit message: "Merge branch 'master' into ut" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:30:55 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 11:30:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:30:56 + sudo service docker restart 11:30:56 + true 11:30:56 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:30:58 provisioning config files... 11:30:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config639927393048938490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:30:58 ---> docker-login.sh 11:30:58 nexus3.edgexfoundry.org:10001 11:30:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:30:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:30:59 Configure a credential helper to remove this warning. See 11:30:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:30:59 11:30:59 Login Succeeded 11:30:59 nexus3.edgexfoundry.org:10002 11:30:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:30:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:30:59 Configure a credential helper to remove this warning. See 11:30:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:30:59 11:30:59 Login Succeeded 11:30:59 nexus3.edgexfoundry.org:10003 11:30:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:31:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:31:00 Configure a credential helper to remove this warning. See 11:31:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:31:00 11:31:00 Login Succeeded 11:31:00 nexus3.edgexfoundry.org:10004 11:31:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:31:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:31:00 Configure a credential helper to remove this warning. See 11:31:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:31:00 11:31:00 Login Succeeded 11:31:00 docker.io 11:31:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:31:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:31:00 Configure a credential helper to remove this warning. See 11:31:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:31:00 11:31:01 Login Succeeded 11:31:01 ---> docker-login.sh ends [Pipeline] } 11:31:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:31:01 ========================================================= 11:31:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 11:31:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:31:01 + 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 . 11:31:01 Sending build context to Docker daemon 2.573MB 11:31:01 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 11:31:01 Step 2/8 : FROM ${BASE} 11:31:01 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 11:31:01 540db60ca938: Pulling fs layer 11:31:01 adcc1eea9eea: Pulling fs layer 11:31:01 4c4ab2625f07: Pulling fs layer 11:31:01 0510c868ecb4: Pulling fs layer 11:31:01 afea3b2eda06: Pulling fs layer 11:31:01 7809a108b3ef: Pulling fs layer 11:31:01 f706445af74f: Pulling fs layer 11:31:01 afea3b2eda06: Waiting 11:31:01 0510c868ecb4: Waiting 11:31:01 7809a108b3ef: Waiting 11:31:01 f706445af74f: Waiting 11:31:01 4c4ab2625f07: Verifying Checksum 11:31:01 4c4ab2625f07: Download complete 11:31:01 adcc1eea9eea: Verifying Checksum 11:31:01 adcc1eea9eea: Download complete 11:31:02 afea3b2eda06: Verifying Checksum 11:31:02 afea3b2eda06: Download complete 11:31:02 7809a108b3ef: Verifying Checksum 11:31:02 7809a108b3ef: Download complete 11:31:02 540db60ca938: Verifying Checksum 11:31:02 540db60ca938: Download complete 11:31:02 540db60ca938: Pull complete 11:31:03 adcc1eea9eea: Pull complete 11:31:03 4c4ab2625f07: Pull complete 11:31:05 f706445af74f: Download complete 11:31:06 0510c868ecb4: Verifying Checksum 11:31:06 0510c868ecb4: Download complete 11:31:15 0510c868ecb4: Pull complete 11:31:15 afea3b2eda06: Pull complete 11:31:15 7809a108b3ef: Pull complete 11:31:25 f706445af74f: Pull complete 11:31:25 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 11:31:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 11:31:25 ---> b068be0155e3 11:31:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:31:25 ---> Running in 65ed9d790f5d 11:31:25 Removing intermediate container 65ed9d790f5d 11:31:25 ---> 38cfbd06ab16 11:31:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:31:25 ---> Running in 707f02e5eea9 11:31:25 Removing intermediate container 707f02e5eea9 11:31:25 ---> 7a1d94a1bd96 11:31:25 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 11:31:26 ---> Running in b288ef1042eb 11:31:27 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 11:31:29 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 11:31:30 (1/6) Installing libc-dev (0.7.2-r3) 11:31:30 (2/6) Installing libsodium (1.0.18-r0) 11:31:30 (3/6) Installing pkgconf (1.7.3-r0) 11:31:30 (4/6) Installing libsodium-dev (1.0.18-r0) 11:31:31 (5/6) Installing libzmq (4.3.3-r1) 11:31:31 (6/6) Installing zeromq-dev (4.3.3-r1) 11:31:31 Executing busybox-1.32.1-r6.trigger 11:31:31 OK: 150 MiB in 46 packages 11:31:32 Removing intermediate container b288ef1042eb 11:31:32 ---> 50133416ac1a 11:31:32 Step 6/8 : WORKDIR /device-sdk-go 11:31:32 ---> Running in 4d928c572cd7 11:31:32 Removing intermediate container 4d928c572cd7 11:31:32 ---> 9c954bfc74e0 11:31:32 Step 7/8 : COPY . . 11:31:34 ---> 9d6b0f380c0e 11:31:34 Step 8/8 : RUN go mod download 11:31:34 ---> Running in bb391d3005cb 11:32:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3841 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [Pipeline] { [Pipeline] ws 11:32:03 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 11:32:06 Removing intermediate container bb391d3005cb 11:32:06 ---> 013c084ec03a 11:32:06 Successfully built 013c084ec03a 11:32:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:32:07 + docker inspect -f . ci-base-image-x86_64 11:32:07 . [Pipeline] withDockerContainer 11:32:07 prd-centos7-docker-4c-2g-3839 does not seem to be running inside a container 11:32:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:32:08 using credential edgex-jenkins-ssh 11:32:09 Cloning the remote Git repository 11:32:09 $ docker top cb7a55b79ac106ddf873259d93f733a6423d521b926ef5005b2315f1395f13c6 -eo pid,comm 11:32:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:32:09 > git init /w/workspace/device-sdk-go/4 # timeout=10 11:32:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:32:09 > git --version # timeout=10 11:32:09 > git --version # 'git version 2.17.1' 11:32:09 using GIT_SSH to set credentials SSH Credentials for GitHub 11:32:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] sh 11:32:10 + go version 11:32:10 go version go1.16.3 linux/amd64 [Pipeline] } 11:32:10 $ docker stop --time=1 cb7a55b79ac106ddf873259d93f733a6423d521b926ef5005b2315f1395f13c6 11:32:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:32:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:32:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:32:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:32:10 using GIT_SSH to set credentials SSH Credentials for GitHub 11:32:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:32:11 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 11:32:11 Merge succeeded, producing a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 11:32:11 Checking out Revision a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 (PR-900) 11:32:11 > git config core.sparsecheckout # timeout=10 11:32:11 > git checkout -f a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 # timeout=10 11:32:11 > git remote # timeout=10 11:32:11 > git config --get remote.origin.url # timeout=10 11:32:11 using GIT_SSH to set credentials SSH Credentials for GitHub 11:32:11 > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 11:32:11 > git rev-parse HEAD^{commit} # timeout=10 11:32:11 > git config core.sparsecheckout # timeout=10 11:32:11 > git checkout -f a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 # timeout=10 11:32:12 $ docker rm -f cb7a55b79ac106ddf873259d93f733a6423d521b926ef5005b2315f1395f13c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:32:13 + docker inspect -f . ci-base-image-x86_64 11:32:13 . [Pipeline] withDockerContainer 11:32:14 prd-centos7-docker-4c-2g-3839 does not seem to be running inside a container 11:32:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:32:15 $ docker top d624458bc56a3b5e644d860a11ceb46184732c964f47d73395602a86435a1145 -eo pid,comm 11:32:15 Commit message: "Merge branch 'master' into ut" [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:32:16 + go mod tidy 11:32:17 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 11:32:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:32:18 + + sudo service docker restart 11:32:18 true [Pipeline] sh 11:32:19 + make test 11:32:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:32:20 provisioning config files... 11:32:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8494253532145121471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:32:21 ---> docker-login.sh 11:32:21 nexus3.edgexfoundry.org:10001 11:32:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:22 Configure a credential helper to remove this warning. See 11:32:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:22 11:32:22 Login Succeeded 11:32:22 nexus3.edgexfoundry.org:10002 11:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:22 Configure a credential helper to remove this warning. See 11:32:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:22 11:32:22 Login Succeeded 11:32:22 nexus3.edgexfoundry.org:10003 11:32:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:23 Configure a credential helper to remove this warning. See 11:32:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:23 11:32:23 Login Succeeded 11:32:23 nexus3.edgexfoundry.org:10004 11:32:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:24 Configure a credential helper to remove this warning. See 11:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:24 11:32:24 Login Succeeded 11:32:24 docker.io 11:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:24 Configure a credential helper to remove this warning. See 11:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:24 11:32:24 Login Succeeded 11:32:24 ---> docker-login.sh ends [Pipeline] } 11:32:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:32:25 ========================================================= 11:32:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 11:32:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:32:25 + 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 . 11:32:26 Sending build context to Docker daemon 2.569MB 11:32:26 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 11:32:26 Step 2/8 : FROM ${BASE} 11:32:26 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:32:26 595b0fe564bb: Pulling fs layer 11:32:26 7186ed65a4f7: Pulling fs layer 11:32:26 316046926c0a: Pulling fs layer 11:32:26 4ebd0625c992: Pulling fs layer 11:32:26 207e8628e3a3: Pulling fs layer 11:32:26 c791037a9be2: Pulling fs layer 11:32:26 ffd874e62e21: Pulling fs layer 11:32:26 207e8628e3a3: Waiting 11:32:26 4ebd0625c992: Waiting 11:32:26 c791037a9be2: Waiting 11:32:26 ffd874e62e21: Waiting 11:32:26 316046926c0a: Verifying Checksum 11:32:26 316046926c0a: Download complete 11:32:26 7186ed65a4f7: Verifying Checksum 11:32:26 7186ed65a4f7: Download complete 11:32:26 207e8628e3a3: Verifying Checksum 11:32:26 207e8628e3a3: Download complete 11:32:26 c791037a9be2: Verifying Checksum 11:32:26 c791037a9be2: Download complete 11:32:26 595b0fe564bb: Download complete 11:32:27 595b0fe564bb: Pull complete 11:32:27 7186ed65a4f7: Pull complete 11:32:28 316046926c0a: Pull complete 11:32:28 ffd874e62e21: Verifying Checksum 11:32:28 ffd874e62e21: Download complete 11:32:30 4ebd0625c992: Verifying Checksum 11:32:30 4ebd0625c992: Download complete 11:32:35 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 11:32:40 4ebd0625c992: Pull complete 11:32:41 207e8628e3a3: Pull complete 11:32:41 c791037a9be2: Pull complete 11:32:45 ffd874e62e21: Pull complete 11:32:45 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 11:32:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 11:32:45 ---> cfc18b08335c 11:32:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:32:47 ---> Running in 3aabe01e94d7 11:32:48 Removing intermediate container 3aabe01e94d7 11:32:48 ---> d5a68410c1c9 11:32:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:32:48 ---> Running in e99313721fea 11:32:51 Removing intermediate container e99313721fea 11:32:51 ---> 5b7bc9b57451 11:32:51 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 11:32:51 ---> Running in a7e9039ed308 11:32:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 11:32:53 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 11:32:56 (1/6) Installing libc-dev (0.7.2-r3) 11:32:56 (2/6) Installing libsodium (1.0.18-r0) 11:32:56 (3/6) Installing pkgconf (1.7.3-r0) 11:32:56 (4/6) Installing libsodium-dev (1.0.18-r0) 11:32:56 (5/6) Installing libzmq (4.3.3-r1) 11:32:56 (6/6) Installing zeromq-dev (4.3.3-r1) 11:32:56 Executing busybox-1.32.1-r6.trigger 11:32:56 OK: 139 MiB in 46 packages 11:32:58 Removing intermediate container a7e9039ed308 11:32:58 ---> dace130d2944 11:32:58 Step 6/8 : WORKDIR /device-sdk-go 11:32:58 ---> Running in 66b824048d9b 11:32:59 Removing intermediate container 66b824048d9b 11:32:59 ---> a68d93693b13 11:32:59 Step 7/8 : COPY . . 11:33:00 ---> 14786ab613a3 11:33:00 Step 8/8 : RUN go mod download 11:33:00 ---> Running in 9f666e4f273c 11:33:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 11:33:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 11:33:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 11:33:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.100s coverage: 25.4% of statements 11:33:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 11:33:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.133s coverage: 28.1% of statements 11:33:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.128s coverage: 78.9% of statements 11:33:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.095s coverage: 7.8% of statements 11:33:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 11:33:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 11:33:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 11:33:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.108s coverage: 30.2% of statements 11:33:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 11:33:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 11:33:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 11:33:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.153s coverage: 58.4% of statements 11:33:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.399s coverage: 89.2% of statements 11:33:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 11:33:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.070s coverage: 5.0% of statements 11:33:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 11:33:22 GO111MODULE=on go vet ./... 11:33:27 Removing intermediate container 9f666e4f273c 11:33:27 ---> a71f337c6dcb 11:33:27 Successfully built a71f337c6dcb 11:33:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:33:27 + docker inspect -f . ci-base-image-arm64 11:33:27 . [Pipeline] withDockerContainer 11:33:27 prd-ubuntu18.04-docker-arm64-4c-16g-3841 does not seem to be running inside a container 11:33:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:33:29 $ docker top aaa7d1ebb98ab370664b935f7caf86205c0925607cd6dca6624d2c4299003cc6 -eo pid,comm [Pipeline] { [Pipeline] sh 11:33:30 + go version 11:33:30 go version go1.16.3 linux/arm64 [Pipeline] } 11:33:30 $ docker stop --time=1 aaa7d1ebb98ab370664b935f7caf86205c0925607cd6dca6624d2c4299003cc6 11:33:32 $ docker rm -f aaa7d1ebb98ab370664b935f7caf86205c0925607cd6dca6624d2c4299003cc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:33:33 + docker inspect -f . ci-base-image-arm64 11:33:33 . [Pipeline] withDockerContainer 11:33:33 prd-ubuntu18.04-docker-arm64-4c-16g-3841 does not seem to be running inside a container 11:33:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:33:35 $ docker top 00cdd7450a49952bc6d7531a6114bc6f76a6abfa761efb67f777d7d089ebfe86 -eo pid,comm [Pipeline] { [Pipeline] sh 11:33:36 + go mod tidy [Pipeline] sh 11:33:37 + make test 11:33:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 11:33:55 gofmt -l . 11:33:55 [ "`gofmt -l .`" = "" ] 11:33:55 ./bin/test-attribution-txt.sh 11:33:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 11:33:56 $ docker stop --time=1 d624458bc56a3b5e644d860a11ceb46184732c964f47d73395602a86435a1145 11:33:58 $ docker rm -f d624458bc56a3b5e644d860a11ceb46184732c964f47d73395602a86435a1145 [Pipeline] // withDockerContainer [Pipeline] sh 11:33:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:33:59 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 11:33:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:34:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:34:01 + ls -al . 11:34:01 total 212 11:34:01 drwxrwxr-x. 10 jenkins jenkins 4096 May 9 11:33 . 11:34:01 drwxrwxr-x. 4 jenkins jenkins 28 May 9 11:30 .. 11:34:01 drwxrwxr-x. 2 jenkins jenkins 64 May 9 11:30 bin 11:34:01 -rw-r--r--. 1 jenkins jenkins 125561 May 9 11:33 coverage.out 11:34:01 -rw-rw-r--. 1 jenkins jenkins 987 May 9 11:30 Dockerfile.build 11:34:01 -rw-rw-r--. 1 jenkins jenkins 140 May 9 11:30 .dockerignore 11:34:01 drwxrwxr-x. 5 jenkins jenkins 62 May 9 11:30 example 11:34:01 drwxrwxr-x. 8 jenkins jenkins 179 May 9 11:30 .git 11:34:01 drwxrwxr-x. 2 jenkins jenkins 103 May 9 11:30 .github 11:34:01 -rw-rw-r--. 1 jenkins jenkins 138 May 9 11:30 .gitignore 11:34:01 -rw-r--r--. 1 jenkins jenkins 575 May 9 11:33 go.mod 11:34:01 -rw-r--r--. 1 jenkins jenkins 20957 May 9 11:32 go.sum 11:34:01 drwxrwxr-x. 14 jenkins jenkins 207 May 9 11:30 internal 11:34:01 -rw-rw-r--. 1 jenkins jenkins 901 May 9 11:30 Jenkinsfile 11:34:01 -rw-rw-r--. 1 jenkins jenkins 11341 May 9 11:30 LICENSE 11:34:01 -rw-rw-r--. 1 jenkins jenkins 1022 May 9 11:30 Makefile 11:34:01 drwxrwxr-x. 4 jenkins jenkins 26 May 9 11:30 openapi 11:34:01 drwxrwxr-x. 5 jenkins jenkins 50 May 9 11:30 pkg 11:34:01 -rw-rw-r--. 1 jenkins jenkins 7652 May 9 11:30 README.md 11:34:01 -rw-rw-r--. 1 jenkins jenkins 6616 May 9 11:30 RELEASE-NOTES.txt 11:34:01 drwxrwxr-x. 4 jenkins jenkins 54 May 9 11:30 snap 11:34:01 -rw-rw-r--. 1 jenkins jenkins 5 May 9 11:28 VERSION 11:34:01 -rw-rw-r--. 1 jenkins jenkins 222 May 9 11:30 version.go [Pipeline] isUnix [Pipeline] sh 11:34:01 + 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=a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 --label arch=amd64 --label version=0.0.0 . 11:34:02 Sending build context to Docker daemon 2.699MB 11:34:02 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 11:34:02 Step 2/23 : FROM ${BASE} AS builder 11:34:02 ---> 013c084ec03a 11:34:02 Step 3/23 : WORKDIR /device-sdk-go 11:34:02 ---> Running in 03046372ece1 11:34:02 Removing intermediate container 03046372ece1 11:34:02 ---> e6f102b5ee42 11:34:02 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:34:03 ---> Running in 6a630d593e24 11:34:03 Removing intermediate container 6a630d593e24 11:34:03 ---> 6dcb0c538424 11:34:03 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:34:03 ---> Running in d3b5f09eccd5 11:34:05 Removing intermediate container d3b5f09eccd5 11:34:05 ---> c2f83067f1c3 11:34:05 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 11:34:05 ---> Running in 6bc57ac0da4e 11:34:05 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 11:34:07 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 11:34:08 OK: 150 MiB in 46 packages 11:34:09 Removing intermediate container 6bc57ac0da4e 11:34:09 ---> 5c2e065137d1 11:34:09 Step 7/23 : COPY . . 11:34:10 ---> da0d96931c61 11:34:10 Step 8/23 : RUN go mod download 11:34:10 ---> Running in c7df09c83e80 11:34:12 Removing intermediate container c7df09c83e80 11:34:12 ---> c5c95d3d4954 11:34:12 Step 9/23 : RUN make build 11:34:12 ---> Running in 4120fe79d7dd 11:34:12 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 11:34:31 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 11:34:31 Removing intermediate container 4120fe79d7dd 11:34:31 ---> 9f75e6011367 11:34:31 Step 10/23 : FROM alpine:3.12 11:34:31 3.12: Pulling from library/alpine 11:34:32 339de151aab4: Pulling fs layer 11:34:32 339de151aab4: Verifying Checksum 11:34:32 339de151aab4: Download complete 11:34:32 339de151aab4: Pull complete 11:34:32 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 11:34:32 Status: Downloaded newer image for alpine:3.12 11:34:32 ---> 13621d1b12d4 11:34:32 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:34:32 ---> Running in 75db1527ec2b 11:34:32 Removing intermediate container 75db1527ec2b 11:34:32 ---> 8daea275e3ca 11:34:32 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:34:32 ---> Running in 732ae02c5685 11:34:34 Removing intermediate container 732ae02c5685 11:34:34 ---> a1b6a875b2c8 11:34:34 Step 13/23 : RUN apk add --update --no-cache zeromq 11:34:34 ---> Running in 2f76851a8b36 11:34:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 11:34:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 11:34:36 (1/5) Installing libgcc (9.3.0-r2) 11:34:36 (2/5) Installing libsodium (1.0.18-r0) 11:34:37 (3/5) Installing libstdc++ (9.3.0-r2) 11:34:38 (4/5) Installing libzmq (4.3.3-r0) 11:34:38 (5/5) Installing zeromq (4.3.3-r0) 11:34:38 Executing busybox-1.31.1-r20.trigger 11:34:38 OK: 8 MiB in 19 packages 11:34:39 Removing intermediate container 2f76851a8b36 11:34:39 ---> 065b835d764f 11:34:39 Step 14/23 : WORKDIR / 11:34:39 ---> Running in 963a15f9a704 11:34:39 Removing intermediate container 963a15f9a704 11:34:39 ---> d25931e0412a 11:34:39 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:34:40 ---> e9d4dfb50a01 11:34:40 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:34:42 ---> 625ddfb794fd 11:34:42 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:34:42 ---> 31fb6732f51e 11:34:42 Step 18/23 : EXPOSE 49990 11:34:42 ---> Running in b8136f429a87 11:34:42 Removing intermediate container b8136f429a87 11:34:42 ---> 226d51f85b32 11:34:42 Step 19/23 : ENTRYPOINT ["/device-simple"] 11:34:42 ---> Running in f9d31408d04f 11:34:43 Removing intermediate container f9d31408d04f 11:34:43 ---> e284dfe4158b 11:34:43 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:34:43 ---> Running in 80e765910deb 11:34:43 Removing intermediate container 80e765910deb 11:34:43 ---> ecf5cf29370c 11:34:43 Step 21/23 : LABEL arch=amd64 11:34:44 ---> Running in 5f56805e2330 11:34:44 Removing intermediate container 5f56805e2330 11:34:44 ---> 758878fed774 11:34:44 Step 22/23 : LABEL git_sha=a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 11:34:44 ---> Running in 4e9548c74df6 11:34:45 Removing intermediate container 4e9548c74df6 11:34:45 ---> b4073c2bbf43 11:34:45 Step 23/23 : LABEL version=0.0.0 11:34:45 ---> Running in 7f15b536b87b 11:34:45 Removing intermediate container 7f15b536b87b 11:34:45 ---> 0596451f4105 11:34:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:34:45 Successfully built 0596451f4105 11:34:46 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 11:34:47 ---> job-cost.sh 11:34:47 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YZzW 11:35:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 11:35:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 11:35:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 11:35:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.229s coverage: 25.4% of statements 11:35:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 11:35:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.179s coverage: 28.1% of statements 11:35:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.195s coverage: 78.9% of statements 11:35:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.168s coverage: 7.8% of statements 11:35:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 11:35:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 11:35:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 11:35:14 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 11:35:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.236s coverage: 30.2% of statements 11:35:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 11:35:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 11:35:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 11:35:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.316s coverage: 58.4% of statements 11:35:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.191s coverage: 89.2% of statements 11:35:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 11:35:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements 11:35:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 11:35:20 GO111MODULE=on go vet ./... 11:35:47 lf-activate-venv(): INFO: Adding /tmp/venv-YZzW/bin to PATH 11:35:47 INFO: No Stack... 11:35:50 INFO: Retrieving Pricing Info for: v1-standard-2 11:35:51 INFO: Archiving Costs [Pipeline] sh 11:35:51 + cut -d, -f6 11:35:51 + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock 11:35:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] 11:35:51 Resource [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] did not exist. Created. 11:35:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:35:52 + echo total: 0.029999999329447746 [Pipeline] stash 11:35:52 Stashed 1 file(s) [Pipeline] } 11:35:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:36:16 gofmt -l . 11:36:16 [ "`gofmt -l .`" = "" ] 11:36:16 ./bin/test-attribution-txt.sh 11:36:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 11:36:16 $ docker stop --time=1 00cdd7450a49952bc6d7531a6114bc6f76a6abfa761efb67f777d7d089ebfe86 11:36:18 $ docker rm -f 00cdd7450a49952bc6d7531a6114bc6f76a6abfa761efb67f777d7d089ebfe86 [Pipeline] // withDockerContainer [Pipeline] sh 11:36:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:36:19 Warning: overwriting stash ‘coverage-report’ 11:36:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:36:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:36:21 + ls -al . 11:36:21 total 248 11:36:21 drwxrwxr-x 10 jenkins jenkins 4096 May 9 11:36 . 11:36:21 drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:32 .. 11:36:21 -rw-rw-r-- 1 jenkins jenkins 140 May 9 11:32 .dockerignore 11:36:21 drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:32 .git 11:36:21 drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:32 .github 11:36:21 -rw-rw-r-- 1 jenkins jenkins 138 May 9 11:32 .gitignore 11:36:21 -rw-rw-r-- 1 jenkins jenkins 987 May 9 11:32 Dockerfile.build 11:36:21 -rw-rw-r-- 1 jenkins jenkins 901 May 9 11:32 Jenkinsfile 11:36:21 -rw-rw-r-- 1 jenkins jenkins 11341 May 9 11:32 LICENSE 11:36:21 -rw-rw-r-- 1 jenkins jenkins 1022 May 9 11:32 Makefile 11:36:21 -rw-rw-r-- 1 jenkins jenkins 7652 May 9 11:32 README.md 11:36:21 -rw-rw-r-- 1 jenkins jenkins 6616 May 9 11:32 RELEASE-NOTES.txt 11:36:21 -rw-rw-r-- 1 jenkins jenkins 5 May 9 11:28 VERSION 11:36:21 drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:32 bin 11:36:21 -rw-r--r-- 1 jenkins jenkins 125561 May 9 11:35 coverage.out 11:36:21 drwxrwxr-x 5 jenkins jenkins 4096 May 9 11:32 example 11:36:21 -rw-r--r-- 1 jenkins jenkins 575 May 9 11:36 go.mod 11:36:21 -rw-r--r-- 1 jenkins jenkins 20957 May 9 11:33 go.sum 11:36:21 drwxrwxr-x 14 jenkins jenkins 4096 May 9 11:32 internal 11:36:21 drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:32 openapi 11:36:21 drwxrwxr-x 5 jenkins jenkins 4096 May 9 11:32 pkg 11:36:21 drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:32 snap 11:36:21 -rw-rw-r-- 1 jenkins jenkins 222 May 9 11:32 version.go [Pipeline] isUnix [Pipeline] sh 11:36:22 + 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=a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 --label arch=arm64 --label version=0.0.0 . 11:36:22 Sending build context to Docker daemon 2.695MB 11:36:22 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 11:36:22 Step 2/23 : FROM ${BASE} AS builder 11:36:22 ---> a71f337c6dcb 11:36:22 Step 3/23 : WORKDIR /device-sdk-go 11:36:22 ---> Running in 5a1cfb503968 11:36:23 Removing intermediate container 5a1cfb503968 11:36:23 ---> 66cde8104de3 11:36:23 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:36:23 ---> Running in d42d44da54a9 11:36:24 Removing intermediate container d42d44da54a9 11:36:24 ---> 518f94911f9a 11:36:24 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:36:24 ---> Running in 61d7a4531480 11:36:26 Removing intermediate container 61d7a4531480 11:36:26 ---> ebe004375925 11:36:26 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 11:36:26 ---> Running in 79d7881ab8ce 11:36:27 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 11:36:29 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 11:36:30 OK: 139 MiB in 46 packages 11:36:31 Removing intermediate container 79d7881ab8ce 11:36:31 ---> 8d94d04f99fc 11:36:31 Step 7/23 : COPY . . 11:36:33 ---> 468e86ebf4b8 11:36:33 Step 8/23 : RUN go mod download 11:36:33 ---> Running in 14fff353b9ff 11:36:35 Removing intermediate container 14fff353b9ff 11:36:35 ---> 0cc6c56edffc 11:36:35 Step 9/23 : RUN make build 11:36:35 ---> Running in 11edfd91966b 11:36:36 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 11:37:08 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 11:37:11 Removing intermediate container 11edfd91966b 11:37:11 ---> 1f99b02582f6 11:37:11 Step 10/23 : FROM alpine:3.12 11:37:11 3.12: Pulling from library/alpine 11:37:12 d2f70382dc9a: Pulling fs layer 11:37:12 d2f70382dc9a: Download complete 11:37:12 d2f70382dc9a: Pull complete 11:37:12 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 11:37:12 Status: Downloaded newer image for alpine:3.12 11:37:12 ---> 9852663dfa18 11:37:12 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:37:12 ---> Running in ce366569319c 11:37:13 Removing intermediate container ce366569319c 11:37:13 ---> bfc65a230cd2 11:37:13 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:37:13 ---> Running in 84843c435936 11:37:15 Removing intermediate container 84843c435936 11:37:15 ---> 83a5f2dadd54 11:37:15 Step 13/23 : RUN apk add --update --no-cache zeromq 11:37:15 ---> Running in 6b6bb6d71a51 11:37:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 11:37:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 11:37:19 (1/5) Installing libgcc (9.3.0-r2) 11:37:19 (2/5) Installing libsodium (1.0.18-r0) 11:37:19 (3/5) Installing libstdc++ (9.3.0-r2) 11:37:20 (4/5) Installing libzmq (4.3.3-r0) 11:37:20 (5/5) Installing zeromq (4.3.3-r0) 11:37:20 Executing busybox-1.31.1-r20.trigger 11:37:20 OK: 8 MiB in 19 packages 11:37:21 Removing intermediate container 6b6bb6d71a51 11:37:21 ---> a03b6fc8c314 11:37:21 Step 14/23 : WORKDIR / 11:37:21 ---> Running in 7870426acd4d 11:37:22 Removing intermediate container 7870426acd4d 11:37:22 ---> d936e2af1a19 11:37:22 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:37:23 ---> 852a7e94c68e 11:37:23 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:37:24 ---> 7b6c1e737ab8 11:37:24 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:37:25 ---> 402b96bba316 11:37:25 Step 18/23 : EXPOSE 49990 11:37:25 ---> Running in 97117cc99820 11:37:25 Removing intermediate container 97117cc99820 11:37:25 ---> a3463347e541 11:37:25 Step 19/23 : ENTRYPOINT ["/device-simple"] 11:37:25 ---> Running in 8faebda4947f 11:37:26 Removing intermediate container 8faebda4947f 11:37:26 ---> daafaf3896b0 11:37:26 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:37:26 ---> Running in 1a0ac770f797 11:37:26 Removing intermediate container 1a0ac770f797 11:37:26 ---> 46b6524b0792 11:37:26 Step 21/23 : LABEL arch=arm64 11:37:26 ---> Running in 444704f56345 11:37:27 Removing intermediate container 444704f56345 11:37:27 ---> d7fbf77d3fb3 11:37:27 Step 22/23 : LABEL git_sha=a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 11:37:27 ---> Running in e7fb42f2d1a3 11:37:28 Removing intermediate container e7fb42f2d1a3 11:37:28 ---> d9614f5d82fd 11:37:28 Step 23/23 : LABEL version=0.0.0 11:37:28 ---> Running in 1214f01c9df3 11:37:28 Removing intermediate container 1214f01c9df3 11:37:28 ---> bae32773f3d2 11:37:28 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:37:28 Successfully built bae32773f3d2 11:37:28 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 11:37:29 ---> job-cost.sh 11:37:29 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-X2yO 11:38:07 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 11:39:29 lf-activate-venv(): INFO: Adding /tmp/venv-X2yO/bin to PATH 11:39:29 INFO: No Stack... 11:39:30 INFO: Retrieving Pricing Info for: lf-standard-4 11:39:30 INFO: Archiving Costs [Pipeline] sh 11:39:31 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 11:39:31 + cut -d, -f6 [Pipeline] lock 11:39:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] 11:39:31 Resource [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] did not exist. Created. 11:39:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:39:31 /w/workspace/device-sdk-go/4@tmp/durable-a4aa81f2/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-a4aa81f2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 11:39:32 + echo total: 0.20999999344348907 [Pipeline] stash 11:39:32 Warning: overwriting stash ‘stack-cost’ 11:39:32 Stashed 1 file(s) [Pipeline] } 11:39:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-900-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 11:39:33 provisioning config files... 11:39:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config7764347143527693407tmp [Pipeline] { [Pipeline] sh 11:39:33 + set +x 11:39:33 + curl -s https://codecov.io/bash 11:39:33 + bash -s -- 11:39:33 11:39:33 _____ _ 11:39:33 / ____| | | 11:39:33 | | ___ __| | ___ ___ _____ __ 11:39:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:39:33 | |___| (_) | (_| | __/ (_| (_) \ V / 11:39:33 \_____\___/ \__,_|\___|\___\___/ \_/ 11:39:33 Bash-1.0.2 11:39:33 11:39:33 11:39:33 ==> git version 2.24.3 found 11:39:33 ==> 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 11:39:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 11:39:33 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 11:39:33 ==> Jenkins CI detected. 11:39:33 project root: . 11:39:33 --> token set from env 11:39:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:39:33 ==> Running gcov in . (disable via -X gcov) 11:39:33 ==> Python coveragepy not found 11:39:33 ==> Searching for coverage reports in: 11:39:33 + . 11:39:33 -> Found 1 reports 11:39:33 ==> Detecting git/mercurial file structure 11:39:33 ==> Reading reports 11:39:33 + ./coverage.out bytes=125561 11:39:33 ==> Appending adjustments 11:39:33 https://docs.codecov.io/docs/fixing-reports 11:39:34 + Found adjustments 11:39:34 ==> Gzipping contents 11:39:34 16K /tmp/codecov.espU45.gz 11:39:34 ==> Uploading reports 11:39:34 url: https://codecov.io 11:39:34 query: branch=PR-900&commit=a6d8b77750f96f2bc258c0f41868b8ebbb4671a3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-900%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=900&job=&cmd_args= 11:39:34 -> Pinging Codecov 11:39:34 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-900&commit=a6d8b77750f96f2bc258c0f41868b8ebbb4671a3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-900%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=900&job=&cmd_args= 11:39:34 -> Uploading to 11:39:34 https://storage.googleapis.com/codecov/v4/raw/2021-05-09/7E55EF52A471D76F132DFD9A03CDDE97/a6d8b77750f96f2bc258c0f41868b8ebbb4671a3/c9c722a7-631c-4df4-9379-f03b074f492b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210509T113934Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df4cdc6ce93ad9933a6ee355acd0acf8f5378e7c2a4ee3d6de0502638e7a0982 11:39:34 % Total % Received % Xferd Average Speed Time Time Time Current 11:39:34 Dload Upload Total Spent Left Speed 11:39:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16333 0 0 100 16333 0 40446 --:--:-- --:--:-- --:--:-- 40428 100 16333 0 0 100 16333 0 40430 --:--:-- --:--:-- --:--:-- 40428 11:39:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 [Pipeline] } 11:39:35 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 11:39:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:39:36 ---> package-listing.sh 11:39:36 ++ facter osfamily 11:39:36 ++ tr '[:upper:]' '[:lower:]' 11:39:36 + OS_FAMILY=redhat 11:39:36 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-900 11:39:36 + START_PACKAGES=/tmp/packages_start.txt 11:39:36 + END_PACKAGES=/tmp/packages_end.txt 11:39:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:39:36 + PACKAGES=/tmp/packages_start.txt 11:39:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-900 ']' 11:39:36 + PACKAGES=/tmp/packages_end.txt 11:39:36 + case "${OS_FAMILY}" in 11:39:36 + rpm -qa 11:39:36 + sort 11:39:42 + '[' -f /tmp/packages_start.txt ']' 11:39:42 + '[' -f /tmp/packages_end.txt ']' 11:39:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:39:42 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-900 ']' 11:39:42 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-900/archives/ 11:39:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-900/archives/ [Pipeline] echo 11:39:42 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-900/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:39:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:39:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:39:42 11:39:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:39:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:39:43 alpine: Pulling from edgex-lftools-log-publisher 11:39:43 df20fa9351a1: Pulling fs layer 11:39:43 36b3adc4ff6f: Pulling fs layer 11:39:43 8ad3a11d3b57: Pulling fs layer 11:39:43 46f8f816bc3b: Pulling fs layer 11:39:43 93b61091891f: Pulling fs layer 11:39:43 93b9cdb0e59b: Pulling fs layer 11:39:43 5e14af77c1be: Pulling fs layer 11:39:43 01666e4c0597: Pulling fs layer 11:39:43 aa168da1d23b: Pulling fs layer 11:39:43 01666e4c0597: Waiting 11:39:43 93b9cdb0e59b: Waiting 11:39:43 5e14af77c1be: Waiting 11:39:43 aa168da1d23b: Waiting 11:39:43 46f8f816bc3b: Waiting 11:39:43 93b61091891f: Waiting 11:39:43 36b3adc4ff6f: Download complete 11:39:43 46f8f816bc3b: Verifying Checksum 11:39:43 46f8f816bc3b: Download complete 11:39:43 df20fa9351a1: Download complete 11:39:43 93b9cdb0e59b: Verifying Checksum 11:39:43 93b9cdb0e59b: Download complete 11:39:43 5e14af77c1be: Verifying Checksum 11:39:43 5e14af77c1be: Download complete 11:39:43 93b61091891f: Verifying Checksum 11:39:43 93b61091891f: Download complete 11:39:43 01666e4c0597: Verifying Checksum 11:39:43 01666e4c0597: Download complete 11:39:43 8ad3a11d3b57: Verifying Checksum 11:39:43 8ad3a11d3b57: Download complete 11:39:43 df20fa9351a1: Pull complete 11:39:43 36b3adc4ff6f: Pull complete 11:39:44 8ad3a11d3b57: Pull complete 11:39:44 46f8f816bc3b: Pull complete 11:39:45 aa168da1d23b: Verifying Checksum 11:39:45 aa168da1d23b: Download complete 11:39:45 93b61091891f: Pull complete 11:39:45 93b9cdb0e59b: Pull complete 11:39:46 5e14af77c1be: Pull complete 11:39:46 01666e4c0597: Pull complete 11:39:54 aa168da1d23b: Pull complete 11:39:54 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 11:39:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:39:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:39:54 prd-centos7-docker-4c-2g-3836 does not seem to be running inside a container 11:39:54 $ 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-900/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-900 -v /w/workspace/dgexfoundry_device-sdk-go_PR-900:/w/workspace/dgexfoundry_device-sdk-go_PR-900:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-900@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 11:39:57 $ docker top 015fe490c72ce712c8a49695a3d7df69a315e31e4de3c4da729ee971092e8931 -eo pid,comm [Pipeline] { [Pipeline] sh 11:39:58 + touch /tmp/pre-build-complete [Pipeline] sh 11:39:58 + mkdir -p /var/log/sa [Pipeline] sh 11:39:58 + ls /var/log/sa-host 11:39:58 + sadf -c /var/log/sa-host/sa09 11:39:58 file_magic: OK 11:39:58 HZ: Using current value: 100 11:39:58 file_header: OK 11:39:58 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 11:39:58 Statistics: 11:39:58 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:39:58 File successfully converted to sysstat format version 12.2.1 11:39:58 + sadf -c /var/log/sa-host/sa23 11:39:58 file_magic: OK 11:39:58 HZ: Using current value: 100 11:39:58 file_header: OK 11:39:58 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 11:39:58 Statistics: 11:39:58 Hnuu...uuuununununu... 11:39:58 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:39:59 provisioning config files... 11:39:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config7170501903271119709tmp [Pipeline] { [Pipeline] echo 11:39:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:39:59 ---> create-netrc.sh [Pipeline] } 11:39:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 11:39:59 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 11:40:00 ---> python-tools-install.sh [Pipeline] echo 11:40:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:40:00 ---> sudo-logs.sh 11:40:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:40:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:40:00 ---> job-cost.sh 11:40:00 lf-activate-venv: SKIPPING 11:40:00 DEBUG: total: 0.20999999344348907 11:40:00 INFO: Retrieving Stack Cost... 11:40:01 INFO: Retrieving Pricing Info for: v1-standard-2 11:40:02 INFO: Archiving Costs [Pipeline] echo 11:40:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:40:02 ---> logs-deploy.sh 11:40:02 lf-activate-venv: SKIPPING 11:40:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-900/4 11:40:02 INFO: archiving workspace using pattern(s): 11:40:04 Archives upload complete. 11:40:04 INFO: archiving logs to Nexus 11:40:05 ---> uname -a: 11:40:05 Linux prd-centos7-docker-4c-2g-3836.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 11:40:05 11:40:05 11:40:05 ---> lscpu: 11:40:05 Architecture: x86_64 11:40:05 CPU op-mode(s): 32-bit, 64-bit 11:40:05 Byte Order: Little Endian 11:40:05 Address sizes: 40 bits physical, 48 bits virtual 11:40:05 CPU(s): 4 11:40:05 On-line CPU(s) list: 0-3 11:40:05 Thread(s) per core: 1 11:40:05 Core(s) per socket: 1 11:40:05 Socket(s): 4 11:40:05 NUMA node(s): 1 11:40:05 Vendor ID: GenuineIntel 11:40:05 CPU family: 6 11:40:05 Model: 44 11:40:05 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 11:40:05 Stepping: 1 11:40:05 CPU MHz: 2933.442 11:40:05 BogoMIPS: 5866.88 11:40:05 Virtualization: VT-x 11:40:05 Hypervisor vendor: KVM 11:40:05 Virtualization type: full 11:40:05 L1d cache: 128 KiB 11:40:05 L1i cache: 128 KiB 11:40:05 L2 cache: 16 MiB 11:40:05 L3 cache: 64 MiB 11:40:05 NUMA node0 CPU(s): 0-3 11:40:05 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 11:40:05 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 11:40:05 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 11:40:05 Vulnerability Meltdown: Mitigation; PTI 11:40:05 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:40:05 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 11:40:05 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 11:40:05 Vulnerability Srbds: Not affected 11:40:05 Vulnerability Tsx async abort: Not affected 11:40:05 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 11:40:05 11:40:05 11:40:05 ---> nproc: 11:40:05 4 11:40:05 11:40:05 11:40:05 ---> df -h: 11:40:05 Filesystem Size Used Available Use% Mounted on 11:40:05 overlay 50.0G 7.3G 42.7G 15% / 11:40:05 tmpfs 64.0M 0 64.0M 0% /dev 11:40:05 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 11:40:05 shm 64.0M 0 64.0M 0% /dev/shm 11:40:05 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 11:40:05 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 11:40:05 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 11:40:05 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 11:40:05 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 11:40:05 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 11:40:05 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-900 11:40:05 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp 11:40:05 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 11:40:05 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 11:40:05 11:40:05 11:40:05 ---> free -m: 11:40:05 total used free shared buff/cache available 11:40:05 Mem: 1837 695 96 0 1044 1037 11:40:05 Swap: 1023 1 1022 11:40:05 11:40:05 11:40:05 ---> ip addr: 11:40:05 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 11:40:05 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:40:05 inet 127.0.0.1/8 scope host lo 11:40:05 valid_lft forever preferred_lft forever 11:40:05 inet6 ::1/128 scope host 11:40:05 valid_lft forever preferred_lft forever 11:40:05 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 11:40:05 link/ether fa:16:3e:7e:69:59 brd ff:ff:ff:ff:ff:ff 11:40:05 inet 10.30.123.101/23 brd 10.30.123.255 scope global dynamic eth0 11:40:05 valid_lft 85648sec preferred_lft 85648sec 11:40:05 inet6 fe80::f816:3eff:fe7e:6959/64 scope link 11:40:05 valid_lft forever preferred_lft forever 11:40:05 3: docker0: mtu 1500 qdisc noqueue state DOWN 11:40:05 link/ether 02:42:46:bf:a8:2c brd ff:ff:ff:ff:ff:ff 11:40:05 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 11:40:05 valid_lft forever preferred_lft forever 11:40:05 inet6 fe80::42:46ff:febf:a82c/64 scope link 11:40:05 valid_lft forever preferred_lft forever 11:40:05 11:40:05